fotoramajs 4.1.17 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ gem 'httpclient'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fotoramajs (4.1.17)
4
+ fotoramajs (4.2.1)
5
5
  jquery-rails (>= 2.1.0)
6
6
  sprockets (>= 2)
7
7
 
@@ -46,7 +46,7 @@ GEM
46
46
  rack (~> 1.0)
47
47
  tilt (~> 1.1, != 1.3.0)
48
48
  thor (0.18.1)
49
- thread_safe (0.1.0)
49
+ thread_safe (0.1.2)
50
50
  atomic
51
51
  tilt (1.4.1)
52
52
  tzinfo (0.3.37)
@@ -56,5 +56,4 @@ PLATFORMS
56
56
 
57
57
  DEPENDENCIES
58
58
  fotoramajs!
59
- httpclient (~> 2.2)
60
- thor
59
+ httpclient
data/Rakefile CHANGED
@@ -5,13 +5,10 @@ require "bundler/gem_tasks"
5
5
  desc "Update assets from Fotorama repo"
6
6
  task :update do
7
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
8
+ Updater.update
9
+ end
15
10
 
16
- puts "Updated"
11
+ desc 'Delete all generated files'
12
+ task :clobber do
13
+ rm_r 'pkg' rescue nil
17
14
  end
data/fotoramajs.gemspec CHANGED
@@ -18,9 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency 'sprockets', '>= 2'
19
19
  s.add_dependency 'jquery-rails', '>= 2.1.0'
20
20
 
21
- s.add_development_dependency "httpclient", "~> 2.2"
22
- s.add_development_dependency "thor"
23
-
24
21
  s.files = `git ls-files`.split("\n")
25
22
  s.require_path = 'lib'
26
23
  end
@@ -1,49 +1,77 @@
1
- require "thor"
2
1
  require "json"
3
2
  require "httpclient"
4
3
 
5
- class Updater < Thor
6
- REPO = "artpolikarpov/fotorama"
7
- include Thor::Actions
4
+ class Updater
5
+ def self.update
6
+ instance = new
8
7
 
9
- desc "fetch source files", "fetch source files from GitHub"
10
- def fetch
11
- tag = fetch_tags.last
12
- self.destination_root = "vendor/assets"
8
+ puts "Fetching tags"
9
+ tag = instance.github_tags('artpolikarpov/fotorama').last
13
10
 
14
- remote = "http://fotorama.s3.amazonaws.com/#{tag}"
15
- get "#{remote}/fotorama.css", "stylesheets/fotorama.css"
16
- get "#{remote}/fotorama.js", "javascripts/fotorama.js"
11
+ puts "Load Fotorama #{tag}"
12
+ instance.fetch(tag)
17
13
 
18
- %w(fotorama.png fotorama@2x.png).each do |img|
19
- get "#{remote}/#{img}", "images/#{img}"
14
+ puts "Convert CSS to SCSS"
15
+ instance.convert
16
+
17
+ puts "Update gem version"
18
+ instance.update_version(tag)
19
+
20
+ puts "Done."
21
+ end
22
+
23
+ def fetch(tag)
24
+ cdn = "http://fotorama.s3.amazonaws.com/#{tag}"
25
+ %w(fotorama.js fotorama.css fotorama.png fotorama@2x.png).each do |file|
26
+ get "#{cdn}/#{file}", asset(file)
20
27
  end
28
+ end
21
29
 
22
- self.destination_root = ""
23
- create_file "lib/fotoramajs/version.rb" do
24
- "module Fotoramajs\n VERSION = \"#{tag}\"\nend"
30
+ def update_version(tag)
31
+ version_file.open('w') do |io|
32
+ io << "module Fotoramajs\n VERSION = \"#{tag}\"\nend\n"
25
33
  end
26
34
  end
27
35
 
28
- desc "convert css to scss file", "convert css to scss file"
29
36
  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('
37
+ css = asset('fotorama.css')
38
+ scss = asset('fotorama.css.scss')
39
+
40
+ scss.open('w') do |io|
41
+ io << css.read.gsub(/url\(([^\)]+)\)/, 'image-url("\1")')
38
42
  end
43
+
44
+ css.delete
39
45
  end
40
46
 
41
- private
47
+ def asset(file)
48
+ @assets ||= Pathname(__FILE__).dirname.join('../../vendor/assets')
42
49
 
43
- def fetch_tags
50
+ if file.end_with? '.css' or file.end_with? '.scss'
51
+ @assets.join('stylesheets', file)
52
+ elsif file.end_with? '.js'
53
+ @assets.join('javascripts', file)
54
+ else
55
+ @assets.join('images', file)
56
+ end
57
+ end
58
+
59
+ def version_file
60
+ @version ||= Pathname(__FILE__).dirname.join('version.rb')
61
+ end
62
+
63
+ def github_tags(repo)
44
64
  http = HTTPClient.new
45
- body = http.get("https://api.github.com/repos/#{REPO}/tags").body
65
+ body = http.get("https://api.github.com/repos/#{repo}/tags").body
46
66
  response = JSON.parse(body)
47
67
  response.map { |tag| Gem::Version.new(tag['name']) }.sort
48
68
  end
69
+
70
+ def get(url, to)
71
+ to.open('w') do |io|
72
+ http = HTTPClient.new
73
+ http.transparent_gzip_decompression = true
74
+ io << http.get(url).body
75
+ end
76
+ end
49
77
  end
@@ -1,3 +1,3 @@
1
1
  module Fotoramajs
2
- VERSION = "4.1.17"
3
- end
2
+ VERSION = "4.2.1"
3
+ end
data/lib/fotoramajs.rb CHANGED
@@ -1,5 +1,11 @@
1
1
  # Used only for Ruby on Rails gem to tell, that gem contain `lib/assets`.
2
2
  module Fotoramajs
3
+ class Railtie < Rails::Railtie
4
+ initializer 'fotorama.config' do |app|
5
+ app.config.assets.precompile += ['fotorama.png', 'fotorama@2x.png']
6
+ end
7
+ end
8
+
3
9
  module Rails
4
10
  class Engine < ::Rails::Engine
5
11
  end
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * Fotorama 4.1.17 | http://fotorama.io/license/
2
+ * Fotorama 4.2.1 | http://fotorama.io/license/
3
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);
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 mc?+h(a.css("transform")):+a.css("left").replace("px","")}function j(a){var b={};return mc?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,b){if(a.length){mc?a.css(k(0)).data("onEndFn",f):a.stop();var c=b||i(a);return a.css(j(c)),c}}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,d,e){for(var f=0,g=a.length;g>f;f++){var h=a[f];if(h.i===d&&h.thumbsReady){var i={videoReady:!0};i[vc]=i[xc]=i[wc]=!1,e.splice(f,1,c.extend({},h,i,b));break}}}function z(a){function b(a,b){var c=a.data(),e=a.children("img").eq(0),f=a.attr("href"),g=a.attr("src"),h=e.attr("src"),i=c.video,j=b?w(f,i===!0):!1;j?f=!1:j=w(i,i);var k=c.img||f||g||h,m=c.thumb||h||g||f,n=k!==m,o=l(c.width||a.attr("width")),p=l(c.height||a.attr("height")),q=l(c.thumbWidth||e.attr("width")||n||o),r=l(c.thumbHeight||e.attr("height")||n||p);return{video:j,img:k,width:o||d,height:p||d,thumb:m,thumbRatio:q/r||d}}var e=[];return a.children().each(function(){var a=c(this),d=c.extend(a.data(),{id:a.attr("id")});if(a.is("a, img"))c.extend(d,b(a,!0));else{if(a.is(":empty"))return;c.extend(d,{html:this,_html:a.html()})}e.push(d)}),e}function A(a){return 0===a.offsetWidth&&0===a.offsetHeight}function B(a){return!c.contains(b.documentElement,a)}function C(a,b,c){a()?b():setTimeout(function(){C(a,b)},c||100)}function D(a){location.replace(location.protocol+"//"+location.host+location.pathname.replace(/^\/?/,"/")+location.search+"#"+a)}function E(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.ceil(f),height:Math.ceil(h),marginLeft:Math.floor(-f/2),marginTop:Math.floor(-h/2)}),d.l={W:e.width,H:e.height,r:e.ratio,w:b.w,h:b.h,m:c}}return!0}function F(a,b){var c=a[0];c.styleSheet?c.styleSheet.cssText=b:a.html(b)}function G(a,b,c){return b===c?!1:b>=a?"left":a>=c?"right":"left right"}function H(a,b,c){if(!c)return!1;if(!isNaN(a))return a-1;for(var d,e=0,f=b.length;f>e;e++){var g=b[e];if(g.id===a){d=e;break}}return d}function I(a,b,d){d=d||{},a.each(function(){var a,e=c(this),g=e.data();g.clickOn||(g.clickOn=!0,c.extend(O(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 J(a,b){return'<div class="'+a+'">'+(b||"")+"</div>"}function K(a){for(var b=a.length;b;){var c=Math.floor(Math.random()*b--),d=a[b];a[b]=a[c],a[c]=d}return a}function L(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(){L(a,c.extend({},b,{overPos:b.pos,time:Math.max(pc,b.time/2)}))});var g=c.extend(j(d),{width:b.width});mc?(a.css(c.extend(k(b.time),g)),b.time>10?r(a,"transform",e,b.time):e()):a.stop().animate(g,b.time,yc,e)}function M(a,b,d,e){a=a||c(a),b=b||c(b);var g=a[0],h=b[0],i="crossfade"===e.method,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(Jb+" "+Ib),a.addClass(Jb),b.addClass(Ib),mc?(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(),i&&h&&a.fadeTo(0,0),a.fadeTo(i?e.time:0,1,i&&j),b.fadeTo(e.time,0,j),g&&i||h||j())}function N(a,b){a._x=b?a.touches[0].pageX:a.pageX,a._y=b?a.touches[0].pageY:a.pageY}function O(a,b){function d(a){return l=c(a.target),r.checked=i=k=o=p=!1,h||r.flow||a.touches&&a.touches.length>1||a.which>1||_&&_.type!==a.type&&bb||(o=b.select&&l.is(b.select,q))?o:(n=a.type.match("touch"),p=l.is("a, a *",q),N(a,n),_=a,ab=a.type.replace(/down|start/,"move"),j=a,m=r.control,(b.onStart||f).call(q,a,{control:m,$target:l}),r.flow=h=!0,n||a.preventDefault(),void 0)}function e(a){if(!h||a.touches&&a.touches.length>1)return g(),void 0;if(ab===a.type){N(a,n);var c=Math.abs(a._x-j._x),d=Math.abs(a._y-j._y),e=c-d,l=!r.stable||e>=3,m=-3>=e;k||(k=!(!l&&!m)),n&&!r.checked?((l||m)&&(r.checked=!0,i=l),(!r.checked||i)&&a.preventDefault()):!n||i?(a.preventDefault(),(b.onMove||f).call(q,a,{touch:n})):h=!1,r.checked=r.checked||l||m}}function g(a){var c=h;r.flow=r.control=h=!1,!c||p&&!r.checked||(a&&a.preventDefault(),bb=!0,clearTimeout(cb),cb=setTimeout(function(){bb=!1},1e3),(b.onEnd||f).call(q,{moved:!!k,$target:l,control:m,startEvent:j,aborted:!a,touch:n}))}var h,i,j,k,l,m,n,o,p,q=a[0],r={};return q.addEventListener&&(q.addEventListener("touchstart",d),q.addEventListener("touchmove",e),q.addEventListener("touchend",g)),a.on("mousedown",d),jc.on("mousemove",e).on("mouseup",g),a.on("click","a",function(a){r.checked&&a.preventDefault()}),r}function P(a,b){function d(c){k=l=c._x,p=[[+new Date,k]],m=n=s(a,b.getPos&&b.getPos()),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,e){x&&(x=!1,d(c)),C.noSwipe||(l=c._x,p.push([(new Date).getTime(),l]),n=m-(k-l),o=G(n,r,u),r>=n?n=t(n,r):n>=u&&(n=t(n,u)),C.noMove||(a.css(j(n)),y||(y=!0,e.touch||a.addClass(Yb)),(b.onMove||f).call(A,c,{pos:n,edge:o})))}function i(d){if(!x){d.touch||a.removeClass(Yb),q=(new Date).getTime();for(var e,h,i,j,k,o,s,t,y,z=q-oc,B=null,C=pc,D=b.friction,E=p.length-1;E>=0;E--){if(e=p[E][0],h=Math.abs(e-z),null===B||i>h)B=e,j=p[E][1];else if(B===z||h>i)break;i=h}s=g(n,r,u);var F=j-l,G=F>=0,H=q-B,I=H>oc,J=!I&&n!==m&&s===n;v&&(s=g(Math[J?G?"floor":"ceil":"round"](n/v)*v,r,u),r=u=s),J&&(v||s===n)&&(y=-(F/H),C*=g(Math.abs(y),b.timeLow,b.timeHigh),k=Math.round(n+y*C/D),v||(s=k),(!G&&k>u||G&&r>k)&&(o=G?r:u,t=k-o,v||(s=o),t=g(s+.03*t,o-50,o+50),C=Math.abs((n-t)/(y/D)))),C*=w?10:1,(b.onEnd||f).call(A,c.extend(d,{pos:n,newPos:s,overPos:t,time:C,moved:I&&v||d.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(O(b.$wrap,{onStart:e,onMove:h,onEnd:i,select:b.select,control:b.control}),C)}function Q(a){R(!0),zc.appendTo(a),eb=0,Ac(),db=setInterval(Ac,200)}function R(a){a||zc.detach(),clearInterval(db)}var S={},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,fb="fotorama",gb="fullscreen",hb=fb+"__wrap",ib=hb+"--css3",jb=hb+"--video",kb=hb+"--fade",lb=hb+"--slide",mb=hb+"--no-controls",nb=fb+"__stage",ob=nb+"__frame",pb=ob+"--video",qb=nb+"__shaft",rb=nb+"--only-active",sb=fb+"__grab",tb=fb+"__pointer",ub=fb+"__arr",vb=ub+"--disabled",wb=ub+"--prev",xb=ub+"--next",yb=ub+"__arr",zb=fb+"__nav",Ab=zb+"-wrap",Bb=zb+"__shaft",Cb=zb+"--dots",Db=zb+"--thumbs",Eb=zb+"__frame",Fb=Eb+"--dot",Gb=Eb+"--thumb",Hb=fb+"__fade",Ib=Hb+"-front",Jb=Hb+"-rear",Kb=fb+"__shadow",Lb=Kb+"s",Mb=Lb+"--left",Nb=Lb+"--right",Ob=fb+"__active",Pb=fb+"__select",Qb=fb+"--hidden",Rb=fb+"--fullscreen",Sb=fb+"__fullscreen-icon",Tb=fb+"__error",Ub=fb+"__loading",Vb=fb+"__loaded",Wb=Vb+"--full",Xb=Vb+"--img",Yb=fb+"__grabbing",Zb=fb+"__img",$b=Zb+"--full",_b=fb+"__dot",ac=fb+"__thumb",bc=ac+"-border",cc=fb+"__html",dc=fb+"__video",ec=dc+"-play",fc=dc+"-close",gc=fb+"__caption",hc=fb+"__oooo",ic=c(a),jc=c(b),kc="CSS1Compat"===b.compatMode,lc="quirks"===location.hash.replace("#",""),mc=T.csstransforms3d&&!lc,nc=U.ok,oc=250,pc=300,qc=5e3,rc=2,sc=64,tc=500,uc=333,vc="$stageFrame",wc="$navDotFrame",xc="$navThumbFrame",yc=e([.1,0,.25,1]),zc=c(J("",J(hc))),Ac=function(){zc.attr("class",hc+" "+hc+"--"+eb),eb++,eb>4&&(eb=0)};jQuery.Fotorama=function(e,f){function h(){c.each(Rc,function(a,b){if(!b.i){b.i=vd++;var c=w(b.video,!0);if(c){var d={};b.video=c,b.img||b.thumb?b.thumbsReady=!0:d=x(b,Rc,rd),y(Rc,{img:d.img,thumb:d.thumb},b.i,rd)}}})}function i(){Rc=rd.data=Rc||z(e),Sc=rd.size=Rc.length,!Qc.ok&&f.shuffle&&K(Rc),h(),Qd=A(Qd),Sc&&(od||(e.html("").append(zd),c.Fotorama.size++,od=!0))}function q(){Ud.noMove=2>Sc||Uc||fd,Ud.noSwipe=!f.swipe,Bd.toggleClass(sb,!Ud.noMove&&!Ud.noSwipe)}function r(a){a===!0&&(a=""),f.autoplay=Math.max(Number(a)||qc,1.5*pc)}function t(a){return a?"add":"remove"}function u(){fd="crossfade"===f.transition||"dissolve"===f.transition,ad=f.loop&&(Sc>2||fd);var a={add:[],remove:[]};Sc>1?(bd=f.nav,cd="top"===f.navPosition,a.remove.push(Pb),Fd.toggle(f.arrows),Kb()):(bd=!1,Fd.hide()),f.autoplay&&r(f.autoplay),gd=l(f.thumbWidth)||sc,hd=l(f.thumbHeight)||sc,q(),Cc(f,!0),"thumbs"===bd?(bb(Sc,"navThumb"),Tc=Kd,$=xc,F(xd,c.Fotorama.jst.style({w:gd,h:hd,m:rc,s:td,q:!kc})),Hd.addClass(Db).removeClass(Cb)):"dots"===bd?(bb(Sc,"navDot"),Tc=Jd,$=wc,Hd.addClass(Cb).removeClass(Db)):(bd=!1,Hd.removeClass(Db+" "+Cb)),bd&&(cd?Gd.insertBefore(Ad):Gd.insertAfter(Ad),Hb.nav=!1,Hb(Tc,Id,"nav")),dd=f.allowFullScreen,e.insertAfter(yd).removeClass(Qb),dd?(Od.appendTo(Ad),ed=nc&&"native"===dd):(Od.detach(),ed=!1),a[t(fd)].push(kb),a[t(!fd)].push(lb),R(),zd.addClass(a.add.join(" ")).removeClass(a.remove.join(" ")),Sd=c.extend({},f)}function v(a){return 0>a?(Sc+a%Sc)%Sc:a>=Sc?a%Sc:a}function A(a){return g(a,0,Sc-1)}function N(a){return ad?v(a):A(a)}function O(a){return a>0||ad?a-1:!1}function S(a){return Sc-1>a||ad?a+1:!1}function T(){Ld.minPos=ad?-1/0:-o(Sc-1,Td.w,rc,Xc),Ld.maxPos=ad?1/0:-o(0,Td.w,rc,Xc),Ld.snap=Td.w+rc}function V(){Md.minPos=Math.min(0,Td.w-Id.width()),Md.maxPos=0,Vd.noMove=Md.minPos===Md.maxPos,Id.toggleClass(sb,!Vd.noMove)}function W(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=Rc[v(c)],g="$"+b+"Frame",h=f[g];d.call(this,a,c,f,h,g,h&&h.data())}})}function X(a,b,c,d){(!id||"*"===id&&d===Rd)&&(a=n(f.width)||n(a)||tc,b=n(f.height)||n(b)||uc,rd.resize({width:a,ratio:f.ratio||c||a/b},0,d===Rd?!0:"*"))}function _(a,b,d,e,g){W(a,b,function(a,h,i,j,k,l){function m(a){var b=v(h);Dc(a,{index:b,src:w,frame:Rc[b]})}function n(){s.remove(),c.Fotorama.cache[w]="error",i.html&&"stage"===b||!x||x===w?(w&&!i.html?(j.trigger("f:error").removeClass(Ub).addClass(Tb),m("error")):"stage"===b&&(j.trigger("f:load").removeClass(Ub+" "+Tb).addClass(Vb),m("load"),X()),l.state="error",!(Sc>1)||i.html||i.deleted||i.video||q||(i.deleted=!0,rd.splice(h,1))):(i[u]=w=x,_([h],b,d,e,!0))}function o(){var a=r.width,g=r.height,k=a/g;t.measures={width:a,height:g,ratio:k},X(a,g,k,h),s.off("load error").addClass(Zb+(q?" "+$b:"")).prependTo(j),E(s,d||Td,e||i.fit||f.fit),c.Fotorama.cache[w]="loaded",l.state="loaded",setTimeout(function(){j.trigger("f:load").removeClass(Ub+" "+Tb).addClass(Vb+" "+(q?Wb:Xb)),"stage"===b&&m("load")},5)}function p(){C(function(){return!qd},function(){o()})}if(j){var q=rd.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]?setTimeout(p,0):setTimeout(y,100)}():(c.Fotorama.cache[w]="*",s.on("load",p).on("error",n)),r.src=w}}})}function ab(){var a=rd.activeFrame[vc];a&&!a.data().state&&(Q(a),a.on("f:load f:error",function(){a.off("f:load f:error"),R()}))}function bb(a,b){W(a,b,function(a,d,e,g,h,i){if(!g)if(g=e[h]=zd[h].clone(),i=g.data(),i.data=e,"stage"===b){if(e.html&&c('<div class="'+cc+'"></div>').append(c(e.html).removeAttr("id").html(e._html)).appendTo(g),f.captions&&e.caption&&c('<div class="'+gc+'"></div>').append(e.caption).appendTo(g),e.video){var j=Pd.clone();I(j,function(){Fc(),rd.playVideo()},{onStart:function(){Ec(),Ud.control=!0},tail:Ud}),g.addClass(pb).append(j)}Cd=Cd.add(g)}else"navDot"===b?Jd=Jd.add(g):"navThumb"===b&&(i.$wrap=g.children(":first"),Kd=Kd.add(g),e.video&&g.append(Pd.clone()))})}function cb(a,b,c){return a&&a.length&&E(a,b,c)}function db(a){W(a,"stage",function(a,b,d,e,g,h){if(e){Xd[vc].push(e.css(c.extend({left:fd?0:o(b,Td.w,rc,Xc)},fd&&k(0)))),B(e[0])&&(e.appendTo(Bd),Kc(d.$video));var i=d.fit||f.fit;cb(h.$img,Td,i),cb(h.$full,Td,i)}})}function eb(a,b){if("thumbs"===bd&&!isNaN(a)){var d=-a,e=-a+Td.w;Kd.each(function(){var a=c(this),f=a.data(),g=f.eq,h={h:hd},i="cover";h.w=f.w,f.l+f.w<d||f.l>e||cb(f.$img,h,i)||b&&_([g],"navThumb",h,i)})}}function Hb(a,b,d){if(!Hb[d]){var e="nav"===d&&"thumbs"===bd,f=0;b.append(a.filter(function(){for(var a,b=c(this),d=b.data(),e=0,f=Rc.length;f>e;e++)if(d.data===Rc[e]){a=!0,d.eq=e;break}return a||b.remove()&&!1}).sort(function(a,b){return c(a).data().eq-c(b).data().eq}).each(function(){if(e){var a=c(this),b=a.data(),d=Math.round(hd*b.data.thumbRatio||gd);b.l=f,b.w=d,a.css({width:d}),f+=d+rc}})),Hb[d]=!0}}function Ib(a){return a-Yd>Td.w/3}function Jb(a){return!(ad||Qd+a&&Qd-Sc+a||Uc)}function Kb(){Fd.each(function(a){c(this).toggleClass(vb,Jb(a))})}function Yb(a){return a.l+a.w/2}function dc(a){var b=rd.activeFrame[$].data();L(Nd,{time:.9*a,pos:b.l,width:b.w-2*rc})}function hc(a){if(Rc[a.guessIndex][$]){var b=g(a.coo-Yb(Rc[a.guessIndex][$].data()),Md.minPos,Md.maxPos),c=.9*a.time;L(Id,{time:c,pos:b,onEnd:function(){eb(b,!0)}}),c&&eb(b),Jc(Hd,G(b,Md.minPos,Md.maxPos))}}function lc(){yc($),Wd[$].push(rd.activeFrame[$].addClass(Ob))}function yc(a){for(var b=Wd[a];b.length;)b.shift().removeClass(Ob)}function zc(a){for(var b=Xd[a];b.length;){var c=b.shift();rd.activeFrame[a]!==c&&c.detach()}}function Ac(){Xc=Yc=Qd;var a=rd.activeFrame,b=a[vc];b&&(yc(vc),Wd[vc].push(b.addClass(Ob)),s(Bd.css(j(0))),zc(vc),db(Wc),T(),V())}function Cc(a,b){a&&c.extend(Td,{width:a.width||Td.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:Td.width,height:Td.height,minWidth:Td.minWidth,maxWidth:Td.maxWidth,minHeight:Td.minHeight,maxHeight:Td.maxHeight,ratio:Td.ratio})}function Dc(a,b){e.trigger(fb+":"+a,[rd,b])}function Ec(){clearTimeout(Fc.t),qd=1,f.stopAutoplayOnTouch?rd.stopAutoplay():md=!0}function Fc(){Fc.t=setTimeout(function(){qd=0},pc+oc)}function Gc(){md=!(!Uc&&!nd)}function Hc(){if(clearTimeout(Hc.t),!f.autoplay||md)return rd.autoplay&&(rd.autoplay=!1,Dc("stopautoplay")),void 0;rd.autoplay||(rd.autoplay=!0,Dc("startautoplay"));var a=Qd;Hc.t=setTimeout(function(){var b=rd.activeFrame[vc].data();C(function(){return b.state||a!==Qd},function(){md||a!==Qd||rd.show(ad?">":v(Qd+1))})},f.autoplay)}function Ic(){rd.fullScreen&&(rd.fullScreen=!1,nc&&U.cancel(ud),Z.removeClass(gb),e.removeClass(Rb).insertAfter(yd),Dc("fullscreenexit"),Td=c.extend({},pd),Kc(Uc,!0),rd.resize(),_(Wc,"stage"),ic.scrollLeft(kd).scrollTop(jd))}function Jc(a,b){a.removeClass(Mb+" "+Nb),b&&!Uc&&a.addClass(b.replace(/^|\s/g," "+Lb+"--"))}function Kc(a,b,c){b&&(zd.removeClass(jb),Uc=!1,q()),a&&a!==Uc&&(a.remove(),Dc("unloadvideo")),c&&(Gc(),Hc())}function Lc(a){zd.toggleClass(mb,a)}function Mc(a){if(!Ud.flow){var b=a?a.pageX:Mc.x,c=!Jb(Ib(b));Mc.p===c||!fd&&f.swipe||!Ad.toggleClass(tb,c&&f.click)||(Mc.p=c,Mc.x=b)}}function Nc(a,b){Uc?Kc(Uc,!0,!0):b&&f.arrows?Lc():f.click&&rd.show({index:a.shiftKey||!Ib(a._x)/3?"<":">",slow:a.altKey,direct:!0})}function Oc(a,b){var d=c(this).data().eq;rd.show({index:d,slow:a.altKey,direct:!0,coo:a._x-Hd.offset().left,time:b})}function Pc(){i(),u(),Qc.ok||(f.hash&&location.hash&&(Rd=H(location.hash.replace(/^#/,""),Rc,0===sd)),Qd=Xc=Yc=Zc=Rd=N(Rd)||0),Sc?(Uc&&Kc(Uc,!0),rd.show({index:Qd,time:0}),rd.resize()):rd.destroy()}function Qc(){Qc.ok||(Qc.ok=!0,Dc("ready"))}Y=Y||c("html"),Z=Z||c("body");var Rc,Sc,Tc,Uc,Vc,Wc,Xc,Yc,Zc,$c,_c,ad,bd,cd,dd,ed,fd,gd,hd,id,jd,kd,ld,md,nd,od,pd,qd,rd=this,sd=Bc,td=+new Date,ud=e.addClass(fb+td)[0],vd=1,wd=e.data(),xd=c("<style></style>").insertBefore(e),yd=c(J(Qb)).insertBefore(e),zd=c(J(hb)),Ad=c(J(nb)).appendTo(zd),Bd=(Ad[0],c(J(qb)).appendTo(Ad)),Cd=c(),Dd=c(J(ub+" "+wb,J(yb))),Ed=c(J(ub+" "+xb,J(yb))),Fd=Dd.add(Ed).appendTo(Ad),Gd=c(J(Ab)),Hd=c(J(zb)).appendTo(Gd),Id=c(J(Bb)).appendTo(Hd),Jd=c(),Kd=c(),Ld=Bd.data(),Md=Id.data(),Nd=c(J(bc)).appendTo(Id),Od=c(J(Sb)),Pd=c(J(ec)),Qd=(c(J(fc)).appendTo(Ad),!1),Rd=!1,Sd={},Td={},Ud={},Vd={},Wd={},Xd={},Yd=0;zd[vc]=c(J(ob)),zd[xc]=c(J(Eb+" "+Gb,J(ac))),zd[wc]=c(J(Eb+" "+Fb,J(_b))),Wd[vc]=[],Wd[xc]=[],Wd[wc]=[],Xd[vc]=[],mc&&zd.addClass(ib),wd.fotorama=this,rd.options=f,Bc++,rd.startAutoplay=function(a){return rd.autoplay?this:(md=nd=!1,r(a||f.autoplay),Hc(),this)},rd.stopAutoplay=function(){return rd.autoplay&&(md=nd=!0,Hc()),this},rd.show=function(a){function b(){ab(),_(Wc,"stage"),Ac(),Dc("showend",a.direct),Mc(),Gc(),Hc()}var c,d,e=pc;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?Yc+1:"<"===c?Yc-1:"<<"===c?0:">>"===c?Sc-1:c,c=isNaN(c)?H(c,Rc,!0):c,c="undefined"==typeof c?Qd||0:c,rd.activeIndex=Qd=N(c),$c=O(Qd),_c=S(Qd),Wc=[Qd,$c,_c],Yc=ad?c:Qd,rd.activeFrame=Vc=Rc[Qd],Kc(!1,Vc.i!==Rc[v(Xc)].i),bb([Qd,$c,_c],"stage"),db([Yc]),Dc("show",a.direct),fd){var h=Vc[vc],i=Qd!==Zc?Rc[Zc][vc]:null;M(h,i,Cd,{time:e,method:f.transition,onEnd:b})}else L(Bd,{pos:-o(Yc,Td.w,rc,Xc),overPos:d,time:e,onEnd:b});if(Kb(),bd){lc();var j=A(Qd+g(Yc-Zc,-1,1)),k="undefined"==typeof a.coo;(k||j!==Qd)&&hc({time:e,coo:k?Td.w/2:a.coo,guessIndex:k?Qd:j}),"thumbs"===bd&&dc(e)}return ld="undefined"!=typeof Zc&&Zc!==Qd,Zc=Qd,f.hash&&ld&&!rd.eq&&D(Vc.id||Qd+1),this},rd.requestFullScreen=function(){return dd&&!rd.fullScreen&&(jd=ic.scrollTop(),kd=ic.scrollLeft(),ic.scrollTop(0).scrollLeft(0),pd=c.extend({},Td),e.addClass(Rb).appendTo(Z.addClass(gb)),Kc(Uc,!0),rd.fullScreen=!0,ed&&U.request(ud),rd.resize(),_(Wc,"stage"),Dc("fullscreenenter")),this},rd.cancelFullScreen=function(){return ed&&U.is()?U.cancel(b):Ic(),this},b.addEventListener&&b.addEventListener(U.event,function(){U.is()||Uc||Ic()}),jc.on("keydown",function(a){Uc&&27===a.keyCode?(a.preventDefault(),Kc(Uc,!0,!0)):(rd.fullScreen||f.keyboard&&!sd)&&(27===a.keyCode?(a.preventDefault(),rd.cancelFullScreen()):39===a.keyCode||40===a.keyCode&&rd.fullScreen?(a.preventDefault(),rd.show({index:">",slow:a.altKey,direct:!0})):(37===a.keyCode||38===a.keyCode&&rd.fullScreen)&&(a.preventDefault(),rd.show({index:"<",slow:a.altKey,direct:!0})))}),sd||jc.on("keydown","textarea, input, select",function(a){rd.fullScreen||a.stopPropagation()}),rd.resize=function(b){if(!Rc)return this;Cc(rd.fullScreen?{width:"100%",maxWidth:null,minWidth:null,height:"100%",maxHeight:null,minHeight:null}:b,rd.fullScreen);var c=arguments[1]||0,d=arguments[2],e=Td.width,f=Td.height,h=Td.ratio,i=a.innerHeight-(bd?Hd.height():0);return n(e)&&(zd.css({width:e,minWidth:Td.minWidth,maxWidth:Td.maxWidth}),e=Td.w=zd.width(),f=m(f)/100*i||l(f),f=f||h&&e/h,f&&(e=Math.round(e),f=Td.h=Math.round(g(f,m(Td.minHeight)/100*i||l(Td.minHeight),m(Td.maxHeight)/100*i||l(Td.maxHeight))),Ac(),Ad.addClass(rb).stop().animate({width:e,height:f},c,function(){Ad.removeClass(rb)}),bd&&(Hd.stop().animate({width:e},c).css({left:0}),hc({guessIndex:Qd,time:c,coo:Td.w/2}),"thumbs"===bd&&Hb.nav&&dc(c)),id=d||!0,Qc())),Yd=Ad.offset().left,this},rd.setOptions=function(a){return c.extend(f,a),Pc(),this},rd.shuffle=function(){return Rc&&K(Rc)&&Pc(),this},rd.destroy=function(){return rd.stopAutoplay(),zd.detach(),e.html(wd.urtext),od=!1,Rc=rd.data=null,c.Fotorama.size--,this},rd.playVideo=function(){var a=rd.activeFrame,b=a.video,d=Qd;return"object"==typeof b&&a.videoReady&&(ed&&rd.fullScreen&&rd.cancelFullScreen(),C(function(){return!U.is()||d!==Qd},function(){d===Qd&&(a.$video=a.$video||c(c.Fotorama.jst.video(b)),a.$video.appendTo(a[vc]),zd.addClass(jb),Uc=a.$video,Ud.noMove=!0,Dc("loadvideo"))})),this},rd.stopVideo=function(){return Kc(Uc,!0,!0),this},zd.hover(function(){Lc(!1)},function(){Lc(!0)}),Ad.on("mousemove",Mc),Ud=P(Bd,{onStart:Ec,onMove:function(a,b){Jc(Ad,b.edge)},onEnd:function(a){if(Jc(Ad),Fc(),a.moved||a.touch&&a.pos!==a.newPos){var b=p(a.newPos,Td.w,rc,Xc);rd.show({index:b,time:a.time,overPos:a.overPos,direct:!0})}else a.aborted||Nc(a.startEvent,a.touch)},getPos:function(){return-o(Yc,Td.w,rc,Xc)},timeLow:1,timeHigh:1,friction:2,select:"."+Pb+", ."+Pb+" *",$wrap:Ad}),Vd=P(Id,{onStart:Ec,onMove:function(a,b){Jc(Hd,b.edge)},onEnd:function(a){function b(){Gc(),Hc(),eb(a.newPos,!0)}if(Fc(),a.moved)a.pos!==a.newPos?(L(Id,{time:a.time,pos:a.newPos,overPos:a.overPos,onEnd:b}),eb(a.newPos),Jc(Hd,G(a.newPos,Md.minPos,Md.maxPos))):b();else{var c=a.$target.closest("."+Eb,Id)[0];c&&Oc.call(c,a.startEvent)}},timeLow:.5,timeHigh:2,friction:5,$wrap:Hd}),I(Fd,function(a){a.preventDefault(),Uc?Kc(Uc,!0,!0):(Fc(),rd.show({index:Fd.index(this)?">":"<",slow:a.altKey,direct:!0}))},{onStart:function(){Ec(),Ud.control=!0},tail:Ud}),I(Od,function(){Fc(),rd.fullScreen?rd.cancelFullScreen():rd.requestFullScreen(),Gc(),Hc()},{onStart:function(){Ec(),Ud.control=!0},tail:Ud}),c.each("load push pop shift unshift reverse sort splice".split(" "),function(a,b){rd[b]=function(){return Rc=Rc||[],"load"!==b?Array.prototype[b].apply(Rc,arguments):arguments[0]&&"object"==typeof arguments[0]&&arguments[0].length&&(Rc=arguments[0]),Pc(),rd}}),ic.on("resize",rd.resize),Pc()},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):C(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:sc,thumbHeight:sc,arrows:!0,click:!0,swipe:!0,allowFullScreen:!1,fit:"contain",transition:"slide",captions:!0,hash:!1,autoplay:!1,stopAutoplayOnTouch:!0,keyboard:!1,loop:!1,shuffle:!1},a,e))})})},c.Fotorama.cache={};var Bc=0;c.Fotorama.size=0,c(function(){c("."+fb+':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;\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-border{\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}"},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);
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * Fotorama 4.1.17 | http://fotorama.io/license/
2
+ * Fotorama 4.2.1 | http://fotorama.io/license/
3
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}
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 .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,.fotorama__wrap--css3 .fotorama__thumb-border{-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;transition-property:transform;-webkit-transition-timing-function:cubic-bezier(0.1,.25,.25,1);-moz-transition-timing-function:cubic-bezier(0.1,.25,.25,1);-o-transition-timing-function:cubic-bezier(0.1,.25,.25,1);transition-timing-function:cubic-bezier(0.1,.25,.25,1);-webkit-transition-duration:0ms;-moz-transition-duration:0ms;-o-transition-duration:0ms;transition-duration:0ms}.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__wrap *{-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__thumb{background-color:rgba(127,127,127,.2)}.fotorama{min-width:1px}.fotorama>*{visibility:hidden}.fotorama.fotorama--noscript>*,.fotorama>.fotorama__wrap{visibility:visible}.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__stage{overflow:hidden;position:relative}.fotorama__wrap .fotorama__pointer{cursor:pointer}.fotorama__wrap--slide .fotorama__stage__frame{opacity:1!important}.fotorama__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{overflow:hidden;position:relative;width:100%;height:100%}.fotorama__thumb-border{position:absolute;z-index:9;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__wrap--fade .fotorama__stage__frame,.fotorama__wrap--css3 .fotorama__caption{-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:linear;-moz-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear;-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-o-transition-duration:300ms;transition-duration:300ms}.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}.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}.fotorama__wrap--fade .fotorama__stage:before,.fotorama__wrap--fade .fotorama__stage:after{display:none!important}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fotoramajs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.17
4
+ version: 4.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-16 00:00:00.000000000 Z
12
+ date: 2013-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
@@ -43,38 +43,6 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
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
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
46
  description: Fotorama is a simple, stunning, powerful JavaScript gallery. This is
79
47
  a gem, that allow you to simple install and maintain Fotorama in Rails Assets Pipeline.
80
48
  email:
@@ -112,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
80
  version: '0'
113
81
  segments:
114
82
  - 0
115
- hash: -2719923202432952815
83
+ hash: 2693667873138157820
116
84
  required_rubygems_version: !ruby/object:Gem::Requirement
117
85
  none: false
118
86
  requirements:
@@ -121,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
89
  version: '0'
122
90
  segments:
123
91
  - 0
124
- hash: -2719923202432952815
92
+ hash: 2693667873138157820
125
93
  requirements: []
126
94
  rubyforge_project:
127
95
  rubygems_version: 1.8.23