Photo Gallery by Supsystic - Version 1.15.7

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Photo Gallery by Supsystic
Version 1.15.7
Comparing to
See all releases

Code changes from version 1.15.5 to 1.15.7

Files changed (50) hide show
  1. app/assets/css/chosen-sprite.png +0 -0
  2. app/assets/css/chosen-sprite@2x.png +0 -0
  3. app/assets/css/chosen.min.css +11 -0
  4. app/assets/css/jquery-ui.css +1178 -0
  5. app/assets/css/libraries/bootstrap/bootstrap.min.css +0 -10
  6. app/assets/css/libraries/supsystic/suptablesui.min.css +1 -0
  7. app/assets/js/chosen.jquery.min.js +3 -0
  8. app/assets/js/webfont.js +19 -31
  9. app/console/log.php +0 -19
  10. index.php +7 -3
  11. readme.txt +8 -1
  12. src/GridGallery/Core/views/form.twig +4 -4
  13. src/GridGallery/Featuredplugins/Controller.php +20 -23
  14. src/GridGallery/Featuredplugins/Module.php +2 -3
  15. src/GridGallery/Featuredplugins/assets/css/bootstrap-simple.css +0 -1108
  16. src/GridGallery/Featuredplugins/assets/img/256.png +0 -0
  17. src/GridGallery/Featuredplugins/assets/img/Backup_256.png +0 -0
  18. src/GridGallery/Featuredplugins/assets/img/Coming_Soon_256.png +0 -0
  19. src/GridGallery/Featuredplugins/assets/img/Contact_Form_256.png +0 -0
  20. src/GridGallery/Featuredplugins/assets/img/Data_Tables_256.png +0 -0
  21. src/GridGallery/Featuredplugins/assets/img/Digital_Publication_256.png +0 -0
  22. src/GridGallery/Featuredplugins/assets/img/Gallery_256.png +0 -0
  23. src/GridGallery/Featuredplugins/assets/img/Google_Maps_256.png +0 -0
  24. src/GridGallery/Featuredplugins/assets/img/Live_Chat_256.png +0 -0
  25. src/GridGallery/Featuredplugins/assets/img/Popup_256.png +0 -0
  26. src/GridGallery/Featuredplugins/assets/img/Pricing_Table_256.png +0 -0
  27. src/GridGallery/Featuredplugins/assets/img/Slider_256.png +0 -0
  28. src/GridGallery/Featuredplugins/assets/img/Social_Buttons_256.png +0 -0
  29. src/GridGallery/Featuredplugins/assets/img/heatmap.jpg +0 -0
  30. src/GridGallery/Featuredplugins/assets/img/icon-256x256.png +0 -0
  31. src/GridGallery/Featuredplugins/assets/img/kinsta_banner.png +0 -0
  32. src/GridGallery/Featuredplugins/assets/img/shapes.jpg +0 -0
  33. src/GridGallery/Featuredplugins/views/index.twig +3 -3
  34. src/GridGallery/Galleries/Controller.php +2 -1
  35. src/GridGallery/Galleries/Model/Galleries.php +693 -1
  36. src/GridGallery/Galleries/Model/widget.php +12 -12
  37. src/GridGallery/Galleries/Module.php +4 -4
  38. src/GridGallery/Galleries/assets/css/chosen.css +0 -448
  39. src/GridGallery/Galleries/assets/css/chosen.min.css +0 -3
  40. src/GridGallery/Galleries/views/index.twig +3 -3
  41. src/GridGallery/Photos/Model/Photos.php +3 -3
  42. src/GridGallery/Photos/Model/Settings.php +3 -3
  43. src/GridGallery/Promo/Module.php +7 -6
  44. src/GridGallery/Promo/views/promo.twig +14 -14
  45. src/GridGallery/Settings/Controller.php +4 -2
  46. src/GridGallery/Settings/Module.php +2 -2
  47. src/GridGallery/SocialSharing/Module.php +9 -7
  48. src/GridGallery/Ui/Module.php +4 -6
  49. vendor/Rsc/Environment.php +0 -32
  50. vendor/Rsc/Mvc/Module.php +2 -4
app/assets/css/chosen-sprite.png ADDED
Binary file
app/assets/css/chosen-sprite@2x.png ADDED
Binary file
app/assets/css/chosen.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ Chosen, a Select Box Enhancer for jQuery and Prototype
3
+ by Patrick Filler for Harvest, http://getharvest.com
4
+
5
+ Version 1.8.7
6
+ Full source at https://github.com/harvesthq/chosen
7
+ Copyright (c) 2011-2018 Harvest http://getharvest.com
8
+
9
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
+ This file is generated by `grunt build`, do not edit it by hand.
11
+ */.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;-webkit-clip-path:none;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),to(#f4f4f4));background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(1%,#eee),color-stop(15%,#fff));background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:0 0!important;-webkit-box-shadow:none;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#eee),color-stop(80%,#fff));background-image:linear-gradient(#eee 20%,#fff 80%);-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-rtl .chosen-search input[type=text]{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
app/assets/css/jquery-ui.css ADDED
@@ -0,0 +1,1178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! jQuery UI - v1.10.4 - 2014-01-17
2
+ * http://jqueryui.com
3
+ * Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
5
+ * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden {
10
+ display: none;
11
+ }
12
+ .ui-helper-hidden-accessible {
13
+ border: 0;
14
+ clip: rect(0 0 0 0);
15
+ height: 1px;
16
+ margin: -1px;
17
+ overflow: hidden;
18
+ padding: 0;
19
+ position: absolute;
20
+ width: 1px;
21
+ }
22
+ .ui-helper-reset {
23
+ margin: 0;
24
+ padding: 0;
25
+ border: 0;
26
+ outline: 0;
27
+ line-height: 1.3;
28
+ text-decoration: none;
29
+ font-size: 100%;
30
+ list-style: none;
31
+ }
32
+ .ui-helper-clearfix:before,
33
+ .ui-helper-clearfix:after {
34
+ content: "";
35
+ display: table;
36
+ border-collapse: collapse;
37
+ }
38
+ .ui-helper-clearfix:after {
39
+ clear: both;
40
+ }
41
+ .ui-helper-clearfix {
42
+ min-height: 0; /* support: IE7 */
43
+ }
44
+ .ui-helper-zfix {
45
+ width: 100%;
46
+ height: 100%;
47
+ top: 0;
48
+ left: 0;
49
+ position: absolute;
50
+ opacity: 0;
51
+ filter:Alpha(Opacity=0);
52
+ }
53
+
54
+ .ui-front {
55
+ z-index: 100;
56
+ }
57
+
58
+
59
+ /* Interaction Cues
60
+ ----------------------------------*/
61
+ .ui-state-disabled {
62
+ cursor: default !important;
63
+ }
64
+
65
+
66
+ /* Icons
67
+ ----------------------------------*/
68
+
69
+ /* states and images */
70
+ .ui-icon {
71
+ display: block;
72
+ text-indent: -99999px;
73
+ overflow: hidden;
74
+ background-repeat: no-repeat;
75
+ }
76
+
77
+
78
+ /* Misc visuals
79
+ ----------------------------------*/
80
+
81
+ /* Overlays */
82
+ .ui-widget-overlay {
83
+ position: fixed;
84
+ top: 0;
85
+ left: 0;
86
+ width: 100%;
87
+ height: 100%;
88
+ }
89
+ .ui-accordion .ui-accordion-header {
90
+ display: block;
91
+ cursor: pointer;
92
+ position: relative;
93
+ margin-top: 2px;
94
+ padding: .5em .5em .5em .7em;
95
+ min-height: 0; /* support: IE7 */
96
+ }
97
+ .ui-accordion .ui-accordion-icons {
98
+ padding-left: 2.2em;
99
+ }
100
+ .ui-accordion .ui-accordion-noicons {
101
+ padding-left: .7em;
102
+ }
103
+ .ui-accordion .ui-accordion-icons .ui-accordion-icons {
104
+ padding-left: 2.2em;
105
+ }
106
+ .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
107
+ position: absolute;
108
+ left: .5em;
109
+ top: 50%;
110
+ margin-top: -8px;
111
+ }
112
+ .ui-accordion .ui-accordion-content {
113
+ padding: 1em 2.2em;
114
+ border-top: 0;
115
+ overflow: auto;
116
+ }
117
+ .ui-autocomplete {
118
+ position: absolute;
119
+ top: 0;
120
+ left: 0;
121
+ cursor: default;
122
+ }
123
+ .ui-button {
124
+ display: inline-block;
125
+ position: relative;
126
+ padding: 0;
127
+ line-height: normal;
128
+ margin-right: .1em;
129
+ cursor: pointer;
130
+ vertical-align: middle;
131
+ text-align: center;
132
+ overflow: visible; /* removes extra width in IE */
133
+ }
134
+ .ui-button,
135
+ .ui-button:link,
136
+ .ui-button:visited,
137
+ .ui-button:hover,
138
+ .ui-button:active {
139
+ text-decoration: none;
140
+ }
141
+ /* to make room for the icon, a width needs to be set here */
142
+ .ui-button-icon-only {
143
+ width: 2.2em;
144
+ }
145
+ /* button elements seem to need a little more width */
146
+ button.ui-button-icon-only {
147
+ width: 2.4em;
148
+ }
149
+ .ui-button-icons-only {
150
+ width: 3.4em;
151
+ }
152
+ button.ui-button-icons-only {
153
+ width: 3.7em;
154
+ }
155
+
156
+ /* button text element */
157
+ .ui-button .ui-button-text {
158
+ display: block;
159
+ line-height: normal;
160
+ }
161
+ .ui-button-text-only .ui-button-text {
162
+ padding: .4em 1em;
163
+ }
164
+ .ui-button-icon-only .ui-button-text,
165
+ .ui-button-icons-only .ui-button-text {
166
+ padding: .4em;
167
+ text-indent: -9999999px;
168
+ }
169
+ .ui-button-text-icon-primary .ui-button-text,
170
+ .ui-button-text-icons .ui-button-text {
171
+ padding: .4em 1em .4em 2.1em;
172
+ }
173
+ .ui-button-text-icon-secondary .ui-button-text,
174
+ .ui-button-text-icons .ui-button-text {
175
+ padding: .4em 2.1em .4em 1em;
176
+ }
177
+ .ui-button-text-icons .ui-button-text {
178
+ padding-left: 2.1em;
179
+ padding-right: 2.1em;
180
+ }
181
+ /* no icon support for input elements, provide padding by default */
182
+ input.ui-button {
183
+ padding: .4em 1em;
184
+ }
185
+
186
+ /* button icon element(s) */
187
+ .ui-button-icon-only .ui-icon,
188
+ .ui-button-text-icon-primary .ui-icon,
189
+ .ui-button-text-icon-secondary .ui-icon,
190
+ .ui-button-text-icons .ui-icon,
191
+ .ui-button-icons-only .ui-icon {
192
+ position: absolute;
193
+ top: 50%;
194
+ margin-top: -8px;
195
+ }
196
+ .ui-button-icon-only .ui-icon {
197
+ left: 50%;
198
+ margin-left: -8px;
199
+ }
200
+ .ui-button-text-icon-primary .ui-button-icon-primary,
201
+ .ui-button-text-icons .ui-button-icon-primary,
202
+ .ui-button-icons-only .ui-button-icon-primary {
203
+ left: .5em;
204
+ }
205
+ .ui-button-text-icon-secondary .ui-button-icon-secondary,
206
+ .ui-button-text-icons .ui-button-icon-secondary,
207
+ .ui-button-icons-only .ui-button-icon-secondary {
208
+ right: .5em;
209
+ }
210
+
211
+ /* button sets */
212
+ .ui-buttonset {
213
+ margin-right: 7px;
214
+ }
215
+ .ui-buttonset .ui-button {
216
+ margin-left: 0;
217
+ margin-right: -.3em;
218
+ }
219
+
220
+ /* workarounds */
221
+ /* reset extra padding in Firefox, see h5bp.com/l */
222
+ input.ui-button::-moz-focus-inner,
223
+ button.ui-button::-moz-focus-inner {
224
+ border: 0;
225
+ padding: 0;
226
+ }
227
+ .ui-datepicker {
228
+ width: 17em;
229
+ padding: .2em .2em 0;
230
+ display: none;
231
+ }
232
+ .ui-datepicker .ui-datepicker-header {
233
+ position: relative;
234
+ padding: .2em 0;
235
+ }
236
+ .ui-datepicker .ui-datepicker-prev,
237
+ .ui-datepicker .ui-datepicker-next {
238
+ position: absolute;
239
+ top: 2px;
240
+ width: 1.8em;
241
+ height: 1.8em;
242
+ }
243
+ .ui-datepicker .ui-datepicker-prev-hover,
244
+ .ui-datepicker .ui-datepicker-next-hover {
245
+ top: 1px;
246
+ }
247
+ .ui-datepicker .ui-datepicker-prev {
248
+ left: 2px;
249
+ }
250
+ .ui-datepicker .ui-datepicker-next {
251
+ right: 2px;
252
+ }
253
+ .ui-datepicker .ui-datepicker-prev-hover {
254
+ left: 1px;
255
+ }
256
+ .ui-datepicker .ui-datepicker-next-hover {
257
+ right: 1px;
258
+ }
259
+ .ui-datepicker .ui-datepicker-prev span,
260
+ .ui-datepicker .ui-datepicker-next span {
261
+ display: block;
262
+ position: absolute;
263
+ left: 50%;
264
+ margin-left: -8px;
265
+ top: 50%;
266
+ margin-top: -8px;
267
+ }
268
+ .ui-datepicker .ui-datepicker-title {
269
+ margin: 0 2.3em;
270
+ line-height: 1.8em;
271
+ text-align: center;
272
+ }
273
+ .ui-datepicker .ui-datepicker-title select {
274
+ font-size: 1em;
275
+ margin: 1px 0;
276
+ }
277
+ .ui-datepicker select.ui-datepicker-month,
278
+ .ui-datepicker select.ui-datepicker-year {
279
+ width: 49%;
280
+ }
281
+ .ui-datepicker table {
282
+ width: 100%;
283
+ font-size: .9em;
284
+ border-collapse: collapse;
285
+ margin: 0 0 .4em;
286
+ }
287
+ .ui-datepicker th {
288
+ padding: .7em .3em;
289
+ text-align: center;
290
+ font-weight: bold;
291
+ border: 0;
292
+ }
293
+ .ui-datepicker td {
294
+ border: 0;
295
+ padding: 1px;
296
+ }
297
+ .ui-datepicker td span,
298
+ .ui-datepicker td a {
299
+ display: block;
300
+ padding: .2em;
301
+ text-align: right;
302
+ text-decoration: none;
303
+ }
304
+ .ui-datepicker .ui-datepicker-buttonpane {
305
+ background-image: none;
306
+ margin: .7em 0 0 0;
307
+ padding: 0 .2em;
308
+ border-left: 0;
309
+ border-right: 0;
310
+ border-bottom: 0;
311
+ }
312
+ .ui-datepicker .ui-datepicker-buttonpane button {
313
+ float: right;
314
+ margin: .5em .2em .4em;
315
+ cursor: pointer;
316
+ padding: .2em .6em .3em .6em;
317
+ width: auto;
318
+ overflow: visible;
319
+ }
320
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
321
+ float: left;
322
+ }
323
+
324
+ /* with multiple calendars */
325
+ .ui-datepicker.ui-datepicker-multi {
326
+ width: auto;
327
+ }
328
+ .ui-datepicker-multi .ui-datepicker-group {
329
+ float: left;
330
+ }
331
+ .ui-datepicker-multi .ui-datepicker-group table {
332
+ width: 95%;
333
+ margin: 0 auto .4em;
334
+ }
335
+ .ui-datepicker-multi-2 .ui-datepicker-group {
336
+ width: 50%;
337
+ }
338
+ .ui-datepicker-multi-3 .ui-datepicker-group {
339
+ width: 33.3%;
340
+ }
341
+ .ui-datepicker-multi-4 .ui-datepicker-group {
342
+ width: 25%;
343
+ }
344
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
345
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
346
+ border-left-width: 0;
347
+ }
348
+ .ui-datepicker-multi .ui-datepicker-buttonpane {
349
+ clear: left;
350
+ }
351
+ .ui-datepicker-row-break {
352
+ clear: both;
353
+ width: 100%;
354
+ font-size: 0;
355
+ }
356
+
357
+ /* RTL support */
358
+ .ui-datepicker-rtl {
359
+ direction: rtl;
360
+ }
361
+ .ui-datepicker-rtl .ui-datepicker-prev {
362
+ right: 2px;
363
+ left: auto;
364
+ }
365
+ .ui-datepicker-rtl .ui-datepicker-next {
366
+ left: 2px;
367
+ right: auto;
368
+ }
369
+ .ui-datepicker-rtl .ui-datepicker-prev:hover {
370
+ right: 1px;
371
+ left: auto;
372
+ }
373
+ .ui-datepicker-rtl .ui-datepicker-next:hover {
374
+ left: 1px;
375
+ right: auto;
376
+ }
377
+ .ui-datepicker-rtl .ui-datepicker-buttonpane {
378
+ clear: right;
379
+ }
380
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button {
381
+ float: left;
382
+ }
383
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
384
+ .ui-datepicker-rtl .ui-datepicker-group {
385
+ float: right;
386
+ }
387
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
388
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
389
+ border-right-width: 0;
390
+ border-left-width: 1px;
391
+ }
392
+ .ui-dialog {
393
+ overflow: hidden;
394
+ position: absolute;
395
+ top: 0;
396
+ left: 0;
397
+ padding: .2em;
398
+ outline: 0;
399
+ }
400
+ .ui-dialog .ui-dialog-titlebar {
401
+ padding: .4em 1em;
402
+ position: relative;
403
+ }
404
+ .ui-dialog .ui-dialog-title {
405
+ float: left;
406
+ margin: .1em 0;
407
+ white-space: nowrap;
408
+ width: 90%;
409
+ overflow: hidden;
410
+ text-overflow: ellipsis;
411
+ }
412
+ .ui-dialog .ui-dialog-titlebar-close {
413
+ position: absolute;
414
+ right: .3em;
415
+ top: 50%;
416
+ width: 20px;
417
+ margin: -10px 0 0 0;
418
+ padding: 1px;
419
+ height: 20px;
420
+ }
421
+ .ui-dialog .ui-dialog-content {
422
+ position: relative;
423
+ border: 0;
424
+ padding: .5em 1em;
425
+ background: none;
426
+ overflow: auto;
427
+ }
428
+ .ui-dialog .ui-dialog-buttonpane {
429
+ text-align: left;
430
+ border-width: 1px 0 0 0;
431
+ background-image: none;
432
+ margin-top: .5em;
433
+ padding: .3em 1em .5em .4em;
434
+ }
435
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
436
+ float: right;
437
+ }
438
+ .ui-dialog .ui-dialog-buttonpane button {
439
+ margin: .5em .4em .5em 0;
440
+ cursor: pointer;
441
+ }
442
+ .ui-dialog .ui-resizable-se {
443
+ width: 12px;
444
+ height: 12px;
445
+ right: -5px;
446
+ bottom: -5px;
447
+ background-position: 16px 16px;
448
+ }
449
+ .ui-draggable .ui-dialog-titlebar {
450
+ cursor: move;
451
+ }
452
+ .ui-menu {
453
+ list-style: none;
454
+ padding: 2px;
455
+ margin: 0;
456
+ display: block;
457
+ outline: none;
458
+ }
459
+ .ui-menu .ui-menu {
460
+ margin-top: -3px;
461
+ position: absolute;
462
+ }
463
+ .ui-menu .ui-menu-item {
464
+ margin: 0;
465
+ padding: 0;
466
+ width: 100%;
467
+ /* support: IE10, see #8844 */
468
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
469
+ }
470
+ .ui-menu .ui-menu-divider {
471
+ margin: 5px -2px 5px -2px;
472
+ height: 0;
473
+ font-size: 0;
474
+ line-height: 0;
475
+ border-width: 1px 0 0 0;
476
+ }
477
+ .ui-menu .ui-menu-item a {
478
+ text-decoration: none;
479
+ display: block;
480
+ padding: 2px .4em;
481
+ line-height: 1.5;
482
+ min-height: 0; /* support: IE7 */
483
+ font-weight: normal;
484
+ }
485
+ .ui-menu .ui-menu-item a.ui-state-focus,
486
+ .ui-menu .ui-menu-item a.ui-state-active {
487
+ font-weight: normal;
488
+ margin: -1px;
489
+ }
490
+
491
+ .ui-menu .ui-state-disabled {
492
+ font-weight: normal;
493
+ margin: .4em 0 .2em;
494
+ line-height: 1.5;
495
+ }
496
+ .ui-menu .ui-state-disabled a {
497
+ cursor: default;
498
+ }
499
+
500
+ /* icon support */
501
+ .ui-menu-icons {
502
+ position: relative;
503
+ }
504
+ .ui-menu-icons .ui-menu-item a {
505
+ position: relative;
506
+ padding-left: 2em;
507
+ }
508
+
509
+ /* left-aligned */
510
+ .ui-menu .ui-icon {
511
+ position: absolute;
512
+ top: .2em;
513
+ left: .2em;
514
+ }
515
+
516
+ /* right-aligned */
517
+ .ui-menu .ui-menu-icon {
518
+ position: static;
519
+ float: right;
520
+ }
521
+ .ui-progressbar {
522
+ height: 2em;
523
+ text-align: left;
524
+ overflow: hidden;
525
+ }
526
+ .ui-progressbar .ui-progressbar-value {
527
+ margin: -1px;
528
+ height: 100%;
529
+ }
530
+ .ui-progressbar .ui-progressbar-overlay {
531
+ background: url("images/animated-overlay.gif");
532
+ height: 100%;
533
+ filter: alpha(opacity=25);
534
+ opacity: 0.25;
535
+ }
536
+ .ui-progressbar-indeterminate .ui-progressbar-value {
537
+ background-image: none;
538
+ }
539
+ .ui-resizable {
540
+ position: relative;
541
+ }
542
+ .ui-resizable-handle {
543
+ position: absolute;
544
+ font-size: 0.1px;
545
+ display: block;
546
+ }
547
+ .ui-resizable-disabled .ui-resizable-handle,
548
+ .ui-resizable-autohide .ui-resizable-handle {
549
+ display: none;
550
+ }
551
+ .ui-resizable-n {
552
+ cursor: n-resize;
553
+ height: 7px;
554
+ width: 100%;
555
+ top: -5px;
556
+ left: 0;
557
+ }
558
+ .ui-resizable-s {
559
+ cursor: s-resize;
560
+ height: 7px;
561
+ width: 100%;
562
+ bottom: -5px;
563
+ left: 0;
564
+ }
565
+ .ui-resizable-e {
566
+ cursor: e-resize;
567
+ width: 7px;
568
+ right: -5px;
569
+ top: 0;
570
+ height: 100%;
571
+ }
572
+ .ui-resizable-w {
573
+ cursor: w-resize;
574
+ width: 7px;
575
+ left: -5px;
576
+ top: 0;
577
+ height: 100%;
578
+ }
579
+ .ui-resizable-se {
580
+ cursor: se-resize;
581
+ width: 12px;
582
+ height: 12px;
583
+ right: 1px;
584
+ bottom: 1px;
585
+ }
586
+ .ui-resizable-sw {
587
+ cursor: sw-resize;
588
+ width: 9px;
589
+ height: 9px;
590
+ left: -5px;
591
+ bottom: -5px;
592
+ }
593
+ .ui-resizable-nw {
594
+ cursor: nw-resize;
595
+ width: 9px;
596
+ height: 9px;
597
+ left: -5px;
598
+ top: -5px;
599
+ }
600
+ .ui-resizable-ne {
601
+ cursor: ne-resize;
602
+ width: 9px;
603
+ height: 9px;
604
+ right: -5px;
605
+ top: -5px;
606
+ }
607
+ .ui-selectable-helper {
608
+ position: absolute;
609
+ z-index: 100;
610
+ border: 1px dotted black;
611
+ }
612
+ .ui-slider {
613
+ position: relative;
614
+ text-align: left;
615
+ }
616
+ .ui-slider .ui-slider-handle {
617
+ position: absolute;
618
+ z-index: 2;
619
+ width: 1.2em;
620
+ height: 1.2em;
621
+ cursor: default;
622
+ }
623
+ .ui-slider .ui-slider-range {
624
+ position: absolute;
625
+ z-index: 1;
626
+ font-size: .7em;
627
+ display: block;
628
+ border: 0;
629
+ background-position: 0 0;
630
+ }
631
+
632
+ /* For IE8 - See #6727 */
633
+ .ui-slider.ui-state-disabled .ui-slider-handle,
634
+ .ui-slider.ui-state-disabled .ui-slider-range {
635
+ filter: inherit;
636
+ }
637
+
638
+ .ui-slider-horizontal {
639
+ height: .8em;
640
+ }
641
+ .ui-slider-horizontal .ui-slider-handle {
642
+ top: -.3em;
643
+ margin-left: -.6em;
644
+ }
645
+ .ui-slider-horizontal .ui-slider-range {
646
+ top: 0;
647
+ height: 100%;
648
+ }
649
+ .ui-slider-horizontal .ui-slider-range-min {
650
+ left: 0;
651
+ }
652
+ .ui-slider-horizontal .ui-slider-range-max {
653
+ right: 0;
654
+ }
655
+
656
+ .ui-slider-vertical {
657
+ width: .8em;
658
+ height: 100px;
659
+ }
660
+ .ui-slider-vertical .ui-slider-handle {
661
+ left: -.3em;
662
+ margin-left: 0;
663
+ margin-bottom: -.6em;
664
+ }
665
+ .ui-slider-vertical .ui-slider-range {
666
+ left: 0;
667
+ width: 100%;
668
+ }
669
+ .ui-slider-vertical .ui-slider-range-min {
670
+ bottom: 0;
671
+ }
672
+ .ui-slider-vertical .ui-slider-range-max {
673
+ top: 0;
674
+ }
675
+ .ui-spinner {
676
+ position: relative;
677
+ display: inline-block;
678
+ overflow: hidden;
679
+ padding: 0;
680
+ vertical-align: middle;
681
+ }
682
+ .ui-spinner-input {
683
+ border: none;
684
+ background: none;
685
+ color: inherit;
686
+ padding: 0;
687
+ margin: .2em 0;
688
+ vertical-align: middle;
689
+ margin-left: .4em;
690
+ margin-right: 22px;
691
+ }
692
+ .ui-spinner-button {
693
+ width: 16px;
694
+ height: 50%;
695
+ font-size: .5em;
696
+ padding: 0;
697
+ margin: 0;
698
+ text-align: center;
699
+ position: absolute;
700
+ cursor: default;
701
+ display: block;
702
+ overflow: hidden;
703
+ right: 0;
704
+ }
705
+ /* more specificity required here to override default borders */
706
+ .ui-spinner a.ui-spinner-button {
707
+ border-top: none;
708
+ border-bottom: none;
709
+ border-right: none;
710
+ }
711
+ /* vertically center icon */
712
+ .ui-spinner .ui-icon {
713
+ position: absolute;
714
+ margin-top: -8px;
715
+ top: 50%;
716
+ left: 0;
717
+ }
718
+ .ui-spinner-up {
719
+ top: 0;
720
+ }
721
+ .ui-spinner-down {
722
+ bottom: 0;
723
+ }
724
+
725
+ /* TR overrides */
726
+ .ui-spinner .ui-icon-triangle-1-s {
727
+ /* need to fix icons sprite */
728
+ background-position: -65px -16px;
729
+ }
730
+ .ui-tabs {
731
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
732
+ padding: .2em;
733
+ }
734
+ .ui-tabs .ui-tabs-nav {
735
+ margin: 0;
736
+ padding: .2em .2em 0;
737
+ }
738
+ .ui-tabs .ui-tabs-nav li {
739
+ list-style: none;
740
+ float: left;
741
+ position: relative;
742
+ top: 0;
743
+ margin: 1px .2em 0 0;
744
+ border-bottom-width: 0;
745
+ padding: 0;
746
+ white-space: nowrap;
747
+ }
748
+ .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
749
+ float: left;
750
+ padding: .5em 1em;
751
+ text-decoration: none;
752
+ }
753
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active {
754
+ margin-bottom: -1px;
755
+ padding-bottom: 1px;
756
+ }
757
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
758
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
759
+ .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
760
+ cursor: text;
761
+ }
762
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
763
+ cursor: pointer;
764
+ }
765
+ .ui-tabs .ui-tabs-panel {
766
+ display: block;
767
+ border-width: 0;
768
+ padding: 1em 1.4em;
769
+ background: none;
770
+ }
771
+ .ui-tooltip {
772
+ padding: 8px;
773
+ position: absolute;
774
+ z-index: 9999;
775
+ max-width: 300px;
776
+ -webkit-box-shadow: 0 0 5px #aaa;
777
+ box-shadow: 0 0 5px #aaa;
778
+ }
779
+ body .ui-tooltip {
780
+ border-width: 2px;
781
+ }
782
+
783
+ /* Component containers
784
+ ----------------------------------*/
785
+ .ui-widget {
786
+ font-family: Verdana,Arial,sans-serif;
787
+ font-size: 1.1em;
788
+ }
789
+ .ui-widget .ui-widget {
790
+ font-size: 1em;
791
+ }
792
+ .ui-widget input,
793
+ .ui-widget select,
794
+ .ui-widget textarea,
795
+ .ui-widget button {
796
+ font-family: Verdana,Arial,sans-serif;
797
+ font-size: 1em;
798
+ }
799
+ .ui-widget-content {
800
+ border: 1px solid #aaaaaa;
801
+ background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
802
+ color: #222222;
803
+ }
804
+ .ui-widget-content a {
805
+ color: #222222;
806
+ }
807
+ .ui-widget-header {
808
+ border: 1px solid #aaaaaa;
809
+ background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
810
+ color: #222222;
811
+ font-weight: bold;
812
+ }
813
+ .ui-widget-header a {
814
+ color: #222222;
815
+ }
816
+
817
+ /* Interaction states
818
+ ----------------------------------*/
819
+ .ui-state-default,
820
+ .ui-widget-content .ui-state-default,
821
+ .ui-widget-header .ui-state-default {
822
+ border: 1px solid #d3d3d3;
823
+ background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
824
+ font-weight: normal;
825
+ color: #555555;
826
+ }
827
+ .ui-state-default a,
828
+ .ui-state-default a:link,
829
+ .ui-state-default a:visited {
830
+ color: #555555;
831
+ text-decoration: none;
832
+ }
833
+ .ui-state-hover,
834
+ .ui-widget-content .ui-state-hover,
835
+ .ui-widget-header .ui-state-hover,
836
+ .ui-state-focus,
837
+ .ui-widget-content .ui-state-focus,
838
+ .ui-widget-header .ui-state-focus {
839
+ border: 1px solid #999999;
840
+ background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
841
+ font-weight: normal;
842
+ color: #212121;
843
+ }
844
+ .ui-state-hover a,
845
+ .ui-state-hover a:hover,
846
+ .ui-state-hover a:link,
847
+ .ui-state-hover a:visited,
848
+ .ui-state-focus a,
849
+ .ui-state-focus a:hover,
850
+ .ui-state-focus a:link,
851
+ .ui-state-focus a:visited {
852
+ color: #212121;
853
+ text-decoration: none;
854
+ }
855
+ .ui-state-active,
856
+ .ui-widget-content .ui-state-active,
857
+ .ui-widget-header .ui-state-active {
858
+ border: 1px solid #aaaaaa;
859
+ background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
860
+ font-weight: normal;
861
+ color: #212121;
862
+ }
863
+ .ui-state-active a,
864
+ .ui-state-active a:link,
865
+ .ui-state-active a:visited {
866
+ color: #212121;
867
+ text-decoration: none;
868
+ }
869
+
870
+ /* Interaction Cues
871
+ ----------------------------------*/
872
+ .ui-state-highlight,
873
+ .ui-widget-content .ui-state-highlight,
874
+ .ui-widget-header .ui-state-highlight {
875
+ border: 1px solid #fcefa1;
876
+ background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
877
+ color: #363636;
878
+ }
879
+ .ui-state-highlight a,
880
+ .ui-widget-content .ui-state-highlight a,
881
+ .ui-widget-header .ui-state-highlight a {
882
+ color: #363636;
883
+ }
884
+ .ui-state-error,
885
+ .ui-widget-content .ui-state-error,
886
+ .ui-widget-header .ui-state-error {
887
+ border: 1px solid #cd0a0a;
888
+ background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
889
+ color: #cd0a0a;
890
+ }
891
+ .ui-state-error a,
892
+ .ui-widget-content .ui-state-error a,
893
+ .ui-widget-header .ui-state-error a {
894
+ color: #cd0a0a;
895
+ }
896
+ .ui-state-error-text,
897
+ .ui-widget-content .ui-state-error-text,
898
+ .ui-widget-header .ui-state-error-text {
899
+ color: #cd0a0a;
900
+ }
901
+ .ui-priority-primary,
902
+ .ui-widget-content .ui-priority-primary,
903
+ .ui-widget-header .ui-priority-primary {
904
+ font-weight: bold;
905
+ }
906
+ .ui-priority-secondary,
907
+ .ui-widget-content .ui-priority-secondary,
908
+ .ui-widget-header .ui-priority-secondary {
909
+ opacity: .7;
910
+ filter:Alpha(Opacity=70);
911
+ font-weight: normal;
912
+ }
913
+ .ui-state-disabled,
914
+ .ui-widget-content .ui-state-disabled,
915
+ .ui-widget-header .ui-state-disabled {
916
+ opacity: .35;
917
+ filter:Alpha(Opacity=35);
918
+ background-image: none;
919
+ }
920
+ .ui-state-disabled .ui-icon {
921
+ filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
922
+ }
923
+
924
+ /* Icons
925
+ ----------------------------------*/
926
+
927
+ /* states and images */
928
+ .ui-icon {
929
+ width: 16px;
930
+ height: 16px;
931
+ }
932
+ .ui-icon,
933
+ .ui-widget-content .ui-icon {
934
+ background-image: url(images/ui-icons_222222_256x240.png);
935
+ }
936
+ .ui-widget-header .ui-icon {
937
+ background-image: url(images/ui-icons_222222_256x240.png);
938
+ }
939
+ .ui-state-default .ui-icon {
940
+ background-image: url(images/ui-icons_888888_256x240.png);
941
+ }
942
+ .ui-state-hover .ui-icon,
943
+ .ui-state-focus .ui-icon {
944
+ background-image: url(images/ui-icons_454545_256x240.png);
945
+ }
946
+ .ui-state-active .ui-icon {
947
+ background-image: url(images/ui-icons_454545_256x240.png);
948
+ }
949
+ .ui-state-highlight .ui-icon {
950
+ background-image: url(images/ui-icons_2e83ff_256x240.png);
951
+ }
952
+ .ui-state-error .ui-icon,
953
+ .ui-state-error-text .ui-icon {
954
+ background-image: url(images/ui-icons_cd0a0a_256x240.png);
955
+ }
956
+
957
+ /* positioning */
958
+ .ui-icon-blank { background-position: 16px 16px; }
959
+ .ui-icon-carat-1-n { background-position: 0 0; }
960
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
961
+ .ui-icon-carat-1-e { background-position: -32px 0; }
962
+ .ui-icon-carat-1-se { background-position: -48px 0; }
963
+ .ui-icon-carat-1-s { background-position: -64px 0; }
964
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
965
+ .ui-icon-carat-1-w { background-position: -96px 0; }
966
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
967
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
968
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
969
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
970
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
971
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
972
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
973
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
974
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
975
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
976
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
977
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
978
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
979
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
980
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
981
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
982
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
983
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
984
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
985
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
986
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
987
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
988
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
989
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
990
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
991
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
992
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
993
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
994
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
995
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
996
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
997
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
998
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
999
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1000
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1001
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1002
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1003
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1004
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1005
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1006
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1007
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1008
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1009
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1010
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1011
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1012
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1013
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1014
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1015
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1016
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1017
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1018
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1019
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1020
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1021
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1022
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1023
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
1024
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1025
+ .ui-icon-extlink { background-position: -32px -80px; }
1026
+ .ui-icon-newwin { background-position: -48px -80px; }
1027
+ .ui-icon-refresh { background-position: -64px -80px; }
1028
+ .ui-icon-shuffle { background-position: -80px -80px; }
1029
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
1030
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1031
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
1032
+ .ui-icon-folder-open { background-position: -16px -96px; }
1033
+ .ui-icon-document { background-position: -32px -96px; }
1034
+ .ui-icon-document-b { background-position: -48px -96px; }
1035
+ .ui-icon-note { background-position: -64px -96px; }
1036
+ .ui-icon-mail-closed { background-position: -80px -96px; }
1037
+ .ui-icon-mail-open { background-position: -96px -96px; }
1038
+ .ui-icon-suitcase { background-position: -112px -96px; }
1039
+ .ui-icon-comment { background-position: -128px -96px; }
1040
+ .ui-icon-person { background-position: -144px -96px; }
1041
+ .ui-icon-print { background-position: -160px -96px; }
1042
+ .ui-icon-trash { background-position: -176px -96px; }
1043
+ .ui-icon-locked { background-position: -192px -96px; }
1044
+ .ui-icon-unlocked { background-position: -208px -96px; }
1045
+ .ui-icon-bookmark { background-position: -224px -96px; }
1046
+ .ui-icon-tag { background-position: -240px -96px; }
1047
+ .ui-icon-home { background-position: 0 -112px; }
1048
+ .ui-icon-flag { background-position: -16px -112px; }
1049
+ .ui-icon-calendar { background-position: -32px -112px; }
1050
+ .ui-icon-cart { background-position: -48px -112px; }
1051
+ .ui-icon-pencil { background-position: -64px -112px; }
1052
+ .ui-icon-clock { background-position: -80px -112px; }
1053
+ .ui-icon-disk { background-position: -96px -112px; }
1054
+ .ui-icon-calculator { background-position: -112px -112px; }
1055
+ .ui-icon-zoomin { background-position: -128px -112px; }
1056
+ .ui-icon-zoomout { background-position: -144px -112px; }
1057
+ .ui-icon-search { background-position: -160px -112px; }
1058
+ .ui-icon-wrench { background-position: -176px -112px; }
1059
+ .ui-icon-gear { background-position: -192px -112px; }
1060
+ .ui-icon-heart { background-position: -208px -112px; }
1061
+ .ui-icon-star { background-position: -224px -112px; }
1062
+ .ui-icon-link { background-position: -240px -112px; }
1063
+ .ui-icon-cancel { background-position: 0 -128px; }
1064
+ .ui-icon-plus { background-position: -16px -128px; }
1065
+ .ui-icon-plusthick { background-position: -32px -128px; }
1066
+ .ui-icon-minus { background-position: -48px -128px; }
1067
+ .ui-icon-minusthick { background-position: -64px -128px; }
1068
+ .ui-icon-close { background-position: -80px -128px; }
1069
+ .ui-icon-closethick { background-position: -96px -128px; }
1070
+ .ui-icon-key { background-position: -112px -128px; }
1071
+ .ui-icon-lightbulb { background-position: -128px -128px; }
1072
+ .ui-icon-scissors { background-position: -144px -128px; }
1073
+ .ui-icon-clipboard { background-position: -160px -128px; }
1074
+ .ui-icon-copy { background-position: -176px -128px; }
1075
+ .ui-icon-contact { background-position: -192px -128px; }
1076
+ .ui-icon-image { background-position: -208px -128px; }
1077
+ .ui-icon-video { background-position: -224px -128px; }
1078
+ .ui-icon-script { background-position: -240px -128px; }
1079
+ .ui-icon-alert { background-position: 0 -144px; }
1080
+ .ui-icon-info { background-position: -16px -144px; }
1081
+ .ui-icon-notice { background-position: -32px -144px; }
1082
+ .ui-icon-help { background-position: -48px -144px; }
1083
+ .ui-icon-check { background-position: -64px -144px; }
1084
+ .ui-icon-bullet { background-position: -80px -144px; }
1085
+ .ui-icon-radio-on { background-position: -96px -144px; }
1086
+ .ui-icon-radio-off { background-position: -112px -144px; }
1087
+ .ui-icon-pin-w { background-position: -128px -144px; }
1088
+ .ui-icon-pin-s { background-position: -144px -144px; }
1089
+ .ui-icon-play { background-position: 0 -160px; }
1090
+ .ui-icon-pause { background-position: -16px -160px; }
1091
+ .ui-icon-seek-next { background-position: -32px -160px; }
1092
+ .ui-icon-seek-prev { background-position: -48px -160px; }
1093
+ .ui-icon-seek-end { background-position: -64px -160px; }
1094
+ .ui-icon-seek-start { background-position: -80px -160px; }
1095
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1096
+ .ui-icon-seek-first { background-position: -80px -160px; }
1097
+ .ui-icon-stop { background-position: -96px -160px; }
1098
+ .ui-icon-eject { background-position: -112px -160px; }
1099
+ .ui-icon-volume-off { background-position: -128px -160px; }
1100
+ .ui-icon-volume-on { background-position: -144px -160px; }
1101
+ .ui-icon-power { background-position: 0 -176px; }
1102
+ .ui-icon-signal-diag { background-position: -16px -176px; }
1103
+ .ui-icon-signal { background-position: -32px -176px; }
1104
+ .ui-icon-battery-0 { background-position: -48px -176px; }
1105
+ .ui-icon-battery-1 { background-position: -64px -176px; }
1106
+ .ui-icon-battery-2 { background-position: -80px -176px; }
1107
+ .ui-icon-battery-3 { background-position: -96px -176px; }
1108
+ .ui-icon-circle-plus { background-position: 0 -192px; }
1109
+ .ui-icon-circle-minus { background-position: -16px -192px; }
1110
+ .ui-icon-circle-close { background-position: -32px -192px; }
1111
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1112
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1113
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1114
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1115
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1116
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1117
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1118
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1119
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
1120
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
1121
+ .ui-icon-circle-check { background-position: -208px -192px; }
1122
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1123
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1124
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
1125
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1126
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1127
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
1128
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1129
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1130
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1131
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1132
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1133
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1134
+
1135
+
1136
+ /* Misc visuals
1137
+ ----------------------------------*/
1138
+
1139
+ /* Corner radius */
1140
+ .ui-corner-all,
1141
+ .ui-corner-top,
1142
+ .ui-corner-left,
1143
+ .ui-corner-tl {
1144
+ border-top-left-radius: 4px;
1145
+ }
1146
+ .ui-corner-all,
1147
+ .ui-corner-top,
1148
+ .ui-corner-right,
1149
+ .ui-corner-tr {
1150
+ border-top-right-radius: 4px;
1151
+ }
1152
+ .ui-corner-all,
1153
+ .ui-corner-bottom,
1154
+ .ui-corner-left,
1155
+ .ui-corner-bl {
1156
+ border-bottom-left-radius: 4px;
1157
+ }
1158
+ .ui-corner-all,
1159
+ .ui-corner-bottom,
1160
+ .ui-corner-right,
1161
+ .ui-corner-br {
1162
+ border-bottom-right-radius: 4px;
1163
+ }
1164
+
1165
+ /* Overlays */
1166
+ .ui-widget-overlay {
1167
+ background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
1168
+ opacity: .3;
1169
+ filter: Alpha(Opacity=30);
1170
+ }
1171
+ .ui-widget-shadow {
1172
+ margin: -8px 0 0 -8px;
1173
+ padding: 8px;
1174
+ background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
1175
+ opacity: .3;
1176
+ filter: Alpha(Opacity=30);
1177
+ border-radius: 8px;
1178
+ }
app/assets/css/libraries/bootstrap/bootstrap.min.css DELETED
@@ -1,10 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.1 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- /*!
8
- * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0958b1794002b881652)
9
- * Config saved to config.json and https://gist.github.com/d0958b1794002b881652
10
- *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{}body{}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table}tr.visible-print{display:table-row !important}th.visible-print,td.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}
 
 
 
 
 
 
 
 
 
 
app/assets/css/libraries/supsystic/suptablesui.min.css ADDED
@@ -0,0 +1 @@
 
1
+ *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.supContainer{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.supContainer{width:750px}}@media (min-width:992px){.supContainer{width:970px}}@media (min-width:1200px){.supContainer{width:1170px}}.supContainer-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.supRow{margin-right:-15px;margin-left:-15px;clear:both; overflow:auto;}.supRow-no-gutters{margin-right:0;margin-left:0}.supRow-no-gutters [class*=col-]{padding-right:0;padding-left:0}.supLg1,.supLg10,.supLg11,.supLg12,.supLg2,.supLg3,.supLg4,.supLg5,.supLg6,.supLg7,.supLg8,.supLg9,.supMd1,.supMd10,.supMd11,.supMd12,.supMd2,.supMd3,.supMd4,.supMd5,.supMd6,.supMd7,.supMd8,.supMd9,.supSm1,.supSm10,.supSm11,.supSm12,.supSm2,.supSm3,.supSm4,.supSm5,.supSm6,.supSm7,.supSm8,.supSm9,.supXs1,.supXs10,.supXs11,.supXs12,.supXs2,.supXs3,.supXs4,.supXs5,.supXs6,.supXs7,.supXs8,.supXs9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.supXs1,.supXs10,.supXs11,.supXs12,.supXs2,.supXs3,.supXs4,.supXs5,.supXs6,.supXs7,.supXs8,.supXs9{float:left}.supXs12{width:100%}.supXs11{width:91.66666667%}.supXs10{width:83.33333333%}.supXs9{width:75%}.supXs8{width:66.66666667%}.supXs7{width:58.33333333%}.supXs6{width:50%}.supXs5{width:41.66666667%}.supXs4{width:33.33333333%}.supXs3{width:25%}.supXs2{width:16.66666667%}.supXs1{width:8.33333333%}.supXspull-12{right:100%}.supXspull-11{right:91.66666667%}.supXspull-10{right:83.33333333%}.supXspull-9{right:75%}.supXspull-8{right:66.66666667%}.supXspull-7{right:58.33333333%}.supXspull-6{right:50%}.supXspull-5{right:41.66666667%}.supXspull-4{right:33.33333333%}.supXspull-3{right:25%}.supXspull-2{right:16.66666667%}.supXspull-1{right:8.33333333%}.supXspull-0{right:auto}.supXspush-12{left:100%}.supXspush-11{left:91.66666667%}.supXspush-10{left:83.33333333%}.supXspush-9{left:75%}.supXspush-8{left:66.66666667%}.supXspush-7{left:58.33333333%}.supXspush-6{left:50%}.supXspush-5{left:41.66666667%}.supXspush-4{left:33.33333333%}.supXspush-3{left:25%}.supXspush-2{left:16.66666667%}.supXspush-1{left:8.33333333%}.supXspush-0{left:auto}.supXsoffset-12{margin-left:100%}.supXsoffset-11{margin-left:91.66666667%}.supXsoffset-10{margin-left:83.33333333%}.supXsoffset-9{margin-left:75%}.supXsoffset-8{margin-left:66.66666667%}.supXsoffset-7{margin-left:58.33333333%}.supXsoffset-6{margin-left:50%}.supXsoffset-5{margin-left:41.66666667%}.supXsoffset-4{margin-left:33.33333333%}.supXsoffset-3{margin-left:25%}.supXsoffset-2{margin-left:16.66666667%}.supXsoffset-1{margin-left:8.33333333%}.supXsoffset-0{margin-left:0}@media (min-width:768px){.supSm1,.supSm10,.supSm11,.supSm12,.supSm2,.supSm3,.supSm4,.supSm5,.supSm6,.supSm7,.supSm8,.supSm9{float:left}.supSm12{width:100%}.supSm11{width:91.66666667%}.supSm10{width:83.33333333%}.supSm9{width:75%}.supSm8{width:66.66666667%}.supSm7{width:58.33333333%}.supSm6{width:50%}.supSm5{width:41.66666667%}.supSm4{width:33.33333333%}.supSm3{width:25%}.supSm2{width:16.66666667%}.supSm1{width:8.33333333%}.supSmpull-12{right:100%}.supSmpull-11{right:91.66666667%}.supSmpull-10{right:83.33333333%}.supSmpull-9{right:75%}.supSmpull-8{right:66.66666667%}.supSmpull-7{right:58.33333333%}.supSmpull-6{right:50%}.supSmpull-5{right:41.66666667%}.supSmpull-4{right:33.33333333%}.supSmpull-3{right:25%}.supSmpull-2{right:16.66666667%}.supSmpull-1{right:8.33333333%}.supSmpull-0{right:auto}.supSmpush-12{left:100%}.supSmpush-11{left:91.66666667%}.supSmpush-10{left:83.33333333%}.supSmpush-9{left:75%}.supSmpush-8{left:66.66666667%}.supSmpush-7{left:58.33333333%}.supSmpush-6{left:50%}.supSmpush-5{left:41.66666667%}.supSmpush-4{left:33.33333333%}.supSmpush-3{left:25%}.supSmpush-2{left:16.66666667%}.supSmpush-1{left:8.33333333%}.supSmpush-0{left:auto}.supSmoffset-12{margin-left:100%}.supSmoffset-11{margin-left:91.66666667%}.supSmoffset-10{margin-left:83.33333333%}.supSmoffset-9{margin-left:75%}.supSmoffset-8{margin-left:66.66666667%}.supSmoffset-7{margin-left:58.33333333%}.supSmoffset-6{margin-left:50%}.supSmoffset-5{margin-left:41.66666667%}.supSmoffset-4{margin-left:33.33333333%}.supSmoffset-3{margin-left:25%}.supSmoffset-2{margin-left:16.66666667%}.supSmoffset-1{margin-left:8.33333333%}.supSmoffset-0{margin-left:0}}@media (min-width:992px){.supMd1,.supMd10,.supMd11,.supMd12,.supMd2,.supMd3,.supMd4,.supMd5,.supMd6,.supMd7,.supMd8,.supMd9{float:left}.supMd12{width:100%}.supMd11{width:91.66666667%}.supMd10{width:83.33333333%}.supMd9{width:75%}.supMd8{width:66.66666667%}.supMd7{width:58.33333333%}.supMd6{width:50%}.supMd5{width:41.66666667%}.supMd4{width:33.33333333%}.supMd3{width:25%}.supMd2{width:16.66666667%}.supMd1{width:8.33333333%}.supMdpull-12{right:100%}.supMdpull-11{right:91.66666667%}.supMdpull-10{right:83.33333333%}.supMdpull-9{right:75%}.supMdpull-8{right:66.66666667%}.supMdpull-7{right:58.33333333%}.supMdpull-6{right:50%}.supMdpull-5{right:41.66666667%}.supMdpull-4{right:33.33333333%}.supMdpull-3{right:25%}.supMdpull-2{right:16.66666667%}.supMdpull-1{right:8.33333333%}.supMdpull-0{right:auto}.supMdpush-12{left:100%}.supMdpush-11{left:91.66666667%}.supMdpush-10{left:83.33333333%}.supMdpush-9{left:75%}.supMdpush-8{left:66.66666667%}.supMdpush-7{left:58.33333333%}.supMdpush-6{left:50%}.supMdpush-5{left:41.66666667%}.supMdpush-4{left:33.33333333%}.supMdpush-3{left:25%}.supMdpush-2{left:16.66666667%}.supMdpush-1{left:8.33333333%}.supMdpush-0{left:auto}.supMdoffset-12{margin-left:100%}.supMdoffset-11{margin-left:91.66666667%}.supMdoffset-10{margin-left:83.33333333%}.supMdoffset-9{margin-left:75%}.supMdoffset-8{margin-left:66.66666667%}.supMdoffset-7{margin-left:58.33333333%}.supMdoffset-6{margin-left:50%}.supMdoffset-5{margin-left:41.66666667%}.supMdoffset-4{margin-left:33.33333333%}.supMdoffset-3{margin-left:25%}.supMdoffset-2{margin-left:16.66666667%}.supMdoffset-1{margin-left:8.33333333%}.supMdoffset-0{margin-left:0}}@media (min-width:1200px){.supLg1,.supLg10,.supLg11,.supLg12,.supLg2,.supLg3,.supLg4,.supLg5,.supLg6,.supLg7,.supLg8,.supLg9{float:left}.supLg12{width:100%}.supLg11{width:91.66666667%}.supLg10{width:83.33333333%}.supLg9{width:75%}.supLg8{width:66.66666667%}.supLg7{width:58.33333333%}.supLg6{width:50%}.supLg5{width:41.66666667%}.supLg4{width:33.33333333%}.supLg3{width:25%}.supLg2{width:16.66666667%}.supLg1{width:8.33333333%}.supLgpull-12{right:100%}.supLgpull-11{right:91.66666667%}.supLgpull-10{right:83.33333333%}.supLgpull-9{right:75%}.supLgpull-8{right:66.66666667%}.supLgpull-7{right:58.33333333%}.supLgpull-6{right:50%}.supLgpull-5{right:41.66666667%}.supLgpull-4{right:33.33333333%}.supLgpull-3{right:25%}.supLgpull-2{right:16.66666667%}.supLgpull-1{right:8.33333333%}.supLgpull-0{right:auto}.supLgpush-12{left:100%}.supLgpush-11{left:91.66666667%}.supLgpush-10{left:83.33333333%}.supLgpush-9{left:75%}.supLgpush-8{left:66.66666667%}.supLgpush-7{left:58.33333333%}.supLgpush-6{left:50%}.supLgpush-5{left:41.66666667%}.supLgpush-4{left:33.33333333%}.supLgpush-3{left:25%}.supLgpush-2{left:16.66666667%}.supLgpush-1{left:8.33333333%}.supLgpush-0{left:auto}.supLgoffset-12{margin-left:100%}.supLgoffset-11{margin-left:91.66666667%}.supLgoffset-10{margin-left:83.33333333%}.supLgoffset-9{margin-left:75%}.supLgoffset-8{margin-left:66.66666667%}.supLgoffset-7{margin-left:58.33333333%}.supLgoffset-6{margin-left:50%}.supLgoffset-5{margin-left:41.66666667%}.supLgoffset-4{margin-left:33.33333333%}.supLgoffset-3{margin-left:25%}.supLgoffset-2{margin-left:16.66666667%}.supLgoffset-1{margin-left:8.33333333%}.supLgoffset-0{margin-left:0}}
app/assets/js/chosen.jquery.min.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ /* Chosen v1.8.7 | (c) 2011-2018 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
+
3
+ (function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments)}},r=function(t,e){function s(){this.constructor=t}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s<i;s++)n=r[s],o.push(this.add_option(n,e,t.disabled));return o},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,s,n,r,o;for(r=new i,s=0,n=(o=t.childNodes).length;s<n;s++)e=o[s],r.add_node(e);return r.parsed},e=function(){function t(e,s){this.form_field=e,this.options=null!=s?s:{},this.label_click_handler=n(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){return this.click_test_action=function(t){return function(e){return t.test_active_click(e)}}(this),this.activate_action=function(t){return function(e){return t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||Infinity,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n<r&&(s=o[n],i="",""!==(i=s.group?this.result_add_group(s):this.result_add_option(s))&&(h++,e+=i),(null!=t?t.first:void 0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(h>=this.max_shown_results));n++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t<e;t++)(i=s[t]).selected?n.push(i.selected=!1):n.push(void 0);return n},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var e,s,i,n,r,o,h,l,c,_,a,u,d,p,f;for(this.no_results_clear(),_=0,e=(h=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(e),i=0,n=(l=this.results_data).length;i<n;i++)(r=l[i]).search_match=!1,a=null,u=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(a=this.results_data[r.group_array_index]).active_options&&a.search_match&&(_+=1),a.active_options+=1),f=r.group?r.label:r.text,r.group&&!this.group_search||(u=this.search_string_match(f,c),r.search_match=null!=u,r.search_match&&!r.group&&(_+=1),r.search_match?(h.length&&(d=u.index,o=f.slice(0,d),s=f.slice(d,d+h.length),p=f.slice(d+h.length),r.highlighted_html=this.escape_html(o)+"<em>"+this.escape_html(s)+"</em>"+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keydown_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==s&&this.pending_backstroke&&this.clear_backstroke(),s){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),s){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy()}):this}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s<r)return this.search_results.scrollTop(s)}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},n.prototype.update_results_content=function(t){return this.search_results.html(t)},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},n.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var s,i;return s=t("<li />",{"class":"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?s.addClass("search-choice-disabled"):((i=t("<a />",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("<div/>").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s<i;s++)r[n=o[s]]=this.search_field.css(n);return(e=t("<div />").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}).call(this);
app/assets/js/webfont.js CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * Copyright 2015 Small Batch, Inc.
3
  *
4
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
  * use this file except in compliance with the License. You may obtain a copy of
@@ -13,33 +13,21 @@
13
  * License for the specific language governing permissions and limitations under
14
  * the License.
15
  */
16
- /* Web Font Loader v1.5.18 - (c) Adobe Systems, Google. License: Apache 2.0 */
17
- ;(function(window,document,undefined){function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function k(a,b,c){k=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return k.apply(null,arguments)}var n=Date.now||function(){return+new Date};function q(a,b){this.K=a;this.w=b||a;this.G=this.w.document}q.prototype.createElement=function(a,b,c){a=this.G.createElement(a);if(b)for(var d in b)b.hasOwnProperty(d)&&("style"==d?a.style.cssText=b[d]:a.setAttribute(d,b[d]));c&&a.appendChild(this.G.createTextNode(c));return a};function r(a,b,c){a=a.G.getElementsByTagName(b)[0];a||(a=document.documentElement);a&&a.lastChild&&a.insertBefore(c,a.lastChild)}function ca(a,b){function c(){a.G.body?b():setTimeout(c,0)}c()}
18
- function s(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<d.length;g+=1)if(b[e]===d[g]){f=!0;break}f||d.push(b[e])}b=[];for(e=0;e<d.length;e+=1){f=!1;for(g=0;g<c.length;g+=1)if(d[e]===c[g]){f=!0;break}f||b.push(d[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function t(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return!0;return!1}
19
- function u(a){if("string"===typeof a.na)return a.na;var b=a.w.location.protocol;"about:"==b&&(b=a.K.location.protocol);return"https:"==b?"https:":"http:"}function v(a,b){var c=a.createElement("link",{rel:"stylesheet",href:b,media:"all"}),d=!1;c.onload=function(){d||(d=!0)};c.onerror=function(){d||(d=!0)};r(a,"head",c)}
20
- function w(a,b,c,d){var e=a.G.getElementsByTagName("head")[0];if(e){var f=a.createElement("script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,c&&c(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);window.setTimeout(function(){g||(g=!0,c&&c(Error("Script load timeout")))},d||5E3);return f}return null};function x(a,b){this.Y=a;this.ga=b};function y(a,b,c,d){this.c=null!=a?a:null;this.g=null!=b?b:null;this.D=null!=c?c:null;this.e=null!=d?d:null}var da=/^([0-9]+)(?:[\._-]([0-9]+))?(?:[\._-]([0-9]+))?(?:[\._+-]?(.*))?$/;y.prototype.compare=function(a){return this.c>a.c||this.c===a.c&&this.g>a.g||this.c===a.c&&this.g===a.g&&this.D>a.D?1:this.c<a.c||this.c===a.c&&this.g<a.g||this.c===a.c&&this.g===a.g&&this.D<a.D?-1:0};y.prototype.toString=function(){return[this.c,this.g||"",this.D||"",this.e||""].join("")};
21
- function z(a){a=da.exec(a);var b=null,c=null,d=null,e=null;a&&(null!==a[1]&&a[1]&&(b=parseInt(a[1],10)),null!==a[2]&&a[2]&&(c=parseInt(a[2],10)),null!==a[3]&&a[3]&&(d=parseInt(a[3],10)),null!==a[4]&&a[4]&&(e=/^[0-9]+$/.test(a[4])?parseInt(a[4],10):a[4]));return new y(b,c,d,e)};function A(a,b,c,d,e,f,g,h){this.N=a;this.k=h}A.prototype.getName=function(){return this.N};function B(a){this.a=a}var ea=new A("Unknown",0,0,0,0,0,0,new x(!1,!1));
22
- B.prototype.parse=function(){var a;if(-1!=this.a.indexOf("MSIE")||-1!=this.a.indexOf("Trident/")){a=C(this);var b=z(D(this)),c=null,d=E(this.a,/Trident\/([\d\w\.]+)/,1),c=-1!=this.a.indexOf("MSIE")?z(E(this.a,/MSIE ([\d\w\.]+)/,1)):z(E(this.a,/rv:([\d\w\.]+)/,1));""!=d&&z(d);a=new A("MSIE",0,0,0,0,0,0,new x("Windows"==a&&6<=c.c||"Windows Phone"==a&&8<=b.c,!1))}else if(-1!=this.a.indexOf("Opera"))a:if(a=z(E(this.a,/Presto\/([\d\w\.]+)/,1)),z(D(this)),null!==a.c||z(E(this.a,/rv:([^\)]+)/,1)),-1!=this.a.indexOf("Opera Mini/"))a=
23
- z(E(this.a,/Opera Mini\/([\d\.]+)/,1)),a=new A("OperaMini",0,0,0,C(this),0,0,new x(!1,!1));else{if(-1!=this.a.indexOf("Version/")&&(a=z(E(this.a,/Version\/([\d\.]+)/,1)),null!==a.c)){a=new A("Opera",0,0,0,C(this),0,0,new x(10<=a.c,!1));break a}a=z(E(this.a,/Opera[\/ ]([\d\.]+)/,1));a=null!==a.c?new A("Opera",0,0,0,C(this),0,0,new x(10<=a.c,!1)):new A("Opera",0,0,0,C(this),0,0,new x(!1,!1))}else/OPR\/[\d.]+/.test(this.a)?a=F(this):/AppleWeb(K|k)it/.test(this.a)?a=F(this):-1!=this.a.indexOf("Gecko")?
24
- (a="Unknown",b=new y,z(D(this)),b=!1,-1!=this.a.indexOf("Firefox")?(a="Firefox",b=z(E(this.a,/Firefox\/([\d\w\.]+)/,1)),b=3<=b.c&&5<=b.g):-1!=this.a.indexOf("Mozilla")&&(a="Mozilla"),c=z(E(this.a,/rv:([^\)]+)/,1)),b||(b=1<c.c||1==c.c&&9<c.g||1==c.c&&9==c.g&&2<=c.D),a=new A(a,0,0,0,C(this),0,0,new x(b,!1))):a=ea;return a};
25
- function C(a){var b=E(a.a,/(iPod|iPad|iPhone|Android|Windows Phone|BB\d{2}|BlackBerry)/,1);if(""!=b)return/BB\d{2}/.test(b)&&(b="BlackBerry"),b;a=E(a.a,/(Linux|Mac_PowerPC|Macintosh|Windows|CrOS|PlayStation|CrKey)/,1);return""!=a?("Mac_PowerPC"==a?a="Macintosh":"PlayStation"==a&&(a="Linux"),a):"Unknown"}
26
- function D(a){var b=E(a.a,/(OS X|Windows NT|Android) ([^;)]+)/,2);if(b||(b=E(a.a,/Windows Phone( OS)? ([^;)]+)/,2))||(b=E(a.a,/(iPhone )?OS ([\d_]+)/,2)))return b;if(b=E(a.a,/(?:Linux|CrOS|CrKey) ([^;)]+)/,1))for(var b=b.split(/\s/),c=0;c<b.length;c+=1)if(/^[\d\._]+$/.test(b[c]))return b[c];return(a=E(a.a,/(BB\d{2}|BlackBerry).*?Version\/([^\s]*)/,2))?a:"Unknown"}
27
- function F(a){var b=C(a),c=z(D(a)),d=z(E(a.a,/AppleWeb(?:K|k)it\/([\d\.\+]+)/,1)),e="Unknown",f=new y,f="Unknown",g=!1;/OPR\/[\d.]+/.test(a.a)?e="Opera":-1!=a.a.indexOf("Chrome")||-1!=a.a.indexOf("CrMo")||-1!=a.a.indexOf("CriOS")?e="Chrome":/Silk\/\d/.test(a.a)?e="Silk":"BlackBerry"==b||"Android"==b?e="BuiltinBrowser":-1!=a.a.indexOf("PhantomJS")?e="PhantomJS":-1!=a.a.indexOf("Safari")?e="Safari":-1!=a.a.indexOf("AdobeAIR")?e="AdobeAIR":-1!=a.a.indexOf("PlayStation")&&(e="BuiltinBrowser");"BuiltinBrowser"==
28
- e?f="Unknown":"Silk"==e?f=E(a.a,/Silk\/([\d\._]+)/,1):"Chrome"==e?f=E(a.a,/(Chrome|CrMo|CriOS)\/([\d\.]+)/,2):-1!=a.a.indexOf("Version/")?f=E(a.a,/Version\/([\d\.\w]+)/,1):"AdobeAIR"==e?f=E(a.a,/AdobeAIR\/([\d\.]+)/,1):"Opera"==e?f=E(a.a,/OPR\/([\d.]+)/,1):"PhantomJS"==e&&(f=E(a.a,/PhantomJS\/([\d.]+)/,1));f=z(f);g="AdobeAIR"==e?2<f.c||2==f.c&&5<=f.g:"BlackBerry"==b?10<=c.c:"Android"==b?2<c.c||2==c.c&&1<c.g:526<=d.c||525<=d.c&&13<=d.g;return new A(e,0,0,0,0,0,0,new x(g,536>d.c||536==d.c&&11>d.g))}
29
- function E(a,b,c){return(a=a.match(b))&&a[c]?a[c]:""};function G(a){this.ma=a||"-"}G.prototype.e=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.ma)};function H(a,b){this.N=a;this.Z=4;this.O="n";var c=(b||"n4").match(/^([nio])([1-9])$/i);c&&(this.O=c[1],this.Z=parseInt(c[2],10))}H.prototype.getName=function(){return this.N};function I(a){return a.O+a.Z}function ga(a){var b=4,c="n",d=null;a&&((d=a.match(/(normal|oblique|italic)/i))&&d[1]&&(c=d[1].substr(0,1).toLowerCase()),(d=a.match(/([1-9]00|normal|bold)/i))&&d[1]&&(/bold/i.test(d[1])?b=7:/[1-9]00/.test(d[1])&&(b=parseInt(d[1].substr(0,1),10))));return c+b};function ha(a,b){this.d=a;this.q=a.w.document.documentElement;this.Q=b;this.j="wf";this.h=new G("-");this.ha=!1!==b.events;this.F=!1!==b.classes}function J(a){if(a.F){var b=t(a.q,a.h.e(a.j,"active")),c=[],d=[a.h.e(a.j,"loading")];b||c.push(a.h.e(a.j,"inactive"));s(a.q,c,d)}K(a,"inactive")}function K(a,b,c){if(a.ha&&a.Q[b])if(c)a.Q[b](c.getName(),I(c));else a.Q[b]()};function ia(){this.C={}};function L(a,b){this.d=a;this.I=b;this.o=this.d.createElement("span",{"aria-hidden":"true"},this.I)}
30
- function M(a,b){var c=a.o,d;d=[];for(var e=b.N.split(/,\s*/),f=0;f<e.length;f++){var g=e[f].replace(/['"]/g,"");-1==g.indexOf(" ")?d.push(g):d.push("'"+g+"'")}d=d.join(",");e="normal";"o"===b.O?e="oblique":"i"===b.O&&(e="italic");c.style.cssText="display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+d+";"+("font-style:"+e+";font-weight:"+(b.Z+"00")+";")}
31
- function N(a){r(a.d,"body",a.o)}L.prototype.remove=function(){var a=this.o;a.parentNode&&a.parentNode.removeChild(a)};function O(a,b,c,d,e,f,g,h){this.$=a;this.ka=b;this.d=c;this.m=d;this.k=e;this.I=h||"BESbswy";this.v={};this.X=f||3E3;this.ca=g||null;this.H=this.u=this.t=null;this.t=new L(this.d,this.I);this.u=new L(this.d,this.I);this.H=new L(this.d,this.I);M(this.t,new H("serif",I(this.m)));M(this.u,new H("sans-serif",I(this.m)));M(this.H,new H("monospace",I(this.m)));N(this.t);N(this.u);N(this.H);this.v.serif=this.t.o.offsetWidth;this.v["sans-serif"]=this.u.o.offsetWidth;this.v.monospace=this.H.o.offsetWidth}
32
- var P={sa:"serif",ra:"sans-serif",qa:"monospace"};O.prototype.start=function(){this.oa=n();M(this.t,new H(this.m.getName()+",serif",I(this.m)));M(this.u,new H(this.m.getName()+",sans-serif",I(this.m)));Q(this)};function R(a,b,c){for(var d in P)if(P.hasOwnProperty(d)&&b===a.v[P[d]]&&c===a.v[P[d]])return!0;return!1}
33
- function Q(a){var b=a.t.o.offsetWidth,c=a.u.o.offsetWidth;b===a.v.serif&&c===a.v["sans-serif"]||a.k.ga&&R(a,b,c)?n()-a.oa>=a.X?a.k.ga&&R(a,b,c)&&(null===a.ca||a.ca.hasOwnProperty(a.m.getName()))?S(a,a.$):S(a,a.ka):ja(a):S(a,a.$)}function ja(a){setTimeout(k(function(){Q(this)},a),50)}function S(a,b){a.t.remove();a.u.remove();a.H.remove();b(a.m)};function T(a,b,c,d){this.d=b;this.A=c;this.S=0;this.ea=this.ba=!1;this.X=d;this.k=a.k}function ka(a,b,c,d,e){c=c||{};if(0===b.length&&e)J(a.A);else for(a.S+=b.length,e&&(a.ba=e),e=0;e<b.length;e++){var f=b[e],g=c[f.getName()],h=a.A,m=f;h.F&&s(h.q,[h.h.e(h.j,m.getName(),I(m).toString(),"loading")]);K(h,"fontloading",m);h=null;h=new O(k(a.ia,a),k(a.ja,a),a.d,f,a.k,a.X,d,g);h.start()}}
34
- T.prototype.ia=function(a){var b=this.A;b.F&&s(b.q,[b.h.e(b.j,a.getName(),I(a).toString(),"active")],[b.h.e(b.j,a.getName(),I(a).toString(),"loading"),b.h.e(b.j,a.getName(),I(a).toString(),"inactive")]);K(b,"fontactive",a);this.ea=!0;la(this)};
35
- T.prototype.ja=function(a){var b=this.A;if(b.F){var c=t(b.q,b.h.e(b.j,a.getName(),I(a).toString(),"active")),d=[],e=[b.h.e(b.j,a.getName(),I(a).toString(),"loading")];c||d.push(b.h.e(b.j,a.getName(),I(a).toString(),"inactive"));s(b.q,d,e)}K(b,"fontinactive",a);la(this)};function la(a){0==--a.S&&a.ba&&(a.ea?(a=a.A,a.F&&s(a.q,[a.h.e(a.j,"active")],[a.h.e(a.j,"loading"),a.h.e(a.j,"inactive")]),K(a,"active")):J(a.A))};function U(a){this.K=a;this.B=new ia;this.pa=new B(a.navigator.userAgent);this.a=this.pa.parse();this.U=this.V=0;this.R=this.T=!0}
36
- U.prototype.load=function(a){this.d=new q(this.K,a.context||this.K);this.T=!1!==a.events;this.R=!1!==a.classes;var b=new ha(this.d,a),c=[],d=a.timeout;b.F&&s(b.q,[b.h.e(b.j,"loading")]);K(b,"loading");var c=this.B,e=this.d,f=[],g;for(g in a)if(a.hasOwnProperty(g)){var h=c.C[g];h&&f.push(h(a[g],e))}c=f;this.U=this.V=c.length;a=new T(this.a,this.d,b,d);d=0;for(g=c.length;d<g;d++)e=c[d],e.L(this.a,k(this.la,this,e,b,a))};
37
- U.prototype.la=function(a,b,c,d){var e=this;d?a.load(function(a,b,d){ma(e,c,a,b,d)}):(a=0==--this.V,this.U--,a&&0==this.U?J(b):(this.R||this.T)&&ka(c,[],{},null,a))};function ma(a,b,c,d,e){var f=0==--a.V;(a.R||a.T)&&setTimeout(function(){ka(b,c,d||null,e||null,f)},0)};function na(a,b,c){this.P=a?a:b+oa;this.s=[];this.W=[];this.fa=c||""}var oa="//fonts.googleapis.com/css";na.prototype.e=function(){if(0==this.s.length)throw Error("No fonts to load!");if(-1!=this.P.indexOf("kit="))return this.P;for(var a=this.s.length,b=[],c=0;c<a;c++)b.push(this.s[c].replace(/ /g,"+"));a=this.P+"?family="+b.join("%7C");0<this.W.length&&(a+="&subset="+this.W.join(","));0<this.fa.length&&(a+="&text="+encodeURIComponent(this.fa));return a};function pa(a){this.s=a;this.da=[];this.M={}}
38
- var qa={latin:"BESbswy",cyrillic:"&#1081;&#1103;&#1046;",greek:"&#945;&#946;&#931;",khmer:"&#x1780;&#x1781;&#x1782;",Hanuman:"&#x1780;&#x1781;&#x1782;"},ra={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},sa={i:"i",italic:"i",n:"n",normal:"n"},ta=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
39
- pa.prototype.parse=function(){for(var a=this.s.length,b=0;b<a;b++){var c=this.s[b].split(":"),d=c[0].replace(/\+/g," "),e=["n4"];if(2<=c.length){var f;var g=c[1];f=[];if(g)for(var g=g.split(","),h=g.length,m=0;m<h;m++){var l;l=g[m];if(l.match(/^[\w-]+$/)){l=ta.exec(l.toLowerCase());var p=void 0;if(null==l)p="";else{p=void 0;p=l[1];if(null==p||""==p)p="4";else var fa=ra[p],p=fa?fa:isNaN(p)?"4":p.substr(0,1);l=l[2];p=[null==l||""==l?"n":sa[l],p].join("")}l=p}else l="";l&&f.push(l)}0<f.length&&(e=f);
40
- 3==c.length&&(c=c[2],f=[],c=c?c.split(","):f,0<c.length&&(c=qa[c[0]])&&(this.M[d]=c))}this.M[d]||(c=qa[d])&&(this.M[d]=c);for(c=0;c<e.length;c+=1)this.da.push(new H(d,e[c]))}};function V(a,b){this.a=(new B(navigator.userAgent)).parse();this.d=a;this.f=b}var ua={Arimo:!0,Cousine:!0,Tinos:!0};V.prototype.L=function(a,b){b(a.k.Y)};V.prototype.load=function(a){var b=this.d;"MSIE"==this.a.getName()&&1!=this.f.blocking?ca(b,k(this.aa,this,a)):this.aa(a)};
41
- V.prototype.aa=function(a){for(var b=this.d,c=new na(this.f.api,u(b),this.f.text),d=this.f.families,e=d.length,f=0;f<e;f++){var g=d[f].split(":");3==g.length&&c.W.push(g.pop());var h="";2==g.length&&""!=g[1]&&(h=":");c.s.push(g.join(h))}d=new pa(d);d.parse();v(b,c.e());a(d.da,d.M,ua)};function W(a,b){this.d=a;this.f=b;this.p=[]}W.prototype.J=function(a){var b=this.d;return u(this.d)+(this.f.api||"//f.fontdeck.com/s/css/js/")+(b.w.location.hostname||b.K.location.hostname)+"/"+a+".js"};
42
- W.prototype.L=function(a,b){var c=this.f.id,d=this.d.w,e=this;c?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[c]=function(a,c){for(var d=0,m=c.fonts.length;d<m;++d){var l=c.fonts[d];e.p.push(new H(l.name,ga("font-weight:"+l.weight+";font-style:"+l.style)))}b(a)},w(this.d,this.J(c),function(a){a&&b(!1)})):b(!1)};W.prototype.load=function(a){a(this.p)};function X(a,b){this.d=a;this.f=b;this.p=[]}X.prototype.J=function(a){var b=u(this.d);return(this.f.api||b+"//use.typekit.net")+"/"+a+".js"};X.prototype.L=function(a,b){var c=this.f.id,d=this.d.w,e=this;c?w(this.d,this.J(c),function(a){if(a)b(!1);else{if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){a=d.Typekit.config.fn;for(var c=0;c<a.length;c+=2)for(var h=a[c],m=a[c+1],l=0;l<m.length;l++)e.p.push(new H(h,m[l]));try{d.Typekit.load({events:!1,classes:!1})}catch(p){}}b(!0)}},2E3):b(!1)};
43
- X.prototype.load=function(a){a(this.p)};function Y(a,b){this.d=a;this.f=b;this.p=[]}Y.prototype.L=function(a,b){var c=this,d=c.f.projectId,e=c.f.version;if(d){var f=c.d.w;w(this.d,c.J(d,e),function(e){if(e)b(!1);else{if(f["__mti_fntLst"+d]&&(e=f["__mti_fntLst"+d]()))for(var h=0;h<e.length;h++)c.p.push(new H(e[h].fontfamily));b(a.k.Y)}}).id="__MonotypeAPIScript__"+d}else b(!1)};Y.prototype.J=function(a,b){var c=u(this.d),d=(this.f.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+d+"/"+a+".js"+(b?"?v="+b:"")};
44
- Y.prototype.load=function(a){a(this.p)};function Z(a,b){this.d=a;this.f=b}Z.prototype.load=function(a){var b,c,d=this.f.urls||[],e=this.f.families||[],f=this.f.testStrings||{};b=0;for(c=d.length;b<c;b++)v(this.d,d[b]);d=[];b=0;for(c=e.length;b<c;b++){var g=e[b].split(":");if(g[1])for(var h=g[1].split(","),m=0;m<h.length;m+=1)d.push(new H(g[0],h[m]));else d.push(new H(g[0]))}a(d,f)};Z.prototype.L=function(a,b){return b(a.k.Y)};var $=new U(this);$.B.C.custom=function(a,b){return new Z(b,a)};$.B.C.fontdeck=function(a,b){return new W(b,a)};$.B.C.monotype=function(a,b){return new Y(b,a)};$.B.C.typekit=function(a,b){return new X(b,a)};$.B.C.google=function(a,b){return new V(b,a)};this.WebFont||(this.WebFont={},this.WebFont.load=k($.load,$),this.WebFontConfig&&$.load(this.WebFontConfig));})(this,document);
45
-
1
  /*
2
+ * Copyright 2016 Small Batch, Inc.
3
  *
4
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
  * use this file except in compliance with the License. You may obtain a copy of
13
  * License for the specific language governing permissions and limitations under
14
  * the License.
15
  */
16
+ /* Web Font Loader v1.6.26 - (c) Adobe Systems, Google. License: Apache 2.0 */(function(){function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function p(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,c,d){b=a.c.createElement(b);if(c)for(var e in c)c.hasOwnProperty(e)&&("style"==e?b.style.cssText=c[e]:b.setAttribute(e,c[e]));d&&b.appendChild(a.c.createTextNode(d));return b}function u(a,b,c){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(c,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
17
+ function w(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<d.length;g+=1)if(b[e]===d[g]){f=!0;break}f||d.push(b[e])}b=[];for(e=0;e<d.length;e+=1){f=!1;for(g=0;g<c.length;g+=1)if(d[e]===c[g]){f=!0;break}f||b.push(d[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return!0;return!1}
18
+ function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
19
+ function A(a,b,c){function d(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:"stylesheet",href:b,media:"all"});var e=!1,f=!0,g=null,k=c||null;da?(b.onload=function(){e=!0;d()},b.onerror=function(){e=!0;g=Error("Stylesheet failed to load");d()}):setTimeout(function(){e=!0;d()},0);u(a,"head",b)}
20
+ function B(a,b,c,d){var e=a.c.getElementsByTagName("head")[0];if(e){var f=t(a,"script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,c&&c(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,c&&c(Error("Script load timeout")))},d||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||"-"}G.prototype.c=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a="n";var c=(b||"n4").match(/^([nio])([1-9])$/i);c&&(this.a=c[1],this.f=parseInt(c[2],10))}function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}function J(a){var b=[];a=a.split(/,\s*/);for(var c=0;c<a.length;c++){var d=a[c].replace(/['"]/g,"");-1!=d.indexOf(" ")||/^\d/.test(d)?b.push("'"+d+"'"):b.push(d)}return b.join(",")}function K(a){return a.a+a.f}function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic");return b}
21
+ function ga(a){var b=4,c="n",d=null;a&&((d=a.match(/(normal|oblique|italic)/i))&&d[1]&&(c=d[1].substr(0,1).toLowerCase()),(d=a.match(/([1-9]00|normal|bold)/i))&&d[1]&&(/bold/i.test(d[1])?b=7:/[1-9]00/.test(d[1])&&(b=parseInt(d[1].substr(0,1),10))));return c+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G("-");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),c=[],d=[a.a.c("wf","loading")];b||c.push(a.a.c("wf","inactive"));w(a.f,c,d)}L(a,"inactive")}function L(a,b,c){if(a.j&&a.h[b])if(c)a.h[b](c.c,K(c));else a.h[b]()};function ja(){this.c={}}function ka(a,b,c){var d=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&d.push(f(b[e],c))}return d};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":"true"},this.f)}function O(a){u(a.c,"body",a.a)}function P(a){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+J(a.c)+";"+("font-style:"+I(a)+";font-weight:"+(a.f+"00")+";")};function Q(a,b,c,d,e,f){this.g=a;this.j=b;this.a=d;this.c=c;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,c=q(),d=new Promise(function(d,e){function k(){q()-c>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?d():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,d){setTimeout(d,b.f)});Promise.race([e,d]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,c,d,e,f,g){this.v=a;this.B=b;this.c=c;this.a=d;this.s=g||"BESbswy";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+",serif",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+",sans-serif",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H("serif",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H("sans-serif",K(this.a));a=
22
+ P(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:"serif",C:"sans-serif"},T=null;function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f["sans-serif"]=this.o.a.offsetWidth;this.A=q();la(this)};
23
+ function ma(a,b,c){for(var d in S)if(S.hasOwnProperty(d)&&b===a.f[S[d]]&&c===a.f[S[d]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,c=a.h.a.offsetWidth,d;(d=b===a.f.serif&&c===a.f["sans-serif"])||(d=U()&&ma(a,b,c));d?q()-a.A>=a.w?U()&&ma(a,b,c)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,c){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=c}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c("wf",a.c,K(a).toString(),"active")],[b.a.c("wf",a.c,K(a).toString(),"loading"),b.a.c("wf",a.c,K(a).toString(),"inactive")]);L(b,"fontactive",a);this.o=!0;oa(this)};
24
+ W.prototype.h=function(a){var b=this.a;if(b.g){var c=y(b.f,b.a.c("wf",a.c,K(a).toString(),"active")),d=[],e=[b.a.c("wf",a.c,K(a).toString(),"loading")];c||d.push(b.a.c("wf",a.c,K(a).toString(),"inactive"));w(b.f,d,e)}L(b,"fontinactive",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),L(a,"active")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};
25
+ function ra(a,b,c,d,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=d||null||{};if(0===c.length&&f)M(b.a);else{b.f+=c.length;f&&(b.j=f);var h,m=[];for(h=0;h<c.length;h++){var l=c[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c("wf",x.c,K(x).toString(),"loading")]);L(r,"fontloading",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,
26
+ n);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,c){var d=[],e=c.timeout;ia(b);var d=ka(a.a,c,a.c),f=new W(a.c,b,e);a.h=d.length;b=0;for(c=d.length;b<c;b++)d[b].load(function(b,d,c){ra(a,f,b,d,c)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,c){var d=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return d+"//"+a+"/"+b+".js"+(c?"?v="+c:"")}
27
+ sa.prototype.load=function(a){function b(){if(f["__mti_fntLst"+d]){var c=f["__mti_fntLst"+d](),e=[],h;if(c)for(var m=0;m<c.length;m++){var l=c[m].fontfamily;void 0!=c[m].fontStyle&&void 0!=c[m].fontWeight?(h=c[m].fontStyle+c[m].fontWeight,e.push(new H(l,h))):e.push(new H(l))}a(e)}else setTimeout(function(){b()},50)}var c=this,d=c.a.projectId,e=c.a.version;if(d){var f=c.c.m;B(this.c,ta(c,d,e),function(e){e?a([]):(f["__MonotypeConfiguration__"+d]=function(){return c.a},b())}).id="__MonotypeAPIScript__"+
28
+ d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,c,d=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(c=d.length;b<c;b++)A(this.c,d[b],D(g));var k=[];b=0;for(c=e.length;b<c;b++)if(d=e[b].split(":"),d[1])for(var h=d[1].split(","),m=0;m<h.length;m+=1)k.push(new H(d[0],h[m]));else k.push(new H(d[0]));F(g,function(){a(k,f)})};function va(a,b,c){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=c||""}var wa="//fonts.googleapis.com/css";function xa(a,b){for(var c=b.length,d=0;d<c;d++){var e=b[d].split(":");3==e.length&&a.f.push(e.pop());var f="";2==e.length&&""!=e[1]&&(f=":");a.a.push(e.join(f))}}
29
+ function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=a.c.indexOf("kit="))return a.c;for(var b=a.a.length,c=[],d=0;d<b;d++)c.push(a.a[d].replace(/ /g,"+"));b=a.c+"?family="+c.join("%7C");0<a.f.length&&(b+="&subset="+a.f.join(","));0<a.g.length&&(b+="&text="+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}
30
+ var Aa={latin:"BESbswy","latin-ext":"\u00e7\u00f6\u00fc\u011f\u015f",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},
31
+ Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
32
+ function Ea(a){for(var b=a.f.length,c=0;c<b;c++){var d=a.f[c].split(":"),e=d[0].replace(/\+/g," "),f=["n4"];if(2<=d.length){var g;var k=d[1];g=[];if(k)for(var k=k.split(","),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l="";else{l=n[2];l=null==l||""==l?"n":Ca[l];n=n[1];if(null==n||""==n)n="4";else var r=Ba[n],n=r?r:isNaN(n)?"4":n.substr(0,1);l=[l,n].join("")}}else l="";l&&g.push(l)}0<g.length&&(f=g);3==d.length&&(d=d[2],g=[],d=d?d.split(","):
33
+ g,0<d.length&&(d=Aa[d[0]])&&(a.c[e]=d))}a.c[e]||(d=Aa[e])&&(a.c[e]=d);for(d=0;d<f.length;d+=1)a.a.push(new H(e,f[d]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,c=this.c,d=new va(this.a.api,z(c),this.a.text),e=this.a.families;xa(d,e);var f=new za(e);Ea(f);A(c,ya(d),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,c=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(c.Typekit&&c.Typekit.config&&c.Typekit.config.fn){b=c.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{c.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,c=this.c.m,d=this;b?(c.__webfontfontdeckmodule__||(c.__webfontfontdeckmodule__={}),c.__webfontfontdeckmodule__[b]=function(b,c){for(var g=0,k=c.fonts.length;g<k;++g){var h=c.fonts[g];d.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(d.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());
 
 
 
 
 
 
 
 
 
 
 
 
app/console/log.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Usage (UNIX):
5
- * - php app/console/log.php - Print full log file
6
- * - php app/console/log.php | grep %level|time|word% - Print only messages with the specified level (time, word, etc)
7
- */
8
-
9
- if (PHP_SAPI !== 'cli') {
10
- die ('Execute current script only from command-line');
11
- }
12
-
13
- define('LOGPATH', realpath(__DIR__ . '/../../../../uploads/grid-gallery/log'));
14
-
15
- if (is_file($file = LOGPATH . '/' . date('Y-m-d') . '.log')) {
16
-
17
- echo file_get_contents($file);
18
-
19
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Plugin Name: Photo Gallery by Supsystic
5
  * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
6
- * Version: 1.15.5
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: grid-gallery
@@ -11,5 +11,9 @@
11
 
12
  require_once dirname(__FILE__) . '/app/SupsysticGallery.php';
13
 
14
- $supsysticGallery = new SupsysticGallery('1.15.5');
15
- $supsysticGallery->run();
 
 
 
 
3
  /**
4
  * Plugin Name: Photo Gallery by Supsystic
5
  * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
6
+ * Version: 1.15.7
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: grid-gallery
11
 
12
  require_once dirname(__FILE__) . '/app/SupsysticGallery.php';
13
 
14
+ if (!defined('SG_PLUGIN_URL')) {
15
+ define('SG_PLUGIN_URL', plugin_dir_url( __FILE__ ));
16
+ }
17
+
18
+ $supsysticGallery = new SupsysticGallery('1.15.7');
19
+ $supsysticGallery->run();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: supsystic.com
3
  Donate link: https://supsystic.com/plugins/gallery
4
  Tags: gallery, wordpress gallery plugin, photo gallery, grid gallery, image gallery, video gallery, responsive gallery, polaroid gallery
5
  Tested up to: 6.0
6
- Stable tag: 1.15.5
7
 
8
  Photo Gallery with template editor to build amazing media gallery. Responsive mobile gallery with grid, masonry, carousel, polaroid and more gallery
9
 
@@ -176,6 +176,13 @@ Add watermark on each image in your gallery and you protect your photos from the
176
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
177
 
178
  == Changelog ==
 
 
 
 
 
 
 
179
  = Gallery 1.15.5 / 01.06.2022 =
180
  * Add fixes to saving link
181
  * Fixes for LazyLoad
3
  Donate link: https://supsystic.com/plugins/gallery
4
  Tags: gallery, wordpress gallery plugin, photo gallery, grid gallery, image gallery, video gallery, responsive gallery, polaroid gallery
5
  Tested up to: 6.0
6
+ Stable tag: 1.15.7
7
 
8
  Photo Gallery with template editor to build amazing media gallery. Responsive mobile gallery with grid, masonry, carousel, polaroid and more gallery
9
 
176
  14. Photo gallery plugin admin area. Captions and Icons tab. Create impressive gallery with icons and fantastic caption effect.
177
 
178
  == Changelog ==
179
+ = Gallery 1.15.7 / 27.06.2022 =
180
+ * Fixes for WP review Team
181
+
182
+ = Gallery 1.15.6 / 17.06.2022 =
183
+ * Fixes for Controller
184
+ * Fixes for WP
185
+
186
  = Gallery 1.15.5 / 01.06.2022 =
187
  * Add fixes to saving link
188
  * Fixes for LazyLoad
src/GridGallery/Core/views/form.twig CHANGED
@@ -20,7 +20,7 @@
20
 
21
  {% macro row(label, element, id, titleRow, row_id) %}
22
  {% import _self as form %}
23
-
24
  {% if row_id is not empty %}
25
  <tr id="{{ row_id }}">
26
  {% else %}
@@ -38,7 +38,7 @@
38
  {{ form.show_tooltip(id) }}
39
  </h3>
40
  {% else %}
41
- <label {% if id is not empty %}id="label-{{ id }}" for="{{ id }}"{% endif %}>
42
  {{ label }}
43
  {{ form.show_tooltip(id) }}
44
  </label>
@@ -56,7 +56,7 @@
56
 
57
  {% macro rowpro(label, link, id, element, titleRow, notAddBr) %}
58
  {% import _self as form %}
59
-
60
  <tr>
61
  <th scope="row">
62
  {% if titleRow is not empty %}
@@ -196,4 +196,4 @@
196
 
197
  {% macro icon(name, size, id) %}
198
  <i class="fa {{name}} mp-icon-preview" style="font-size:{{size}}px;" id="{{id}}"></i>
199
- {% endmacro %}
20
 
21
  {% macro row(label, element, id, titleRow, row_id) %}
22
  {% import _self as form %}
23
+
24
  {% if row_id is not empty %}
25
  <tr id="{{ row_id }}">
26
  {% else %}
38
  {{ form.show_tooltip(id) }}
39
  </h3>
40
  {% else %}
41
+ <label {{ ' ' }} {% if id is not empty %}id="label-{{ id }}" for="{{ id }}"{% endif %}>
42
  {{ label }}
43
  {{ form.show_tooltip(id) }}
44
  </label>
56
 
57
  {% macro rowpro(label, link, id, element, titleRow, notAddBr) %}
58
  {% import _self as form %}
59
+
60
  <tr>
61
  <th scope="row">
62
  {% if titleRow is not empty %}
196
 
197
  {% macro icon(name, size, id) %}
198
  <i class="fa {{name}} mp-icon-preview" style="font-size:{{size}}px;" id="{{id}}"></i>
199
+ {% endmacro %}
src/GridGallery/Featuredplugins/Controller.php CHANGED
@@ -13,32 +13,29 @@ class GridGallery_Featuredplugins_Controller extends GridGallery_Core_BaseContro
13
  */
14
  public function indexAction(Rsc_Http_Request $request)
15
  {
16
- //framePps::_()->getModule('templates')->loadBootstrapSimple();
17
- //framePps::_()->addStyle('admin.featured-plugins', $this->getModule()->getModPath(). 'css/admin.featured-plugins.css');
18
- //framePps::_()->getModule('templates')->loadGoogleFont('Montserrat');
19
  $environment = $this->getEnvironment();
20
 
21
-
22
  $siteUrl = 'https://supsystic.com/';
23
- $pluginsUrl = $siteUrl. 'plugins/';
24
- $uploadsUrl = $siteUrl. 'wp-content/uploads/';
25
  $downloadsUrl = 'https://downloads.wordpress.org/plugin/';
26
  $promoCampaign = 'gallery';
27
- $pluginsList = array(
28
- array('label' => $environment->translate('Popup Plugin'), 'url' => $pluginsUrl. 'popup-plugin/', 'img' => $uploadsUrl. '2016/07/Popup_256.png', 'desc' => $environment->translate('The Best WordPress PopUp option plugin to help you gain more subscribers, social followers or advertisement. Responsive pop-ups with friendly options.'), 'download' => $downloadsUrl. 'popup-by-supsystic.zip'),
29
- array('label' => $environment->translate('Slider Plugin'), 'url' => $pluginsUrl. 'slider/', 'img' => $uploadsUrl. '2016/07/Slider_256.png', 'desc' => $environment->translate('Creating slideshows with Slider plugin is fast and easy. Simply select images from your WordPress Media Library, Flickr, Instagram or Facebook, set slide captions, links and SEO fields all from one page.'), 'download' => $downloadsUrl. 'slider-by-supsystic.zip'),
30
- array('label' => $environment->translate('Photo Gallery Plugin'), 'url' => $pluginsUrl. 'photo-gallery/', 'img' => $uploadsUrl. '2016/07/Gallery_256.png', 'desc' => $environment->translate('Photo Gallery Plugin with a great number of layouts will help you to create quality respectable portfolios and image galleries.'), 'download' => $downloadsUrl. 'gallery-by-supsystic.zip'),
31
- array('label' => $environment->translate('Data Tables Generator'), 'url' => $pluginsUrl. 'data-tables-generator-plugin/', 'img' => $uploadsUrl. '2016/07/Data_Tables_256.png', 'desc' => $environment->translate('Create and manage beautiful data tables with custom design. No HTML knowledge is required.'), 'download' => $downloadsUrl. 'data-tables-generator-by-supsystic.zip'),
32
- array('label' => $environment->translate('Social Share Buttons'), 'url' => $pluginsUrl. 'social-share-plugin/', 'img' => $uploadsUrl. '2016/07/Social_Buttons_256.png', 'desc' => $environment->translate('Social share buttons to increase social traffic and popularity. Social sharing to Facebook, Twitter and other social networks.'), 'download' => $downloadsUrl. 'social-share-buttons-by-supsystic.zip'),
33
- array('label' => $environment->translate('Live Chat Plugin'), 'url' => $pluginsUrl. 'live-chat/', 'img' => $uploadsUrl. '2016/07/Live_Chat_256.png', 'desc' => $environment->translate('Be closer to your visitors and customers with Live Chat Support by Supsystic. Help you visitors, support them in real-time with exceptional Live Chat WordPress plugin by Supsystic.'), 'download' => $downloadsUrl. 'live-chat-by-supsystic.zip'),
34
- array('label' => $environment->translate('Pricing Table'), 'url' => $pluginsUrl. 'pricing-table/', 'img' => $uploadsUrl. '2016/07/Pricing_Table_256.png', 'desc' => $environment->translate('It’s never been so easy to create and manage pricing and comparison tables with table builder. Any element of the table can be customise with mouse click.'), 'download' => $downloadsUrl. 'pricing-table-by-supsystic.zip'),
35
- array('label' => $environment->translate('Coming Soon Plugin'), 'url' => $pluginsUrl. 'coming-soon-plugin/', 'img' => $uploadsUrl. '2016/07/Coming_Soon_256.png', 'desc' => $environment->translate('Coming soon page with drag-and-drop builder or under construction | maintenance mode to notify visitors and collects emails.'), 'download' => $downloadsUrl. 'coming-soon-by-supsystic.zip'),
36
- array('label' => $environment->translate('Backup Plugin'), 'url' => $pluginsUrl. 'backup-plugin/', 'img' => $uploadsUrl. '2016/07/Backup_256.png', 'desc' => $environment->translate('Backup and Restore WordPress Plugin by Supsystic provides quick and unhitched DropBox, FTP, Amazon S3, Google Drive backup for your WordPress website.'), 'download' => $downloadsUrl. 'backup-by-supsystic.zip'),
37
- array('label' => $environment->translate('Google Maps Easy'), 'url' => $pluginsUrl. 'google-maps-plugin/', 'img' => $uploadsUrl. '2016/07/Google_Maps_256.png', 'desc' => $environment->translate('Display custom Google Maps. Set markers and locations with text, images, categories and links. Customize google map in a simple and intuitive way.'), 'download' => $downloadsUrl. 'google-maps-easy.zip'),
38
- array('label' => $environment->translate('Digital Publication Plugin'), 'url' => $pluginsUrl. 'digital-publication-plugin/', 'img' => $uploadsUrl. '2016/07/Digital_Publication_256.png', 'desc' => $environment->translate('Digital Publication WordPress Plugin by Supsystic for Magazines, Catalogs, Portfolios. Convert images, posts, PDF to the page flip book.'), 'download' => $downloadsUrl. 'digital-publications-by-supsystic.zip'),
39
- array('label' => $environment->translate('Contact Form Plugin'), 'url' => $pluginsUrl. 'contact-form-plugin/', 'img' => $uploadsUrl. '2016/07/Contact_Form_256.png', 'desc' => $environment->translate('One of the best plugin for creating Contact Forms on your WordPress site. Changeable fonts, backgrounds, an option for adding fields etc.'), 'download' => $downloadsUrl. 'contact-form-by-supsystic.zip'),
40
- array('label' => $environment->translate('Newsletter Plugin'), 'url' => $pluginsUrl. 'newsletter-plugin/', 'img' => $uploadsUrl. '2016/08/icon-256x256.png', 'desc' => $environment->translate('Supsystic Newsletter plugin for automatic mailing of your letters. You will have no need to control it or send them manually. No coding, hard skills or long hours of customizing are required.'), 'download' => $downloadsUrl. 'newsletter-by-supsystic.zip'),
41
- array('label' => $environment->translate('Membership by Supsystic'), 'url' => $pluginsUrl. 'membership-plugin/', 'img' => $uploadsUrl. '2016/09/256.png', 'desc' => $environment->translate('Create online membership community with custom user profiles, roles, FrontEnd registration and login. Members Directory, activity, groups, messages.'), 'download' => $downloadsUrl. 'membership-by-supsystic.zip'),
42
  array('label' => $environment->translate('Kinsta Hosting'), 'url' => 'https://kinsta.com?kaid=MNRQQASUYJRT', 'external' => true, 'img' => $this->getEnvironment()->getModule('core')->getPluginDirectoryUrl('app/assets/img/kinsta_banner.png'), 'desc' => $environment->translate('If you want to host a business site or a blog, Kinsta managed WordPress hosting is the best place to stop on. Without any hesitation, we can say Kinsta is incredible when it comes to uptime and speed.')),
43
  );
44
  foreach($pluginsList as $i => $p) {
@@ -51,8 +48,8 @@ class GridGallery_Featuredplugins_Controller extends GridGallery_Core_BaseContro
51
  '@featuredplugins/index.twig',
52
  array(
53
  'pluginsList' => $pluginsList,
54
- 'bundleUrl' => $siteUrl. 'product/plugins-bundle/'. '?utm_source=plugin&utm_medium=featured_plugins&utm_campaign='. $promoCampaign,
55
  )
56
  );
57
  }
58
- }
13
  */
14
  public function indexAction(Rsc_Http_Request $request)
15
  {
 
 
 
16
  $environment = $this->getEnvironment();
17
 
18
+
19
  $siteUrl = 'https://supsystic.com/';
20
+ $pluginsUrl = 'https://supsystic.com/plugins/';
21
+ $uploadsUrl = SG_PLUGIN_URL.'src/GridGallery/Featuredplugins/assets/img/';
22
  $downloadsUrl = 'https://downloads.wordpress.org/plugin/';
23
  $promoCampaign = 'gallery';
24
+ $pluginsList = array(
25
+ array('label' => $environment->translate('Popup Plugin'), 'url' => $pluginsUrl. 'popup-plugin/', 'img' => $uploadsUrl. 'Popup_256.png', 'desc' => $environment->translate('The Best WordPress PopUp option plugin to help you gain more subscribers, social followers or advertisement. Responsive pop-ups with friendly options.'), 'download' => $downloadsUrl. 'popup-by-supsystic.zip'),
26
+ array('label' => $environment->translate('Slider Plugin'), 'url' => $pluginsUrl. 'slider/', 'img' => $uploadsUrl. 'Slider_256.png', 'desc' => $environment->translate('Creating slideshows with Slider plugin is fast and easy. Simply select images from your WordPress Media Library, Flickr, Instagram or Facebook, set slide captions, links and SEO fields all from one page.'), 'download' => $downloadsUrl. 'slider-by-supsystic.zip'),
27
+ array('label' => $environment->translate('Photo Gallery Plugin'), 'url' => $pluginsUrl. 'photo-gallery/', 'img' => $uploadsUrl. 'Gallery_256.png', 'desc' => $environment->translate('Photo Gallery Plugin with a great number of layouts will help you to create quality respectable portfolios and image galleries.'), 'download' => $downloadsUrl. 'gallery-by-supsystic.zip'),
28
+ array('label' => $environment->translate('Data Tables Generator'), 'url' => $pluginsUrl. 'data-tables-generator-plugin/', 'img' => $uploadsUrl. 'Data_Tables_256.png', 'desc' => $environment->translate('Create and manage beautiful data tables with custom design. No HTML knowledge is required.'), 'download' => $downloadsUrl. 'data-tables-generator-by-supsystic.zip'),
29
+ array('label' => $environment->translate('Social Share Buttons'), 'url' => $pluginsUrl. 'social-share-plugin/', 'img' => $uploadsUrl. 'Social_Buttons_256.png', 'desc' => $environment->translate('Social share buttons to increase social traffic and popularity. Social sharing to Facebook, Twitter and other social networks.'), 'download' => $downloadsUrl. 'social-share-buttons-by-supsystic.zip'),
30
+ array('label' => $environment->translate('Live Chat Plugin'), 'url' => $pluginsUrl. 'live-chat/', 'img' => $uploadsUrl. 'Live_Chat_256.png', 'desc' => $environment->translate('Be closer to your visitors and customers with Live Chat Support by Supsystic. Help you visitors, support them in real-time with exceptional Live Chat WordPress plugin by Supsystic.'), 'download' => $downloadsUrl. 'live-chat-by-supsystic.zip'),
31
+ array('label' => $environment->translate('Pricing Table'), 'url' => $pluginsUrl. 'pricing-table/', 'img' => $uploadsUrl. 'Pricing_Table_256.png', 'desc' => $environment->translate('It’s never been so easy to create and manage pricing and comparison tables with table builder. Any element of the table can be customise with mouse click.'), 'download' => $downloadsUrl. 'pricing-table-by-supsystic.zip'),
32
+ array('label' => $environment->translate('Coming Soon Plugin'), 'url' => $pluginsUrl. 'coming-soon-plugin/', 'img' => $uploadsUrl. 'Coming_Soon_256.png', 'desc' => $environment->translate('Coming soon page with drag-and-drop builder or under construction | maintenance mode to notify visitors and collects emails.'), 'download' => $downloadsUrl. 'coming-soon-by-supsystic.zip'),
33
+ array('label' => $environment->translate('Backup Plugin'), 'url' => $pluginsUrl. 'backup-plugin/', 'img' => $uploadsUrl. 'Backup_256.png', 'desc' => $environment->translate('Backup and Restore WordPress Plugin by Supsystic provides quick and unhitched DropBox, FTP, Amazon S3, Google Drive backup for your WordPress website.'), 'download' => $downloadsUrl. 'backup-by-supsystic.zip'),
34
+ array('label' => $environment->translate('Google Maps Easy'), 'url' => $pluginsUrl. 'google-maps-plugin/', 'img' => $uploadsUrl. 'Google_Maps_256.png', 'desc' => $environment->translate('Display custom Google Maps. Set markers and locations with text, images, categories and links. Customize google map in a simple and intuitive way.'), 'download' => $downloadsUrl. 'google-maps-easy.zip'),
35
+ array('label' => $environment->translate('Digital Publication Plugin'), 'url' => $pluginsUrl. 'digital-publication-plugin/', 'img' => $uploadsUrl. 'Digital_Publication_256.png', 'desc' => $environment->translate('Digital Publication WordPress Plugin by Supsystic for Magazines, Catalogs, Portfolios. Convert images, posts, PDF to the page flip book.'), 'download' => $downloadsUrl. 'digital-publications-by-supsystic.zip'),
36
+ array('label' => $environment->translate('Contact Form Plugin'), 'url' => $pluginsUrl. 'contact-form-plugin/', 'img' => $uploadsUrl. 'Contact_Form_256.png', 'desc' => $environment->translate('One of the best plugin for creating Contact Forms on your WordPress site. Changeable fonts, backgrounds, an option for adding fields etc.'), 'download' => $downloadsUrl. 'contact-form-by-supsystic.zip'),
37
+ array('label' => $environment->translate('Newsletter Plugin'), 'url' => $pluginsUrl. 'newsletter-plugin/', 'img' => $uploadsUrl. 'icon-256x256.png', 'desc' => $environment->translate('Supsystic Newsletter plugin for automatic mailing of your letters. You will have no need to control it or send them manually. No coding, hard skills or long hours of customizing are required.'), 'download' => $downloadsUrl. 'newsletter-by-supsystic.zip'),
38
+ array('label' => $environment->translate('Membership by Supsystic'), 'url' => $pluginsUrl. 'membership-plugin/', 'img' => $uploadsUrl. '256.png', 'desc' => $environment->translate('Create online membership community with custom user profiles, roles, FrontEnd registration and login. Members Directory, activity, groups, messages.'), 'download' => $downloadsUrl. 'membership-by-supsystic.zip'),
39
  array('label' => $environment->translate('Kinsta Hosting'), 'url' => 'https://kinsta.com?kaid=MNRQQASUYJRT', 'external' => true, 'img' => $this->getEnvironment()->getModule('core')->getPluginDirectoryUrl('app/assets/img/kinsta_banner.png'), 'desc' => $environment->translate('If you want to host a business site or a blog, Kinsta managed WordPress hosting is the best place to stop on. Without any hesitation, we can say Kinsta is incredible when it comes to uptime and speed.')),
40
  );
41
  foreach($pluginsList as $i => $p) {
48
  '@featuredplugins/index.twig',
49
  array(
50
  'pluginsList' => $pluginsList,
51
+ 'bundleUrl' => 'https://supsystic.com/product/plugins-bundle/'. '?utm_source=plugin&utm_medium=featured_plugins&utm_campaign='. $promoCampaign,
52
  )
53
  );
54
  }
55
+ }
src/GridGallery/Featuredplugins/Module.php CHANGED
@@ -20,7 +20,6 @@ class GridGallery_Featuredplugins_Module extends Rsc_Mvc_Module
20
  $this, 'loadAssets'
21
  ));
22
  }
23
-
24
  /**
25
  * Loads the assets required by the module
26
  */
@@ -29,7 +28,7 @@ class GridGallery_Featuredplugins_Module extends Rsc_Mvc_Module
29
  if($this->getEnvironment()->isModule('featuredplugins')) {
30
  $ui->asset->enqueue('styles',
31
  array(
32
- $this->getLocationUrl() . '/assets/css/bootstrap-simple.css'
33
  )
34
  );
35
  $ui->asset->enqueue('styles',
@@ -59,4 +58,4 @@ class GridGallery_Featuredplugins_Module extends Rsc_Mvc_Module
59
 
60
  $menu->addSubmenuItem('featuredplugins', $submenu);
61
  }
62
- }
20
  $this, 'loadAssets'
21
  ));
22
  }
 
23
  /**
24
  * Loads the assets required by the module
25
  */
28
  if($this->getEnvironment()->isModule('featuredplugins')) {
29
  $ui->asset->enqueue('styles',
30
  array(
31
+ $this->getLocationUrl() . '/assets/css/libraries/supsystic/suptablesui.min.css'
32
  )
33
  );
34
  $ui->asset->enqueue('styles',
58
 
59
  $menu->addSubmenuItem('featuredplugins', $submenu);
60
  }
61
+ }
src/GridGallery/Featuredplugins/assets/css/bootstrap-simple.css DELETED
@@ -1,1108 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.6 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
- /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
7
- html {
8
- font-family: sans-serif;
9
- -webkit-text-size-adjust: 100%;
10
- -ms-text-size-adjust: 100%;
11
- }
12
- body {
13
- margin: 0;
14
- }
15
- article,
16
- aside,
17
- details,
18
- figcaption,
19
- figure,
20
- footer,
21
- header,
22
- hgroup,
23
- main,
24
- menu,
25
- nav,
26
- section,
27
- summary {
28
- display: block;
29
- }
30
- audio,
31
- canvas,
32
- progress,
33
- video {
34
- display: inline-block;
35
- vertical-align: baseline;
36
- }
37
- audio:not([controls]) {
38
- display: none;
39
- height: 0;
40
- }
41
- [hidden],
42
- template {
43
- display: none;
44
- }
45
- a {
46
- background-color: transparent;
47
- }
48
- abbr[title] {
49
- border-bottom: 1px dotted;
50
- }
51
- b,
52
- strong {
53
- font-weight: bold;
54
- }
55
- dfn {
56
- font-style: italic;
57
- }
58
- h1 {
59
- margin: .67em 0;
60
- font-size: 2em;
61
- }
62
- mark {
63
- color: #000;
64
- background: #ff0;
65
- }
66
- small {
67
- font-size: 80%;
68
- }
69
- sub,
70
- sup {
71
- position: relative;
72
- font-size: 75%;
73
- line-height: 0;
74
- vertical-align: baseline;
75
- }
76
- sup {
77
- top: -.5em;
78
- }
79
- sub {
80
- bottom: -.25em;
81
- }
82
- img {
83
- border: 0;
84
- }
85
- svg:not(:root) {
86
- overflow: hidden;
87
- }
88
- figure {
89
- margin: 1em 40px;
90
- }
91
- hr {
92
- height: 0;
93
- -webkit-box-sizing: content-box;
94
- -moz-box-sizing: content-box;
95
- box-sizing: content-box;
96
- }
97
- pre {
98
- overflow: auto;
99
- }
100
- code,
101
- kbd,
102
- pre,
103
- samp {
104
- font-family: monospace, monospace;
105
- font-size: 1em;
106
- }
107
- button,
108
- input,
109
- optgroup,
110
- select,
111
- textarea {
112
- margin: 0;
113
- font: inherit;
114
- color: inherit;
115
- }
116
- button {
117
- overflow: visible;
118
- }
119
- button,
120
- select {
121
- text-transform: none;
122
- }
123
- button,
124
- html input[type="button"],
125
- input[type="reset"],
126
- input[type="submit"] {
127
- -webkit-appearance: button;
128
- cursor: pointer;
129
- }
130
- button[disabled],
131
- html input[disabled] {
132
- cursor: default;
133
- }
134
- input {
135
- line-height: normal;
136
- }
137
- input[type="checkbox"],
138
- input[type="radio"] {
139
- -webkit-box-sizing: border-box;
140
- -moz-box-sizing: border-box;
141
- box-sizing: border-box;
142
- padding: 0;
143
- }
144
- input[type="search"] {
145
- -webkit-box-sizing: content-box;
146
- -moz-box-sizing: content-box;
147
- box-sizing: content-box;
148
- -webkit-appearance: textfield;
149
- }
150
- fieldset {
151
- padding: .35em .625em .75em;
152
- margin: 0 2px;
153
- border: 1px solid #c0c0c0;
154
- }
155
- legend {
156
- padding: 0;
157
- border: 0;
158
- }
159
- textarea {
160
- overflow: auto;
161
- }
162
- optgroup {
163
- font-weight: bold;
164
- }
165
- table {
166
- border-spacing: 0;
167
- border-collapse: collapse;
168
- }
169
- td,
170
- th {
171
- padding: 0;
172
- }
173
- html {
174
- font-size: 10px;
175
-
176
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
177
- }
178
- body {
179
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
180
- font-size: 14px;
181
- line-height: 1.42857143;
182
- color: #333;
183
- background-color: #fff;
184
- }
185
- input,
186
- button,
187
- select,
188
- textarea {
189
- font-family: inherit;
190
- font-size: inherit;
191
- line-height: inherit;
192
- }
193
- a {
194
- color: #337ab7;
195
- text-decoration: none;
196
- }
197
- a:hover,
198
- a:focus {
199
- color: #23527c;
200
- text-decoration: underline;
201
- }
202
- a:focus {
203
- outline: thin dotted;
204
- outline: 5px auto -webkit-focus-ring-color;
205
- outline-offset: -2px;
206
- }
207
- figure {
208
- margin: 0;
209
- }
210
- img {
211
- vertical-align: middle;
212
- }
213
- .img-responsive,
214
- .thumbnail > img,
215
- .thumbnail a > img,
216
- .carousel-inner > .item > img,
217
- .carousel-inner > .item > a > img {
218
- display: block;
219
- max-width: 100%;
220
- height: auto;
221
- }
222
- .img-rounded {
223
- border-radius: 6px;
224
- }
225
- .img-thumbnail {
226
- display: inline-block;
227
- max-width: 100%;
228
- height: auto;
229
- padding: 4px;
230
- line-height: 1.42857143;
231
- background-color: #fff;
232
- border: 1px solid #ddd;
233
- border-radius: 4px;
234
- -webkit-transition: all .2s ease-in-out;
235
- -o-transition: all .2s ease-in-out;
236
- transition: all .2s ease-in-out;
237
- }
238
- hr {
239
- margin-top: 20px;
240
- margin-bottom: 20px;
241
- border: 0;
242
- border-top: 1px solid #eee;
243
- }
244
- h1,
245
- h2,
246
- h3,
247
- h4,
248
- h5,
249
- h6,
250
- .h1,
251
- .h2,
252
- .h3,
253
- .h4,
254
- .h5,
255
- .h6 {
256
- font-family: inherit;
257
- font-weight: 500;
258
- line-height: 1.1;
259
- color: inherit;
260
- }
261
- h1 small,
262
- h2 small,
263
- h3 small,
264
- h4 small,
265
- h5 small,
266
- h6 small,
267
- .h1 small,
268
- .h2 small,
269
- .h3 small,
270
- .h4 small,
271
- .h5 small,
272
- .h6 small,
273
- h1 .small,
274
- h2 .small,
275
- h3 .small,
276
- h4 .small,
277
- h5 .small,
278
- h6 .small,
279
- .h1 .small,
280
- .h2 .small,
281
- .h3 .small,
282
- .h4 .small,
283
- .h5 .small,
284
- .h6 .small {
285
- font-weight: normal;
286
- line-height: 1;
287
- color: #777;
288
- }
289
- h1,
290
- .h1,
291
- h2,
292
- .h2,
293
- h3,
294
- .h3 {
295
- margin-top: 20px;
296
- margin-bottom: 10px;
297
- }
298
- h1 small,
299
- .h1 small,
300
- h2 small,
301
- .h2 small,
302
- h3 small,
303
- .h3 small,
304
- h1 .small,
305
- .h1 .small,
306
- h2 .small,
307
- .h2 .small,
308
- h3 .small,
309
- .h3 .small {
310
- font-size: 65%;
311
- }
312
- h4,
313
- .h4,
314
- h5,
315
- .h5,
316
- h6,
317
- .h6 {
318
- margin-top: 10px;
319
- margin-bottom: 10px;
320
- }
321
- h4 small,
322
- .h4 small,
323
- h5 small,
324
- .h5 small,
325
- h6 small,
326
- .h6 small,
327
- h4 .small,
328
- .h4 .small,
329
- h5 .small,
330
- .h5 .small,
331
- h6 .small,
332
- .h6 .small {
333
- font-size: 75%;
334
- }
335
- h1,
336
- .h1 {
337
- font-size: 36px;
338
- }
339
- h2,
340
- .h2 {
341
- font-size: 30px;
342
- }
343
- h3,
344
- .h3 {
345
- font-size: 24px;
346
- }
347
- h4,
348
- .h4 {
349
- font-size: 18px;
350
- }
351
- h5,
352
- .h5 {
353
- font-size: 14px;
354
- }
355
- h6,
356
- .h6 {
357
- font-size: 12px;
358
- }
359
- p {
360
- margin: 0 0 10px;
361
- }
362
- small,
363
- .small {
364
- font-size: 85%;
365
- }
366
- .container {
367
- padding-right: 15px;
368
- padding-left: 15px;
369
- margin-right: auto;
370
- margin-left: auto;
371
- }
372
- @media (min-width: 768px) {
373
- .container {
374
- width: 750px;
375
- }
376
- }
377
- @media (min-width: 992px) {
378
- .container {
379
- width: 970px;
380
- }
381
- }
382
- @media (min-width: 1200px) {
383
- .container {
384
- width: 1170px;
385
- }
386
- }
387
- .container-fluid {
388
- padding-right: 15px;
389
- padding-left: 15px;
390
- margin-right: auto;
391
- margin-left: auto;
392
- }
393
- .row {
394
- margin-right: -15px;
395
- margin-left: -15px;
396
- }
397
- .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
398
- position: relative;
399
- min-height: 1px;
400
- padding-right: 15px;
401
- padding-left: 15px;
402
- }
403
- .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
404
- float: left;
405
- }
406
- .col-xs-12 {
407
- width: 100%;
408
- }
409
- .col-xs-11 {
410
- width: 91.66666667%;
411
- }
412
- .col-xs-10 {
413
- width: 83.33333333%;
414
- }
415
- .col-xs-9 {
416
- width: 75%;
417
- }
418
- .col-xs-8 {
419
- width: 66.66666667%;
420
- }
421
- .col-xs-7 {
422
- width: 58.33333333%;
423
- }
424
- .col-xs-6 {
425
- width: 50%;
426
- }
427
- .col-xs-5 {
428
- width: 41.66666667%;
429
- }
430
- .col-xs-4 {
431
- width: 33.33333333%;
432
- }
433
- .col-xs-3 {
434
- width: 25%;
435
- }
436
- .col-xs-2 {
437
- width: 16.66666667%;
438
- }
439
- .col-xs-1 {
440
- width: 8.33333333%;
441
- }
442
- .col-xs-pull-12 {
443
- right: 100%;
444
- }
445
- .col-xs-pull-11 {
446
- right: 91.66666667%;
447
- }
448
- .col-xs-pull-10 {
449
- right: 83.33333333%;
450
- }
451
- .col-xs-pull-9 {
452
- right: 75%;
453
- }
454
- .col-xs-pull-8 {
455
- right: 66.66666667%;
456
- }
457
- .col-xs-pull-7 {
458
- right: 58.33333333%;
459
- }
460
- .col-xs-pull-6 {
461
- right: 50%;
462
- }
463
- .col-xs-pull-5 {
464
- right: 41.66666667%;
465
- }
466
- .col-xs-pull-4 {
467
- right: 33.33333333%;
468
- }
469
- .col-xs-pull-3 {
470
- right: 25%;
471
- }
472
- .col-xs-pull-2 {
473
- right: 16.66666667%;
474
- }
475
- .col-xs-pull-1 {
476
- right: 8.33333333%;
477
- }
478
- .col-xs-pull-0 {
479
- right: auto;
480
- }
481
- .col-xs-push-12 {
482
- left: 100%;
483
- }
484
- .col-xs-push-11 {
485
- left: 91.66666667%;
486
- }
487
- .col-xs-push-10 {
488
- left: 83.33333333%;
489
- }
490
- .col-xs-push-9 {
491
- left: 75%;
492
- }
493
- .col-xs-push-8 {
494
- left: 66.66666667%;
495
- }
496
- .col-xs-push-7 {
497
- left: 58.33333333%;
498
- }
499
- .col-xs-push-6 {
500
- left: 50%;
501
- }
502
- .col-xs-push-5 {
503
- left: 41.66666667%;
504
- }
505
- .col-xs-push-4 {
506
- left: 33.33333333%;
507
- }
508
- .col-xs-push-3 {
509
- left: 25%;
510
- }
511
- .col-xs-push-2 {
512
- left: 16.66666667%;
513
- }
514
- .col-xs-push-1 {
515
- left: 8.33333333%;
516
- }
517
- .col-xs-push-0 {
518
- left: auto;
519
- }
520
- .col-xs-offset-12 {
521
- margin-left: 100%;
522
- }
523
- .col-xs-offset-11 {
524
- margin-left: 91.66666667%;
525
- }
526
- .col-xs-offset-10 {
527
- margin-left: 83.33333333%;
528
- }
529
- .col-xs-offset-9 {
530
- margin-left: 75%;
531
- }
532
- .col-xs-offset-8 {
533
- margin-left: 66.66666667%;
534
- }
535
- .col-xs-offset-7 {
536
- margin-left: 58.33333333%;
537
- }
538
- .col-xs-offset-6 {
539
- margin-left: 50%;
540
- }
541
- .col-xs-offset-5 {
542
- margin-left: 41.66666667%;
543
- }
544
- .col-xs-offset-4 {
545
- margin-left: 33.33333333%;
546
- }
547
- .col-xs-offset-3 {
548
- margin-left: 25%;
549
- }
550
- .col-xs-offset-2 {
551
- margin-left: 16.66666667%;
552
- }
553
- .col-xs-offset-1 {
554
- margin-left: 8.33333333%;
555
- }
556
- .col-xs-offset-0 {
557
- margin-left: 0;
558
- }
559
- @media (min-width: 768px) {
560
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
561
- float: left;
562
- }
563
- .col-sm-12 {
564
- width: 100%;
565
- }
566
- .col-sm-11 {
567
- width: 91.66666667%;
568
- }
569
- .col-sm-10 {
570
- width: 83.33333333%;
571
- }
572
- .col-sm-9 {
573
- width: 75%;
574
- }
575
- .col-sm-8 {
576
- width: 66.66666667%;
577
- }
578
- .col-sm-7 {
579
- width: 58.33333333%;
580
- }
581
- .col-sm-6 {
582
- width: 50%;
583
- }
584
- .col-sm-5 {
585
- width: 41.66666667%;
586
- }
587
- .col-sm-4 {
588
- width: 33.33333333%;
589
- }
590
- .col-sm-3 {
591
- width: 25%;
592
- }
593
- .col-sm-2 {
594
- width: 16.66666667%;
595
- }
596
- .col-sm-1 {
597
- width: 8.33333333%;
598
- }
599
- .col-sm-pull-12 {
600
- right: 100%;
601
- }
602
- .col-sm-pull-11 {
603
- right: 91.66666667%;
604
- }
605
- .col-sm-pull-10 {
606
- right: 83.33333333%;
607
- }
608
- .col-sm-pull-9 {
609
- right: 75%;
610
- }
611
- .col-sm-pull-8 {
612
- right: 66.66666667%;
613
- }
614
- .col-sm-pull-7 {
615
- right: 58.33333333%;
616
- }
617
- .col-sm-pull-6 {
618
- right: 50%;
619
- }
620
- .col-sm-pull-5 {
621
- right: 41.66666667%;
622
- }
623
- .col-sm-pull-4 {
624
- right: 33.33333333%;
625
- }
626
- .col-sm-pull-3 {
627
- right: 25%;
628
- }
629
- .col-sm-pull-2 {
630
- right: 16.66666667%;
631
- }
632
- .col-sm-pull-1 {
633
- right: 8.33333333%;
634
- }
635
- .col-sm-pull-0 {
636
- right: auto;
637
- }
638
- .col-sm-push-12 {
639
- left: 100%;
640
- }
641
- .col-sm-push-11 {
642
- left: 91.66666667%;
643
- }
644
- .col-sm-push-10 {
645
- left: 83.33333333%;
646
- }
647
- .col-sm-push-9 {
648
- left: 75%;
649
- }
650
- .col-sm-push-8 {
651
- left: 66.66666667%;
652
- }
653
- .col-sm-push-7 {
654
- left: 58.33333333%;
655
- }
656
- .col-sm-push-6 {
657
- left: 50%;
658
- }
659
- .col-sm-push-5 {
660
- left: 41.66666667%;
661
- }
662
- .col-sm-push-4 {
663
- left: 33.33333333%;
664
- }
665
- .col-sm-push-3 {
666
- left: 25%;
667
- }
668
- .col-sm-push-2 {
669
- left: 16.66666667%;
670
- }
671
- .col-sm-push-1 {
672
- left: 8.33333333%;
673
- }
674
- .col-sm-push-0 {
675
- left: auto;
676
- }
677
- .col-sm-offset-12 {
678
- margin-left: 100%;
679
- }
680
- .col-sm-offset-11 {
681
- margin-left: 91.66666667%;
682
- }
683
- .col-sm-offset-10 {
684
- margin-left: 83.33333333%;
685
- }
686
- .col-sm-offset-9 {
687
- margin-left: 75%;
688
- }
689
- .col-sm-offset-8 {
690
- margin-left: 66.66666667%;
691
- }
692
- .col-sm-offset-7 {
693
- margin-left: 58.33333333%;
694
- }
695
- .col-sm-offset-6 {
696
- margin-left: 50%;
697
- }
698
- .col-sm-offset-5 {
699
- margin-left: 41.66666667%;
700
- }
701
- .col-sm-offset-4 {
702
- margin-left: 33.33333333%;
703
- }
704
- .col-sm-offset-3 {
705
- margin-left: 25%;
706
- }
707
- .col-sm-offset-2 {
708
- margin-left: 16.66666667%;
709
- }
710
- .col-sm-offset-1 {
711
- margin-left: 8.33333333%;
712
- }
713
- .col-sm-offset-0 {
714
- margin-left: 0;
715
- }
716
- }
717
- @media (min-width: 992px) {
718
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
719
- float: left;
720
- }
721
- .col-md-12 {
722
- width: 100%;
723
- }
724
- .col-md-11 {
725
- width: 91.66666667%;
726
- }
727
- .col-md-10 {
728
- width: 83.33333333%;
729
- }
730
- .col-md-9 {
731
- width: 75%;
732
- }
733
- .col-md-8 {
734
- width: 66.66666667%;
735
- }
736
- .col-md-7 {
737
- width: 58.33333333%;
738
- }
739
- .col-md-6 {
740
- width: 50%;
741
- }
742
- .col-md-5 {
743
- width: 41.66666667%;
744
- }
745
- .col-md-4 {
746
- width: 33.33333333%;
747
- }
748
- .col-md-3 {
749
- width: 25%;
750
- }
751
- .col-md-2 {
752
- width: 16.66666667%;
753
- }
754
- .col-md-1 {
755
- width: 8.33333333%;
756
- }
757
- .col-md-pull-12 {
758
- right: 100%;
759
- }
760
- .col-md-pull-11 {
761
- right: 91.66666667%;
762
- }
763
- .col-md-pull-10 {
764
- right: 83.33333333%;
765
- }
766
- .col-md-pull-9 {
767
- right: 75%;
768
- }
769
- .col-md-pull-8 {
770
- right: 66.66666667%;
771
- }
772
- .col-md-pull-7 {
773
- right: 58.33333333%;
774
- }
775
- .col-md-pull-6 {
776
- right: 50%;
777
- }
778
- .col-md-pull-5 {
779
- right: 41.66666667%;
780
- }
781
- .col-md-pull-4 {
782
- right: 33.33333333%;
783
- }
784
- .col-md-pull-3 {
785
- right: 25%;
786
- }
787
- .col-md-pull-2 {
788
- right: 16.66666667%;
789
- }
790
- .col-md-pull-1 {
791
- right: 8.33333333%;
792
- }
793
- .col-md-pull-0 {
794
- right: auto;
795
- }
796
- .col-md-push-12 {
797
- left: 100%;
798
- }
799
- .col-md-push-11 {
800
- left: 91.66666667%;
801
- }
802
- .col-md-push-10 {
803
- left: 83.33333333%;
804
- }
805
- .col-md-push-9 {
806
- left: 75%;
807
- }
808
- .col-md-push-8 {
809
- left: 66.66666667%;
810
- }
811
- .col-md-push-7 {
812
- left: 58.33333333%;
813
- }
814
- .col-md-push-6 {
815
- left: 50%;
816
- }
817
- .col-md-push-5 {
818
- left: 41.66666667%;
819
- }
820
- .col-md-push-4 {
821
- left: 33.33333333%;
822
- }
823
- .col-md-push-3 {
824
- left: 25%;
825
- }
826
- .col-md-push-2 {
827
- left: 16.66666667%;
828
- }
829
- .col-md-push-1 {
830
- left: 8.33333333%;
831
- }
832
- .col-md-push-0 {
833
- left: auto;
834
- }
835
- .col-md-offset-12 {
836
- margin-left: 100%;
837
- }
838
- .col-md-offset-11 {
839
- margin-left: 91.66666667%;
840
- }
841
- .col-md-offset-10 {
842
- margin-left: 83.33333333%;
843
- }
844
- .col-md-offset-9 {
845
- margin-left: 75%;
846
- }
847
- .col-md-offset-8 {
848
- margin-left: 66.66666667%;
849
- }
850
- .col-md-offset-7 {
851
- margin-left: 58.33333333%;
852
- }
853
- .col-md-offset-6 {
854
- margin-left: 50%;
855
- }
856
- .col-md-offset-5 {
857
- margin-left: 41.66666667%;
858
- }
859
- .col-md-offset-4 {
860
- margin-left: 33.33333333%;
861
- }
862
- .col-md-offset-3 {
863
- margin-left: 25%;
864
- }
865
- .col-md-offset-2 {
866
- margin-left: 16.66666667%;
867
- }
868
- .col-md-offset-1 {
869
- margin-left: 8.33333333%;
870
- }
871
- .col-md-offset-0 {
872
- margin-left: 0;
873
- }
874
- }
875
- @media (min-width: 1200px) {
876
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
877
- float: left;
878
- }
879
- .col-lg-12 {
880
- width: 100%;
881
- }
882
- .col-lg-11 {
883
- width: 91.66666667%;
884
- }
885
- .col-lg-10 {
886
- width: 83.33333333%;
887
- }
888
- .col-lg-9 {
889
- width: 75%;
890
- }
891
- .col-lg-8 {
892
- width: 66.66666667%;
893
- }
894
- .col-lg-7 {
895
- width: 58.33333333%;
896
- }
897
- .col-lg-6 {
898
- width: 50%;
899
- }
900
- .col-lg-5 {
901
- width: 41.66666667%;
902
- }
903
- .col-lg-4 {
904
- width: 33.33333333%;
905
- }
906
- .col-lg-3 {
907
- width: 25%;
908
- }
909
- .col-lg-2 {
910
- width: 16.66666667%;
911
- }
912
- .col-lg-1 {
913
- width: 8.33333333%;
914
- }
915
- .col-lg-pull-12 {
916
- right: 100%;
917
- }
918
- .col-lg-pull-11 {
919
- right: 91.66666667%;
920
- }
921
- .col-lg-pull-10 {
922
- right: 83.33333333%;
923
- }
924
- .col-lg-pull-9 {
925
- right: 75%;
926
- }
927
- .col-lg-pull-8 {
928
- right: 66.66666667%;
929
- }
930
- .col-lg-pull-7 {
931
- right: 58.33333333%;
932
- }
933
- .col-lg-pull-6 {
934
- right: 50%;
935
- }
936
- .col-lg-pull-5 {
937
- right: 41.66666667%;
938
- }
939
- .col-lg-pull-4 {
940
- right: 33.33333333%;
941
- }
942
- .col-lg-pull-3 {
943
- right: 25%;
944
- }
945
- .col-lg-pull-2 {
946
- right: 16.66666667%;
947
- }
948
- .col-lg-pull-1 {
949
- right: 8.33333333%;
950
- }
951
- .col-lg-pull-0 {
952
- right: auto;
953
- }
954
- .col-lg-push-12 {
955
- left: 100%;
956
- }
957
- .col-lg-push-11 {
958
- left: 91.66666667%;
959
- }
960
- .col-lg-push-10 {
961
- left: 83.33333333%;
962
- }
963
- .col-lg-push-9 {
964
- left: 75%;
965
- }
966
- .col-lg-push-8 {
967
- left: 66.66666667%;
968
- }
969
- .col-lg-push-7 {
970
- left: 58.33333333%;
971
- }
972
- .col-lg-push-6 {
973
- left: 50%;
974
- }
975
- .col-lg-push-5 {
976
- left: 41.66666667%;
977
- }
978
- .col-lg-push-4 {
979
- left: 33.33333333%;
980
- }
981
- .col-lg-push-3 {
982
- left: 25%;
983
- }
984
- .col-lg-push-2 {
985
- left: 16.66666667%;
986
- }
987
- .col-lg-push-1 {
988
- left: 8.33333333%;
989
- }
990
- .col-lg-push-0 {
991
- left: auto;
992
- }
993
- .col-lg-offset-12 {
994
- margin-left: 100%;
995
- }
996
- .col-lg-offset-11 {
997
- margin-left: 91.66666667%;
998
- }
999
- .col-lg-offset-10 {
1000
- margin-left: 83.33333333%;
1001
- }
1002
- .col-lg-offset-9 {
1003
- margin-left: 75%;
1004
- }
1005
- .col-lg-offset-8 {
1006
- margin-left: 66.66666667%;
1007
- }
1008
- .col-lg-offset-7 {
1009
- margin-left: 58.33333333%;
1010
- }
1011
- .col-lg-offset-6 {
1012
- margin-left: 50%;
1013
- }
1014
- .col-lg-offset-5 {
1015
- margin-left: 41.66666667%;
1016
- }
1017
- .col-lg-offset-4 {
1018
- margin-left: 33.33333333%;
1019
- }
1020
- .col-lg-offset-3 {
1021
- margin-left: 25%;
1022
- }
1023
- .col-lg-offset-2 {
1024
- margin-left: 16.66666667%;
1025
- }
1026
- .col-lg-offset-1 {
1027
- margin-left: 8.33333333%;
1028
- }
1029
- .col-lg-offset-0 {
1030
- margin-left: 0;
1031
- }
1032
- }
1033
- table {
1034
- background-color: transparent;
1035
- }
1036
- caption {
1037
- padding-top: 8px;
1038
- padding-bottom: 8px;
1039
- color: #777;
1040
- text-align: left;
1041
- }
1042
- th {
1043
- text-align: left;
1044
- }
1045
- .table {
1046
- width: 100%;
1047
- max-width: 100%;
1048
- margin-bottom: 20px;
1049
- }
1050
- fieldset {
1051
- min-width: 0;
1052
- padding: 0;
1053
- margin: 0;
1054
- border: 0;
1055
- }
1056
- legend {
1057
- display: block;
1058
- width: 100%;
1059
- padding: 0;
1060
- margin-bottom: 20px;
1061
- font-size: 21px;
1062
- line-height: inherit;
1063
- color: #333;
1064
- border: 0;
1065
- border-bottom: 1px solid #e5e5e5;
1066
- }
1067
- label {
1068
- display: inline-block;
1069
- max-width: 100%;
1070
- margin-bottom: 5px;
1071
- font-weight: bold;
1072
- }
1073
- input[type="search"] {
1074
- -webkit-box-sizing: border-box;
1075
- -moz-box-sizing: border-box;
1076
- box-sizing: border-box;
1077
- }
1078
- input[type="radio"],
1079
- input[type="checkbox"] {
1080
- margin: 4px 0 0;
1081
- margin-top: 1px \9;
1082
- line-height: normal;
1083
- }
1084
- input[type="file"] {
1085
- display: block;
1086
- }
1087
- input[type="range"] {
1088
- display: block;
1089
- width: 100%;
1090
- }
1091
- select[multiple],
1092
- select[size] {
1093
- height: auto;
1094
- }
1095
- input[type="file"]:focus,
1096
- input[type="radio"]:focus,
1097
- input[type="checkbox"]:focus {
1098
- outline: thin dotted;
1099
- outline: 5px auto -webkit-focus-ring-color;
1100
- outline-offset: -2px;
1101
- }
1102
- output {
1103
- display: block;
1104
- padding-top: 7px;
1105
- font-size: 14px;
1106
- line-height: 1.42857143;
1107
- color: #555;
1108
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/GridGallery/Featuredplugins/assets/img/256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Backup_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Coming_Soon_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Contact_Form_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Data_Tables_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Digital_Publication_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Gallery_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Google_Maps_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Live_Chat_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Popup_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Pricing_Table_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Slider_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/Social_Buttons_256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/heatmap.jpg ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/icon-256x256.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/kinsta_banner.png ADDED
Binary file
src/GridGallery/Featuredplugins/assets/img/shapes.jpg ADDED
Binary file
src/GridGallery/Featuredplugins/views/index.twig CHANGED
@@ -13,8 +13,8 @@
13
  {% block content %}
14
  <section id="supsystic-featured-plugins">
15
  <div class="supsysticPageBundleContainer container-fluid">
16
- <div class="bundle-text col-md-7 col-xs-12">{{ translate('Get plugins bundle today and save over 80%', PPS_LANG_CODE) }}</div>
17
- <div class="bundle-btn col-md-5 col-xs-12">
18
  <a href="{{ bundleUrl }}" class="btn btn-full btn-revert hvr-shutter-out-horizontal" target="_blank">
19
  {{ translate('Check It out', PPS_LANG_CODE) }}
20
  </a>
@@ -22,7 +22,7 @@
22
  </div>
23
  <hr />
24
  {% for p in pluginsList %}
25
- <div class="catitem col-md-4 col-sm-6 col-xs-12">
26
  <div class="download-product-item">
27
  <div class="dp-thumb text-center">
28
  <a href="{{ p.url }}" target="_blank">
13
  {% block content %}
14
  <section id="supsystic-featured-plugins">
15
  <div class="supsysticPageBundleContainer container-fluid">
16
+ <div class="bundle-text supMd7 supXs12">{{ translate('Get plugins bundle today and save over 80%', PPS_LANG_CODE) }}</div>
17
+ <div class="bundle-btn supMd5 supXs12">
18
  <a href="{{ bundleUrl }}" class="btn btn-full btn-revert hvr-shutter-out-horizontal" target="_blank">
19
  {{ translate('Check It out', PPS_LANG_CODE) }}
20
  </a>
22
  </div>
23
  <hr />
24
  {% for p in pluginsList %}
25
+ <div class="catitem supMd4 supSm6 supXs12">
26
  <div class="download-product-item">
27
  <div class="dp-thumb text-center">
28
  <a href="{{ p.url }}" target="_blank">
src/GridGallery/Galleries/Controller.php CHANGED
@@ -20,6 +20,7 @@ class GridGallery_Galleries_Controller extends GridGallery_Core_BaseController
20
  'chooseAction',
21
  'renameAction',
22
  'deleteAction',
 
23
  'deleteGroupAction',
24
  'deleteResourceAction',
25
  'addImagesAction',
@@ -33,7 +34,7 @@ class GridGallery_Galleries_Controller extends GridGallery_Core_BaseController
33
  'ajaxResizeImageAction',
34
  'saveSortByAction',
35
  'importSettingsAction',
36
- 'cloneAction',
37
  'createDefaultGallerySettingsAction',
38
  'removeDefaultGallerySettingsAction',
39
  );
20
  'chooseAction',
21
  'renameAction',
22
  'deleteAction',
23
+ 'saveSettingsAction',
24
  'deleteGroupAction',
25
  'deleteResourceAction',
26
  'addImagesAction',
34
  'ajaxResizeImageAction',
35
  'saveSortByAction',
36
  'importSettingsAction',
37
+ 'cloneAction',
38
  'createDefaultGallerySettingsAction',
39
  'removeDefaultGallerySettingsAction',
40
  );
src/GridGallery/Galleries/Model/Galleries.php CHANGED
@@ -27,6 +27,698 @@ class GridGallery_Galleries_Model_Galleries extends GridGallery_Core_BaseModel
27
  $this->table = $this->db->prefix . 'gg_galleries';
28
  }
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  /**
31
  * Returns the data of the gallery by the identifier
32
  *
@@ -317,7 +1009,7 @@ class GridGallery_Galleries_Model_Galleries extends GridGallery_Core_BaseModel
317
  {
318
  if (!is_object($gallery)) {
319
  if ($this->debugEnabled) {
320
- wp_die(sprintf('The $gallery variable must be type of object, %s given', gettype($gallery)));
321
  }
322
 
323
  return $gallery;
27
  $this->table = $this->db->prefix . 'gg_galleries';
28
  }
29
 
30
+ public function sanitize_array( &$array ) {
31
+ foreach ($array as $key => &$value) {
32
+ if( !is_array($value) ) {
33
+ $value = $this->sanitizeString($value);
34
+ } else {
35
+ self::sanitize_array($value);
36
+ }
37
+ }
38
+ return $array;
39
+ }
40
+
41
+ public function sanitizeString($str) {
42
+ $allowedHtml = $this->getAllowedHtml();
43
+ if (!empty($str) && is_string($str)) {
44
+ $str = htmlspecialchars_decode($str);
45
+ $str = wp_kses($str, $allowedHtml);
46
+ $str = str_replace('"&#039;', "&#39;", $str);
47
+ $str = str_replace('&#039;"', "&#39;", $str);
48
+ $str = html_entity_decode($str);
49
+ //error_log('KSES: '.$str);
50
+ }
51
+ return $str;
52
+ }
53
+
54
+ private function getAllowedHtml() {
55
+ if(empty($this->allowedHtml)) {
56
+ $allowedHtml = wp_kses_allowed_html();
57
+ $newAllowedHtml = array(
58
+ 'li' => array(
59
+ 'style' => 1,
60
+ 'class' => 1,
61
+ 'id' => 1,
62
+ ),
63
+ 'ul' => array(
64
+ 'style' => 1,
65
+ 'class' => 1,
66
+ 'id' => 1,
67
+ ),
68
+ 'ol' => array(
69
+ 'style' => 1,
70
+ 'class' => 1,
71
+ 'id' => 1,
72
+ ),
73
+ 'i' => array(
74
+ 'style' => 1,
75
+ 'class' => 1,
76
+ 'id' => 1,
77
+ ),
78
+ 'img' => array(
79
+ 'src' => 1,
80
+ 'style' => 1,
81
+ 'width' => 1,
82
+ 'height' => 1,
83
+ 'id' => 1,
84
+ 'class' => 1,
85
+ 'alt' => 1,
86
+ 'class' => 1,
87
+ 'alignnone' => 1,
88
+ 'size-full' => 1,
89
+ 'wp-image-3300' => 1,
90
+ ),
91
+ 'video' => array(
92
+ 'src' => 1,
93
+ 'style' => 1,
94
+ 'width' => 1,
95
+ 'height' => 1,
96
+ 'id' => 1,
97
+ 'class' => 1,
98
+ 'poster' => 1,
99
+ 'autoplay' => 1,
100
+ 'controls' => 1,
101
+ 'crossorigin' => 1,
102
+ 'autobuffer' => 1,
103
+ 'buffered' => 1,
104
+ 'played' => 1,
105
+ 'loop' => 1,
106
+ 'muted' => 1,
107
+ 'preload' => 1,
108
+ ),
109
+ 'track' => array(
110
+ 'src' => 1,
111
+ 'kind' => 1,
112
+ 'label' => 1,
113
+ 'srclang' => 1,
114
+ ),
115
+ 'source' => array(
116
+ 'src' => 1,
117
+ 'type' => 1,
118
+ ),
119
+ 'audio' => array(
120
+ 'src' => 1,
121
+ 'style' => 1,
122
+ 'width' => 1,
123
+ 'height' => 1,
124
+ 'id' => 1,
125
+ 'class' => 1,
126
+ 'autoplay' => 1,
127
+ 'controls' => 1,
128
+ 'crossorigin' => 1,
129
+ 'loop' => 1,
130
+ 'muted' => 1,
131
+ 'preload' => 1,
132
+ ),
133
+ 'iframe' => array(
134
+ 'src' => 1,
135
+ 'style' => 1,
136
+ 'width' => 1,
137
+ 'height' => 1,
138
+ 'id' => 1,
139
+ 'class' => 1,
140
+ 'title' => 1,
141
+ 'allow' => 1,
142
+ 'allowfullscreen' => 1,
143
+ 'allowpaymentrequest' => 1,
144
+ 'csp' => 1,
145
+ 'height' => 1,
146
+ 'loading' => 1,
147
+ 'name' => 1,
148
+ 'referrerpolicy' => 1,
149
+ 'sandbox' => 1,
150
+ 'srcdoc' => 1,
151
+ ),
152
+ 'br' => array(),
153
+ 'a' => array(
154
+ 'target' => 1,
155
+ 'href' => 1,
156
+ 'download' => 1,
157
+ 'hreflang' => 1,
158
+ 'media' => 1,
159
+ 'rel' => 1,
160
+ 'type' => 1,
161
+ 'link' => 1,
162
+ 'style' => 1,
163
+ 'class' => 1,
164
+ 'data-quantity' => 1,
165
+ 'data-product_id' => 1,
166
+
167
+ ),
168
+ 'hr' => array(
169
+ 'align' => 1,
170
+ 'style' => 1,
171
+ 'class' => 1,
172
+ 'id' => 1,
173
+ ),
174
+ 'p' => array(
175
+ 'style' => 1,
176
+ 'class' => 1,
177
+ 'id' => 1,
178
+ ),
179
+ 'sup' => array(
180
+ ),
181
+ 'sub' => array(
182
+ ),
183
+ 'button' => array(
184
+ 'autocomplete' => 1,
185
+ 'style' => 1,
186
+ 'class' => 1,
187
+ 'autofocus' => 1,
188
+ 'id' => 1,
189
+ 'utocomplete' => 1,
190
+ 'disabled' => 1,
191
+ 'form' => 1,
192
+ 'formenctype' => 1,
193
+ 'formmethod' => 1,
194
+ 'formnovalidate' => 1,
195
+ 'name' => 1,
196
+ 'formtarget' => 1,
197
+ 'type' => 1,
198
+ 'value' => 1,
199
+ 'onclick' =>1,
200
+ ),
201
+ );
202
+ $allowedDiv = array(
203
+ 'div' => array(
204
+ 'style' => 1,
205
+ 'title' => 1,
206
+ 'align' => 1,
207
+ 'class' => 1,
208
+ 'width' => 1,
209
+ 'height' => 1,
210
+ 'title' => 1,
211
+ 'id' => 1,
212
+
213
+ ) ,
214
+ 'small' => array(
215
+ 'style' => 1,
216
+ 'title' => 1,
217
+ 'align' => 1,
218
+ 'class' => 1,
219
+ 'width' => 1,
220
+ 'height' => 1,
221
+ 'id' => 1,
222
+
223
+ ) ,
224
+ 'span' => array(
225
+ 'style' => 1,
226
+ 'title' => 1,
227
+ 'align' => 1,
228
+ 'class' => 1,
229
+ 'width' => 1,
230
+ 'height' => 1,
231
+ 'id' => 1,
232
+
233
+ ) ,
234
+ 'pre' => array(
235
+ 'style' => 1,
236
+ 'title' => 1,
237
+ 'align' => 1,
238
+ 'class' => 1,
239
+ 'width' => 1,
240
+ 'height' => 1,
241
+ 'id' => 1,
242
+
243
+ ) ,
244
+ 'p' => array(
245
+ 'style' => 1,
246
+ 'title' => 1,
247
+ 'align' => 1,
248
+ 'class' => 1,
249
+ 'width' => 1,
250
+ 'height' => 1,
251
+ 'id' => 1,
252
+
253
+ ) ,
254
+ 'br' => array(
255
+ 'style' => 1,
256
+ 'title' => 1,
257
+ 'align' => 1,
258
+ 'class' => 1,
259
+ 'width' => 1,
260
+ 'height' => 1,
261
+ 'id' => 1,
262
+
263
+ ) ,
264
+ 'hr' => array(
265
+ 'style' => 1,
266
+ 'title' => 1,
267
+ 'align' => 1,
268
+ 'class' => 1,
269
+ 'width' => 1,
270
+ 'height' => 1,
271
+ 'id' => 1,
272
+
273
+ ) ,
274
+ 'hgroup' => array(
275
+ 'style' => 1,
276
+ 'title' => 1,
277
+ 'align' => 1,
278
+ 'class' => 1,
279
+ 'width' => 1,
280
+ 'height' => 1,
281
+ 'id' => 1,
282
+
283
+ ) ,
284
+ 'h1' => array(
285
+ 'style' => 1,
286
+ 'title' => 1,
287
+ 'align' => 1,
288
+ 'class' => 1,
289
+ 'width' => 1,
290
+ 'height' => 1,
291
+ 'id' => 1,
292
+
293
+ ) ,
294
+ 'h2' => array(
295
+ 'style' => 1,
296
+ 'title' => 1,
297
+ 'align' => 1,
298
+ 'class' => 1,
299
+ 'width' => 1,
300
+ 'height' => 1,
301
+ 'id' => 1,
302
+
303
+ ) ,
304
+ 'h3' => array(
305
+ 'style' => 1,
306
+ 'title' => 1,
307
+ 'align' => 1,
308
+ 'class' => 1,
309
+ 'width' => 1,
310
+ 'height' => 1,
311
+ 'id' => 1,
312
+
313
+ ) ,
314
+ 'h4' => array(
315
+ 'style' => 1,
316
+ 'title' => 1,
317
+ 'align' => 1,
318
+ 'class' => 1,
319
+ 'width' => 1,
320
+ 'height' => 1,
321
+ 'id' => 1,
322
+
323
+ ) ,
324
+ 'h5' => array(
325
+ 'style' => 1,
326
+ 'title' => 1,
327
+ 'align' => 1,
328
+ 'class' => 1,
329
+ 'width' => 1,
330
+ 'height' => 1,
331
+ 'id' => 1,
332
+
333
+ ) ,
334
+ 'h6' => array(
335
+ 'style' => 1,
336
+ 'title' => 1,
337
+ 'align' => 1,
338
+ 'class' => 1,
339
+ 'width' => 1,
340
+ 'height' => 1,
341
+ 'id' => 1,
342
+
343
+ ) ,
344
+ 'ul' => array(
345
+ 'style' => 1,
346
+ 'title' => 1,
347
+ 'align' => 1,
348
+ 'class' => 1,
349
+ 'width' => 1,
350
+ 'height' => 1,
351
+ 'id' => 1,
352
+
353
+ ) ,
354
+ 'ol' => array(
355
+ 'style' => 1,
356
+ 'title' => 1,
357
+ 'align' => 1,
358
+ 'class' => 1,
359
+ 'width' => 1,
360
+ 'height' => 1,
361
+ 'id' => 1,
362
+
363
+ ) ,
364
+ 'li' => array(
365
+ 'style' => 1,
366
+ 'title' => 1,
367
+ 'align' => 1,
368
+ 'class' => 1,
369
+ 'width' => 1,
370
+ 'height' => 1,
371
+ 'id' => 1,
372
+
373
+ ) ,
374
+ 'dl' => array(
375
+ 'style' => 1,
376
+ 'title' => 1,
377
+ 'align' => 1,
378
+ 'class' => 1,
379
+ 'width' => 1,
380
+ 'height' => 1,
381
+ 'id' => 1,
382
+
383
+ ) ,
384
+ 'dt' => array(
385
+ 'style' => 1,
386
+ 'title' => 1,
387
+ 'align' => 1,
388
+ 'class' => 1,
389
+ 'width' => 1,
390
+ 'height' => 1,
391
+ 'id' => 1,
392
+
393
+ ) ,
394
+ 'dd' => array(
395
+ 'style' => 1,
396
+ 'title' => 1,
397
+ 'align' => 1,
398
+ 'class' => 1,
399
+ 'width' => 1,
400
+ 'height' => 1,
401
+ 'id' => 1,
402
+
403
+ ) ,
404
+ 'strong' => array(
405
+ 'style' => 1,
406
+ 'title' => 1,
407
+ 'align' => 1,
408
+ 'class' => 1,
409
+ 'width' => 1,
410
+ 'height' => 1,
411
+ 'id' => 1,
412
+
413
+ ) ,
414
+ 'em' => array(
415
+ 'style' => 1,
416
+ 'title' => 1,
417
+ 'align' => 1,
418
+ 'class' => 1,
419
+ 'width' => 1,
420
+ 'height' => 1,
421
+ 'id' => 1,
422
+
423
+ ) ,
424
+ 'b' => array(
425
+ 'style' => 1,
426
+ 'title' => 1,
427
+ 'align' => 1,
428
+ 'class' => 1,
429
+ 'width' => 1,
430
+ 'height' => 1,
431
+ 'id' => 1,
432
+
433
+ ) ,
434
+ 'i' => array(
435
+ 'style' => 1,
436
+ 'title' => 1,
437
+ 'align' => 1,
438
+ 'class' => 1,
439
+ 'width' => 1,
440
+ 'height' => 1,
441
+ 'id' => 1,
442
+
443
+ ) ,
444
+ 'u' => array(
445
+ 'style' => 1,
446
+ 'title' => 1,
447
+ 'align' => 1,
448
+ 'class' => 1,
449
+ 'width' => 1,
450
+ 'height' => 1,
451
+ 'id' => 1,
452
+
453
+ ) ,
454
+ 'img' => array(
455
+ 'style' => 1,
456
+ 'title' => 1,
457
+ 'align' => 1,
458
+ 'class' => 1,
459
+ 'width' => 1,
460
+ 'height' => 1,
461
+ 'id' => 1,
462
+ 'src' => 1,
463
+ 'alt' => 1,
464
+ ) ,
465
+ 'a' => array(
466
+ 'style' => 1,
467
+ 'title' => 1,
468
+ 'align' => 1,
469
+ 'class' => 1,
470
+ 'width' => 1,
471
+ 'height' => 1,
472
+ 'id' => 1,
473
+ 'href' => 1,
474
+
475
+ ) ,
476
+ 'abbr' => array(
477
+ 'style' => 1,
478
+ 'title' => 1,
479
+ 'align' => 1,
480
+ 'class' => 1,
481
+ 'width' => 1,
482
+ 'height' => 1,
483
+ 'id' => 1,
484
+
485
+ ) ,
486
+ 'address' => array(
487
+ 'style' => 1,
488
+ 'title' => 1,
489
+ 'align' => 1,
490
+ 'class' => 1,
491
+ 'width' => 1,
492
+ 'height' => 1,
493
+ 'id' => 1,
494
+
495
+ ) ,
496
+ 'blockquote' => array(
497
+ 'style' => 1,
498
+ 'title' => 1,
499
+ 'align' => 1,
500
+ 'class' => 1,
501
+ 'width' => 1,
502
+ 'height' => 1,
503
+ 'id' => 1,
504
+ ) ,
505
+ 'area' => array(
506
+ 'style' => 1,
507
+ 'title' => 1,
508
+ 'align' => 1,
509
+ 'class' => 1,
510
+ 'width' => 1,
511
+ 'height' => 1,
512
+ 'id' => 1,
513
+
514
+ ) ,
515
+ 'audio' => array(
516
+ 'style' => 1,
517
+ 'title' => 1,
518
+ 'align' => 1,
519
+ 'class' => 1,
520
+ 'width' => 1,
521
+ 'height' => 1,
522
+ 'id' => 1,
523
+
524
+ ) ,
525
+ 'video' => array(
526
+ 'style' => 1,
527
+ 'title' => 1,
528
+ 'align' => 1,
529
+ 'class' => 1,
530
+ 'width' => 1,
531
+ 'height' => 1,
532
+ 'id' => 1,
533
+
534
+ ) ,
535
+ 'form' => array(
536
+ 'style' => 1,
537
+ 'title' => 1,
538
+ 'align' => 1,
539
+ 'class' => 1,
540
+ 'width' => 1,
541
+ 'height' => 1,
542
+ 'id' => 1,
543
+
544
+ ) ,
545
+ 'fieldset' => array(
546
+ 'style' => 1,
547
+ 'title' => 1,
548
+ 'align' => 1,
549
+ 'class' => 1,
550
+ 'width' => 1,
551
+ 'height' => 1,
552
+ 'id' => 1,
553
+
554
+ ) ,
555
+ 'label' => array(
556
+ 'style' => 1,
557
+ 'title' => 1,
558
+ 'align' => 1,
559
+ 'class' => 1,
560
+ 'width' => 1,
561
+ 'height' => 1,
562
+ 'id' => 1,
563
+
564
+ ) ,
565
+ 'input' => array(
566
+ 'style' => 1,
567
+ 'title' => 1,
568
+ 'align' => 1,
569
+ 'class' => 1,
570
+ 'width' => 1,
571
+ 'height' => 1,
572
+ 'value' => 1,
573
+ 'type' => 1,
574
+ 'id' => 1,
575
+
576
+ ) ,
577
+ 'textarea' => array(
578
+ 'style' => 1,
579
+ 'title' => 1,
580
+ 'align' => 1,
581
+ 'class' => 1,
582
+ 'width' => 1,
583
+ 'height' => 1,
584
+ 'id' => 1,
585
+
586
+ ) ,
587
+ 'caption' => array(
588
+ 'style' => 1,
589
+ 'title' => 1,
590
+ 'align' => 1,
591
+ 'class' => 1,
592
+ 'width' => 1,
593
+ 'height' => 1,
594
+ 'id' => 1,
595
+
596
+ ) ,
597
+ 'table' => array(
598
+ 'style' => 1,
599
+ 'title' => 1,
600
+ 'align' => 1,
601
+ 'class' => 1,
602
+ 'width' => 1,
603
+ 'height' => 1,
604
+ 'id' => 1,
605
+
606
+ ) ,
607
+ 'tbody' => array(
608
+ 'style' => 1,
609
+ 'title' => 1,
610
+ 'align' => 1,
611
+ 'class' => 1,
612
+ 'width' => 1,
613
+ 'height' => 1,
614
+ 'id' => 1,
615
+
616
+ ) ,
617
+ 'td' => array(
618
+ 'style' => 1,
619
+ 'title' => 1,
620
+ 'align' => 1,
621
+ 'class' => 1,
622
+ 'width' => 1,
623
+ 'height' => 1,
624
+ 'id' => 1,
625
+
626
+ ) ,
627
+ 'tfoot' => array(
628
+ 'style' => 1,
629
+ 'title' => 1,
630
+ 'align' => 1,
631
+ 'class' => 1,
632
+ 'width' => 1,
633
+ 'height' => 1,
634
+ 'id' => 1,
635
+
636
+ ) ,
637
+ 'th' => array(
638
+ 'style' => 1,
639
+ 'title' => 1,
640
+ 'align' => 1,
641
+ 'class' => 1,
642
+ 'width' => 1,
643
+ 'height' => 1,
644
+ 'id' => 1,
645
+
646
+ ) ,
647
+ 'thead' => array(
648
+ 'style' => 1,
649
+ 'title' => 1,
650
+ 'align' => 1,
651
+ 'class' => 1,
652
+ 'width' => 1,
653
+ 'height' => 1,
654
+ 'id' => 1,
655
+
656
+ ) ,
657
+ 'tr' => array(
658
+ 'style' => 1,
659
+ 'title' => 1,
660
+ 'align' => 1,
661
+ 'class' => 1,
662
+ 'width' => 1,
663
+ 'height' => 1,
664
+ 'id' => 1,
665
+
666
+ ) ,
667
+ 'iframe' => array(
668
+ 'style' => 1,
669
+ 'title' => 1,
670
+ 'align' => 1,
671
+ 'class' => 1,
672
+ 'width' => 1,
673
+ 'height' => 1,
674
+ 'id' => 1,
675
+
676
+ ) ,
677
+ 'select' => array(
678
+ 'style' => 1,
679
+ 'title' => 1,
680
+ 'align' => 1,
681
+ 'class' => 1,
682
+ 'width' => 1,
683
+ 'height' => 1,
684
+ 'id' => 1,
685
+
686
+ ) ,
687
+ 'option' => array(
688
+ 'style' => 1,
689
+ 'title' => 1,
690
+ 'align' => 1,
691
+ 'class' => 1,
692
+ 'width' => 1,
693
+ 'height' => 1,
694
+ 'id' => 1,
695
+
696
+ 'selected' => 1,
697
+ 'data-number' => 1,
698
+ 'value' => 1,
699
+ ),
700
+ 'alt' => array(
701
+ 'style' => 1,
702
+ 'title' => 1,
703
+ 'align' => 1,
704
+ 'class' => 1,
705
+ 'width' => 1,
706
+ 'height' => 1,
707
+ 'id' => 1,
708
+
709
+ 'selected' => 1,
710
+ 'data-number' => 1,
711
+ 'value' => 1,
712
+ )
713
+ );
714
+ $ar1 = array_merge($allowedHtml, $newAllowedHtml);
715
+ $ar2 = array_merge($allowedDiv, $ar1);
716
+
717
+ $this->allowedHtml = $ar2;
718
+ }
719
+ return $this->allowedHtml;
720
+ }
721
+
722
  /**
723
  * Returns the data of the gallery by the identifier
724
  *
1009
  {
1010
  if (!is_object($gallery)) {
1011
  if ($this->debugEnabled) {
1012
+ wp_die(sprintf('The $gallery variable must be type of object, %s given', esc_html(gettype($gallery))));
1013
  }
1014
 
1015
  return $gallery;
src/GridGallery/Galleries/Model/widget.php CHANGED
@@ -27,12 +27,12 @@ class sggWidget extends Wp_Widget {
27
  */
28
  public function widget( $args, $instance ) {
29
 
30
- echo $args['before_widget'];
31
  if ( ! empty( $instance['title'] ) ) {
32
- echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ). $args['after_title'];
33
  }
34
- echo do_shortcode('[supsystic-gallery id=' . $instance['gallery_id'] . ' position="center"]');
35
- echo $args['after_widget'];
36
  }
37
 
38
  /**
@@ -50,7 +50,7 @@ class sggWidget extends Wp_Widget {
50
  }
51
 
52
  $id = array();
53
-
54
  foreach($this->gallery->getList() as $gallery) {
55
  array_push($id, array(
56
  'name' => $gallery->title . ' ' . $gallery->id,
@@ -61,15 +61,15 @@ class sggWidget extends Wp_Widget {
61
  ?>
62
 
63
  <p>
64
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
65
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>">
66
- <label for="<?php echo $this->get_field_id( 'gallery_id' ); ?>"><?php _e( 'Select gallery: ' ); ?></label>
67
- <select id="<?php echo $this->get_field_id( 'gallery_id' ); ?>" class="widefat" name="<?php echo $this->get_field_name( 'gallery_id' ); ?>" type="text">
68
  <?php foreach($id as $element)
69
  if(isset($instance['gallery_id']) && $instance['gallery_id'] == $element['value']) {
70
- echo "<option value=" . $element['value'] . " selected>". $element['name'] . "</option>";
71
  } else {
72
- echo "<option value=" . $element['value'] . ">". $element['name'] . "</option>";
73
  }
74
  ?>
75
  </select>
@@ -94,4 +94,4 @@ class sggWidget extends Wp_Widget {
94
 
95
  return $instance;
96
  }
97
- }
27
  */
28
  public function widget( $args, $instance ) {
29
 
30
+ echo wp_kses_post($args['before_widget']);
31
  if ( ! empty( $instance['title'] ) ) {
32
+ echo wp_kses_post($args['before_title'] . apply_filters( 'widget_title', $instance['title'] ). $args['after_title']);
33
  }
34
+ echo wp_kses_post(do_shortcode('[supsystic-gallery id=' . $instance['gallery_id'] . ' position="center"]'));
35
+ echo wp_kses_post($args['after_widget']);
36
  }
37
 
38
  /**
50
  }
51
 
52
  $id = array();
53
+
54
  foreach($this->gallery->getList() as $gallery) {
55
  array_push($id, array(
56
  'name' => $gallery->title . ' ' . $gallery->id,
61
  ?>
62
 
63
  <p>
64
+ <label for="<?php echo esc_attr($this->get_field_id( 'title' )); ?>"><?php esc_html_e( 'Title:' ); ?></label>
65
+ <input class="widefat" id="<?php echo esc_attr($this->get_field_id( 'title' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'title' )); ?>" type="text" value="<?php echo esc_attr( $title ); ?>">
66
+ <label for="<?php echo esc_attr($this->get_field_id( 'gallery_id' )); ?>"><?php esc_html_e( 'Select gallery: ' ); ?></label>
67
+ <select id="<?php echo esc_attr($this->get_field_id( 'gallery_id' )); ?>" class="widefat" name="<?php echo esc_attr($this->get_field_name( 'gallery_id' )); ?>" type="text">
68
  <?php foreach($id as $element)
69
  if(isset($instance['gallery_id']) && $instance['gallery_id'] == $element['value']) {
70
+ esc_html_e("<option value=" . esc_attr($element['value']) . " selected>". esc_attr($element['name']) . "</option>");
71
  } else {
72
+ esc_html_e("<option value=" . esc_attr($element['value']) . ">". esc_attr($element['name']) . "</option>");
73
  }
74
  ?>
75
  </select>
94
 
95
  return $instance;
96
  }
97
+ }
src/GridGallery/Galleries/Module.php CHANGED
@@ -165,7 +165,7 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
165
  $this->getLocationUrl() . '/assets/css/gridgallerypro-embedded.css',
166
  $this->getLocationUrl() . '/assets/css/icons-effects.css',
167
  $this->getLocationUrl() . '/assets/css/loaders.css',
168
- $this->getLocationUrl() . '/assets/css/chosen.css',
169
  );
170
 
171
  $environment = $this->getEnvironment();
@@ -200,7 +200,7 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
200
  }
201
 
202
  $jsList[] = $this->getLocationUrl() . '/assets/js/grid-gallery.galleries.thumb.js';
203
- $jsList[] = $this->getLocationUrl() . '/assets/js/lib/chosen.jquery.js';
204
 
205
  if ($environment->isAction('index')) {
206
  $jsList[] = $this->getLocationUrl() . '/assets/js/lib/jquery.dataTables.min.js';
@@ -677,7 +677,7 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
677
  $stylesheets = $this->getFrontendCSS();
678
 
679
  foreach ($stylesheets as $url) {
680
- echo '<link rel="stylesheet" type="text/css" href="' . $url . '"/>';
681
  }
682
  }
683
 
@@ -693,7 +693,7 @@ class GridGallery_Galleries_Module extends GridGallery_Core_Module
693
  wp_enqueue_script('jquery.colorbox.js');
694
 
695
  foreach ($javascripts as $url) {
696
- echo '<script type="text/javascript" src="' . $url . '"></script>';
697
  }
698
  }
699
 
165
  $this->getLocationUrl() . '/assets/css/gridgallerypro-embedded.css',
166
  $this->getLocationUrl() . '/assets/css/icons-effects.css',
167
  $this->getLocationUrl() . '/assets/css/loaders.css',
168
+ SG_PLUGIN_URL . '/app/assets/css/chosen.min.css',
169
  );
170
 
171
  $environment = $this->getEnvironment();
200
  }
201
 
202
  $jsList[] = $this->getLocationUrl() . '/assets/js/grid-gallery.galleries.thumb.js';
203
+ $jsList[] = SG_PLUGIN_URL . '/app/assets/js/chosen.jquery.min.js';
204
 
205
  if ($environment->isAction('index')) {
206
  $jsList[] = $this->getLocationUrl() . '/assets/js/lib/jquery.dataTables.min.js';
677
  $stylesheets = $this->getFrontendCSS();
678
 
679
  foreach ($stylesheets as $url) {
680
+ echo '<link rel="stylesheet" type="text/css" href="' . esc_url($url) . '"/>';
681
  }
682
  }
683
 
693
  wp_enqueue_script('jquery.colorbox.js');
694
 
695
  foreach ($javascripts as $url) {
696
+ echo '<script type="text/javascript" src="' . esc_url($url) . '"></script>';
697
  }
698
  }
699
 
src/GridGallery/Galleries/assets/css/chosen.css DELETED
@@ -1,448 +0,0 @@
1
- /*!
2
- Chosen, a Select Box Enhancer for jQuery and Prototype
3
- by Patrick Filler for Harvest, http://getharvest.com
4
-
5
- Version 1.5.1
6
- Full source at https://github.com/harvesthq/chosen
7
- Copyright (c) 2011-2016 Harvest http://getharvest.com
8
-
9
- MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
- This file is generated by `grunt build`, do not edit it by hand.
11
- */
12
-
13
- /* @group Base */
14
- .chosen-container {
15
- position: relative;
16
- display: inline-block;
17
- vertical-align: middle;
18
- font-size: 13px;
19
- -webkit-user-select: none;
20
- -moz-user-select: none;
21
- user-select: none;
22
- }
23
- .chosen-container * {
24
- -webkit-box-sizing: border-box;
25
- -moz-box-sizing: border-box;
26
- box-sizing: border-box;
27
- }
28
- .chosen-container .chosen-drop {
29
- position: absolute;
30
- top: 100%;
31
- left: -9999px;
32
- z-index: 1010;
33
- width: 100%;
34
- border: 1px solid #aaa;
35
- border-top: 0;
36
- background: #fff;
37
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
38
- }
39
- .chosen-container.chosen-with-drop .chosen-drop {
40
- left: 0;
41
- }
42
- .chosen-container a {
43
- cursor: pointer;
44
- }
45
- .chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
46
- margin-right: 4px;
47
- overflow: hidden;
48
- white-space: nowrap;
49
- text-overflow: ellipsis;
50
- font-weight: normal;
51
- color: #999999;
52
- }
53
- .chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
54
- content: ":";
55
- padding-left: 2px;
56
- vertical-align: top;
57
- }
58
-
59
- /* @end */
60
- /* @group Single Chosen */
61
- .chosen-container-single .chosen-single {
62
- position: relative;
63
- display: block;
64
- overflow: hidden;
65
- padding: 0 0 0 8px;
66
- height: 25px;
67
- border: 1px solid #aaa;
68
- border-radius: 5px;
69
- background-color: #fff;
70
- background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
71
- background: -webkit-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
72
- background: -moz-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
73
- background: -o-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
74
- background: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
75
- background-clip: padding-box;
76
- box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
77
- color: #444;
78
- text-decoration: none;
79
- white-space: nowrap;
80
- line-height: 24px;
81
- }
82
- .chosen-container-single .chosen-default {
83
- color: #999;
84
- }
85
- .chosen-container-single .chosen-single span {
86
- display: block;
87
- overflow: hidden;
88
- margin-right: 26px;
89
- text-overflow: ellipsis;
90
- white-space: nowrap;
91
- }
92
- .chosen-container-single .chosen-single-with-deselect span {
93
- margin-right: 38px;
94
- }
95
- .chosen-container-single .chosen-single abbr {
96
- position: absolute;
97
- top: 6px;
98
- right: 26px;
99
- display: block;
100
- width: 12px;
101
- height: 12px;
102
- background: url('chosen-sprite.png') -42px 1px no-repeat;
103
- font-size: 1px;
104
- }
105
- .chosen-container-single .chosen-single abbr:hover {
106
- background-position: -42px -10px;
107
- }
108
- .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
109
- background-position: -42px -10px;
110
- }
111
- .chosen-container-single .chosen-single div {
112
- position: absolute;
113
- top: 0;
114
- right: 0;
115
- display: block;
116
- width: 18px;
117
- height: 100%;
118
- }
119
- .chosen-container-single .chosen-single div b {
120
- display: block;
121
- width: 100%;
122
- height: 100%;
123
- background: url('chosen-sprite.png') no-repeat 0px 2px;
124
- }
125
- .chosen-container-single .chosen-search {
126
- position: relative;
127
- z-index: 1010;
128
- margin: 0;
129
- padding: 3px 4px;
130
- white-space: nowrap;
131
- }
132
- .chosen-container-single .chosen-search input[type="text"] {
133
- margin: 1px 0;
134
- padding: 4px 20px 4px 5px;
135
- width: 100%;
136
- height: auto;
137
- outline: 0;
138
- border: 1px solid #aaa;
139
- background: white url('chosen-sprite.png') no-repeat 100% -20px;
140
- background: url('chosen-sprite.png') no-repeat 100% -20px;
141
- font-size: 1em;
142
- font-family: sans-serif;
143
- line-height: normal;
144
- border-radius: 0;
145
- }
146
- .chosen-container-single .chosen-drop {
147
- margin-top: -1px;
148
- border-radius: 0 0 4px 4px;
149
- background-clip: padding-box;
150
- }
151
- .chosen-container-single.chosen-container-single-nosearch .chosen-search {
152
- position: absolute;
153
- left: -9999px;
154
- }
155
-
156
- /* @end */
157
- /* @group Results */
158
- .chosen-container .chosen-results {
159
- color: #444;
160
- position: relative;
161
- overflow-x: hidden;
162
- overflow-y: auto;
163
- margin: 0 4px 4px 0;
164
- padding: 0 0 0 4px;
165
- max-height: 240px;
166
- -webkit-overflow-scrolling: touch;
167
- }
168
- .chosen-container .chosen-results li {
169
- display: none;
170
- margin: 0;
171
- padding: 5px 6px;
172
- list-style: none;
173
- line-height: 15px;
174
- word-wrap: break-word;
175
- -webkit-touch-callout: none;
176
- }
177
- .chosen-container .chosen-results li.active-result {
178
- display: list-item;
179
- cursor: pointer;
180
- }
181
- .chosen-container .chosen-results li.disabled-result {
182
- display: list-item;
183
- color: #ccc;
184
- cursor: default;
185
- }
186
- .chosen-container .chosen-results li.highlighted {
187
- background-color: #3875d7;
188
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
189
- background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
190
- background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
191
- background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
192
- background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
193
- color: #fff;
194
- }
195
- .chosen-container .chosen-results li.no-results {
196
- color: #777;
197
- display: list-item;
198
- background: #f4f4f4;
199
- }
200
- .chosen-container .chosen-results li.group-result {
201
- display: list-item;
202
- font-weight: bold;
203
- cursor: default;
204
- }
205
- .chosen-container .chosen-results li.group-option {
206
- padding-left: 15px;
207
- }
208
- .chosen-container .chosen-results li em {
209
- font-style: normal;
210
- text-decoration: underline;
211
- }
212
-
213
- /* @end */
214
- /* @group Multi Chosen */
215
- .chosen-container-multi .chosen-choices {
216
- position: relative;
217
- overflow: hidden;
218
- margin: 0;
219
- padding: 0 5px;
220
- width: 100%;
221
- height: auto !important;
222
- height: 1%;
223
- border: 1px solid #aaa;
224
- background-color: #fff;
225
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
226
- background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
227
- background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
228
- background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
229
- background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
230
- cursor: text;
231
- }
232
- .chosen-container-multi .chosen-choices li {
233
- float: left;
234
- list-style: none;
235
- }
236
- .chosen-container-multi .chosen-choices li.search-field {
237
- margin: 0;
238
- padding: 0;
239
- white-space: nowrap;
240
- }
241
- .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
242
- margin: 1px 0;
243
- padding: 0;
244
- height: 25px!important;
245
- outline: 0;
246
- border: 0 !important;
247
- background: transparent !important;
248
- box-shadow: none;
249
- color: #999;
250
- font-size: 100%;
251
- font-family: sans-serif;
252
- line-height: normal;
253
- border-radius: 0;
254
- }
255
- .chosen-container-multi .chosen-choices li.search-choice {
256
- position: relative;
257
- margin: 3px 5px 3px 0;
258
- padding: 3px 20px 3px 5px;
259
- border: 1px solid #aaa;
260
- max-width: 100%;
261
- border-radius: 3px;
262
- background-color: #eeeeee;
263
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
264
- background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
265
- background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
266
- background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
267
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
268
- background-size: 100% 19px;
269
- background-repeat: repeat-x;
270
- background-clip: padding-box;
271
- box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
272
- color: #333;
273
- line-height: 13px;
274
- cursor: default;
275
- }
276
- .chosen-container-multi .chosen-choices li.search-choice span {
277
- word-wrap: break-word;
278
- }
279
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
280
- position: absolute;
281
- top: 4px;
282
- right: 3px;
283
- display: block;
284
- width: 12px;
285
- height: 12px;
286
- background: url('chosen-sprite.png') -42px 1px no-repeat;
287
- font-size: 1px;
288
- }
289
- .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
290
- background-position: -42px -10px;
291
- }
292
- .chosen-container-multi .chosen-choices li.search-choice-disabled {
293
- padding-right: 5px;
294
- border: 1px solid #ccc;
295
- background-color: #e4e4e4;
296
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
297
- background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
298
- background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
299
- background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
300
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
301
- color: #666;
302
- }
303
- .chosen-container-multi .chosen-choices li.search-choice-focus {
304
- background: #d4d4d4;
305
- }
306
- .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
307
- background-position: -42px -10px;
308
- }
309
- .chosen-container-multi .chosen-results {
310
- margin: 0;
311
- padding: 0;
312
- }
313
- .chosen-container-multi .chosen-drop .result-selected {
314
- display: list-item;
315
- color: #ccc;
316
- cursor: default;
317
- }
318
-
319
- /* @end */
320
- /* @group Active */
321
- .chosen-container-active .chosen-single {
322
- border: 1px solid #5897fb;
323
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
324
- }
325
- .chosen-container-active.chosen-with-drop .chosen-single {
326
- border: 1px solid #aaa;
327
- -moz-border-radius-bottomright: 0;
328
- border-bottom-right-radius: 0;
329
- -moz-border-radius-bottomleft: 0;
330
- border-bottom-left-radius: 0;
331
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
332
- background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
333
- background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
334
- background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
335
- background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
336
- box-shadow: 0 1px 0 #fff inset;
337
- }
338
- .chosen-container-active.chosen-with-drop .chosen-single div {
339
- border-left: none;
340
- background: transparent;
341
- }
342
- .chosen-container-active.chosen-with-drop .chosen-single div b {
343
- background-position: -18px 2px;
344
- }
345
- .chosen-container-active .chosen-choices {
346
- border: 1px solid #5897fb;
347
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
348
- }
349
- .chosen-container-active .chosen-choices li.search-field input[type="text"] {
350
- color: #222 !important;
351
- }
352
-
353
- /* @end */
354
- /* @group Disabled Support */
355
- .chosen-disabled {
356
- opacity: 0.5 !important;
357
- cursor: default;
358
- }
359
- .chosen-disabled .chosen-single {
360
- cursor: default;
361
- }
362
- .chosen-disabled .chosen-choices .search-choice .search-choice-close {
363
- cursor: default;
364
- }
365
-
366
- /* @end */
367
- /* @group Right to Left */
368
- .chosen-rtl {
369
- text-align: right;
370
- }
371
- .chosen-rtl .chosen-single {
372
- overflow: visible;
373
- padding: 0 8px 0 0;
374
- }
375
- .chosen-rtl .chosen-single span {
376
- margin-right: 0;
377
- margin-left: 26px;
378
- direction: rtl;
379
- }
380
- .chosen-rtl .chosen-single-with-deselect span {
381
- margin-left: 38px;
382
- }
383
- .chosen-rtl .chosen-single div {
384
- right: auto;
385
- left: 3px;
386
- }
387
- .chosen-rtl .chosen-single abbr {
388
- right: auto;
389
- left: 26px;
390
- }
391
- .chosen-rtl .chosen-choices li {
392
- float: right;
393
- }
394
- .chosen-rtl .chosen-choices li.search-field input[type="text"] {
395
- direction: rtl;
396
- }
397
- .chosen-rtl .chosen-choices li.search-choice {
398
- margin: 3px 5px 3px 0;
399
- padding: 3px 5px 3px 19px;
400
- }
401
- .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
402
- right: auto;
403
- left: 4px;
404
- }
405
- .chosen-rtl.chosen-container-single-nosearch .chosen-search,
406
- .chosen-rtl .chosen-drop {
407
- left: 9999px;
408
- }
409
- .chosen-rtl.chosen-container-single .chosen-results {
410
- margin: 0 0 4px 4px;
411
- padding: 0 4px 0 0;
412
- }
413
- .chosen-rtl .chosen-results li.group-option {
414
- padding-right: 15px;
415
- padding-left: 0;
416
- }
417
- .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
418
- border-right: none;
419
- }
420
- .chosen-rtl .chosen-search input[type="text"] {
421
- padding: 4px 5px 4px 20px;
422
- background: white url('chosen-sprite.png') no-repeat -30px -20px;
423
- background: url('chosen-sprite.png') no-repeat -30px -20px;
424
- direction: rtl;
425
- }
426
- .chosen-rtl.chosen-container-single .chosen-single div b {
427
- background-position: 6px 2px;
428
- }
429
- .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
430
- background-position: -12px 2px;
431
- }
432
-
433
- /* @end */
434
- /* @group Retina compatibility */
435
- @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
436
- .chosen-rtl .chosen-search input[type="text"],
437
- .chosen-container-single .chosen-single abbr,
438
- .chosen-container-single .chosen-single div b,
439
- .chosen-container-single .chosen-search input[type="text"],
440
- .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
441
- .chosen-container .chosen-results-scroll-down span,
442
- .chosen-container .chosen-results-scroll-up span {
443
- background-image: url('chosen-sprite@2x.png') !important;
444
- background-size: 52px 37px !important;
445
- background-repeat: no-repeat !important;
446
- }
447
- }
448
- /* @end */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/GridGallery/Galleries/assets/css/chosen.min.css DELETED
@@ -1,3 +0,0 @@
1
- /* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
2
-
3
- .chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(chosen-sprite.png) no-repeat 100% -20px;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
 
 
 
src/GridGallery/Galleries/views/index.twig CHANGED
@@ -14,8 +14,8 @@
14
 
15
  <section id="gg-galleries">
16
 
17
- <div class="row">
18
- <div class="col-xs-12">
19
 
20
  {% set columns = [
21
  'ID',
@@ -115,7 +115,7 @@
115
  </table>
116
 
117
  </div>
118
- <div class="col-xs-12">
119
  <button class="button group_button" id="delete-group" disabled>
120
  <i class="fa fa-fw fa-trash-o"></i>{{ environment.translate('Delete selected') }}
121
  </button>
14
 
15
  <section id="gg-galleries">
16
 
17
+ <div class="supRow">
18
+ <div class="supXs12">
19
 
20
  {% set columns = [
21
  'ID',
115
  </table>
116
 
117
  </div>
118
+ <div class="supXs12">
119
  <button class="button group_button" id="delete-group" disabled>
120
  <i class="fa fa-fw fa-trash-o"></i>{{ environment.translate('Delete selected') }}
121
  </button>
src/GridGallery/Photos/Model/Photos.php CHANGED
@@ -170,7 +170,7 @@ class GridGallery_Photos_Model_Photos extends Rsc_Mvc_Model
170
 
171
  if (!class_exists($classname = 'GridGallery_Photos_Model_Folders', false)) {
172
  if ($this->debugEnabled) {
173
- wp_die(sprintf('The required class \'%s\' is does not exists', $classname));
174
  }
175
 
176
  return null;
@@ -430,7 +430,7 @@ class GridGallery_Photos_Model_Photos extends Rsc_Mvc_Model
430
  }
431
 
432
  if (!in_array($field, $fields)) {
433
- wp_die(sprintf('The field \'%s\' is does not exists in the table \'%s\'', $field, $this->table));
434
  }
435
  }
436
 
@@ -488,7 +488,7 @@ class GridGallery_Photos_Model_Photos extends Rsc_Mvc_Model
488
  }
489
 
490
  if (!in_array($field, $fields)) {
491
- wp_die(sprintf('The field \'%s\' is does not exists in the table \'%s\'', $field, $this->table));
492
  }
493
  }
494
 
170
 
171
  if (!class_exists($classname = 'GridGallery_Photos_Model_Folders', false)) {
172
  if ($this->debugEnabled) {
173
+ wp_die(sprintf('The required class \'%s\' is does not exists', esc_html($classname)));
174
  }
175
 
176
  return null;
430
  }
431
 
432
  if (!in_array($field, $fields)) {
433
+ wp_die(sprintf('The field \'%s\' is does not exists in the table \'%s\'', esc_html($field), esc_html($this->table)));
434
  }
435
  }
436
 
488
  }
489
 
490
  if (!in_array($field, $fields)) {
491
+ wp_die(sprintf('The field \'%s\' is does not exists in the table \'%s\'', esc_html($field), esc_html($this->table)));
492
  }
493
  }
494
 
src/GridGallery/Photos/Model/Settings.php CHANGED
@@ -41,7 +41,7 @@ class GridGallery_Photos_Model_Settings extends Rsc_Mvc_Model
41
  $tables = array_keys($this->db->get_results('SHOW TABLES', OBJECT_K));
42
 
43
  if (!in_array($this->table, $tables)) {
44
- wp_die(sprintf('Invalid table %s specified in the model %s', $this->table, __CLASS__));
45
  }
46
  }
47
  }
@@ -101,7 +101,7 @@ class GridGallery_Photos_Model_Settings extends Rsc_Mvc_Model
101
  if (!$parameter = $this->db->get_row($query->build())) {
102
 
103
  if ($this->debugEnabled) {
104
- wp_die(sprintf('Trying to get undefined photos parameter \'%s\'', $name));
105
  }
106
 
107
  return null;
@@ -130,4 +130,4 @@ class GridGallery_Photos_Model_Settings extends Rsc_Mvc_Model
130
 
131
  return true;
132
  }
133
- }
41
  $tables = array_keys($this->db->get_results('SHOW TABLES', OBJECT_K));
42
 
43
  if (!in_array($this->table, $tables)) {
44
+ wp_die(sprintf('Invalid table %s specified in the model %s', esc_html($this->table), __CLASS__));
45
  }
46
  }
47
  }
101
  if (!$parameter = $this->db->get_row($query->build())) {
102
 
103
  if ($this->debugEnabled) {
104
+ wp_die(sprintf('Trying to get undefined photos parameter \'%s\'', esc_html($name)));
105
  }
106
 
107
  return null;
130
 
131
  return true;
132
  }
133
+ }
src/GridGallery/Promo/Module.php CHANGED
@@ -13,7 +13,7 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
13
  public function onInit()
14
  {
15
  parent::onInit();
16
-
17
  //add_action($this->getConfig()->get('hooks_prefix') . 'after_ui_loaded', array($this, 'loadAdminPromoAssets'));
18
  add_action('admin_init', array($this, 'loadAdminPromoAssets'));
19
  add_action('admin_footer', array($this, 'checkPluginDeactivation'));
@@ -40,7 +40,7 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
40
 
41
  if ($this->isModule('promo', 'welcome') && !$this->getConfig()->get('welcome_page_was_showed')) {
42
  $ui->asset->enqueue('styles', array(
43
- $this->getConfig()->get('plugin_url') . '/app/assets/css/libraries/bootstrap/bootstrap.min.css'
44
  ));
45
  update_option($this->getConfig()->get('db_prefix') . 'welcome_page_was_showed', 1);
46
  }
@@ -64,7 +64,7 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
64
 
65
  if ($this->isModule('promo', 'welcome') && !$this->getConfig()->get('welcome_page_was_showed')) {
66
  $ui->asset->enqueue('styles', array(
67
- $this->getConfig()->get('plugin_url') . '/app/assets/css/libraries/bootstrap/bootstrap.min.css'
68
  ));
69
  update_option($this->getConfig()->get('db_prefix') . 'welcome_page_was_showed', 1);
70
  }
@@ -212,7 +212,7 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
212
  public function endTutorial() {
213
  update_user_meta(get_current_user_id(), 'sgg-tutorial_was_showed', true);
214
  }
215
-
216
  public function checkPluginDeactivation() {
217
  if(function_exists('get_current_screen')) {
218
  $screen = get_current_screen();
@@ -228,7 +228,8 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
228
  $src = is_string($s) ? $s : $s['source'];
229
  wp_enqueue_style(basename($src), $src);
230
  }
231
- echo $this->render('@promo/pluginDeactivation.twig');
 
232
  }
233
  }
234
  }
@@ -280,4 +281,4 @@ class GridGallery_Promo_Module extends GridGallery_Core_Module
280
  $license = urlencode(base64_encode(implode('|', $license)));
281
  return 'http://supsystic.com/?mod=manager&pl=lms&action=extend&plugin_code='. $pluginCode. '&lic='. $license;
282
  }
283
- }
13
  public function onInit()
14
  {
15
  parent::onInit();
16
+
17
  //add_action($this->getConfig()->get('hooks_prefix') . 'after_ui_loaded', array($this, 'loadAdminPromoAssets'));
18
  add_action('admin_init', array($this, 'loadAdminPromoAssets'));
19
  add_action('admin_footer', array($this, 'checkPluginDeactivation'));
40
 
41
  if ($this->isModule('promo', 'welcome') && !$this->getConfig()->get('welcome_page_was_showed')) {
42
  $ui->asset->enqueue('styles', array(
43
+ $this->getConfig()->get('plugin_url') . '/app/assets/css/libraries/supsystic/suptablesui.min.css'
44
  ));
45
  update_option($this->getConfig()->get('db_prefix') . 'welcome_page_was_showed', 1);
46
  }
64
 
65
  if ($this->isModule('promo', 'welcome') && !$this->getConfig()->get('welcome_page_was_showed')) {
66
  $ui->asset->enqueue('styles', array(
67
+ $this->getConfig()->get('plugin_url') . '/app/assets/css/libraries/supsystic/suptablesui.min.css'
68
  ));
69
  update_option($this->getConfig()->get('db_prefix') . 'welcome_page_was_showed', 1);
70
  }
212
  public function endTutorial() {
213
  update_user_meta(get_current_user_id(), 'sgg-tutorial_was_showed', true);
214
  }
215
+
216
  public function checkPluginDeactivation() {
217
  if(function_exists('get_current_screen')) {
218
  $screen = get_current_screen();
228
  $src = is_string($s) ? $s : $s['source'];
229
  wp_enqueue_style(basename($src), $src);
230
  }
231
+ // $pluginDeactivationHtml = $this->getEnvironment()->getModule('tables')->getModel('tables')->sanitize_string($this->render('@promo/pluginDeactivation.twig'));
232
+ // echo $pluginDeactivationHtml;
233
  }
234
  }
235
  }
281
  $license = urlencode(base64_encode(implode('|', $license)));
282
  return 'http://supsystic.com/?mod=manager&pl=lms&action=extend&plugin_code='. $pluginCode. '&lic='. $license;
283
  }
284
+ }
src/GridGallery/Promo/views/promo.twig CHANGED
@@ -4,34 +4,34 @@
4
  <section>
5
  <div class="supsystic-item supsystic-panel supsystic-plugin supsystic-plugin-promo">
6
  <div id="containerWrapper">
7
- <div class="row">
8
- <div class="col-sm-12">
9
  <h2>
10
  {{ environment.translate('Welcome to the') }} {{ plugin_name }} v {{ plugin_version }}
11
  </h2>
12
- <p class="col-sm-6">
13
  {{ environment.translate('Photo Gallery plugin is created for people who would like to show their photos in a marvelous way. Perform your best ideas, making delightful presentations or galleries from videos and photos.') }}
14
  </p>
15
  </div>
16
  </div>
17
- <div class="row">
18
- <div class="col-sm-8">
19
- <div class="row">
20
- <div class="col-sm-6">
21
  <h3>{{ environment.translate('Step-by-step tutorial') }}</h3>
22
  <p>
23
  {{ environment.translate('There’re really many options of photo gallery plugin customization. So as soon as you close that page, I’ll show you step-by-step tutorial of how to use plugin. Hope it will be usefull for you :)') }}
24
  </p>
25
  </div>
26
- <div class="col-sm-6">
27
  <h3>{{ environment.translate('Support') }}</h3>
28
  <p>
29
  {{ environment.translate('We love our plugin and do the best to improve all features you want and fix all issues. But sometimes some issues happened or you can’t find feature you want :) Don’t worry, just <a href="//supsystic.com/plugins/photo-gallery?utm_source=plugin&utm_medium=welcomepage&utm_campaign=photo-gallery#contact" target="_blank"> contact us </a> . We’ll answer in an hour and fix all issues.')|raw }}
30
  </p>
31
  </div>
32
  </div>
33
- <div class="row">
34
- <div class="col-sm-12">
35
  <h3>{{ environment.translate('Video Tutorial') }}</h3>
36
  <iframe type="text/html"
37
  width="90%"
@@ -42,7 +42,7 @@
42
  </div>
43
  </div>
44
  </div>
45
- <div class="col-sm-4">
46
  <h3>
47
  {{ environment.translate('Frequently Asked Questions') }}
48
  </h3>
@@ -60,12 +60,12 @@
60
  <p>
61
  To change the position of photos just drag them manually on the Images List and click save. Also there you can sort the images by add date, create date, size, name and tags.
62
  </p>
63
-
64
  <h4>
65
  {{ environment.translate('How to insert gallery into widget?') }}
66
  </h4>
67
  <p>
68
- If you want to use gallery in widgets -
69
  <ol>
70
  <li>{{ environment.translate('Go to Appearance -> Widgets.') }}</li>
71
  <li>{{ environment.translate('You’ll see Gallery by Supsystic Widget on the left. Drag it to the area, where you want it to appear.') }}</li>
@@ -87,4 +87,4 @@
87
  </div>
88
  </div>
89
  </section>
90
- {% endblock %}
4
  <section>
5
  <div class="supsystic-item supsystic-panel supsystic-plugin supsystic-plugin-promo">
6
  <div id="containerWrapper">
7
+ <div class="supRow">
8
+ <div class="supSm12">
9
  <h2>
10
  {{ environment.translate('Welcome to the') }} {{ plugin_name }} v {{ plugin_version }}
11
  </h2>
12
+ <p class="supSm6">
13
  {{ environment.translate('Photo Gallery plugin is created for people who would like to show their photos in a marvelous way. Perform your best ideas, making delightful presentations or galleries from videos and photos.') }}
14
  </p>
15
  </div>
16
  </div>
17
+ <div class="supRow">
18
+ <div class="supSm8">
19
+ <div class="supRow">
20
+ <div class="supSm6">
21
  <h3>{{ environment.translate('Step-by-step tutorial') }}</h3>
22
  <p>
23
  {{ environment.translate('There’re really many options of photo gallery plugin customization. So as soon as you close that page, I’ll show you step-by-step tutorial of how to use plugin. Hope it will be usefull for you :)') }}
24
  </p>
25
  </div>
26
+ <div class="supSm6">
27
  <h3>{{ environment.translate('Support') }}</h3>
28
  <p>
29
  {{ environment.translate('We love our plugin and do the best to improve all features you want and fix all issues. But sometimes some issues happened or you can’t find feature you want :) Don’t worry, just <a href="//supsystic.com/plugins/photo-gallery?utm_source=plugin&utm_medium=welcomepage&utm_campaign=photo-gallery#contact" target="_blank"> contact us </a> . We’ll answer in an hour and fix all issues.')|raw }}
30
  </p>
31
  </div>
32
  </div>
33
+ <div class="supRow">
34
+ <div class="supSm12">
35
  <h3>{{ environment.translate('Video Tutorial') }}</h3>
36
  <iframe type="text/html"
37
  width="90%"
42
  </div>
43
  </div>
44
  </div>
45
+ <div class="supSm4">
46
  <h3>
47
  {{ environment.translate('Frequently Asked Questions') }}
48
  </h3>
60
  <p>
61
  To change the position of photos just drag them manually on the Images List and click save. Also there you can sort the images by add date, create date, size, name and tags.
62
  </p>
63
+
64
  <h4>
65
  {{ environment.translate('How to insert gallery into widget?') }}
66
  </h4>
67
  <p>
68
+ If you want to use gallery in widgets -
69
  <ol>
70
  <li>{{ environment.translate('Go to Appearance -> Widgets.') }}</li>
71
  <li>{{ environment.translate('You’ll see Gallery by Supsystic Widget on the left. Drag it to the area, where you want it to appear.') }}</li>
87
  </div>
88
  </div>
89
  </section>
90
+ {% endblock %}
src/GridGallery/Settings/Controller.php CHANGED
@@ -45,12 +45,14 @@ class GridGallery_Settings_Controller extends GridGallery_Core_BaseController
45
 
46
  public function requireNonces() {
47
  return array(
48
- 'saveSettingsActionAction',
49
  );
50
  }
51
 
52
  public function saveSettingsAction(Rsc_Http_Request $request) {
53
 
 
 
54
  $optionsName = $this->getConfig()->get('db_prefix') . 'settings';
55
  $currentSettings = get_option($optionsName);
56
  $settings = $request->post->get('settings', array());
@@ -76,4 +78,4 @@ class GridGallery_Settings_Controller extends GridGallery_Core_BaseController
76
  update_option($optionsName, $merge);
77
  return $this->redirect($this->generateUrl('settings'));
78
  }
79
- }
45
 
46
  public function requireNonces() {
47
  return array(
48
+ 'saveSettingsAction',
49
  );
50
  }
51
 
52
  public function saveSettingsAction(Rsc_Http_Request $request) {
53
 
54
+
55
+
56
  $optionsName = $this->getConfig()->get('db_prefix') . 'settings';
57
  $currentSettings = get_option($optionsName);
58
  $settings = $request->post->get('settings', array());
78
  update_option($optionsName, $merge);
79
  return $this->redirect($this->generateUrl('settings'));
80
  }
81
+ }
src/GridGallery/Settings/Module.php CHANGED
@@ -55,14 +55,14 @@ class GridGallery_Settings_Module extends Rsc_Mvc_Module
55
 
56
  public function getBackendCSS() {
57
  return array(
58
- '//cdn.jsdelivr.net/chosen/1.1.0/chosen.min.css',
59
  $this->getLocationUrl() . '/assets/css/settings.css'
60
  );
61
  }
62
 
63
  public function getBackendJS() {
64
  return array(
65
- '//cdn.jsdelivr.net/chosen/1.1.0/chosen.jquery.min.js',
66
  array(
67
  'source' => $this->getLocationUrl() . '/assets/js/settings.index.js',
68
  'dependencies' => array('chosen.jquery.min.js')
55
 
56
  public function getBackendCSS() {
57
  return array(
58
+ SG_PLUGIN_URL . '/app/assets/css/chosen.min.css',
59
  $this->getLocationUrl() . '/assets/css/settings.css'
60
  );
61
  }
62
 
63
  public function getBackendJS() {
64
  return array(
65
+ SG_PLUGIN_URL . '/app/assets/js/chosen.jquery.min.js',
66
  array(
67
  'source' => $this->getLocationUrl() . '/assets/js/settings.index.js',
68
  'dependencies' => array('chosen.jquery.min.js')
src/GridGallery/SocialSharing/Module.php CHANGED
@@ -82,16 +82,18 @@ class GridGallery_SocialSharing_Module extends GridGallery_Core_Module{
82
  $title = strip_tags(preg_replace('/<br[^>]*>/',' ', htmlspecialchars_decode($photoData->attachment['caption'])));
83
  $description = strip_tags(preg_replace('/<br[^>]*>/',' ', htmlspecialchars_decode($photoData->attachment['description'])));
84
 
85
- die($this->getEnvironment()->getTwig()->render(
86
  '@socialsharing/shareImage.twig',
87
  array(
88
- 'title' => $title,
89
- 'description' => $description,
90
- 'img_url' => $url,
91
- 'current_url' => $current_url,
92
- 'redirect_url' => $redirect_url,
93
  )
94
- ));
 
 
95
 
96
  }
97
  }
82
  $title = strip_tags(preg_replace('/<br[^>]*>/',' ', htmlspecialchars_decode($photoData->attachment['caption'])));
83
  $description = strip_tags(preg_replace('/<br[^>]*>/',' ', htmlspecialchars_decode($photoData->attachment['description'])));
84
 
85
+ $sh = $this->getEnvironment()->getTwig()->render(
86
  '@socialsharing/shareImage.twig',
87
  array(
88
+ 'title' => esc_html($title),
89
+ 'description' => esc_html($description),
90
+ 'img_url' => esc_url($url),
91
+ 'current_url' => esc_url($current_url),
92
+ 'redirect_url' => esc_url($redirect_url),
93
  )
94
+ );
95
+
96
+ die(wp_kses_post($sh));
97
 
98
  }
99
  }
src/GridGallery/Ui/Module.php CHANGED
@@ -65,21 +65,19 @@ class GridGallery_Ui_Module extends Rsc_Mvc_Module
65
  $url . '/app/assets/css/minimal/minimal.css',
66
  $url . '/app/assets/css/libraries/fontawesome/font-awesome.min.css',
67
  $this->getLocationUrl() . '/css/tooltipster.css',
68
- '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css',
69
- // '//cdn.jsdelivr.net/jquery.tooltipster/2.1.4/css/tooltipster.css',
70
- //'//fonts.googleapis.com/css?family=Montserrat',
71
  );
72
  }
73
 
74
  public function registerJSData() {
75
  wp_register_script('sg-ajax.js', $this->getLocationUrl() . '/js/ajax.js', array( 'jquery' ));
76
  wp_localize_script('sg-ajax.js', 'SupsysticGallery', array('nonce' => wp_create_nonce('supsystic-gallery')));
77
- // really assigned to /app/assets/js/grid-gallery.js Handle
78
- wp_localize_script('sg-ajax.js', 'sggParams', array('isRtl' => (int) is_rtl()));
79
  wp_localize_script('sg-ajax.js', 'sggStandartFontsList', $this->getStandardFontsList());
80
  if($this->getEnvironment()->isPro()) {
81
  if(version_compare($this->getEnvironment()->getConfig()->get('pro_plugin_version'), '2.7.6', '<')) {
82
- wp_enqueue_script('webfont-js', '//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js');
83
  }
84
  }
85
  }
65
  $url . '/app/assets/css/minimal/minimal.css',
66
  $url . '/app/assets/css/libraries/fontawesome/font-awesome.min.css',
67
  $this->getLocationUrl() . '/css/tooltipster.css',
68
+ SG_PLUGIN_URL . '/app/assets/css/jquery-ui.css',
 
 
69
  );
70
  }
71
 
72
  public function registerJSData() {
73
  wp_register_script('sg-ajax.js', $this->getLocationUrl() . '/js/ajax.js', array( 'jquery' ));
74
  wp_localize_script('sg-ajax.js', 'SupsysticGallery', array('nonce' => wp_create_nonce('supsystic-gallery')));
75
+ // really assigned to /app/assets/js/grid-gallery.js Handle
76
+ wp_localize_script('sg-ajax.js', 'sggParams', array('isRtl' => (int) is_rtl()));
77
  wp_localize_script('sg-ajax.js', 'sggStandartFontsList', $this->getStandardFontsList());
78
  if($this->getEnvironment()->isPro()) {
79
  if(version_compare($this->getEnvironment()->getConfig()->get('pro_plugin_version'), '2.7.6', '<')) {
80
+ wp_enqueue_script('webfont-js', SG_PLUGIN_URL . '/app/assets/js/webfont.js',);
81
  }
82
  }
83
  }
vendor/Rsc/Environment.php CHANGED
@@ -586,38 +586,6 @@ class Rsc_Environment
586
  return $config['page_url'] . (strpos($params, '?') === 0 ? '' : '?') . $params;
587
  }
588
 
589
- private function fc320fde997f9bea5c39d56e094bfb99()
590
- {
591
- add_filter(
592
- 'pre_set_site_transient_update_plugins',
593
- array($this, 'a02d088e733f2a3cd06e8ae6bb441a29')
594
- );
595
-
596
- add_filter(
597
- 'plugins_api',
598
- array($this, 'bf59a5cf52031db6c709c06104c159eb'),
599
- 10,
600
- 3
601
- );
602
- }
603
-
604
- public function a02d088e733f2a3cd06e8ae6bb441a29($checkedData)
605
- {
606
- return Rsc_Updater::getInstance(
607
- basename($this->getPluginPath()),
608
- 'index.php',
609
- $this->getPluginName()
610
- )->checkForPluginUpdate($checkedData);
611
- }
612
-
613
- public function bf59a5cf52031db6c709c06104c159eb($def, $action, $args)
614
- {
615
- return Rsc_Updater::getInstance(
616
- basename($this->getPluginPath()),
617
- 'index.php',
618
- $this->getPluginName()
619
- )->myPluginApiCall($def, $action, $args);
620
- }
621
  public function getLangCode2Letter() {
622
  $langCode = $this->getLangCode();
623
  return strlen($langCode) > 2 ? substr($langCode, 0, 2) : $langCode;
586
  return $config['page_url'] . (strpos($params, '?') === 0 ? '' : '?') . $params;
587
  }
588
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  public function getLangCode2Letter() {
590
  $langCode = $this->getLangCode();
591
  return strlen($langCode) > 2 ? substr($langCode, 0, 2) : $langCode;
vendor/Rsc/Mvc/Module.php CHANGED
@@ -150,16 +150,14 @@ class Rsc_Mvc_Module
150
  public function handle()
151
  {
152
  $action = $this->request->query->get('action', 'index') . 'Action';
153
-
154
  $controller = $this->getController();
155
-
156
  if (method_exists($controller, $action)) {
157
 
158
  $requireNonces = $controller->requireNonces();
159
 
160
  if (in_array($action, $requireNonces)) {
161
- $plugMenuSets = $this->getEnvironment()->getConfig()->get('plugin_menu');
162
- check_admin_referer($plugMenuSets['menu_slug']);
163
  }
164
 
165
  return call_user_func_array(array($controller, $action), array(
150
  public function handle()
151
  {
152
  $action = $this->request->query->get('action', 'index') . 'Action';
 
153
  $controller = $this->getController();
 
154
  if (method_exists($controller, $action)) {
155
 
156
  $requireNonces = $controller->requireNonces();
157
 
158
  if (in_array($action, $requireNonces)) {
159
+ $plugMenuSets = $this->getEnvironment()->getConfig()->get('plugin_menu');
160
+ check_admin_referer($plugMenuSets['menu_slug']);
161
  }
162
 
163
  return call_user_func_array(array($controller, $action), array(