!function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;e>10|55296,1023&n|56320)}function f(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function n(){w()}var t,d,b,r,s,m,c,g,x,l,h,w,T,a,k,y,o,p,v,P="sizzle"+ +new Date,_=i.document,A=0,S=0,E=at(),C=at(),M=at(),D=function(t,e){return t===e&&(h=!0),0},F={}.hasOwnProperty,e=[],I=e.pop,O=e.push,L=e.push,N=e.slice,R=function(t,e){for(var i=0,n=t.length;i+~]|"+j+")"+j+"*"),U=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),G=new RegExp(q),Z=new RegExp("^"+z+"$"),$={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+V+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,it=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,st=gt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{L.apply(e=N.call(_.childNodes),_.childNodes),e[_.childNodes.length].nodeType}catch(t){L={apply:e.length?function(t,e){O.apply(t,N.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function rt(t,e,i,n){var s,r,a,o,l,h,p,u=e&&e.ownerDocument,c=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==c&&9!==c&&11!==c)return i;if(!n&&((e?e.ownerDocument||e:_)!==T&&w(e),e=e||T,k)){if(11!==c&&(l=tt.exec(t)))if(s=l[1]){if(9===c){if(!(a=e.getElementById(s)))return i;if(a.id===s)return i.push(a),i}else if(u&&(a=u.getElementById(s))&&v(e,a)&&a.id===s)return i.push(a),i}else{if(l[2])return L.apply(i,e.getElementsByTagName(t)),i;if((s=l[3])&&d.getElementsByClassName&&e.getElementsByClassName)return L.apply(i,e.getElementsByClassName(s)),i}if(d.qsa&&!M[t+" "]&&(!y||!y.test(t))){if(1!==c)u=e,p=t;else if("object"!==e.nodeName.toLowerCase()){for((o=e.getAttribute("id"))?o=o.replace(nt,f):e.setAttribute("id",o=P),r=(h=m(t)).length;r--;)h[r]="#"+o+" "+mt(h[r]);p=h.join(","),u=et.test(t)&&ft(e.parentNode)||e}if(p)try{return L.apply(i,u.querySelectorAll(p)),i}catch(t){}finally{o===P&&e.removeAttribute("id")}}}return g(t.replace(W,"$1"),e,i,n)}function at(){var i=[];function n(t,e){return i.push(t+" ")>b.cacheLength&&delete n[i.shift()],n[t+" "]=e}return n}function ot(t){return t[P]=!0,t}function lt(t){var e=T.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function ht(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function pt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ut(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ct(a){return ot(function(r){return r=+r,ot(function(t,e){for(var i,n=a([],t.length,r),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function ft(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=rt.support={},s=rt.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},w=rt.setDocument=function(t){var e,t=t?t.ownerDocument||t:_;return t!==T&&9===t.nodeType&&t.documentElement&&(a=(T=t).documentElement,k=!s(T),_!==T&&(e=T.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",n,!1):e.attachEvent&&e.attachEvent("onunload",n)),d.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=lt(function(t){return t.appendChild(T.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=J.test(T.getElementsByClassName),d.getById=lt(function(t){return a.appendChild(t).id=P,!T.getElementsByName||!T.getElementsByName(P).length}),d.getById?(b.filter.ID=function(t){var e=t.replace(it,u);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&k){t=e.getElementById(t);return t?[t]:[]}}):(b.filter.ID=function(t){var e=t.replace(it,u);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i,n,s,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(s=e.getElementsByName(t),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),b.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;i=r[s++];)1===i.nodeType&&n.push(i);return n},b.find.CLASS=d.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},o=[],y=[],(d.qsa=J.test(T.querySelectorAll))&&(lt(function(t){a.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+j+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||y.push("\\["+j+"*(?:value|"+V+")"),t.querySelectorAll("[id~="+P+"-]").length||y.push("~="),t.querySelectorAll(":checked").length||y.push(":checked"),t.querySelectorAll("a#"+P+"+*").length||y.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=T.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&y.push("name"+j+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=J.test(p=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&<(function(t){d.disconnectedMatch=p.call(t,"*"),p.call(t,"[s!='']:x"),o.push("!=",q)}),y=y.length&&new RegExp(y.join("|")),o=o.length&&new RegExp(o.join("|")),e=J.test(a.compareDocumentPosition),v=e||J.test(a.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===i?t===T||t.ownerDocument===_&&v(_,t)?-1:e===T||e.ownerDocument===_&&v(_,e)?1:l?R(l,t)-R(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,a=[t],o=[e];if(!s||!r)return t===T?-1:e===T?1:s?-1:r?1:l?R(l,t)-R(l,e):0;if(s===r)return pt(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)o.unshift(i);for(;a[n]===o[n];)n++;return n?pt(a[n],o[n]):a[n]===_?-1:o[n]===_?1:0}),T},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==T&&w(t),e=e.replace(U,"='$1']"),d.matchesSelector&&k&&!M[e+" "]&&(!o||!o.test(e))&&(!y||!y.test(e)))try{var i=p.call(t,e);if(i||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(it,u),t[3]=(t[3]||t[4]||t[5]||"").replace(it,u),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return $.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&G.test(i)&&(e=m(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(it,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&E(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=rt.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,E=/^.[^:#\[\.,]*$/;function C(t,i,n){return k.isFunction(i)?k.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?k.grep(t,function(t){return t===i!==n}):"string"!=typeof i?k.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(t,e,i){if(!t)return this;if(i=i||D,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):k.isFunction(t)?void 0!==i.ready?i.ready(t):t(k):k.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:M.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),S.test(n[1])&&k.isPlainObject(e))for(var n in e)k.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(t=T.getElementById(n[2]))&&(this[0]=t,this.length=1),this}).prototype=k.fn;var D=k(T),F=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]+)/i,at=/^$|\/(?:java|ecma)script/i,ot={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function lt(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&A(t,e)?k.merge([t],i):i}function ht(t,e){for(var i=0,n=t.length;ix",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue;var ct=T.documentElement,ft=/^key/,dt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,mt=/^([^.]*)(?:\.(.+)|)/;function gt(){return!0}function yt(){return!1}function vt(){try{return T.activeElement}catch(t){}}function _t(t,e,i,n,s,r){var a,o;if("object"==typeof e){for(o in"string"!=typeof i&&(n=n||i,i=void 0),e)_t(t,o,i,n,e[o],r);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=yt;else if(!s)return t;return 1===r&&(a=s,(s=function(t){return k().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),t.each(function(){k.event.add(this,e,s,n,i)})}k.event={global:{},add:function(e,t,i,n,s){var r,a,o,l,h,p,u,c,f,d=X.get(e);if(d)for(i.handler&&(i=(r=i).handler,s=r.selector),s&&k.find.matchesSelector(ct,s),i.guid||(i.guid=k.guid++),(o=d.events)||(o=d.events={}),(a=d.handle)||(a=d.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(L)||[""]).length;l--;)u=f=(h=mt.exec(t[l])||[])[1],c=(h[2]||"").split(".").sort(),u&&(p=k.event.special[u]||{},u=(s?p.delegateType:p.bindType)||u,p=k.event.special[u]||{},h=k.extend({type:u,origType:f,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&k.expr.match.needsContext.test(s),namespace:c.join(".")},r),(f=o[u])||((f=o[u]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,c,a)||e.addEventListener&&e.addEventListener(u,a)),p.add&&(p.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),s?f.splice(f.delegateCount++,0,h):f.push(h),k.event.global[u]=!0)},remove:function(t,e,i,n,s){var r,a,o,l,h,p,u,c,f,d,m,g=X.hasData(t)&&X.get(t);if(g&&(l=g.events)){for(h=(e=(e||"").match(L)||[""]).length;h--;)if(f=m=(o=mt.exec(e[h])||[])[1],d=(o[2]||"").split(".").sort(),f){for(u=k.event.special[f]||{},c=l[f=(n?u.delegateType:u.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=c.length;r--;)p=c[r],!s&&m!==p.origType||i&&i.guid!==p.guid||o&&!o.test(p.namespace)||n&&n!==p.selector&&("**"!==n||!p.selector)||(c.splice(r,1),p.selector&&c.delegateCount--,u.remove&&u.remove.call(t,p));a&&!c.length&&(u.teardown&&!1!==u.teardown.call(t,d,g.handle)||k.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)k.event.remove(t,f+e[h],i,n,!0);k.isEmptyObject(l)&&X.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,r,a=k.event.fix(t),o=new Array(arguments.length),l=(X.get(this,"events")||{})[a.type]||[],t=k.event.special[a.type]||{};for(o[0]=a,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,xt=/\s*$/g;function Pt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&k(">tbody",t)[0]||t}function At(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function St(t){var e=Tt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Et(t,e){var i,n,s,r,a,o;if(1===e.nodeType){if(X.hasData(t)&&(r=X.access(t),a=X.set(e,r),o=r.events))for(s in delete a.handle,a.events={},o)for(i=0,n=o[s].length;i")},clone:function(t,e,i){var n,s,r,a,o,l,h,p=t.cloneNode(!0),u=k.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(a=lt(p),n=0,s=(r=lt(t)).length;n").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),T.head.appendChild(n[0])},abort:function(){s&&s()}}});var je=[],ze=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=je.pop()||k.expando+"_"+ve++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,a=!1!==t.jsonp&&(ze.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ze.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=k.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(ze,"$1"+n):!1!==t.jsonp&&(t.url+=(_e.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||k.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=w[n],w[n]=function(){r=arguments},i.always(function(){void 0===s?k(w).removeProp(n):w[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,je.push(n)),r&&k.isFunction(s)&&s(r[0]),r=s=void 0}),"script"}),g.createHTMLDocument=((e=T.implementation.createHTMLDocument("").body).innerHTML="
",2===e.childNodes.length),k.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,e.head.appendChild(n)):e=T),n=!i&&[],(i=S.exec(t))?[e.createElement(i[1])]:(i=ut([t],e,n),n&&n.length&&k(n).remove(),k.merge([],i.childNodes)));var n},k.fn.load=function(t,e,i){var n,s,r,a=this,o=t.indexOf(" ");return-1").append(k.parseHTML(t)).find(n):t)}).always(i&&function(t,e){a.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(t,e,i){var n,s,r,a,o=k.css(t,"position"),l=k(t),h={};"static"===o&&(t.style.position="relative"),r=l.offset(),n=k.css(t,"top"),a=k.css(t,"left"),a=("absolute"===o||"fixed"===o)&&-1<(n+a).indexOf("auto")?(s=(o=l.position()).top,o.left):(s=parseFloat(n)||0,parseFloat(a)||0),null!=(e=k.isFunction(e)?e.call(t,i,k.extend({},r)):e).top&&(h.top=e.top-r.top+s),null!=e.left&&(h.left=e.left-r.left+a),"using"in e?e.using.call(t,h):l.css(h)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),n=(i=n.ownerDocument).documentElement,i=i.defaultView,{top:t.top+i.pageYOffset-n.clientTop,left:t.left+i.pageXOffset-n.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return"fixed"===k.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),n={top:(n=!A(t[0],"html")?t.offset():n).top+k.css(t[0],"borderTopWidth",!0),left:n.left+k.css(t[0],"borderLeftWidth",!0)}),{top:e.top-n.top-k.css(i,"marginTop",!0),left:e.left-n.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||ct})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;k.fn[e]=function(t){return q(this,function(t,e,i){var n;return k.isWindow(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i?n?n[s]:t[e]:void(n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i)},e,t,arguments.length)}}),k.each(["top","left"],function(t,i){k.cssHooks[i]=qt(g.pixelPosition,function(t,e){if(e)return e=Bt(t,i),jt.test(e)?k(t).position()[i]+"px":e})}),k.each({Height:"height",Width:"width"},function(a,o){k.each({padding:"inner"+a,content:o,"":"outer"+a},function(n,r){k.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return q(this,function(t,e,i){var n;return k.isWindow(t)?0===r.indexOf("outer")?t["inner"+a]:t.document.documentElement["client"+a]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+a],n["scroll"+a],t.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?k.css(t,e,s):k.style(t,e,i,s)},o,i?t:void 0,i)}})}),k.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Be=w.jQuery,qe=w.$;return k.noConflict=function(t){return w.$===k&&(w.$=qe),t&&w.jQuery===k&&(w.jQuery=Be),k},t||(w.jQuery=w.$=k),k}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t.Vimeo=t.Vimeo||{},t.Vimeo.Player=e())}(this,function(){"use strict";var t="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function r(t,e){return 0===t.indexOf(e.toLowerCase())?t:""+e.toLowerCase()+t.substr(0,1).toUpperCase()+t.substr(1)}function o(t){return/^(https?:)?\/\/((player|www).)?vimeo.com(?=$|\/)/.test(t)}function a(t){var e=0>0||6)-1,u=[],c=[];for(i in t)!function(t,e,i){for(var n,s,r,a,o,l,h,p,u,c,f=1/i,d=t.length;-1<--d;)for(r=(u=t[d]).a,a=u.d-r,o=u.c-r,l=u.b-r,s=0,h=1;h<=i;h++)n=s-(s=((c=f*h)*c*a+3*(p=1-c)*(c*o+p*l))*c),e[c=d*i+h-1]=(e[c]||0)+n*n}(t[i],a,e);for(s=a.length,n=0;n>0]=c,o[r]=h,l=0,c=[]);return{length:h,lengths:o,segments:u}}var T,v,_,b,y,e,x,w,g,t;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,p,g){function y(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e}function v(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]="function"==typeof s?s(i,e[i]):s[i%s.length];delete t.cycle}function _(t,e,i){g.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=_.prototype.render}var b=1e-10,x=g._internals,w=x.isSelector,T=x.isArray,t=_.prototype=g.to({},.1,{}),k=[];_.version="1.20.3",t.constructor=_,t.kill()._gc=!1,_.killTweensOf=_.killDelayedCallsTo=g.killTweensOf,_.getTweensOf=g.getTweensOf,_.lagSmoothing=g.lagSmoothing,_.ticker=g.ticker,_.render=g.render,t.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),g.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,n=this.ratio,s=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime>0,0!==this._cycle&&this._cycle===this._totalTime/o&&c<=t&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time,(h=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==h||this._initted?this._yoyoEase=h=!0===h?this._ease:h instanceof Ease?h:Ease.map[h]:(h=this.vars.ease,this._yoyoEase=h=h?h instanceof Ease?h:"function"==typeof h?new Ease(h,this.vars.easeParams):Ease.map[h]||g.defaultEase:g.defaultEase)),this.ratio=h?1-h.getRatio((d-this._time)/d):0)),this._time>d?this._time=d:this._time<0&&(this._time=0)),this._easeType&&!h?(a=this._time/d,(1===(p=this._easeType)||3===p&&.5<=a)&&(a=1-a),3===p&&(a*=2),1===(o=this._easePower)?a*=a:2===o?a*=a*a:3===o?a*=a*a*a:4===o&&(a*=a*a*a*a),1===p?this.ratio=1-a:2===p?this.ratio=a:this._time/d<.5?this.ratio=a/2:this.ratio=1-a/2):h||(this.ratio=this._ease.getRatio(this._time/d))),u!==this._time||i||f!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=u,this._totalTime=c,this._rawPrevTime=m,this._cycle=f,x.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||n||h?n&&this._ease._calcEnd&&!h&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/d)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==u&&0<=t&&(this._active=!0),0===c&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.duration=function(t){return arguments.length?n.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},_},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(p,u,c){function f(t){u.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,n=this.vars;for(i in n)e=n[i],_(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));_(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)}function d(t){var e,i={};for(e in t)i[e]=t[e];return i}function m(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]="function"==typeof s?s(i,e[i]):s[i%s.length];delete t.cycle}function g(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e}var y=1e-10,t=c._internals,e=f._internals={},v=t.isSelector,_=t.isArray,b=t.lazyTweens,x=t.lazyRender,a=_gsScope._gsDefine.globals,s=e.pauseCallback=function(){},e=f.prototype=new u;return f.version="1.20.3",e.constructor=f,e.kill()._gc=e._forcingPlayhead=e._hasPause=!1,e.to=function(t,e,i,n){var s=i.repeat&&a.TweenMax||c;return e?this.add(new s(t,e,i),n):this.set(t,i,n)},e.from=function(t,e,i,n){return this.add((i.repeat&&a.TweenMax||c).from(t,e,i),n)},e.fromTo=function(t,e,i,n,s){var r=n.repeat&&a.TweenMax||c;return e?this.add(r.fromTo(t,e,i,n),s):this.set(t,n,s)},e.staggerTo=function(t,e,i,n,s,r,a,o){var l,h,p=new f({onComplete:r,onCompleteParams:a,callbackScope:o,smoothChildTiming:this.smoothChildTiming}),u=i.cycle;for("string"==typeof t&&(t=c.selector(t)||t),v(t=t||[])&&(t=g(t)),(n=n||0)<0&&((t=g(t)).reverse(),n*=-1),h=0;ht._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},e.remove=function(t){if(t instanceof p){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?p._rootFramesTimeline:p._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&_(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},e._remove=function(t,e){return u.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},e.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},e.insert=e.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},e.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},e.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},e.addPause=function(t,e,i,n){n=c.delayedCall(0,s,i,n||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},e.removeLabel=function(t){return delete this._labels[t],this},e.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},e._parseTimeOrLabel=function(t,e,i,n){var s,r;if(n instanceof p&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&_(n)))for(r=n.length;-1<--r;)n[r]instanceof p&&n[r].timeline===this&&this.remove(n[r]);if(s="number"!=typeof t||e?99999999999y&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:y,t=u+1e-4;else if(t<1e-7)if(((this._totalTime=this._time=0)!==p||0===this._duration&&this._rawPrevTime!==y&&(0=t&&!l;)n._duration||"isPause"===n.data&&0this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=r}this._onUpdate&&(e||(b.length&&x(),this._callback("onUpdate"))),a&&(this._gc||c!==this._startTime&&f===this._timeScale||(0===this._time||u>=this.totalDuration())&&(s&&(b.length&&x(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},e._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof f&&t._hasPausedChild())return!0;t=t._next}return!1},e.getChildren=function(t,e,i,n){n=n||-9999999999;for(var s=[],r=this._first,a=0;r;)r._startTime=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},e._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;-1<--n;)i[n]._kill(t,e)&&(s=!0);return s},e.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},e.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return p.prototype.invalidate.call(this)},e._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return u.prototype._enabled.call(this,t,e)},e.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=p.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},e.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},e.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,i,n=0,s=this._last,r=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>r&&this._sortChildren&&!s._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(s,s._startTime-s._delay),this._calculatingDuration=0):r=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale,this._time-=s._startTime,this._totalTime-=s._startTime,this._rawPrevTime-=s._startTime),this.shiftChildren(-s._startTime,!1,-9999999999),r=0),n<(i=s._startTime+s._totalDuration/s._timeScale)&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration},e.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return p.prototype.paused.apply(this,arguments)},e.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===p._rootFramesTimeline},e.rawTime=function(t){return t&&(this._paused||this._repeat&&0>0,0!==this._cycle&&this._cycle===this._totalTime/k&&f<=t&&this._cycle--,this._time=this._totalTime-this._cycle*k,this._yoyo&&0!=(1&this._cycle)&&(this._time=c-this._time),this._time>c?t=(this._time=c)+1e-4:this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(p<=(t=this._time)||this._repeat&&v!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!l;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(l=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!l;)n._duration||"isPause"===n.data&&0this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=r}this._onUpdate&&(e||(A.length&&S(),this._callback("onUpdate"))),a&&(this._locked||this._gc||d!==this._startTime&&m===this._timeScale||(0===this._time||u>=this.totalDuration())&&(s&&(A.length&&S(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}else f!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},t.getActive=function(t,e,i){for(var n,s=[],r=this.getChildren(t=null==t?!0:t,e=null==e?!0:e,i=null==i?!1:i),a=0,o=r.length,l=0;lt)return e[n].name;return null},t.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},t.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),T=180/Math.PI,v=[],_=[],b=[],y={},e=_gsScope._gsDefine.globals,x=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},w=function(t,e,i,n){var s={a:t},r={},a={},o={c:n},l=(t+e)/2,h=(e+i)/2,p=(i+n)/2,e=(l+h)/2,i=(h+p)/2,h=(i-e)/8;return s.b=l+(t-l)/4,r.b=e+h,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(e+i)/2,a.b=i-h,o.b=p+(n-p)/4,a.c=o.a=(a.b+o.b)/2,[s,r,a,o]},g=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,s,r,a,o,l=e.values||[],h={},p=l[0],u=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0!==u&&Number(u)||0]]:null,p)this._props.push(n);for(r=this._props.length;-1<--r;)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]="function"==typeof t[n],h[n]=s?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),o||h[n]!==l[0][n]&&(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):function(t,e,i){var n,s,r,a,o,l,h,p,u,c,f,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,y=[];if(null==(t=g&&i?[i].concat(t):t)||t.length<1+m)throw"invalid Bezier data";for(u in t[0])y.push(u);for(l=y.length;-1<--l;){for(d[u=y[l]]=o=[],p=t.length,h=c=0;hthis._l2&&w=t;);0===w&&tthis._s2&&w=t;);0===w&&t>0)*(1/p))*p;for(i=1-r,w=this._props.length;-1<--w;)n=this._props[w],a=(r*r*(s=this._beziers[n][e]).da+3*i*(r*s.ca+i*s.ba))*r+s.a,this._mod[n]&&(a=this._mod[n](a,c)),u[n]?c[n](a):c[n]=a;if(this._autoRotate)for(var d,m,g,y,v,_,b,x=this._autoRotate,w=x.length;-1<--w;)n=x[w][2],_=x[w][3]||0,b=!0===x[w][4]?1:T,s=this._beziers[x[w][0]],d=this._beziers[x[w][1]],s&&d&&(s=s[e],d=d[e],m=s.a+(s.b-s.a)*r,m+=((y=s.b+(s.c-s.b)*r)-m)*r,y+=(s.c+(s.d-s.c)*r-y)*r,g=d.a+(d.b-d.a)*r,g+=((v=d.b+(d.c-d.b)*r)-g)*r,v+=(d.c+(d.d-d.c)*r-v)*r,a=f?Math.atan2(v-g,y-m)*b+_:this._initialRotations[w],this._mod[n]&&(a=this._mod[n](a,c)),u[n]?c[n](a):c[n]=a)}}),t=g.prototype,g.bezierThrough=c,g.cubicToQuadratic=w,g._autoCSS=!0,g.quadraticToCubic=function(t,e,i){return new x(t,(2*e+t)/3,(2*e+i)/3,i)},g._cssRegister=function(){var f,d,m,t=e.CSSPlugin;t&&(t=t._internals,f=t._parseToProxy,d=t._setPluginRatio,m=t.CSSPropTween,t._registerComplexSpecialProp("bezier",{parser:function(t,e,i,n,s,r){e instanceof Array&&(e={values:e}),r=new g;var a,o,l,h=e.values,p=h.length-1,u=[],c={};if(p<0)return s;for(a=0;a<=p;a++)l=f(t,h[a],n,s,r,p!==a),u[a]=l.end;for(o in e)c[o]=e[o];return c.values=u,(s=new m(t,"bezier",0,0,l.pt,2)).data=l,s.plugin=r,s.setRatio=d,0===c.autoRotate&&(c.autoRotate=!0),!c.autoRotate||c.autoRotate instanceof Array||(a=!0===c.autoRotate?0:Number(c.autoRotate),c.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),c.autoRotate&&(n._transform||n._enableTransforms(!1),l.autoRotate=n._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,n._overwriteProps.push("rotation")),r._onInitTween(l.proxy,c,n._tween),s}}))},t._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;-1<--n;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},t._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;-1<--i;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;-1<--i;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r,M){function D(){r.call(this,"css"),this._overwriteProps.length=0,this.setRatio=D.prototype.setRatio}var c,w,k,u,h=_gsScope._gsDefine.globals,f={},t=D.prototype=new r("css");(t.constructor=D).version="1.20.3",D.API=2,D.defaultTransformPerspective=0,D.defaultSkewType="compensated",D.defaultSmoothOrigin=!0,D.suffixMap={top:t="px",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function a(t,e){return e.toUpperCase()}function o(t,e){return Q.createElementNS?Q.createElementNS(e||"http://www.w3.org/1999/xhtml",t):Q.createElement(t)}function l(t){return V.test("string"==typeof t?t:(t.currentStyle||t.style).filter||"")?parseFloat(RegExp.$1)/100:1}function d(t){_gsScope.console&&console.log(t)}function T(t,e){var i,n,s=(e=e||J).style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;-1<--n&&void 0===s[i[n]+t];);return 0<=n?(nt="-"+(st=3===n?"ms":i[n]).toLowerCase()+"-",st+t):null}function m(t,e){var i,n,s={};if(e=e||rt(t,null))if(i=e.length)for(;-1<--i;)-1!==(n=e[i]).indexOf("-transform")&&It!==n||(s[n.replace(q,a)]=e.getPropertyValue(n));else for(i in e)-1!==i.indexOf("Transform")&&Ft!==i||(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(q,a)]=e[i]);return it||(s.opacity=l(t)),t=Wt(t,e,!1),s.rotation=t.rotation,s.skewX=t.skewX,s.scaleX=t.scaleX,s.scaleY=t.scaleY,s.x=t.x,s.y=t.y,Lt&&(s.z=t.z,s.rotationX=t.rotationX,s.rotationY=t.rotationY,s.scaleZ=t.scaleZ),s.filters&&delete s.filters,s}function g(t,e,i,n,s){var r,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(r=i[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!=typeof r&&"string"!=typeof r||(l[a]="auto"!==r||"left"!==a&&"top"!==a?""!==r&&"auto"!==r&&"none"!==r||"string"!=typeof e[a]||""===e[a].replace(N,"")?r:0:lt(t,a),void 0!==h[a]&&(o=new yt(h,a,h[a],o))));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}}function A(t,e){return"string"==typeof(t="function"==typeof t?t(I,C):t)&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0}function P(t,e){return null==(t="function"==typeof t?t(I,C):t)?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0}function S(t,e,i,n){var s,r,a;return a=(a=null==(t="function"==typeof t?t(I,C):t)?e:"number"==typeof t?t:(s=360,r=t.split("_"),a=((a="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:$)-(a?0:e),r.length&&(n&&(n[i]=e+a),-1!==t.indexOf("short")&&(a%=s)!==a%180&&(a=a<0?a+s:a-s),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%s-(a/s|0)*s:-1!==t.indexOf("ccw")&&0>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(s=t.charAt(2))+s+(r=t.charAt(3))+r),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=h=t.match(O),e){if(-1!==t.indexOf("="))return t.match(L)}else a=Number(i[0])%360/360,o=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(s=l<=.5?l*(o+1):l+o-l*o),3n--)for(;++nn--)for(;++n>0];return n.parse(t,a,s,r)}}function yt(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&((n._prev=this)._next=n)}n._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,r,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=Math.round(e):e<1e-6&&-1e-6o.length?l:o).length,a=0;as.pr;)r=r._next;(s._prev=r?r._prev:o)?s._prev._next=s:a=s,(s._next=r)?r._prev=s:o=s,s=l}this._firstPT=a}return!0},t.parse=function(t,e,i,n){var s,r,a,o,l,h,p,u,c=t.style;for(s in e){if("function"==typeof(l=e[s])&&(l=l(I,C)),u=f[s])i=u.parse(t,l,s,this,i,n,e);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",rt(t).getPropertyValue(s)+"",l+"",s,!1,s);continue}o=at(t,s,k)+"",p="string"==typeof l,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||p&&z.test(l)?(p||(l=(3<(l=ft(l)).length?"rgba(":"rgb(")+l.join(",")+")"),i=bt(c,s,o,l,!0,"transparent",i,0,n)):p&&G.test(l)?i=bt(c,s,o,l,!0,null,i,0,n):(h=(r=parseFloat(o))||0===r?o.substr((r+"").length):"",""!==o&&"auto"!==o||(h="width"===s||"height"===s?(r=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||rt(t))[e]||0;if(t.getCTM&&qt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=ht[e],r=s.length;for(i=i||rt(t,null);-1<--r;)n-=parseFloat(at(t,"padding"+s[r],i,!0))||0,n-=parseFloat(at(t,"border"+s[r]+"Width",i,!0))||0;return n}(t,s,k),"px"):"left"===s||"top"===s?(r=lt(t,s,k),"px"):(r="opacity"!==s?0:1,"")),""===(p=(u=p&&"="===l.charAt(1))?(a=parseInt(l.charAt(0)+"1",10),l=l.substr(2),a*=parseFloat(l),l.replace(R,"")):(a=parseFloat(l),p?l.replace(R,""):""))&&(p=s in w?w[s]:h),l=a||0===a?(u?a+r:a)+p:e[s],h!==p&&(""===p&&"lineHeight"!==s||(a||0===a)&&r&&(r=ot(t,s,r,h),"%"===p?(r/=ot(t,s,100,"%")/100,!0!==e.strictUnits&&(o=r+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?r/=ot(t,s,1,p):"px"!==p&&(a=ot(t,s,a,p),p="px"),u&&(!a&&0!==a||(l=a+r+p)))),u&&(a+=r),!r&&0!==r||!a&&0!==a?void 0!==c[s]&&(l||l+""!="NaN"&&null!=l)?(i=new _t(c,s,a||r||0,0,i,-1,s,!1,0,o,l)).xs0="none"!==l||"display"!==s&&-1===s.indexOf("Style")?l:o:d("invalid "+s+" tween value: "+e[s]):(i=new _t(c,s,r,a-r,i,0,s,!1!==E&&("px"===p||"zIndex"===s),0,o,l)).xs0=p)}n&&i&&!i.plugin&&(i.plugin=n)}return i},t.setRatio=function(t){var e,i,n,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):e<1e-6&&-1e-6this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},u.ease=new u(.7,.7),p.config=u.config=function(t,e,i){return new u(t,e,i)},(p=(i=l("easing.SteppedEase",function(t,e){this._p1=1/(t=t||1),this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new g).constructor=i,p.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},p.config=i.config=function(t,e){return new i(t,e)},(p=(n=l("easing.RoughEase",function(t){for(var e,i,n,s,r,a,o=(t=t||{}).taper||"none",l=[],h=0,p=0|(t.points||20),u=p,c=!1!==t.randomize,f=!0===t.clamp,d=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--u;)e=c?Math.random():1/p*u,i=d?d.getRatio(e):e,n="none"===o?m:"out"===o?(s=1-e)*s*m:"in"===o?e*e*m:e<.5?(s=2*e)*s*.5*m:(s=2*(1-e))*s*.5*m,c?i+=Math.random()*n-.5*n:u%2?i+=.5*n:i-=.5*n,f&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},p.config=function(t){return new n(t)},n.ease=new n,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(p=function(t,e,i){var n=l("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),t=n.prototype=new g;return t.constructor=n,t.getRatio=e,t.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),p("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2))},.3),p("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*o)}),t("SineIn",function(t){return 1-Math.cos(t*o)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(i,"SteppedEase","ease,"),r},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(c,f){"use strict";var d={},m=c.document,g=c.GreenSockGlobals=c.GreenSockGlobals||c;if(!g.TweenLite){var y,e,i,v=function(t){for(var e=t.split("."),i=g,n=0;n=i&&tthis._duration?this._duration:t,e)):this._time},t.totalTime=function(t,e,i){if(y||F.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(nr;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},t._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},t.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},t.rawTime=function(){return y||F.wake(),this._totalTime};var O=k("TweenLite",function(t,e,i){if(h.call(this,e,i),this.render=O.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&O.selector(t)||t;var n,s,r,i=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?G[O.defaultOverwrite]:"number"==typeof a?a>>0:G[a],(i||t instanceof Array||t.push&&x(t))&&"number"!=typeof t[0])for(this._targets=r=o(t),this._propLookup=[],this._siblings=[],n=0;n=K){for(i in K=F.frame+(parseInt(O.autoSleep,10)||120),X){for(t=(e=X[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete X[i]}if((!(i=$._first)||i._paused)&&O.autoSleep&&!Z._first&&1===F._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||F.sleep()}}},F.addEventListener("tick",h._updateRoot);var J=function(t,e,i){var n,s,r=t._gsTweenID;if(X[r||(t._gsTweenID=r="t"+Y++)]||(X[r]={target:t,tweens:[]}),e&&((n=X[r].tweens)[s=n.length]=e,i))for(;-1<--s;)n[s]===e&&n.splice(s,1);return X[r].tweens},tt=function(t,e,i,n){var s,r,a=t.vars.onOverwrite;return a&&(s=a(t,e,i,n)),(a=O.onOverwrite)&&(r=a(t,e,i,n)),!1!==s&&!1!==r},et=function(t,e,i,n,s){var r,a,o;if(1===n||4<=n){for(o=s.length,f=0;fh&&((c||!a._initted)&&h-a._startTime<=2e-10||(p[u++]=a)));for(f=u;-1<--f;)a=p[f],2===n&&a._kill(i,t,e)&&(r=!0),(2!==n||!a._firstPT&&a._initted)&&(2===n||tt(a,e))&&a._enabled(!1,!1)&&(r=!0);return r},it=function(t,e,i){for(var n=t._timeline,s=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(r/=s)?r-e:i&&r===e||!t._initted&&r-e<2e-10?_:(r+=t.totalDuration()/t._timeScale/s)>e+_?0:r-e-_};t._init=function(){var t,e,i,n,s,r,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,p=a.ease;if(a.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=h&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=O.to(this.target,0,s),h)if(0o.pr;)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:s=o,(o._next=n)?n._prev=o:r=o,o=a}o=e._firstPT=s}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},nt.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===nt.API&&(W[(new t[e])._propName]=t[e]);return!0},n.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=k("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){nt.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),o=a.prototype=new nt(i);for(e in(o.constructor=a).API=t.API,r)"function"==typeof t[e]&&(o[r[e]]=t[e]);return a.version=t.version,nt.activate([a]),a},a=c._gsQueue){for(l=0;la.endVal,a.frameVal=a.startVal,a.initialized=!0):(a.error="[CountUp] startVal ("+e+") or endVal ("+i+") is not a number",!1)):!(a.error="[CountUp] target is null or undefined"))},a.printValue=function(t){var e=a.options.formattingFn(t),i=Math.floor(e/60),t=Math.floor(e%60),e=(i=i<10?"0"+i:i)+" : "+(t=t<10?"0"+t:t);"INPUT"===a.d.tagName?this.d.value=e:"text"===a.d.tagName||"tspan"===a.d.tagName?this.d.textContent=e:this.d.innerHTML=e},a.count=function(t){a.startTime||(a.startTime=t);t=(a.timestamp=t)-a.startTime;a.remaining=a.duration-t,a.options.useEasing?a.countDown?a.frameVal=a.startVal-a.options.easingFn(t,0,a.startVal-a.endVal,a.duration):a.frameVal=a.options.easingFn(t,a.startVal,a.endVal-a.startVal,a.duration):a.countDown?a.frameVal=a.startVal-(a.startVal-a.endVal)*(t/a.duration):a.frameVal=a.startVal+(a.endVal-a.startVal)*(t/a.duration),a.countDown?a.frameVal=a.frameVala.endVal?a.endVal:a.frameVal,a.frameVal=Math.round(a.frameVal*a.dec)/a.dec,a.printValue(a.frameVal),ta.endVal,a.rAF=requestAnimationFrame(a.count))):a.error="[CountUp] update() - new endVal is not a number: "+t)},a.initialize()&&a.printValue(a.startVal)};!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("scrollMonitor",[],e):"object"==typeof exports?exports.scrollMonitor=e():t.scrollMonitor=e()}(this,function(){return n=[function(t,e,i){"use strict";var n=i(1).isInBrowser,i=new(i(2))(n?document.body:null);i.setStateFromDOM(null),i.listenToDOM(),n&&(window.scrollMonitor=i),t.exports=i},function(t,e){"use strict";e.VISIBILITYCHANGE="visibilityChange",e.ENTERVIEWPORT="enterViewport",e.FULLYENTERVIEWPORT="fullyEnterViewport",e.EXITVIEWPORT="exitViewport",e.PARTIALLYEXITVIEWPORT="partiallyExitViewport",e.LOCATIONCHANGE="locationChange",e.STATECHANGE="stateChange",e.eventTypes=[e.VISIBILITYCHANGE,e.ENTERVIEWPORT,e.FULLYENTERVIEWPORT,e.EXITVIEWPORT,e.PARTIALLYEXITVIEWPORT,e.LOCATIONCHANGE,e.STATECHANGE],e.isOnServer="undefined"==typeof window,e.isInBrowser=!e.isOnServer,e.defaultOffsets={top:0,bottom:0}},function(t,e,i){"use strict";function a(t){return s?0:t===document.body?window.innerHeight||document.documentElement.clientHeight:t.clientHeight}function o(t){return s?0:t===document.body?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):t.scrollHeight}function l(t){return s?0:t===document.body?window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop}var n=i(1),s=n.isOnServer,r=n.isInBrowser,h=n.eventTypes,p=i(3),i=(u.prototype.listenToDOM=function(){r&&(window.addEventListener?((this.item===document.body?window:this.item).addEventListener("scroll",this.DOMListener),window.addEventListener("resize",this.DOMListener)):((this.item===document.body?window:this.item).attachEvent("onscroll",this.DOMListener),window.attachEvent("onresize",this.DOMListener)),this.destroy=function(){window.addEventListener?(this.item===document.body?(window.removeEventListener("scroll",this.DOMListener),this.containerWatcher.destroy()):this.item.removeEventListener("scroll",this.DOMListener),window.removeEventListener("resize",this.DOMListener)):(this.item===document.body?(window.detachEvent("onscroll",this.DOMListener),this.containerWatcher.destroy()):this.item.detachEvent("onscroll",this.DOMListener),window.detachEvent("onresize",this.DOMListener))})},u.prototype.destroy=function(){},u.prototype.DOMListener=function(t){this.setStateFromDOM(t)},u.prototype.setStateFromDOM=function(t){var e=l(this.item),i=a(this.item),n=o(this.item);this.setState(e,i,n,t)},u.prototype.setState=function(t,e,i,n){var s=e!==this.viewportHeight||i!==this.contentHeight;if(this.latestEvent=n,this.viewportTop=t,this.viewportHeight=e,this.viewportBottom=t+e,this.contentHeight=i,s)for(var r=this.watchers.length;r--;)this.watchers[r].recalculateLocation();this.updateAndTriggerWatchers(n)},u.prototype.updateAndTriggerWatchers=function(t){for(var e=this.watchers.length;e--;)this.watchers[e].update();for(e=this.watchers.length;e--;)this.watchers[e].triggerCallbacks(t)},u.prototype.createCustomContainer=function(){return new u},u.prototype.createContainer=function(t){"string"==typeof t?t=document.querySelector(t):t&&0this.container.viewportBottom,this.isInViewport=this.topthis.container.viewportTop,this.isFullyInViewport=this.top>=this.container.viewportTop&&this.bottom<=this.container.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var t=this.container.watchers.indexOf(this);this.container.watchers.splice(t,1);for(var e=0,i=b.length;e>>=1;return(t+i)/e}).int32=function(){return 0|s.g(4)},n.quick=function(){return s.g(4)/4294967296},n.double=n,v(_(s.S),r),(e.pass||i||function(t,e,i,n){return n&&(n.S&&y(n,s),t.state=function(){return y(s,{})}),i?(a[u]=t,e):t})(n,t,"global"in e?e.global:this==a,e.state)},v(a.random(),r)}([],n);var et,it,at,ot,lt=(Ni={getBezierEasing:function(t,e,i,n,s){s=s||("bez_"+t+"_"+e+"_"+i+"_"+n).replace(/\./g,"p");if(et[s])return et[s];n=new ct([t,e,i,n]);return et[s]=n}},et={},at=1/((it=11)-1),ot="function"==typeof Float32Array,ct.prototype={get:function(t){var e=this._p[0],i=this._p[1],n=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===i&&n===s?t:0===t?0:1===t?1:pt(this._getTForX(t),i,s)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&i===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;ir?-1:1,l=!0;l;)i[s].l<=r&&i[s+1].l>r?(a=(r-i[s].l)/(i[s+1].l-i[s].l),l=!1):s+=o,(s<0||n-1<=s)&&(l=!1);return i[s].p+(i[s+1].p-i[s].p)*a}function g(){this.pt1=new Array(2),this.pt2=new Array(2),this.pt3=new Array(2),this.pt4=new Array(2)}return{getBezierLength:h,getSegmentsLength:function(t){for(var e=t.c,i=t.v,n=t.o,s=t.i,r=t._length,a=[],o=0,l=0;le[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],void t[2])))}function Et(t){for(var e,i,n=t.length,s=0;s=o.t-r){a.h&&(a=o),e=0;break}if(o.t-r>t){e=h;break}h=o.t-r||t=o.t-r?c.points.length-1:0,d=c.points[f].point.length,m=0;m=o.t-r?1:t=i&&i<=t||this._caching.lastFrame=this.p.keyframes[this.p.keyframes.length-1].t?(t=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/this.elem.globalData.frameRate,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.01)/this.elem.globalData.frameRate,0)):(t=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/this.elem.globalData.frameRate,this.p.offsetTime)),this.v.rotate(-Math.atan2(t[1]-e[1],t[0]-e[0]))),this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])),this.frameId=this.elem.globalData.frameId}}function he(){this.inverted=!0,this.iv=new S,this.k||(this.data.p.s?this.iv.translate(this.px.v,this.py.v,-this.pz.v):this.iv.translate(this.p.v[0],this.p.v[1],-this.p.v[2]),this.r?this.iv.rotate(-this.r.v):this.iv.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.s&&this.iv.scale(this.s.v[0],this.s.v[1],1),this.a&&this.iv.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]))}function pe(){}function ue(t,e,i,n,s){var r;if(2===i)r=new Rt(t,e,s);else if(0===e.a)r=new(0===i?Ut:Gt)(t,e,n);else if(1===e.a)r=new(0===i?Zt:$t)(t,e,n);else if(e.k.length)if("number"==typeof e.k[0])r=new Gt(t,e,n);else switch(i){case 0:r=new Zt(t,e,n);break;case 1:r=new $t(t,e,n)}else r=new Ut(t,e,n);return r.k&&s.push(r),r}function ce(t){if(this.prop.getValue(),this.cmdf=!1,this.omdf=!1,this.prop.mdf||t){for(var e,i,n=4*this.data.p,s=0;s=Bt(s)?t-s<0?1-(s-t):jt(0,zt(r-t,1)):n))*this.a.v}function ye(){this.c=!1,this._length=0,this._maxLength=8,this.v=Array.apply(null,{length:this._maxLength}),this.o=Array.apply(null,{length:this._maxLength}),this.i=Array.apply(null,{length:this._maxLength})}ye.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i=this._maxLength&&this.doubleArrayLength(),i){case"v":r=this.v;break;case"i":r=this.i;break;case"o":r=this.o}r[n]&&(!r[n]||s)||(r[n]=Ye.newPoint()),r[n][0]=t,r[n][1]=e},ye.prototype.setTripleAt=function(t,e,i,n,s,r,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,n,"o",a,o),this.setXYAt(s,r,"i",a,o)};var ve,_e=function(){function t(t,e,i,n){var s,r;if(t=this.keyframes[this.keyframes.length-1].t-this.offsetTime)s=(1===this.keyframes[this.keyframes.length-2].h?this.keyframes[this.keyframes.length-1].s:this.keyframes[this.keyframes.length-2].e)[0],r=!0;else{for(var a,o,l,h,p,u,c=e,f=this.keyframes.length-1,d=!0;d&&(a=this.keyframes[c],!((o=this.keyframes[c+1]).t-this.offsetTime>t));)c=o.t-this.offsetTime?1:ti&&in+i||(a=o.s*s<=n?0:(o.s*s-n)/i,o=o.e*s>=n+i?1:(o.e*s-n)/i,l.push([a,o]));return l.length||l.push([0,0]),l},we.prototype.processShapes=function(t){var e,i,n,s,r=this.shapes.length,a=this.sValue,o=this.eValue,l=0;if(o===a)for(u=0;ue.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[n].v[s-1],c[n].o[s-1],c[n].i[s],c[n].v[s],i,a,g),g=!1):(l=mt.getNewSegment(c[n].v[s-1],c[n].v[s],c[n].o[s-1],c[n].i[s],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[s-1]),this.addSegment(l.pt1,l.pt3,l.pt4,l.pt2,i,a,g),i.c=g=!1),d+=p.addedLength,a+=1}if(c[n].c&&(p=o[s-1],d<=e.e?(h=o[s-1].addedLength,e.s<=d&&e.e>=d+h?(this.addSegment(c[n].v[s-1],c[n].o[s-1],c[n].i[0],c[n].v[0],i,a,g),g=!1):(l=mt.getNewSegment(c[n].v[s-1],c[n].v[0],c[n].o[s-1],c[n].i[0],(e.s-d)/h,(e.e-d)/h,o[s-1]),this.addSegment(l.pt1,l.pt3,l.pt4,l.pt2,i,a,g),i.c=g=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[y][0],i.v[y][1],"i",y),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;n=w.length&&(v=0,w=x[y+=1]?x[y].bezierData.points:h.v.c?x[y=v=0].bezierData.points:(_-=T.partialLength,null)),w&&(P=T,A=(T=w[v]).partialLength));L=l[m].an/2-l[m].add,r.translate(-L,0,0)}else L=l[m].an/2-l[m].add,r.translate(-L,0,0),r.translate(-i[0]*l[m].an/200,-i[1]*D/100,0);for(l[m].l,it=0;itt));)n+=1;this.keysIndex!==n&&(e.__complete||this.completeTextData(e),this.setCurrentData(e),this.mdf=!this.firstFrame,this.pv=this.v=this.currentData.t,this.keysIndex=n),this._frameId=t}},Ve.prototype.completeTextData=function(t){t.__complete=!0;var e,i,n,s=this.elem.globalData.fontManager,r=this.data,a=[],o=0,l=r.m.g,h=0,p=0,u=0,c=[],f=0,d=0,m=s.getFontByName(t.f),g=0,y=m.fStyle.split(" "),v="normal",_="normal",b=y.length;for(k=0;kt-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},ei.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t);case 99:return null}return this.createBase(t)},ei.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ei.prototype.buildAllItems=function(){for(var t=this.layers.length,e=0;et?!0!==this.isVisible&&(this.elemMdf=!0,this.globalData.mdf=!0,this.isVisible=!0,this.firstFrame=!0,this.data.hasMask&&(this.maskManager.firstFrame=!0)):!1!==this.isVisible&&(this.elemMdf=!0,this.globalData.mdf=!0,this.isVisible=!1);for(var e=this.dynamicProperties.length,i=0;i4*t.g.p||t.g.k.k.length>4*t.g.p){var n,s,r=document.createElementNS(x,"mask"),a=document.createElementNS(x,"path");r.appendChild(a);var o="op_"+A(10),l="mk_"+A(10);r.setAttribute("id",l),(n=1===t.t?document.createElementNS(x,"linearGradient"):document.createElementNS(x,"radialGradient")).setAttribute("id",o),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");for(var h=(t.g.k.k[0].s||t.g.k.k).length,p=[],u=4*t.g.p;uthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip),this.animationData.tf=this.totalFrames);for(var e,i=this.animationData.layers,n=i.length,s=t.layers,r=s.length,a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},Oi.prototype.renderFrame=function(){!1!==this.isLoaded&&this.renderer.renderFrame(this.currentFrame+this.firstFrame)},Oi.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},Oi.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this.pendingSegment||(this._idle=!0,this.trigger("_idle")))},Oi.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},Oi.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.currentFrame=this.currentRawFrame=0,this.playCount=0,this.gotoFrame())},Oi.prototype.goToAndStop=function(t,e,i){i&&this.name!=i||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},Oi.prototype.goToAndPlay=function(t,e,i){this.goToAndStop(t,e,i),this.play()},Oi.prototype.advanceTime=function(t){if(this.pendingSegment)return this.pendingSegment=!1,this.adjustSegment(this.segments.shift()),void(this.isPaused&&this.play());!0!==this.isPaused&&!1!==this.isLoaded&&this.setCurrentRawFrameValue(this.currentRawFrame+t*this.frameModifier)},Oi.prototype.updateAnimation=function(t){this.setCurrentRawFrameValue(this.totalFrames*t)},Oi.prototype.moveFrame=function(t,e){e&&this.name!=e||this.setCurrentRawFrameValue(this.currentRawFrame+t)},Oi.prototype.adjustSegment=function(t){this.playCount=0,t[1]t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(0)),this.trigger("segmentStart")},Oi.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(i=e-t-.01)),this.firstFrame=t,this.totalFrames=e-t,-1!==i&&this.goToAndStop(i,!0)},Oi.prototype.playSegments=function(t,e){if("object"==typeof t[0])for(var i=t.length,n=0;n=this.totalFrames){if(this.checkSegments(),!1===this.loop)return this.currentRawFrame=this.totalFrames-.01,this.gotoFrame(),this.pause(),void this.trigger("complete");if(this.trigger("loopComplete"),this.playCount+=1,!0!==this.loop&&this.playCount==this.loop||this.pendingSegment)return this.currentRawFrame=this.totalFrames-.01,this.gotoFrame(),this.pause(),void this.trigger("complete");this.currentRawFrame=this.currentRawFrame%this.totalFrames}else if(this.currentRawFrame<0)return this.checkSegments(),--this.playCount,this.playCount<0&&(this.playCount=0),!1===this.loop||this.pendingSegment?(this.currentRawFrame=0,this.gotoFrame(),this.pause(),void this.trigger("complete")):(this.trigger("loopComplete"),this.currentRawFrame=(this.totalFrames+this.currentRawFrame)%this.totalFrames,void this.gotoFrame());this.gotoFrame()},Oi.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},Oi.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},Oi.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},Oi.prototype.getPath=function(){return this.path},Oi.prototype.getAssetsPath=function(t){var e,i="";return this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),i=this.assetsPath+e):(i=this.path,i+=t.u||"",i+=t.p),i},Oi.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;ee.min[t]?(i[t]=e.min[t],!0):i[t]=ne&&(mt=0d.currItem.fitRatio&&Ve(J):Be())}}var _,b,x,w,T,k,P,A,S,E,C,M,D,F,I,O,L,N,R,V,j,z,B,q,H,W,X,Y,U,G,Z,$,K,Q,J,tt,et,it,nt,st,rt,at,ot,lt,ht,pt,ut,ct,ft,dt,mt,gt,yt,vt,_t,bt,xt=n(),wt=n(),Tt=n(),kt={},Pt=0,At={},St=n(),Et=0,Ct=!0,Mt=[],Dt={},Ft=!1,It={},Ot=function(t){var e=It[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;nd.currItem.fitRatio?Ft||(ri(d.currItem,!1,!0),Ft=!0):Ft&&(ri(d.currItem),Ft=!1)),Rt(ft,Tt.x,Tt.y,E))},jt=function(t){t.container&&Rt(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},zt=function(t,e){e[z]=M+t+"px, 0px"+D},Bt=function(t,e){var i;!m.loop&&e&&(i=w+(St.x*Pt-t)/St.x,e=Math.round(t-ge.x),(i<0&&0=$e()-1&&e<0)&&(t=ge.x+e*m.mainScrollEndFriction)),ge.x=t,zt(t,T)},qt=function(t,e){var i=ye[t]-At[t];return wt[t]+xt[t]+i-e/C*i},Ht=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},Wt=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},Xt=null,Yt=function(){Xt&&(f.unbind(document,"mousemove",Yt),f.addClass(c,"pswp--has_mouse"),m.mouseUsed=!0,Ot("mouseUsed")),Xt=setTimeout(function(){Xt=null},100)},Ut=function(t,e){t=ni(d.currItem,kt,t);return e&&(ct=t),t},Gt=function(t){return(t=t||d.currItem).initialZoomLevel},Zt=function(t){return 0<(t=t||d.currItem).w?m.maxSpreadZoom:1},$t={},Kt=0,Qt=function(t){$t[t]&&($t[t].raf&&W($t[t].raf),Kt--,delete $t[t])},Jt=function(t){$t[t]&&Qt(t),$t[t]||(Kt++,$t[t]={})},te=function(){for(var t in $t)$t.hasOwnProperty(t)&&Qt(t)},ee=function(t,e,i,n,s,r,a){var o,l=Lt();Jt(t);function h(){if($t[t]){if(o=Lt()-l,n<=o)return Qt(t),r(i),void(a&&a());r((i-e)*s(o/n)+e),$t[t].raf=H(h)}}h()},e={shout:Ot,listen:o,viewportSize:kt,options:m,isMainScrollAnimating:function(){return dt},getZoomLevel:function(){return E},getCurrentIndex:function(){return w},isDragging:function(){return nt},isZooming:function(){return pt},setScrollOffset:function(t,e){At.x=t,G=At.y=e,Ot("updateScrollOffset",At)},applyZoomPan:function(t,e,i,n){Tt.x=e,Tt.y=i,E=t,Vt(n)},init:function(){if(!_&&!b){var t;d.framework=f,d.template=c,d.bg=f.getChildByClass(c,"pswp__bg"),X=c.className,_=!0,Z=f.detectFeatures(),H=Z.raf,W=Z.caf,z=Z.transform,U=Z.oldIE,d.scrollWrap=f.getChildByClass(c,"pswp__scroll-wrap"),d.container=f.getChildByClass(d.scrollWrap,"pswp__container"),T=d.container.style,d.itemHolders=O=[{el:d.container.children[0],wrap:0,index:-1},{el:d.container.children[1],wrap:0,index:-1},{el:d.container.children[2],wrap:0,index:-1}],O[0].el.style.display=O[2].el.style.display="none",function(){if(z){var t=Z.perspective&&!q;return M="translate"+(t?"3d(":"("),D=Z.perspective?", 0px)":")"}z="left",f.addClass(c,"pswp--ie"),zt=function(t,e){e.left=t+"px"},jt=function(t){var e=1=$e())&&(w=0),d.currItem=Ze(w),(Z.isOldIOSPhone||Z.isOldAndroid)&&(Ct=!1),c.setAttribute("aria-hidden","false"),m.modal&&(Ct?c.style.position="fixed":(c.style.position="absolute",c.style.top=f.getScrollY()+"px")),void 0===G&&(Ot("initialLayout"),G=Y=f.getScrollY());e="pswp--open ";for(m.mainClass&&(e+=m.mainClass+" "),m.showHideOpacity&&(e+="pswp--animate_opacity "),e+=q?"pswp--touch":"pswp--notouch",e+=Z.animationName?" pswp--css_animation":"",e+=Z.svg?" pswp--svg":"",f.addClass(c,e),d.updateSize(),k=-1,Et=null,t=0;t<3;t++)zt((t+k)*St.x,O[t].el.style);U||f.bind(d.scrollWrap,A,d),o("initialZoomInEnd",function(){d.setContent(O[0],w-1),d.setContent(O[2],w+1),O[0].el.style.display=O[2].el.style.display="block",m.focus&&c.focus(),f.bind(document,"keydown",d),Z.transform&&f.bind(d.scrollWrap,"click",d),m.mouseUsed||f.bind(document,"mousemove",Yt),f.bind(window,"resize scroll orientationchange",d),Ot("bindEvents")}),d.setContent(O[1],w),d.updateCurrItem(),Ot("afterInit"),Ct||(F=setInterval(function(){Kt||nt||pt||E!==d.currItem.initialZoomLevel||d.updateSize()},1e3)),f.addClass(c,"pswp--visible")}},close:function(){_&&(b=!(_=!1),Ot("close"),f.unbind(window,"resize scroll orientationchange",d),f.unbind(window,"scroll",S.scroll),f.unbind(document,"keydown",d),f.unbind(document,"mousemove",Yt),Z.transform&&f.unbind(d.scrollWrap,"click",d),nt&&f.unbind(window,P,d),clearTimeout($),Ot("unbindEvents"),Ke(d.currItem,null,!0,d.destroy))},destroy:function(){Ot("destroy"),Xe&&clearTimeout(Xe),c.setAttribute("aria-hidden","true"),c.className=X,F&&clearInterval(F),f.unbind(d.scrollWrap,A,d),f.unbind(window,"scroll",d),xe(),te(),It=null},panTo:function(t,e,i){i||(t>ct.min.x?t=ct.min.x:tct.min.y?e=ct.min.y:ect.min[t]||rct.min[t]&&(h=m.panEndFriction,ct.min[t],i=ct.min[t]-wt[t]),(i<=0||l<0)&&1<$e()?(s=o,l<0&&o>pe.x&&(s=pe.x)):ct.min.x!==ct.max.x&&(n=r)):(rd.currItem.fitRatio&&(Tt[t]+=e[t]*h)},Ne=function(){if(ht){var t,e,i,n,s=ht.length;if(0!==s)if(Ht(se,ht[0]),ae.x=se.x-oe.x,ae.y=se.y-oe.y,pt&&1d.currItem.initialZoomLevel+d.currItem.initialZoomLevel/15&&(_t=!0),e=1,i=Gt(),n=Zt(),r=ne&&(ae.x-=ht[0].x-le.x),Math.abs(ae.y)>=ne&&(ae.y-=ht[0].y-le.y)),oe.x=se.x,oe.y=se.y,0!==ae.x||0!==ae.y)){if("v"===mt&&m.closeOnVerticalDrag&&!Te()){xt.y+=ae.y,Tt.y+=ae.y;var r=Me();return et=!0,Ot("onVerticalDrag",r),Nt(r),void Vt()}Ce(Lt(),se.x,se.y),at=!0,ct=d.currItem.bounds,Le("x",ae)||(Le("y",ae),Wt(Tt),Vt())}}},Re=function(){var e,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(t){i=1ct.min[e]?n.backAnimDestination[e]=ct.min[e]:Tt[e]=$e()&&(w=m.loop?0:$e()-1,s=!0),s&&!m.loop||(Et+=r,Pt-=r,i=!0));var s=St.x*Pt,r=Math.abs(s-ge.x),a=i||s>ge.x==0The image could not be loaded.',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Ye.length}},ei=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},ii=function(t,e,i){var n=t.bounds;n.center.x=Math.round((Qe.x-e)/2),n.center.y=Math.round((Qe.y-i)/2)+t.vGap.top,n.max.x=e>Qe.x?Math.round(Qe.x-e):n.center.x,n.max.y=i>Qe.y?Math.round(Qe.y-i)+t.vGap.top:n.center.y,n.min.x=e>Qe.x?0:n.center.x,n.min.y=i>Qe.y?t.vGap.top:n.center.y},ni=function(t,e,i){if(!t.src||t.loadError)return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds=ei(),t.initialPosition=t.bounds.center,t.bounds;var n,s=!i;return s&&(t.vGap||(t.vGap={top:0,bottom:0}),Ot("parseVerticalMargin",t)),Qe.x=e.x,Qe.y=e.y-t.vGap.top-t.vGap.bottom,s&&(n=Qe.x/t.w,e=Qe.y/t.h,t.fitRatio=n=ct.max.x&&i<=ct.min.y&&i>=ct.max.y)&&t.preventDefault(),d.panTo(e,i)},toggleDesktopZoom:function(t){t=t||{x:kt.x/2+At.x,y:kt.y/2+At.y};var e=m.getDoubleTapZoom(!0,d.currItem),i=E===e;d.mouseZoomedIn=!i,d.zoomTo(i?d.currItem.initialZoomLevel:e,t,333),f[(i?"remove":"add")+"Class"](c,"pswp--zoomed-in")}}});function pi(){ci&&clearTimeout(ci),di&&clearTimeout(di)}function ui(){var t=Pi(),e={};if(t.length<5)return e;var i,n=t.split("&");for(r=0;r"+e.label+"";if(A.parseShareButtonOut)t=A.parseShareButtonOut(e,t)}v.children[0].innerHTML=t,v.children[0].onclick=N}(),0}function r(t){for(var e=0;eA.fitControlsWidth?(e=A.barsSize,A.captionEl&&"auto"===e.bottom?(m||((m=o.createEl("pswp__caption pswp__caption--fake")).appendChild(o.createEl("pswp__caption__center")),f.insertBefore(m,d),o.addClass(f,"pswp__ui--fit")),A.addCaptionHTMLFn(t,m,!0)?(t=m.clientHeight,i.bottom=parseInt(t,10)||44):i.bottom=e.top):i.bottom="auto"===e.bottom?0:e.bottom,i.top=e.top):i.top=i.bottom=0}function u(){function t(t){if(t)for(var e=t.length,i=0;i