").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m});
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/back-to-top/back-to-top.js b/public/assets/jquery/plugins/back-to-top/back-to-top.js
new file mode 100644
index 0000000..c58ee8a
--- /dev/null
+++ b/public/assets/jquery/plugins/back-to-top/back-to-top.js
@@ -0,0 +1,76 @@
+//** jQuery Scroll to Top Control script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com.
+//** Available/ usage terms at http://www.dynamicdrive.com (March 30th, 09')
+//** v1.1 (April 7th, 09'):
+//** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
+//** 2) Fixes scroll animation not working in Opera.
+
+
+var scrolltotop={
+ //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
+ //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
+ setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
+ controlHTML: '', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
+ controlattrs: {offsetx:10, offsety:10}, //offset of control relative to right/ bottom of window corner
+ anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
+
+ state: {isvisible:false, shouldvisible:false},
+
+ scrollup:function(){
+ if (!this.cssfixedsupport) //if control is positioned using JavaScript
+ this.$control.css({opacity:0}) //hide control immediately after clicking it
+ var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
+ if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
+ dest=jQuery('#'+dest).offset().top
+ else
+ dest=0
+ this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
+ },
+
+ keepfixed:function(){
+ var $window=jQuery(window)
+ var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
+ var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
+ this.$control.css({left:controlx+'px', top:controly+'px'})
+ },
+
+ togglecontrol:function(){
+ var scrolltop=jQuery(window).scrollTop()
+ if (!this.cssfixedsupport)
+ this.keepfixed()
+ this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
+ if (this.state.shouldvisible && !this.state.isvisible){
+ this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
+ this.state.isvisible=true
+ }
+ else if (this.state.shouldvisible==false && this.state.isvisible){
+ this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
+ this.state.isvisible=false
+ }
+ },
+
+ init:function(){
+ jQuery(document).ready(function($){
+ var mainobj=scrolltotop
+ var iebrws=document.all
+ mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
+ mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
+ mainobj.$control=$('
'+mainobj.controlHTML+'
')
+ .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
+ .attr({title:'Scroll Back to Top'})
+ .click(function(){mainobj.scrollup(); return false})
+ .appendTo('body')
+ if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
+ mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
+ mainobj.togglecontrol()
+ $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
+ mainobj.scrollup()
+ return false
+ })
+ $(window).bind('scroll resize', function(e){
+ mainobj.togglecontrol()
+ })
+ })
+ }
+}
+
+scrolltotop.init()
diff --git a/public/assets/jquery/plugins/fancybox/.gitattributes b/public/assets/jquery/plugins/fancybox/.gitattributes
new file mode 100644
index 0000000..f6bb280
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/.gitattributes
@@ -0,0 +1,7 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.gif binary
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/CHANGELOG.md b/public/assets/jquery/plugins/fancybox/CHANGELOG.md
new file mode 100644
index 0000000..07c987e
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/CHANGELOG.md
@@ -0,0 +1,115 @@
+fancyBox - Changelog
+=========
+
+### Version 2.1.3 - October 23, 2012
+
+* Fixed #426 - Broken IE7
+* Fixed #423 - Background flickering on iOS
+* Fixed #418 - Automatically Grow/Shrink and Center
+* Updated the script to work with jQuery 1.6
+* Media helper supports YouTube video series
+
+### Version 2.1.2 - October 15, 2012
+
+* Fixed #414 - Don't allow nextClick if there is only one item
+* Fixed #397 - Button helper 'Menu' not visible in IE7
+* Overlay can be opened/closed manually:
+* $.fancybox.helpers.overlay.open();
+* $.fancybox.helpers.overlay.open({closeClick : false});
+* $.fancybox.helpers.overlay.close();
+* Optimized for Internet Explorer 10 (Windows 8)
+
+### Version 2.1.1 - October 01, 2012
+
+* Fixed #357 - Converting values like 'auto' in getScalar()
+* Fixed #358 - Updated overlay background image
+* New "fancybox-href" and "fancybox-title" HTML5 data-attributes (#317)
+* Improved helpers:
+* - now they can have a property 'defaults' that contains default settings
+* - updated vimeo and youtube parsers for media helper
+* Content locking now can be turned off
+
+### Version 2.1.0 - August 20, 2012
+
+* Fixed #103 - DOM element re-injection after closing
+* Fixed #188 - navigation keys inside editable content
+* New animation directions (see https://github.com/fancyapps/fancyBox/issues/233#issuecomment-5512453)
+* New option "iframe" - it is now possible to separate scrolling for iframe and wrapping element; choose to preload
+* New option "swf" - brings back functionality from fancyBox v1
+* Improved media helper - better support for vimeo and youtube; links are now configurable
+* Rewritten overlay helper:
+* - new option "showEarly" - toggles if should be open before of after content is loaded
+* - Facebook-style (https://github.com/fancyapps/fancyBox/issues/24) and therefore uses image for background
+* Option "padding" accepts array (e.g., padding: [15, 50, 10, 5])
+* One of dimensions (width or height) can now be set to "auto" (option "autoSize" needs to be "false")
+* Updated callbacks:
+* - "beforeClose" is now called only once
+* - "afterLoad" receives current and previous object as arguments
+* Method "$.fancybox.update();" recalculates content width/height
+* Updated to work with jQuery v1.8
+
+### Version 2.0.6 - April 16, 2012
+
+* Fixed #188 - keystrokes in contenteditable
+* Fixed #171 - non-images should not be preloaded
+* Fixed #158 - 'closeClick: true' breaks gallery navigation
+* New "media" helper - detects and displays various media types
+* New option "groupAttr" - name of group selector attribute, default is "data-fancybox-group"
+* New feature - selector expressions in URLs, see #170
+* Improved 'overlay' helper to use "position: fixed"
+* Improved autoSize, fixed wrong height in some cases
+* Improved centering and iframe scrolling for iOS
+* Updated markup, new element '.fancybox-skin' is now used for styling
+
+### Version 2.0.5 - February 21, 2012
+
+* Fixed #155 - easing for prev/next animations
+* Fixed #153 - overriding "keys" options
+* Fixed #147 - IE7 problem with #hash links
+* Fixed #130 - changing dynamically data-fancybox-group
+* Fixed #126 - obey minWidth/minHeight
+* Fixed #118 - placement of loading icon and navigation arrows
+* Fixed #101 - "index" option not working
+* Fixed #94 - "orig" option not working
+* Fixed #80 - does not work on IE6
+* Fixed #72 - can't set overlay opacity to 0
+* Fixed #63 - properly set gallery index
+* New option "autoCenter" - toggles centering on window resize or scroll, disabled for mobile devices by default
+* New option "autoResize" - toggles responsivity, disabled for mobile devices by default
+* New option "preload" - number of images to preload
+* New feature to target mobile/desktop browsers using CSS, see #108
+* Changed ajax option defaults to "{ dataType: 'html', headers: { 'X-fancyBox': true } }", see #150 and #128
+* Updated loading icon for IE7, IE8
+* Calculates height of the iframe if 'autoSize' is set to 'true' and the iframe is on the same domain as the main page
+
+### Version 2.0.4 - December 12, 2011
+
+* Fixed #47 - fix overriding properties
+* New option "position" to thumbnail and button helpers
+
+
+### Version 2.0.3 - November 29, 2011
+
+* Fixed #29 - broken elastic transitions
+
+
+### Version 2.0.2 - November 28, 2011
+
+* Fixed slideshow
+* Fixed scrollbars issue when displayed a very tall image
+* New option "nextClick" - navigate to next gallery item when user clicks the content
+* New option "modal" - to disable navigation and closing
+* Add 'metadata' plugin support
+* Add ability to create groups using 'data-fancybox-group' attribute
+* Updated manual usage to match earlier releases
+
+
+### Version 2.0.1 - November 23, 2011
+
+* Fixed keyboard events inside form elements
+* Fixed manual usage
+
+
+### Version 2.0.0 - November 21, 2011
+
+First release - completely rewritten, many new features and updated graphics.
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/CHANGELOG.txt b/public/assets/jquery/plugins/fancybox/CHANGELOG.txt
new file mode 100644
index 0000000..07c987e
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/CHANGELOG.txt
@@ -0,0 +1,115 @@
+fancyBox - Changelog
+=========
+
+### Version 2.1.3 - October 23, 2012
+
+* Fixed #426 - Broken IE7
+* Fixed #423 - Background flickering on iOS
+* Fixed #418 - Automatically Grow/Shrink and Center
+* Updated the script to work with jQuery 1.6
+* Media helper supports YouTube video series
+
+### Version 2.1.2 - October 15, 2012
+
+* Fixed #414 - Don't allow nextClick if there is only one item
+* Fixed #397 - Button helper 'Menu' not visible in IE7
+* Overlay can be opened/closed manually:
+* $.fancybox.helpers.overlay.open();
+* $.fancybox.helpers.overlay.open({closeClick : false});
+* $.fancybox.helpers.overlay.close();
+* Optimized for Internet Explorer 10 (Windows 8)
+
+### Version 2.1.1 - October 01, 2012
+
+* Fixed #357 - Converting values like 'auto' in getScalar()
+* Fixed #358 - Updated overlay background image
+* New "fancybox-href" and "fancybox-title" HTML5 data-attributes (#317)
+* Improved helpers:
+* - now they can have a property 'defaults' that contains default settings
+* - updated vimeo and youtube parsers for media helper
+* Content locking now can be turned off
+
+### Version 2.1.0 - August 20, 2012
+
+* Fixed #103 - DOM element re-injection after closing
+* Fixed #188 - navigation keys inside editable content
+* New animation directions (see https://github.com/fancyapps/fancyBox/issues/233#issuecomment-5512453)
+* New option "iframe" - it is now possible to separate scrolling for iframe and wrapping element; choose to preload
+* New option "swf" - brings back functionality from fancyBox v1
+* Improved media helper - better support for vimeo and youtube; links are now configurable
+* Rewritten overlay helper:
+* - new option "showEarly" - toggles if should be open before of after content is loaded
+* - Facebook-style (https://github.com/fancyapps/fancyBox/issues/24) and therefore uses image for background
+* Option "padding" accepts array (e.g., padding: [15, 50, 10, 5])
+* One of dimensions (width or height) can now be set to "auto" (option "autoSize" needs to be "false")
+* Updated callbacks:
+* - "beforeClose" is now called only once
+* - "afterLoad" receives current and previous object as arguments
+* Method "$.fancybox.update();" recalculates content width/height
+* Updated to work with jQuery v1.8
+
+### Version 2.0.6 - April 16, 2012
+
+* Fixed #188 - keystrokes in contenteditable
+* Fixed #171 - non-images should not be preloaded
+* Fixed #158 - 'closeClick: true' breaks gallery navigation
+* New "media" helper - detects and displays various media types
+* New option "groupAttr" - name of group selector attribute, default is "data-fancybox-group"
+* New feature - selector expressions in URLs, see #170
+* Improved 'overlay' helper to use "position: fixed"
+* Improved autoSize, fixed wrong height in some cases
+* Improved centering and iframe scrolling for iOS
+* Updated markup, new element '.fancybox-skin' is now used for styling
+
+### Version 2.0.5 - February 21, 2012
+
+* Fixed #155 - easing for prev/next animations
+* Fixed #153 - overriding "keys" options
+* Fixed #147 - IE7 problem with #hash links
+* Fixed #130 - changing dynamically data-fancybox-group
+* Fixed #126 - obey minWidth/minHeight
+* Fixed #118 - placement of loading icon and navigation arrows
+* Fixed #101 - "index" option not working
+* Fixed #94 - "orig" option not working
+* Fixed #80 - does not work on IE6
+* Fixed #72 - can't set overlay opacity to 0
+* Fixed #63 - properly set gallery index
+* New option "autoCenter" - toggles centering on window resize or scroll, disabled for mobile devices by default
+* New option "autoResize" - toggles responsivity, disabled for mobile devices by default
+* New option "preload" - number of images to preload
+* New feature to target mobile/desktop browsers using CSS, see #108
+* Changed ajax option defaults to "{ dataType: 'html', headers: { 'X-fancyBox': true } }", see #150 and #128
+* Updated loading icon for IE7, IE8
+* Calculates height of the iframe if 'autoSize' is set to 'true' and the iframe is on the same domain as the main page
+
+### Version 2.0.4 - December 12, 2011
+
+* Fixed #47 - fix overriding properties
+* New option "position" to thumbnail and button helpers
+
+
+### Version 2.0.3 - November 29, 2011
+
+* Fixed #29 - broken elastic transitions
+
+
+### Version 2.0.2 - November 28, 2011
+
+* Fixed slideshow
+* Fixed scrollbars issue when displayed a very tall image
+* New option "nextClick" - navigate to next gallery item when user clicks the content
+* New option "modal" - to disable navigation and closing
+* Add 'metadata' plugin support
+* Add ability to create groups using 'data-fancybox-group' attribute
+* Updated manual usage to match earlier releases
+
+
+### Version 2.0.1 - November 23, 2011
+
+* Fixed keyboard events inside form elements
+* Fixed manual usage
+
+
+### Version 2.0.0 - November 21, 2011
+
+First release - completely rewritten, many new features and updated graphics.
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/README.md b/public/assets/jquery/plugins/fancybox/README.md
new file mode 100644
index 0000000..9434893
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/README.md
@@ -0,0 +1,217 @@
+fancyBox
+========
+
+fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages.
+
+More information and examples: http://www.fancyapps.com/fancybox/
+
+License: http://www.fancyapps.com/fancybox/#license
+
+Copyright (c) 2012 Janis Skarnelis - janis@fancyapps.com
+
+
+How to use
+----------
+
+To get started, download the plugin, unzip it and copy files to your website/application directory.
+Load files in the section of your HTML document. Make sure you also add the jQuery library.
+
+
+
+
+
+
+
+Create your links with a `title` if you want a title to be shown, and add a class:
+
+
+
+If you have a set of related items that you would like to group,
+additionally include a group name in the `rel` (or `data-fancybox-group`) attribute:
+
+
+
+
+Initialise the script like this:
+
+
+
+May also be passed an optional options object which will extend the default values. Example:
+
+
+
+Tip: Automatically group and apply fancyBox to all images:
+
+ $("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif']").attr('rel', 'gallery').fancybox();
+
+Script uses the `href` attribute of the matched elements to obtain the location of the content and to figure out content type you want to display.
+You can specify type directly by adding classname (fancybox.image, fancybox.iframe, etc) or `data-fancybox-type` attribute:
+
+ //Ajax:
+ Example
+ //or
+ Example
+
+ //Iframe:
+ Example
+
+ //Inline (will display an element with `id="example"`)
+ Example
+
+ //SWF:
+ Example
+
+ //Image:
+ Example
+
+Note, ajax requests are subject to the [same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy).
+If fancyBox will not be able to get content type, it will try to guess based on 'href' and will quit silently if would not succeed.
+(this is different from previsous versions where 'ajax' was used as default type or an error message was displayed).
+
+Advanced
+--------
+
+### Helpers
+
+Helpers provide a simple mechanism to extend the capabilities of fancyBox. There are two built-in helpers - 'overlay' and 'title'.
+You can disable them, set custom options or enable other helpers. Examples:
+
+ //Disable title helper
+ $(".fancybox").fancybox({
+ helpers: {
+ title: null
+ }
+ });
+
+ //Disable overlay helper
+ $(".fancybox").fancybox({
+ helpers: {
+ overlay : null
+ }
+ });
+
+ //Change title position and overlay color
+ $(".fancybox").fancybox({
+ helpers: {
+ title : {
+ type : 'inside'
+ },
+ overlay : {
+ css : {
+ 'background' : 'rgba(255,255,255,0.5)'
+ }
+ }
+ }
+ });
+
+ //Enable thumbnail helper and set custom options
+ $(".fancybox").fancybox({
+ helpers: {
+ thumbs : {
+ width: 50,
+ height: 50
+ }
+ }
+ });
+
+
+### API
+
+Also available are event driven callback methods. The `this` keyword refers to the current or upcoming object (depends on callback method). Here is how you can change title:
+
+ $(".fancybox").fancybox({
+ beforeLoad : function() {
+ this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
+
+ /*
+ "this.element" refers to current element, so you can, for example, use the "alt" attribute of the image to store the title:
+ this.title = $(this.element).find('img').attr('alt');
+ */
+ }
+ });
+
+It`s possible to open fancyBox programmatically in various ways:
+
+ //HTML content:
+ $.fancybox( '
Lorem Lipsum
Lorem lipsum
', {
+ title : 'Custom Title'
+ });
+
+ //DOM element:
+ $.fancybox( $("#inline"), {
+ title : 'Custom Title'
+ });
+
+ //Custom object:
+ $.fancybox({
+ href: 'example.jpg',
+ title : 'Custom Title'
+ });
+
+ //Array of objects:
+ $.fancybox([
+ {
+ href: 'example1.jpg',
+ title : 'Custom Title 1'
+ },
+ {
+ href: 'example2.jpg',
+ title : 'Custom Title 2'
+ }
+ ], {
+ padding: 0
+ });
+
+There are several methods that allow you to interact with and manipulate fancyBox, example:
+
+ //Close fancybox:
+ $.fancybox.close();
+
+There is a simply way to access wrapping elements using JS:
+
+ $.fancybox.wrap
+ $.fancybox.skin
+ $.fancybox.outer
+ $.fancybox.inner
+
+You can override CSS to customize the look. For example, make navigation arrows always visible,
+change width and move them outside of area (use this snippet after including fancybox.css):
+
+ .fancybox-nav span {
+ visibility: visible;
+ }
+
+ .fancybox-nav {
+ width: 80px;
+ }
+
+ .fancybox-prev {
+ left: -80px;
+ }
+
+ .fancybox-next {
+ right: -80px;
+ }
+
+In that case, you might want to increase space around box:
+
+ $(".fancybox").fancybox({
+ margin : [20, 60, 20, 60]
+ });
+
+
+Bug tracker
+-----------
+
+Have a bug? Please create an issue on GitHub at https://github.com/fancyapps/fancyBox/issues
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/README.txt b/public/assets/jquery/plugins/fancybox/README.txt
new file mode 100644
index 0000000..9434893
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/README.txt
@@ -0,0 +1,217 @@
+fancyBox
+========
+
+fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages.
+
+More information and examples: http://www.fancyapps.com/fancybox/
+
+License: http://www.fancyapps.com/fancybox/#license
+
+Copyright (c) 2012 Janis Skarnelis - janis@fancyapps.com
+
+
+How to use
+----------
+
+To get started, download the plugin, unzip it and copy files to your website/application directory.
+Load files in the section of your HTML document. Make sure you also add the jQuery library.
+
+
+
+
+
+
+
+Create your links with a `title` if you want a title to be shown, and add a class:
+
+
+
+If you have a set of related items that you would like to group,
+additionally include a group name in the `rel` (or `data-fancybox-group`) attribute:
+
+
+
+
+Initialise the script like this:
+
+
+
+May also be passed an optional options object which will extend the default values. Example:
+
+
+
+Tip: Automatically group and apply fancyBox to all images:
+
+ $("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif']").attr('rel', 'gallery').fancybox();
+
+Script uses the `href` attribute of the matched elements to obtain the location of the content and to figure out content type you want to display.
+You can specify type directly by adding classname (fancybox.image, fancybox.iframe, etc) or `data-fancybox-type` attribute:
+
+ //Ajax:
+ Example
+ //or
+ Example
+
+ //Iframe:
+ Example
+
+ //Inline (will display an element with `id="example"`)
+ Example
+
+ //SWF:
+ Example
+
+ //Image:
+ Example
+
+Note, ajax requests are subject to the [same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy).
+If fancyBox will not be able to get content type, it will try to guess based on 'href' and will quit silently if would not succeed.
+(this is different from previsous versions where 'ajax' was used as default type or an error message was displayed).
+
+Advanced
+--------
+
+### Helpers
+
+Helpers provide a simple mechanism to extend the capabilities of fancyBox. There are two built-in helpers - 'overlay' and 'title'.
+You can disable them, set custom options or enable other helpers. Examples:
+
+ //Disable title helper
+ $(".fancybox").fancybox({
+ helpers: {
+ title: null
+ }
+ });
+
+ //Disable overlay helper
+ $(".fancybox").fancybox({
+ helpers: {
+ overlay : null
+ }
+ });
+
+ //Change title position and overlay color
+ $(".fancybox").fancybox({
+ helpers: {
+ title : {
+ type : 'inside'
+ },
+ overlay : {
+ css : {
+ 'background' : 'rgba(255,255,255,0.5)'
+ }
+ }
+ }
+ });
+
+ //Enable thumbnail helper and set custom options
+ $(".fancybox").fancybox({
+ helpers: {
+ thumbs : {
+ width: 50,
+ height: 50
+ }
+ }
+ });
+
+
+### API
+
+Also available are event driven callback methods. The `this` keyword refers to the current or upcoming object (depends on callback method). Here is how you can change title:
+
+ $(".fancybox").fancybox({
+ beforeLoad : function() {
+ this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
+
+ /*
+ "this.element" refers to current element, so you can, for example, use the "alt" attribute of the image to store the title:
+ this.title = $(this.element).find('img').attr('alt');
+ */
+ }
+ });
+
+It`s possible to open fancyBox programmatically in various ways:
+
+ //HTML content:
+ $.fancybox( '
Lorem Lipsum
Lorem lipsum
', {
+ title : 'Custom Title'
+ });
+
+ //DOM element:
+ $.fancybox( $("#inline"), {
+ title : 'Custom Title'
+ });
+
+ //Custom object:
+ $.fancybox({
+ href: 'example.jpg',
+ title : 'Custom Title'
+ });
+
+ //Array of objects:
+ $.fancybox([
+ {
+ href: 'example1.jpg',
+ title : 'Custom Title 1'
+ },
+ {
+ href: 'example2.jpg',
+ title : 'Custom Title 2'
+ }
+ ], {
+ padding: 0
+ });
+
+There are several methods that allow you to interact with and manipulate fancyBox, example:
+
+ //Close fancybox:
+ $.fancybox.close();
+
+There is a simply way to access wrapping elements using JS:
+
+ $.fancybox.wrap
+ $.fancybox.skin
+ $.fancybox.outer
+ $.fancybox.inner
+
+You can override CSS to customize the look. For example, make navigation arrows always visible,
+change width and move them outside of area (use this snippet after including fancybox.css):
+
+ .fancybox-nav span {
+ visibility: visible;
+ }
+
+ .fancybox-nav {
+ width: 80px;
+ }
+
+ .fancybox-prev {
+ left: -80px;
+ }
+
+ .fancybox-next {
+ right: -80px;
+ }
+
+In that case, you might want to increase space around box:
+
+ $(".fancybox").fancybox({
+ margin : [20, 60, 20, 60]
+ });
+
+
+Bug tracker
+-----------
+
+Have a bug? Please create an issue on GitHub at https://github.com/fancyapps/fancyBox/issues
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/demo/1_b.jpg b/public/assets/jquery/plugins/fancybox/demo/1_b.jpg
new file mode 100644
index 0000000..0f662e3
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/1_b.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/1_s.jpg b/public/assets/jquery/plugins/fancybox/demo/1_s.jpg
new file mode 100644
index 0000000..ef0bd55
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/1_s.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/2_b.jpg b/public/assets/jquery/plugins/fancybox/demo/2_b.jpg
new file mode 100644
index 0000000..977cb6a
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/2_b.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/2_s.jpg b/public/assets/jquery/plugins/fancybox/demo/2_s.jpg
new file mode 100644
index 0000000..258cbcb
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/2_s.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/3_b.jpg b/public/assets/jquery/plugins/fancybox/demo/3_b.jpg
new file mode 100644
index 0000000..e007a51
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/3_b.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/3_s.jpg b/public/assets/jquery/plugins/fancybox/demo/3_s.jpg
new file mode 100644
index 0000000..7206f24
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/3_s.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/4_b.jpg b/public/assets/jquery/plugins/fancybox/demo/4_b.jpg
new file mode 100644
index 0000000..a3a12a6
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/4_b.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/4_s.jpg b/public/assets/jquery/plugins/fancybox/demo/4_s.jpg
new file mode 100644
index 0000000..b9ea423
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/4_s.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/5_b.jpg b/public/assets/jquery/plugins/fancybox/demo/5_b.jpg
new file mode 100644
index 0000000..ea1cfbc
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/5_b.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/5_s.jpg b/public/assets/jquery/plugins/fancybox/demo/5_s.jpg
new file mode 100644
index 0000000..989975d
Binary files /dev/null and b/public/assets/jquery/plugins/fancybox/demo/5_s.jpg differ
diff --git a/public/assets/jquery/plugins/fancybox/demo/ajax.txt b/public/assets/jquery/plugins/fancybox/demo/ajax.txt
new file mode 100644
index 0000000..0850e80
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/demo/ajax.txt
@@ -0,0 +1,15 @@
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas fermentum ante et sapien dignissim in viverra magna feugiat. Donec tempus ipsum nec neque dignissim quis eleifend eros gravida. Praesent nisi massa, sodales quis tincidunt ac, semper quis risus. In suscipit nisl sed leo aliquet consequat. Integer vitae augue in risus porttitor pellentesque eu eget odio. Fusce ut sagittis quam. Morbi aliquam interdum blandit. Integer pharetra tempor velit, aliquam dictum justo tempus sed. Morbi congue fringilla justo a feugiat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis metus et nisl consectetur pharetra. Nam bibendum turpis eu metus luctus eu volutpat sem molestie. Nam sollicitudin porttitor lorem, ac ultricies est venenatis eu. Ut dignissim elit et orci feugiat ac placerat purus euismod. Ut mi lorem, cursus et sagittis elementum, luctus ac massa.
+
+
+ Phasellus et ligula vel diam ullamcorper volutpat. Integer rhoncus rhoncus aliquam. Aliquam erat volutpat. Aenean luctus vestibulum placerat. Quisque quam neque, lacinia aliquet eleifend ac, aliquet blandit felis. Curabitur porta ultricies dui, sit amet mattis quam euismod a. Ut eleifend scelerisque neque, sit amet accumsan odio consequat ut. Proin facilisis auctor elit sed accumsan. Cras dapibus nisl in nisi rhoncus laoreet. Nullam pellentesque tortor libero, eget facilisis ipsum. Donec ultricies tellus tellus, in tincidunt purus. Nullam in est aliquam velit scelerisque blandit. In tincidunt, magna a dapibus imperdiet, quam urna elementum leo, vitae rhoncus nisl velit cursus velit. In dignissim sem ac mauris rhoncus ornare.
+
+
+ Duis imperdiet velit vel quam malesuada suscipit imperdiet tellus hendrerit. Mauris vestibulum odio mauris, ut placerat leo. Mauris quis neque at tellus feugiat congue id non enim. Nam vehicula posuere nulla eget vehicula. Donec pretium purus nec ligula porta eu laoreet sapien venenatis. Nulla facilisi. Phasellus eget mi enim. Phasellus molestie tincidunt ultrices. Aenean id sem a tellus lobortis tincidunt. Nam laoreet nulla vel velit tincidunt ac rutrum libero malesuada. Nulla consequat dolor quis nisl tempor fermentum. Integer sodales pretium varius. Aenean a leo vitae odio dictum dignissim malesuada nec dolor. Phasellus adipiscing viverra est, ac sagittis libero sagittis quis. Sed interdum dapibus nunc et fringilla. Nunc vel velit et urna laoreet bibendum.
+
+
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/demo/iframe.html b/public/assets/jquery/plugins/fancybox/demo/iframe.html
new file mode 100644
index 0000000..b586e15
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/demo/iframe.html
@@ -0,0 +1,26 @@
+
+
+
+ fancyBox - iframe demo
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque justo ac eros consectetur bibendum. In hac habitasse platea dictumst. Nulla aliquam turpis et tellus elementum luctus. Duis sit amet rhoncus velit. Duis nisl ligula, mattis interdum blandit laoreet, mattis id ante. Cras pulvinar lacus vitae nisi egestas non euismod neque bibendum. Vestibulum faucibus libero id ante molestie ultricies. Vestibulum quis nibh felis. Vestibulum libero nisl, vehicula vel ullamcorper sit amet, tristique sit amet augue. Etiam urna neque, porttitor sed sodales lacinia, posuere a nisl. Vestibulum blandit neque in sapien volutpat ac condimentum sapien auctor. Ut imperdiet venenatis ultricies. Phasellus accumsan, sem eu placerat commodo, felis purus commodo ipsum, sit amet vulputate orci est viverra est.
+
+
+
+ Aenean velit est, condimentum ut iaculis ut, accumsan at mi. Maecenas velit mi, venenatis ut condimentum at, ultrices vel tortor. Curabitur pharetra ornare dapibus. Ut volutpat cursus semper. In hac habitasse platea dictumst. Donec eu iaculis ipsum. Morbi eu dolor velit, a semper nunc.
+
+
+
\ No newline at end of file
diff --git a/public/assets/jquery/plugins/fancybox/demo/index.html b/public/assets/jquery/plugins/fancybox/demo/index.html
new file mode 100644
index 0000000..b9764aa
--- /dev/null
+++ b/public/assets/jquery/plugins/fancybox/demo/index.html
@@ -0,0 +1,307 @@
+
+
+
+ fancyBox - Fancy jQuery Lightbox Alternative | Demonstration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ fancyBox will try to guess content type from href attribute but you can specify it directly by adding classname (fancybox.image, fancybox.iframe, etc).
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis mi eu elit tempor facilisis id et neque. Nulla sit amet sem sapien. Vestibulum imperdiet porta ante ac ornare. Nulla et lorem eu nibh adipiscing ultricies nec at lacus. Cras laoreet ultricies sem, at blandit mi eleifend aliquam. Nunc enim ipsum, vehicula non pretium varius, cursus ac tortor. Vivamus fringilla congue laoreet. Quisque ultrices sodales orci, quis rhoncus justo auctor in. Phasellus dui eros, bibendum eu feugiat ornare, faucibus eu mi. Nunc aliquet tempus sem, id aliquam diam varius ac. Maecenas nisl nunc, molestie vitae eleifend vel, iaculis sed magna. Aenean tempus lacus vitae orci posuere porttitor eget non felis. Donec lectus elit, aliquam nec eleifend sit amet, vestibulum sed nunc.
+
+
+
+
+ Ajax example will not run from your local computer and requires a server to run.
+
+
+
Button helper
+
+
+
+
+
+
+
+
+
+
+
Thumbnail helper
+
+
+
+
+
+
+
+
+
+
+
Media helper
+
+ Will not run from your local computer, requires a server to run.
+
+
\ No newline at end of file
diff --git a/resources/theme/frontend/metronic/widgets/servicebox.blade.php b/resources/theme/frontend/metronic/widgets/servicebox.blade.php
new file mode 100644
index 0000000..749dfea
--- /dev/null
+++ b/resources/theme/frontend/metronic/widgets/servicebox.blade.php
@@ -0,0 +1,14 @@
+
+
+ @foreach ($page_servicebox as $o)
+
+
+
+ {{ $o['title'] }}
+
+
{{ $o['text'] }}
+
+
+ @endforeach
+
+
\ No newline at end of file
diff --git a/resources/theme/frontend/metronic/widgets/slider.blade.php b/resources/theme/frontend/metronic/widgets/slider.blade.php
new file mode 100644
index 0000000..532e06a
--- /dev/null
+++ b/resources/theme/frontend/metronic/widgets/slider.blade.php
@@ -0,0 +1,87 @@
+{{-- @todo needs to be optimised --}}
+
+