fotoramajs 3.0.8 → 4.1.17

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,7 @@
1
+ *.DS_Store
2
+ *~
3
+
4
+ pkg/
5
+ build/
6
+
7
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,60 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ fotoramajs (4.1.17)
5
+ jquery-rails (>= 2.1.0)
6
+ sprockets (>= 2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (4.0.0)
12
+ activesupport (= 4.0.0)
13
+ builder (~> 3.1.0)
14
+ erubis (~> 2.7.0)
15
+ rack (~> 1.5.2)
16
+ rack-test (~> 0.6.2)
17
+ activesupport (4.0.0)
18
+ i18n (~> 0.6, >= 0.6.4)
19
+ minitest (~> 4.2)
20
+ multi_json (~> 1.3)
21
+ thread_safe (~> 0.1)
22
+ tzinfo (~> 0.3.37)
23
+ atomic (1.1.10)
24
+ builder (3.1.4)
25
+ erubis (2.7.0)
26
+ hike (1.2.3)
27
+ httpclient (2.3.3)
28
+ i18n (0.6.4)
29
+ jquery-rails (3.0.4)
30
+ railties (>= 3.0, < 5.0)
31
+ thor (>= 0.14, < 2.0)
32
+ minitest (4.7.5)
33
+ multi_json (1.7.7)
34
+ rack (1.5.2)
35
+ rack-test (0.6.2)
36
+ rack (>= 1.0)
37
+ railties (4.0.0)
38
+ actionpack (= 4.0.0)
39
+ activesupport (= 4.0.0)
40
+ rake (>= 0.8.7)
41
+ thor (>= 0.18.1, < 2.0)
42
+ rake (10.1.0)
43
+ sprockets (2.10.0)
44
+ hike (~> 1.2)
45
+ multi_json (~> 1.0)
46
+ rack (~> 1.0)
47
+ tilt (~> 1.1, != 1.3.0)
48
+ thor (0.18.1)
49
+ thread_safe (0.1.0)
50
+ atomic
51
+ tilt (1.4.1)
52
+ tzinfo (0.3.37)
53
+
54
+ PLATFORMS
55
+ ruby
56
+
57
+ DEPENDENCIES
58
+ fotoramajs!
59
+ httpclient (~> 2.2)
60
+ thor
data/MIT-LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ © 2011—2013, Artem Polikarpov
2
+ http://fotorama.io/
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the “Software”), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
data/README.md CHANGED
@@ -5,14 +5,9 @@
5
5
  This is packager, that allows you to simply install and maintain Fotorama
6
6
  by RubyGem in Rails Assets Pipeline.
7
7
 
8
- Note, that Fotorama is a [commercial] product ($33 per domain name) and is not
9
- an open-source software project. Non‑commercial and personal use of Fotorama
10
- is typically free, but is always approved by Fotorama’s author.
11
-
12
8
  Fotorama is created and maintained by [Artem Polikarpov].
13
9
 
14
- [Fotorama]: http://fotoramajs.com/
15
- [commercial]: http://fotoramajs.com/license/
10
+ [Fotorama]: http://fotorama.io/
16
11
  [Artem Polikarpov]: http://artpolikarpov.ru/
17
12
 
18
13
  ## Install
@@ -45,4 +40,8 @@ Fotorama is created and maintained by [Artem Polikarpov].
45
40
  6. Use Fotorama by [documentation].
46
41
 
47
42
  [jquery-rails-cdn]: https://github.com/kenn/jquery-rails-cdn
48
- [documentation]: http://fotoramajs.com/set-up/
43
+ [documentation]: http://fotorama.io/use/
44
+
45
+ ## Development
46
+
47
+ To update original library, you can use `rake update` task.
data/Rakefile ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require "bundler/gem_tasks"
4
+
5
+ desc "Update assets from Fotorama repo"
6
+ task :update do
7
+ require File.expand_path('../lib/fotoramajs/updater', __FILE__)
8
+ files = Updater.new
9
+
10
+ puts "Fetching"
11
+ files.fetch
12
+
13
+ puts "Coverting"
14
+ files.convert
15
+
16
+ puts "Updated"
17
+ end
@@ -0,0 +1,26 @@
1
+ # encoding: utf-8
2
+
3
+ require './lib/fotoramajs/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'fotoramajs'
7
+ s.version = Fotoramajs::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['Artem Polikarpov']
10
+ s.email = ['fotoramajs@gmail.com']
11
+ s.license = 'MIT'
12
+ s.homepage = 'http://fotorama.io/'
13
+ s.summary = 'Fotorama is a simple, stunning, powerful JavaScript gallery.'
14
+ s.description = 'Fotorama is a simple, stunning, powerful JavaScript ' +
15
+ 'gallery. This is a gem, that allow you to simple install ' +
16
+ 'and maintain Fotorama in Rails Assets Pipeline.'
17
+
18
+ s.add_dependency 'sprockets', '>= 2'
19
+ s.add_dependency 'jquery-rails', '>= 2.1.0'
20
+
21
+ s.add_development_dependency "httpclient", "~> 2.2"
22
+ s.add_development_dependency "thor"
23
+
24
+ s.files = `git ls-files`.split("\n")
25
+ s.require_path = 'lib'
26
+ end
@@ -0,0 +1,49 @@
1
+ require "thor"
2
+ require "json"
3
+ require "httpclient"
4
+
5
+ class Updater < Thor
6
+ REPO = "artpolikarpov/fotorama"
7
+ include Thor::Actions
8
+
9
+ desc "fetch source files", "fetch source files from GitHub"
10
+ def fetch
11
+ tag = fetch_tags.last
12
+ self.destination_root = "vendor/assets"
13
+
14
+ remote = "http://fotorama.s3.amazonaws.com/#{tag}"
15
+ get "#{remote}/fotorama.css", "stylesheets/fotorama.css"
16
+ get "#{remote}/fotorama.js", "javascripts/fotorama.js"
17
+
18
+ %w(fotorama.png fotorama@2x.png).each do |img|
19
+ get "#{remote}/#{img}", "images/#{img}"
20
+ end
21
+
22
+ self.destination_root = ""
23
+ create_file "lib/fotoramajs/version.rb" do
24
+ "module Fotoramajs\n VERSION = \"#{tag}\"\nend"
25
+ end
26
+ end
27
+
28
+ desc "convert css to scss file", "convert css to scss file"
29
+ def convert
30
+ self.destination_root = "vendor/assets"
31
+
32
+ inside destination_root do
33
+ conveted = "stylesheets/fotorama.css.scss"
34
+ run("mv stylesheets/fotorama.css #{conveted}")
35
+ gsub_file conveted, '(fotorama.png)', "('fotorama.png')"
36
+ gsub_file conveted, '(fotorama@2x.png)', "('fotorama@2x.png')"
37
+ gsub_file conveted, 'url(', 'image-url('
38
+ end
39
+ end
40
+
41
+ private
42
+
43
+ def fetch_tags
44
+ http = HTTPClient.new
45
+ body = http.get("https://api.github.com/repos/#{REPO}/tags").body
46
+ response = JSON.parse(body)
47
+ response.map { |tag| Gem::Version.new(tag['name']) }.sort
48
+ end
49
+ end
@@ -0,0 +1,3 @@
1
+ module Fotoramajs
2
+ VERSION = "4.1.17"
3
+ end
data/lib/fotoramajs.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Used only for Ruby on Rails gem to tell, that gem contain `lib/assets`.
2
- module Fotorama
2
+ module Fotoramajs
3
3
  module Rails
4
4
  class Engine < ::Rails::Engine
5
5
  end
Binary file
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Fotorama 4.1.17 | http://fotorama.io/license/
3
+ */
4
+ !function(a,b,c,d){"use strict";function e(a){var b="bez_"+c.makeArray(arguments).join("_").replace(".","p");if("function"!=typeof c.easing[b]){var d=function(a,b){var c=[null,null],d=[null,null],e=[null,null],f=function(f,g){return e[g]=3*a[g],d[g]=3*(b[g]-a[g])-e[g],c[g]=1-e[g]-d[g],f*(e[g]+f*(d[g]+f*c[g]))},g=function(a){return e[0]+a*(2*d[0]+3*c[0]*a)},h=function(a){for(var b,c=a,d=0;++d<14&&(b=f(c,0)-a,!(Math.abs(b)<.001));)c-=b/g(c);return c};return function(a){return f(h(a),1)}};c.easing[b]=function(b,c,e,f,g){return f*d([a[0],a[1]],[a[2],a[3]])(c/g)+e}}return b}function f(){}function g(a,b,c){return Math.max(isNaN(b)?-1/0:b,Math.min(isNaN(c)?1/0:c,a))}function h(a){return a.match(/^m/)&&a.match(/-?\d+/g)[4]}function i(a){return lc?+h(a.css("transform")):+a.css("left").replace("px","")}function j(a){var b={};return lc?b.transform="translate3d("+a+"px,0,0)":b.left=a,b}function k(a){return{"transition-duration":a+"ms"}}function l(a,b){return+String(a).replace(b||"px","")}function m(a){return/%$/.test(a)&&l(a,"%")}function n(a){return(!!l(a)||!!l(a,"%"))&&a}function o(a,b,c,d){return(a-(d||0))*(b+(c||0))}function p(a,b,c,d){return-Math.round(a/(b+(c||0))-(d||0))}function q(a){var b=a.data();if(!b.tEnd){var c=a[0],d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",msTransition:"MSTransitionEnd",transition:"transitionend"};c.addEventListener(d[T.prefixed("transition")],function(a){b.tProp&&a.propertyName.match(b.tProp)&&b.onEndFn.call(this)}),b.tEnd=!0}}function r(a,b,c){var d,e=a.data();e&&(e.onEndFn=function(){d||(c.call(this),d=!0)},e.tProp=b,q(a))}function s(a){if(lc?a.css(k(0)).data("onEndFn",f):a.stop(),a.length){var b=i(a);return a.css(j(b)),b}}function t(a,b){return Math.round(a+(b-a)/1.5)}function u(){return u.p=u.p||("https://"===location.protocol?"https://":"http://"),u.p}function v(a){var c=b.createElement("a");return c.href=a,c}function w(a,b){if("string"!=typeof a)return a;a=v(a);var c,d;if(a.host.match(/youtube\.com/)&&a.search){if(c=a.search.split("v=")[1]){var e=c.indexOf("&");-1!==e&&(c=c.substring(0,e)),d="youtube"}}else a.host.match(/youtube\.com|youtu\.be/)?(c=a.pathname.replace(/^\/(embed\/|v\/)?/,"").replace(/\/.*/,""),d="youtube"):a.host.match(/vimeo\.com/)&&(d="vimeo",c=a.pathname.replace(/^\/(video\/)?/,"").replace(/\/.*/,""));return c&&d||!b||(c=a.href,d="custom"),c?{id:c,type:d}:!1}function x(a,b,d){var e,f,g=a.video;return"youtube"===g.type?(f=u()+"img.youtube.com/vi/"+g.id+"/default.jpg",e=f.replace(/\/default.jpg$/,"/hqdefault.jpg"),a.thumbsReady=!0):"vimeo"===g.type?c.ajax({url:u()+"vimeo.com/api/v2/video/"+g.id+".json",dataType:"jsonp",success:function(c){a.thumbsReady=!0,y(b,{img:c[0].thumbnail_large,thumb:c[0].thumbnail_small},a.i,d)}}):a.thumbsReady=!0,{img:e,thumb:f}}function y(a,b,c,d){for(var e=0,f=a.length;f>e;e++){var g=a[e];if(g.i===c&&g.thumbsReady){d.splice(e,1,{i:c,video:g.video,videoReady:!0,caption:g.caption,img:g.img||b.img,thumb:g.thumb||b.thumb,id:g.id,fit:g.fit});break}}}function z(a){function b(a,b){var c=a.data(),d=a.children("img").eq(0),e=a.attr("href"),f=a.attr("src"),g=d.attr("src"),h=c.video,i=b?w(e,h===!0):!1;return i?e=!1:i=w(h,h),{video:i,img:c.img||e||f||g,thumb:c.thumb||g||f||e}}var d=[];return a.children().each(function(){var a=c(this),e=c.extend(a.data(),{id:a.attr("id")});if(a.is("a, img"))c.extend(e,b(a,!0));else{if(a.is(":empty"))return;c.extend(e,{html:this,_html:a.html()})}d.push(e)}),d}function A(a){return 0===a.offsetWidth&&0===a.offsetHeight}function B(a,b,c){a()?b():setTimeout(function(){B(a,b)},c||100)}function C(a){location.replace(location.protocol+"//"+location.host+location.pathname.replace(/^\/?/,"/")+location.search+"#"+a)}function D(a,b,c){var d=a.data(),e=d.measures;if(e&&(!d.l||d.l.W!==e.width||d.l.H!==e.height||d.l.r!==e.ratio||d.l.w!==b.w||d.l.h!==b.h||d.l.m!==c)){var f=e.width,h=e.height,i=b.w/b.h,j=e.ratio>=i,k="scale-down"===c,l="contain"===c,m="cover"===c;j&&(k||l)||!j&&m?(f=g(b.w,0,k?f:1/0),h=f/e.ratio):(j&&m||!j&&(k||l))&&(h=g(b.h,0,k?h:1/0),f=h*e.ratio),a.css({width:Math.round(f),height:Math.round(h),marginLeft:Math.round(-f/2),marginTop:Math.round(-h/2)}),d.l={W:e.width,H:e.height,r:e.ratio,w:b.w,h:b.h,m:c}}}function E(a,b){var c=a[0];c.styleSheet?c.styleSheet.cssText=b:a.html(b)}function F(a,b,c){return b===c?!1:b>=a?"left":a>=c?"right":"left right"}function G(a,b,c){if(!c)return!1;var d;if(!isNaN(a))return+a;for(var e=0,f=b.length;f>e;e++){var g=b[e];if(g.id===a){d=e;break}}return d}function H(a,b,d){d=d||{},a.each(function(){var a,e=c(this),g=e.data();g.clickOn||(g.clickOn=!0,c.extend(M(e,{onStart:function(b){a=b,(d.onStart||f).call(this,b)},onMove:d.onMove||f,onEnd:function(c){c.moved||d.tail.checked||b.call(this,a)}}),d.tail))})}function I(a,b){return'<div class="'+a+'">'+(b||"")+"</div>"}function J(a,b){var d=Math.round(b.pos),e=b.onEnd||f;"undefined"!=typeof b.overPos&&b.overPos!==b.pos&&(d=b.overPos,e=function(){J(a,c.extend({},b,{overPos:b.pos,time:Math.max(oc,b.time/2)}))});var g=j(d);lc?(a.css(c.extend(k(b.time),g)),b.time>10?r(a,"transform",e,b.time):e()):a.stop().animate(g,b.time,uc,e)}function K(a,b,d,e){var g=a,h=b,i="crossfade"===e.method;a=a||c(a),b=b||c(b);var j=function(){j.done||((e.onEnd||f)(),j.done=!0)},l=k(e.time),m=k(0),n={opacity:0},o={opacity:1};d.removeClass(Ib+" "+Hb),a.addClass(Ib),b.addClass(Hb),lc?(s(a),s(b),i&&h&&a.css(c.extend(m,n)).width(),a.css(c.extend(i?l:m,o)),b.css(c.extend(l,n)),e.time>10&&(g||h)?(r(a,"opacity",j,e.time),r(b,"opacity",j,e.time)):j()):(a.stop(),b.stop(),h&&a.fadeTo(0,0),a.fadeTo(e.time,1,j),i&&b.fadeTo(e.time,0),g||h||j())}function L(a,b){a._x=b?a.touches[0].pageX:a.pageX,a._y=b?a.touches[0].pageY:a.pageY}function M(a,b){function d(a){return m=c(a.target),s.checked=i=l=p=q=!1,h||k||a.touches&&a.touches.length>1||a.which>1||$&&$.type!==a.type&&ab||(p=b.select&&m.is(b.select,r))?p:(o=a.type.match("touch"),q=m.is("a, a *",r),L(a,o),$=a,_=a.type.replace(/down|start/,"move"),j=a,n=s.control,(b.onStart||f).call(r,a,{control:n,$target:m}),h=k=!0,o||a.preventDefault(),void 0)}function e(a){if(!h||a.touches&&a.touches.length>1)return g(),void 0;if(_===a.type){L(a,o);var c=Math.abs(a._x-j._x),d=Math.abs(a._y-j._y),e=c-d,k=!s.stable||e>=3,m=-3>=e;l||(l=!(!k&&!m)),o&&!s.checked?((k||m)&&(s.checked=!0,i=k),(!s.checked||i)&&a.preventDefault()):!o||i?(a.preventDefault(),(b.onMove||f).call(r,a)):h=!1,s.checked=s.checked||k||m}}function g(a){var c=h;k=s.control=h=!1,!c||q&&!s.checked||(a&&a.preventDefault(),ab=!0,clearTimeout(bb),bb=setTimeout(function(){ab=!1},1e3),(b.onEnd||f).call(r,{moved:!!l,$target:m,control:n,startEvent:j,aborted:!a,touch:o}))}var h,i,j,k,l,m,n,o,p,q,r=a[0],s={};return r.addEventListener&&(r.addEventListener("touchstart",d),r.addEventListener("touchmove",e),r.addEventListener("touchend",g)),a.on("mousedown",d),ic.on("mousemove",e).on("mouseup",g),a.on("click","a",function(a){s.checked&&a.preventDefault()}),s}function N(a,b){function d(c){k=l=c._x,p=[[(new Date).getTime(),k]],m=n=s(a),z=C.stable=!(m%v),!z&&c.preventDefault(),(b.onStart||f).call(A,c,{pos:m})}function e(a,b){r=B.minPos,u=B.maxPos,v=B.snap,w=a.altKey,y=!1,x=b.control,x||d(a)}function h(c){x&&(x=!1,d(c)),l=c._x,p.push([(new Date).getTime(),l]),n=m-(k-l),o=F(n,r,u),r>=n?n=t(n,r):n>=u&&(n=t(n,u)),C.noMove||(a.css(j(n)),y||(y=!0,Z.addClass("grabbing"))),(b.onMove||f).call(A,c,{pos:n,edge:o})}function i(a){if(!x){Z.removeClass("grabbing"),q=(new Date).getTime();for(var d,e,h,i,j,k,o,s,t,y=q-nc,z=null,B=oc,C=b.friction,D=p.length-1;D>=0;D--){if(d=p[D][0],e=Math.abs(d-y),null===z||h>e)z=d,i=p[D][1];else if(z===y||e>h)break;h=e}o=g(n,r,u);var E=i-l,F=E>=0,G=q-z,H=G>nc,I=!H&&n!==m&&o===n;v&&(o=g(Math[I?F?"floor":"ceil":"round"](n/v)*v,r,u),r=u=o),I&&(v||o===n)&&(t=-(E/G),B*=g(Math.abs(t),b.timeLow,b.timeHigh),j=Math.round(n+t*B/C),v||(o=j),(!F&&j>u||F&&r>j)&&(k=F?r:u,s=j-k,v||(o=k),s=g(o+.03*s,k-50,k+50),B=Math.abs((n-s)/(t/C)))),B*=w?10:1,(b.onEnd||f).call(A,c.extend(a,{pos:n,newPos:o,overPos:s,time:B,moved:H&&v||a.moved}))}}var k,l,m,n,o,p,q,r,u,v,w,x,y,z,A=a[0],B=a.data(),C={};return C=c.extend(M(b.$wrap,{onStart:e,onMove:h,onEnd:i,select:b.select,control:b.control}),C)}function O(a){P(!0),vc.appendTo(a),db=0,wc(),cb=setInterval(wc,200)}function P(a){a||vc.detach(),clearInterval(cb)}var Q={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"},R=new RegExp("[&<>\"'/]","g"),S={escape:function(a){return null==a?"":(""+a).replace(R,function(a){return Q[a]})}},T=function(a,b,c){function d(a){r.cssText=a}function e(a,b){return typeof a===b}function f(a,b){return!!~(""+a).indexOf(b)}function g(a,b){for(var d in a){var e=a[d];if(!f(e,"-")&&r[e]!==c)return"pfx"==b?e:!0}return!1}function h(a,b,d){for(var f in a){var g=b[a[f]];if(g!==c)return d===!1?a[f]:e(g,"function")?g.bind(d||b):g}return!1}function i(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),f=(a+" "+u.join(d+" ")+d).split(" ");return e(b,"string")||e(b,"undefined")?g(f,b):(f=(a+" "+v.join(d+" ")+d).split(" "),h(f,b,c))}var j,k,l,m="2.6.2",n={},o=b.documentElement,p="modernizr",q=b.createElement(p),r=q.style,s=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),t="Webkit Moz O ms",u=t.split(" "),v=t.toLowerCase().split(" "),w={},x=[],y=x.slice,z=function(a,c,d,e){var f,g,h,i,j=b.createElement("div"),k=b.body,l=k||b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:p+(d+1),j.appendChild(h);return f=["&#173;",'<style id="s',p,'">',a,"</style>"].join(""),j.id=p,(k?j:l).innerHTML+=f,l.appendChild(j),k||(l.style.background="",l.style.overflow="hidden",i=o.style.overflow,o.style.overflow="hidden",o.appendChild(l)),g=c(j,a),k?j.parentNode.removeChild(j):(l.parentNode.removeChild(l),o.style.overflow=i),!!g},A={}.hasOwnProperty;l=e(A,"undefined")||e(A.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return A.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=y.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(y.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(y.call(arguments)))};return d}),w.csstransforms3d=function(){var a=!!i("perspective");return a};for(var B in w)l(w,B)&&(k=B.toLowerCase(),n[k]=w[B](),x.push((n[k]?"":"no-")+k));return n.addTest=function(a,b){if("object"==typeof a)for(var d in a)l(a,d)&&n.addTest(d,a[d]);else{if(a=a.toLowerCase(),n[a]!==c)return n;b="function"==typeof b?b():b,"undefined"!=typeof enableClasses&&enableClasses&&(o.className+=" "+(b?"":"no-")+a),n[a]=b}return n},d(""),q=j=null,n._version=m,n._prefixes=s,n._domPrefixes=v,n._cssomPrefixes=u,n.testProp=function(a){return g([a])},n.testAllProps=i,n.testStyles=z,n.prefixed=function(a,b,c){return b?i(a,b,c):i(a,"pfx")},n}(a,b),U={ok:!1,is:function(){return!1},request:function(){},cancel:function(){},event:"",prefix:""},V="webkit moz o ms khtml".split(" ");if("undefined"!=typeof b.cancelFullScreen)U.ok=!0;else for(var W=0,X=V.length;X>W;W++)if(U.prefix=V[W],"undefined"!=typeof b[U.prefix+"CancelFullScreen"]){U.ok=!0;break}U.ok&&(U.event=U.prefix+"fullscreenchange",U.is=function(){switch(this.prefix){case"":return b.fullScreen;case"webkit":return b.webkitIsFullScreen;default:return b[this.prefix+"FullScreen"]}},U.request=function(a){return""===this.prefix?a.requestFullScreen():a[this.prefix+"RequestFullScreen"]()},U.cancel=function(){return""===this.prefix?b.cancelFullScreen():b[this.prefix+"CancelFullScreen"]()});var Y,Z,$,_,ab,bb,cb,db,eb="fotorama",fb="fullscreen",gb=eb+"__wrap",hb=gb+"--not-ready",ib=gb+"--css3",jb=gb+"--video",kb=gb+"--fade",lb=gb+"--slide",mb=gb+"--no-controls",nb=eb+"__stage",ob=nb+"__frame",pb=ob+"--video",qb=nb+"__shaft",rb=nb+"--only-active",sb=eb+"__grab",tb=eb+"__arr",ub=tb+"--disabled",vb=tb+"--prev",wb=tb+"--next",xb=tb+"__arr",yb=eb+"__nav",zb=yb+"-wrap",Ab=yb+"__shaft",Bb=yb+"--dots",Cb=yb+"--thumbs",Db=yb+"__frame",Eb=Db+"--dot",Fb=Db+"--thumb",Gb=eb+"__fade",Hb=Gb+"-front",Ib=Gb+"-rear",Jb=eb+"__shadow",Kb=Jb+"s",Lb=Kb+"--left",Mb=Kb+"--right",Nb=eb+"__active",Ob=eb+"__select",Pb=eb+"--hidden",Qb=eb+"--fullscreen",Rb=eb+"__fullscreen-icon",Sb=eb+"__error",Tb=eb+"__loading",Ub=eb+"__loaded",Vb=Ub+"--full",Wb=Ub+"--img",Xb=eb+"__load",Yb=eb+"__img",Zb=Yb+"--full",$b=eb+"__dot",_b=eb+"__thumb",ac=_b+"-border",bc=eb+"__html",cc=eb+"__video",dc=cc+"-play",ec=cc+"-close",fc=eb+"__caption",gc=eb+"__oooo",hc=c(a),ic=c(b),jc="CSS1Compat"===b.compatMode,kc="quirks"===b.location.hash.replace("#",""),lc=T.csstransforms3d&&!kc,mc=U.ok,nc=300,oc=333,pc=5e3,qc=2,rc=64,sc=500,tc=333,uc=e([.1,0,.25,1]),vc=c(I("",I(gc))),wc=function(){vc.attr("class",gc+" "+gc+"--"+db),db++,db>4&&(db=0)};jQuery.Fotorama=function(e,f){function h(){c.each(Fc,function(a,b){if(!b.i){b.i=id++;var c=w(b.video,!0);if(c){var d={};b.video=c,b.img||b.thumb?b.thumbsReady=!0:d=x(b,Fc,ed),y(Fc,{img:d.img,thumb:d.thumb},b.i,ed)}}})}function i(){Fc=ed.data=Fc||z(e),Gc=ed.size=Fc.length,h(),Gd=L(Gd),cb.ok=!1,Gc&&(cd||(e.html("").append(md),c.Fotorama.size++,cd=!0))}function q(){Kd.noMove=2>Gc||Jc||Vc,od.toggleClass(sb,!Kd.noMove)}function r(a){a===!0&&(a=""),f.autoplay=Math.max(Number(a)||pc,1.5*oc)}function t(a){return a?"add":"remove"}function u(){Vc="crossfade"===f.transition||"dissolve"===f.transition,Qc=f.loop&&(Gc>2||Vc);var a={add:[],remove:[]};Gc>1?(Rc=f.nav,Sc="top"===f.navPosition,a.remove.push(Ob),sd.show(),db()):(Rc=!1,sd.hide()),a[t(Gc>1)].push("fotorama__wrap--navigation"),f.autoplay&&r(f.autoplay),Wc=l(f.thumbWidth)||rc,Xc=l(f.thumbHeight)||rc,q(),gc(f,!0),Rc===!0||"dots"===Rc?(ud.addClass(Bb).removeClass(Cb),$(Gc,"navDot")):"thumbs"===Rc?(E(kd,c.Fotorama.jst.style({w:Wc,h:Xc,m:qc,s:gd,q:!jc})),ud.addClass(Cb).removeClass(Bb),$(Gc,"navThumb")):(Rc=!1,ud.removeClass(Cb+" "+Bb)),Tc=f.allowFullScreen,e.insertAfter(ld).removeClass(Pb),Rc&&Sc?td.insertBefore(nd):td.insertAfter(nd),Tc?(Ed.appendTo(nd),Uc=mc&&"native"===Tc):(Ed.detach(),Uc=!1),a[t(Vc)].push(kb),a[t(!Vc)].push(lb),P(),md.addClass(a.add.join(" ")).removeClass(a.remove.join(" ")),Id=c.extend({},f)}function v(a){return 0>a?(Gc+a%Gc)%Gc:a>=Gc?a%Gc:a}function L(a){return g(a,0,Gc-1)}function M(a){return a>0||Qc?a-1:!1}function Q(a){return Gc-1>a||Qc?a+1:!1}function R(){Bd.minPos=Qc?-1/0:-o(Gc-1,Jd.w,qc,Lc),Bd.maxPos=Qc?1/0:-o(0,Jd.w,qc,Lc),Bd.snap=Jd.w+qc}function S(){Cd.minPos=Math.min(0,Jd.w-vd.width()),Cd.maxPos=0,Ld.noMove=Cd.minPos===Cd.maxPos,vd.toggleClass(sb,!Ld.noMove)}function T(a,b,d){if("number"==typeof a){a=new Array(a);var e=!0}return c.each(a,function(a,c){if(e&&(c=a),"number"==typeof c){var f=Fc[v(c)],g="$"+b+"Frame",h=f[g];d.call(this,a,c,f,h,g,h&&h.data())}})}function V(a,b,c,d){(!Yc||"*"===Yc&&d===Hd)&&(a=n(f.width)||n(a)||sc,b=n(f.height)||n(b)||tc,ed.resize({width:a,ratio:f.ratio||c||a/b},0,d===Hd?!0:"*"))}function W(a,b,d,e,g){T(a,b,function(a,h,i,j,k,l){function m(a){var b=v(h);kc(a,{index:b,src:w,frame:Fc[b]})}function n(){s.remove(),c.Fotorama.cache[w]="error",i.$html&&"stage"===b||!x||x===w?(w&&!l.$html?(j.trigger("f:error").removeClass(Tb).addClass(Sb),m("error")):"stage"===b&&(j.trigger("f:load").removeClass(Tb+" "+Sb).addClass(Ub),m("load"),V()),l.state="error",!(Gc>1)||i.html||i.deleted||i.video||q||(i.deleted=!0,ed.splice(h,1))):(i[u]=w=x,W([h],b,d,e,!0))}function o(){var a=s.width(),g=s.height(),k=a/g;t.measures={width:a,height:g,ratio:k},V(a,g,k,h),s.off("load error").addClass(Yb+(q?" "+Zb:"")).prependTo(j),D(s,d||Jd,e||i.fit||f.fit),c.Fotorama.cache[w]="loaded",l.state="loaded",setTimeout(function(){j.trigger("f:load").removeClass(Tb+" "+Sb).addClass(Ub+" "+(q?Vb:Wb)),"stage"===b&&m("load")},5)}function p(){B(function(){return!A(r)},function(){o()})}if(j){var q=ed.fullScreen&&i.full&&!l.$full&&"stage"===b;if(!l.$img||g||q){var r=new Image,s=c(r),t=s.data();l[q?"$full":"$img"]=s;var u="stage"===b?q?"full":"img":"thumb",w=i[u],x=q?null:i["stage"===b?"thumb":"img"];if("navThumb"===b&&(j=l.$wrap),!w)return n(),void 0;c.Fotorama.cache[w]?function y(){"error"===c.Fotorama.cache[w]?n():"loaded"===c.Fotorama.cache[w]?p():setTimeout(y,100)}():(c.Fotorama.cache[w]="*",s.on("load",p).on("error",n)),r.src=w,s.appendTo(c.Fotorama.$load)}}})}function X(){var a=ed.activeFrame[yd];a&&!a.data().state&&(O(a),a.on("f:load f:error",function(){a.off("f:load f:error"),P()}))}function $(a,b){T(a,b,function(a,d,e,g,h,i){if(!g)if(g=e[h]=md[h].clone(),i=g.data(),i.data=e,"stage"===b){if(e.html&&(c(e.html).html(e._html),c('<div class="'+bc+'"></div>').append(e.html).appendTo(g)),f.captions&&e.caption&&c('<div class="'+fc+'"></div>').append(e.caption).appendTo(g),e.video){var j=Fd.clone();H(j,function(){ed.playVideo()},{onStart:function(a){nc.call(this,a),Kd.control=!0},tail:Kd}),g.addClass(pb).append(j)}pd=pd.add(g)}else"navDot"===b?wd=wd.add(g):"navThumb"===b&&(i.$wrap=g.children(":first"),xd=xd.add(g),e.video&&g.append(Fd.clone()))})}function _(a,b,c){return a&&a.length&&D(a,b,c)}function ab(a){T(a,"stage",function(a,b,d,e,g,h){if(e){e.css(c.extend({left:Vc?0:o(b,Jd.w,qc,Lc)},Vc&&k(0))),h.appended||(e.appendTo(od),h.appended=!0,zc(d.$video));var i=d.fit||f.fit;_(h.$img,Jd,i),_(h.$full,Jd,i)}})}function bb(a,b){if("thumbs"===Rc&&!isNaN(a)){var d=Wc+qc,e=L(p(a+d,d)),f=L(p(a-Jd.w,d)),g={};g.w=Wc,g.h=Xc,xd.each(function(){var a=c(this),d=a.data(),h=d.eq,i="cover";e>h||h>f||_(d.$img,g,i)||b&&W([h],"navThumb",g,i)})}}function cb(a,b,d){cb.ok||(a=a.filter(function(){for(var a,b=c(this),d=b.data(),e=0,f=Fc.length;f>e;e++){var g=Fc[e];if(d.data===g){a=!0,d.eq=e;break}}return a||b.remove(),a}).sort(function(a,b){return c(a).data().eq-c(b).data().eq}).appendTo(b),d&&S(),cb.ok=!0)}function db(){sd.each(function(a){c(this).toggleClass(ub,!Qc&&(0===Gd&&0===a||Gd===Gc-1&&1===a)&&!Jc)})}function Gb(a){return a.position().left+Wc/2}function Hb(a){J(Dd,{time:.9*a,pos:Gb(ed.activeFrame[Ic])})}function Ib(a){if(Fc[a.guessIndex][Ic]){var b=g(a.coo-Gb(Fc[a.guessIndex][Ic]),Cd.minPos,Cd.maxPos),c=.9*a.time;J(vd,{time:c,pos:b,onEnd:function(){bb(b,!0)}}),c&&bb(b),yc(ud,F(b,Cd.minPos,Cd.maxPos))}}function Jb(){if("thumbs"===Rc)Hc=xd,Ic=Ad;else{if(!Rc)return;Hc=wd,Ic=zd}cb(Hc,vd,!0),Hc.removeClass(Nb),ed.activeFrame[Ic].addClass(Nb)}function cc(){Lc=Mc=Gd;var a=ed.activeFrame,b=a[yd];b&&(pd.not(ed.activeFrame[yd].addClass(Nb)).detach().data("appended",!1).removeClass(Nb),s(od),od.css(j(0)),ab([Gd,Oc,Pc]),R(),S())}function gc(a,b){a&&c.extend(Jd,{width:a.width||Jd.width,height:a.height,minWidth:a.minWidth,maxWidth:a.maxWidth,minHeight:a.minHeight,maxHeight:a.maxHeight,ratio:function(a){if(a){var b=Number(a);return isNaN(b)?(b=a.split("/"),Number(b[0]/b[1])||d):b}}(a.ratio)})&&!b&&c.extend(f,{width:Jd.width,height:Jd.height,minWidth:Jd.minWidth,maxWidth:Jd.maxWidth,minHeight:Jd.minHeight,maxHeight:Jd.maxHeight,ratio:Jd.ratio})}function kc(a,b){e.trigger(eb+":"+a,[ed,b])}function nc(){f.stopAutoplayOnTouch?ed.stopAutoplay():ad=!0}function uc(){ad=!(!Jc&&!bd)}function vc(){if(clearTimeout(vc.t),!f.autoplay||ad)return ed.autoplay&&(ed.autoplay=!1,kc("stopautoplay")),void 0;ed.autoplay||(ed.autoplay=!0,kc("startautoplay"));var a=Gd;vc.t=setTimeout(function(){var b=ed.activeFrame[yd].data();B(function(){return b.state||a!==Gd},function(){ad||a!==Gd||ed.show({index:v(Gd+1)})})},f.autoplay)}function wc(){ed.fullScreen&&(ed.fullScreen=!1,mc&&U.cancel(hd),Z.removeClass(fb),e.removeClass(Qb).insertAfter(ld),kc("fullscreenexit"),Jd=c.extend({},dd),zc(Jc,!0),ed.resize(),W([Gd,Oc,Pc],"stage"),hc.scrollLeft($c).scrollTop(Zc))}function yc(a,b){a.removeClass(Lb+" "+Mb),b&&!Jc&&a.addClass(b.replace(/^|\s/g," "+Kb+"--"))}function zc(a,b,c){b&&(md.removeClass(jb),Jc=!1,q()),a&&a!==Jc&&(a.remove(),kc("unloadvideo")),c&&(uc(),vc())}function Ac(a){md.toggleClass(mb,a)}function Bc(a,b){Jc?zc(Jc,!0,!0):b?Ac():ed.show({index:a.shiftKey||a._x-nd.offset().left<Jd.w/3?"<":">",slow:a.altKey,direct:!0})}function Cc(a,b){var d=c(this).data().eq;ed.show({index:d,slow:a.altKey,direct:!0,coo:a._x-ud.offset().left,time:b})}function Dc(){i(),u(),Ec.ok||(f.hash&&location.hash&&(Hd=G(location.hash.replace(/^#/,""),Fc,0===fd)),Hd=(Qc?v(Hd):L(Hd))||0,Gd=Lc=Mc=Nc=Hd),Gc?(Jc&&zc(Jc,!0),ed.show({index:Gd,time:0}),ed.resize()):ed.destroy()}function Ec(){Ec.ok||(Ec.ok=!0,md.removeClass(hb),kc("ready"))}Y=Y||c("html"),Z=Z||c("body"),c.Fotorama.$load=c.Fotorama.$load||c('<div class="'+Xb+'"></div>').appendTo(Z);var Fc,Gc,Hc,Ic,Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Rc,Sc,Tc,Uc,Vc,Wc,Xc,Yc,Zc,$c,_c,ad,bd,cd,dd,ed=this,fd=xc,gd=(new Date).getTime(),hd=e.addClass(eb+gd)[0],id=1,jd=e.data(),kd=c("<style></style>").insertBefore(e),ld=c(I(Pb)).insertBefore(e),md=c(I(gb+" "+hb)),nd=c(I(nb)).appendTo(md),od=(nd[0],c(I(qb)).appendTo(nd)),pd=c(),qd=c(I(tb+" "+vb,I(xb))),rd=c(I(tb+" "+wb,I(xb))),sd=qd.add(rd).appendTo(nd),td=c(I(zb)),ud=c(I(yb)).appendTo(td),vd=c(I(Ab)).appendTo(ud),wd=c(),xd=c(),yd="$stageFrame",zd="$navDotFrame",Ad="$navThumbFrame",Bd=od.data(),Cd=vd.data(),Dd=c(I(ac)).appendTo(vd),Ed=c(I(Rb)),Fd=c(I(dc)),Gd=(c(I(ec)).appendTo(nd),!1),Hd=!1,Id={},Jd={},Kd={},Ld={};md[yd]=c(I(ob)),md[Ad]=c(I(Db+" "+Fb,I(_b))),md[zd]=c(I(Db+" "+Eb,I($b))),lc&&md.addClass(ib),jd.fotorama=this,ed.options=f,xc++,ed.startAutoplay=function(a){return ed.autoplay?this:(ad=bd=!1,r(a||f.autoplay),vc(),this)},ed.stopAutoplay=function(){return ed.autoplay&&(ad=bd=!0,vc()),this},ed.show=function(a){function b(){X(),W([Gd,Oc,Pc],"stage"),cc(),kc("showend",a.direct),uc(),vc()}var c,d,e=oc;if("object"!=typeof a?(c=a,a={}):(c=a.index,e="number"==typeof a.time?a.time:e,d=a.overPos),a.slow&&(e*=10),c=">"===c?Mc+1:"<"===c?Mc-1:"<<"===c?0:">>"===c?Gc-1:c,c=isNaN(c)?G(c,Fc,!0):c,c="undefined"==typeof c?Gd||0:c,ed.activeIndex=Gd=Qc?v(c):L(c),Oc=M(Gd),Pc=Q(Gd),Mc=Qc?c:Gd,ed.activeFrame=Kc=Fc[Gd],zc(!1,Kc.i!==Fc[v(Lc)].i),$([Gd,Oc,Pc],"stage"),ab([Mc]),kc("show",a.direct),Vc){var h=Kc[yd],i=Gd!==Nc?Fc[Nc][yd]:null;K(h,i,pd,{time:e,method:f.transition,onEnd:b})}else J(od,{pos:-o(Mc,Jd.w,qc,Lc),overPos:d,time:e,onEnd:b});if(db(),Jb(),Rc){var j=L(Gd+g(Mc-Nc,-1,1)),k="undefined"==typeof a.coo;(k||j!==Gd)&&Ib({time:e,coo:k?Jd.w/2:a.coo,guessIndex:k?Gd:j})}return"thumbs"===Rc&&Hb(e),_c="undefined"!=typeof Nc&&Nc!==Gd,Nc=Gd,f.hash&&_c&&!ed.eq&&C(Kc.id||Gd+1),this},ed.requestFullScreen=function(){return Tc&&!ed.fullScreen&&(Zc=hc.scrollTop(),$c=hc.scrollLeft(),hc.scrollTop(0).scrollLeft(0),dd=c.extend({},Jd),e.addClass(Qb).appendTo(Z.addClass(fb)),zc(Jc,!0),ed.fullScreen=!0,Uc&&U.request(hd),ed.resize(),W([Gd,Oc,Pc],"stage"),kc("fullscreenenter")),this},ed.cancelFullScreen=function(){return Uc&&U.is()?U.cancel(b):wc(),this},b.addEventListener&&b.addEventListener(U.event,function(){U.is()||Jc||wc()}),ic.on("keydown",function(a){Jc&&27===a.keyCode?(a.preventDefault(),zc(Jc,!0,!0)):(ed.fullScreen||f.keyboard&&!fd)&&(27===a.keyCode?(a.preventDefault(),ed.cancelFullScreen()):39===a.keyCode||40===a.keyCode&&ed.fullScreen?(a.preventDefault(),ed.show({index:">",slow:a.altKey,direct:!0})):(37===a.keyCode||38===a.keyCode&&ed.fullScreen)&&(a.preventDefault(),ed.show({index:"<",slow:a.altKey,direct:!0})))}),fd||ic.on("keydown","textarea, input, select",function(a){ed.fullScreen||a.stopPropagation()}),ed.resize=function(b){if(Fc){gc(ed.fullScreen?{width:"100%",maxWidth:null,minWidth:null,height:"100%",maxHeight:null,minHeight:null}:b,ed.fullScreen);var c=arguments[1]||0,d=arguments[2],e=Jd.width,f=Jd.height,h=Jd.ratio,i=a.innerHeight-(Rc?ud.height():0);return n(e)&&(md.css({width:e,minWidth:Jd.minWidth,maxWidth:Jd.maxWidth}),e=Jd.w=md.width(),f=m(f)/100*i||l(f),f=f||h&&e/h,f&&(e=Math.round(e),f=Jd.h=Math.round(g(f,m(Jd.minHeight)/100*i||l(Jd.minHeight),m(Jd.maxHeight)/100*i||l(Jd.maxHeight))),cc(),nd.addClass(rb).stop().animate({width:e,height:f},c,function(){nd.removeClass(rb)}),Rc&&(ud.stop().animate({width:e},c).css({left:0}),Ib({guessIndex:Gd,time:c,coo:Jd.w/2}),"thumbs"===Rc&&cb.ok&&Hb(c)),Yc=d||!0,Ec())),this}},ed.setOptions=function(a){return c.extend(f,a),Dc(),this},ed.destroy=function(){return ed.stopAutoplay(),md.detach(),e.html(jd.urtext),cd=!1,Fc=ed.data=null,c.Fotorama.size--,this},ed.playVideo=function(){var a=ed.activeFrame,b=a.video,d=Gd;return"object"==typeof b&&a.videoReady&&(Uc&&ed.fullScreen&&ed.cancelFullScreen(),B(function(){return!U.is()||d!==Gd},function(){d===Gd&&(a.$video=a.$video||c(c.Fotorama.jst.video(b)),a.$video.appendTo(a[yd]),md.addClass(jb),Jc=a.$video,Kd.noMove=!0,kc("loadvideo"))})),this},ed.stopVideo=function(){return zc(Jc,!0,!0),this},md.hover(function(){Ac(!1)},function(){Ac(!0)}),Kd=N(od,{onStart:nc,onMove:function(a,b){yc(nd,b.edge)},onEnd:function(a){if(yc(nd),a.moved||a.touch&&a.pos!==a.newPos){var b=p(a.newPos,Jd.w,qc,Lc);ed.show({index:b,time:a.time,overPos:a.overPos,direct:!0})}else a.aborted||Bc(a.startEvent,a.touch)},timeLow:1,timeHigh:1,friction:2,select:"."+Ob+", ."+Ob+" *",$wrap:nd}),Ld=N(vd,{onStart:nc,onMove:function(a,b){yc(ud,b.edge)},onEnd:function(a){function b(){uc(),vc(),bb(a.newPos,!0)}if(a.moved)a.pos!==a.newPos?(J(vd,{time:a.time,pos:a.newPos,overPos:a.overPos,onEnd:b}),bb(a.newPos),yc(ud,F(a.newPos,Cd.minPos,Cd.maxPos))):b();else{var c=a.$target.closest("."+Db,vd)[0];c&&Cc.call(c,a.startEvent)}},timeLow:.5,timeHigh:2,friction:5,$wrap:ud}),H(sd,function(a){a.preventDefault(),Jc?zc(Jc,!0,!0):ed.show({index:sd.index(this)?">":"<",slow:a.altKey,direct:!0})},{onStart:function(a){nc.call(this,a),Kd.control=!0},tail:Kd}),H(Ed,function(){ed.fullScreen?ed.cancelFullScreen():ed.requestFullScreen(),uc(),vc()},{onStart:function(a){nc.call(this,a),Kd.control=!0},tail:Kd}),c.each("load push pop shift unshift reverse sort splice".split(" "),function(a,b){ed[b]=function(){return Fc=Fc||[],"load"!==b?Array.prototype[b].apply(Fc,arguments):arguments[0]&&"object"==typeof arguments[0]&&arguments[0].length&&(Fc=arguments[0]),Dc(),ed}}),hc.on("resize",ed.resize),Dc()},c.fn.fotorama=function(a){return this.each(function(){var b=this,d=c(this),e=d.data(),f=e.fotorama;f?f.setOptions(a):B(function(){return!A(b)},function(){e.urtext=d.html(),new c.Fotorama(d,c.extend({},{width:null,minWidth:null,maxWidth:null,height:null,minHeight:null,maxHeight:null,ratio:null,nav:"dots",navPosition:"bottom",thumbWidth:rc,thumbHeight:rc,allowFullScreen:!1,fit:"contain",transition:"slide",captions:!0,hash:!1,autoplay:!1,stopAutoplayOnTouch:!0,keyboard:!1,loop:!1},c.extend({},a,e)))})})},c.Fotorama.cache={};var xc=0;c.Fotorama.size=0,c(function(){c("."+eb+':not([data-auto="false"])').fotorama()}),c=c||{},c.Fotorama=c.Fotorama||{},c.Fotorama.jst=c.Fotorama.jst||{},c.Fotorama.jst.style=function(a){var b,c="";return S.escape,c+=".fotorama"+(null==(b=a.s)?"":b)+" .fotorama__nav--thumbs .fotorama__nav__frame{\npadding:"+(null==(b=a.m)?"":b)+"px;\npadding-left:0;\nwidth:"+(null==(b=a.w)?"":b)+"px;\nheight:"+(null==(b=a.h)?"":b)+"px}\n.fotorama"+(null==(b=a.s)?"":b)+" .fotorama__nav--thumbs .fotorama__nav__frame:last-child{\npadding-right:0}\n.fotorama"+(null==(b=a.s)?"":b)+" .fotorama__thumb{\nwidth:"+(null==(b=a.w)?"":b)+"px;\nheight:"+(null==(b=a.h)?"":b)+"px}\n.fotorama"+(null==(b=a.s)?"":b)+" .fotorama__thumb-border{\nwidth:"+(null==(b=a.w-a.m*(a.q?0:2))?"":b)+"px;\nheight:"+(null==(b=a.h-a.m*(a.q?0:2))?"":b)+"px;\nborder-width:"+(null==(b=a.m)?"":b)+"px;\nmargin-top:"+(null==(b=a.m)?"":b)+"px;\nmargin-left:"+(null==(b=-a.w/2)?"":b)+"px}"},c.Fotorama.jst.video=function(a){function b(){c+=d.call(arguments,"")}var c="",d=(S.escape,Array.prototype.join);return c+='<div class="fotorama__video"><iframe src="',b("youtube"==a.type?"http://youtube.com/embed/"+a.id+"?autoplay=1":"vimeo"==a.type?"http://player.vimeo.com/video/"+a.id+"?autoplay=1&amp;badge=0":a.id),c+='" frameborder="0" allowfullscreen></iframe></div>'}}(window,document,jQuery);
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Fotorama 4.1.17 | http://fotorama.io/license/
3
+ */
4
+ .fotorama__stage__shaft,.fotorama__stage__frame,.fotorama__html{position:absolute;width:100%;height:100%;top:0;right:0;left:0;bottom:0}.fotorama__wrap--slide .fotorama__stage__shaft.fotorama__grab,.fotorama__nav__shaft.fotorama__grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.fotorama__img,.fotorama__oooo{position:absolute;top:50%;left:50%}.fotorama__img{margin:-50% 0 0 -50%;width:100%;height:100%}.fotorama__wrap--css3 .fotorama__stage__shaft,.fotorama__wrap--css3 .fotorama__nav__shaft,.fotorama__wrap--css3 .fotorama__thumb-border,.fotorama__wrap--css3 .fotorama__stage__frame,.fotorama__wrap--css3 .fotorama__nav__frame,.fotorama__wrap--css3 .fotorama__img,.fotorama__wrap--css3 .fotorama__html,.fotorama__wrap--css3 .fotorama__caption,.fotorama__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fotorama__wrap--video .fotorama__stage__shaft,.fotorama__wrap--video .fotorama__stage__frame--video{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important}.fotorama__wrap--css3 .fotorama__stage__shaft,.fotorama__wrap--css3 .fotorama__nav__shaft{-webkit-transition-property:-webkit-transform,0ms,cubic-bezier(0.1,.25,.25,1);-moz-transition-property:-moz-transform,0ms,cubic-bezier(0.1,.25,.25,1);-o-transition-property:-o-transform,0ms,cubic-bezier(0.1,.25,.25,1);transition-property:transform 0ms cubic-bezier(0.1,.25,.25,1)}.fotorama__wrap,.fotorama__no-select,.fotorama__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close,.fotorama__stage:before,.fotorama__stage:after,.fotorama__nav:before,.fotorama__nav:after{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.fotorama__select{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;-o-user-select:text;user-select:text}.fotorama__nav,.fotorama__nav__frame{margin:0;padding:0}.fotorama__nav__shaft,.fotorama__nav__frame{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*display:inline;*zoom:1}.fotorama *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fotorama__caption{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fotorama--hidden,.fotorama__load{position:absolute;left:-99999px;top:-99999px;z-index:-1}.fotorama__stage__shaft,.fotorama__stage__frame,.fotorama__nav,.fotorama__nav__shaft,.fotorama__nav__frame,.fotorama__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close{-webkit-tap-highlight-color:rgba(0,0,0,0)}.fotorama__arr__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close{background:image-url('fotorama.png') no-repeat}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.fotorama__arr__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close{background:image-url('fotorama@2x.png') no-repeat;background-size:96px 160px}}.fotorama{min-width:1px}.fullscreen{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important;margin:0!important;padding:0!important;background:#000}.fotorama--fullscreen{position:absolute;top:0!important;left:0!important;right:0!important;bottom:0!important;float:none;z-index:2147483647;background:#000;width:auto!important;height:auto!important;margin:0!important}.fotorama--fullscreen .fotorama__stage,.fotorama--fullscreen .fotorama__nav{background:#000}.fotorama__wrap{-webkit-text-size-adjust:100%;position:relative}.fotorama__wrap--not-ready *{visibility:hidden!important}.fotorama__stage{overflow:hidden;position:relative}.fotorama__wrap--navigation.fotorama__wrap--fade .fotorama__stage__shaft{cursor:pointer}.fotorama__wrap--slide .fotorama__stage__frame{opacity:1!important}.grabbing *{cursor:move!important;cursor:-webkit-grabbing!important;cursor:-moz-grabbing!important;cursor:-o-grabbing!important;cursor:-ms-grabbing!important;cursor:grabbing!important}.fotorama__img{opacity:0;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important}.fotorama__loaded .fotorama__img,.fotorama__error .fotorama__img{opacity:1}.fotorama__stage__frame{overflow:hidden}.fotorama__stage__frame.fotorama__active{z-index:8}.fotorama__wrap--fade .fotorama__stage__frame{display:none}.fotorama__wrap--fade .fotorama__stage__frame.fotorama__active{opacity:1}.fotorama__wrap--fade .fotorama__stage__frame.fotorama__active,.fotorama__wrap--fade .fotorama__fade-front,.fotorama__wrap--fade .fotorama__fade-rear{display:block;left:0;top:0}.fotorama__wrap--fade .fotorama__fade-front{z-index:8}.fotorama__wrap--fade .fotorama__fade-rear{z-index:7}.fotorama__wrap--fade .fotorama__fade-rear.fotorama__active{z-index:9}.fotorama__wrap--fade .fotorama__stage .fotorama__shadow{display:none}.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__img,.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__html{filter:alpha(Opacity=0);opacity:0}.fotorama__img{border:0;overflow:hidden}.fotorama__img--full{display:none}.fotorama--fullscreen .fotorama__loaded--full .fotorama__img{display:none}.fotorama--fullscreen .fotorama__loaded--full .fotorama__img--full{display:block}.fotorama__stage--only-active .fotorama__stage__frame{visibility:hidden}.fotorama__stage--only-active .fotorama__stage__frame.fotorama__active{visibility:visible}.fotorama__nav{font-size:0;line-height:0;text-align:center;display:none;position:relative;overflow:hidden;white-space:nowrap;z-index:5}.fotorama__nav--dots{display:block}.fotorama__nav--dots .fotorama__nav__frame--thumb,.fotorama__nav--dots .fotorama__thumb-border{display:none}.fotorama__nav--thumbs{display:block}.fotorama__nav--thumbs .fotorama__nav__frame--dot{display:none}.fotorama__nav__shaft{position:relative;left:0;top:0;text-align:left}.fotorama__nav__frame{position:relative;cursor:pointer}.fotorama__nav--dots .fotorama__nav__frame{width:18px;height:30px}.fotorama__dot{display:block;width:4px;height:4px;position:relative;top:12px;left:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;border-radius:6px;border:1px solid}.fotorama__nav__frame.fotorama__active .fotorama__dot{width:6px;height:6px;border:0}.fotorama__dot{border-color:#7f7f7f}.fotorama__active .fotorama__dot{background-color:#7f7f7f}.fotorama__thumb{background-color:#dfdfdf;background-color:rgba(127,127,127,.25);overflow:hidden;position:relative}.fotorama__thumb-border{position:absolute;z-index:10;top:0;left:0;border-style:solid;border-color:#00afea;background:-webkit-gradient(linear,0 0,100% 100%,color-stop(0%,rgba(255,255,255,.25)),color-stop(100%,rgba(64,64,64,.1)));background:-webkit-linear-gradient(top left,rgba(255,255,255,.25),rgba(64,64,64,.1));background:-moz-linear-gradient(top left,rgba(255,255,255,.25),rgba(64,64,64,.1));background:-o-linear-gradient(top left,rgba(255,255,255,.25),rgba(64,64,64,.1));background:linear-gradient(top left,rgba(255,255,255,.25),rgba(64,64,64,.1))}.fotorama__caption{position:absolute;z-index:11;bottom:0;left:0;max-width:100%;font-family:'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.5;color:#000;background-color:#fff;background-color:rgba(255,255,255,.9);padding:5px 10px}.fotorama__wrap--no-controls .fotorama__caption,.fotorama__wrap--video .fotorama__caption{opacity:0}.fotorama__oooo{width:6px;height:6px;margin-left:-8px;margin-top:-3px}.fotorama__oooo:before,.fotorama__oooo:after{content:'';position:absolute;left:0;top:0;width:6px;height:6px;border-radius:6px;background-color:#bfbfbf;background-color:rgba(127,127,127,.5)}.fotorama__oooo:before{left:-10px}.fotorama__oooo .fotorama__oooo{margin-left:17px}.fotorama__oooo--1:before,.fotorama__oooo--2:after,.fotorama__oooo--3 .fotorama__oooo:before,.fotorama__oooo--4 .fotorama__oooo:after{background-color:#7f7f7f}.fotorama__wrap--css3 .fotorama__img,.fotorama__wrap--css3 .fotorama__html,.fotorama__wrap--css3 .fotorama__stage__frame,.fotorama__wrap--css3 .fotorama__caption{-webkit-transition:opacity 300ms linear;-moz-transition:opacity 300ms linear;-o-transition:opacity 300ms linear;transition:opacity 300ms linear}.fotorama__select{cursor:auto}.fotorama__video{top:32px;right:0;bottom:0;left:0;position:absolute;z-index:10}.fotorama__video iframe{width:100%;height:100%}.fotorama__arr,.fotorama__fullscreen-icon,.fotorama__video-play,.fotorama__video-close{display:block;position:absolute;z-index:11;cursor:pointer;opacity:0}.fotorama__arr,.fotorama__fullscreen-icon{opacity:1}.fotorama__arr{width:48px;height:100%;top:0;bottom:0}.fotorama__arr__arr{position:absolute;width:32px;height:32px;left:50%;top:50%;margin-left:-16px;margin-top:-16px}.fotorama__arr--prev{left:0}.fotorama__arr--prev .fotorama__arr__arr{background-position:0 0}.fotorama__arr--next{right:0}.fotorama__arr--next .fotorama__arr__arr{background-position:-32px 0}.fotorama__arr--disabled{cursor:default;*display:none;text-shadow:none;opacity:.1!important}.fotorama__fullscreen-icon{width:32px;height:32px;top:0;right:0;background-position:0 -32px;z-index:20}.fotorama--fullscreen .fotorama__fullscreen-icon{background-position:-32px -32px}.fotorama__video-play{width:96px;height:96px;left:50%;top:50%;margin-left:-48px;margin-top:-48px;background-position:0 -64px}.fotorama__nav__frame .fotorama__video-play{width:32px;height:32px;left:50%;top:50%;margin-left:-16px;margin-top:-16px;background-position:-64px -32px;opacity:1!important}.fotorama__video-close{width:32px;height:32px;top:-32px;right:-32px;opacity:0;background-position:-64px 0;z-index:20}.fotorama__loaded .fotorama__video-play,.fotorama__error .fotorama__video-play{opacity:1;z-index:11}.fotorama__wrap--no-controls .fotorama__arr,.fotorama__wrap--no-controls .fotorama__fullscreen-icon,.fotorama__wrap--video .fotorama__arr,.fotorama__wrap--video .fotorama__fullscreen-icon{opacity:0!important}.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__fullscreen-icon,.fotorama__wrap--video .fotorama__fullscreen-icon{top:-32px;right:-32px}.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--prev,.fotorama__wrap--video .fotorama__arr--prev{left:-48px}.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--next,.fotorama__wrap--video .fotorama__arr--next{right:-48px}.fotorama__wrap--video .fotorama__stage .fotorama__video-play{opacity:0!important;z-index:-1}.fotorama__wrap--video .fotorama__video-close{top:0;right:0;opacity:1}.fotorama__wrap--css3 .fotorama__arr,.fotorama__wrap--css3 .fotorama__fullscreen-icon,.fotorama__wrap--css3 .fotorama__video-play,.fotorama__wrap--css3 .fotorama__video-close{-webkit-transition:all 300ms;-moz-transition:all 300ms;-o-transition:all 300ms;transition:all 300ms}.fotorama__stage:before,.fotorama__stage:after,.fotorama__nav:before,.fotorama__nav:after{content:"";display:block;position:absolute;text-decoration:none;top:0;bottom:0;width:10px;height:auto;z-index:10;background-repeat:no-repeat;background-size:1px 100%,5px 100%}.fotorama--fullscreen .fotorama__stage:before,.fotorama--fullscreen .fotorama__stage:after,.fotorama--fullscreen .fotorama__nav:before,.fotorama--fullscreen .fotorama__nav:after{display:none!important}.fotorama__stage:before,.fotorama__nav:before{background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,transparent),color-stop(25%,rgba(0,0,0,.2)),color-stop(75%,rgba(0,0,0,.3)),color-stop(100%,transparent)),-webkit-gradient(radial,0 50%,0,0 50%,100,color-stop(0%,rgba(0,0,0,.4)),color-stop(100%,transparent));background-image:-webkit-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-webkit-radial-gradient(0 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:-moz-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-moz-radial-gradient(0 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:-o-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-o-radial-gradient(0 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),radial-gradient(0 50%,farthest-side,rgba(0,0,0,.4),transparent);background-position:0 0,0 0;left:-10px}.fotorama__stage.fotorama__shadows--left:before,.fotorama__nav.fotorama__shadows--left:before{left:0}.fotorama__stage:after,.fotorama__nav:after{background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,transparent),color-stop(25%,rgba(0,0,0,.2)),color-stop(75%,rgba(0,0,0,.3)),color-stop(100%,transparent)),-webkit-gradient(radial,100% 50%,0,100% 50%,100,color-stop(0%,rgba(0,0,0,.4)),color-stop(100%,transparent));background-image:-webkit-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-webkit-radial-gradient(100% 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:-moz-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-moz-radial-gradient(100% 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:-o-linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),-o-radial-gradient(100% 50%,farthest-side,rgba(0,0,0,.4),transparent);background-image:linear-gradient(transparent,rgba(0,0,0,.2) 25%,rgba(0,0,0,.3) 75%,transparent),radial-gradient(100% 50%,farthest-side,rgba(0,0,0,.4),transparent);background-position:100% 0,100% 0;right:-10px}.fotorama__stage.fotorama__shadows--right:after,.fotorama__nav.fotorama__shadows--right:after{right:0}
metadata CHANGED
@@ -1,64 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fotoramajs
3
3
  version: !ruby/object:Gem::Version
4
+ version: 4.1.17
4
5
  prerelease:
5
- version: 3.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Artem Polikarpov
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-20 00:00:00.000000000 Z
12
+ date: 2013-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- type: :runtime
16
15
  name: sprockets
17
- version_requirements: !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
21
20
  - !ruby/object:Gem::Version
22
21
  version: '2'
23
- requirement: !ruby/object:Gem::Requirement
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
24
25
  none: false
25
26
  requirements:
26
27
  - - ! '>='
27
28
  - !ruby/object:Gem::Version
28
29
  version: '2'
29
- prerelease: false
30
30
  - !ruby/object:Gem::Dependency
31
- type: :runtime
32
31
  name: jquery-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 2.1.0
38
+ type: :runtime
39
+ prerelease: false
33
40
  version_requirements: !ruby/object:Gem::Requirement
34
41
  none: false
35
42
  requirements:
36
43
  - - ! '>='
37
44
  - !ruby/object:Gem::Version
38
45
  version: 2.1.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: httpclient
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '2.2'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.2'
62
+ - !ruby/object:Gem::Dependency
63
+ name: thor
39
64
  requirement: !ruby/object:Gem::Requirement
40
65
  none: false
41
66
  requirements:
42
67
  - - ! '>='
43
68
  - !ruby/object:Gem::Version
44
- version: 2.1.0
69
+ version: '0'
70
+ type: :development
45
71
  prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
46
78
  description: Fotorama is a simple, stunning, powerful JavaScript gallery. This is
47
79
  a gem, that allow you to simple install and maintain Fotorama in Rails Assets Pipeline.
48
- Note, that Fotorama is a closed source commercial project.
49
80
  email:
50
81
  - fotoramajs@gmail.com
51
82
  executables: []
52
83
  extensions: []
53
- extra_rdoc_files:
54
- - README.md
84
+ extra_rdoc_files: []
55
85
  files:
56
- - lib/assets/javascripts/fotorama.js
57
- - lib/assets/stylesheets/fotorama.css
58
- - lib/fotoramajs.rb
86
+ - .gitignore
87
+ - Gemfile
88
+ - Gemfile.lock
89
+ - MIT-LICENSE.txt
59
90
  - README.md
60
- homepage: http://fotoramajs.com/
61
- licenses: []
91
+ - Rakefile
92
+ - fotoramajs.gemspec
93
+ - lib/fotoramajs.rb
94
+ - lib/fotoramajs/updater.rb
95
+ - lib/fotoramajs/version.rb
96
+ - vendor/assets/images/fotorama.png
97
+ - vendor/assets/images/fotorama@2x.png
98
+ - vendor/assets/javascripts/fotorama.js
99
+ - vendor/assets/stylesheets/fotorama.css.scss
100
+ homepage: http://fotorama.io/
101
+ licenses:
102
+ - MIT
62
103
  post_install_message:
63
104
  rdoc_options: []
64
105
  require_paths:
@@ -68,16 +109,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
109
  requirements:
69
110
  - - ! '>='
70
111
  - !ruby/object:Gem::Version
112
+ version: '0'
71
113
  segments:
72
114
  - 0
73
- hash: -1200028275741273327
74
- version: '0'
115
+ hash: -2719923202432952815
75
116
  required_rubygems_version: !ruby/object:Gem::Requirement
76
117
  none: false
77
118
  requirements:
78
119
  - - ! '>='
79
120
  - !ruby/object:Gem::Version
80
121
  version: '0'
122
+ segments:
123
+ - 0
124
+ hash: -2719923202432952815
81
125
  requirements: []
82
126
  rubyforge_project:
83
127
  rubygems_version: 1.8.23
@@ -1,2 +0,0 @@
1
- /*! Fotorama 3.0.8 | http://fotoramajs.com/license/ */
2
- (function(a,b,c,d){function f(a){var b="bez_"+c.makeArray(arguments).join("_").replace(".","p");if(typeof c.easing[b]!="function"){var d=function(a,b){var c=[null,null],d=[null,null],e=[null,null],f=function(f,g){return e[g]=3*a[g],d[g]=3*(b[g]-a[g])-e[g],c[g]=1-e[g]-d[g],f*(e[g]+f*(d[g]+f*c[g]))},g=function(a){return e[0]+a*(2*d[0]+3*c[0]*a)},h=function(a){var b=a,c=0,d;while(++c<14){d=f(b,0)-a;if(Math.abs(d)<.001)break;b-=d/g(b)}return b};return function(a){return f(h(a),1)}};c.easing[b]=function(b,c,e,f,g){return f*d([a[0],a[1]],[a[2],a[3]])(c/g)+e}}return b}function G(a){var b={};for(var c=0;c<F.length;c++){var d=F[c][0],e=F[c][1];if(a){var f=a.attr("data-"+d);f&&(e=="n"?(f=Number(f),isNaN(f)||(b[d]=f)):e=="b"?f=="true"?b[d]=!0:f=="false"&&(b[d]=!1):e=="s"?b[d]=f:e=="bn"&&(f=="true"?b[d]=!0:f=="false"?b[d]=!1:(f=Number(f),isNaN(f)||(b[d]=f))))}else b[d]=F[c][2]}return b}function I(a,c){var d=b.createElementNS("http://www.w3.org/2000/svg",a);for(var e in c)d.setAttribute(e,c[e]);return d}function J(a,b){var c={};for(var d=0;d<H.length;d++)c[H[d]+a]=b;return c}function K(a,b,c){if(u&&!c)return J("transform",b?"translate(0,"+a+"px)":"translate("+a+"px,0)");var d={};return d[b?"top":"left"]=a,d}function L(a,b){return a.match(/-?\d+/g)[b=="left"?4:5]}function M(a,b,c){return!t||!u||!c?a.position()[b]:L(a.css("-moz-transform"),b)}function N(a){return J("transition-duration",a+"ms")}function O(a){return a=Number(String(a).replace("px","")),isNaN(a)?!1:a}function P(a,b,c){return Math.max(b,Math[c!==!1?"min":"max"](c,a))}function Q(){return!1}function R(a){a.mousemove(function(a){a.preventDefault()}).mousedown(function(a){a.preventDefault()})}function S(c){c.preventDefault();if(b.selection&&b.selection.empty)b.selection.empty();else if(a.getSelection){var d=a.getSelection();d.removeAllRanges()}}function T(a){var b=c("iframe",a);b.size()&&b.each(function(){var a=c(this).clone(),b=a.attr("src"),d=b.indexOf("?")>0?"&":"?";a.attr("src",b+d+"wmode=opaque").addClass("js-opaque"),c(this).after(a).remove()});var d=c("object",a);d.size()&&d.each(function(){var a=c(this).clone();a.addClass("js-opaque"),c('<param name="wmode" value="opaque">').appendTo(a),c("embed",a).attr({wmode:"opaque"}),c(this).after(a).remove()})}function U(a,b){a.is(":visible")?b():setTimeout(function(){U(a,b)},100)}function V(e){function ce(){cc=!0,clearTimeout(cd),f().arrows&&bY.css(N(0)),bR.removeClass("fotorama__wrap_mouseout"),setTimeout(function(){f().arrows&&bY.css(N(f().transitionDuration)),setTimeout(function(){bR.addClass("fotorama__wrap_mouseover")},1)},1)}function cf(){clearTimeout(cd),!bB&&!cc&&bR.removeClass("fotorama__wrap_mouseover").addClass("fotorama__wrap_mouseout")}function cB(a,b,d,e,g,h){var i=c(a);e=bf.i.test(g)?bg?bg:1:e;var j=f().vertical?Math.round(cm/e):Math.round(cm*e);m?(i.remove(),i=c('<canvas class="fotorama__thumb__img"></canvas>'),i.appendTo(cA.eq(h))):i.addClass("fotorama__thumb__img");var k={};k[bP]=j,k[bQ]=cm,i.attr(k).css(k).css({visibility:"visible"}),m&&!bf.i.test(g)&&i[0].getContext("2d").drawImage(a,0,0,f().vertical?cm:j,f().vertical?j:cm),k[bQ]=null,cA.eq(h).css(k).data(k),cS()}function cC(a){!bH&&!bE&&!bC&&!bs?(a||(a=0),cV(a,cA.eq(a),cB,"thumb"),setTimeout(function(){a+1<p&&cC(a+1)},50)):setTimeout(function(){cC(a)},100)}function cF(a,b,d){a&&(bf.no.test(a)||bf.px.test(a)?(L=P(O(a),Y,Z),W=L,be=!1,bd=!1):bf["%"].test(a)?(bb=Number(String(a).replace("%",""))/100,be=!f().flexible,L||(L=e.width()*(bq?1:bb)-cz,L=P(L,Y,Z)),bd=!1):bd=!0),b&&(bf.no.test(b)||bf.px.test(b)?(V=P(O(b),_,ba),X=V,bc=!1):bc=!0);if(a=="auto"||!a||b=="auto"||!b){var g=Number(d),h=cl.filter(function(){return c(this).data("state")!="error"}).filter(":first").data("srcKey");if(isNaN(g)||!g)g=null,h&&(g=t[h].imgRatio);if(g){bg=g,bh=g,bi=g;if(h){if(a=="auto"||!a)L=P(O(t[h].imgWidth),Y,Z),W=L,bd=!0;if(b=="auto"||!b)V=P(O(t[h].imgHeight),_,ba),X=V,bc=!0}bc&&g&&!bd&&(V=P(Math.round(L/g),_,ba),X=V),!bc&&g&&bd&&(L=P(Math.round(V*g),Y,Z),W=L)}}}function cG(a){var b;if(f().fitToWindowHeight||bq)b=B.height();if(!bg||a)bg=L/V,bh=bg,bi=bg;f().thumbs&&!cq&&(cq=f().vertical?cp.width():cp.height()),bp?bg=bi:bg=bh,e.css({overflow:be||bq?"hidden":""}),be||bq?(L=e.width()*(bq?1:bb)-(f().vertical&&cq&&(!bq||!f().hideNavIfFullscreen)?cq:0),bq||(L=P(L,Y,Z))):W&&(L=W),bq?(V=b-(!f().vertical&&cq&&!f().hideNavIfFullscreen?cq:0),bg=L/V):bc?(V=P(Math.round(L/bg),_,ba),bg=L/V):(V=X,bg=L/V);if(f().fitToWindowHeight&&!bq){var c=b-f().fitToWindowHeightMargin-(!f().vertical&&cq?cq:0);V>c&&(V=P(c,_,ba),bg=L/V)}}function cI(a,b,d){cG(a),b||(b=0);var e=L!=bk||V!=bl||bg!=bm,g=a||e;if(g){f().vertical?(H=V,J=L):(H=L,J=V),bR.add(cl).animate({width:L,height:V},b),f().thumbs&&f().vertical&&(f().thumbsOnRight?cp.animate({left:L},b):bR.animate({left:!bq||!f().hideNavIfFullscreen?cq:0},b));var i;f().touchStyle?(bz=(H+f().margin)*p-f().margin,bA=J,i={},i[bP]=bz,i[bQ]=bA,bS.animate(i,b).data(i).data({minPos:-(bz-H),maxPos:0})):bS.animate({width:L,height:V},b),f().thumbs&&(f().vertical?cp.animate({height:V},b):cp.animate({width:L},b),f().thumbsPreview&&e&&cS(b,d),cp.css({visibility:"visible"})),r&&!f().vertical&&(f().arrows&&bY.animate({top:V/2},b),i={},i[bM]=J/2,bT.animate(i,b));if(h=="loading"||h=="error")i={},i[bL]=(f().touchStyle?ch:0)*(H+f().margin)+H/2,bT.animate(i,b);if(cg&&f().touchStyle){var j=-ch*(H+f().margin);cO(bS,j,0)}bn=!0;var k=0;c(cH).each(function(){clearTimeout(this)}),cH=[],cT(cg,ch,b),cl.each(function(a){if(a!=ch){var b=c(this),d=b.data("img");d&&b.data("img").css({visibility:"hidden"});var e=setTimeout(function(){cT(b,a)},k*50+50);cH.push(e),k++}})}bk=L,bl=V,bm=bg}function cJ(){var a=cg.data("srcKey");a&&t[a].imgWidth&&t[a].imgHeight&&t[a].imgRatio&&(L=t[a].imgWidth,W=L,V=t[a].imgHeight,X=V,bg=t[a].imgRatio,bh=bg,cI(!1,f().transitionDuration))}function cK(a,b,c){function d(){f().touchStyle||(b=0),bT.css(bL,b*(H+f().margin)+H/2),bU=setTimeout(function(){bT.stop().fadeTo(r?0:y,1)},100)}clearTimeout(bU),a=="loading"?(d(),e.addClass("fotorama_loading").removeClass("fotorama_error"),j.spin(bT[0])):a=="error"?(d(),e.addClass("fotorama_error").removeClass("fotorama_loading"),j.stop()):a=="loaded"&&(e.removeClass("fotorama_loading fotorama_error"),bT.stop().fadeTo(Math.min(r?0:y),0,function(){j.stop()})),h=a}function cL(){return{index:ch,src:t[ch],img:cg[0],thumb:f().thumbs?cn[0]:null,caption:ci}}function cM(a){clearInterval(a.data("backAnimate"))}function cN(){f().onTransitionStop&&f().onTransitionStop.call(e[0],cL())}function cO(a,b,c,d){var e=isNaN(b)?0:Math.round(b);cM(a),d?(e=d,u&&f().cssTransitions&&a.data({backAnimate:setInterval(function(){var e=M(a,bL,f().cssTransitions);Math.abs(e-d)<1&&cO(a,b,Math.max(y,c/2))},10)})):setTimeout(function(){cN()},c+10),c&&(clearTimeout(bt),bs=!0),u&&f().cssTransitions?(a.css(N(c)),a.css(K(e,f().vertical))):a.stop().animate(K(e,f().vertical,!f().cssTransitions),c,x,function(){d&&cO(a,b,Math.max(y,c/2))}),bt=setTimeout(function(){bs=!1,f().flexible&&a==bS&&cJ()},c)}function cP(){if(cs>H||!f().thumbsCentered)cr.data({minPos:cs>H?-(cs-H):f().thumbMargin}),bE||cr.data({maxPos:f().thumbMargin});else{var a=H/2-cs/2;cr.data({minPos:a}),bE||cr.data({maxPos:a})}}function cQ(a,b,c){a*=1.1;if(cs){if(!c||cs<H)bF=!1;var e=cn.position()[bL],g=cn.data()[bP];cP();if(!g&&cy)cx.hide(),cy=!1;else{cy||(cx.show(),cy=!0);if(cs>H){var h=e+g/2,i=H/2,j=cA.index(cn),k=j-co;ct==d&&(ct=cr.position()[bL]);if(bJ&&b&&b>Math.max(36,f().thumbMargin*2)&&b<H-Math.max(36,f().thumbMargin*2)&&(k>0&&b>i*.75||k<0&&b<i*1.25)){var l;k>0?l=j+1:l=j-1,l<0?l=0:l>p-1&&(l=p-1);if(j!=l){var m=cA.eq(l);h=m.position()[bL]+m.data()[bP]/2,i=b}}var n=-(cs-H),o=Math.round(-(h-i)+f().thumbMargin);if(k>0&&o>ct||k<0&&o<ct)e+ct<f().thumbMargin?o=-(e-f().thumbMargin):e+ct+g>H?o=-(e*2-H+g+f().thumbMargin):o=ct;o<=cr.data("minPos")?o=cr.data("minPos"):o>=f().thumbMargin&&(o=f().thumbMargin),cR(o),bE||cr.data({maxPos:f().thumbMargin})}else o=cr.data("minPos");!bF&&!bE?(cO(cr,o,a,!1),bG&&(bF=!0),ct=o):bG=!0;var q=g-(v?0:f().thumbBorderWidth*2),r=e;a*=.9,u&&f().cssTransitions?(cx.css(N(a)),cx.css(K(r,f().vertical)).css(bP,q)):f().vertical?cx.stop().animate({top:r,height:q},a,x):cx.stop().animate({left:r,width:q},a,x)}}}function cR(a){f().shadows&&(cs>H?(cp.addClass("fotorama__thumbs_shadow"),a<=cr.data("minPos")?cp.removeClass("fotorama__thumbs_shadow_no-left").addClass("fotorama__thumbs_shadow_no-right"):a>=f().thumbMargin?cp.removeClass("fotorama__thumbs_shadow_no-right").addClass("fotorama__thumbs_shadow_no-left"):cp.removeClass("fotorama__thumbs_shadow_no-left fotorama__thumbs_shadow_no-right")):cp.removeClass("fotorama__thumbs_shadow"))}function cS(a,b){cs=cr[bP](),cP(),cQ(a?a:0,!1,!b)}function cT(a,b,c){var d=a.data("img"),e=a.data("detached");c=c?c:0;if(d&&!e){var g=a.data("srcKey"),h=t[g].imgWidth,i=t[g].imgHeight,j=t[g].imgRatio,k=0,l=0;f().touchStyle&&a.css(bL,b*(H+f().margin));if(h!=L||i!=V||f().alwaysPadding||bq){var m=0;if(j/bg<.99||j/bg>1.01||f().alwaysPadding||bq)m=f().minPadding*2;j>=bg?!bq&&!f().cropToFit||bq&&!f().cropToFitIfFullscreen?(h=Math.round(L-m)<h||f().zoomToFit||bq&&t[b].imgRel?Math.round(L-m):h,i=Math.round(h/j),V-i<4&&(i+=V-i)):(i=V,h=Math.round(i*j)):!bq&&!f().cropToFit||bq&&!f().cropToFitIfFullscreen?(i=Math.round(V-m)<i||f().zoomToFit||bq&&t[b].imgRel?Math.round(V-m):i,h=Math.round(i*j),L-h<4&&(h+=L-h)):(h=L,i=Math.round(h/j))}if(h&&i){var n={width:h,height:i};i!=V&&(k=Math.round((V-i)/2)),h!=L&&(l=Math.round((L-h)/2)),d.attr(n),n.top=k,n.left=l,d.animate(n,c)}d.css({visibility:"visible"}),cW(a,b)}else d&&e&&a.data({needToResize:!0})}function cU(a,b){return a===" "?"ё"+b:a}function cV(a,b,d,e){function o(c){function k(){h.css({visibility:"hidden"}),g.src=c;if(j==0){h.appendTo(b);if(e=="thumb"){var a=f().vertical?Math.round(cm/(f().aspectRatio?f().aspectRatio:bg?bg:1)):Math.round(cm*(f().aspectRatio?f().aspectRatio:bg?bg:1));b.css(bP,a).data(bP,a),cS()}}}function l(){bK++,bK==p&&(bJ=!0)}function m(){bf.i.test(c)||(G[c]="loaded"),h.unbind("error load").error(function(){h.unbind("error"),g.src=c,t[a].imgRel=!1,cT(cl.eq(a),a)}),setTimeout(function(){U(b,function(){t[c]||(t[c]=[],t[c].imgWidth=h.width(),t[c].imgHeight=h.height(),t[c].imgWidth||(t[c].imgWidth=b.data("html")?b.data("html").width()||z:z),t[c].imgHeight||(t[c].imgHeight=b.data("html")?b.data("html").height()||A:A),t[c].imgRatio=t[c].imgWidth/t[c].imgHeight),b.trigger("fotoramaload").data({state:"loaded"}),d(g,t[c].imgWidth,t[c].imgHeight,t[c].imgRatio,c,a)})},100),e=="thumb"&&l()}function n(){m()}function q(a){G[c]="error",h.unbind("error load"),j<i.length&&a?(j++,bf.i.test(i[j])&&q(!0),o(i[j])):(b.trigger("fotoramaerror").data({state:"error"}),e=="thumb"&&l())}if(!G[c])bf.i.test(c)?n():(G[c]="loading",h.unbind("error load").bind("error",function(){q(!0)}).bind("load",n),k());else{function r(){G[c]=="error"?q(!1):G[c]=="loaded"?n():setTimeout(r,100)}k(),r()}}var g=new Image,h=c(g),i=[],j=0,k=cU(t[a].imgHref,a),l=cU(t[a].imgSrc,a),m=cU(t[a].thumbSrc,a),n=e=="img"?"push":"unshift";k&&i[n](k),l&&i[n](l),m&&i[n](m),o(i[j])}function cW(a,b){var c=a.data("img"),d=a.data("srcKey"),e=t[b].imgRel;if(c&&e&&e!=d&&!q){var f=c.data("full"),g=a.data("detached");(bq&&!f||!bq&&f)&&!g&&(c[0].src=bq?e:d,c.data({full:bq}))}}function cX(a,b){if(!a.data("wraped")){bS.append(a.data({state:"loading"})),b!=ch&&!f().touchStyle&&a.stop().fadeTo(0,0);function d(d,e,g,h,i){var j=c(d);j.addClass("fotorama__img"),a.data({img:j,srcKey:i});var k=!1;if((!L||!V)&&!bn||!bo&&b==f().startImg){L=e,f().width=e;if(bc)V=g,f().height=g;else if(bd){var l=e/g;L=Math.round(V*l),f().width=L}f().aspectRatio||(f().aspectRatio=L/V),k=!0,bo=b==f().startImg}k||f().flexible?(cI(!0),f().flexible&&cJ()):cT(a,b),a.css({visibility:"visible"})}a.data({wraped:!0,detached:!1});if(l&&k[b].html&&k[b].html.length||f().html&&f().html[b]&&f().html[b].length){var e=k[b].html||f().html[b];r&&f().html&&f().html[b]&&f()._html&&f()._html[b]&&e.html(f()._html[b]);var g=c(e);a.append(e).data({html:g,htmlIsIframe:g.is("iframe")}),T(a)}cV(b,a,d,"img")}else f().detachSiblings&&a.data("detached")&&(a.data({detached:!1}).appendTo(bS),a.data("needToResize")&&(cT(a,b),a.data({needToResize:!1})))}function cY(a,b){var d=0,e=!1,g=[],h=[],j=bq?Math.min(1,f().preload):f().preload;for(i=0;i<j*2+1;i++){var k=b-j+i;if(k>=0&&k<p&&!f().loop||f().loop){k<0&&(k=p+k),k>p-1&&(k=k-p);if(!cl.eq(k).data("wraped")||cl.eq(k).data("detached"))d++,g.push(k);h.push(k)}else e=!0}if(d>=j||e)c(g).each(function(a){var b=a*50;setTimeout(function(){cX(cl.eq(g[a]),g[a])},b)}),f().detachSiblings&&cl.filter(function(a){var d=c(this),e=!1;for(var f=0;f<h.length&&!e;f++)h[f]==a&&(e=!0);return d.data("state")!="loading"&&!e&&b!=a}).data({detached:!0}).detach();if(cj.data("htmlIsIframe")){var l=cj.html();cj.html("").html(l)}}function cZ(){(ch==0||p<2)&&!f().loop?bZ.addClass("fotorama__arr_disabled").data("disabled",!0):bZ.removeClass("fotorama__arr_disabled").data("disabled",!1),(ch==p-1||p<2)&&!f().loop?b$.addClass("fotorama__arr_disabled").data("disabled",!0):b$.removeClass("fotorama__arr_disabled").data("disabled",!1)}function c$(){location.replace(location.protocol+"//"+location.host+"/"+location.pathname+location.search+"#"+(ch+1))}function c_(a){a||(a=0),clearTimeout(by),by=setTimeout(function(){cg.data("state")!="loading"?bx&&e.trigger("showimg",[ch+1,!1,!0]):cg.bind("fotoramaload fotoramaerror",function(){c_(a)})},Math.max(f().autoplay,a*2))}function da(a,b,d,g,i,j,l,m){function p(){f().caption&&(ci=k[o].caption?k[o].caption:k[o].title,ci?cD.html(ci).show():cD.html("").hide())}function r(){cj.removeClass("fotorama__frame_active"),a.addClass("fotorama__frame_active")}var n,o=cl.index(a);cl.each(function(){c(this).unbind("fotoramaload fotoramaerror")}),typeof i!="number"&&(g?i=0:i=f().transitionDuration),!g&&b&&b.altKey&&(i=i*10);var q=a.data("state");q=="loading"||!q?(cK("loading",o,i),a.one("fotoramaload",function(){cK("loaded",o,i),p()}),a.one("fotoramaerror",function(){cK("error",o,i),p()})):q=="error"?cK("error",o,i):q!=h&&cK("loaded",o,i),p(),cg?(cj=cg,n=ch,f().thumbs&&(ck=cn)):(cj=cl.not(a),f().thumbs&&(ck=cA.not(cA.eq(o)))),f().thumbs&&(cn=cA.eq(o),n&&(co=n),ck.removeClass("fotorama__thumb_selected").data("disabled",!1),cn.addClass("fotorama__thumb_selected").data("disabled",!0)),f().thumbs&&f().thumbsPreview&&(n!=o||g)&&cQ(i,d);if(f().touchStyle){var s=-o*(H+f().margin);r(),cO(bS,s,i,j)}else if(f().transition=="crossFade")cl.not(cj.stop()).stop().fadeTo(0,0),a.stop().fadeTo(i,1),cj.not(a).stop().fadeTo(i,0,function(){cN(),f().flexible&&cJ()});else if(n!=o||g){var t=i,u=0;q!="loaded"&&(t=0,u=i),cl.not(cj.stop()).stop().fadeTo(0,0),setTimeout(function(){r(),a.stop().fadeTo(t,1,function(){cj.not(a).stop().fadeTo(u,0,function(){f().flexible&&cJ()}),cN()})},10)}cg=a,ch=o,f().hash&&typeof n!="undefined"&&c$(),bx&&!l&&f().stopAutoplayOnAction&&(bx=!1),c_(i);var v=cL();e.data(v),f().arrows&&cZ();var w=a.data("wraped");clearTimeout(bw),bw=setTimeout(function(){!w&&o!=f().startImg&&(cX(a,o),f().onShowImg&&!m&&f().onShowImg.call(e[0],v,l)),cY(a,o)},(i?Math.max(i/2,y):0)*1.1);if(w||o==f().startImg)cX(a,o),f().onShowImg&&!m&&f().onShowImg.call(e[0],v,l)}function db(a,b){b.stopPropagation(),b.preventDefault();var c=ch+a;c<0&&(c=f().loop?p-1:0),c>p-1&&(c=f().loop?0:p-1),da(cl.eq(c),b)}function dd(a,b){clearTimeout(dc),dc=setTimeout(function(){cI(b)},10)}function de(){br||(B.bind("resize",dd),n&&a.addEventListener("orientationchange",dd,!1),br=!0)}function df(a){a.stopPropagation();var b=c(this);if(!b.data("disabled")){var d=cA.index(c(this)),e=a[bN]-cp.offset()[bL];da(cl.eq(d),a,e)}}function dg(a,b,c,d){function z(a,b){return Math.round(a+(b-g)/1.5)}function A(c){if((n||c.which<2)&&cg){function d(){m=(new Date).getTime(),j=h,k=i,o=[[m,h]],cM(a),u&&f().cssTransitions?a.css(N(0)):a.stop(),g=M(a,bL,f().cssTransitions),a.css(K(g,f().vertical,!f().cssTransitions)),l=g,b(),y=!1}n?n&&c.targetTouches.length==1?(h=c.targetTouches[0][bN],i=c.targetTouches[0][bO],d(),a[0].addEventListener("touchmove",B,!1),a[0].addEventListener("touchend",D,!1)):n&&c.targetTouches.length>1&&c.preventDefault():(h=c[bN],c.preventDefault(),d(),C.mousemove(B),C.mouseup(D))}}function B(b){function d(){b.preventDefault(),p=(new Date).getTime(),o.push([p,h]);var d=j-h;g=l-d,g>a.data("maxPos")?(g=z(g,a.data("maxPos")),x="left"):g<a.data("minPos")?(g=z(g,a.data("minPos")),x="right"):x=!1,f().touchStyle&&a.css(K(g,f().vertical,!f().cssTransitions)),c(g,d,x),(h-e.offset().left>H||h-e.offset().left<0)&&C.trigger("mouseup")}n?n&&b.targetTouches.length==1&&(h=b.targetTouches[0][bN],i=b.targetTouches[0][bO],v?t===!0&&d():Math.abs(h-j)-Math.abs(i-k)>=-5?(t=!0,v=!0):Math.abs(i-k)-Math.abs(h-j)>=-5&&(t="prevent",v=!0)):(h=b[bN],d())}function D(b){if((!n||!b.targetTouches.length)&&y===!1){n?(a[0].removeEventListener("touchmove",B,!1),a[0].removeEventListener("touchend",D,!1)):(C.unbind("mouseup"),C.unbind("mousemove")),r=(new Date).getTime();var c=-g,e=r-w,f,i,j,k;for(var l=0;l<o.length;l++)f=Math.abs(e-o[l][0]),l==0&&(i=f,j=r-o[l][0],k=o[l][1]),f<=i&&(i=f,j=o[l][0],k=o[l][1]);var m=k-h,p=m>=0,u=r-j,x=u<=w,z=r-s,A=p===q;d(c,u,x,z,A,m,b,t),s=r,q=p,t=!1,v=!1,y=!0}}var g,h,i,j,k,l,m,o=[],p,q,r,s=0,t=!1,v=!1,x=!1,y;n?a[0].addEventListener("touchstart",A,!1):a.mousedown(A),!n}var f=function(){return e.data("options")};f().backgroundColor&&!f().background&&(f().background=f().backgroundColor),f().thumbsBackgroundColor&&!f().navBackground&&(f().navBackground=f().thumbsBackgroundColor),f().thumbColor&&!f().dotColor&&(f().dotColor=f().thumbColor),f().click!==null&&(f().pseudoClick=f().click);if(f().nav===!0||f().nav=="true"||f().nav=="thumbs")f().thumbs=!0,f().thumbsPreview=!0;else if(f().nav=="dots")f().thumbs=!0,f().thumbsPreview=!1;else if(f().nav===!1||f().nav=="false"||f().nav=="none")f().thumbs=!1;if(f().transition==="fade"||f().transition==="crossFade")f().touchStyle=!1;f().cropToFit&&(f().cropToFitIfFullscreen=!0),f().thumbsPreview&&f().background&&!f().navBackground&&(f().navBackground=f().background),f().caption&&(f().caption===!0||f().caption=="true"||f().caption=="simple"?f().caption=!0:f().caption!="overlay"&&(f().caption=!1)),f().navPosition=="top"?(f().thumbsOnTop=!0,f().thumbsOnRight=!1):f().navPosition=="right"?(f().thumbsOnTop=!1,f().thumbsOnRight=!0):f().navPosition=="bottom"?(f().thumbsOnTop=!1,f().thumbsOnRight=!1):f().navPosition=="left"&&(f().thumbsOnTop=!1,f().thumbsOnRight=!1);var h;f().hash&&b.location.hash&&(f().startImg=parseInt(b.location.hash.replace("#",""))-1);var j=new g({length:8,radius:6,width:2,color:f().spinnerColor,rotate:15}),k,l=f().data&&(typeof f().data=="object"||typeof f().data=="string");l?k=c(f().data).filter(function(){return this.img||this.img===" "||this.href||this.href===" "}):k=e.children().filter(function(){var a=c(this),b=a.children("img"),d=(a.is("a")&&b.length||a.is("img"))&&(a.attr("href")||a.attr("href")===" "||a.attr("src")||a.attr("src")===" "||b.attr("src")||b.attr("src")===" "),e=a.is(":empty");return d||a.data({html:!0}),d||!e});var p=k.size();e.data({size:p}),f().preload=Math.min(f().preload,p);if(f().startImg>p-1||typeof f().startImg!="number")f().startImg=0;var t=[];k.each(function(a){if(!l){var b=c(this);if(!b.data("html")){var d=b.children();t[a]={imgHref:b.attr("href"),imgSrc:b.attr("src"),thumbSrc:d.attr("src"),imgRel:b.attr("rel")?b.attr("rel"):d.attr("rel")},this.caption=b.attr("alt")||d.attr("alt")}else t[a]={imgHref:b.attr("data-img")||" ",thumbSrc:b.attr("data-thumb"),imgRel:b.attr("data-full")},this.caption=this.caption||b.attr("data-caption"),f().html||(f().html={}),f().html[a]=b,r&&(f()._html||(f()._html={}),f()._html[a]=b.html())}else t[a]={imgHref:this.img?this.img:this.href?this.href:this.length?String(this):null,thumbSrc:this.thumb,imgRel:this.full}}),e.html("").addClass("fotorama "+(f().vertical?"fotorama_vertical":"fotorama_horizontal")),v&&e.addClass("fotorama_quirks");if(s||q)var F=e.wrap('<div class="fotorama-outer"></div>').parent();f().arrows||(f().loop=!0);var G=[],H,J,L,V,W,X,Y=O(f().minWidth),Z=O(f().maxWidth),_=O(f().minHeight),ba=O(f().maxHeight),bb=1,bc=!0,bd=!0,be,bf={no:/^[0-9.]+$/,px:/^[0-9.]+px$/,"%":/^[0-9.]+%$/,i:/^ё\d+$/},bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by;if(f().autoplay===!0||f().autoplay=="true"||f().autoplay>0)bx=!0;typeof f().autoplay!="number"&&(f().autoplay=5e3);if(f().touchStyle)var bz=0,bA,bB=!1,bC=!1,bD;if(f().thumbs&&f().thumbsPreview)var bE=!1,bF=!1,bG=!1,bH=!1,bI,bJ=!1,bK=0;var bL,bM,bN,bO,bP,bQ;f().vertical?(bL="top",bM="left",bN="pageY",bO="pageX",bP="height",bQ="width"):(bL="left",bM="top",bN="pageX",bO="pageY",bP="width",bQ="height");var bR=c('<div class="fotorama__wrap"></div>').appendTo(e),bS=c('<div class="fotorama__shaft"></div>').appendTo(bR);f().touchStyle||(R(bR),R(bS));var bT=c('<div class="fotorama__state"></div>').appendTo(bS);o&&c(I("svg",{viewBox:"0 0 32 32"})).append(c(I("g",{fill:"none",stroke:f().spinnerColor,"stroke-width":2})).append(I("circle",{cx:16,cy:16,r:13})).append(I("line",{x1:7,y1:7,x2:25,y2:25}))).appendTo(bT),f().noise&&c('<div class="fotorama__noise"></div>').prependTo(bR);var bU;if(f().fullscreenIcon&&!f().fullscreen)var bV=c('<div class="fotorama__fsi"><i class="i1"><i class="i1"></i></i><i class="i2"><i class="i2"></i></i><i class="i3"><i class="i3"></i></i><i class="i4"><i class="i4"></i></i><i class="i0"></i></div>').appendTo(bR);n&&e.addClass("fotorama_touch"),q&&(f().shadows=!1),f().touchStyle?bR.addClass("fotorama__wrap_style_touch"):bR.addClass("fotorama__wrap_style_fade"),f().shadows&&e.addClass("fotorama_shadows"),u&&f().cssTransitions&&e.addClass("fotorama_csstransitions");if(f().arrows){var bW,bX;f().vertical?(bW=f().arrowPrev?f().arrowPrev:"&#9650;",bX=f().arrowNext?f().arrowNext:"&#9660;"):(bW=f().arrowPrev?f().arrowPrev:"&#9664;",bX=f().arrowNext?f().arrowNext:"&#9654;");var bY=c('<i class="fotorama__arr fotorama__arr_prev">'+bW+'</i><i class="fotorama__arr fotorama__arr_next">'+bX+"</i>").appendTo(bR),bZ=bY.eq(0),b$=bY.eq(1);R(bY);var b_,ca;function cb(){clearTimeout(ca),ca=setTimeout(function(){var a=b_>=H/2;b$[a?"addClass":"removeClass"]("fotorama__arr_hover"),bZ[a?"removeClass":"addClass"]("fotorama__arr_hover"),f().touchStyle||bS.css({cursor:a&&b$.data("disabled")||!a&&bZ.data("disabled")?"default":"pointer"})},10)}n||f().pseudoClick&&bR.mousemove(function(a){b_=a[bN]-bR.offset()[bL],cb()})}else!f().touchStyle&&f().pseudoClick&&p>1&&bS.css({cursor:"pointer"});var cc=!1,cd;n||(bR.mouseenter(function(){ce()}),bR.mouseleave(function(){cc=!1,cf()}));var cg,ch,ci,cj,ck,cl=c();k.each(function(a){var b=c('<div class="fotorama__frame" style="visibility: hidden;"></div>');cl=cl.add(b)});if(f().thumbs){var cm=Number(f().thumbSize);if(isNaN(cm)||!cm)cm=f().vertical?64:48;var cn,co=0,cp=c('<div class="fotorama__thumbs" style="visibility: hidden;"></div>')[f().thumbsOnTop?"prependTo":"appendTo"](e),cq,cr=c('<div class="fotorama__thumbs-shaft"></div>').appendTo(cp);f().touchStyle||R(cp);if(f().thumbsPreview){cq=cm+f().thumbMargin*2,cp.addClass("fotorama__thumbs_previews").css(bQ,cq);var cs=0,ct=d,cu=cm-(v?0:f().thumbBorderWidth*2),cv=f().thumbMargin,cw={};cw[bQ]=cu,cw[bM]=cv,cw.borderWidth=f().thumbBorderWidth;var cx=c('<i class="fotorama__thumb-border"></i>').css(cw).appendTo(cr),cy}var cz=f().vertical&&cp?cp.width():0;e.css({minWidth:Y+cz}),k.each(function(a){var b;if(f().thumbsPreview){b=c('<div class="fotorama__thumb"></div>');var d={};d[bQ]=cm,d.margin=f().thumbMargin,b.css(d)}else b=c('<i class="fotorama__thumb"><i class="fotorama__thumb__dot"></i></i>');b.appendTo(cr)});var cA=c(".fotorama__thumb",e)}if(f().caption){var cD=c('<p class="fotorama__caption"></p>');if(f().caption=="overlay")cD.appendTo(bR).addClass("fotorama__caption_overlay");else{cD.appendTo(e);var cE=cD.wrap('<div class="fotorama__caption-outer"></div>').parent()}}cF(f().width,f().height,f().aspectRatio);var cH=[];da(cl.eq(f().startImg),!1,!1,!0,!1,!1,!0),L&&V&&(bo=!0,cI()),f().thumbs&&f().thumbsPreview&&cC(0),f().thumbs&&(f().dotColor&&!f().thumbsPreview&&cA.children().css({backgroundColor:f().dotColor}),f().navBackground&&cp.css({background:f().navBackground}),f().thumbsPreview&&f().thumbBorderColor&&cx.css({borderColor:f().thumbBorderColor})),f().background&&bR.add(f().touchStyle?!1:cl).css({background:f().background}),f().arrowsColor&&f().arrows&&bY.css({color:f().arrowsColor});var dc=!1;de(),e.bind("dblclick",S),e.bind("showimg",function(a,b,c,d){typeof b!="number"&&(b=="next"?b=ch+1:b=="prev"?b=ch-1:b=="first"?b=0:b=="last"?b=p-1:(b=ch,d=!0)),b>p-1&&(b=0),(!f().touchStyle||!bC)&&da(cl.eq(b),a,!1,!1,c,!1,d)}),e.bind("play",function(a,b){bx=!0,b=Number(b),isNaN(b)||(f().autoplay=b),c_(y)}),e.bind("pause",function(){bx=!1}),e.bind("rescale",function(a,b,c,d,e){cF(b,c,d),bg=L/V,bi=bg,bp=!be,e=Number(e),isNaN(e)&&(e=0),cI(!1,e)}),e.bind("fullscreenopen",function(){bu=B.scrollTop(),bv=B.scrollLeft(),bq=!0,bV&&bV.trigger("mouseleave",!0),B.scrollLeft(0).scrollTop(0),setTimeout(function(){D.add(E).addClass("fullscreen"),e.addClass("fotorama_fullscreen"),(s||q)&&e.appendTo(E).addClass("fotorama_fullscreen_quirks"),f().caption&&!f().caption!="overlay"&&cD.appendTo(bR),f().thumbs&&f().hideNavIfFullscreen&&cp.hide(),de(),cg&&da(cg,!1,!1,!0,0,!1,!0,!0),cI(!1,!1,!0),f().onFullscreenOpen&&f().onFullscreenOpen.call(e[0],cL())},0)}),e.bind("fullscreenclose",function(){bq=!1,bV&&bV.trigger("mouseleave",!0),D.add(E).removeClass("fullscreen"),e.removeClass("fotorama_fullscreen"),(s||q)&&e.appendTo(F).removeClass("fotorama_fullscreen_quirks"),f().caption&&!f().caption!="overlay"&&cD.appendTo(cE),be||(L=f().width,V=f().height),f().thumbs&&f().hideNavIfFullscreen&&cp.show(),cg&&da(cg,!1,!1,!0,0,!1,!0,!0),f().flexible?cJ():cI(!1,!1,!0),B.scrollLeft(bv).scrollTop(bu),f().onFullscreenClose&&f().onFullscreenClose.call(e[0],cL())}),e.bind("reset",function(){dd({type:"resize"},!0)}),C.bind("keydown",function(a){bq&&(a.keyCode==27&&!f().fullscreen?(a.preventDefault(),e.trigger("fullscreenclose")):a.keyCode==39||a.keyCode==40?e.trigger("showimg",ch+1):(a.keyCode==37||a.keyCode==38)&&e.trigger("showimg",ch-1))}),f().thumbs&&cA.bind("click",df),f().arrows&&(bZ.bind("click",function(a){c(this).data("disabled")||db(-1,a)}),b$.bind("click",function(a){c(this).data("disabled")||db(1,a)})),!f().touchStyle&&!n&&f().pseudoClick&&bR.bind("click",function(a){if(f().html){var b,d;b=c(a.target),d=b.filter("a"),d.length||(d=b.parents("a"))}if(!d||!d.length){var g=a[bN]-bR.offset()[bL]>=H/2;if(f().onClick)var h=f().onClick.call(e[0],cL());h!==!1&&(!a.shiftKey&&g&&f().arrows||a.shiftKey&&!g&&f().arrows||!f().arrows&&!a.shiftKey?db(1,a):db(-1,a))}}),bV&&bV.bind("click",function(a){a.stopPropagation(),e.trigger(bq?"fullscreenclose":"fullscreenopen")}).bind("mouseenter mouseleave",function(a,b){b&&a.stopPropagation(),bV[a.type=="mouseenter"?"addClass":"removeClass"]("fotorama__fsi_hover")}),f().fullscreen&&e.trigger("fullscreenopen");if(f().touchStyle||n){var dh=!1;function di(){bC=!0}function dj(a,b,d){clearTimeout(bD),bB||(f().shadows&&bR.addClass("fotorama__wrap_shadow"),n||bS.addClass("fotorama__shaft_grabbing"),bB=!0),f().shadows&&(d?bR.addClass("fotorama__wrap_shadow_no-"+d).removeClass("fotorama__wrap_shadow_no-"+(d=="left"?"right":"left")):f().shadows&&bR.removeClass("fotorama__wrap_shadow_no-left fotorama__wrap_shadow_no-right")),Math.abs(b)>=5&&!dh&&(dh=!0,c("a",bR).bind("click",Q))}function dk(a,b,d,g,h,i,j,k){bC=!1,bD=setTimeout(function(){!n&&f().arrows&&cf(),dh=!1,c("a",bR).unbind("click",Q)},w),n||bS.removeClass("fotorama__shaft_grabbing"),f().shadows&&bR.removeClass("fotorama__wrap_shadow");var l=!1,m=!1,o,q;f().html&&(o=c(j.target),q=o.filter("a"),q.length||(q=o.parents("a")));if(f().touchStyle)if(bB){d&&(i<=-10?l=!0:i>=10&&(m=!0));var r=y,s=Math.round(a/(H+f().margin));if(l||m){i=-i;var t=i/b,u=Math.round(-a+t*250),v,x,z=.03;l?(s=Math.ceil(a/(H+f().margin))-1,v=-s*(H+f().margin),u>v&&(x=Math.abs(u-v),r=Math.abs(r/(t*250/(Math.abs(t*250)-x*(1-z)))),x=v+x*z)):m&&(s=Math.floor(a/(H+f().margin))+1,v=-s*(H+f().margin),u<v&&(x=Math.abs(u-v),r=Math.abs(r/(t*250/(Math.abs(t*250)-x*(1-z)))),x=v-x*z))}s<0&&(s=0,x=!1,r=y),s>p-1&&(s=p-1,x=!1,r=y),da(cl.eq(s),j,!1,!1,r,x)}else{if(f().html&&q.length)return!1;if(f().onClick&&k!="prevent")var A=f().onClick.call(e[0],cL());if(A!==!1&&f().pseudoClick&&!n&&b<w){var B=j[bN]-bR.offset()[bL]>=H/2;!j.shiftKey&&B&&f().arrows||j.shiftKey&&!B&&f().arrows||!f().arrows&&!j.shiftKey?db(1,j):db(-1,j)}else da(cg,j,!1,!1,!1,!1,!0)}else{if(i==0&&f().html&&q.length)return!1;i>=0?db(1,j):i<0&&db(-1,j)}bB=!1}dg(bS,di,dj,dk);if(f().touchStyle&&f().thumbs&&f().thumbsPreview){var dl=!1;function dm(){bE=!0,bF=!0}function dn(a,b){!bH&&Math.abs(b)>=5&&(cA.unbind("click",df),dl=!0,clearTimeout(bI),bH=!0),cR(a)}function dp(a,b,c,d,e,f,g){bE=!1,bH=!1,bI=setTimeout(function(){dl&&(cA.bind("click",df),dl=!1)},w),a=-a;var h=a,i,j=y*2;bG&&bH&&(cQ(0,!1,!1),bG=!1);if(a>cr.data("maxPos"))h=cr.data("maxPos"),j=j/2;else if(a<cr.data("minPos"))h=cr.data("minPos"),j=j/2;else if(c){f=-f;var k=f/b;h=Math.round(a+k*250);var l=.04;h>cr.data("maxPos")?(i=Math.abs(h-cr.data("maxPos")),j=Math.abs(j/(k*250/(Math.abs(k*250)-i*(1-l)))),h=cr.data("maxPos"),i=h+i*l):h<cr.data("minPos")&&(i=Math.abs(h-cr.data("minPos")),j=Math.abs(j/(k*250/(Math.abs(k*250)-i*(1-l)))),h=cr.data("minPos"),i=h-i*l)}g.altKey&&(j=j*10),ct=h,h!=a&&(cO(cr,h,j,i),cR(h))}dg(cr,dm,dn,dp)}}}var e=function(a,b,c){function z(a){i.cssText=a}function A(a,b){return z(l.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={svg:"http://www.w3.org/2000/svg"},q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var h,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),l.appendChild(j);return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),l.id=g,(m?l:n).innerHTML+=h,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=f.style.overflow,f.style.overflow="hidden",f.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),f.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if(typeof b!="function")throw new TypeError;var c=u.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(u.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(u.call(arguments)))};return d}),q.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},q.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:w(["@media (",l.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},q.csstransforms=function(){return!!F("transform")},q.csstransitions=function(){return F("transition")},q.svg=function(){return!!b.createElementNS&&!!b.createElementNS(p.svg,"svg").createSVGRect};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),h=j=null,e._version=d,e._prefixes=l,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,e}(a,b),g;!function(a,b,c){function h(a,c){var d=b.createElement(a||"div"),e;for(e in c)d[e]=c[e];return d}function i(a){for(var b=1,c=arguments.length;b<c;b++)a.appendChild(arguments[b]);return a}function k(a,b,c,d){var g=["opacity",b,~~(a*100),c,d].join("-"),h=.01+c/d*100,i=Math.max(1-(1-a)/b*(100-h),a),k=f.substring(0,f.indexOf("Animation")).toLowerCase(),l=k&&"-"+k+"-"||"";return e[g]||(j.insertRule("@"+l+"keyframes "+g+"{"+"0%{opacity:"+i+"}"+h+"%{opacity:"+a+"}"+(h+.01)+"%{opacity:1}"+(h+b)%100+"%{opacity:"+a+"}"+"100%{opacity:"+i+"}"+"}",j.cssRules.length),e[g]=1),g}function l(a,b){var e=a.style,f,g;if(e[b]!==c)return b;b=b.charAt(0).toUpperCase()+b.slice(1);for(g=0;g<d.length;g++){f=d[g]+b;if(e[f]!==c)return f}}function m(a,b){for(var c in b)a.style[l(a,c)||c]=b[c];return a}function n(a){for(var b=1;b<arguments.length;b++){var d=arguments[b];for(var e in d)a[e]===c&&(a[e]=d[e])}return a}function o(a){var b={x:a.offsetLeft,y:a.offsetTop};while(a=a.offsetParent)b.x+=a.offsetLeft,b.y+=a.offsetTop;return b}var d=["webkit","Moz","ms","O"],e={},f,j=function(){var a=h("style",{type:"text/css"});return i(b.getElementsByTagName("head")[0],a),a.sheet||a.styleSheet}(),p={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto"};g=function(a){if(!this.spin)return new g(a);this.opts=n(a||{},g.defaults,p)},g.defaults={},n(g.prototype,{spin:function(a){this.stop();var b=this,c=b.opts,d=b.el=m(h(0,{className:c.className}),{position:"relative",width:0,zIndex:c.zIndex}),e=c.radius+c.length+c.width,g,i;a&&(a.insertBefore(d,a.firstChild||null),i=o(a),g=o(d),m(d,{left:(c.left=="auto"?i.x-g.x+(a.offsetWidth>>1):parseInt(c.left,10)+e)+"px",top:(c.top=="auto"?i.y-g.y+(a.offsetHeight>>1):parseInt(c.top,10)+e)+"px"})),d.setAttribute("aria-role","progressbar"),b.lines(d,b.opts);if(!f){var j=0,k=c.fps,l=k/c.speed,n=(1-c.opacity)/(l*c.trail/100),p=l/c.lines;(function q(){j++;for(var a=c.lines;a;a--){var e=Math.max(1-(j+a*p)%l*n,c.opacity);b.opacity(d,c.lines-a,e,c)}b.timeout=b.el&&setTimeout(q,~~(1e3/k))})()}return b},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=c),this},lines:function(a,b){function e(a,d){return m(h(),{position:"absolute",width:b.length+b.width+"px",height:b.width+"px",background:a,boxShadow:d,transformOrigin:"left",transform:"rotate("+~~(360/b.lines*c+b.rotate)+"deg) translate("+b.radius+"px"+",0)",borderRadius:(b.corners*b.width>>1)+"px"})}var c=0,d;for(;c<b.lines;c++)d=m(h(),{position:"absolute",top:1+~(b.width/2)+"px",transform:b.hwaccel?"translate3d(0,0,0)":"",opacity:b.opacity,animation:f&&k(b.opacity,b.trail,c,b.lines)+" "+1/b.speed+"s linear infinite"}),b.shadow&&i(d,m(e("#000","0 0 4px #000"),{top:"2px"})),i(a,i(d,e(b.color,"0 0 1px rgba(0,0,0,.1)")));return a},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}}),function(){function a(a,b){return h("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',b)}var b=m(h("group"),{behavior:"url(#default#VML)"});!l(b,"transform")&&b.adj?(j.addRule(".spin-vml","behavior:url(#default#VML)"),g.prototype.lines=function(b,c){function f(){return m(a("group",{coordsize:e+" "+e,coordorigin:-d+" "+ -d}),{width:e,height:e})}function k(b,e,g){i(h,i(m(f(),{rotation:360/c.lines*b+"deg",left:~~e}),i(m(a("roundrect",{arcsize:c.corners}),{width:d,height:c.width,left:c.radius,top:-c.width>>1,filter:g}),a("fill",{color:c.color,opacity:c.opacity}),a("stroke",{opacity:0}))))}var d=c.length+c.width,e=2*d,g=-(c.width+c.length)*2+"px",h=m(f(),{position:"absolute",top:g,left:g}),j;if(c.shadow)for(j=1;j<=c.lines;j++)k(j,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(j=1;j<=c.lines;j++)k(j);return i(b,h)},g.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}):f=l(b,"animation")}()}(a,b);var h,j,k=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}};h=k(navigator.userAgent),j={},h.browser&&(j[h.browser]=!0,j.version=h.version),j.chrome?j.webkit=!0:j.webkit&&(j.safari=!0);var l=b.location.hash.replace("#","")==="quirks",m=e.canvas,n=e.touch,o=e.svg,p=navigator.userAgent.toLowerCase(),q=p.match(/(phone|ipod|ipad|windows ce|netfront|playstation|midp|up\.browser|android|mobile|mini|tablet|symbian|nintendo|wii)/),r=j.msie,s=r&&"6.0"===j.version,t=j.mozilla,u=e.csstransforms&&e.csstransitions&&!l,v=b.compatMode!=="CSS1Compat"&&r,w=300,x=f([.1,0,.25,1]),y=333,z=500,A=333,B=c(a),C=c(b),D,E,F=[["width","s",null],["minWidth","s",null],["maxWidth","s",null],["height","s",null],["minHeight","s",null],["maxHeight","s",null],["aspectRatio","n",null],["transition","s","slide"],["touchStyle","b",!0],["click","b",null],["pseudoClick","b",!0],["loop","b",!1],["autoplay","bn",!1],["stopAutoplayOnAction","b",!0],["transitionDuration","n",y],["background","s",null],["backgroundColor","s",null],["margin","n",4],["minPadding","n",8],["alwaysPadding","b",!1],["zoomToFit","b",!0],["cropToFit","b",!1],["cropToFitIfFullscreen","b",!1],["flexible","b",!1],["fitToWindowHeight","b",!1],["fitToWindowHeightMargin","n",20],["fullscreen","b",!1],["fullscreenIcon","b",!1],["vertical","b",!1],["arrows","b",!0],["arrowsColor","s",null],["arrowPrev","s",null],["arrowNext","s",null],["spinnerColor","s","#808080"],["nav","s",null],["thumbs","b",!0],["navPosition","s",null],["thumbsOnTop","b",!1],["thumbsOnRight","b",!1],["navBackground","s",null],["thumbsBackgroundColor","s",null],["dotColor","s",null],["thumbColor","s",null],["thumbsPreview","b",!0],["thumbSize","n",null],["thumbMargin","n",4],["thumbBorderWidth","n",2],["thumbBorderColor","s",null],["thumbsCentered","b",!0],["hideNavIfFullscreen","b",!1],["caption","s",!1],["preload","n",3],["shadows","b",!0],["noise","b",!0],["data","a",null],["html","a",null],["hash","b",!1],["startImg","n",0],["onShowImg","f",null],["onFullscreenOpen","f",null],["onFullscreenClose","f",null],["onClick","f",null],["onTransitionStop","f",null],["detachSiblings","b",!0],["cssTransitions","b",!0]],H=["-webkit-","-moz-","-o-","-ms-",""];c.fn.fotorama=function(a){return typeof fotoramaDefaults=="undefined"&&(fotoramaDefaults={}),this.each(function(b){var d=c(this),e=c.extend(G(),c.extend({},fotoramaDefaults,c.extend(a,G(d))));d.data("ini")||(d.data({ini:!0,options:e}),U(d,function(){V(d)}))}),this},c(function(){D=c("html"),E=c("body"),c(".fotorama").each(function(){var a=c(this);a.fotorama()})})})(window,document,jQuery);
@@ -1,2 +0,0 @@
1
- /*! Fotorama 3.0.8 | http://fotoramajs.com/license/ */
2
- .fotorama__noise,.fotorama__thumbs_previews,.fotorama__caption_overlay,.fotorama_fullscreen .fotorama__caption{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA7VBMVEX////6+vr5+fn09PTr6+v29vb4+Pj8/Pzx8fH19fXz8/P39/fu7u7y8vLq6urt7e39/f3+/v7v7+/w8PDm5ubn5+f7+/vl5eXp6ens7Ozi4uLf39/o6Ojj4+Pg4ODe3t7a2trd3d3h4eHk5OTT09PZ2dnb29vW1tbU1NTX19fc3NzV1dXY2NjMzMzR0dHGxsbQ0NDOzs7S0tLPz8/Nzc3Hx8fJycnLy8u8vLzFxcW1tbXIyMjKysq5ubnExMTDw8O4uLi6urrBwcHAwMC2tra+vr7CwsKoqKi7u7u9vb2xsbG3t7ezs7OsrKy0tLREM1c6AAAAT3RSTlMNDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NrbSxDwAACP9JREFUeF692mWSJll6hNETyPAxMyRTcSMMCWH/y9GvlsnKNJ1TVZlaQJhF3PuC++Mh4oLtyEcMfBR8SgYZBezjlHrtXIJ7lhDKreK8i4N1QMCGhOwHUVnoRqrU3A2VDuRAtH1byppTHohsuiVKmgt9VhATELCm38uJJnUPR5Y9hQk/bzoHmWE2Vsc2yslffSKRtmLuI6uqf4XV5AesKcQ1eOTabHTU5byJLcG6/udfJxaX1Q3ZQB8x4FgxA2a8kYgBG8sZTVw5RPwrTQhbbsxNHMTpxQHtTAHE5VkDW0hMQ3/LofwXbvEh7ieqDuORLauQ4UJbLVBBCI1pL5TmwApd3o4nFxj7NOgqKGHG7i+7EMmbaZh3gukKt71+S3D+xDGPGQjpaarVgRw5DIx7SpalgXZt81sNGWGIC4qZpO6Fl6Pb0/qkL+8rG/R4B7A0ZPRPffaXce63JDEmhAGYw8q1wySN5qPkUsBtmhr5ZDYHkLIf3EekcNcCPFIoQm/Fg7Gg6PKpnq4bWjHabsyYGNDOusAqOfNuaaYJRM0FqgiN0i2FcbfG9nwf5hmiiGy8wPAU9HpGkXdWB93ZOWGPcur9k15qLNKb3Ff7YZysMh2BoSLkcUbT3PePkt47e3tpg53LNDcr1w7Xwk4f7XKI4WTmoEH/wnRIPx6pr9kcLyfeSDf6toYcLIyLNqaf8efI5iFO5PkE6C6Fy0eH8gJ5x2qqJUTAEwiGSkQbrjSKO+2NN9bVaHq0rLUFzWYtfCOXIYT0MErwMcXhyTTqE8B2LvdC7XZldrVoaLixNry7fbyshBMmEfSj0SkJ396gvsW5G8INAsQXWkygCENDPFqOubJSpjMjqKAXBwAAOvjay5yB5RypBX3A8ofOR2SBC5BK/7hVD4qCYT3DpZopisvvLrwbtQ+qsu5uN5ztVnUP2Jg7lUi6X+zupL+UWOlIYSDkQzshU2LaXQ+oUE1rIUOBbJwOdosV2gICPBXVdT7PMuw8CccfbkVlTk1x2O5ffzoutL5mTEydx0NgJmgHxQN/tP2ef42s1xvk0Isfyr2KBsx7G6UUGKUMOPa+T1DJXLE3zM4Pw61vOeoW5hR4ImFiNP4JTMZuATnJUT2w3q5ySRsRBeiCcQbIwD/xa2oqMEhI4ZRs1niPEnwofT/PMRdM77HYS66wtRSDN6peuk3gp1BZMHKnoPQXRuZ0bPbxzdWsxt0m7907mZ/V+h302vAsV2WR8VqqKrmfuHjx3nb73S9wv0exFLeJvg/s2HIZAuyb4b+ZDJDLL5yLEjuu1Q76burYyF2Lft4KcDXF8KJ3aUBSnQJ/3iZvaVfhFb+rI/Tni0ZV3hDPYI+pYqeMFvJEWKwYRSvC1R5MIInAgK18zXvZbcuTPxH+vknCx93gkegeEdJsV5dW6H9P1BeupAZkjmTqIRj/tGSToHteVpnyzga2RBtuK6ah64zmJ2x6HYMV9JhuMJ4ZhgOMKiW12mhT/juDwqzILZjQFsbXmZBKx2iOwZNDdoPxIIz224Uy/dFMLJz4Ptn603wcsoGFevWA/RZ5238Eve9uDWvRSaYRYRqseqvlM5LkhWbNVzXXzUUtuTlB/OOiQzN+7/0i1TDbjwbpiJ93TPgRth/SFaklOqxYLVabRhGo5+ge3PWFU8sV8rQwFw0U5jsCk/05Rh/HyjKmv/n8Cv6ewMgKUZPJ7mm5Ypq8dS5zOlCrIGb4Z2WWzzDDNcN8SKPNeMIUw6CZYVEcCrt3DxPgQNOx4922dVGE7o5EiA28qSHFVD8wqW0K+O6jZiufSz8r2m8/kuer8pkuexnz4jW0bzyYxARnfSwOG5qP+sQaIuY9ix8eELaaCsYIGTPsYbRGrhK7t/4obWGth/HfkdaWfT96izVkemUUDscQ6TkTmVpIxnh85AhDYU436oDQjPGnFrMMiWRNBlxYPN+3fLtDbntBxRPE/ZOGCp3dYHFJvDR/602fhTbXpzwpaNAP8qMe2bNK13N2/EUWzv+UQCIYmi2WZ6E8Ilbp905tmSn2R4O7ZlHd0HH+4ov8fdvz5h54/9dVFEyoVVpj6d03O+SzkCLeAbKKdjuTMR6m4GopXrPahU34UxvQCXZg0Yjq1OAUTUp69YiYc2lufZ0woPfAzuvXFq/f7ong9SeXPo2ATxSqS8NGbvjyrfPt+vf5Ff3Mm7yMXQXHVzbzevqvLyZexVHzcz1jCO747Nhfx0mss4UN4R01olG/ZlB2vzGKCHtraWy4Rn6DJ8TCnDuzGMBmWkAQFFNge1j0p+IjvZfYr8+jK7hmgbkEd+HTZDWVVFDoqCZ1SZ4P+AXHQ/vFmPcLVe3BJLthFQKc/SwObvm4HNgerwLz5Tzw+XgHOUq2qdhQl7mmeEv38AI26fWd75t7vgS9HkczmJmdUNZzGdwV/5G7albAeBbpvy+yFrsJRT3wzeDxWV/w8hruynB+KDGfMYwtwO+s+TWNnS8oyK/WG15IaD1/2geTV/2gbySYs0F8Mm2PqL8LBxUUdrc3wf9OM3DsE8e78UqNSWLkU43VS821V1J0nwv4h9dHOLzCsh2o5RUX6ah66yHbPnNrL5RBgSmOh11NHdiOVRX5KU1/1ZqNLwJWbL86mvrDEDIYbV2VNK291TvD5GQPtRoCvXKB3TNa9/VJFFsonY69LjCFP5lpUtKh8G9Q2ydERgPdXtUTOia73vtL/IPA1ztKmO+Z36TFBWH2n20Mq/dXL5PemUSkgY1J046Rz52gC8X07RuhK5NM4yYy4SiaAj5wPAxUjmQwK1HtOAGmvpX3UiMGs67zX2SZ1S5/mxNBoPQqGYPb9McF69lCc3ftevtMwv4yxe0VOQQM2H4OC/tD05U6Wh5OPJSn9DowMVuoMuMokl2nX6PQv2KGf/HH++q8op+dev5BUvp/h7XjVaM0XIFxJaGX+N7XbVLPOZKXCNP/f2DBF2UuX5ne+8wXvU5zPvOXyMtEz6/B5j8PlF4W0Z0VzN8Z3Q3tQTQ4efzm52k/VGRat+k4DCwhYqMG8Aq07nMy+0JR8jMW+pkc4IU4xWc85lUmJc6vnjz8N6MLmuXZKNefAAAAAElFTkSuQmCC")}.fotorama_shadows .fotorama__wrap:before,.fotorama_shadows .fotorama__wrap:after,.fotorama_shadows .fotorama__thumbs_previews:before,.fotorama_shadows .fotorama__thumbs_previews:after,.fotorama_csstransitions .fotorama__wrap_style_touch .fotorama__shaft,.fotorama__thumb__dot,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumbs-shaft,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumb-border,.fotorama__arr,.fotorama__fsi{-webkit-transition-timing-function:cubic-bezier(0.1,0,0.25,1);-moz-transition-timing-function:cubic-bezier(0.1,0,0.25,1);-o-transition-timing-function:cubic-bezier(0.1,0,0.25,1);transition-timing-function:cubic-bezier(0.1,0,0.25,1)}.fotorama_shadows .fotorama__wrap:before,.fotorama_shadows .fotorama__wrap:after,.fotorama_shadows .fotorama__thumbs_previews:before,.fotorama_shadows .fotorama__thumbs_previews:after,.fotorama__thumb__dot,.fotorama__arr,.fotorama__fsi{-webkit-transition-duration:333ms;-moz-transition-duration:333ms;-o-transition-duration:333ms;transition-duration:333ms}.fotorama_csstransitions .fotorama__wrap_style_touch .fotorama__shaft,.fotorama__thumb:hover .fotorama__thumb__dot,.fotorama__thumb_selected .fotorama__thumb__dot,.fotorama__thumb_selected:hover .fotorama__thumb__dot,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumbs-shaft,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumb-border{-webkit-transition-duration:0;-moz-transition-duration:0;-o-transition-duration:0;transition-duration:0}.fotorama_csstransitions .fotorama__wrap_style_touch .fotorama__shaft,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumbs-shaft,.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumb-border{-webkit-transform:translate(0,0);-moz-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.fullscreen,.fotorama__wrap,.fotorama__wrap_style_fade .fotorama__frame{background:-webkit-gradient(radial,50% 50%,0,50% 50%,500,color-stop(0%,#f3f2f1),color-stop(12.8%,#f3f2f1),color-stop(100%,#cacac9));background:-webkit-radial-gradient(#f3f2f1,#f3f2f1 64px,#cacac9 500px);background:-moz-radial-gradient(#f3f2f1,#f3f2f1 64px,#cacac9 500px);background:-o-radial-gradient(#f3f2f1,#f3f2f1 64px,#cacac9 500px);background:radial-gradient(#f3f2f1,#f3f2f1 64px,#cacac9 500px);background-color:#cacac9}.fotorama-outer,.fotorama__caption-outer{margin:0;padding:0}.fotorama{-webkit-tap-highlight-color:rgba(0,0,0,0);*zoom:1;position:relative;margin:0;padding:0}.fotorama img{max-width:99999px!important;min-width:0!important;width:auto}.fotorama:active,.fotorama:focus{outline:none}.fullscreen{width:100%!important;height:100%!important;overflow:hidden!important}.fullscreen *{visibility:hidden;overflow:visible}.fotorama_fullscreen{visibility:visible;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;margin:auto!important;z-index:2147483647!important;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;-o-box-sizing:border-box!important;-ms-box-sizing:border-box!important;box-sizing:border-box!important}.fotorama_fullscreen *{visibility:visible}.fotorama_fullscreen .fotorama__wrap,.fotorama_fullscreen .fotorama__thumbs{margin:0!important}.fotorama_fullscreen.fotorama_fullscreen_quirks{position:absolute!important}.fotorama__wrap{position:relative;overflow:hidden;*zoom:1;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:-moz-none;-khtml-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.fotorama__noise{top:0;left:0;bottom:0;right:0;position:absolute}.fotorama_shadows .fotorama__wrap:before,.fotorama_shadows .fotorama__wrap:after,.fotorama_shadows .fotorama__thumbs_previews:before,.fotorama_shadows .fotorama__thumbs_previews:after{content:"";display:block;position:absolute;text-decoration:none;top:3px;bottom:3px;width:10px;height:auto;-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;transition-property:all;z-index:10;*display:none!important}.fotorama_shadows .fotorama__wrap:before,.fotorama_shadows .fotorama__thumbs_previews:before{-webkit-box-shadow:rgba(0,0,0,0.5) 2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;-moz-box-shadow:rgba(0,0,0,0.5) 2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;box-shadow:rgba(0,0,0,0.5) 2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;left:-25px}.fotorama_shadows .fotorama__wrap:after,.fotorama_shadows .fotorama__thumbs_previews:after{-webkit-box-shadow:rgba(0,0,0,0.5) -2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;-moz-box-shadow:rgba(0,0,0,0.5) -2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;box-shadow:rgba(0,0,0,0.5) -2px 0 8px,rgba(0,0,0,0.5) 0 0 3px;right:-25px}.fotorama_shadows .fotorama__wrap_shadow:before,.fotorama_shadows .fotorama__thumbs_shadow:before{left:-10px}.fotorama_shadows .fotorama__wrap_shadow:after,.fotorama_shadows .fotorama__thumbs_shadow:after{right:-10px}.fotorama_shadows .fotorama__wrap_shadow_no-left:before,.fotorama_shadows .fotorama__thumbs_shadow_no-left:before{left:-25px}.fotorama_shadows .fotorama__wrap_shadow_no-right:after,.fotorama_shadows .fotorama__thumbs_shadow_no-right:after{right:-25px}.fotorama_shadows.fotorama_vertical .fotorama__wrap:before,.fotorama_shadows.fotorama_vertical .fotorama__wrap:after,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_previews:before,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_previews:after{top:auto;left:3px;right:3px;width:auto;height:10px;-webkit-box-shadow:black,0,0,10px;-moz-box-shadow:black,0,0,10px;box-shadow:black,0,0,10px}.fotorama_shadows.fotorama_vertical .fotorama__wrap:before,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_previews:before{-webkit-box-shadow:rgba(0,0,0,0.5) 0 2px 8px,rgba(0,0,0,0.5) 0 0 3px;-moz-box-shadow:rgba(0,0,0,0.5) 0 2px 8px,rgba(0,0,0,0.5) 0 0 3px;box-shadow:rgba(0,0,0,0.5) 0 2px 8px,rgba(0,0,0,0.5) 0 0 3px;top:-25px}.fotorama_shadows.fotorama_vertical .fotorama__wrap:after,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_previews:after{-webkit-box-shadow:rgba(0,0,0,0.5) 0 -2px 8px,rgba(0,0,0,0.5) 0 0 3px;-moz-box-shadow:rgba(0,0,0,0.5) 0 -2px 8px,rgba(0,0,0,0.5) 0 0 3px;box-shadow:rgba(0,0,0,0.5) 0 -2px 8px,rgba(0,0,0,0.5) 0 0 3px;bottom:-25px}.fotorama_shadows.fotorama_vertical .fotorama__wrap_shadow:before,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_shadow:before{top:-10px}.fotorama_shadows.fotorama_vertical .fotorama__wrap_shadow:after,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_shadow:after{bottom:-10px}.fotorama_shadows.fotorama_vertical .fotorama__wrap_shadow_no-left:before,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_shadow_no-left:before{top:-25px}.fotorama_shadows.fotorama_vertical .fotorama__wrap_shadow_no-right:after,.fotorama_shadows.fotorama_vertical .fotorama__thumbs_shadow_no-right:after{bottom:-25px}.fotorama_shadows.fotorama_fullscreen .fotorama__wrap:before,.fotorama_shadows.fotorama_fullscreen .fotorama__wrap:after,.fotorama_shadows.fotorama_fullscreen .fotorama__thumbs_previews:before,.fotorama_shadows.fotorama_fullscreen .fotorama__thumbs_previews:after{display:none}.fotorama__shaft{position:absolute;top:0;left:0;margin:0;padding:0}.fotorama_csstransitions .fotorama__wrap_style_touch *{-webkit-backface-visibility:hidden}.fotorama_csstransitions .fotorama__wrap_style_touch .fotorama__shaft{-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;transition-property:transform}.fotorama_csstransitions .fotorama__thumbs_previews *{-webkit-backface-visibility:hidden}.fotorama__wrap_style_touch .fotorama__shaft{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab;*cursor:move!important}.fotorama__wrap_style_touch .fotorama__shaft_grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.fotorama__wrap_style_fade .fotorama__shaft,.fotorama_no-csstransitions .fotorama__shaft,.fotorama_no-csstransitions .fotorama__thumbs-shaft{-webkit-transform:translate(0,0)!important;-moz-transform:translate(0,0)!important;-ms-transform:translate(0,0)!important;-o-transform:translate(0,0)!important;transform:translate(0,0)!important}.fotorama__wrap_with-div{border:1px solid #7f7f7f}.fotorama__thumbs{text-align:center;position:relative;min-height:18px;margin:0;padding:0;font-size:0;line-height:0;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.fotorama_vertical .fotorama__thumbs{position:absolute;top:0;left:0;width:18px}.fotorama__thumbs-shaft{text-align:left;margin:0;padding:0;display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto;*display:inline;*zoom:1}.fotorama__thumb{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto;*display:inline;*zoom:1;cursor:pointer;position:relative;width:18px;height:18px;margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0.3)}.fotorama__thumb__dot{display:block;width:6px;height:6px;position:relative;top:6px;left:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;border-radius:6px;background-color:#7f7f7f;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.fotorama__thumb:hover .fotorama__thumb__dot{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75}.fotorama__thumb_selected,.fotorama__thumb_selected:hover{cursor:default}.fotorama__thumb_selected .fotorama__thumb__dot,.fotorama__thumb_selected:hover .fotorama__thumb__dot{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.fotorama__thumb_disabled{display:none;cursor:default}.fotorama__thumbs_previews{overflow:hidden;background-color:#d2d2d1}.fotorama__thumbs_previews .fotorama__thumbs-shaft{position:absolute;top:0;left:0;white-space:nowrap}.fotorama__thumbs_previews .fotorama__thumb{width:auto;background:rgba(127,127,127,0.25)}.fotorama__thumbs_previews .fotorama__thumb__img{width:auto;border:none;margin:0;padding:0}.fotorama__thumbs_previews .fotorama__thumb-border{border:solid;border-color:#00d1ff #00afea #008ed6;background:-webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,rgba(255,255,255,0.25)),color-stop(100%,rgba(55,55,55,0.05)));background:-webkit-linear-gradient(rgba(255,255,255,0.25),rgba(55,55,55,0.05));background:-moz-linear-gradient(rgba(255,255,255,0.25),rgba(55,55,55,0.05));background:-o-linear-gradient(rgba(255,255,255,0.25),rgba(55,55,55,0.05));background:linear-gradient(rgba(255,255,255,0.25),rgba(55,55,55,0.05));background-color:rgba(175,175,175,0.15);position:absolute;z-index:10;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-o-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box;display:none}.fotorama_horizontal .fotorama__thumbs_previews .fotorama__thumb{margin-left:0!important}.fotorama_vertical .fotorama__thumbs_previews .fotorama__thumb{float:none;display:block;margin-top:0!important}.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumbs-shaft{-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;transition-property:transform}.fotorama_csstransitions .fotorama__thumbs_previews .fotorama__thumb-border{-webkit-transition-property:-webkit-transform,left,top,border,background,width,height;-moz-transition-property:-moz-transform,left,top,border,background,width,height;-o-transition-property:-o-transform,left,top,border,background,width,height;transition-property:transform left top border background width height}.fotorama__frame{position:absolute;overflow:hidden;top:0;left:0;margin:0;padding:0}.fotorama__frame *{z-index:2}.fotorama__frame_active{z-index:5}.fotorama__wrap_style_fade .fotorama__frame{left:0!important}.fotorama__img{position:absolute;margin:0!important;padding:0!important;top:0;left:0;z-index:1}.fotorama_shadows .fotorama__img{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.25);-moz-box-shadow:0 0 5px rgba(0,0,0,0.25);box-shadow:0 0 5px rgba(0,0,0,0.25)}.fotorama__arr{display:block;position:absolute;font-family:sans-serif;width:44px;text-align:center;z-index:10;color:white;-webkit-transition-property:opacity,margin;-moz-transition-property:opacity,margin;-o-transition-property:opacity,margin;transition-property:opacity margin;font-size:18px;top:50%;line-height:72px;margin-top:-36px;text-shadow:black 0 0 5px;cursor:pointer;opacity:0;font-style:normal!important;-webkit-tap-highlight-color:rgba(255,255,255,0.15)}.fotorama__arr_prev{left:0;margin-left:0}.fotorama__arr_next{left:100%;margin-left:-44px}.fotorama__arr_disabled{cursor:default;*display:none}.fotorama_touch .fotorama__arr{opacity:1!important;-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.fotorama_touch .fotorama__arr_disabled{opacity:0.11!important}.fotorama__wrap_mouseover .fotorama__arr{opacity:0.6}.fotorama__wrap_mouseover .fotorama__arr:hover,.fotorama__wrap_mouseover .fotorama__arr_hover{opacity:1;text-shadow:black 0 0 5px,black 0 0 25px}.fotorama__wrap_mouseover .fotorama__arr_prev,.fotorama_touch .fotorama__arr_prev{margin-left:0}.fotorama__wrap_mouseover .fotorama__arr_next,.fotorama_touch .fotorama__arr_next{margin-left:-44px}.fotorama__wrap_mouseover .fotorama__arr_disabled,.fotorama__wrap_mouseover .fotorama__arr_disabled:hover,.fotorama_touch .fotorama__arr_disabled,.fotorama_touch .fotorama__arr_disabled:hover{opacity:0.11;text-shadow:none}.fotorama__wrap_mouseout .fotorama__arr{opacity:0}.fotorama__wrap_mouseout .fotorama__arr_prev{margin-left:-44px}.fotorama__wrap_mouseout .fotorama__arr_next{margin-left:0}.fotorama__wrap_style_fade .fotorama__arr_prev{margin-left:0}.fotorama__wrap_style_fade .fotorama__arr_next{margin-left:-44px}.fotorama_vertical .fotorama__arr{width:72px;line-height:44px;margin-top:0;margin-left:0;top:auto;left:50%;margin-left:-36px}.fotorama_vertical .fotorama__arr_prev{top:0;margin-top:0}.fotorama_vertical .fotorama__arr_next{bottom:0;margin-bottom:0}.fotorama_vertical .fotorama__wrap_mouseover .fotorama__arr_prev,.fotorama_vertical .fotorama_touch .fotorama__arr_prev{margin-top:0}.fotorama_vertical .fotorama__wrap_mouseover .fotorama__arr_next,.fotorama_vertical .fotorama_touch .fotorama__arr_next{margin-bottom:0}.fotorama_vertical .fotorama__wrap_mouseout .fotorama__arr_prev{margin-top:-44px}.fotorama_vertical .fotorama__wrap_mouseout .fotorama__arr_next{margin-bottom:-44px}.fotorama__caption{margin:0.5em 0;white-space:normal;position:relative}.fotorama__caption_overlay,.fotorama_fullscreen .fotorama__caption{background-color:#1e1d1c;color:white;z-index:15;margin:0;position:absolute;left:0;bottom:0;padding:5px 10px}.fotorama__fsi{position:absolute;width:32px;height:32px;right:0;top:0;opacity:0;font-size:0;line-height:0;z-index:20;cursor:pointer;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.fotorama__fsi .i0{position:absolute;width:32px;height:32px;top:0;left:0;background:url("data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==");border:none}.fotorama__fsi i{position:absolute;width:4px;height:4px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;-o-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box;border:1px solid #111}.fotorama__fsi .i1 .i1,.fotorama__fsi .i2 .i2,.fotorama__fsi .i3 .i3,.fotorama__fsi .i4 .i4{width:3px;height:3px;border-color:#eee;top:0;left:0;margin:0!important}.fotorama__fsi .i1{top:7px;left:7px;border-right:none;border-bottom:none;margin:2px 0 0 2px}.fotorama__fsi .i2{top:7px;left:18px;border-left:none;border-bottom:none;margin:2px 0 0}.fotorama__fsi .i3{top:18px;left:18px;border-top:none;border-left:none}.fotorama__fsi .i4{top:18px;left:7px;border-right:none;border-top:none;margin:0 0 0 2px}.fotorama__fsi.fotorama__fsi_hover .i1,.fotorama__fsi.fotorama__fsi_hover .i2,.fotorama__fsi.fotorama__fsi_hover .i3,.fotorama__fsi.fotorama__fsi_hover .i4{margin:1px 0 0 1px}.fotorama_fullscreen .fotorama__fsi .i1,.fotorama_fullscreen .fotorama__fsi .i2,.fotorama_fullscreen .fotorama__fsi .i3,.fotorama_fullscreen .fotorama__fsi .i4{margin:1px 0 0 1px}.fotorama_fullscreen .fotorama__fsi.fotorama__fsi_hover .i1{margin:2px 0 0 2px}.fotorama_fullscreen .fotorama__fsi.fotorama__fsi_hover .i2{margin:2px 0 0}.fotorama_fullscreen .fotorama__fsi.fotorama__fsi_hover .i3{margin:0}.fotorama_fullscreen .fotorama__fsi.fotorama__fsi_hover .i4{margin:0 0 0 2px}.fotorama__wrap_mouseover .fotorama__fsi,.fotorama_touch .fotorama__fsi{opacity:1}.fotorama__state{position:absolute;width:32px;height:32px;margin-left:-16px;margin-top:-16px;line-height:32px;font-size:32px;text-align:center;background-repeat:no-repeat;z-index:6;top:50%;left:auto;font-family:Georgia}.fotorama__state svg{width:32px;height:32px;display:none}.fotorama_vertical .fotorama__state{top:auto;left:50%}.fotorama_loading .fotorama__state span{top:-3px}.fotorama_loading .fotorama__thumb-border{border-style:dashed;background:none}.fotorama_error .fotorama__state{background-position:0 0!important}.fotorama_error .fotorama__state svg{display:block}.fotorama_error .fotorama__thumb-border{border-color:#ff002a #e50015 #c00!important;background:none;border-style:dashed}.fotorama_error .fotorama__thumb_selected .fotorama__thumb__dot{background-color:#e50015!important;background-color:rgba(229,0,21,0.5)!important}