You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
412 KiB
JavaScript

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;e<t.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[t[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[e]+"CancelAnimationFrame"]||window[t[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),s=window.setTimeout(function(){t(i+n)},n);return r=i+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),function(a,c,f){var o=[],l=[],t={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout(function(){e(i[t])},0)},addTest:function(t,e,i){l.push({name:t,fn:e,options:i})},addAsyncTest:function(t){l.push({name:null,fn:t})}},h=function(){};function p(t,e){return typeof t===e}h.prototype=t,h=new h;var d=c.documentElement,m="svg"===d.nodeName.toLowerCase();var i=t._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];function g(t){return"function"!=typeof c.createElement?c.createElement(t):m?c.createElementNS.call(c,"http://www.w3.org/2000/svg",t):c.createElement.apply(c,arguments)}function s(t,e,i,n){var s,r,a,o,l,h="modernizr",p=g("div"),u=((l=c.body)||((l=g(m?"svg":"body")).fake=!0),l);if(parseInt(i,10))for(;i--;)(a=g("div")).id=n?n[i]:h+(i+1),p.appendChild(a);return(s=g("style")).type="text/css",s.id="s"+h,(u.fake?u:p).appendChild(s),u.appendChild(p),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(c.createTextNode(t)),p.id=h,u.fake&&(u.style.background="",u.style.overflow="hidden",o=d.style.overflow,d.style.overflow="hidden",d.appendChild(u)),r=e(p,t),u.fake?(u.parentNode.removeChild(u),d.style.overflow=o,d.offsetHeight):p.parentNode.removeChild(p),!!r}t._prefixes=i;var n=t.testStyles=s;h.addTest("touchevents",function(){var e,t;return"ontouchstart"in a||a.DocumentTouch&&c instanceof DocumentTouch?e=!0:(t=["@media (",i.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join(""),n(t,function(t){e=9===t.offsetTop})),e});var e="Moz O ms Webkit",u=t._config.usePrefixes?e.split(" "):[];t._cssomPrefixes=u;var y=t._config.usePrefixes?e.toLowerCase().split(" "):[];function v(t,e,i){var n,s;for(s in t)if(t[s]in e)return!1===i?t[s]:p(n=e[t[s]],"function")?function(t,e){return function(){return t.apply(e,arguments)}}(n,i||e):n;return!1}t._domPrefixes=y;var r={elem:g("modernizr")};h._q.push(function(){delete r.elem});var _,b,x,w,T={style:r.elem.style};function k(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function P(t,e){var i=t.length;if("CSS"in a&&"supports"in a.CSS){for(;i--;)if(a.CSS.supports(k(t[i]),e))return!0;return!1}if("CSSSupportsRule"in a){for(var n=[];i--;)n.push("("+k(t[i])+":"+e+")");return s("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(t){return"absolute"==(e=t,i=null,n="position","getComputedStyle"in a?(s=getComputedStyle.call(a,e,i),r=a.console,null!==s?n&&(s=s.getPropertyValue(n)):r&&r[r.error?"error":"log"].call(r,"getComputedStyle returning null, its possible modernizr test results are inaccurate")):s=!i&&e.currentStyle&&e.currentStyle[n],s);var e,i,n,s,r})}return f}function A(t,e,i,n,s){var r=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+u.join(r+" ")+r).split(" ");return p(e,"string")||void 0===e?function(t,e,i,n){if(n=void 0!==n&&n,void 0!==i){var s=P(t,i);if(void 0!==s)return s}for(var r,a,o,l,h,p=["modernizr","tspan","samp"];!T.style&&p.length;)r=!0,T.modElem=g(p.shift()),T.style=T.modElem.style;function u(){r&&(delete T.style,delete T.modElem)}for(o=t.length,a=0;a<o;a++)if(l=t[a],h=T.style[l],~(""+l).indexOf("-")&&(l=l.replace(/([a-z])-([a-z])/g,function(t,e,i){return e+i.toUpperCase()}).replace(/^-/,"")),T.style[l]!==f){if(n||void 0===i)return u(),"pfx"!=e||l;try{T.style[l]=i}catch(t){}if(T.style[l]!=h)return u(),"pfx"!=e||l}return u(),!1}(a,e,n,s):v(a=(t+" "+y.join(r+" ")+r).split(" "),e,i)}function S(t,e,i){return A(t,f,f,e,i)}h._q.unshift(function(){delete T.style}),t.testAllProps=A,t.testAllProps=S,h.addTest("csstransitions",S("transition","all",!0)),function(){var t,e,i,n,s,r,a;for(a in l)if(l.hasOwnProperty(a)){if(t=[],(e=l[a]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)t.push(e.options.aliases[i].toLowerCase());for(n=p(e.fn,"function")?e.fn():e.fn,s=0;s<t.length;s++)1===(r=t[s].split(".")).length?h[r[0]]=n:(!h[r[0]]||h[r[0]]instanceof Boolean||(h[r[0]]=new Boolean(h[r[0]])),h[r[0]][r[1]]=n),o.push((n?"":"no-")+r.join("-"))}}(),_=o,x=d.className,w=h._config.classPrefix||"",m&&(x=x.baseVal),h._config.enableJSClass&&(b=new RegExp("(^|\\s)"+w+"no-js(\\s|$)"),x=x.replace(b,"$1"+w+"js$2")),h._config.enableClasses&&(x+=" "+w+_.join(" "+w),m?d.className.baseVal=x:d.className=x),delete t.addTest,delete t.addAsyncTest;for(var E=0;E<h._q.length;E++)h._q[E]();a.Modernizr=h}(window,document),function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(T,t){"use strict";var e=[],k=T.document,n=Object.getPrototypeOf,o=e.slice,m=e.concat,l=e.push,s=e.indexOf,i={},r=i.toString,d=i.hasOwnProperty,a=d.toString,h=a.call(Object),g={};function y(t,e){var i=(e=e||k).createElement("script");i.text=t,e.head.appendChild(i).parentNode.removeChild(i)}function p(t,e){return e.toUpperCase()}var P=function(t,e){return new P.fn.init(t,e)},u=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,f=/-([a-z])/g;function v(t){var e=!!t&&"length"in t&&t.length,i=P.type(t);return"function"!==i&&!P.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}P.fn=P.prototype={jquery:"3.2.1",constructor:P,length:0,toArray:function(){return o.call(this)},get:function(t){return null==t?o.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=P.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return P.each(this,t)},map:function(i){return this.pushStack(P.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},P.extend=P.fn.extend=function(){var t,e,i,n,s,r,a=arguments[0]||{},o=1,l=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[o]||{},o++),"object"==typeof a||P.isFunction(a)||(a={}),o===l&&(a=this,o--);o<l;o++)if(null!=(t=arguments[o]))for(e in t)i=a[e],a!==(n=t[e])&&(h&&n&&(P.isPlainObject(n)||(s=Array.isArray(n)))?(r=s?(s=!1,i&&Array.isArray(i)?i:[]):i&&P.isPlainObject(i)?i:{},a[e]=P.extend(h,r,n)):void 0!==n&&(a[e]=n));return a},P.extend({expando:"jQuery"+("3.2.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===P.type(t)},isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=P.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==r.call(t))&&(!(e=n(t))||"function"==typeof(i=d.call(e,"constructor")&&e.constructor)&&a.call(i)===h)},isEmptyObject:function(t){for(var e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[r.call(t)]||"object":typeof t},globalEval:function(t){y(t)},camelCase:function(t){return t.replace(c,"ms-").replace(f,p)},each:function(t,e){var i,n=0;if(v(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(u,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(v(Object(t))?P.merge(i,"string"==typeof t?[t]:t):l.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:s.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,r=t.length,a=!i;s<r;s++)!e(t[s],s)!=a&&n.push(t[s]);return n},map:function(t,e,i){var n,s,r=0,a=[];if(v(t))for(n=t.length;r<n;r++)null!=(s=e(t[r],r,i))&&a.push(s);else for(r in t)null!=(s=e(t[r],r,i))&&a.push(s);return m.apply([],a)},guid:1,proxy:function(t,e){var i,n,s;if("string"==typeof e&&(i=t[e],e=t,t=i),P.isFunction(t))return n=o.call(arguments,2),(s=function(){return t.apply(e||this,n.concat(o.call(arguments)))}).guid=t.guid=t.guid||P.guid++,s},now:Date.now,support:g}),"function"==typeof Symbol&&(P.fn[Symbol.iterator]=e[Symbol.iterator]),P.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){i["[object "+e+"]"]=e.toLowerCase()});var _=function(i){function u(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function s(){w()}var t,f,b,r,a,d,c,m,x,l,h,w,T,o,k,g,p,y,v,P="sizzle"+ +new Date,_=i.document,A=0,n=0,S=at(),E=at(),C=at(),M=function(t,e){return t===e&&(h=!0),0},D={}.hasOwnProperty,e=[],F=e.pop,I=e.push,O=e.push,L=e.slice,N=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",V="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+V+"*("+j+")(?:"+V+"*([*^$|!~]?=)"+V+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+V+"*\\]",B=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",q=new RegExp(V+"+","g"),H=new RegExp("^"+V+"+|((?:^|[^\\\\])(?:\\\\.)*)"+V+"+$","g"),W=new RegExp("^"+V+"*,"+V+"*"),X=new RegExp("^"+V+"*([>+~]|"+V+")"+V+"*"),Y=new RegExp("="+V+"*([^\\]'\"]*?)"+V+"*\\]","g"),U=new RegExp(B),G=new RegExp("^"+j+"$"),Z={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+V+"*(even|odd|(([+-]|)(\\d*)n|)"+V+"*(?:([+-]|)"+V+"*(\\d+)|))"+V+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+V+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+V+"*((?:-\\d)?\\d*)"+V+"*\\)|)(?=[^-]|$)","i")},$=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+V+"?|("+V+")|.)","ig"),it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=gt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{O.apply(e=L.call(_.childNodes),_.childNodes),e[_.childNodes.length].nodeType}catch(t){O={apply:e.length?function(t,e){I.apply(t,L.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=J.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 O.apply(i,e.getElementsByTagName(t)),i;if((s=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return O.apply(i,e.getElementsByClassName(s)),i}if(f.qsa&&!C[t+" "]&&(!g||!g.test(t))){if(1!==c)u=e,p=t;else if("object"!==e.nodeName.toLowerCase()){for((o=e.getAttribute("id"))?o=o.replace(it,nt):e.setAttribute("id",o=P),r=(h=d(t)).length;r--;)h[r]="#"+o+" "+mt(h[r]);p=h.join(","),u=tt.test(t)&&ft(e.parentNode)||e}if(p)try{return O.apply(i,u.querySelectorAll(p)),i}catch(t){}finally{o===P&&e.removeAttribute("id")}}}return m(t.replace(H,"$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),e=null}}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 f=rt.support={},a=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},w=rt.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:_;return n!==T&&9===n.nodeType&&n.documentElement&&(o=(T=n).documentElement,k=!a(T),_!==T&&(i=T.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",s,!1):i.attachEvent&&i.attachEvent("onunload",s)),f.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=lt(function(t){return t.appendChild(T.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=Q.test(T.getElementsByClassName),f.getById=lt(function(t){return o.appendChild(t).id=P,!T.getElementsByName||!T.getElementsByName(P).length}),f.getById?(b.filter.ID=function(t){var e=t.replace(et,u);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i=e.getElementById(t);return i?[i]:[]}}):(b.filter.ID=function(t){var i=t.replace(et,u);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===i}},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=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.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=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},p=[],g=[],(f.qsa=Q.test(T.querySelectorAll))&&(lt(function(t){o.appendChild(t).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+V+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+V+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+P+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+P+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=T.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+V+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=Q.test(y=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&lt(function(t){f.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),p.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),p=p.length&&new RegExp(p.join("|")),e=Q.test(o.compareDocumentPosition),v=e||Q.test(o.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},M=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)||!f.sortDetached&&e.compareDocumentPosition(t)===i?t===T||t.ownerDocument===_&&v(_,t)?-1:e===T||e.ownerDocument===_&&v(_,e)?1:l?N(l,t)-N(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?N(l,t)-N(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(Y,"='$1']"),f.matchesSelector&&k&&!C[e+" "]&&(!p||!p.test(e))&&(!g||!g.test(e)))try{var i=y.call(t,e);if(i||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0<rt(e,T,null,[t]).length},rt.contains=function(t,e){return(t.ownerDocument||t)!==T&&w(t),v(t,e)},rt.attr=function(t,e){(t.ownerDocument||t)!==T&&w(t);var i=b.attrHandle[e.toLowerCase()],n=i&&D.call(b.attrHandle,e.toLowerCase())?i(t,e,!k):void 0;return void 0!==n?n:f.attributes||!k?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},rt.escape=function(t){return(t+"").replace(it,nt)},rt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},rt.uniqueSort=function(t){var e,i=[],n=0,s=0;if(h=!f.detectDuplicates,l=!f.sortStable&&t.slice(0),t.sort(M),h){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return l=null,t},r=rt.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(b=rt.selectors={cacheLength:50,createPseudo:ot,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,u),t[3]=(t[3]||t[4]||t[5]||"").replace(et,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 Z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&U.test(i)&&(e=d(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(et,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+V+")"+t+"("+V+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=rt.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e.replace(q," ")+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(d,t,e,m,g){var y="nth"!==d.slice(0,3),v="last"!==d.slice(-4),_="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,r,a,o,l,h=y!=v?"nextSibling":"previousSibling",p=t.parentNode,u=_&&t.nodeName.toLowerCase(),c=!i&&!_,f=!1;if(p){if(y){for(;h;){for(a=t;a=a[h];)if(_?a.nodeName.toLowerCase()===u:1===a.nodeType)return!1;l=h="only"===d&&!l&&"nextSibling"}return!0}if(l=[v?p.firstChild:p.lastChild],v&&c){for(f=(o=(n=(s=(r=(a=p)[P]||(a[P]={}))[a.uniqueID]||(r[a.uniqueID]={}))[d]||[])[0]===A&&n[1])&&n[2],a=o&&p.childNodes[o];a=++o&&a&&a[h]||(f=o=0)||l.pop();)if(1===a.nodeType&&++f&&a===t){s[d]=[A,o,f];break}}else if(c&&(f=o=(n=(s=(r=(a=t)[P]||(a[P]={}))[a.uniqueID]||(r[a.uniqueID]={}))[d]||[])[0]===A&&n[1]),!1===f)for(;(a=++o&&a&&a[h]||(f=o=0)||l.pop())&&((_?a.nodeName.toLowerCase()!==u:1!==a.nodeType)||!++f||(c&&((s=(r=a[P]||(a[P]={}))[a.uniqueID]||(r[a.uniqueID]={}))[d]=[A,f]),a!==t)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(t,r){var e,a=b.pseudos[t]||b.setFilters[t.toLowerCase()]||rt.error("unsupported pseudo: "+t);return a[P]?a(r):1<a.length?(e=[t,t,"",r],b.setFilters.hasOwnProperty(t.toLowerCase())?ot(function(t,e){for(var i,n=a(t,r),s=n.length;s--;)t[i=N(t,n[s])]=!(e[i]=n[s])}):function(t){return a(t,0,e)}):a}},pseudos:{not:ot(function(t){var n=[],s=[],o=c(t.replace(H,"$1"));return o[P]?ot(function(t,e,i,n){for(var s,r=o(t,null,n,[]),a=t.length;a--;)(s=r[a])&&(t[a]=!(e[a]=s))}):function(t,e,i){return n[0]=t,o(n,null,i,s),n[0]=null,!s.pop()}}),has:ot(function(e){return function(t){return 0<rt(e,t).length}}),contains:ot(function(e){return e=e.replace(et,u),function(t){return-1<(t.textContent||t.innerText||r(t)).indexOf(e)}}),lang:ot(function(i){return G.test(i||"")||rt.error("unsupported lang: "+i),i=i.replace(et,u).toLowerCase(),function(t){var e;do{if(e=k?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===o},focus:function(t){return t===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ut(!1),disabled:ut(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return $.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ct(function(){return[0]}),last:ct(function(t,e){return[e-1]}),eq:ct(function(t,e,i){return[i<0?i+e:i]}),even:ct(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ct(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ct(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:ct(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=function(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}(t);function dt(){}function mt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function gt(o,t,e){var l=t.dir,h=t.next,p=h||l,u=e&&"parentNode"===p,c=n++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||u)return o(t,e,i);return!1}:function(t,e,i){var n,s,r,a=[A,c];if(i){for(;t=t[l];)if((1===t.nodeType||u)&&o(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||u)if(s=(r=t[P]||(t[P]={}))[t.uniqueID]||(r[t.uniqueID]={}),h&&h===t.nodeName.toLowerCase())t=t[l]||t;else{if((n=s[p])&&n[0]===A&&n[1]===c)return a[2]=n[2];if((s[p]=a)[2]=o(t,e,i))return!0}return!1}}function yt(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function vt(t,e,i,n,s){for(var r,a=[],o=0,l=t.length,h=null!=e;o<l;o++)(r=t[o])&&(i&&!i(r,n,s)||(a.push(r),h&&e.push(o)));return a}function _t(f,d,m,g,y,t){return g&&!g[P]&&(g=_t(g)),y&&!y[P]&&(y=_t(y,t)),ot(function(t,e,i,n){var s,r,a,o=[],l=[],h=e.length,p=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)rt(t,e[n],i);return i}(d||"*",i.nodeType?[i]:i,[]),u=!f||!t&&d?p:vt(p,o,f,i,n),c=m?y||(t?f:h||g)?[]:e:u;if(m&&m(u,c,i,n),g)for(s=vt(c,l),g(s,[],i,n),r=s.length;r--;)(a=s[r])&&(c[l[r]]=!(u[l[r]]=a));if(t){if(y||f){if(y){for(s=[],r=c.length;r--;)(a=c[r])&&s.push(u[r]=a);y(null,c=[],s,n)}for(r=c.length;r--;)(a=c[r])&&-1<(s=y?N(t,a):o[r])&&(t[s]=!(e[s]=a))}}else c=vt(c===e?c.splice(h,c.length):c),y?y(null,e,c,n):O.apply(e,c)})}function bt(g,y){function t(t,e,i,n,s){var r,a,o,l=0,h="0",p=t&&[],u=[],c=x,f=t||_&&b.find.TAG("*",s),d=A+=null==c?1:Math.random()||.1,m=f.length;for(s&&(x=e===T||e||s);h!==m&&null!=(r=f[h]);h++){if(_&&r){for(a=0,e||r.ownerDocument===T||(w(r),i=!k);o=g[a++];)if(o(r,e||T,i)){n.push(r);break}s&&(A=d)}v&&((r=!o&&r)&&l--,t&&p.push(r))}if(l+=h,v&&h!==l){for(a=0;o=y[a++];)o(p,u,e,i);if(t){if(0<l)for(;h--;)p[h]||u[h]||(u[h]=F.call(n));u=vt(u)}O.apply(n,u),s&&!t&&0<u.length&&1<l+y.length&&rt.uniqueSort(n)}return s&&(A=d,x=c),p}var v=0<y.length,_=0<g.length;return v?ot(t):t}return dt.prototype=b.filters=b.pseudos,b.setFilters=new dt,d=rt.tokenize=function(t,e){var i,n,s,r,a,o,l,h=E[t+" "];if(h)return e?0:h.slice(0);for(a=t,o=[],l=b.preFilter;a;){for(r in i&&!(n=W.exec(a))||(n&&(a=a.slice(n[0].length)||a),o.push(s=[])),i=!1,(n=X.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(H," ")}),a=a.slice(i.length)),b.filter)!(n=Z[r].exec(a))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?rt.error(t):E(t,o).slice(0)},c=rt.compile=function(t,e){var i,n=[],s=[],r=C[t+" "];if(!r){for(i=(e=e||d(t)).length;i--;)(r=function t(e){for(var s,i,n,r=e.length,a=b.relative[e[0].type],o=a||b.relative[" "],l=a?1:0,h=gt(function(t){return t===s},o,!0),p=gt(function(t){return-1<N(s,t)},o,!0),u=[function(t,e,i){var n=!a&&(i||e!==x)||((s=e).nodeType?h:p)(t,e,i);return s=null,n}];l<r;l++)if(i=b.relative[e[l].type])u=[gt(yt(u),i)];else{if((i=b.filter[e[l].type].apply(null,e[l].matches))[P]){for(n=++l;n<r&&!b.relative[e[n].type];n++);return _t(1<l&&yt(u),1<l&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),i,l<n&&t(e.slice(l,n)),n<r&&t(e=e.slice(n)),n<r&&mt(e))}u.push(i)}return yt(u)}(e[i]))[P]?n.push(r):s.push(r);(r=C(t,bt(s,n))).selector=t}return r},m=rt.select=function(t,e,i,n){var s,r,a,o,l,h="function"==typeof t&&t,p=!n&&d(t=h.selector||t);if(i=i||[],1===p.length){if(2<(r=p[0]=p[0].slice(0)).length&&"ID"===(a=r[0]).type&&9===e.nodeType&&k&&b.relative[r[1].type]){if(!(e=(b.find.ID(a.matches[0].replace(et,u),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=Z.needsContext.test(t)?0:r.length;s--&&(a=r[s],!b.relative[o=a.type]);)if((l=b.find[o])&&(n=l(a.matches[0].replace(et,u),tt.test(r[0].type)&&ft(e.parentNode)||e))){if(r.splice(s,1),!(t=n.length&&mt(r)))return O.apply(i,n),i;break}}return(h||c(t,p))(n,e,!k,i,!e||tt.test(t)&&ft(e.parentNode)||e),i},f.sortStable=P.split("").sort(M).join("")===P,f.detectDuplicates=!!h,w(),f.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(T.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ht("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&lt(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ht("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ht(R,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),rt}(T);P.find=_,P.expr=_.selectors,P.expr[":"]=P.expr.pseudos,P.uniqueSort=P.unique=_.uniqueSort,P.text=_.getText,P.isXMLDoc=_.isXML,P.contains=_.contains,P.escapeSelector=_.escape;function b(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&P(t).is(i))break;n.push(t)}return n}function x(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var w=P.expr.match.needsContext;function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,E=/^.[^:#\[\.,]*$/;function C(t,i,n){return P.isFunction(i)?P.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?P.grep(t,function(t){return t===i!==n}):"string"!=typeof i?P.grep(t,function(t){return-1<s.call(i,t)!==n}):E.test(i)?P.filter(i,t,n):(i=P.filter(i,t),P.grep(t,function(t){return-1<s.call(i,t)!==n&&1===t.nodeType}))}P.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?P.find.matchesSelector(n,t)?[n]:[]:P.find.matches(t,P.grep(e,function(t){return 1===t.nodeType}))},P.fn.extend({find:function(t){var e,i,n=this.length,s=this;if("string"!=typeof t)return this.pushStack(P(t).filter(function(){for(e=0;e<n;e++)if(P.contains(s[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)P.find(t,s[e],i);return 1<n?P.uniqueSort(i):i},filter:function(t){return this.pushStack(C(this,t||[],!1))},not:function(t){return this.pushStack(C(this,t||[],!0))},is:function(t){return!!C(this,"string"==typeof t&&w.test(t)?P(t):t||[],!1).length}});var M,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(P.fn.init=function(t,e,i){var n,s;if(!t)return this;if(i=i||M,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):P.isFunction(t)?void 0!==i.ready?i.ready(t):t(P):P.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:D.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof P?e[0]:e,P.merge(this,P.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),S.test(n[1])&&P.isPlainObject(e))for(n in e)P.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(s=k.getElementById(n[2]))&&(this[0]=s,this.length=1),this}).prototype=P.fn,M=P(k);var 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}P.fn.extend({has:function(t){var e=P(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(P.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,s=this.length,r=[],a="string"!=typeof t&&P(t);if(!w.test(t))for(;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&P.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(1<r.length?P.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?s.call(P(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(P.uniqueSort(P.merge(this.get(),P(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),P.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return b(t,"parentNode")},parentsUntil:function(t,e,i){return b(t,"parentNode",i)},next:function(t){return O(t,"nextSibling")},prev:function(t){return O(t,"previousSibling")},nextAll:function(t){return b(t,"nextSibling")},prevAll:function(t){return b(t,"previousSibling")},nextUntil:function(t,e,i){return b(t,"nextSibling",i)},prevUntil:function(t,e,i){return b(t,"previousSibling",i)},siblings:function(t){return x((t.parentNode||{}).firstChild,t)},children:function(t){return x(t.firstChild)},contents:function(t){return A(t,"iframe")?t.contentDocument:(A(t,"template")&&(t=t.content||t),P.merge([],t.childNodes))}},function(n,s){P.fn[n]=function(t,e){var i=P.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=P.filter(e,i)),1<this.length&&(I[n]||P.uniqueSort(i),F.test(n)&&i.reverse()),this.pushStack(i)}});var L=/[^\x20\t\r\n\f]+/g;function N(t){return t}function R(t){throw t}function V(t,e,i,n){var s;try{t&&P.isFunction(s=t.promise)?s.call(t).done(e).fail(i):t&&P.isFunction(s=t.then)?s.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}P.Callbacks=function(n){var t,i;n="string"==typeof n?(t=n,i={},P.each(t.match(L)||[],function(t,e){i[e]=!0}),i):P.extend({},n);function s(){for(o=o||n.once,a=r=!0;h.length;p=-1)for(e=h.shift();++p<l.length;)!1===l[p].apply(e[0],e[1])&&n.stopOnFalse&&(p=l.length,e=!1);n.memory||(e=!1),r=!1,o&&(l=e?[]:"")}var r,e,a,o,l=[],h=[],p=-1,u={add:function(){return l&&(e&&!r&&(p=l.length-1,h.push(e)),function i(t){P.each(t,function(t,e){P.isFunction(e)?n.unique&&u.has(e)||l.push(e):e&&e.length&&"string"!==P.type(e)&&i(e)})}(arguments),e&&!r&&s()),this},remove:function(){return P.each(arguments,function(t,e){for(var i;-1<(i=P.inArray(e,l,i));)l.splice(i,1),i<=p&&p--}),this},has:function(t){return t?-1<P.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return o=h=[],l=e="",this},disabled:function(){return!l},lock:function(){return o=h=[],e||r||(l=e=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],h.push(e),r||s()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!a}};return u},P.extend({Deferred:function(t){var r=[["notify","progress",P.Callbacks("memory"),P.Callbacks("memory"),2],["resolve","done",P.Callbacks("once memory"),P.Callbacks("once memory"),0,"resolved"],["reject","fail",P.Callbacks("once memory"),P.Callbacks("once memory"),1,"rejected"]],s="pending",a={state:function(){return s},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return a.then(null,t)},pipe:function(){var s=arguments;return P.Deferred(function(n){P.each(r,function(t,e){var i=P.isFunction(s[e[4]])&&s[e[4]];o[e[1]](function(){var t=i&&i.apply(this,arguments);t&&P.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),s=null}).promise()},then:function(e,i,n){var l=0;function h(s,r,a,o){return function(){function t(){var t,e;if(!(s<l)){if((t=a.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,P.isFunction(e)?o?e.call(t,h(l,r,N,o),h(l,r,R,o)):(l++,e.call(t,h(l,r,N,o),h(l,r,R,o),h(l,r,N,r.notifyWith))):(a!==N&&(i=void 0,n=[t]),(o||r.resolveWith)(i,n))}}var i=this,n=arguments,e=o?t:function(){try{t()}catch(t){P.Deferred.exceptionHook&&P.Deferred.exceptionHook(t,e.stackTrace),l<=s+1&&(a!==R&&(i=void 0,n=[t]),r.rejectWith(i,n))}};s?e():(P.Deferred.getStackHook&&(e.stackTrace=P.Deferred.getStackHook()),T.setTimeout(e))}}return P.Deferred(function(t){r[0][3].add(h(0,t,P.isFunction(n)?n:N,t.notifyWith)),r[1][3].add(h(0,t,P.isFunction(e)?e:N)),r[2][3].add(h(0,t,P.isFunction(i)?i:R))}).promise()},promise:function(t){return null!=t?P.extend(t,a):a}},o={};return P.each(r,function(t,e){var i=e[2],n=e[5];a[e[1]]=i.add,n&&i.add(function(){s=n},r[3-t][2].disable,r[0][2].lock),i.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=i.fireWith}),a.promise(o),t&&t.call(o,o),o},when:function(t){function e(e){return function(t){s[e]=this,r[e]=1<arguments.length?o.call(arguments):t,--i||a.resolveWith(s,r)}}var i=arguments.length,n=i,s=Array(n),r=o.call(arguments),a=P.Deferred();if(i<=1&&(V(t,a.done(e(n)).resolve,a.reject,!i),"pending"===a.state()||P.isFunction(r[n]&&r[n].then)))return a.then();for(;n--;)V(r[n],e(n),a.reject);return a.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;P.Deferred.exceptionHook=function(t,e){T.console&&T.console.warn&&t&&j.test(t.name)&&T.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},P.readyException=function(t){T.setTimeout(function(){throw t})};var z=P.Deferred();function B(){k.removeEventListener("DOMContentLoaded",B),T.removeEventListener("load",B),P.ready()}P.fn.ready=function(t){return z.then(t).catch(function(t){P.readyException(t)}),this},P.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--P.readyWait:P.isReady)||(P.isReady=!0)!==t&&0<--P.readyWait||z.resolveWith(k,[P])}}),P.ready.then=z.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?T.setTimeout(P.ready):(k.addEventListener("DOMContentLoaded",B),T.addEventListener("load",B));function q(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}var H=function(t,e,i,n,s,r,a){var o=0,l=t.length,h=null==i;if("object"===P.type(i))for(o in s=!0,i)H(t,e,o,i[o],!0,r,a);else if(void 0!==n&&(s=!0,P.isFunction(n)||(a=!0),h&&(e=a?(e.call(t,n),null):(h=e,function(t,e,i){return h.call(P(t),i)})),e))for(;o<l;o++)e(t[o],i,a?n:n.call(t[o],o,e(t[o],i)));return s?t:h?e.call(t):l?e(t[0],i):r};function W(){this.expando=P.expando+W.uid++}W.uid=1,W.prototype={cache:function(t){var e=t[this.expando];return e||(e={},q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,s=this.cache(t);if("string"==typeof e)s[P.camelCase(e)]=i;else for(n in e)s[P.camelCase(n)]=e[n];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][P.camelCase(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(P.camelCase):(e=P.camelCase(e))in n?[e]:e.match(L)||[]).length;for(;i--;)delete n[e[i]]}void 0!==e&&!P.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!P.isEmptyObject(e)}};var X=new W,Y=new W,U=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,G=/[A-Z]/g;function Z(t,e,i){var n,s;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(G,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:U.test(s)?JSON.parse(s):s)}catch(t){}Y.set(t,e,i)}else i=void 0;return i}P.extend({hasData:function(t){return Y.hasData(t)||X.hasData(t)},data:function(t,e,i){return Y.access(t,e,i)},removeData:function(t,e){Y.remove(t,e)},_data:function(t,e,i){return X.access(t,e,i)},_removeData:function(t,e){X.remove(t,e)}}),P.fn.extend({data:function(i,t){var e,n,s,r=this[0],a=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){Y.set(this,i)}):H(this,function(t){var e;return r&&void 0===t?void 0!==(e=Y.get(r,i))||void 0!==(e=Z(r,i))?e:void 0:void this.each(function(){Y.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=Y.get(r),1===r.nodeType&&!X.get(r,"hasDataAttrs"))){for(e=a.length;e--;)a[e]&&0===(n=a[e].name).indexOf("data-")&&(n=P.camelCase(n.slice(5)),Z(r,n,s[n]));X.set(r,"hasDataAttrs",!0)}return s},removeData:function(t){return this.each(function(){Y.remove(this,t)})}}),P.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=X.get(t,e),i&&(!n||Array.isArray(i)?n=X.access(t,e,P.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=P.queue(t,e),n=i.length,s=i.shift(),r=P._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete r.stop,s.call(t,function(){P.dequeue(t,e)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return X.get(t,i)||X.access(t,i,{empty:P.Callbacks("once memory").add(function(){X.remove(t,[e+"queue",i])})})}}),P.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?P.queue(this[0],e):void 0===i?this:this.each(function(){var t=P.queue(this,e,i);P._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&P.dequeue(this,e)})},dequeue:function(t){return this.each(function(){P.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--s||r.resolveWith(a,[a])}var n,s=1,r=P.Deferred(),a=this,o=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(n=X.get(a[o],t+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),r.promise(e)}});function $(t,e,i,n){var s,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];for(r in s=i.apply(t,n||[]),e)t.style[r]=a[r];return s}var K=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Q=new RegExp("^(?:([+-])=|)("+K+")([a-z%]*)$","i"),J=["Top","Right","Bottom","Left"],tt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&P.contains(t.ownerDocument,t)&&"none"===P.css(t,"display")};function et(t,e,i,n){var s,r=1,a=20,o=n?function(){return n.cur()}:function(){return P.css(t,e,"")},l=o(),h=i&&i[3]||(P.cssNumber[e]?"":"px"),p=(P.cssNumber[e]||"px"!==h&&+l)&&Q.exec(P.css(t,e));if(p&&p[3]!==h)for(h=h||p[3],i=i||[],p=+l||1;p/=r=r||".5",P.style(t,e,p+h),r!==(r=o()/l)&&1!==r&&--a;);return i&&(p=+p||+l||0,s=i[1]?p+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=p,n.end=s)),s}var it={};function nt(t,e){for(var i,n,s,r,a,o,l,h=[],p=0,u=t.length;p<u;p++)(n=t[p]).style&&(i=n.style.display,e?("none"===i&&(h[p]=X.get(n,"display")||null,h[p]||(n.style.display="")),""===n.style.display&&tt(n)&&(h[p]=(l=o=a=r=void 0,a=(s=n).ownerDocument,o=s.nodeName,(l=it[o])||(r=a.body.appendChild(a.createElement(o)),l=P.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),it[o]=l)))):"none"!==i&&(h[p]="none",X.set(n,"display",i)));for(p=0;p<u;p++)null!=h[p]&&(t[p].style.display=h[p]);return t}P.fn.extend({show:function(){return nt(this,!0)},hide:function(){return nt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){tt(this)?P(this).show():P(this).hide()})}});var st=/^(?:checkbox|radio)$/i,rt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,at=/^$|\/(?:java|ecma)script/i,ot={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_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)?P.merge([t],i):i}function ht(t,e){for(var i=0,n=t.length;i<n;i++)X.set(t[i],"globalEval",!e||X.get(e[i],"globalEval"))}ot.optgroup=ot.option,ot.tbody=ot.tfoot=ot.colgroup=ot.caption=ot.thead,ot.th=ot.td;var pt,ut,ct=/<|&#?\w+;/;function ft(t,e,i,n,s){for(var r,a,o,l,h,p,u=e.createDocumentFragment(),c=[],f=0,d=t.length;f<d;f++)if((r=t[f])||0===r)if("object"===P.type(r))P.merge(c,r.nodeType?[r]:r);else if(ct.test(r)){for(a=a||u.appendChild(e.createElement("div")),o=(rt.exec(r)||["",""])[1].toLowerCase(),l=ot[o]||ot._default,a.innerHTML=l[1]+P.htmlPrefilter(r)+l[2],p=l[0];p--;)a=a.lastChild;P.merge(c,a.childNodes),(a=u.firstChild).textContent=""}else c.push(e.createTextNode(r));for(u.textContent="",f=0;r=c[f++];)if(n&&-1<P.inArray(r,n))s&&s.push(r);else if(h=P.contains(r.ownerDocument,r),a=lt(u.appendChild(r),"script"),h&&ht(a),i)for(p=0;r=a[p++];)at.test(r.type||"")&&i.push(r);return u}pt=k.createDocumentFragment().appendChild(k.createElement("div")),(ut=k.createElement("input")).setAttribute("type","radio"),ut.setAttribute("checked","checked"),ut.setAttribute("name","t"),pt.appendChild(ut),g.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue;var dt=k.documentElement,mt=/^key/,gt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,yt=/^([^.]*)(?:\.(.+)|)/;function vt(){return!0}function _t(){return!1}function bt(){try{return k.activeElement}catch(t){}}function xt(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)xt(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=_t;else if(!s)return t;return 1===r&&(a=s,(s=function(t){return P().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=P.guid++)),t.each(function(){P.event.add(this,e,s,n,i)})}P.event={global:{},add:function(e,t,i,n,s){var r,a,o,l,h,p,u,c,f,d,m,g=X.get(e);if(g)for(i.handler&&(i=(r=i).handler,s=r.selector),s&&P.find.matchesSelector(dt,s),i.guid||(i.guid=P.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==P&&P.event.triggered!==t.type?P.event.dispatch.apply(e,arguments):void 0}),h=(t=(t||"").match(L)||[""]).length;h--;)f=m=(o=yt.exec(t[h])||[])[1],d=(o[2]||"").split(".").sort(),f&&(u=P.event.special[f]||{},f=(s?u.delegateType:u.bindType)||f,u=P.event.special[f]||{},p=P.extend({type:f,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&P.expr.match.needsContext.test(s),namespace:d.join(".")},r),(c=l[f])||((c=l[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,d,a)||e.addEventListener&&e.addEventListener(f,a)),u.add&&(u.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),s?c.splice(c.delegateCount++,0,p):c.push(p),P.event.global[f]=!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=yt.exec(e[h])||[])[1],d=(o[2]||"").split(".").sort(),f){for(u=P.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)||P.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)P.event.remove(t,f+e[h],i,n,!0);P.isEmptyObject(l)&&X.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,r,a,o=P.event.fix(t),l=new Array(arguments.length),h=(X.get(this,"events")||{})[o.type]||[],p=P.event.special[o.type]||{};for(l[0]=o,e=1;e<arguments.length;e++)l[e]=arguments[e];if(o.delegateTarget=this,!p.preDispatch||!1!==p.preDispatch.call(this,o)){for(a=P.event.handlers.call(this,o,h),e=0;(s=a[e++])&&!o.isPropagationStopped();)for(o.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!o.rnamespace.test(r.namespace)||(o.handleObj=r,o.data=r.data,void 0!==(n=((P.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l))&&!1===(o.result=n)&&(o.preventDefault(),o.stopPropagation()));return p.postDispatch&&p.postDispatch.call(this,o),o.result}},handlers:function(t,e){var i,n,s,r,a,o=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&1<=t.button))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],a={},i=0;i<l;i++)void 0===a[s=(n=e[i]).selector+" "]&&(a[s]=n.needsContext?-1<P(s,this).index(h):P.find(s,this,null,[h]).length),a[s]&&r.push(n);r.length&&o.push({elem:h,handlers:r})}return h=this,l<e.length&&o.push({elem:h,handlers:e.slice(l)}),o},addProp:function(e,t){Object.defineProperty(P.Event.prototype,e,{enumerable:!0,configurable:!0,get:P.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[P.expando]?t:new P.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==bt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===bt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&A(this,"input"))return this.click(),!1},_default:function(t){return A(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},P.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},P.Event=function(t,e){if(!(this instanceof P.Event))return new P.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?vt:_t,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&P.extend(this,e),this.timeStamp=t&&t.timeStamp||P.now(),this[P.expando]=!0},P.Event.prototype={constructor:P.Event,isDefaultPrevented:_t,isPropagationStopped:_t,isImmediatePropagationStopped:_t,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=vt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=vt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=vt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},P.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&mt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&gt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},P.event.addProp),P.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){P.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||P.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),P.fn.extend({on:function(t,e,i,n){return xt(this,t,e,i,n)},one:function(t,e,i,n){return xt(this,t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,P(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=_t),this.each(function(){P.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this}});var wt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Tt=/<script|<style|<link/i,kt=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^true\/(.*)/,At=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function St(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&P(">tbody",t)[0]||t}function Et(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ct(t){var e=Pt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Mt(t,e){var i,n,s,r,a,o,l,h;if(1===e.nodeType){if(X.hasData(t)&&(r=X.access(t),a=X.set(e,r),h=r.events))for(s in delete a.handle,a.events={},h)for(i=0,n=h[s].length;i<n;i++)P.event.add(e,s,h[s][i]);Y.hasData(t)&&(o=Y.access(t),l=P.extend({},o),Y.set(e,l))}}function Dt(i,n,s,r){n=m.apply([],n);var t,e,a,o,l,h,p=0,u=i.length,c=u-1,f=n[0],d=P.isFunction(f);if(d||1<u&&"string"==typeof f&&!g.checkClone&&kt.test(f))return i.each(function(t){var e=i.eq(t);d&&(n[0]=f.call(this,t,e.html())),Dt(e,n,s,r)});if(u&&(e=(t=ft(n,i[0].ownerDocument,!1,i,r)).firstChild,1===t.childNodes.length&&(t=e),e||r)){for(o=(a=P.map(lt(t,"script"),Et)).length;p<u;p++)l=t,p!==c&&(l=P.clone(l,!0,!0),o&&P.merge(a,lt(l,"script"))),s.call(i[p],l,p);if(o)for(h=a[a.length-1].ownerDocument,P.map(a,Ct),p=0;p<o;p++)l=a[p],at.test(l.type||"")&&!X.access(l,"globalEval")&&P.contains(h,l)&&(l.src?P._evalUrl&&P._evalUrl(l.src):y(l.textContent.replace(At,""),h))}return i}function Ft(t,e,i){for(var n,s=e?P.filter(e,t):t,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||P.cleanData(lt(n)),n.parentNode&&(i&&P.contains(n.ownerDocument,n)&&ht(lt(n,"script")),n.parentNode.removeChild(n));return t}P.extend({htmlPrefilter:function(t){return t.replace(wt,"<$1></$2>")},clone:function(t,e,i){var n,s,r,a,o,l,h,p=t.cloneNode(!0),u=P.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||P.isXMLDoc(t)))for(a=lt(p),n=0,s=(r=lt(t)).length;n<s;n++)o=r[n],l=a[n],h=void 0,"input"===(h=l.nodeName.toLowerCase())&&st.test(o.type)?l.checked=o.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=o.defaultValue);if(e)if(i)for(r=r||lt(t),a=a||lt(p),n=0,s=r.length;n<s;n++)Mt(r[n],a[n]);else Mt(t,p);return 0<(a=lt(p,"script")).length&&ht(a,!u&&lt(t,"script")),p},cleanData:function(t){for(var e,i,n,s=P.event.special,r=0;void 0!==(i=t[r]);r++)if(q(i)){if(e=i[X.expando]){if(e.events)for(n in e.events)s[n]?P.event.remove(i,n):P.removeEvent(i,n,e.handle);i[X.expando]=void 0}i[Y.expando]&&(i[Y.expando]=void 0)}}}),P.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return H(this,function(t){return void 0===t?P.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Dt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||St(this,t).appendChild(t)})},prepend:function(){return Dt(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=St(this,t)).insertBefore(t,e.firstChild)})},before:function(){return Dt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Dt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(P.cleanData(lt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return P.clone(this,t,e)})},html:function(t){return H(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!ot[(rt.exec(t)||["",""])[1].toLowerCase()]){t=P.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(P.cleanData(lt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return Dt(this,arguments,function(t){var e=this.parentNode;P.inArray(this,i)<0&&(P.cleanData(lt(this)),e&&e.replaceChild(t,this))},i)}}),P.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){P.fn[t]=function(t){for(var e,i=[],n=P(t),s=n.length-1,r=0;r<=s;r++)e=r===s?this:this.clone(!0),P(n[r])[a](e),l.apply(i,e.get());return this.pushStack(i)}});var It,Ot,Lt,Nt,Rt,Vt,jt=/^margin/,zt=new RegExp("^("+K+")(?!px)[a-z%]+$","i"),Bt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=T),e.getComputedStyle(t)};function qt(){var t;Vt&&(Vt.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",Vt.innerHTML="",dt.appendChild(Rt),t=T.getComputedStyle(Vt),It="1%"!==t.top,Nt="2px"===t.marginLeft,Ot="4px"===t.width,Vt.style.marginRight="50%",Lt="4px"===t.marginRight,dt.removeChild(Rt),Vt=null)}function Ht(t,e,i){var n,s,r,a,o=t.style;return(i=i||Bt(t))&&(""!==(a=i.getPropertyValue(e)||i[e])||P.contains(t.ownerDocument,t)||(a=P.style(t,e)),!g.pixelMarginRight()&&zt.test(a)&&jt.test(e)&&(n=o.width,s=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=a,a=i.width,o.width=n,o.minWidth=s,o.maxWidth=r)),void 0!==a?a+"":a}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}Rt=k.createElement("div"),(Vt=k.createElement("div")).style&&(Vt.style.backgroundClip="content-box",Vt.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===Vt.style.backgroundClip,Rt.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",Rt.appendChild(Vt),P.extend(g,{pixelPosition:function(){return qt(),It},boxSizingReliable:function(){return qt(),Ot},pixelMarginRight:function(){return qt(),Lt},reliableMarginLeft:function(){return qt(),Nt}}));var Xt=/^(none|table(?!-c[ea]).+)/,Yt=/^--/,Ut={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Zt=["Webkit","Moz","ms"],$t=k.createElement("div").style;function Kt(t){return P.cssProps[t]||(P.cssProps[t]=function(t){if(t in $t)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=Zt.length;i--;)if((t=Zt[i]+e)in $t)return t}(t)||t)}function Qt(t,e,i){var n=Q.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function Jt(t,e,i,n,s){for(var r=0,a=i===(n?"border":"content")?4:"width"===e?1:0;a<4;a+=2)"margin"===i&&(r+=P.css(t,i+J[a],!0,s)),n?("content"===i&&(r-=P.css(t,"padding"+J[a],!0,s)),"margin"!==i&&(r-=P.css(t,"border"+J[a]+"Width",!0,s))):(r+=P.css(t,"padding"+J[a],!0,s),"padding"!==i&&(r+=P.css(t,"border"+J[a]+"Width",!0,s)));return r}function te(t,e,i){var n,s=Bt(t),r=Ht(t,e,s),a="border-box"===P.css(t,"boxSizing",!1,s);return zt.test(r)?r:(n=a&&(g.boxSizingReliable()||r===t.style[e]),"auto"===r&&(r=t["offset"+e[0].toUpperCase()+e.slice(1)]),(r=parseFloat(r)||0)+Jt(t,e,i||(a?"border":"content"),n,s)+"px")}function ee(t,e,i,n,s){return new ee.prototype.init(t,e,i,n,s)}P.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Ht(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,a,o=P.camelCase(e),l=Yt.test(e),h=t.style;if(l||(e=Kt(o)),a=P.cssHooks[e]||P.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(s=a.get(t,!1,n))?s:h[e];"string"===(r=typeof i)&&(s=Q.exec(i))&&s[1]&&(i=et(t,e,s),r="number"),null!=i&&i==i&&("number"===r&&(i+=s&&s[3]||(P.cssNumber[o]?"":"px")),g.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),a&&"set"in a&&void 0===(i=a.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var s,r,a,o=P.camelCase(e);return Yt.test(e)||(e=Kt(o)),(a=P.cssHooks[e]||P.cssHooks[o])&&"get"in a&&(s=a.get(t,!0,i)),void 0===s&&(s=Ht(t,e,n)),"normal"===s&&e in Gt&&(s=Gt[e]),""===i||i?(r=parseFloat(s),!0===i||isFinite(r)?r||0:s):s}}),P.each(["height","width"],function(t,a){P.cssHooks[a]={get:function(t,e,i){if(e)return!Xt.test(P.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,a,i):$(t,Ut,function(){return te(t,a,i)})},set:function(t,e,i){var n,s=i&&Bt(t),r=i&&Jt(t,a,i,"border-box"===P.css(t,"boxSizing",!1,s),s);return r&&(n=Q.exec(e))&&"px"!==(n[3]||"px")&&(t.style[a]=e,e=P.css(t,a)),Qt(0,e,r)}}}),P.cssHooks.marginLeft=Wt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ht(t,"marginLeft"))||t.getBoundingClientRect().left-$(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),P.each({margin:"",padding:"",border:"Width"},function(s,r){P.cssHooks[s+r]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+J[e]+r]=n[e]||n[e-2]||n[0];return i}},jt.test(s)||(P.cssHooks[s+r].set=Qt)}),P.fn.extend({css:function(t,e){return H(this,function(t,e,i){var n,s,r={},a=0;if(Array.isArray(e)){for(n=Bt(t),s=e.length;a<s;a++)r[e[a]]=P.css(t,e[a],!1,n);return r}return void 0!==i?P.style(t,e,i):P.css(t,e)},t,e,1<arguments.length)}}),(P.Tween=ee).prototype={constructor:ee,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||P.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(P.cssNumber[i]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,i=ee.propHooks[this.prop];return this.options.duration?this.pos=e=P.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=P.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){P.fx.step[t.prop]?P.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[P.cssProps[t.prop]]&&!P.cssHooks[t.prop]?t.elem[t.prop]=t.now:P.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},P.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},P.fx=ee.prototype.init,P.fx.step={};var ie,ne,se,re,ae=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function le(){ne&&(!1===k.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(le):T.setTimeout(le,P.fx.interval),P.fx.tick())}function he(){return T.setTimeout(function(){ie=void 0}),ie=P.now()}function pe(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)s["margin"+(i=J[n])]=s["padding"+i]=t;return e&&(s.opacity=s.width=t),s}function ue(t,e,i){for(var n,s=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),r=0,a=s.length;r<a;r++)if(n=s[r].call(i,e,t))return n}function ce(r,t,e){var i,a,n=0,s=ce.prefilters.length,o=P.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=ie||he(),e=Math.max(0,h.startTime+h.duration-t),i=1-(e/h.duration||0),n=0,s=h.tweens.length;n<s;n++)h.tweens[n].run(i);return o.notifyWith(r,[h,i,e]),i<1&&s?e:(s||o.notifyWith(r,[h,1,0]),o.resolveWith(r,[h]),!1)},h=o.promise({elem:r,props:P.extend({},t),opts:P.extend(!0,{specialEasing:{},easing:P.easing._default},e),originalProperties:t,originalOptions:e,startTime:ie||he(),duration:e.duration,tweens:[],createTween:function(t,e){var i=P.Tween(r,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(i),i},stop:function(t){var e=0,i=t?h.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)h.tweens[e].run(1);return t?(o.notifyWith(r,[h,1,0]),o.resolveWith(r,[h,t])):o.rejectWith(r,[h,t]),this}}),p=h.props;for(!function(t,e){var i,n,s,r,a;for(i in t)if(s=e[n=P.camelCase(i)],r=t[i],Array.isArray(r)&&(s=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(a=P.cssHooks[n])&&"expand"in a)for(i in r=a.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=s);else e[n]=s}(p,h.opts.specialEasing);n<s;n++)if(i=ce.prefilters[n].call(h,r,p,h.opts))return P.isFunction(i.stop)&&(P._queueHooks(h.elem,h.opts.queue).stop=P.proxy(i.stop,i)),i;return P.map(p,ue,h),P.isFunction(h.opts.start)&&h.opts.start.call(r,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),P.fx.timer(P.extend(l,{elem:r,anim:h,queue:h.opts.queue})),h}P.Animation=P.extend(ce,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return et(i.elem,t,Q.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,s=(t=P.isFunction(t)?(e=t,["*"]):t.match(L)).length;n<s;n++)i=t[n],ce.tweeners[i]=ce.tweeners[i]||[],ce.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,s,r,a,o,l,h,p,u="width"in e||"height"in e,c=this,f={},d=t.style,m=t.nodeType&&tt(t),g=X.get(t,"fxshow");for(n in i.queue||(null==(a=P._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,P.queue(t,"fx").length||a.empty.fire()})})),e)if(s=e[n],ae.test(s)){if(delete e[n],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}f[n]=g&&g[n]||P.style(t,n)}if((l=!P.isEmptyObject(e))||!P.isEmptyObject(f))for(n in u&&1===t.nodeType&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],null==(h=g&&g.display)&&(h=X.get(t,"display")),"none"===(p=P.css(t,"display"))&&(h?p=h:(nt([t],!0),h=t.style.display||h,p=P.css(t,"display"),nt([t]))),("inline"===p||"inline-block"===p&&null!=h)&&"none"===P.css(t,"float")&&(l||(c.done(function(){d.display=h}),null==h&&(p=d.display,h="none"===p?"":p)),d.display="inline-block")),i.overflow&&(d.overflow="hidden",c.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=X.access(t,"fxshow",{display:h}),r&&(g.hidden=!m),m&&nt([t],!0),c.done(function(){for(n in m||nt([t]),X.remove(t,"fxshow"),f)P.style(t,n,f[n])})),l=ue(m?g[n]:0,n,c),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),P.speed=function(t,e,i){var n=t&&"object"==typeof t?P.extend({},t):{complete:i||!i&&e||P.isFunction(t)&&t,duration:t,easing:i&&e||e&&!P.isFunction(e)&&e};return P.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in P.fx.speeds?n.duration=P.fx.speeds[n.duration]:n.duration=P.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){P.isFunction(n.old)&&n.old.call(this),n.queue&&P.dequeue(this,n.queue)},n},P.fn.extend({fadeTo:function(t,e,i,n){return this.filter(tt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){function s(){var t=ce(this,P.extend({},e),a);(r||X.get(this,"finish"))&&t.stop(!0)}var r=P.isEmptyObject(e),a=P.speed(t,i,n);return s.finish=s,r||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(s,t,r){function a(t){var e=t.stop;delete t.stop,e(r)}return"string"!=typeof s&&(r=t,t=s,s=void 0),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=P.timers,n=X.get(this);if(e)n[e]&&n[e].stop&&a(n[e]);else for(e in n)n[e]&&n[e].stop&&oe.test(e)&&a(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(r),t=!1,i.splice(e,1));!t&&r||P.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=X.get(this),i=e[a+"queue"],n=e[a+"queueHooks"],s=P.timers,r=i?i.length:0;for(e.finish=!0,P.queue(this,a,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===a&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),P.each(["toggle","show","hide"],function(t,n){var s=P.fn[n];P.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(pe(n,!0),t,e,i)}}),P.each({slideDown:pe("show"),slideUp:pe("hide"),slideToggle:pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){P.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),P.timers=[],P.fx.tick=function(){var t,e=0,i=P.timers;for(ie=P.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||P.fx.stop(),ie=void 0},P.fx.timer=function(t){P.timers.push(t),P.fx.start()},P.fx.interval=13,P.fx.start=function(){ne||(ne=!0,le())},P.fx.stop=function(){ne=null},P.fx.speeds={slow:600,fast:200,_default:400},P.fn.delay=function(n,t){return n=P.fx&&P.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=T.setTimeout(t,n);e.stop=function(){T.clearTimeout(i)}})},se=k.createElement("input"),re=k.createElement("select").appendChild(k.createElement("option")),se.type="checkbox",g.checkOn=""!==se.value,g.optSelected=re.selected,(se=k.createElement("input")).value="t",se.type="radio",g.radioValue="t"===se.value;var fe,de=P.expr.attrHandle;P.fn.extend({attr:function(t,e){return H(this,P.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){P.removeAttr(this,t)})}}),P.extend({attr:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?P.prop(t,e,i):(1===r&&P.isXMLDoc(t)||(s=P.attrHooks[e.toLowerCase()]||(P.expr.match.bool.test(e)?fe:void 0)),void 0!==i?null===i?void P.removeAttr(t,e):s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:(t.setAttribute(e,i+""),i):!(s&&"get"in s&&null!==(n=s.get(t,e)))&&null==(n=P.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&A(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,s=e&&e.match(L);if(s&&1===t.nodeType)for(;i=s[n++];)t.removeAttribute(i)}}),fe={set:function(t,e,i){return!1===e?P.removeAttr(t,i):t.setAttribute(i,i),i}},P.each(P.expr.match.bool.source.match(/\w+/g),function(t,e){var a=de[e]||P.find.attr;de[e]=function(t,e,i){var n,s,r=e.toLowerCase();return i||(s=de[r],de[r]=n,n=null!=a(t,e,i)?r:null,de[r]=s),n}});var me=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function ye(t){return(t.match(L)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}P.fn.extend({prop:function(t,e){return H(this,P.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[P.propFix[t]||t]})}}),P.extend({prop:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&P.isXMLDoc(t)||(e=P.propFix[e]||e,s=P.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=P.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(P.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),P.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){P.propFix[this.toLowerCase()]=this}),P.fn.extend({addClass:function(e){var t,i,n,s,r,a,o,l=0;if(P.isFunction(e))return this.each(function(t){P(this).addClass(e.call(this,t,ve(this)))});if("string"==typeof e&&e)for(t=e.match(L)||[];i=this[l++];)if(s=ve(i),n=1===i.nodeType&&" "+ye(s)+" "){for(a=0;r=t[a++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");s!==(o=ye(n))&&i.setAttribute("class",o)}return this},removeClass:function(e){var t,i,n,s,r,a,o,l=0;if(P.isFunction(e))return this.each(function(t){P(this).removeClass(e.call(this,t,ve(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(L)||[];i=this[l++];)if(s=ve(i),n=1===i.nodeType&&" "+ye(s)+" "){for(a=0;r=t[a++];)for(;-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");s!==(o=ye(n))&&i.setAttribute("class",o)}return this},toggleClass:function(s,e){var r=typeof s;return"boolean"==typeof e&&"string"==r?e?this.addClass(s):this.removeClass(s):P.isFunction(s)?this.each(function(t){P(this).toggleClass(s.call(this,t,ve(this),e),e)}):this.each(function(){var t,e,i,n;if("string"==r)for(e=0,i=P(this),n=s.match(L)||[];t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==s&&"boolean"!=r||((t=ve(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==s&&X.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+ye(ve(e))+" ").indexOf(n))return!0;return!1}});var _e=/\r/g;P.fn.extend({val:function(i){var n,t,s,e=this[0];return arguments.length?(s=P.isFunction(i),this.each(function(t){var e;1===this.nodeType&&(null==(e=s?i.call(this,t,P(this).val()):i)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=P.map(e,function(t){return null==t?"":t+""})),(n=P.valHooks[this.type]||P.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):e?(n=P.valHooks[e.type]||P.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(_e,""):null==t?"":t:void 0}}),P.extend({valHooks:{option:{get:function(t){var e=P.find.attr(t,"value");return null!=e?e:ye(P.text(t))}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,r="select-one"===t.type,a=r?null:[],o=r?s+1:n.length,l=s<0?o:r?s:0;l<o;l++)if(((i=n[l]).selected||l===s)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){if(e=P(i).val(),r)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,r=P.makeArray(e),a=s.length;a--;)((n=s[a]).selected=-1<P.inArray(P.valHooks.option.get(n),r))&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),P.each(["radio","checkbox"],function(){P.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<P.inArray(P(t).val(),e)}},g.checkOn||(P.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var be=/^(?:focusinfocus|focusoutblur)$/;P.extend(P.event,{trigger:function(t,e,i,n){var s,r,a,o,l,h,p=[i||k],u=d.call(t,"type")?t.type:t,c=d.call(t,"namespace")?t.namespace.split("."):[],f=r=i=i||k;if(3!==i.nodeType&&8!==i.nodeType&&!be.test(u+P.event.triggered)&&(-1<u.indexOf(".")&&(u=(c=u.split(".")).shift(),c.sort()),o=u.indexOf(":")<0&&"on"+u,(t=t[P.expando]?t:new P.Event(u,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=c.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+c.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:P.makeArray(e,[t]),h=P.event.special[u]||{},n||!h.trigger||!1!==h.trigger.apply(i,e))){if(!n&&!h.noBubble&&!P.isWindow(i)){for(a=h.delegateType||u,be.test(a+u)||(f=f.parentNode);f;f=f.parentNode)p.push(f),r=f;r===(i.ownerDocument||k)&&p.push(r.defaultView||r.parentWindow||T)}for(s=0;(f=p[s++])&&!t.isPropagationStopped();)t.type=1<s?a:h.bindType||u,(l=(X.get(f,"events")||{})[t.type]&&X.get(f,"handle"))&&l.apply(f,e),(l=o&&f[o])&&l.apply&&q(f)&&(t.result=l.apply(f,e),!1===t.result&&t.preventDefault());return t.type=u,n||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),e)||!q(i)||o&&P.isFunction(i[u])&&!P.isWindow(i)&&((r=i[o])&&(i[o]=null),i[P.event.triggered=u](),P.event.triggered=void 0,r&&(i[o]=r)),t.result}},simulate:function(t,e,i){var n=P.extend(new P.Event,i,{type:t,isSimulated:!0});P.event.trigger(n,null,e)}}),P.fn.extend({trigger:function(t,e){return this.each(function(){P.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return P.event.trigger(t,e,i,!0)}}),P.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){P.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),P.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),g.focusin="onfocusin"in T,g.focusin||P.each({focus:"focusin",blur:"focusout"},function(i,n){function s(t){P.event.simulate(n,t.target,P.event.fix(t))}P.event.special[n]={setup:function(){var t=this.ownerDocument||this,e=X.access(t,n);e||t.addEventListener(i,s,!0),X.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=X.access(t,n)-1;e?X.access(t,n,e):(t.removeEventListener(i,s,!0),X.remove(t,n))}}});var xe=T.location,we=P.now(),Te=/\?/;P.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new T.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||P.error("Invalid XML: "+t),e};var ke=/\[\]$/,Pe=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;P.param=function(t,e){function i(t,e){var i=P.isFunction(e)?e():e;s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)}var n,s=[];if(Array.isArray(t)||t.jquery&&!P.isPlainObject(t))P.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,s,r){if(Array.isArray(t))P.each(t,function(t,e){s||ke.test(n)?r(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,s,r)});else if(s||"object"!==P.type(t))r(n,t);else for(var e in t)i(n+"["+e+"]",t[e],s,r)}(n,t[n],e,i);return s.join("&")},P.fn.extend({serialize:function(){return P.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=P.prop(this,"elements");return t?P.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!P(this).is(":disabled")&&Se.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!st.test(t))}).map(function(t,e){var i=P(this).val();return null==i?null:Array.isArray(i)?P.map(i,function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}}):{name:e.name,value:i.replace(Pe,"\r\n")}}).get()}});var Ee=/%20/g,Ce=/#.*$/,Me=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:GET|HEAD)$/,Ie=/^\/\//,Oe={},Le={},Ne="*/".concat("*"),Re=k.createElement("a");function Ve(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(L)||[];if(P.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(e)):(r[i]=r[i]||[]).push(e)}}function je(e,s,r,a){var o={},l=e===Le;function h(t){var n;return o[t]=!0,P.each(e[t]||[],function(t,e){var i=e(s,r,a);return"string"!=typeof i||l||o[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),h(i),!1)}),n}return h(s.dataTypes[0])||!o["*"]&&h("*")}function ze(t,e){var i,n,s=P.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n=n||{})[i]=e[i]);return n&&P.extend(!0,t,n),t}Re.href=xe.href,P.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ne,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":P.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,P.ajaxSettings),e):ze(P.ajaxSettings,t)},ajaxPrefilter:Ve(Oe),ajaxTransport:Ve(Le),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var p,u,c,i,f,n,d,m,s,r,g=P.ajaxSetup({},e),y=g.context||g,v=g.context&&(y.nodeType||y.jquery)?P(y):P.event,_=P.Deferred(),b=P.Callbacks("once memory"),x=g.statusCode||{},a={},o={},l="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(d){if(!i)for(i={};e=De.exec(c);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return d?c:null},setRequestHeader:function(t,e){return null==d&&(t=o[t.toLowerCase()]=o[t.toLowerCase()]||t,a[t]=e),this},overrideMimeType:function(t){return null==d&&(g.mimeType=t),this},statusCode:function(t){if(t)if(d)w.always(t[w.status]);else for(var e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||l;return p&&p.abort(e),h(0,e),this}};if(_.promise(w),g.url=((t||g.url||xe.href)+"").replace(Ie,xe.protocol+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(L)||[""],null==g.crossDomain){n=k.createElement("a");try{n.href=g.url,n.href=n.href,g.crossDomain=Re.protocol+"//"+Re.host!=n.protocol+"//"+n.host}catch(t){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=P.param(g.data,g.traditional)),je(Oe,g,e,w),d)return w;for(s in(m=P.event&&g.global)&&0==P.active++&&P.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Fe.test(g.type),u=g.url.replace(Ce,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ee,"+")):(r=g.url.slice(u.length),g.data&&(u+=(Te.test(u)?"&":"?")+g.data,delete g.data),!1===g.cache&&(u=u.replace(Me,"$1"),r=(Te.test(u)?"&":"?")+"_="+we+++r),g.url=u+r),g.ifModified&&(P.lastModified[u]&&w.setRequestHeader("If-Modified-Since",P.lastModified[u]),P.etag[u]&&w.setRequestHeader("If-None-Match",P.etag[u])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&w.setRequestHeader("Content-Type",g.contentType),w.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Ne+"; q=0.01":""):g.accepts["*"]),g.headers)w.setRequestHeader(s,g.headers[s]);if(g.beforeSend&&(!1===g.beforeSend.call(y,w,g)||d))return w.abort();if(l="abort",b.add(g.complete),w.done(g.success),w.fail(g.error),p=je(Le,g,e,w)){if(w.readyState=1,m&&v.trigger("ajaxSend",[w,g]),d)return w;g.async&&0<g.timeout&&(f=T.setTimeout(function(){w.abort("timeout")},g.timeout));try{d=!1,p.send(a,h)}catch(t){if(d)throw t;h(-1,t)}}else h(-1,"No Transport");function h(t,e,i,n){var s,r,a,o,l,h=e;d||(d=!0,f&&T.clearTimeout(f),p=void 0,c=n||"",w.readyState=0<t?4:0,s=200<=t&&t<300||304===t,i&&(o=function(t,e,i){for(var n,s,r,a,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in o)if(o[s]&&o[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}a=a||s}r=r||a}if(r)return r!==l[0]&&l.unshift(r),i[r]}(g,w,i)),o=function(t,e,i,n){var s,r,a,o,l,h={},p=t.dataTypes.slice();if(p[1])for(a in t.converters)h[a.toLowerCase()]=t.converters[a];for(r=p.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=p.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=h[l+" "+r]||h["* "+r]))for(s in h)if((o=s.split(" "))[1]===r&&(a=h[l+" "+o[0]]||h["* "+o[0]])){!0===a?a=h[s]:!0!==h[s]&&(r=o[0],p.unshift(o[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(g,o,w,s),s?(g.ifModified&&((l=w.getResponseHeader("Last-Modified"))&&(P.lastModified[u]=l),(l=w.getResponseHeader("etag"))&&(P.etag[u]=l)),204===t||"HEAD"===g.type?h="nocontent":304===t?h="notmodified":(h=o.state,r=o.data,s=!(a=o.error))):(a=h,!t&&h||(h="error",t<0&&(t=0))),w.status=t,w.statusText=(e||h)+"",s?_.resolveWith(y,[r,h,w]):_.rejectWith(y,[w,h,a]),w.statusCode(x),x=void 0,m&&v.trigger(s?"ajaxSuccess":"ajaxError",[w,g,s?r:a]),b.fireWith(y,[w,h]),m&&(v.trigger("ajaxComplete",[w,g]),--P.active||P.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,i){return P.get(t,e,i,"json")},getScript:function(t,e){return P.get(t,void 0,e,"script")}}),P.each(["get","post"],function(t,s){P[s]=function(t,e,i,n){return P.isFunction(e)&&(n=n||i,i=e,e=void 0),P.ajax(P.extend({url:t,type:s,dataType:n,data:e,success:i},P.isPlainObject(t)&&t))}}),P._evalUrl=function(t){return P.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},P.fn.extend({wrapAll:function(t){var e;return this[0]&&(P.isFunction(t)&&(t=t.call(this[0])),e=P(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return P.isFunction(i)?this.each(function(t){P(this).wrapInner(i.call(this,t))}):this.each(function(){var t=P(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=P.isFunction(e);return this.each(function(t){P(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){P(this).replaceWith(this.childNodes)}),this}}),P.expr.pseudos.hidden=function(t){return!P.expr.pseudos.visible(t)},P.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},P.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},qe=P.ajaxSettings.xhr();g.cors=!!qe&&"withCredentials"in qe,g.ajax=qe=!!qe,P.ajaxTransport(function(s){var r,a;if(g.cors||qe&&!s.crossDomain)return{send:function(t,e){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);r=function(t){return function(){r&&(r=a=n.onload=n.onerror=n.onabort=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(Be[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),a=n.onerror=r("error"),void 0!==n.onabort?n.onabort=a:n.onreadystatechange=function(){4===n.readyState&&T.setTimeout(function(){r&&a()})},r=r("abort");try{n.send(s.hasContent&&s.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),P.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),P.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return P.globalEval(t),t}}}),P.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),P.ajaxTransport("script",function(i){var n,s;if(i.crossDomain)return{send:function(t,e){n=P("<script>").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)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}});var He,We=[],Xe=/(=)\?(?=&|$)|\?\?/;P.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||P.expando+"_"+we++;return this[t]=!0,t}}),P.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,a=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=P.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Xe,"$1"+n):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||P.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=T[n],T[n]=function(){r=arguments},i.always(function(){void 0===s?P(T).removeProp(n):T[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,We.push(n)),r&&P.isFunction(s)&&s(r[0]),r=s=void 0}),"script"}),g.createHTMLDocument=((He=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===He.childNodes.length),P.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),r=!i&&[],(s=S.exec(t))?[e.createElement(s[1])]:(s=ft([t],e,r),r&&r.length&&P(r).remove(),P.merge([],s.childNodes)));var n,s,r},P.fn.load=function(t,e,i){var n,s,r,a=this,o=t.indexOf(" ");return-1<o&&(n=ye(t.slice(o)),t=t.slice(0,o)),P.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<a.length&&P.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){r=arguments,a.html(n?P("<div>").append(P.parseHTML(t)).find(n):t)}).always(i&&function(t,e){a.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},P.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){P.fn[e]=function(t){return this.on(e,t)}}),P.expr.pseudos.animated=function(e){return P.grep(P.timers,function(t){return e===t.elem}).length},P.offset={setOffset:function(t,e,i){var n,s,r,a,o,l,h=P.css(t,"position"),p=P(t),u={};"static"===h&&(t.style.position="relative"),o=p.offset(),r=P.css(t,"top"),l=P.css(t,"left"),s=("absolute"===h||"fixed"===h)&&-1<(r+l).indexOf("auto")?(a=(n=p.position()).top,n.left):(a=parseFloat(r)||0,parseFloat(l)||0),P.isFunction(e)&&(e=e.call(t,i,P.extend({},o))),null!=e.top&&(u.top=e.top-o.top+a),null!=e.left&&(u.left=e.left-o.left+s),"using"in e?e.using.call(t,u):p.css(u)}},P.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){P.offset.setOffset(this,e,t)});var t,i,n,s,r=this[0];return r?r.getClientRects().length?(n=r.getBoundingClientRect(),i=(t=r.ownerDocument).documentElement,s=t.defaultView,{top:n.top+s.pageYOffset-i.clientTop,left:n.left+s.pageXOffset-i.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"===P.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),A(t[0],"html")||(n=t.offset()),n={top:n.top+P.css(t[0],"borderTopWidth",!0),left:n.left+P.css(t[0],"borderLeftWidth",!0)}),{top:e.top-n.top-P.css(i,"marginTop",!0),left:e.left-n.left-P.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===P.css(t,"position");)t=t.offsetParent;return t||dt})}}),P.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;P.fn[e]=function(t){return H(this,function(t,e,i){var n;return P.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)}}),P.each(["top","left"],function(t,i){P.cssHooks[i]=Wt(g.pixelPosition,function(t,e){if(e)return e=Ht(t,i),zt.test(e)?P(t).position()[i]+"px":e})}),P.each({Height:"height",Width:"width"},function(a,o){P.each({padding:"inner"+a,content:o,"":"outer"+a},function(n,r){P.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return H(this,function(t,e,i){var n;return P.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?P.css(t,e,s):P.style(t,e,i,s)},o,i?t:void 0,i)}})}),P.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)}}),P.holdReady=function(t){t?P.readyWait++:P.ready(!0)},P.isArray=Array.isArray,P.parseJSON=JSON.parse,P.nodeName=A,"function"==typeof define&&define.amd&&define("jquery",[],function(){return P});var Ye=T.jQuery,Ue=T.$;return P.noConflict=function(t){return T.$===P&&(T.$=Ue),t&&T.jQuery===P&&(T.jQuery=Ye),P},t||(T.jQuery=T.$=P),P}),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 l(t){var e,i=0<arguments.length&&void 0!==t?t:{},n=i.id,s=i.url,r=n||s;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=r,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/"+r;if(o(r))return r.replace("http:","https:");if(n)throw new TypeError("“"+n+"” is not a valid video id.");throw new TypeError("“"+r+"” is not a vimeo.com url.")}var e=void 0!==Array.prototype.indexOf,i="undefined"!=typeof window&&void 0!==window.postMessage;if(!(t||e&&i))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}n(function(t,e){function i(t,e){function i(t){if(!this||this.constructor!==i)return new i(t);this._keys=[],this._values=[],this._itp=[],this.objectOnly=e,t&&function(t){this.add?t.forEach(this.add,this):t.forEach(function(t){this.set(t[0],t[1])},this)}.call(this,t)}return e||y(t,"size",{get:f}),(t.constructor=i).prototype=t,i}function n(t){return this.has(t)&&(this._keys.splice(g,1),this._values.splice(g,1),this._itp.forEach(function(t){g<t[0]&&t[0]--})),-1<g}function s(t){return this.has(t)?this._values[g]:void 0}function r(t,e){if(this.objectOnly&&e!==Object(e))throw new TypeError("Invalid value used as weak collection key");if(e!=e||0===e)for(g=t.length;g--&&!v(t[g],e););else g=t.indexOf(e);return-1<g}function a(t){return r.call(this,this._values,t)}function o(t){return r.call(this,this._keys,t)}function l(t,e){return this.has(t)?this._values[g]=e:this._values[this._keys.push(t)-1]=e,this}function h(t){return this.has(t)||this._values.push(t),this}function p(){(this._keys||0).length=this._values.length=0}function u(){return c(this._itp,this._values)}function c(i,n,s){var r=[0],a=!1;return i.push(r),{next:function(){var t,e=r[0];return!a&&e<n.length?(t=s?[n[e],s[e]]:n[e],r[0]++):(a=!0,i.splice(i.indexOf(r),1)),{done:a,value:t}}}}function f(){return this._values.length}function d(t,e){for(var i=this.entries();;){var n=i.next();if(n.done)break;t.call(e,n.value[1],n.value[0],this)}}var m,g,y,v;m=void 0!==b?b:window,y=Object.defineProperty,v=function(t,e){return t===e||t!=t&&e!=e},"undefined"==typeof WeakMap&&(m.WeakMap=i({delete:n,clear:p,get:s,has:o,set:l},!0)),"undefined"!=typeof Map&&"function"==typeof(new Map).values&&(new Map).values().next||(m.Map=i({delete:n,has:o,get:s,set:l,keys:function(){return c(this._itp,this._keys)},values:u,entries:function(){return c(this._itp,this._keys,this._values)},forEach:d,clear:p})),"undefined"!=typeof Set&&"function"==typeof(new Set).values&&(new Set).values().next||(m.Set=i({has:a,add:h,delete:n,clear:p,keys:u,values:u,entries:function(){return c(this._itp,this._values,this._values)},forEach:d})),"undefined"==typeof WeakSet&&(m.WeakSet=i({delete:n,add:h,clear:p,has:a},!0))});var h=n(function(t){var e,i,n,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n=function(){var e,i,n,s,r,a,t=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(t,e,i,n){return Object.defineProperty(t,e,{value:i,writable:!0,configurable:!1!==n})}}catch(t){e=function(t,e,i){return t[e]=i,t}}function l(t,e){this.fn=t,this.self=e,this.next=void 0}function h(t,e){n.add(t,e),i=i||o(n.drain)}function p(t){var e,i=void 0===t?"undefined":_(t);return null==t||"object"!=i&&"function"!=i||(e=t.then),"function"==typeof e&&e}function u(){for(var t=0;t<this.chain.length;t++)!function(t,e,i){var n,s;try{!1===e?i.reject(t.msg):(n=!0===e?t.msg:e.call(void 0,t.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(s=p(n))?s.call(n,i.resolve,i.reject):i.resolve(n)}catch(t){i.reject(t)}}(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function c(t){var i,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(i=p(t))?h(function(){var e=new m(n);try{i.call(t,function(){c.apply(e,arguments)},function(){f.apply(e,arguments)})}catch(t){f.call(e,t)}}):(n.msg=t,n.state=1,0<n.chain.length&&h(u,n))}catch(t){f.call(new m(n),t)}}}function f(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,0<e.chain.length&&h(u,e))}function d(t,i,n,s){for(var e=0;e<i.length;e++)!function(e){t.resolve(i[e]).then(function(t){n(e,t)},s)}(e)}function m(t){this.def=t,this.triggered=!1}function g(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function y(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var n=new g(this);this.then=function(t,e){var i={success:"function"!=typeof t||t,failure:"function"==typeof e&&e};return i.promise=new this.constructor(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");i.resolve=t,i.reject=e}),n.chain.push(i),0!==n.state&&h(u,n),i.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,function(t){c.call(n,t)},function(t){f.call(n,t)})}catch(t){f.call(n,t)}}var v=e({},"constructor",y,!(n={add:function(t,e){a=new l(t,e),r?r.next=a:s=a,r=a,a=void 0},drain:function(){var t=s;for(s=r=i=void 0;t;)t.fn.call(t.self),t=t.next}}));return e(y.prototype=v,"__NPO__",0,!1),e(y,"resolve",function(i){return i&&"object"==(void 0===i?"undefined":_(i))&&1===i.__NPO__?i:new this(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");t(i)})}),e(y,"reject",function(i){return new this(function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");e(i)})}),e(y,"all",function(e){var a=this;return"[object Array]"!=t.call(e)?a.reject(TypeError("Not an array")):0===e.length?a.resolve([]):new a(function(i,t){if("function"!=typeof i||"function"!=typeof t)throw TypeError("Not a function");var n=e.length,s=Array(n),r=0;d(a,e,function(t,e){s[t]=e,++r===n&&i(s)},t)})}),e(y,"race",function(e){var n=this;return"[object Array]"!=t.call(e)?n.reject(TypeError("Not an array")):new n(function(i,t){if("function"!=typeof i||"function"!=typeof t)throw TypeError("Not a function");d(n,e,function(t,e){i(e)},t)})}),y},(i=b)[e="Promise"]=i[e]||n(),t.exports&&(t.exports=i[e])}),p=new WeakMap;function a(t,e,i){var n=p.get(t.element)||{};e in n||(n[e]=[]),n[e].push(i),p.set(t.element,n)}function u(t,e){return(p.get(t.element)||{})[e]||[]}function c(t,e,i){var n=p.get(t.element)||{};if(!n[e])return!0;if(!i)return n[e]=[],p.set(t.element,n),!0;var s=n[e].indexOf(i);return-1!==s&&n[e].splice(s,1),p.set(t.element,n),n[e]&&0===n[e].length}var s=["id","url","width","maxwidth","height","maxheight","portrait","title","byline","color","autoplay","autopause","loop","responsive","speed","background","transparent"];function f(n,t){var e=1<arguments.length&&void 0!==t?t:{};return s.reduce(function(t,e){var i=n.getAttribute("data-vimeo-"+e);return!i&&""!==i||(t[e]=""===i?1:i),t},e)}function d(r,t){var a=1<arguments.length&&void 0!==t?t:{};return new Promise(function(e,i){if(!o(r))throw new TypeError("“"+r+"” is not a vimeo.com url.");var t,n="https://vimeo.com/api/oembed.json?url="+encodeURIComponent(r);for(t in a)a.hasOwnProperty(t)&&(n+="&"+t+"="+encodeURIComponent(a[t]));var s=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);s.open("GET",n,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{var t=JSON.parse(s.responseText);e(t)}catch(t){i(t)}else i(new Error("“"+r+"” is not embeddable."));else i(new Error("“"+r+"” was not found."))},s.onerror=function(){var t=s.status?" ("+s.status+")":"";i(new Error("There was an error fetching the embed code from Vimeo"+t+"."))},s.send()})}function m(t,e){var i=t.html;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=i,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function g(t){return"string"==typeof t&&(t=JSON.parse(t)),t}function y(t,e,i){var n,s;t.element.contentWindow&&t.element.contentWindow.postMessage&&(n={method:e},void 0!==i&&(n.value=i),8<=(s=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&s<10&&(n=JSON.stringify(n)),t.element.contentWindow.postMessage(n,t.origin))}function v(i,n){n=g(n);var t,e=[],s=void 0;n.event?("error"===n.event&&u(i,n.data.method).forEach(function(t){var e=new Error(n.data.message);e.name=n.data.name,t.reject(e),c(i,n.data.method,t)}),e=u(i,"event:"+n.event),s=n.data):!n.method||(t=function(t,e){var i=u(t,e);if(i.length<1)return!1;var n=i.shift();return c(t,e,n),n}(i,n.method))&&(e.push(t),s=n.value),e.forEach(function(t){try{if("function"==typeof t)return void t.call(i,s);t.resolve(s)}catch(t){}})}var _=function(t,e,i){return e&&x(t.prototype,e),i&&x(t,i),t};function x(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var w=new WeakMap,T=new WeakMap,k=(_(P,[{key:"callMethod",value:function(i,t){var n=this,s=1<arguments.length&&void 0!==t?t:{};return new h(function(t,e){return n.ready().then(function(){a(n,i,{resolve:t,reject:e}),y(n,i,s)})})}},{key:"get",value:function(i){var n=this;return new h(function(t,e){return i=r(i,"get"),n.ready().then(function(){a(n,i,{resolve:t,reject:e}),y(n,i)})})}},{key:"set",value:function(n,t){var s=this;return h.resolve(t).then(function(i){if(n=r(n,"set"),null==i)throw new TypeError("There must be a value to set.");return s.ready().then(function(){return new h(function(t,e){a(s,n,{resolve:t,reject:e}),y(s,n,i)})})})}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===u(this,"event:"+t).length&&this.callMethod("addEventListener",t).catch(function(){}),a(this,"event:"+t,e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");c(this,"event:"+t,e)&&this.callMethod("removeEventListener",t).catch(function(t){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=T.get(this);return h.resolve(t)}},{key:"addCuePoint",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:{};return this.callMethod("addCuePoint",{time:t,data:i})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}}]),P);function P(r){var t,a=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,P),window.jQuery&&r instanceof jQuery&&(1<r.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),"string"==typeof r&&(r=document.getElementById(r)),!(r instanceof window.HTMLElement))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"===r.nodeName||(t=r.querySelector("iframe"))&&(r=t),"IFRAME"===r.nodeName&&!o(r.getAttribute("src")||""))throw new Error("The player element passed isnt a Vimeo embed.");if(w.has(r))return w.get(r);this.element=r,this.origin="*";var e=new h(function(s,e){function t(t){if(o(t.origin)&&a.element.contentWindow===t.source){"*"===a.origin&&(a.origin=t.origin);var e=g(t.data),i="event"in e&&"ready"===e.event,n="method"in e&&"ping"===e.method;if(i||n)return a.element.setAttribute("data-ready","true"),void s();v(a,e)}}var i;window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent&&window.attachEvent("onmessage",t),"IFRAME"!==a.element.nodeName&&d(l(i=f(r,n)),i).then(function(t){var e,i,n,s=m(t,r);return a.element=s,e=r,i=s,n=p.get(e),p.set(i,n),p.delete(e),w.set(a.element,a),t}).catch(function(t){return e(t)})});return T.set(this,e),w.set(this.element,this),"IFRAME"===this.element.nodeName&&y(this,"ping"),this}return t||(function(t){function i(t){"console"in window&&console.error&&console.error("There was an error creating an embed: "+t)}var e=0<arguments.length&&void 0!==t?t:document;[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")).forEach(function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=f(e);d(l(t),t).then(function(t){return m(t,e)}).catch(i)}catch(t){i(t)}})}(),function(t){function e(t){if(o(t.origin)&&t.data&&"spacechange"===t.data.event)for(var e=s.querySelectorAll("iframe"),i=0;i<e.length;i++)if(e[i].contentWindow===t.source){var n=e[i].parentElement;n&&-1!==n.className.indexOf("vimeo-space")&&(n.style.paddingBottom=t.data.data[0].bottom+"px");break}}var s=0<arguments.length&&void 0!==t?t:document;window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent&&window.attachEvent("onmessage",e)}()),k});var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";function v(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}function x(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,u=(l+h)/2,c=(h+p)/2,f=(c-u)/8;return s.b=l+(t-l)/4,r.b=u+f,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(u+c)/2,a.b=c-f,o.b=p+(n-p)/4,a.c=o.a=(a.b+o.b)/2,[s,r,a,o]}function f(t,e,i,n,s,r){var a,o,l,h,p,u,c,f,d={},m=[],g=r||t[0];for(o in s="string"==typeof s?","+s+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])m.push(o);if(1<t.length){for(f=t[t.length-1],c=!0,a=m.length;-1<--a;)if(o=m[a],.05<Math.abs(g[o]-f[o])){c=!1;break}c&&(t=t.concat(),r&&t.unshift(r),t.push(t[1]),r=t[t.length-3])}for(w.length=k.length=P.length=0,a=m.length;-1<--a;)o=m[a],y[o]=-1!==s.indexOf(","+o+","),d[o]=function(t,e,i,n){var s,r,a,o,l,h,p=[];if(n)for(r=(t=[n].concat(t)).length;-1<--r;)"string"==typeof(h=t[r][e])&&"="===h.charAt(1)&&(t[r][e]=n[e]+Number(h.charAt(0)+h.substr(2)));if((s=t.length-2)<0)return p[0]=new v(t[0][e],0,0,t[0][e]),p;for(r=0;r<s;r++)a=t[r][e],o=t[r+1][e],p[r]=new v(a,0,0,o),i&&(l=t[r+2][e],w[r]=(w[r]||0)+(o-a)*(o-a),k[r]=(k[r]||0)+(l-o)*(l-o));return p[r]=new v(t[r][e],0,0,t[r+1][e]),p}(t,o,y[o],r);for(a=w.length;-1<--a;)w[a]=Math.sqrt(w[a]),k[a]=Math.sqrt(k[a]);if(!n){for(a=m.length;-1<--a;)if(y[o])for(u=(l=d[m[a]]).length-1,h=0;h<u;h++)p=l[h+1].da/k[h]+l[h].da/w[h]||0,P[h]=(P[h]||0)+p*p;for(a=P.length;-1<--a;)P[a]=Math.sqrt(P[a])}for(a=m.length,h=i?4:1;-1<--a;)(function(t,e,i,n,s){for(var r,a,o,l,h,p,u,c,f,d,m,g,y=t.length-1,v=0,_=t[0].a,b=0;b<y;b++)r=(l=t[v]).a,a=l.d,o=t[v+1].d,u=s?(d=w[b],g=((m=k[b])+d)*e*.25/(!n&&P[b]||.5),a-((h=a-(a-r)*(n?.5*e:0!==d?g/d:0))+(((p=a+(o-a)*(n?.5*e:0!==m?g/m:0))-h)*(3*d/(d+m)+.5)/4||0))):a-((h=a-(a-r)*e*.5)+(p=a+(o-a)*e*.5))/2,h+=u,p+=u,l.c=c=h,l.b=0!==b?_:_=l.a+.6*(l.c-l.a),l.da=a-r,l.ca=c-r,l.ba=_-r,i?(f=x(r,_,c,a),t.splice(v,1,f[0],f[1],f[2],f[3]),v+=4):v++,_=p;(l=t[v]).b=_,l.c=_+.4*(l.d-_),l.da=l.d-l.a,l.ca=l.c-l.a,l.ba=_-l.a,i&&(f=x(l.a,_,l.c,l.d),t.splice(v,1,f[0],f[1],f[2],f[3]))})(l=d[o=m[a]],e,i,n,y[o]),c&&(l.splice(0,h),l.splice(l.length-h,h));return d}var T,w,k,P,y,i,g,t,e,n;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,p,v){function g(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e}function y(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}var _=function(t,e,i){v.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},b=1e-10,x=v._internals,w=x.isSelector,T=x.isArray,t=_.prototype=v.to({},.1,{}),k=[];_.version="1.20.3",t.constructor=_,t.kill()._gc=!1,_.killTweensOf=_.killDelayedCallsTo=v.killTweensOf,_.getTweensOf=v.getTweensOf,_.lagSmoothing=v.lagSmoothing,_.ticker=v.ticker,_.render=v.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),v.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<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[i]=t[i];if(this._initted||s)if(e)this._initted=!1,s&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&v._onPluginEvent("_onDisable",this),.998<this._time/this._duration){var r=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(r,!0,!1)}else if(this._initted=!1,this._init(),0<this._time||s)for(var a,o=1/(1-n),l=this._firstPT;l;)a=l.s+l.c,l.c*=o,l.s=a-l.c,l=l._next;return this},t.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,r,a,o,l,h,p,u,c=this._dirty?this.totalDuration():this._totalDuration,f=this._time,d=this._totalTime,m=this._cycle,g=this._duration,y=this._rawPrevTime;if(c-1e-7<=t&&0<=t?(this._totalTime=c,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===g&&(!this._initted&&this.vars.lazy&&!i||(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&-1e-7<=t||y===b&&"isPause"!==this.data)&&y!==t&&(i=!0,b<y&&(s="onReverseComplete")),this._rawPrevTime=p=!e||t||y===t?t:b))):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==d||0===g&&0<y)&&(s="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===g&&(!this._initted&&this.vars.lazy&&!i||(0<=y&&(i=!0),this._rawPrevTime=p=!e||t||y===t?t:b))),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(a=g+this._repeatDelay,this._cycle=this._totalTime/a>>0,0!==this._cycle&&this._cycle===this._totalTime/a&&d<=t&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(u=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==u||this._initted?this._yoyoEase=u=!0===u?this._ease:u instanceof Ease?u:Ease.map[u]:(u=this.vars.ease,this._yoyoEase=u=u?u instanceof Ease?u:"function"==typeof u?new Ease(u,this.vars.easeParams):Ease.map[u]||v.defaultEase:v.defaultEase)),this.ratio=u?1-u.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!u?(o=this._time/g,(1===(l=this._easeType)||3===l&&.5<=o)&&(o=1-o),3===l&&(o*=2),1===(h=this._easePower)?o*=o:2===h?o*=o*o:3===h?o*=o*o*o:4===h&&(o*=o*o*o*o),1===l?this.ratio=1-o:2===l?this.ratio=o:this._time/g<.5?this.ratio=o/2:this.ratio=1-o/2):u||(this.ratio=this._ease.getRatio(this._time/g))),f!==this._time||i||m!==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=f,this._totalTime=d,this._rawPrevTime=y,this._cycle=m,x.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||n||u?n&&this._ease._calcEnd&&!u&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&0<=t&&(this._active=!0),0===d&&(2===this._initted&&0<t&&this._init(),this._startAt&&(0<=t?this._startAt.render(t,!0,i):s=s||"_dummyGS"),this.vars.onStart&&(0===this._totalTime&&0!==g||e||this._callback("onStart"))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,i),e||this._totalTime===d&&!s||this._callback("onUpdate")),this._cycle!==m&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===g&&this._rawPrevTime===b&&p!==b&&(this._rawPrevTime=0)))}else d!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},_.to=function(t,e,i){return new _(t,e,i)},_.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new _(t,e,i)},_.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new _(t,e,n)},_.staggerTo=_.allTo=function(t,e,i,n,s,r,a){n=n||0;function o(){i.onComplete&&i.onComplete.apply(i.onCompleteScope||this,arguments),s.apply(a||i.callbackScope||this,r||k)}var l,h,p,u,c=0,f=[],d=i.cycle,m=i.startAt&&i.startAt.cycle;for(T(t)||("string"==typeof t&&(t=v.selector(t)||t),w(t)&&(t=g(t))),t=t||[],n<0&&((t=g(t)).reverse(),n*=-1),l=t.length-1,p=0;p<=l;p++){for(u in h={},i)h[u]=i[u];if(d&&(y(h,t,p),null!=h.duration&&(e=h.duration,delete h.duration)),m){for(u in m=h.startAt={},i.startAt)m[u]=i.startAt[u];y(h.startAt,t,p)}h.delay=c+(h.delay||0),p===l&&s&&(h.onComplete=o),f[p]=new _(t[p],e,h),c+=n}return f},_.staggerFrom=_.allFrom=function(t,e,i,n,s,r,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,_.staggerTo(t,e,i,n,s,r,a)},_.staggerFromTo=_.allFromTo=function(t,e,i,n,s,r,a,o){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,_.staggerTo(t,e,n,s,r,a,o)},_.delayedCall=function(t,e,i,n,s){return new _(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:s,overwrite:0})},_.set=function(t,e){return new _(t,0,e)},_.isTweening=function(t){return 0<v.getTweensOf(t,!0).length};var r=function(t,e){for(var i=[],n=0,s=t._first;s;)s instanceof v?i[n++]=s:(e&&(i[n++]=s),n=(i=i.concat(r(s,e))).length),s=s._next;return i},u=_.getAllTweens=function(t){return r(n._rootTimeline,t).concat(r(n._rootFramesTimeline,t))};_.killAll=function(t,e,i,n){null==e&&(e=!0),null==i&&(i=!0);for(var s,r,a=u(0!=n),o=a.length,l=e&&i&&n,h=0;h<o;h++)r=a[h],(l||r instanceof p||(s=r.target===r.vars.onComplete)&&i||e&&!s)&&(t?r.totalTime(r._reversed?0:r.totalDuration()):r._enabled(!1,!1))},_.killChildTweensOf=function(t,e){if(null!=t){var i,n,s,r,a,o=x.tweenLookup;if("string"==typeof t&&(t=v.selector(t)||t),w(t)&&(t=g(t)),T(t))for(r=t.length;-1<--r;)_.killChildTweensOf(t[r],e);else{for(s in i=[],o)for(n=o[s].target.parentNode;n;)n===t&&(i=i.concat(o[s].tweens)),n=n.parentNode;for(a=i.length,r=0;r<a;r++)e&&i[r].totalTime(i[r].totalDuration()),i[r]._enabled(!1,!1)}}};function s(t,e,i,n){e=!1!==e,i=!1!==i;for(var s,r,a=u(n=!1!==n),o=e&&i&&n,l=a.length;-1<--l;)r=a[l],(o||r instanceof p||(s=r.target===r.vars.onComplete)&&i||e&&!s)&&r.paused(t)}return _.pauseAll=function(t,e,i){s(!0,t,e,i)},_.resumeAll=function(t,e,i){s(!1,t,e,i)},_.globalTimeScale=function(t){var e=n._rootTimeline,i=v.ticker.time;return arguments.length?(t=t||b,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=n._rootFramesTimeline,i=v.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=n._rootTimeline._timeScale=t):e._timeScale},t.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},t.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},t.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._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,r=e.pauseCallback=function(){},i=f.prototype=new u;return f.version="1.20.3",i.constructor=f,i.kill()._gc=i._forcingPlayhead=i._hasPause=!1,i.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)},i.from=function(t,e,i,n){return this.add((i.repeat&&a.TweenMax||c).from(t,e,i),n)},i.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)},i.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;h<t.length;h++)(l=d(i)).startAt&&(l.startAt=d(l.startAt),l.startAt.cycle&&m(l.startAt,t,h)),u&&(m(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),p.to(t[h],e,l,h*n);return this.add(p,s)},i.staggerFrom=function(t,e,i,n,s,r,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,r,a,o)},i.staggerFromTo=function(t,e,i,n,s,r,a,o,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,r,a,o,l)},i.call=function(t,e,i,n){return this.add(c.delayedCall(0,t,e,i),n)},i.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new c(t,0,e),i)},f.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,n,s,r,a=new f(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,s=o._first;s;)r=s._next,e&&s instanceof c&&s.target===s.vars.onComplete||((n=s._startTime-s._delay)<0&&(i=1),a.add(s,n)),s=r;return o.add(a,0),i&&a.totalDuration(),a},i.add=function(t,e,i,n){var s,r,a,o,l,h;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof p)){if(t instanceof Array||t&&t.push&&_(t)){for(i=i||"normal",n=n||0,s=e,r=t.length,a=0;a<r;a++)_(o=t[a])&&(o=new f({tweens:o})),this.add(o,s),"string"!=typeof o&&"function"!=typeof o&&("sequence"===i?s=o._startTime+o.totalDuration()/o._timeScale:"start"===i&&(o._startTime-=o.delay())),s+=n;return this._uncache(!0)}if("string"==typeof t)return this.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=c.delayedCall(0,t)}if(u.prototype.add.call(this,t,e),t._time&&t.render((this.rawTime()-t._startTime)*t._timeScale,!1,!1),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(h=(l=this).rawTime()>t._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},i.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)},i._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},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},i.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,n){var s=c.delayedCall(0,r,i,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._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?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-s:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(r=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=s+e:e:this._labels[t]+e;e=parseInt(t.charAt(r-1)+"1",10)*Number(t.substr(r+1)),t=1<r?this._parseTimeOrLabel(t.substr(0,r-1),0,i):s}return Number(t)+e},i.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},i.stop=function(){return this.paused(!0)},i.gotoAndPlay=function(t,e){return this.play(t,e)},i.gotoAndStop=function(t,e){return this.pause(t,e)},i.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,r,a,o,l,h,p=this._time,u=this._dirty?this.totalDuration():this._totalDuration,c=this._startTime,f=this._timeScale,d=this._paused;if(p!==this._time&&(t+=this._time-p),u-1e-7<=t&&0<=t)this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&-1e-7<=t||this._rawPrevTime<0||this._rawPrevTime===y)&&this._rawPrevTime!==t&&this._first&&(o=!0,this._rawPrevTime>y&&(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<this._rawPrevTime||t<0&&0<=this._rawPrevTime))&&(a="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=s=!0,a="onReverseComplete"):0<=this._rawPrevTime&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:y,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;t=0,this._initted||(o=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(p<=t)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&&0<n._rawPrevTime&&(l=n),n=n._prev;l&&(this._time=t=l._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==p&&this._first||i||o||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&0<t&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),p<=(h=this._time))for(n=this._first;n&&(r=n._next,h===this._time&&(!this._paused||d));)(n._active||n._startTime<=h&&!n._paused&&!n._gc)&&(l===n&&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;else for(n=this._last;n&&(r=n._prev,h===this._time&&(!this._paused||d));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(l===n){for(l=n._prev;l&&l.endTime()>this._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)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof f&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,n){n=n||-9999999999;for(var s=[],r=this._first,a=0;r;)r._startTime<n||(r instanceof c?!1!==e&&(s[a++]=r):(!1!==i&&(s[a++]=r),!1!==t&&(a=(s=s.concat(r.getChildren(!0,e,i))).length))),r=r._next;return s},i.getTweensOf=function(t,e){var i,n,s=this._gc,r=[],a=0;for(s&&this._enabled(!0,!0),n=(i=c.getTweensOf(t)).length;-1<--n;)(i[n].timeline===this||e&&this._contains(i[n]))&&(r[a++]=i[n]);return s&&this._enabled(!1,!0),r},i.recent=function(){return this._recent},i._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},i.shiftChildren=function(t,e,i){i=i||0;for(var n,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},i._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},i.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)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return p.prototype.invalidate.call(this)},i._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)},i.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=p.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.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},i.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)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===p._rootFramesTimeline},i.rawTime=function(t){return t&&(this._paused||this._repeat&&0<this.time()&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},f},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,o,t){function i(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0}var A=1e-10,n=o._internals,S=n.lazyTweens,E=n.lazyRender,l=_gsScope._gsDefine.globals,h=new t(null,null,1,0),s=i.prototype=new e;return s.constructor=i,s.kill()._gc=!1,i.version="1.20.3",s.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},s.addCallback=function(t,e,i,n){return this.add(o.delayedCall(0,t,i,n),e)},s.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);-1<--n;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},s.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},s.tweenTo=function(t,e){e=e||{};var i,n,s,r={ease:h,useFrames:this.usesFrames(),immediateRender:!1},a=e.repeat&&l.TweenMax||o;for(n in e)r[n]=e[n];return r.time=this._parseTimeOrLabel(t),i=Math.abs(Number(r.time)-this._time)/this._timeScale||.001,s=new a(this,i,r),r.onStart=function(){s.target.paused(!0),s.vars.time!==s.target.time()&&i===s.duration()&&s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||s,e.onStartParams||[])},s},s.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},s.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,r,a,o,l,h,p,u=this._time,c=this._dirty?this.totalDuration():this._totalDuration,f=this._duration,d=this._totalTime,m=this._startTime,g=this._timeScale,y=this._rawPrevTime,v=this._paused,_=this._cycle;if(u!==this._time&&(t+=this._time-u),c-1e-7<=t&&0<=t)this._locked||(this._totalTime=c,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&-1e-7<=t||y<0||y===A)&&y!==t&&this._first&&(o=!0,A<y&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:A,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:t=(this._time=f)+1e-4;else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),((this._time=0)!==u||0===f&&y!==A&&(0<y||t<0&&0<=y)&&!this._locked)&&(a="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=s=!0,a="onReverseComplete"):0<=y&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=f||!e||t||this._rawPrevTime===t?t:A,0===t&&s)for(n=this._first;n&&0===n._startTime;)n._duration||(s=!1),n=n._next;t=0,this._initted||(o=!0)}else if(0===f&&y<0&&(o=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(l=f+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&d<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=f-this._time),this._time>f?t=(this._time=f)+1e-4:this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(u<=(t=this._time)||this._repeat&&_!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!h;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(h=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!h;)n._duration||"isPause"===n.data&&0<n._rawPrevTime&&(h=n),n=n._prev;h&&h._startTime<f&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==_&&!this._locked){var b=this._yoyo&&0!=(1&_),x=b===(this._yoyo&&0!=(1&this._cycle)),w=this._totalTime,T=this._cycle,k=this._rawPrevTime,P=this._time;if(this._totalTime=_*f,this._cycle<_?b=!b:this._totalTime+=f,this._time=u,this._rawPrevTime=0===f?y-1e-4:y,this._cycle=_,this._locked=!0,u=b?0:f,this.render(u,e,0===f),e||this._gc||this.vars.onRepeat&&(this._cycle=T,this._locked=!1,this._callback("onRepeat")),u!==this._time)return;if(x&&(this._cycle=_,this._locked=!0,u=b?f+1e-4:-1e-4,this.render(u,!0,!1)),this._locked=!1,this._paused&&!v)return;this._time=P,this._totalTime=w,this._cycle=T,this._rawPrevTime=k}if(this._time!==u&&this._first||i||o||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==d&&0<t&&(this._active=!0),0===d&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),u<=(p=this._time))for(n=this._first;n&&(r=n._next,p===this._time&&(!this._paused||v));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(h===n&&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;else for(n=this._last;n&&(r=n._prev,p===this._time&&(!this._paused||v));){if(n._active||n._startTime<=u&&!n._paused&&!n._gc){if(h===n){for(h=n._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=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||(S.length&&E(),this._callback("onUpdate"))),a&&(this._locked||this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||c>=this.totalDuration())&&(s&&(S.length&&E(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}else d!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},s.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);for(var n,s=[],r=this.getChildren(t,e,i),a=0,o=r.length,l=0;l<o;l++)(n=r[l]).isActive()&&(s[a++]=n);return s},s.getLabelAfter=function(t){t||0!==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length,n=0;n<i;n++)if(e[n].time>t)return e[n].name;return null},s.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].time<t)return e[i].name;return null},s.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},s.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},s.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},s.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},s.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._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},s.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},s.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},s.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),T=180/Math.PI,w=[],k=[],P=[],y={},i=_gsScope._gsDefine.globals,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,h=e.values||[],p={},u=h[0],c=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0!==c&&Number(c)||0]]:null,u)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],p[n]=s?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),o||p[n]!==h[0][n]&&(o=p);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?f(h,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(g&&i&&(t=[i].concat(t)),null==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=[],c=0,p=t.length,h=0;h<p;h++)n=null==i?t[h][u]:"string"==typeof(f=t[h][u])&&"="===f.charAt(1)?i[u]+Number(f.charAt(0)+f.substr(2)):Number(f),g&&1<h&&h<p-1&&(o[c++]=(n+o[c-2])/2),o[c++]=n;for(p=c-m+1,h=c=0;h<p;h+=m)n=o[h],s=o[h+1],r=o[h+2],a=2==m?0:o[h+3],o[c++]=f=3==m?new v(n,s,r,a):new v(n,(2*s+n)/3,(2*s+r)/3,r);o.length=c}return d}(h,e.type,p),this._segCount=this._beziers[n].length,this._timeRes&&(l=function(t,e){var i,n,s,r,a=[],o=[],l=0,h=0,p=(e=e>>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,d=1/i,m=t.length;-1<--m;)for(r=(c=t[m]).a,a=c.d-r,o=c.c-r,l=c.b-r,s=0,p=1;p<=i;p++)n=s-(s=((h=d*p)*h*a+3*(u=1-h)*(h*o+u*l))*h),e[f=m*i+p-1]=(e[f]||0)+n*n}(t[i],a,e);for(s=a.length,n=0;n<s;n++)l+=Math.sqrt(a[n]),c[r=n%e]=l,r==p&&(h+=l,u[r=n/e>>0]=c,o[r]=h,l=0,c=[]);return{length:h,lengths:o,segments:u}}(this._beziers,this._timeRes),this._length=l.length,this._lengths=l.lengths,this._segments=l.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length),c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),r=c.length;-1<--r;){for(a=0;a<3;a++)n=c[r][a],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=c[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,s,r,a,o,l,h,p=this._segCount,u=this._func,c=this._target,f=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,h=this._curSeg,t*=this._length,w=this._li,t>this._l2&&w<p-1){for(o=p-1;w<o&&(this._l2=l[++w])<=t;);this._l1=l[w-1],this._li=w,this._curSeg=h=this._segments[w],this._s2=h[this._s1=this._si=0]}else if(t<this._l1&&0<w){for(;0<w&&(this._l1=l[--w])>=t;);0===w&&t<this._l1?this._l1=0:w++,this._l2=l[w],this._li=w,this._curSeg=h=this._segments[w],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(e=w,t-=this._l1,w=this._si,t>this._s2&&w<h.length-1){for(o=h.length-1;w<o&&(this._s2=h[++w])<=t;);this._s1=h[w-1],this._si=w}else if(t<this._s1&&0<w){for(;0<w&&(this._s1=h[--w])>=t;);0===w&&t<this._s1?this._s1=0:w++,this._s2=h[w],this._si=w}r=(w+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else r=(t-(e=t<0?0:1<=t?p-1:p*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=f,g.cubicToQuadratic=x,g._autoCSS=!0,g.quadraticToCubic=function(t,e,i){return new v(t,(2*e+t)/3,(2*e+i)/3,i)},g._cssRegister=function(){var t,f,d,m,e=i.CSSPlugin;e&&(t=e._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,z){var d,k,A,m,B=function(){r.call(this,"css"),this._overwriteProps.length=0,this.setRatio=B.prototype.setRatio},h=_gsScope._gsDefine.globals,g={},t=B.prototype=new r("css");(t.constructor=B).version="1.20.3",B.API=2,B.defaultTransformPerspective=0,B.defaultSkewType="compensated",B.defaultSmoothOrigin=!0,t="px",B.suffixMap={top:t,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 J.createElementNS?J.createElementNS(e||"http://www.w3.org/1999/xhtml",t):J.createElement(t)}function l(t){return V.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function y(t){_gsScope.console&&console.log(t)}function P(t,e){var i,n,s=(e=e||tt).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?(rt="-"+(at=3===n?"ms":i[n]).toLowerCase()+"-",at+t):null}function v(t,e){var i,n,s,r={};if(e=e||ot(t,null))if(i=e.length)for(;-1<--i;)-1!==(s=e[i]).indexOf("-transform")&&Rt!==s||(r[s.replace(H,a)]=e.getPropertyValue(s));else for(i in e)-1!==i.indexOf("Transform")&&Nt!==i||(r[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===r[i]&&(r[i.replace(H,a)]=e[i]);return st||(r.opacity=l(t)),n=Gt(t,e,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,jt&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r}function _(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(p,"")?r:0:pt(t,a),void 0!==h[a]&&(o=new bt(h,a,h[a],o))));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}}function S(t,e){return"function"==typeof t&&(t=t(I,F)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0}function E(t,e){return"function"==typeof t&&(t=t(I,F)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0}function C(t,e,i,n){var s,r,a,o,l;return"function"==typeof t&&(t=t(I,F)),(o=null==t?e:"number"==typeof t?t:(s=360,r=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:K)-(l?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<a&&(a=(a-3599999999640)%s-(a/s|0)*s)),e+a))<1e-6&&-1e-6<o&&(o=0),o}function f(t,e,i){return 255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0}function n(t,e){var i,n,s,r=t.match(gt)||[],a=0,o="";if(!r.length)return t;for(i=0;i<r.length;i++)n=r[i],a+=(s=t.substr(a,t.indexOf(n,a)-a)).length+n.length,3===(n=mt(n,e)).length&&n.push(1),o+=s+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return o+t.substr(a)}var M,b,x,R,w,D,F,I,e,i,O=/(?:\-|\.|\b)(\d|\.|e\-)+/g,L=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,p=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,N=/(?:\d|\-|\+|=|#|\.)*/g,V=/opacity *= *([^)]*)/i,j=/opacity:([^;]*)/i,u=/alpha\(opacity *=.+?\)/i,q=/^(rgb|hsl)/,c=/([A-Z])/g,H=/-([a-z])/gi,W=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,X=/(?:Left|Right|Width)/i,Y=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=/,(?=[^\)]*(?:\(|$))/gi,Z=/[\s,\(]/i,$=Math.PI/180,K=180/Math.PI,Q={},s={style:{}},J=_gsScope.document||{createElement:function(){return s}},tt=o("div"),et=o("img"),it=B._internals={_specialProps:g},nt=(_gsScope.navigator||{}).userAgent||"",st=(e=nt.indexOf("Android"),i=o("a"),x=-1!==nt.indexOf("Safari")&&-1===nt.indexOf("Chrome")&&(-1===e||3<parseFloat(nt.substr(e+8,2))),w=x&&parseFloat(nt.substr(nt.indexOf("Version/")+8,2))<6,R=-1!==nt.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(nt)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(nt))&&(D=parseFloat(RegExp.$1)),!!i&&(i.style.cssText="top:1px;opacity:.55;",/^0.55/.test(i.style.opacity))),rt="",at="",ot=J.defaultView?J.defaultView.getComputedStyle:function(){},lt=B.getStyle=function(t,e,i,n,s){var r;return st||"opacity"!==e?(!n&&t.style[e]?r=t.style[e]:(i=i||ot(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(c,"-$1").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==s||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:s):l(t)},ht=it.convertToPixels=function(t,e,i,n,s){if("px"===n||!n&&"lineHeight"!==e)return i;if("auto"===n||!i)return 0;var r,a,o,l=X.test(e),h=t,p=tt.style,u=i<0,c=1===i;if(u&&(i=-i),c&&(i*=100),"lineHeight"!==e||n)if("%"===n&&-1!==e.indexOf("border"))r=i/100*(l?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+lt(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)p[l?"borderLeftWidth":"borderTopWidth"]=i+n;else{if(h=t.parentNode||J.body,-1!==lt(h,"display").indexOf("flex")&&(p.position="absolute"),a=h._gsCache,o=z.ticker.frame,a&&l&&a.time===o)return a.width*i/100;p[l?"width":"height"]=i+n}h.appendChild(tt),r=parseFloat(tt[l?"offsetWidth":"offsetHeight"]),h.removeChild(tt),l&&"%"===n&&!1!==B.cacheWidths&&((a=h._gsCache=h._gsCache||{}).time=o,a.width=r/i*100),0!==r||s||(r=ht(t,e,i,n,!0))}else a=ot(t).lineHeight,t.style.lineHeight=i,r=parseFloat(ot(t).lineHeight),t.style.lineHeight=a;return c&&(r/=100),u?-r:r},pt=it.calculateOffset=function(t,e,i){if("absolute"!==lt(t,"position",i))return 0;var n="left"===e?"Left":"Top",s=lt(t,"margin"+n,i);return t["offset"+n]-(ht(t,e,parseFloat(s),s.replace(N,""))||0)},ut={width:["Left","Right"],height:["Top","Bottom"]},ct=["marginLeft","marginRight","marginTop","marginBottom"],ft=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,n=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(3<n.length&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i<n.length;i++)t.push(ft(n[i]));return t.join(",")}return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t=s+" "+r+(2<n.length?" "+n[2]:""),e&&(e.oxp=-1!==s.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===s.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(s.replace(p,"")),e.oy=parseFloat(r.replace(p,"")),e.v=t),e||t},dt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},mt=B.parseColor=function(t,e){var i,n,s,r,a,o,l,h,p,u,c;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),dt[t])i=dt[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=c=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),3<i.length&&(i[3]=Number(i[3])),i[0]=f(a+1/3,n,s),i[1]=f(a,n,s),i[2]=f(a-1/3,n,s);else i=t.match(O)||dt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),3<i.length&&(i[3]=Number(i[3]))}else i=dt.black;return e&&!c&&(n=i[0]/255,s=i[1]/255,r=i[2]/255,l=((h=Math.max(n,s,r))+(p=Math.min(n,s,r)))/2,h===p?a=o=0:(u=h-p,o=.5<l?u/(2-h-p):u/(h+p),a=h===n?(s-r)/u+(s<r?6:0):h===s?(r-n)/u+2:(n-s)/u+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in dt)gt+="|"+t+"\\b";gt=new RegExp(gt+")","gi"),B.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=n(t[0],e),t[1]=n(t[1],e)),gt.lastIndex=0},z.defaultStringFilter||(z.defaultStringFilter=B.colorStringFilter);function yt(t,e,r,a){if(null==t)return function(t){return t};var o,l=e?(t.match(gt)||[""])[0]:"",h=t.split(l).join("").match(T)||[],p=t.substr(0,t.indexOf(h[0])),u=")"===t.charAt(t.length-1)?")":"",c=-1!==t.indexOf(" ")?" ":",",f=h.length,d=0<f?h[0].replace(O,""):"";return f?o=e?function(t){var e,i,n,s;if("number"==typeof t)t+=d;else if(a&&G.test(t)){for(s=t.replace(G,"|").split("|"),n=0;n<s.length;n++)s[n]=o(s[n]);return s.join(",")}if(e=(t.match(gt)||[l])[0],n=(i=t.split(e).join("").match(T)||[]).length,f>n--)for(;++n<f;)i[n]=r?i[(n-1)/2|0]:h[n];return p+i.join(c)+c+e+u+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,n;if("number"==typeof t)t+=d;else if(a&&G.test(t)){for(i=t.replace(G,"|").split("|"),n=0;n<i.length;n++)i[n]=o(i[n]);return i.join(",")}if(n=(e=t.match(T)||[]).length,f>n--)for(;++n<f;)e[n]=r?e[(n-1)/2|0]:h[n];return p+e.join(c)+u}:function(t){return t}}function vt(h){return h=h.split(","),function(t,e,i,n,s,r,a){var o,l=(e+"").split(" ");for(a={},o=0;o<4;o++)a[h[o]]=l[o]=l[o]||l[(o-1)/2>>0];return n.parse(t,a,s,r)}}it._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-6<e&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod(o.rotation,this.t):o.rotation),1===t||0===t)for(l=a.firstMPT,r=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i["xn"+n]+i["xs"+(n+1)];i[r]=s}}else i[r]=i.s+i.xs0;l=l._next}};function _t(t,e,i,n,s,r){var a=new xt(t,e,i,n-i,s,-1,r);return a.b=i,a.e=a.xs0=n,a}var bt=function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&((n._prev=this)._next=n)},xt=(it._parseToProxy=function(t,e,i,n,s,r){var a,o,l,h,p,u=n,c={},f={},d=i._transform,m=Q;for(i._transform=null,Q=e,n=p=i.parse(t,e,n,s),Q=m,r&&(i._transform=d,u&&(u._prev=null,u._prev&&(u._prev._next=null)));n&&n!==u;){if(n.type<=1&&(f[o=n.p]=n.s+n.c,c[o]=n.s,r||(h=new bt(n,"s",o,h,n.r),n.c=0),1===n.type))for(a=n.l;0<--a;)l="xn"+a,f[o=n.p+"_"+l]=n.data[l],c[o]=n[l],r||(h=new bt(n,l,o,h,n.rxp[l]));n=n._next}return{proxy:c,end:f,firstMPT:h,pt:p}},it.CSSPropTween=function(t,e,i,n,s,r,a,o,l,h,p){this.t=t,this.p=e,this.s=i,this.c=n,this.n=a||e,t instanceof xt||m.push(this.n),this.r=o,this.type=r||0,l&&(this.pr=l,d=!0),this.b=void 0===h?i:h,this.e=void 0===p?i+n:p,s&&((this._next=s)._prev=this)}),wt=B.parseComplex=function(t,e,i,n,s,r,a,o,l,h){i=i||r||"","function"==typeof n&&(n=n(I,F)),a=new xt(t,e,0,0,a,h?2:1,null,!1,o,i,n),n+="",s&&gt.test(n+i)&&(n=[i,n],B.colorStringFilter(n),i=n[0],n=n[1]);var p,u,c,f,d,m,g,y,v,_,b,x,w,T=i.split(", ").join(",").split(" "),k=n.split(", ").join(",").split(" "),P=T.length,A=!1!==M;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(k=-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(T=T.join(" ").replace(G,", ").split(" "),k.join(" ").replace(G,", ").split(" ")):(T=T.join(" ").split(",").join(", ").split(" "),k.join(" ").split(",").join(", ").split(" ")),P=T.length),P!==k.length&&(P=(T=(r||"").split(" ")).length),a.plugin=l,a.setRatio=h,p=gt.lastIndex=0;p<P;p++)if(f=T[p],d=k[p],(y=parseFloat(f))||0===y)a.appendXtra("",y,S(d,y),d.replace(L,""),A&&-1!==d.indexOf("px"),!0);else if(s&&gt.test(f))x=")"+((x=d.indexOf(")")+1)?d.substr(x):""),w=-1!==d.indexOf("hsl")&&st,_=d,f=mt(f,w),d=mt(d,w),(v=6<f.length+d.length)&&!st&&0===d[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[p]).join("transparent")):(st||(v=!1),w?a.appendXtra(_.substr(0,_.indexOf("hsl"))+(v?"hsla(":"hsl("),f[0],S(d[0],f[0]),",",!1,!0).appendXtra("",f[1],S(d[1],f[1]),"%,",!1).appendXtra("",f[2],S(d[2],f[2]),v?"%,":"%"+x,!1):a.appendXtra(_.substr(0,_.indexOf("rgb"))+(v?"rgba(":"rgb("),f[0],d[0]-f[0],",",!0,!0).appendXtra("",f[1],d[1]-f[1],",",!0).appendXtra("",f[2],d[2]-f[2],v?",":x,!0),v&&(f=f.length<4?1:f[3],a.appendXtra("",f,(d.length<4?1:d[3])-f,x,!1))),gt.lastIndex=0;else if(m=f.match(O)){if(!(g=d.match(L))||g.length!==m.length)return a;for(u=c=0;u<m.length;u++)b=m[u],_=f.indexOf(b,c),a.appendXtra(f.substr(c,_-c),Number(b),S(g[u],b),"",A&&"px"===f.substr(_+b.length,2),0===u),c=_+b.length;a["xs"+a.l]+=f.substr(c)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+d:d;if(-1!==n.indexOf("=")&&a.data){for(x=a.xs0+a.data.s,p=1;p<a.l;p++)x+=a["xs"+p]+a.data["xn"+p];a.e=x+a["xs"+p]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Tt=9;for((t=xt.prototype).l=t.pr=0;0<--Tt;)t["xn"+Tt]=0,t["xs"+Tt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,n,s,r){var a=this,o=a.l;return a["xs"+o]+=r&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",0<o?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=s,a["xn"+o]=e,a.plugin||(a.xfirst=new xt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0)):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=s),a):(a["xs"+o]+=e+(n||""),a)};function kt(t,e){e=e||{},this.p=e.prefix&&P(t)||t,(g[t]=g[this.p]=this).format=e.formatter||yt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0}var Pt=it._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,s=t.split(","),r=e.defaultValue;for(i=i||[r],n=0;n<s.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||r,new kt(s[n],e)},At=it._registerPluginProp=function(t){var l;g[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",Pt(t,{parser:function(t,e,i,n,s,r,a){var o=h.com.greensock.plugins[l];return o?(o._cssRegister(),g[i].parse(t,e,i,n,s,r,a)):(y("Error: "+l+" js file not loaded."),s)}}))};(t=kt.prototype).parseComplex=function(t,e,i,n,s,r){var a,o,l,h,p,u,c=this.keyword;if(this.multi&&(G.test(i)||G.test(e)?(o=e.replace(G,"|").split("|"),l=i.replace(G,"|").split("|")):c&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;a<h;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,c&&(p=e.indexOf(c))!==(u=i.indexOf(c))&&(-1===u?o[a]=o[a].split(c).join(""):-1===p&&(o[a]+=" "+c));e=o.join(", "),i=l.join(", ")}return wt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,r)},t.parse=function(t,e,i,n,s,r,a){return this.parseComplex(t.style,this.format(lt(t,this.p,A,!1,this.dflt)),this.format(e),s,r)},B.registerSpecialProp=function(t,l,h){Pt(t,{parser:function(t,e,i,n,s,r,a){var o=new xt(t,i,0,0,s,2,i,!1,h);return o.plugin=r,o.setRatio=l(t,e,n._tween,i),o},priority:h})},B.useSVGTransformAttr=!0;function St(t,e,i){var n,s=J.createElementNS("http://www.w3.org/2000/svg",t),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return e.appendChild(s),s}function Et(t,e,i,n,s,r){var a,o,l,h,p,u,c,f,d,m,g,y,v,_,b=t._gsTransform,x=Ut(t,!0);b&&(v=b.xOrigin,_=b.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ft(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=h=parseFloat(a[0]),i.yOrigin=p=parseFloat(a[1]),n&&x!==Yt&&(u=x[0],c=x[1],f=x[2],d=x[3],m=x[4],g=x[5],(y=u*d-c*f)&&(o=h*(d/y)+p*(-f/y)+(f*g-d*m)/y,l=h*(-c/y)+p*(u/y)-(u*g-c*m)/y,h=i.xOrigin=a[0]=o,p=i.yOrigin=a[1]=l)),b&&(r&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),s||!1!==s&&!1!==B.defaultSmoothOrigin?(o=h-v,l=p-_,b.xOffset+=o*x[0]+l*x[2]-o,b.yOffset+=o*x[1]+l*x[3]-l):b.xOffset=b.yOffset=0),r||t.setAttribute("data-svg-origin",a.join(" "))}function Ct(t){var e,i,n=this.data,s=-n.rotation*$,r=s+n.skewX*$,a=1e5,o=(Math.cos(s)*n.scaleX*a|0)/a,l=(Math.sin(s)*n.scaleX*a|0)/a,h=(Math.sin(r)*-n.scaleY*a|0)/a,p=(Math.cos(r)*n.scaleY*a|0)/a,u=this.t.style,c=this.t.currentStyle;if(c){i=l,l=-h,h=-i,e=c.filter,u.filter="";var f=this.t.offsetWidth,d=this.t.offsetHeight,m="absolute"!==c.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+p,y=n.x+f*n.xPercent/100,v=n.y+d*n.yPercent/100;if(null!=n.ox&&(y+=(T=(n.oxp?f*n.ox*.01:n.ox)-f/2)-(T*o+(k=(n.oyp?d*n.oy*.01:n.oy)-d/2)*l),v+=k-(T*h+k*p)),g+=m?", Dx="+((T=f/2)-(T*o+(k=d/2)*l)+y)+", Dy="+(k-(T*h+k*p)+v)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(U,g):u.filter=g+" "+e,0!==t&&1!==t||1==o&&0==l&&0==h&&1==p&&(m&&-1===g.indexOf("Dx=0, Dy=0")||V.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!m){var _,b,x,w=D<8?1:-1,T=n.ieOffsetX||0,k=n.ieOffsetY||0;for(n.ieOffsetX=Math.round((f-((o<0?-o:o)*f+(l<0?-l:l)*d))/2+y),n.ieOffsetY=Math.round((d-((p<0?-p:p)*d+(h<0?-h:h)*f))/2+v),Tt=0;Tt<4;Tt++)x=(i=-1!==(_=c[b=ct[Tt]]).indexOf("px")?parseFloat(_):ht(this.t,b,parseFloat(_),_.replace(N,""))||0)!==n[b]?Tt<2?-n.ieOffsetX:-n.ieOffsetY:Tt<2?T-n.ieOffsetX:k-n.ieOffsetY,u[b]=(n[b]=Math.round(i-x*(0===Tt||2===Tt?1:w)))+"px"}}}var Mt,Dt,Ft,It,Ot,Lt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Nt=P("transform"),Rt=rt+"transform",Vt=P("transformOrigin"),jt=null!==P("perspective"),zt=it.Transform=function(){this.perspective=parseFloat(B.defaultTransformPerspective)||0,this.force3D=!(!1===B.defaultForce3D||!jt)&&(B.defaultForce3D||"auto")},Bt=_gsScope.SVGElement,qt=J.documentElement||{},Ht=(Ot=D||/Android/i.test(nt)&&!_gsScope.chrome,J.createElementNS&&!Ot&&(Dt=St("svg",qt),It=(Ft=St("rect",Dt,{width:100,height:50,x:100})).getBoundingClientRect().width,Ft.style[Vt]="50% 50%",Ft.style[Nt]="scaleX(0.5)",Ot=It===Ft.getBoundingClientRect().width&&!(R&&jt),qt.removeChild(Dt)),Ot),Wt=function(t){var e,i=o("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,r=this.style.cssText;if(qt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Wt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),qt.removeChild(i),this.style.cssText=r,e},Xt=function(t){return!(!Bt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Wt.call(e,!0)}}(t))},Yt=[1,0,0,1,0,0],Ut=function(t,e){var i,n,s,r,a,o,l=t._gsTransform||new zt,h=t.style;if(Nt?n=lt(t,Rt,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(Y))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,!Nt||!(o=!ot(t)||"none"===ot(t).display)&&t.parentNode||(o&&(r=h.display,h.display="block"),t.parentNode||(a=1,qt.appendChild(t)),i=!(n=lt(t,Rt,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,r?h.display=r:o&&Qt(h,"display"),a&&qt.removeChild(t)),(l.svg||t.getCTM&&Xt(t))&&(i&&-1!==(h[Nt]+"").indexOf("matrix")&&(n=h[Nt],i=0),s=t.getAttribute("transform"),i&&s&&(-1!==s.indexOf("matrix")?(n=s,i=0):-1!==s.indexOf("translate")&&(n="matrix(1,0,0,1,"+s.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Yt;for(s=(n||"").match(O)||[],Tt=s.length;-1<--Tt;)r=Number(s[Tt]),s[Tt]=(a=r-(r|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+r:r;return e&&6<s.length?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Gt=it.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var s,r,a,o,l,h,p,u,c,f,d,m,g,y,v,_,b,x,w,T,k,P,A,S,E,C,M,D,F,I,O,L,N=i&&t._gsTransform||new zt,R=N.scaleX<0,V=jt&&(parseFloat(lt(t,Vt,e,!1,"0 0 0").split(" ")[2])||N.zOrigin)||0,j=parseFloat(B.defaultTransformPerspective)||0;if(N.svg=!(!t.getCTM||!Xt(t)),N.svg&&(Et(t,lt(t,Vt,e,!1,"50% 50%")+"",N,t.getAttribute("data-svg-origin")),Mt=B.useSVGTransformAttr||Ht),(s=Ut(t))!==Yt)for(r in 16===s.length?(p=s[0],u=s[1],c=s[2],f=s[3],d=s[4],m=s[5],g=s[6],y=s[7],v=s[8],_=s[9],b=s[10],x=s[12],w=s[13],T=s[14],k=s[11],P=Math.atan2(g,b),N.zOrigin&&(x=v*(T=-N.zOrigin)-s[12],w=_*T-s[13],T=b*T+N.zOrigin-s[14]),N.rotationX=P*K,P&&(A=d*(C=Math.cos(-P))+v*(M=Math.sin(-P)),S=m*C+_*M,E=g*C+b*M,v=d*-M+v*C,_=m*-M+_*C,b=g*-M+b*C,k=y*-M+k*C,d=A,m=S,g=E),P=Math.atan2(-c,b),N.rotationY=P*K,P&&(S=u*(C=Math.cos(-P))-_*(M=Math.sin(-P)),E=c*C-b*M,_=u*M+_*C,b=c*M+b*C,k=f*M+k*C,p=A=p*C-v*M,u=S,c=E),P=Math.atan2(u,p),N.rotation=P*K,P&&(A=p*(C=Math.cos(P))+u*(M=Math.sin(P)),S=d*C+m*M,E=v*C+_*M,u=u*C-p*M,m=m*C-d*M,_=_*C-v*M,p=A,d=S,v=E),N.rotationX&&359.9<Math.abs(N.rotationX)+Math.abs(N.rotation)&&(N.rotationX=N.rotation=0,N.rotationY=180-N.rotationY),P=Math.atan2(d,m),N.scaleX=(1e5*Math.sqrt(p*p+u*u+c*c)+.5|0)/1e5,N.scaleY=(1e5*Math.sqrt(m*m+g*g)+.5|0)/1e5,N.scaleZ=(1e5*Math.sqrt(v*v+_*_+b*b)+.5|0)/1e5,p/=N.scaleX,d/=N.scaleY,u/=N.scaleX,m/=N.scaleY,2e-5<Math.abs(P)?(N.skewX=P*K,d=0,"simple"!==N.skewType&&(N.scaleY*=1/Math.cos(P))):N.skewX=0,N.perspective=k?1/(k<0?-k:k):0,N.x=x,N.y=w,N.z=T,N.svg&&(N.x-=N.xOrigin-(N.xOrigin*p-N.yOrigin*d),N.y-=N.yOrigin-(N.yOrigin*u-N.xOrigin*m))):jt&&!n&&s.length&&N.x===s[4]&&N.y===s[5]&&(N.rotationX||N.rotationY)||(F=(D=6<=s.length)?s[0]:1,I=s[1]||0,O=s[2]||0,L=D?s[3]:1,N.x=s[4]||0,N.y=s[5]||0,a=Math.sqrt(F*F+I*I),o=Math.sqrt(L*L+O*O),l=F||I?Math.atan2(I,F)*K:N.rotation||0,h=O||L?Math.atan2(O,L)*K+l:N.skewX||0,N.scaleX=a,N.scaleY=o,N.rotation=l,N.skewX=h,jt&&(N.rotationX=N.rotationY=N.z=0,N.perspective=j,N.scaleZ=1),N.svg&&(N.x-=N.xOrigin-(N.xOrigin*F+N.yOrigin*O),N.y-=N.yOrigin-(N.xOrigin*I+N.yOrigin*L))),90<Math.abs(N.skewX)&&Math.abs(N.skewX)<270&&(R?(N.scaleX*=-1,N.skewX+=N.rotation<=0?180:-180,N.rotation+=N.rotation<=0?180:-180):(N.scaleY*=-1,N.skewX+=N.skewX<=0?180:-180)),N.zOrigin=V,N)N[r]<2e-5&&-2e-5<N[r]&&(N[r]=0);return i&&(t._gsTransform=N).svg&&(Mt&&t.style[Nt]?z.delayedCall(.001,function(){Qt(t.style,Nt)}):!Mt&&t.getAttribute("transform")&&z.delayedCall(.001,function(){t.removeAttribute("transform")})),N},Zt=it.set3DTransformRatio=it.setTransformRatio=function(t){var e,i,n,s,r,a,o,l,h,p,u,c,f,d,m,g,y,v,_,b,x=this.data,w=this.t.style,T=x.rotation,k=x.rotationX,P=x.rotationY,A=x.scaleX,S=x.scaleY,E=x.scaleZ,C=x.x,M=x.y,D=x.z,F=x.svg,I=x.perspective,O=x.force3D,L=x.skewY,N=x.skewX;if(L&&(N+=L,T+=L),!((1!==t&&0!==t||"auto"!==O||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&O||D||I||P||k||1!==E)||Mt&&F||!jt)T||N||F?(T*=$,b=N*$,i=Math.cos(T)*A,r=Math.sin(T)*A,n=Math.sin(T-b)*-S,a=Math.cos(T-b)*S,b&&"simple"===x.skewType&&(e=Math.tan(b-L*$),n*=e=Math.sqrt(1+e*e),a*=e,L&&(e=Math.tan(L*$),i*=e=Math.sqrt(1+e*e),r*=e)),F&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*n)+x.xOffset,M+=x.yOrigin-(x.xOrigin*r+x.yOrigin*a)+x.yOffset,Mt&&(x.xPercent||x.yPercent)&&(m=this.t.getBBox(),C+=.01*x.xPercent*m.width,M+=.01*x.yPercent*m.height),C<(m=1e-6)&&-m<C&&(C=0),M<m&&-m<M&&(M=0)),_=(1e5*i|0)/1e5+","+(1e5*r|0)/1e5+","+(1e5*n|0)/1e5+","+(1e5*a|0)/1e5+","+C+","+M+")",F&&Mt?this.t.setAttribute("transform","matrix("+_):w[Nt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+_):w[Nt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+A+",0,0,"+S+","+C+","+M+")";else{if(R&&(A<(m=1e-4)&&-m<A&&(A=E=2e-5),S<m&&-m<S&&(S=E=2e-5),!I||x.z||x.rotationX||x.rotationY||(I=0)),T||N)T*=$,g=i=Math.cos(T),y=r=Math.sin(T),N&&(T-=N*$,g=Math.cos(T),y=Math.sin(T),"simple"===x.skewType&&(e=Math.tan((N-L)*$),g*=e=Math.sqrt(1+e*e),y*=e,x.skewY&&(e=Math.tan(L*$),i*=e=Math.sqrt(1+e*e),r*=e))),n=-y,a=g;else{if(!(P||k||1!==E||I||F))return void(w[Nt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+C+"px,"+M+"px,"+D+"px)"+(1!==A||1!==S?" scale("+A+","+S+")":""));i=a=1,n=r=0}p=1,s=o=l=h=u=c=0,f=I?-1/I:0,d=x.zOrigin,m=1e-6,(T=P*$)&&(g=Math.cos(T),u=f*(l=-(y=Math.sin(T))),s=i*y,o=r*y,f*=p=g,i*=g,r*=g),(T=k*$)&&(e=n*(g=Math.cos(T))+s*(y=Math.sin(T)),v=a*g+o*y,h=p*y,c=f*y,s=n*-y+s*g,o=a*-y+o*g,p*=g,f*=g,n=e,a=v),1!==E&&(s*=E,o*=E,p*=E,f*=E),1!==S&&(n*=S,a*=S,h*=S,c*=S),1!==A&&(i*=A,r*=A,l*=A,u*=A),(d||F)&&(d&&(C+=s*-d,M+=o*-d,D+=p*-d+d),F&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*n)+x.xOffset,M+=x.yOrigin-(x.xOrigin*r+x.yOrigin*a)+x.yOffset),C<m&&-m<C&&(C="0"),M<m&&-m<M&&(M="0"),D<m&&-m<D&&(D=0)),_=x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(",_+=(i<m&&-m<i?"0":i)+","+(r<m&&-m<r?"0":r)+","+(l<m&&-m<l?"0":l),_+=","+(u<m&&-m<u?"0":u)+","+(n<m&&-m<n?"0":n)+","+(a<m&&-m<a?"0":a),k||P||1!==E?(_+=","+(h<m&&-m<h?"0":h)+","+(c<m&&-m<c?"0":c)+","+(s<m&&-m<s?"0":s),_+=","+(o<m&&-m<o?"0":o)+","+(p<m&&-m<p?"0":p)+","+(f<m&&-m<f?"0":f)+","):_+=",0,0,0,0,1,0,",_+=C+","+M+","+D+","+(I?1+-D/I:1)+")",w[Nt]=_}};(t=zt.prototype).x=t.y=t.z=t.skewX=t.skewY=t.rotation=t.rotationX=t.rotationY=t.zOrigin=t.xPercent=t.yPercent=t.xOffset=t.yOffset=0,t.scaleX=t.scaleY=t.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,s,r,a){if(n._lastParsedTransform===a)return s;var o,l=(n._lastParsedTransform=a).scale&&"function"==typeof a.scale?a.scale:0;"function"==typeof a[i]&&(o=a[i],a[i]=e),l&&(a.scale=l(I,t));var h,p,u,c,f,d,m,g,y,v=t._gsTransform,_=t.style,b=Lt.length,x=a,w={},T="transformOrigin",k=Gt(t,A,!0,x.parseTransform),P=x.transform&&("function"==typeof x.transform?x.transform(I,F):x.transform);if(k.skewType=x.skewType||k.skewType||B.defaultSkewType,n._transform=k,P&&"string"==typeof P&&Nt)(p=tt.style)[Nt]=P,p.display="block",p.position="absolute",J.body.appendChild(tt),h=Gt(tt,null,!1),"simple"===k.skewType&&(h.scaleY*=Math.cos(h.skewX*$)),k.svg&&(d=k.xOrigin,m=k.yOrigin,h.x-=k.xOffset,h.y-=k.yOffset,(x.transformOrigin||x.svgOrigin)&&(P={},Et(t,ft(x.transformOrigin),P,x.svgOrigin,x.smoothOrigin,!0),d=P.xOrigin,m=P.yOrigin,h.x-=P.xOffset-k.xOffset,h.y-=P.yOffset-k.yOffset),(d||m)&&(g=Ut(tt,!0),h.x-=d-(d*g[0]+m*g[2]),h.y-=m-(d*g[1]+m*g[3]))),J.body.removeChild(tt),h.perspective||(h.perspective=k.perspective),null!=x.xPercent&&(h.xPercent=E(x.xPercent,k.xPercent)),null!=x.yPercent&&(h.yPercent=E(x.yPercent,k.yPercent));else if("object"==typeof x){if(h={scaleX:E(null!=x.scaleX?x.scaleX:x.scale,k.scaleX),scaleY:E(null!=x.scaleY?x.scaleY:x.scale,k.scaleY),scaleZ:E(x.scaleZ,k.scaleZ),x:E(x.x,k.x),y:E(x.y,k.y),z:E(x.z,k.z),xPercent:E(x.xPercent,k.xPercent),yPercent:E(x.yPercent,k.yPercent),perspective:E(x.transformPerspective,k.perspective)},null!=(f=x.directionalRotation))if("object"==typeof f)for(p in f)x[p]=f[p];else x.rotation=f;"string"==typeof x.x&&-1!==x.x.indexOf("%")&&(h.x=0,h.xPercent=E(x.x,k.xPercent)),"string"==typeof x.y&&-1!==x.y.indexOf("%")&&(h.y=0,h.yPercent=E(x.y,k.yPercent)),h.rotation=C("rotation"in x?x.rotation:"shortRotation"in x?x.shortRotation+"_short":"rotationZ"in x?x.rotationZ:k.rotation,k.rotation,"rotation",w),jt&&(h.rotationX=C("rotationX"in x?x.rotationX:"shortRotationX"in x?x.shortRotationX+"_short":k.rotationX||0,k.rotationX,"rotationX",w),h.rotationY=C("rotationY"in x?x.rotationY:"shortRotationY"in x?x.shortRotationY+"_short":k.rotationY||0,k.rotationY,"rotationY",w)),h.skewX=C(x.skewX,k.skewX),h.skewY=C(x.skewY,k.skewY)}for(jt&&null!=x.force3D&&(k.force3D=x.force3D,c=!0),(u=k.force3D||k.z||k.rotationX||k.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==x.scale||(h.scaleZ=1);-1<--b;)(1e-6<(P=h[y=Lt[b]]-k[y])||P<-1e-6||null!=x[y]||null!=Q[y])&&(c=!0,s=new xt(k,y,k[y],P,s),y in w&&(s.e=w[y]),s.xs0=0,s.plugin=r,n._overwriteProps.push(s.n));return P=x.transformOrigin,k.svg&&(P||x.svgOrigin)&&(d=k.xOffset,m=k.yOffset,Et(t,ft(P),h,x.svgOrigin,x.smoothOrigin),s=_t(k,"xOrigin",(v?k:h).xOrigin,h.xOrigin,s,T),s=_t(k,"yOrigin",(v?k:h).yOrigin,h.yOrigin,s,T),d===k.xOffset&&m===k.yOffset||(s=_t(k,"xOffset",v?d:k.xOffset,k.xOffset,s,T),s=_t(k,"yOffset",v?m:k.yOffset,k.yOffset,s,T)),P="0px 0px"),(P||jt&&u&&k.zOrigin)&&(Nt?(c=!0,y=Vt,P=(P||lt(t,y,A,!1,"50% 50%"))+"",(s=new xt(_,y,0,0,s,-1,T)).b=_[y],s.plugin=r,jt?(p=k.zOrigin,P=P.split(" "),k.zOrigin=(2<P.length&&(0===p||"0px"!==P[2])?parseFloat(P[2]):p)||0,s.xs0=s.e=P[0]+" "+(P[1]||"50%")+" 0px",(s=new xt(k,"zOrigin",0,0,s,-1,s.n)).b=p,s.xs0=s.e=k.zOrigin):s.xs0=s.e=P):ft(P+"",k)),c&&(n._transformType=k.svg&&Mt||!u&&3!==this._transformType?2:3),o&&(a[i]=o),l&&(a.scale=l),s},prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,r){e=this.format(e);for(var a,o,l,h,p,u,c,f,d,m,g,y,v=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],_=t.style,b=parseFloat(t.offsetWidth),x=parseFloat(t.offsetHeight),w=e.split(" "),T=0;T<v.length;T++)this.p.indexOf("border")&&(v[T]=P(v[T])),-1!==(l=o=lt(t,v[T],A,!1,"0px")).indexOf(" ")&&(l=(o=l.split(" "))[0],o=o[1]),h=a=w[T],p=parseFloat(l),f=l.substr((p+"").length),""===(c=(d="="===h.charAt(1))?(u=parseInt(h.charAt(0)+"1",10),h=h.substr(2),u*=parseFloat(h),h.substr((u+"").length-(u<0?1:0))||""):(u=parseFloat(h),h.substr((u+"").length)))&&(c=k[i]||f),c!==f&&(m=ht(t,"borderLeft",p,f),g=ht(t,"borderTop",p,f),o="%"===c?(l=m/b*100+"%",g/x*100+"%"):"em"===c?(l=m/(y=ht(t,"borderLeft",1,"em"))+"em",g/y+"em"):(l=m+"px",g+"px"),d&&(h=parseFloat(l)+u+c,a=parseFloat(o)+u+c)),s=wt(_,v[T],l+" "+o,h+" "+a,!1,"0px",s);return s},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,r){return wt(t.style,i,this.format(lt(t,i,A,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,r){var a,o,l,h,p,u,c="background-position",f=A||ot(t,null),d=this.format((f?D?f.getPropertyValue(c+"-x")+" "+f.getPropertyValue(c+"-y"):f.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==d.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(u=lt(t,"backgroundImage").replace(W,""))&&"none"!==u){for(a=d.split(" "),o=m.split(" "),et.setAttribute("src",u),l=2;-1<--l;)(h=-1!==(d=a[l]).indexOf("%"))!=(-1!==o[l].indexOf("%"))&&(p=0===l?t.offsetWidth-et.width:t.offsetHeight-et.height,a[l]=h?parseFloat(d)/100*p+"px":parseFloat(d)/p*100+"%");d=a.join(" ")}return this.parseComplex(t.style,d,m,s,r)},formatter:ft}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return ft(-1===(t+="").indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,r){var a,o,l;return e=D<9?(o=t.currentStyle,l=D<8?" ":",",a="rect("+o.clipTop+l+o.clipRight+l+o.clipBottom+l+o.clipLeft+")",this.format(e).split(",").join(l)):(a=this.format(lt(t,this.p,A,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,s,r)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,r){var a=lt(t,"borderTopWidth",A,!1,"0px"),o=this.format(e).split(" "),l=o[0].replace(N,"");return"px"!==l&&(a=parseFloat(a)/ht(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(a+" "+lt(t,"borderTopStyle",A,!1,"solid")+" "+lt(t,"borderTopColor",A,!1,"#000")),o.join(" "),s,r)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Pt("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s,r){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new xt(a,o,0,0,s,-1,i,!1,0,a[o],e)}});function $t(t){var e,i=this.t,n=i.filter||lt(this.data,"filter")||"",s=this.s+this.c*t|0;100==s&&(e=-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),!lt(this.data,"filter")):(i.filter=n.replace(u,""),!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0==s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(V,"opacity="+s))}Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,r){var a=parseFloat(lt(t,"opacity",A,!1,"1")),o=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===lt(t,"visibility",A)&&0!==e&&(a=0),st?s=new xt(o,"opacity",a,e-a,s):((s=new xt(o,"opacity",100*a,100*(e-a),s)).xn1=l?1:0,o.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=r,s.setRatio=$t),l&&((s=new xt(o,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});function Kt(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}var Qt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(c,"-$1").toLowerCase())):t.removeAttribute(e))};Pt("className",{parser:function(t,e,i,n,s,r,a){var o,l,h,p,u,c=t.getAttribute("class")||"",f=t.style.cssText;if((s=n._classNamePT=new xt(t,i,0,0,s,2)).setRatio=Kt,s.pr=-11,d=!0,s.b=c,l=v(t,A),h=t._gsClassPT){for(p={},u=h.data;u;)p[u.p]=1,u=u._next;h.setRatio(1)}return(t._gsClassPT=s).e="="!==e.charAt(1)?e:c.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",s.e),o=_(t,l,v(t),a,p),t.setAttribute("class",c),s.data=o.firstMPT,t.style.cssText=f,s=s.xfirst=n.parse(t,o.difs,s,r)}});function Jt(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,r,a=this.t.style,o=g.transform.parse;if("all"===this.e)s=!(a.cssText="");else for(n=(e=this.e.split(" ").join("").split(",")).length;-1<--n;)i=e[n],g[i]&&(g[i].parse===o?s=!0:i="transformOrigin"===i?Vt:g[i].p),Qt(a,i);s&&(Qt(a,Nt),(r=this.t._gsTransform)&&(r.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}}for(Pt("clearProps",{parser:function(t,e,i,n,s){return(s=new xt(t,i,0,0,s,2)).setRatio=Jt,s.e=e,s.pr=-10,s.data=n._tween,d=!0,s}}),t="bezier,throwProps,physicsProps,physics2D".split(","),Tt=t.length;Tt--;)At(t[Tt]);(t=B.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i,n){if(!t.nodeType)return!1;this._target=F=t,this._tween=i,this._vars=e,I=n,M=e.autoRound,d=!1,k=e.suffixMap||B.suffixMap,A=ot(t,""),m=this._overwriteProps;var s,r,a,o,l,h,p,u,c,f=t.style;if(b&&""===f.zIndex&&("auto"!==(s=lt(t,"zIndex",A))&&""!==s||this._addLazySet(f,"zIndex",0)),"string"==typeof e&&(o=f.cssText,s=v(t,A),f.cssText=o+";"+e,s=_(t,s,v(t)).difs,!st&&j.test(e)&&(s.opacity=parseFloat(RegExp.$1)),e=s,f.cssText=o),e.className?this._firstPT=r=g.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=r=this.parse(t,e,null),this._transformType){for(c=3===this._transformType,Nt?x&&(b=!0,""===f.zIndex&&("auto"!==(p=lt(t,"zIndex",A))&&""!==p||this._addLazySet(f,"zIndex",0)),w&&this._addLazySet(f,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))):f.zoom=1,a=r;a&&a._next;)a=a._next;u=new xt(t,"transform",0,0,null,2),this._linkCSSP(u,null,a),u.setRatio=Nt?Zt:Ct,u.data=this._transform||Gt(t,A,!0),u.tween=i,u.pr=-1,m.pop()}if(d){for(;r;){for(h=r._next,a=o;a&&a.pr>r.pr;)a=a._next;(r._prev=a?a._prev:l)?r._prev._next=r:o=r,(r._next=a)?a._prev=r:l=r,r=h}this._firstPT=o}return!0},t.parse=function(t,e,i,n){var s,r,a,o,l,h,p,u,c,f,d=t.style;for(s in e){if("function"==typeof(h=e[s])&&(h=h(I,F)),r=g[s])i=r.parse(t,h,s,this,i,n,e);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",ot(t).getPropertyValue(s)+"",h+"",s,!1,s);continue}l=lt(t,s,A)+"",c="string"==typeof h,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||c&&q.test(h)?(c||(h=(3<(h=mt(h)).length?"rgba(":"rgb(")+h.join(",")+")"),i=wt(d,s,l,h,!0,"transparent",i,0,n)):c&&Z.test(h)?i=wt(d,s,l,h,!0,null,i,0,n):(p=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",""!==l&&"auto"!==l||(p="width"===s||"height"===s?(a=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||ot(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=ut[e],r=s.length;for(i=i||ot(t,null);-1<--r;)n-=parseFloat(lt(t,"padding"+s[r],i,!0))||0,n-=parseFloat(lt(t,"border"+s[r]+"Width",i,!0))||0;return n}(t,s,A),"px"):"left"===s||"top"===s?(a=pt(t,s,A),"px"):(a="opacity"!==s?0:1,"")),""===(u=(f=c&&"="===h.charAt(1))?(o=parseInt(h.charAt(0)+"1",10),h=h.substr(2),o*=parseFloat(h),h.replace(N,"")):(o=parseFloat(h),c?h.replace(N,""):""))&&(u=s in k?k[s]:p),h=o||0===o?(f?o+a:o)+u:e[s],p!==u&&(""===u&&"lineHeight"!==s||(o||0===o)&&a&&(a=ht(t,s,a,p),"%"===u?(a/=ht(t,s,100,"%")/100,!0!==e.strictUnits&&(l=a+"%")):"em"===u||"rem"===u||"vw"===u||"vh"===u?a/=ht(t,s,1,u):"px"!==u&&(o=ht(t,s,o,u),u="px"),f&&(!o&&0!==o||(h=o+a+u)))),f&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==d[s]&&(h||h+""!="NaN"&&null!=h)?(i=new xt(d,s,o||a||0,0,i,-1,s,!1,0,l,h)).xs0="none"!==h||"display"!==s&&-1===s.indexOf("Style")?h:l:y("invalid "+s+" tween value: "+e[s]):(i=new xt(d,s,a,o-a,i,0,s,!1!==M&&("px"===u||"zIndex"===s),0,l,h)).xs0=u)}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-6<e&&(e=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(e=Math.round(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},t._enableTransforms=function(t){this._transform=this._transform||Gt(this._target,A,!0),this._transformType=this._transform.svg&&Mt||!t&&3!==this._transformType?2:3};function te(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){var n=this._firstPT=new xt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=te,n.data=this},t._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},t._kill=function(t){var e,i,n,s=t;if(t.autoAlpha||t.alpha){for(i in s={},t)s[i]=t[i];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(t.className&&(e=this._classNamePT)&&((n=e.xfirst)&&n._prev?this._linkCSSP(n._prev,e._next,n._prev._prev):n===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,n._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return r.prototype._kill.call(this,s)};var ee=function(t,e,i){var n,s,r,a;if(t.slice)for(s=t.length;-1<--s;)ee(t[s],e,i);else for(s=(n=t.childNodes).length;-1<--s;)a=(r=n[s]).type,r.style&&(e.push(v(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||ee(r,e,i)};return B.cascadeTo=function(t,e,i){var n,s,r,a,o=z.to(t,e,i),l=[o],h=[],p=[],u=[],c=z._internals.reservedProps;for(t=o._targets||o.target,ee(t,h,u),o.render(e,!0,!0),ee(t,p),o.render(0,!0,!0),o._enabled(!0),n=u.length;-1<--n;)if((s=_(u[n],h[n],p[n])).firstMPT){for(r in s=s.difs,i)c[r]&&(s[r]=i[r]);for(r in a={},s)a[r]=h[n][r];l.push(z.fromTo(u[n],e,a,s))}return l},r.activate([B]),B},!0),e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),(n=e.prototype)._onInitAllProps=function(){for(var t,e,i,n=this._tween,s=n.vars.roundProps.join?n.vars.roundProps:n.vars.roundProps.split(","),r=s.length,a={},o=n._propLookup.roundProps;-1<--r;)a[s[r]]=Math.round;for(r=s.length;-1<--r;)for(t=s[r],e=n._firstPT;e;)i=e._next,e.pg?e.t._mod(a):e.n===t&&(2===e.f&&e.t?function(t){for(;t;)t.f||t.blob||(t.m=Math.round),t=t._next}(e.t._firstPT):(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=o)),e=i;return!1},n._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,Math.round),this._overwriteProps.push(e)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var s,r;if("function"!=typeof t.setAttribute)return!1;for(s in e)"function"==typeof(r=e[s])&&(r=r(n,t)),this._addTween(t,"setAttribute",t.getAttribute(s)+"",r+"",s,!1,s),this._overwriteProps.push(s);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!=typeof e&&(e={rotation:e}),this.finals={};var s,r,a,o,l,h,p=!0===e.useRadians?2*Math.PI:360;for(s in e)"useRadians"!==s&&("function"==typeof(o=e[s])&&(o=o(n,t)),r=(h=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[s]?t[s]:t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]()),l=(o=this.finals[s]="string"==typeof r&&"="===r.charAt(1)?a+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0)-a,h.length&&(-1!==(r=h.join("_")).indexOf("short")&&(l%=p)!==l%(p/2)&&(l=l<0?l+p:l-p),-1!==r.indexOf("_cw")&&l<0?l=(l+9999999999*p)%p-(l/p|0)*p:-1!==r.indexOf("ccw")&&0<l&&(l=(l-9999999999*p)%p-(l/p|0)*p)),(1e-6<l||l<-1e-6)&&(this._addTween(t,s,a,a+l,s),this._overwriteProps.push(s)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){function t(t,e){var i=p("easing."+t,function(){},!0),n=i.prototype=new g;return n.constructor=i,n.getRatio=e,i}function e(t,e,i,n,s){var r=p("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(r,t),r}function y(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=p("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=i.prototype=new g;return n.constructor=i,n.getRatio=e,n.config=function(t){return new i(t)},i}var n,s,r,a=_gsScope.GreenSockGlobals||_gsScope,o=a.com.greensock,l=2*Math.PI,h=Math.PI/2,p=o._class,u=g.register||function(){},c=e("Back",i("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),i("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),i("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),f=p("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),d=f.prototype=new g;return d.constructor=f,d.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._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},f.ease=new f(.7,.7),d.config=f.config=function(t,e,i){return new f(t,e,i)},(d=(n=p("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new g).constructor=n,d.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},d.config=n.config=function(t,e){return new n(t,e)},(d=(s=p("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&&(1<i?i=1:i<0&&(i=0)),l[h++]={x:e,y:i};for(l.sort(function(t,e){return t.x-e.x}),a=new y(1,1,null),u=p;-1<--u;)r=l[u],a=new y(r.x,r.y,a);this._prev=new y(0,0,0!==a.t?a:a.next)},!0)).prototype=new g).constructor=s,d.getRatio=function(t){var e=this._prev;if(t>e.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},d.config=function(t){return new s(t)},s.ease=new s,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*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",(r=function(t,e,i){var n=p("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/l*(Math.asin(1/this._p1)||0),this._p2=l/this._p2},!0),s=n.prototype=new g;return s.constructor=n,s.getRatio=e,s.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),r("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2))},.3),r("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*h)}),t("SineIn",function(t){return 1-Math.cos(t*h)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),p("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),u(a.SlowMo,"SlowMo","ease,"),u(s,"RoughEase","ease,"),u(n,"SteppedEase","ease,"),c},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(c,f){"use strict";var d={},n=c.document,m=c.GreenSockGlobals=c.GreenSockGlobals||c;if(!m.TweenLite){var g,e,i,y=function(t){for(var e=t.split("."),i=m,n=0;n<e.length;n++)i[e[n]]=i=i[e[n]]||{};return i},u=y("com.greensock"),v=1e-10,l=function(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e},_=function(){},b=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),x={},w=function(o,l,h,p){this.sc=x[o]?x[o].sc:[],(x[o]=this).gsClass=null,this.func=h;var u=[];this.check=function(t){for(var e,i,n,s,r=l.length,a=r;-1<--r;)(e=x[l[r]]||new w(l[r],[])).gsClass?(u[r]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&h){if(n=(i=("com.greensock."+o).split(".")).pop(),s=y(i.join("."))[n]=this.gsClass=h.apply(h,u),p)if(m[n]=d[n]=s,"undefined"!=typeof module&&module.exports)if(o===f)for(r in module.exports=d[f]=s,d)s[r]=d[r];else d[f]&&(d[f][n]=s);else"function"==typeof define&&define.amd&&define((c.GreenSockAMDPath?c.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return s});for(r=0;r<this.sc.length;r++)this.sc[r].check()}},this.check(!0)},s=c._gsDefine=function(t,e,i,n){return new w(t,e,i,n)},T=u._class=function(t,e,i){return e=e||function(){},s(t,[],function(){return e},i),e};s.globals=m;var t,r=[0,0,1,1],k=T("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?r.concat(e):r},!0),P=k.map={},a=k.register=function(t,e,i,n){for(var s,r,a,o,l=e.split(","),h=l.length,p=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(r=l[h],s=n?T("easing."+r,null,!0):u.easing[r]||{},a=p.length;-1<--a;)o=p[a],P[r+"."+o]=P[o+r]=s[o]=t.getRatio?t:t[o]||new t};for((t=k.prototype)._calcEnd=!1,t.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},h=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--h;)t=o[h]+",Power"+h,a(new k(null,null,1,h),t,"easeOut",!0),a(new k(null,null,2,h),t,"easeIn"+(0===h?",easeNone":"")),a(new k(null,null,3,h),t,"easeInOut");P.linear=u.easing.Linear.easeIn,P.swing=u.easing.Quad.easeInOut;var A=T("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(t=A.prototype).addEventListener=function(t,e,i,n,s){s=s||0;var r,a,o=this._listeners[t],l=0;for(this!==D||g||D.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(r=o[a]).c===e&&r.s===i?o.splice(a,1):0===l&&r.pr<s&&(l=a+1);o.splice(l,0,{c:e,s:i,up:n,pr:s})},t.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;-1<--i;)if(n[i].c===e)return void n.splice(i,1)},t.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(1<(e=s.length)&&(s=s.slice(0)),i=this._eventTarget;-1<--e;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};for(var o,S=c.requestAnimationFrame,E=c.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},M=C(),h=(o=["ms","moz","webkit","o"]).length;-1<--h&&!S;)S=c[o[h]+"RequestAnimationFrame"],E=c[o[h]+"CancelAnimationFrame"]||c[o[h]+"CancelRequestAnimationFrame"];T("Ticker",function(t,e){var s,r,a,o,l,h=this,p=C(),i=!(!1===e||!S)&&"auto",u=500,c=33,f=function(t){var e,i,n=C()-M;u<n&&(p+=n-c),M+=n,h.time=(M-p)/1e3,e=h.time-l,(!s||0<e||!0===t)&&(h.frame++,l+=e+(o<=e?.004:o-e),i=!0),!0!==t&&(a=r(f)),i&&h.dispatchEvent("tick")};A.call(h),h.time=h.frame=0,h.tick=function(){f(!0)},h.lagSmoothing=function(t,e){if(!arguments.length)return u<1e10;u=t||1e10,c=Math.min(e,u,0)},h.sleep=function(){null!=a&&((i&&E?E:clearTimeout)(a),r=_,a=null,h===D&&(g=!1))},h.wake=function(t){null!==a?h.sleep():t?p+=-M+(M=C()):10<h.frame&&(M=C()-u+5),r=0===s?_:i&&S?S:function(t){return setTimeout(t,1e3*(l-h.time)+1|0)},h===D&&(g=!0),f(2)},h.fps=function(t){if(!arguments.length)return s;o=1/((s=t)||60),l=this.time+o,h.wake()},h.useRAF=function(t){if(!arguments.length)return i;h.sleep(),i=t,h.fps(s)},h.fps(t),setTimeout(function(){"auto"===i&&h.frame<5&&"hidden"!==n.visibilityState&&h.useRAF(!1)},1500)}),(t=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;var p=T("core.Animation",function(t,e){var i;this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,$&&(g||D.wake(),(i=this.vars.useFrames?Z:$).add(this,i._time),this.vars.paused&&this.paused(!0))}),D=p.ticker=new u.Ticker;(t=p.prototype)._dirty=t._gc=t._initted=t._paused=!1,t._totalTime=t._time=0,t._rawPrevTime=-1,t._next=t._last=t._onUpdate=t._timeline=t.timeline=null,t._paused=!1;var F=function(){g&&2e3<C()-M&&("hidden"!==n.visibilityState||!D.lagSmoothing())&&D.wake();var t=setTimeout(F,2e3);t.unref&&t.unref()};F(),t.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},t.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},t.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},t.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},t.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},t.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},t.render=function(t,e,i){},t.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},t.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-7},t._enabled=function(t,e){return g||D.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},t._kill=function(t,e){return this._enabled(!1,!1)},t.kill=function(t,e){return this._kill(t,e),this},t._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},t._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},t._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],s=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},t.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=b(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},t.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},t.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},t.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},t.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},t.totalTime=function(t,e,i){if(g||D.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(n<t&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&Q(),this.render(t,e,!1),N.length&&Q())}return this},t.progress=t.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},t.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},t.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},t.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||v,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},t.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},t.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(g||t||D.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!=i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=T("core.SimpleTimeline",function(t){p.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(t=I.prototype=new p).constructor=I,t.kill()._gc=!1,t._first=t._last=t._recent=null,t._sortChildren=!1,t.add=t.insert=function(t,e,i,n){var s,r;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),s=this._last,this._sortChildren)for(r=t._startTime;s&&s._startTime>r;)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 g||D.wake(),this._totalTime};var O=T("TweenLite",function(t,e,i){if(p.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,a=t.jquery||t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?G[O.defaultOverwrite]:"number"==typeof o?o>>0:G[o],(a||t instanceof Array||t.push&&b(t))&&"number"!=typeof t[0])for(this._targets=r=l(t),this._propLookup=[],this._siblings=[],n=0;n<r.length;n++)(s=r[n])?"string"!=typeof s?s.length&&s!==c&&s[0]&&(s[0]===c||s[0].nodeType&&s[0].style&&!s.nodeType)?(r.splice(n--,1),this._targets=r=r.concat(l(s))):(this._siblings[n]=J(s,this,!1),1===o&&1<this._siblings[n].length&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=r[n--]=O.selector(s))&&r.splice(n+1,1):r.splice(n--,1);else this._propLookup={},this._siblings=J(t,this,!1),1===o&&1<this._siblings.length&&et(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-v,this.render(Math.min(0,-this._delay)))},!0),L=function(t){return t&&t.length&&t!==c&&t[0]&&(t[0]===c||t[0].nodeType&&t[0].style&&!t.nodeType)};(t=O.prototype=new p).constructor=O,t.kill()._gc=!1,t.ratio=0,t._firstPT=t._targets=t._overwrittenProps=t._startAt=null,t._notifyPluginsOfEnabled=t._lazy=!1,O.version="1.20.3",O.defaultEase=t._ease=new k(null,null,1,1),O.defaultOverwrite="auto",O.ticker=D,O.autoSleep=120,O.lagSmoothing=function(t,e){D.lagSmoothing(t,e)},O.selector=c.$||c.jQuery||function(t){var e=c.$||c.jQuery;return e?(O.selector=e)(t):void 0===n?t:n.querySelectorAll?n.querySelectorAll(t):n.getElementById("#"===t.charAt(0)?t.substr(1):t)};var N=[],R={},V=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,z=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m(e,this._target||i.t):e<1e-6&&-1e-6<e&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t,e,i,n){var s,r,a,o,l,h,p,u=[],c=0,f="",d=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,s=t.match(V)||[],r=e.match(V)||[],n&&(n._next=null,n.blob=1,u._firstPT=u._applyPT=n),l=r.length,o=0;o<l;o++)p=r[o],f+=(h=e.substr(c,e.indexOf(p,c)-c))||!o?h:",",c+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),p===s[o]||s.length<=o?f+=p:(f&&(u.push(f),f=""),a=parseFloat(s[o]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===p.charAt(1)?parseInt(p.charAt(0)+"1",10)*parseFloat(p.substr(2)):parseFloat(p)-a)||0,f:0,m:d&&d<4?Math.round:0}),c+=p.length;return(f+=e.substr(c))&&u.push(f),u.setRatio=z,j.test(e)&&(u.end=null),u},q=function(t,e,i,n,s,r,a,o,l){"function"==typeof n&&(n=n(l||0,t));var h=typeof t[e],p="function"!=h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),u="get"!==i?i:p?a?t[p](a):t[p]():t[e],c="string"==typeof n&&"="===n.charAt(1),f={t:t,p:e,s:u,f:"function"==h,pg:0,n:s||e,m:r?"function"==typeof r?r:Math.round:0,pr:0,c:c?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-u||0};if("number"==typeof u&&("number"==typeof n||c)||(a||isNaN(u)||!c&&isNaN(n)||"boolean"==typeof u||"boolean"==typeof n?(f.fp=a,f={t:B(u,c?parseFloat(f.s)+f.c:n,o||O.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(f.s=parseFloat(u),c||(f.c=parseFloat(n)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f},H=O._internals={isArray:b,isSelector:L,lazyTweens:N,blobDif:B},W=O._plugins={},X=H.tweenLookup={},Y=0,U=H.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Z=p._rootFramesTimeline=new I,$=p._rootTimeline=new I,K=30,Q=H.lazyRender=function(){var t,e=N.length;for(R={};-1<--e;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};$._startTime=D.time,Z._startTime=D.frame,$._active=Z._active=!0,setTimeout(Q,1),p._updateRoot=O.render=function(){var t,e,i;if(N.length&&Q(),$.render((D.time-$._startTime)*$._timeScale,!1,!1),Z.render((D.frame-Z._startTime)*Z._timeScale,!1,!1),N.length&&Q(),D.frame>=K){for(i in K=D.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===D._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||D.sleep()}}},D.addEventListener("tick",p._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;f<o;f++)if((a=s[f])!==e)a._gc||a._kill(null,t,e)&&(r=!0);else if(5===n)break;return r}for(var l,h=e._startTime+v,p=[],u=0,c=0===e._duration,f=s.length;-1<--f;)(a=s[f])===e||a._gc||a._paused||(a._timeline!==e._timeline?(l=l||it(e,0,c),0===it(a,l,c)&&(p[u++]=a)):a._startTime<=h&&a._startTime+a.totalDuration()/a._timeScale>h&&((c||!a._initted)&&h-a._startTime<=2e-10||(p[u++]=a)));for(f=u;-1<--f;)if(a=p[f],2===n&&a._kill(i,t,e)&&(r=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!tt(a,e))continue;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?v:(r+=t.totalDuration()/t._timeScale/s)>e+v?0:r-e-v};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(0<this._time)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},a)U[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=O.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=p=p?p instanceof k?p:"function"==typeof p?new k(p,a.easeParams):P[p]||O.defaultEase:O.defaultEase,a.easeParams instanceof Array&&p.config&&(this._ease=p.config.apply(p,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,t=0;t<r;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&O._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},t._initProps=function(t,e,i,n,s){var r,a,o,l,h,p;if(null==t)return!1;for(r in R[t._gsTweenID]&&Q(),this.vars.css||t.style&&t!==c&&t.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)U[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,t),this.vars)if(p=this.vars[r],U[r])p&&(p instanceof Array||p.push&&b(p))&&-1!==p.join("").indexOf("{self}")&&(this.vars[r]=p=this._swapSelfInParams(p,this));else if(W[r]&&(l=new W[r])._onInitTween(t,this.vars[r],this,s)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:r,pg:1,pr:l._priority,m:0},a=l._overwriteProps.length;-1<--a;)e[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else e[r]=q.call(this,t,r,"get",p,r,0,null,this.vars.stringFilter,s);return n&&this._kill(n,t)?this._initProps(t,e,i,n,s):1<this._overwrite&&this._firstPT&&1<i.length&&et(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(R[t._gsTweenID]=!0),o)},t.render=function(t,e,i){var n,s,r,a,o,l,h,p=this._time,u=this._duration,c=this._rawPrevTime;if(u-1e-7<=t&&0<=t?(this._totalTime=this._time=u,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===u&&(!this._initted&&this.vars.lazy&&!i||(this._startTime===this._timeline._duration&&(t=0),(c<0||t<=0&&-1e-7<=t||c===v&&"isPause"!==this.data)&&c!==t&&(i=!0,v<c&&(s="onReverseComplete")),this._rawPrevTime=a=!e||t||c===t?t:v))):t<1e-7?(this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===u&&0<c)&&(s="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===u&&(!this._initted&&this.vars.lazy&&!i||(0<=c&&(c!==v||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||c===t?t:v))),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0)):(this._totalTime=this._time=t,this._easeType?(o=t/u,(1===(l=this._easeType)||3===l&&.5<=o)&&(o=1-o),3===l&&(o*=2),1===(h=this._easePower)?o*=o:2===h?o*=o*o:3===h?o*=o*o*o:4===h&&(o*=o*o*o*o),this.ratio=1===l?1-o:2===l?o:t/u<.5?o/2:1-o/2):this.ratio=this._ease.getRatio(t/u)),this._time!==p||i){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=this._totalTime=p,this._rawPrevTime=c,N.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/u):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==p&&0<=t&&(this._active=!0),0===p&&(this._startAt&&(0<=t?this._startAt.render(t,!0,i):s=s||"_dummyGS"),this.vars.onStart&&(0===this._time&&0!==u||e||this._callback("onStart"))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==p||n||i)&&this._callback("onUpdate")),s&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===u&&this._rawPrevTime===v&&a!==v&&(this._rawPrevTime=0)))}},t._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:O.selector(e)||e;var n,s,r,a,o,l,h,p,u,c=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((b(e)||L(e))&&"number"!=typeof e[0])for(n=e.length;-1<--n;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;-1<--n;)if(e===this._targets[n]){o=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,p=t!==s&&"all"!==s&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(O.onOverwrite||this.vars.onOverwrite)){for(r in h)o[r]&&(u=u||[]).push(r);if((u||!t)&&!tt(this,i,e,u))return!1}for(r in h)(a=o[r])&&(c&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[r]),p&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},t.invalidate=function(){return this._notifyPluginsOfEnabled&&O._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],p.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-v,this.render(Math.min(0,-this._delay))),this},t._enabled=function(t,e){if(g||D.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;-1<--i;)this._siblings[i]=J(n[i],this,!0);else this._siblings=J(this.target,this,!0)}return p.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&O._onPluginEvent(t?"_onEnable":"_onDisable",this)},O.to=function(t,e,i){return new O(t,e,i)},O.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new O(t,e,i)},O.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new O(t,e,n)},O.delayedCall=function(t,e,i,n,s){return new O(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},O.set=function(t,e){return new O(t,0,e)},O.getTweensOf=function(t,e){if(null==t)return[];var i,n,s,r;if(t="string"==typeof t&&O.selector(t)||t,(b(t)||L(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];-1<--i;)n=n.concat(O.getTweensOf(t[i],e));for(i=n.length;-1<--i;)for(r=n[i],s=i;-1<--s;)r===n[s]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=J(t).concat()).length;-1<--i;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},O.killTweensOf=O.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=O.getTweensOf(t,e),s=n.length;-1<--s;)n[s]._kill(i,t)};var nt=T("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(t=nt.prototype,nt.version="1.19.0",nt.API=2,t._firstPT=null,t._addTween=q,t.setRatio=z,t._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},t._mod=t._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},O._onPluginEvent=function(t,e){var i,n,s,r,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,n=s;n&&n.pr>o.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},s.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=T("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},o=c._gsQueue){for(h=0;h<o.length;h++)o[h]();for(t in x)x[t].func||c.console.log("GSAP encountered missing dependency: "+t)}g=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";function a(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,s="client"+i,r=document.body;return t===h||t===l||t===r?Math.max(l[n],r[n])-(h["inner"+i]||l[s]||r[s]):t[n]-t["offset"+i]}function o(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===h&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=l[i]?l:document.body),function(){return t[i]}}function s(t,e){var i,n=("string"==typeof(i=t)&&(i=TweenLite.selector(i)),i.length&&i!==h&&i[0]&&i[0].style&&!i.nodeType&&(i=i[0]),(i===h||i.nodeType&&i.style?i:null).getBoundingClientRect()),s=!e||e===h||e===document.body,r=(s?l:e).getBoundingClientRect(),a={x:n.left-r.left,y:n.top-r.top};return!s&&e&&(a.x+=o(e,"x")(),a.y+=o(e,"y")()),a}function n(t,e,i){var n=typeof t;return isNaN(t)?"number"==n||"string"==n&&"="===t.charAt(1)?t:"max"===t?a(e,i):Math.min(a(e,i),s(t,e)[i]):parseFloat(t)}var l=(_gsScope.document||{}).documentElement,h=_gsScope,p=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(t,e,i){return this._wdw=t===h,this._target=t,this._tween=i,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=o(t,"x"),this.getY=o(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,n(e.x,t,"x")-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,n(e.y,t,"y")-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,n=i-this.yPrev,s=e-this.xPrev,r=p.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r<s||s<-r)&&e<a(this._target,"x")&&(this.skipX=!0),!this.skipY&&(r<n||n<-r)&&i<a(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?h.scrollTo(this.skipX?e:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),t=p.prototype;p.max=a,p.getOffset=s,p.buildGetter=o,p.autoKillThreshold=7,t._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";function t(){return(_gsScope.GreenSockGlobals||_gsScope).ScrollToPlugin}"undefined"!=typeof module&&module.exports?(require("../TweenLite.js"),module.exports=t()):"function"==typeof define&&define.amd&&define(["TweenLite"],t)}();var CountUp=function(t,e,i,n,s,r){var l=this;if(l.version=function(){return"1.9.3"},l.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e},formattingFn:function(t){var e,i,n,s,r,a,o=t<0;if(t=Math.abs(t).toFixed(l.decimals),e=(t+="").split("."),i=e[0],n=1<e.length?l.options.decimal+e[1]:"",l.options.useGrouping){for(s="",r=0,a=i.length;r<a;++r)0!==r&&r%3==0&&(s=l.options.separator+s),s=i[a-r-1]+s;i=s}l.options.numerals.length&&(i=i.replace(/[0-9]/g,function(t){return l.options.numerals[+t]}),n=n.replace(/[0-9]/g,function(t){return l.options.numerals[+t]}));return(o?"-":"")+l.options.prefix+i+n+l.options.suffix},prefix:"",suffix:"",numerals:[]},r&&"object"==typeof r)for(var a in l.options)r.hasOwnProperty(a)&&null!==r[a]&&(l.options[a]=r[a]);""===l.options.separator?l.options.useGrouping=!1:l.options.separator=""+l.options.separator;for(var o=0,h=["webkit","moz","ms","o"],p=0;p<h.length&&!window.requestAnimationFrame;++p)window.requestAnimationFrame=window[h[p]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[h[p]+"CancelAnimationFrame"]||window[h[p]+"CancelRequestAnimationFrame"];function u(t){return"number"==typeof t&&!isNaN(t)}window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-o)),s=window.setTimeout(function(){t(i+n)},n);return o=i+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)}),l.initialize=function(){return!!l.initialized||(l.error="",l.d="string"==typeof t?document.getElementById(t):t,l.d?(l.startVal=Number(e),l.endVal=Number(i),u(l.startVal)&&u(l.endVal)?(l.decimals=Math.max(0,n||0),l.dec=Math.pow(10,l.decimals),l.duration=1e3*Number(s)||2e3,l.countDown=l.startVal>l.endVal,l.frameVal=l.startVal,l.initialized=!0):(l.error="[CountUp] startVal ("+e+") or endVal ("+i+") is not a number",!1)):!(l.error="[CountUp] target is null or undefined"))},l.printValue=function(t){var e=l.options.formattingFn(t),i=Math.floor(e/60),n=Math.floor(e%60);i<10&&(i="0"+i),n<10&&(n="0"+n),e=i+" <span>:</span> "+n,"INPUT"===l.d.tagName?this.d.value=e:"text"===l.d.tagName||"tspan"===l.d.tagName?this.d.textContent=e:this.d.innerHTML=e},l.count=function(t){l.startTime||(l.startTime=t);var e=(l.timestamp=t)-l.startTime;l.remaining=l.duration-e,l.options.useEasing?l.countDown?l.frameVal=l.startVal-l.options.easingFn(e,0,l.startVal-l.endVal,l.duration):l.frameVal=l.options.easingFn(e,l.startVal,l.endVal-l.startVal,l.duration):l.countDown?l.frameVal=l.startVal-(l.startVal-l.endVal)*(e/l.duration):l.frameVal=l.startVal+(l.endVal-l.startVal)*(e/l.duration),l.countDown?l.frameVal=l.frameVal<l.endVal?l.endVal:l.frameVal:l.frameVal=l.frameVal>l.endVal?l.endVal:l.frameVal,l.frameVal=Math.round(l.frameVal*l.dec)/l.dec,l.printValue(l.frameVal),e<l.duration?l.rAF=requestAnimationFrame(l.count):l.callback&&l.callback()},l.start=function(t){l.initialize()&&(l.callback=t,l.rAF=requestAnimationFrame(l.count))},l.pauseResume=function(){l.paused?(l.paused=!1,delete l.startTime,l.duration=l.remaining,l.startVal=l.frameVal,requestAnimationFrame(l.count)):(l.paused=!0,cancelAnimationFrame(l.rAF))},l.reset=function(){l.paused=!1,delete l.startTime,l.initialized=!1,l.initialize()&&(cancelAnimationFrame(l.rAF),l.printValue(l.startVal))},l.update=function(t){l.initialize()&&(u(t=Number(t))?(l.error="",t!==l.frameVal&&(cancelAnimationFrame(l.rAF),l.paused=!1,delete l.startTime,l.startVal=l.frameVal,l.endVal=t,l.countDown=l.startVal>l.endVal,l.rAF=requestAnimationFrame(l.count))):l.error="[CountUp] update() - new endVal is not a number: "+t)},l.initialize()&&l.printValue(l.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 s={},i.m=n=[function(t,e,i){"use strict";var n=i(1).isInBrowser,s=new(i(2))(n?document.body:null);s.setStateFromDOM(null),s.listenToDOM(),n&&(window.scrollMonitor=s),t.exports=s},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),u=(c.prototype.listenToDOM=function(){r&&(window.addEventListener?(this.item===document.body?window.addEventListener("scroll",this.DOMListener):this.item.addEventListener("scroll",this.DOMListener),window.addEventListener("resize",this.DOMListener)):(this.item===document.body?window.attachEvent("onscroll",this.DOMListener):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))})},c.prototype.destroy=function(){},c.prototype.DOMListener=function(t){this.setStateFromDOM(t)},c.prototype.setStateFromDOM=function(t){var e=l(this.item),i=a(this.item),n=o(this.item);this.setState(e,i,n,t)},c.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)},c.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)},c.prototype.createCustomContainer=function(){return new c},c.prototype.createContainer=function(t){"string"==typeof t?t=document.querySelector(t):t&&0<t.length&&(t=t[0]);var e=new c(t,this);return e.setStateFromDOM(),e.listenToDOM(),e},c.prototype.create=function(t,e){"string"==typeof t?t=document.querySelector(t):t&&0<t.length&&(t=t[0]);var i=new p(this,t,e);return this.watchers.push(i),i},c.prototype.beget=function(t,e){return this.create(t,e)},c);function c(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var i,n,s,r=this;this.item=t,this.watchers=[],this.viewportTop=null,this.viewportBottom=null,this.documentHeight=o(t),this.viewportHeight=a(t),this.DOMListener=function(){c.prototype.DOMListener.apply(r,arguments)},this.eventTypes=h,e&&(this.containerWatcher=e.create(t)),this.update=function(){(function(){if(r.viewportTop=l(t),r.viewportBottom=r.viewportTop+r.viewportHeight,r.documentHeight=o(t),r.documentHeight!==i){for(n=r.watchers.length;n--;)r.watchers[n].recalculateLocation();i=r.documentHeight}})(),function(){for(s=r.watchers.length;s--;)r.watchers[s].update();for(s=r.watchers.length;s--;)r.watchers[s].triggerCallbacks()}()},this.recalculateLocations=function(){this.documentHeight=0,this.update()}}t.exports=u},function(t,e,i){"use strict";function n(t,e,i){function a(t,e){if(0!==t.length)for(h=t.length;h--;)(p=t[h]).callback.call(n,e,n),p.isOne&&t.splice(h,1)}var n=this;this.watchItem=e,this.container=t,this.offsets=i?i===+i?{top:i,bottom:i}:{top:i.top||x.top,bottom:i.bottom||x.bottom}:x,this.callbacks={};for(var s,r,o,l,h,p,u=0,c=b.length;u<c;u++)n.callbacks[b[u]]=[];this.locked=!1,this.triggerCallbacks=function(t){switch(this.isInViewport&&!s&&a(this.callbacks[d],t),this.isFullyInViewport&&!r&&a(this.callbacks[m],t),this.isAboveViewport!==o&&this.isBelowViewport!==l&&(a(this.callbacks[f],t),r||this.isFullyInViewport||(a(this.callbacks[m],t),a(this.callbacks[y],t)),s||this.isInViewport||(a(this.callbacks[d],t),a(this.callbacks[g],t))),!this.isFullyInViewport&&r&&a(this.callbacks[y],t),!this.isInViewport&&s&&a(this.callbacks[g],t),this.isInViewport!==s&&a(this.callbacks[f],t),!0){case s!==this.isInViewport:case r!==this.isFullyInViewport:case o!==this.isAboveViewport:case l!==this.isBelowViewport:a(this.callbacks[_],t)}s=this.isInViewport,r=this.isFullyInViewport,o=this.isAboveViewport,l=this.isBelowViewport},this.recalculateLocation=function(){if(!this.locked){var t=this.top,e=this.bottom;if(this.watchItem.nodeName){var i=this.watchItem.style.display;"none"===i&&(this.watchItem.style.display="");for(var n=0,s=this.container;s.containerWatcher;)n+=s.containerWatcher.top-s.containerWatcher.container.viewportTop,s=s.containerWatcher.container;var r=this.watchItem.getBoundingClientRect();this.top=r.top+this.container.viewportTop-n,this.bottom=r.bottom+this.container.viewportTop-n,"none"===i&&(this.watchItem.style.display=i)}else this.watchItem===+this.watchItem?0<this.watchItem?this.top=this.bottom=this.watchItem:this.top=this.bottom=this.container.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===t&&void 0===e||this.top===t&&this.bottom===e||a(this.callbacks[v],null)}},this.recalculateLocation(),this.update(),s=this.isInViewport,r=this.isFullyInViewport,o=this.isAboveViewport,l=this.isBelowViewport}var s=i(1),f=s.VISIBILITYCHANGE,d=s.ENTERVIEWPORT,m=s.FULLYENTERVIEWPORT,g=s.EXITVIEWPORT,y=s.PARTIALLYEXITVIEWPORT,v=s.LOCATIONCHANGE,_=s.STATECHANGE,b=s.eventTypes,x=s.defaultOffsets;n.prototype={on:function(t,e,i){switch(!0){case t===f&&!this.isInViewport&&this.isAboveViewport:case t===d&&this.isInViewport:case t===m&&this.isFullyInViewport:case t===g&&this.isAboveViewport&&!this.isInViewport:case t===y&&this.isInViewport&&this.isAboveViewport:if(e.call(this,this.container.latestEvent,this),i)return}if(!this.callbacks[t])throw new Error("Tried to add a scroll monitor listener of type "+t+". Your options are: "+b.join(", "));this.callbacks[t].push({callback:e,isOne:i||!1})},off:function(t,e){if(!this.callbacks[t])throw new Error("Tried to remove a scroll monitor listener of type "+t+". Your options are: "+b.join(", "));for(var i,n=0;i=this.callbacks[t][n];n++)if(i.callback===e){this.callbacks[t].splice(n,1);break}},one:function(t,e){this.on(t,e,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.top<this.container.viewportTop,this.isBelowViewport=this.bottom>this.container.viewportBottom,this.isInViewport=this.top<this.container.viewportBottom&&this.bottom>this.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<i;e++)this.callbacks[b[e]].length=0},lock:function(){this.locked=!0},unlock:function(){this.locked=!1}};for(var r=0,a=b.length;r<a;r++){var o=b[r];n.prototype[o]=function(i){return function(t,e){this.on.call(this,i,t,e)}}(o)}t.exports=n}],i.c=s,i.p="",i(0);function i(t){if(s[t])return s[t].exports;var e=s[t]={exports:{},id:t,loaded:!1};return n[t].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}var n,s}),function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(t):t.bodymovin=e(t)}(window||{},function(a){var o,l,T="http://www.w3.org/2000/svg",w="",e=!0,t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),x=(Math.round,Math.pow),k=Math.sqrt,P=(Math.abs,Math.floor),y=(Math.max,Math.min),n={};!function(){for(var t=Object.getOwnPropertyNames(Math),e=t.length,i=0;i<e;i+=1)n[t[i]]=Math[t[i]]}(),n.random=Math.random,n.abs=function(t){if("object"==typeof t&&t.length){for(var e=Array.apply(null,{length:t.length}),i=t.length,n=0;n<i;n+=1)e[n]=Math.abs(t[n]);return e}return Math.abs(t)};var A=150,v=Math.PI/180,_=.5519;function i(t){l=t?Math.round:function(t){return t}}function s(t){return Math.round(1e4*t)/1e4}function r(t,e,i,n){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=n<0?-1:1}function h(t,e){this.type=t,this.direction=e<0?-1:1}function p(t,e,i,n){this.type=t,this.currentLoop=e,this.totalLoops=i,this.direction=n<0?-1:1}function u(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function c(t,e){this.type=t,this.target=e}function S(t,e){void 0===e&&(e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890");for(var i="",n=t;0<n;--n)i+=e[Math.round(Math.random()*(e.length-1))];return i}function f(t,e,i){var n,s,r,a,o,l,h,p;switch(1===arguments.length&&(e=t.s,i=t.v,t=t.h),l=i*(1-e),h=i*(1-(o=6*t-(a=Math.floor(6*t)))*e),p=i*(1-(1-o)*e),a%6){case 0:n=i,s=p,r=l;break;case 1:n=h,s=i,r=l;break;case 2:n=l,s=i,r=p;break;case 3:n=l,s=h,r=i;break;case 4:n=p,s=l,r=i;break;case 5:n=i,s=l,r=h}return[n,s,r]}function d(t,e,i){1===arguments.length&&(e=t.g,i=t.b,t=t.r);var n,s=Math.max(t,e,i),r=Math.min(t,e,i),a=s-r,o=0===s?0:a/s,l=s/255;switch(s){case r:n=0;break;case t:n=e-i+a*(e<i?6:0),n/=6*a;break;case e:n=i-t+2*a,n/=6*a;break;case i:n=t-e+4*a,n/=6*a}return[n,o,l]}function st(t,e){var i=d(255*t[0],255*t[1],255*t[2]);return i[1]+=e,1<i[1]?i[1]=1:i[1]<=0&&(i[1]=0),f(i[0],i[1],i[2])}function rt(t,e){var i=d(255*t[0],255*t[1],255*t[2]);return i[2]+=e,1<i[2]?i[2]=1:i[2]<0&&(i[2]=0),f(i[0],i[1],i[2])}function at(t,e){var i=d(255*t[0],255*t[1],255*t[2]);return i[0]+=e/360,1<i[0]?--i[0]:i[0]<0&&(i[0]+=1),f(i[0],i[1],i[2])}i(!1);var m=function(){for(var t,n=[],e=0;e<256;e+=1)t=e.toString(16),n[e]=1==t.length?"0"+t:t;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+n[t]+n[e]+n[i]}}();var g;g=[];var b=function(){this.reset=E,this.rotate=C,this.rotateX=M,this.rotateY=D,this.rotateZ=F,this.skew=O,this.skewFromAxis=L,this.shear=I,this.scale=N,this.setTransform=R,this.translate=V,this.transform=j,this.applyToPoint=H,this.applyToX=W,this.applyToY=X,this.applyToZ=Y,this.applyToPointArray=Z,this.applyToPointStringified=$,this.toArray=K,this.toCSS=Q,this.to2dCSS=J,this.toString=tt,this.clone=B,this.cloneFromProps=q,this.inversePoints=G,this.inversePoint=U,this._t=this.transform,this.isIdentity=z,this._identity=!0,this._identityCalculated=!1,this.props=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.cssParts=["matrix3d(","",")"]};function E(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function C(t){if(0===t)return this;var e=Math.cos(t),i=Math.sin(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function M(t){if(0===t)return this;var e=Math.cos(t),i=Math.sin(t);return this._t(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1)}function D(t){if(0===t)return this;var e=Math.cos(t),i=Math.sin(t);return this._t(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1)}function F(t){if(0===t)return this;var e=Math.cos(t),i=Math.sin(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function I(t,e){return this._t(1,e,t,1,0,0)}function O(t,e){return this.shear(Math.tan(t),Math.tan(e))}function L(t,e){var i=Math.cos(e),n=Math.sin(e);return this._t(i,n,0,0,-n,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function N(t,e,i){return i=isNaN(i)?1:i,1==t&&1==e&&1==i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function R(t,e,i,n,s,r,a,o,l,h,p,u,c,f,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=n,this.props[4]=s,this.props[5]=r,this.props[6]=a,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=p,this.props[11]=u,this.props[12]=c,this.props[13]=f,this.props[14]=d,this.props[15]=m,this}function V(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function j(t,e,i,n,s,r,a,o,l,h,p,u,c,f,d,m){if(1===t&&0===e&&0===i&&0===n&&0===s&&1===r&&0===a&&0===o&&0===l&&0===h&&1===p&&0===u)return 0===c&&0===f&&0===d||(this.props[12]=this.props[12]*t+this.props[13]*s+this.props[14]*l+this.props[15]*c,this.props[13]=this.props[12]*e+this.props[13]*r+this.props[14]*h+this.props[15]*f,this.props[14]=this.props[12]*i+this.props[13]*a+this.props[14]*p+this.props[15]*d,this.props[15]=this.props[12]*n+this.props[13]*o+this.props[14]*u+this.props[15]*m),this._identityCalculated=!1,this;var g=this.props[0],y=this.props[1],v=this.props[2],_=this.props[3],b=this.props[4],x=this.props[5],w=this.props[6],T=this.props[7],k=this.props[8],P=this.props[9],A=this.props[10],S=this.props[11],E=this.props[12],C=this.props[13],M=this.props[14],D=this.props[15];return this.props[0]=g*t+y*s+v*l+_*c,this.props[1]=g*e+y*r+v*h+_*f,this.props[2]=g*i+y*a+v*p+_*d,this.props[3]=g*n+y*o+v*u+_*m,this.props[4]=b*t+x*s+w*l+T*c,this.props[5]=b*e+x*r+w*h+T*f,this.props[6]=b*i+x*a+w*p+T*d,this.props[7]=b*n+x*o+w*u+T*m,this.props[8]=k*t+P*s+A*l+S*c,this.props[9]=k*e+P*r+A*h+S*f,this.props[10]=k*i+P*a+A*p+S*d,this.props[11]=k*n+P*o+A*u+S*m,this.props[12]=E*t+C*s+M*l+D*c,this.props[13]=E*e+C*r+M*h+D*f,this.props[14]=E*i+C*a+M*p+D*d,this.props[15]=E*n+C*o+M*u+D*m,this._identityCalculated=!1,this}function z(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function B(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e]}function q(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function H(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function W(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function X(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function Y(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function U(t){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],i=this.props[5]/e,n=-this.props[1]/e,s=-this.props[4]/e,r=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,o=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e;return[t[0]*i+t[1]*s+a,t[0]*n+t[1]*r+o,0]}function G(t){for(var e=t.length,i=[],n=0;n<e;n+=1)i[n]=U(t[n]);return i}function Z(t,e,i,n){if(n&&2===n){var s=Je.newPoint();return s[0]=t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],s[1]=t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],s}return[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]]}function $(t,e){return this.isIdentity()?t+","+e:l(t*this.props[0]+e*this.props[4]+this.props[12])+","+l(t*this.props[1]+e*this.props[5]+this.props[13])}function K(){return[this.props[0],this.props[1],this.props[2],this.props[3],this.props[4],this.props[5],this.props[6],this.props[7],this.props[8],this.props[9],this.props[10],this.props[11],this.props[12],this.props[13],this.props[14],this.props[15]]}function Q(){return t?"matrix3d("+s(this.props[0])+","+s(this.props[1])+","+s(this.props[2])+","+s(this.props[3])+","+s(this.props[4])+","+s(this.props[5])+","+s(this.props[6])+","+s(this.props[7])+","+s(this.props[8])+","+s(this.props[9])+","+s(this.props[10])+","+s(this.props[11])+","+s(this.props[12])+","+s(this.props[13])+","+s(this.props[14])+","+s(this.props[15])+")":(this.cssParts[1]=this.props.join(","),this.cssParts.join(""))}function J(){return"matrix("+s(this.props[0])+","+s(this.props[1])+","+s(this.props[4])+","+s(this.props[5])+","+s(this.props[12])+","+s(this.props[13])+")"}function tt(){return""+this.toArray()}function b(){}!function(o,l){var h,p=this,u=256,c=6,f="random",d=l.pow(u,c),m=l.pow(2,52),g=2*m,y=u-1;function v(t){var e,i=t.length,a=this,n=0,s=a.i=a.j=0,r=a.S=[];for(i||(t=[i++]);n<u;)r[n]=n++;for(n=0;n<u;n++)r[n]=r[s=y&s+t[n%i]+(e=r[n])],r[s]=e;(a.g=function(t){for(var e,i=0,n=a.i,s=a.j,r=a.S;t--;)e=r[n=y&n+1],i=i*u+r[y&(r[n]=r[s=y&s+e])+(r[s]=e)];return a.i=n,a.j=s,i})(u)}function _(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function b(t,e){for(var i,n=t+"",s=0;s<n.length;)e[y&s]=y&(i^=19*e[y&s])+n.charCodeAt(s++);return x(e)}function x(t){return String.fromCharCode.apply(0,t)}l["seed"+f]=function(t,e,i){function n(){for(var t=a.g(c),e=d,i=0;t<m;)t=(t+i)*u,e*=u,i=a.g(1);for(;g<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e}var s=[],r=b(function t(e,i){var n,s=[],r=typeof e;if(i&&"object"==r)for(n in e)try{s.push(t(e[n],i-1))}catch(t){}return s.length?s:"string"==r?e:e+"\0"}((e=1==e?{entropy:!0}:e||{}).entropy?[t,x(o)]:null==t?function(){try{if(h)return x(h.randomBytes(u));var t=new Uint8Array(u);return(p.crypto||p.msCrypto).getRandomValues(t),x(t)}catch(t){var e=p.navigator,i=e&&e.plugins;return[+new Date,p,i,p.screen,x(o)]}}():t,3),s),a=new v(s);return n.int32=function(){return 0|a.g(4)},n.quick=function(){return a.g(4)/4294967296},n.double=n,b(x(a.S),o),(e.pass||i||function(t,e,i,n){return n&&(n.S&&_(n,a),t.state=function(){return _(a,{})}),i?(l[f]=t,e):t})(n,r,"global"in e?e.global:this==l,e.state)},b(l.random(),o)}([],n);var et,it,nt,ot,lt,ht=(et={getBezierEasing:function(t,e,i,n,s){var r=s||("bez_"+t+"_"+e+"_"+i+"_"+n).replace(/\./g,"p");if(it[r])return it[r];var a=new ft([t,e,i,n]);return it[r]=a}},it={},ot=1/((nt=11)-1),lt="function"==typeof Float32Array,ft.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:ut(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;i<nt;++i)this._mSampleValues[i]=ut(i*ot,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],n=this._mSampleValues,s=0,r=1,a=nt-1;r!==a&&n[r]<=t;++r)s+=ot;var o=s+(t-n[--r])/(n[r+1]-n[r])*ot,l=ct(o,e,i);return.001<=l?function(t,e,i,n){for(var s=0;s<4;++s){var r=ct(e,i,n);if(0===r)return e;e-=(ut(e,i,n)-t)/r}return e}(t,o,e,i):0===l?o:function(t,e,i,n,s){for(var r,a,o=0;0<(r=ut(a=e+(i-e)/2,n,s)-t)?i=a:e=a,1e-7<Math.abs(r)&&++o<10;);return a}(t,s,s+ot,e,i)}},et);function pt(t,e){return 1-3*e+3*t}function ut(t,e,i){return((pt(e,i)*t+(3*i-6*e))*t+3*e)*t}function ct(t,e,i){return 3*pt(e,i)*t*t+2*(3*i-6*e)*t+3*e}function ft(t){this._p=t,this._mSampleValues=new(lt?Float32Array:Array)(nt),this._precomputed=!1,this.get=this.get.bind(this)}function dt(t,e,i){if(!e){var n=Object.create(t.prototype,i);return n&&"[object Function]"==={}.toString.call(n.init)&&n.init(),n}e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).prototype._parent=t.prototype}function mt(t,e){for(var i in t.prototype)t.prototype.hasOwnProperty(i)&&(e.prototype[i]=t.prototype[i])}!function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;e<t.length&&!a.requestAnimationFrame;++e)a.requestAnimationFrame=a[t[e]+"RequestAnimationFrame"],a.cancelAnimationFrame=a[t[e]+"CancelAnimationFrame"]||a[t[e]+"CancelRequestAnimationFrame"];a.requestAnimationFrame||(a.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),s=setTimeout(function(){t(i+n)},n);return r=i+n,s}),a.cancelAnimationFrame||(a.cancelAnimationFrame=function(t){clearTimeout(t)})}();var gt=function(){function y(t,e,i,n,s,r){var a=t*n+e*s+i*r-s*n-r*t-i*e;return-1e-4<a&&a<1e-4}Math;var h=function(t,e,i,n){for(var s,r,a,o,l=A,h=0,p=[],u=[],c={addedLength:0,segments:[]},f=i.length,d=0;d<l;d+=1){for(a=d/(l-1),s=o=0;s<f;s+=1)r=x(1-a,3)*t[s]+3*x(1-a,2)*a*i[s]+3*(1-a)*x(a,2)*n[s]+x(a,3)*e[s],p[s]=r,null!==u[s]&&(o+=x(p[s]-u[s],2)),u[s]=p[s];o&&(h+=o=k(o)),c.segments.push(new m(h,a))}return c.addedLength=h,c};function m(t,e){this.l=t,this.p=e}function v(t){this.segmentLength=0,this.points=new Array(t)}function _(t,e){this.partialLength=t,this.point=e}var b,t=(b={},function(t){var e=t.s,i=t.e,n=t.to,s=t.ti,r=(e.join("_")+"_"+i.join("_")+"_"+n.join("_")+"_"+s.join("_")).replace(/\./g,"p");if(b[r])t.bezierData=b[r];else{var a,o,l,h,p,u=A,c=0,f=null;2===e.length&&(e[0]!=i[0]||e[1]!=i[1])&&y(e[0],e[1],i[0],i[1],e[0]+n[0],e[1]+n[1])&&y(e[0],e[1],i[0],i[1],i[0]+s[0],i[1]+s[1])&&(u=2);for(var d=new v(u),m=n.length,g=0;g<u;g+=1){for(p=new Array(m),l=g/(u-1),a=h=0;a<m;a+=1)o=x(1-l,3)*e[a]+3*x(1-l,2)*l*(e[a]+n[a])+3*(1-l)*x(l,2)*(i[a]+s[a])+x(l,3)*i[a],p[a]=o,null!==f&&(h+=x(p[a]-f[a],2));c+=h=k(h),d.points[g]=new _(h,p),f=p}d.segmentLength=c,t.bezierData=d,b[r]=d}});function d(t,e){var i=e.segments,n=i.length,s=P((n-1)*t),r=t*e.addedLength,a=0;if(r==i[s].l)return i[s].p;for(var o=i[s].l>r?-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;l<r-1;l+=1)a[l]=h(i[l],i[l+1],n[l],s[l+1]),o+=a[l].addedLength;return e&&(a[l]=h(i[l],i[0],n[l],s[0]),o+=a[l].addedLength),{lengths:a,totalLength:o}},getNewSegment:function(t,e,i,n,s,r,a){for(var o=new g,l=d(s=s<0?0:1<s?1:s,a),h=d(r=1<r?1:r,a),p=t.length,u=1-l,c=1-h,f=0;f<p;f+=1)o.pt1[f]=Math.round(1e3*(u*u*u*t[f]+(l*u*u+u*l*u+u*u*l)*i[f]+(l*l*u+u*l*l+l*u*l)*n[f]+l*l*l*e[f]))/1e3,o.pt3[f]=Math.round(1e3*(u*u*c*t[f]+(l*u*c+u*l*c+u*u*h)*i[f]+(l*l*c+u*l*h+l*u*h)*n[f]+l*l*h*e[f]))/1e3,o.pt4[f]=Math.round(1e3*(u*c*c*t[f]+(l*c*c+u*h*c+u*c*h)*i[f]+(l*h*c+u*h*h+l*c*h)*n[f]+l*h*h*e[f]))/1e3,o.pt2[f]=Math.round(1e3*(c*c*c*t[f]+(h*c*c+c*h*c+c*c*h)*i[f]+(h*h*c+c*h*h+h*c*h)*n[f]+h*h*h*e[f]))/1e3;return o},getPointInSegment:function(t,e,i,n,s,r){var a=d(s,r),o=1-a;return[Math.round(1e3*(o*o*o*t[0]+(a*o*o+o*a*o+o*o*a)*i[0]+(a*a*o+o*a*a+a*o*a)*n[0]+a*a*a*e[0]))/1e3,Math.round(1e3*(o*o*o*t[1]+(a*o*o+o*a*o+o*o*a)*i[1]+(a*a*o+o*a*a+a*o*a)*n[1]+a*a*a*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,i,n,s,r,a,o,l){if(0===i&&0===r&&0===l)return y(t,e,n,s,a,o);var h=Math.sqrt(Math.pow(n-t,2)+Math.pow(s-e,2)+Math.pow(r-i,2)),p=Math.sqrt(Math.pow(a-t,2)+Math.pow(o-e,2)+Math.pow(l-i,2)),u=Math.sqrt(Math.pow(a-n,2)+Math.pow(o-s,2)+Math.pow(l-r,2)),c=p<h?u<h?h-p-u:u-p-h:p<u?u-p-h:p-h-u;return-1e-4<c&&c<1e-4}}}();var yt,vt,_t,bt,xt,wt,Tt,kt,Pt=(yt=[4,4,14],vt=function(t){if(Et(yt,t.v)&&(Ct(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&Ct(t.assets[i].layers)},_t=[4,7,99],xt=function(t){if(t.chars&&!Et(_t,t.v))for(var e,i,n,s,r=t.chars.length,a=0;a<r;a+=1)if(t.chars[a].data&&t.chars[a].data.shapes)for(i=(s=t.chars[a].data.shapes[0].it).length,e=0;e<i;e+=1)(n=s[e].ks.k).__converted||(St(s[e].ks.k),n.__converted=!0)},bt=[4,1,9],wt=function(t){if(Et(bt,t.v)&&(Mt(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&Mt(t.assets[i].layers)},Tt=[4,4,18],kt=function(t){if(Et(Tt,t.v)&&(Dt(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&Dt(t.assets[i].layers)},{completeData:function(t,e){t.__complete||(wt(t),vt(t),xt(t),kt(t),At(t.layers,t.assets,e),t.__complete=!0)}});function At(t,e,i){for(var n,s,r,a,o=t.length,l=0;l<o;l+=1)if("ks"in(n=t[l])&&!n.completed){if(n.completed=!0,n.tt&&(t[l-1].td=n.tt),n.hasMask)for(var h=n.masksProperties,p=h.length,u=0;u<p;u+=1)if(h[u].pt.k.i)St(h[u].pt.k);else for(r=h[u].pt.k.length,s=0;s<r;s+=1)h[u].pt.k[s].s&&St(h[u].pt.k[s].s[0]),h[u].pt.k[s].e&&St(h[u].pt.k[s].e[0]);0===n.ty?(n.layers=function(t,e){var i=0,n=e.length;for(;i<n;){if(e[i].id===t)return e[i].layers.__used?JSON.parse(JSON.stringify(e[i].layers)):(e[i].layers.__used=!0,e[i].layers);i+=1}}(n.refId,e),At(n.layers,e,i)):4===n.ty?function t(e){var i,n=e.length;var s,r;for(i=n-1;0<=i;--i)if("sh"==e[i].ty){if(e[i].ks.k.i)St(e[i].ks.k);else for(r=e[i].ks.k.length,s=0;s<r;s+=1)e[i].ks.k[s].s&&St(e[i].ks.k[s].s[0]),e[i].ks.k[s].e&&St(e[i].ks.k[s].e[0]);0}else"gr"==e[i].ty&&t(e[i].it)}(n.shapes):5==n.ty&&(0!==(a=n).t.a.length||"m"in a.t.p||(a.singleShape=!0))}}function St(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function Et(t,e){var i=e?e.split("."):[100,100,100];if(t[0]>i[0])return 1;if(!(i[0]>t[0])){if(t[1]>i[1])return 1;if(!(i[1]>t[1]))return t[2]>i[2]||(i[2],void t[2])}}function Ct(t){for(var e,i,n=t.length,s=0;s<n;s+=1)5===t[s].ty&&(e=t[s],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}function Mt(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&!function t(e){for(var i,n,s=e.length,r=0;r<s;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(n=e[r].c.k.length,i=0;i<n;i+=1)e[r].c.k[i].s&&(e[r].c.k[i].s[0]/=255,e[r].c.k[i].s[1]/=255,e[r].c.k[i].s[2]/=255,e[r].c.k[i].s[3]/=255),e[r].c.k[i].e&&(e[r].c.k[i].e[0]/=255,e[r].c.k[i].e[1]/=255,e[r].c.k[i].e[2]/=255,e[r].c.k[i].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}(t[i].shapes)}function Dt(t){for(var e,i,n,s=t.length,r=0;r<s;r+=1){if((e=t[r]).hasMask)for(var a=e.masksProperties,o=a.length,l=0;l<o;l+=1)if(a[l].pt.k.i)a[l].pt.k.c=a[l].cl;else for(n=a[l].pt.k.length,i=0;i<n;i+=1)a[l].pt.k[i].s&&(a[l].pt.k[i].s[0].c=a[l].cl),a[l].pt.k[i].e&&(a[l].pt.k[i].e[0].c=a[l].cl);4===e.ty&&!function t(e){for(var i,n,s=e.length-1;0<=s;--s)if("sh"==e[s].ty)if(e[s].ks.k.i)e[s].ks.k.c=e[s].closed;else for(n=e[s].ks.k.length,i=0;i<n;i+=1)e[s].ks.k[i].s&&(e[s].ks.k[i].s[0].c=e[s].closed),e[s].ks.k[i].e&&(e[s].ks.k[i].e[0].c=e[s].closed);else"gr"==e[s].ty&&t(e[s].it)}(e.shapes)}}var Ft,It=(Ft=5e3,Nt.prototype.addChars=function(t){if(t){this.chars||(this.chars=[]);for(var e,i,n=t.length,s=this.chars.length,r=0;r<n;r+=1){for(e=0,i=!1;e<s;)this.chars[e].style===t[r].style&&this.chars[e].fFamily===t[r].fFamily&&this.chars[e].ch===t[r].ch&&(i=!0),e+=1;i||(this.chars.push(t[r]),s+=1)}}},Nt.prototype.addFonts=function(t,e){if(t){if(this.chars)return this.loaded=!0,void(this.fonts=t.list);for(var i,n,s,r=t.list,a=r.length,o=0;o<a;o+=1){r[o].loaded=!1,r[o].monoCase=Ot(r[o].fFamily,"monospace"),r[o].sansCase=Ot(r[o].fFamily,"sans-serif"),r[o].fPath?"p"===r[o].fOrigin||3===r[o].origin?((i=document.createElement("style")).type="text/css",i.innerHTML="@font-face {font-family: "+r[o].fFamily+"; font-style: normal; src: url('"+r[o].fPath+"');}",e.appendChild(i)):"g"===r[o].fOrigin||1===r[o].origin?((n=document.createElement("link")).type="text/css",n.rel="stylesheet",n.href=r[o].fPath,e.appendChild(n)):"t"!==r[o].fOrigin&&2!==r[o].origin||((s=document.createElement("script")).setAttribute("src",r[o].fPath),e.appendChild(s)):r[o].loaded=!0,r[o].helper=function(t,e){var i=document.createElementNS(T,"text");i.style.fontSize="100px",i.style.fontFamily=e.fFamily,i.textContent="1",e.fClass?(i.style.fontFamily="inherit",i.className=e.fClass):i.style.fontFamily=e.fFamily,t.appendChild(i);var n=document.createElement("canvas").getContext("2d");return n.font="100px "+e.fFamily,n}(e,r[o]),this.fonts.push(r[o])}Lt.bind(this)()}else this.loaded=!0},Nt.prototype.getCharData=function(t,e,i){for(var n=0,s=this.chars.length;n<s;){if(this.chars[n].ch===t&&this.chars[n].style===e&&this.chars[n].fFamily===i)return this.chars[n];n+=1}},Nt.prototype.getFontByName=function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return"sans-serif"},Nt.prototype.measureText=function(t,e,i){return this.getFontByName(e).helper.measureText(t).width*i/100},Nt);function Ot(t,e){var i=document.createElement("span");i.style.fontFamily=e;var n=document.createElement("span");n.innerHTML="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(n),document.body.appendChild(i);var s=n.offsetWidth;return n.style.fontFamily=t+", "+e,{node:n,w:s,parent:i}}function Lt(){for(var t,e,i=this.fonts.length,n=i,s=0;s<i;s+=1)if(this.fonts[s].loaded)--n;else if("t"===this.fonts[s].fOrigin||2===this.fonts[s].origin){if(a.Typekit&&a.Typekit.load&&0===this.typekitLoaded){this.typekitLoaded=1;try{a.Typekit.load({async:!0,active:function(){this.typekitLoaded=2}.bind(this)})}catch(t){}}2===this.typekitLoaded&&(this.fonts[s].loaded=!0)}else"n"===this.fonts[s].fOrigin||0===this.fonts[s].origin?this.fonts[s].loaded=!0:(t=this.fonts[s].monoCase.node,e=this.fonts[s].monoCase.w,t.offsetWidth!==e?(--n,this.fonts[s].loaded=!0):(t=this.fonts[s].sansCase.node,e=this.fonts[s].sansCase.w,t.offsetWidth!==e&&(--n,this.fonts[s].loaded=!0)),this.fonts[s].loaded&&(this.fonts[s].sansCase.parent.parentNode.removeChild(this.fonts[s].sansCase.parent),this.fonts[s].monoCase.parent.parentNode.removeChild(this.fonts[s].monoCase.parent)));0!==n&&Date.now()-this.initTime<Ft?setTimeout(Lt.bind(this),20):setTimeout(function(){this.loaded=!0}.bind(this),0)}function Nt(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.loaded=!1,this.initTime=Date.now()}var Rt,Vt,jt,zt,Bt,qt,Ht,Wt=(Rt=-999999,Vt=function(t,e,i){this.elem=t,this.frameId=-1,this.type="transform",this.dynamicProperties=[],this.mdf=!1,this.data=e,this.getValue=he,this.applyToMatrix=le,this.setInverted=pe,this.autoOrient=ue,this.v=new b,e.p.s?(this.px=Wt.getProp(t,e.p.x,0,0,this.dynamicProperties),this.py=Wt.getProp(t,e.p.y,0,0,this.dynamicProperties),e.p.z&&(this.pz=Wt.getProp(t,e.p.z,0,0,this.dynamicProperties))):this.p=Wt.getProp(t,e.p,1,0,this.dynamicProperties),e.r?this.r=Wt.getProp(t,e.r,0,v,this.dynamicProperties):e.rx&&(this.rx=Wt.getProp(t,e.rx,0,v,this.dynamicProperties),this.ry=Wt.getProp(t,e.ry,0,v,this.dynamicProperties),this.rz=Wt.getProp(t,e.rz,0,v,this.dynamicProperties),this.or=Wt.getProp(t,e.or,1,v,this.dynamicProperties),this.or.sh=!0),e.sk&&(this.sk=Wt.getProp(t,e.sk,0,v,this.dynamicProperties),this.sa=Wt.getProp(t,e.sa,0,v,this.dynamicProperties)),e.a&&(this.a=Wt.getProp(t,e.a,1,0,this.dynamicProperties)),e.s&&(this.s=Wt.getProp(t,e.s,1,.01,this.dynamicProperties)),e.o?this.o=Wt.getProp(t,e.o,0,.01,this.dynamicProperties):this.o={mdf:!1,v:1},this.dynamicProperties.length?i.push(this):(this.a&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r?this.v.rotate(-this.r.v):this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?e.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])),Object.defineProperty(this,"position",{get:Qt}),Object.defineProperty(this,"xPosition",{get:Jt}),Object.defineProperty(this,"yPosition",{get:te}),Object.defineProperty(this,"orientation",{get:ie}),Object.defineProperty(this,"anchorPoint",{get:ee}),Object.defineProperty(this,"rotation",{get:ne}),Object.defineProperty(this,"scale",{get:se}),Object.defineProperty(this,"opacity",{get:re}),Object.defineProperty(this,"skew",{get:ae}),Object.defineProperty(this,"skewAxis",{get:oe})},jt=function(t,e,i,n){this.elem=t,this.frameId=-1,this.dataProps=new Array(e.length),this.renderer=i,this.mdf=!1,this.k=!1,"svg"===this.renderer?this.dasharray="":this.dasharray=new Array(e.length-1),this.dashoffset=0;for(var s,r=e.length,a=0;a<r;a+=1)s=Wt.getProp(t,e[a].v,0,0,n),this.k=!!s.k||this.k,this.dataProps[a]={n:e[a].n,p:s};this.getValue=ge,this.k?n.push(this):this.getValue(!0)},zt=Math.max,Bt=Math.min,qt=Math.floor,Ht=function(t,e,i){this.mdf=!1,this.k=!1,this.data=e,this.dynamicProperties=[],this.getValue=ye,this.getMult=ve,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.s=Wt.getProp(t,e.s||{k:0},0,0,this.dynamicProperties),"e"in e?this.e=Wt.getProp(t,e.e,0,0,this.dynamicProperties):this.e={v:100},this.o=Wt.getProp(t,e.o||{k:0},0,0,this.dynamicProperties),this.xe=Wt.getProp(t,e.xe||{k:0},0,0,this.dynamicProperties),this.ne=Wt.getProp(t,e.ne||{k:0},0,0,this.dynamicProperties),this.a=Wt.getProp(t,e.a,0,.01,this.dynamicProperties),this.dynamicProperties.length?i.push(this):this.getValue()},{getProp:ce,getDashProp:function(t,e,i,n){return new jt(t,e,i,n)},getTextSelectorProp:function(t,e,i){return new Ht(t,e,i)},getGradientProp:fe});function Xt(t,e,i,n){var s,r=this.offsetTime;i.constructor===Array&&(s=Array.apply(null,{length:i.length}));for(var a,o,l,h,p=e,u=this.keyframes.length-1,c=!0;c;){if(a=this.keyframes[p],o=this.keyframes[p+1],p==u-1&&t>=o.t-r){a.h&&(a=o),e=0;break}if(o.t-r>t){e=p;break}p<u-1?p+=1:(e=0,c=!1)}if(a.to){a.bezierData||gt.buildBezierData(a);var f=a.bezierData;if(t>=o.t-r||t<a.t-r){for(var d=t>=o.t-r?f.points.length-1:0,m=f.points[d].point.length,g=0;g<m;g+=1)s[g]=f.points[d].point[g];n._lastBezierData=null}else{a.__fnct?h=a.__fnct:(h=ht.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,a.__fnct=h),l=h((t-(a.t-r))/(o.t-r-(a.t-r)));for(var y,v=f.segmentLength*l,_=n.lastFrame<t&&n._lastBezierData===f?n._lastAddedLength:0,b=n.lastFrame<t&&n._lastBezierData===f?n._lastPoint:0,c=!0,x=f.points.length;c;){if(_+=f.points[b].partialLength,0==v||0===l||b==f.points.length-1){for(m=f.points[b].point.length,g=0;g<m;g+=1)s[g]=f.points[b].point[g];break}if(_<=v&&v<_+f.points[b+1].partialLength){for(y=(v-_)/f.points[b+1].partialLength,m=f.points[b].point.length,g=0;g<m;g+=1)s[g]=f.points[b].point[g]+(f.points[b+1].point[g]-f.points[b].point[g])*y;break}b<x-1?b+=1:c=!1}n._lastPoint=b,n._lastAddedLength=_-f.points[b].partialLength,n._lastBezierData=f}}else for(var w,T,k,P,A,S,E,u=a.s.length,p=0;p<u;p+=1){1!==a.h&&(l=t>=o.t-r?1:t<a.t-r?0:(a.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[p]?h=a.__fnct[p]:(w=a.o.x[p]||a.o.x[0],T=a.o.y[p]||a.o.y[0],k=a.i.x[p]||a.i.x[0],P=a.i.y[p]||a.i.y[0],h=ht.getBezierEasing(w,T,k,P).get,a.__fnct[p]=h)):a.__fnct?h=a.__fnct:(w=a.o.x,T=a.o.y,k=a.i.x,P=a.i.y,h=ht.getBezierEasing(w,T,k,P).get,a.__fnct=h),h((t-(a.t-r))/(o.t-r-(a.t-r))))),A=this.sh&&1!==a.h?((S=a.s[p])-(E=a.e[p])<-180?S+=360:180<S-E&&(S-=360),S+(E-S)*l):1===a.h?a.s[p]:a.s[p]+(a.e[p]-a.s[p])*l,1===u?s=A:s[p]=A}return{value:s,iterationIndex:e}}function Yt(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1;var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==Rt&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e))){var n=this._caching.lastFrame<t?this._caching.lastIndex:0,s=this.interpolateValue(t,n,this.pv,this._caching);if(this._caching.lastIndex=s.iterationIndex,this.pv.constructor===Array)for(n=0;n<this.v.length;)this.pv[n]=s.value[n],this.v[n]=this.mult?this.pv[n]*this.mult:this.pv[n],this.lastPValue[n]!==this.pv[n]&&(this.mdf=!0,this.lastPValue[n]=this.pv[n]),n+=1;else this.pv=s.value,this.v=this.mult?this.pv*this.mult:this.pv,this.lastPValue!=this.pv&&(this.mdf=!0,this.lastPValue=this.pv)}this._caching.lastFrame=t,this.frameId=this.elem.globalData.frameId}}function Ut(){}function Gt(t,e,i){this.mult=i,this.v=i?e.k*i:e.k,this.pv=e.k,this.mdf=!1,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.getValue=Ut}function Zt(t,e,i){this.mult=i,this.data=e,this.mdf=!1,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1,this.v=Array.apply(null,{length:e.k.length}),this.pv=Array.apply(null,{length:e.k.length}),this.lastValue=Array.apply(null,{length:e.k.length});var n=Array.apply(null,{length:e.k.length});this.vel=n.map(function(){return 0});for(var s=e.k.length,r=0;r<s;r+=1)this.v[r]=i?e.k[r]*i:e.k[r],this.pv[r]=e.k[r];this.getValue=Ut}function $t(t,e,i){this.keyframes=e.k,this.offsetTime=t.data.st,this.lastValue=-99999,this.lastPValue=-99999,this.frameId=-1,this._caching={lastFrame:Rt,lastIndex:0},this.k=!0,this.kf=!0,this.data=e,this.mult=i,this.elem=t,this.comp=t.comp,this.v=i?e.k[0].s[0]*i:e.k[0].s[0],this.pv=e.k[0].s[0],this.getValue=Yt,this.interpolateValue=Xt}function Kt(t,e,i){for(var n,s,r,a,o=e.k.length,l=0;l<o-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l].e&&(n=e.k[l].s,s=e.k[l].e,r=e.k[l].to,a=e.k[l].ti,(2===n.length&&(n[0]!==s[0]||n[1]!==s[1])&&gt.pointOnLine2D(n[0],n[1],s[0],s[1],n[0]+r[0],n[1]+r[1])&&gt.pointOnLine2D(n[0],n[1],s[0],s[1],s[0]+a[0],s[1]+a[1])||3===n.length&&(n[0]!==s[0]||n[1]!==s[1]||n[2]!==s[2])&&gt.pointOnLine3D(n[0],n[1],n[2],s[0],s[1],s[2],n[0]+r[0],n[1]+r[1],n[2]+r[2])&&gt.pointOnLine3D(n[0],n[1],n[2],s[0],s[1],s[2],s[0]+a[0],s[1]+a[1],s[2]+a[2]))&&(e.k[l].to=null,e.k[l].ti=null));this.keyframes=e.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this.mult=i,this.elem=t,this.comp=t.comp,this._caching={lastFrame:Rt,lastIndex:0},this.getValue=Yt,this.interpolateValue=Xt,this.frameId=-1,this.v=Array.apply(null,{length:e.k[0].s.length}),this.pv=Array.apply(null,{length:e.k[0].s.length}),this.lastValue=Array.apply(null,{length:e.k[0].s.length}),this.lastPValue=Array.apply(null,{length:e.k[0].s.length})}function Qt(){return this.p?ExpressionValue(this.p):[this.px.v,this.py.v,this.pz?this.pz.v:0]}function Jt(){return ExpressionValue(this.px)}function te(){return ExpressionValue(this.py)}function ee(){return ExpressionValue(this.a)}function ie(){return ExpressionValue(this.or)}function ne(){return this.r?ExpressionValue(this.r,1/v):ExpressionValue(this.rz,1/v)}function se(){return ExpressionValue(this.s,100)}function re(){return ExpressionValue(this.o,100)}function ae(){return ExpressionValue(this.sk)}function oe(){return ExpressionValue(this.sa)}function le(t){for(var e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i].mdf&&(this.mdf=!0);this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function he(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1;for(var t,e,i=this.dynamicProperties.length,n=0;n<i;n+=1)this.dynamicProperties[n].getValue(),this.dynamicProperties[n].mdf&&(this.mdf=!0);this.mdf&&(this.v.reset(),this.a&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r?this.v.rotate(-this.r.v):this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented&&this.p.keyframes&&this.p.getValueAtTime&&(e=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(t=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/this.elem.globalData.frameRate,0),this.p.getValueAtTime(this.p.keyframes[0].t/this.elem.globalData.frameRate,0)):this.p._caching.lastFrame+this.p.offsetTime>=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 pe(){this.inverted=!0,this.iv=new b,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 ue(){}function ce(t,e,i,n,s){var r;if(2===i)r=new Vt(t,e,s);else if(0===e.a)r=new(0===i?Gt:Zt)(t,e,n);else if(1===e.a)r=new(0===i?$t:Kt)(t,e,n);else if(e.k.length)if("number"==typeof e.k[0])r=new Zt(t,e,n);else switch(i){case 0:r=new $t(t,e,n);break;case 1:r=new Kt(t,e,n)}else r=new Gt(t,e,n);return r.k&&s.push(r),r}function fe(t,e,i){return new me(t,e,i)}function de(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<n;s+=1)e=s%4==0?100:255,i=Math.round(this.prop.v[s]*e),this.c[s]!==i&&(this.c[s]=i,this.cmdf=!0);if(this.o.length)for(n=this.prop.v.length,s=4*this.data.p;s<n;s+=1)e=s%2==0?100:1,i=s%2==0?Math.round(100*this.prop.v[s]):this.prop.v[s],this.o[s-4*this.data.p]!==i&&(this.o[s-4*this.data.p]=i,this.omdf=!0)}}function me(t,e,i){this.prop=ce(t,e.k,1,null,[]),this.data=e,this.k=this.prop.k,this.c=Array.apply(null,{length:4*e.p});var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=Array.apply(null,{length:n}),this.cmdf=!1,this.omdf=!1,this.getValue=de,this.prop.k&&i.push(this),this.getValue(!0)}function ge(t){var e=0,i=this.dataProps.length;if(this.elem.globalData.frameId!==this.frameId||t){for(this.mdf=!1,this.frameId=this.elem.globalData.frameId;e<i;){if(this.dataProps[e].p.mdf){this.mdf=!0;break}e+=1}if(this.mdf||t)for("svg"===this.renderer&&(this.dasharray=""),e=0;e<i;e+=1)"o"!=this.dataProps[e].n?"svg"===this.renderer?this.dasharray+=" "+this.dataProps[e].p.v:this.dasharray[e]=this.dataProps[e].p.v:this.dashoffset=this.dataProps[e].p.v}}function ye(t){if(this.mdf=t||!1,this.dynamicProperties.length)for(var e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i].mdf&&(this.mdf=!0);var n=this.elem.textProperty.currentData?this.elem.textProperty.currentData.l.length:0;t&&2===this.data.r&&(this.e.v=n);var s,r=2===this.data.r?1:100/n,a=this.o.v/r,o=this.s.v/r+a,l=this.e.v/r+a;l<o&&(s=o,o=l,l=s),this.finalS=o,this.finalE=l}function ve(t){var e,i,n,s=ht.getBezierEasing(this.ne.v/100,0,1-this.xe.v/100,1).get,r=0,a=this.finalS,o=this.finalE,l=this.data.sh;return(r=2==l?s(r=o===a?o<=t?1:0:zt(0,Bt(.5/(o-a)+(t-a)/(o-a),1))):3==l?s(r=o===a?o<=t?0:1:1-zt(0,Bt(.5/(o-a)+(t-a)/(o-a),1))):4==l?(o===a?r=0:(r=zt(0,Bt(.5/(o-a)+(t-a)/(o-a),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5==l?s(r=o===a?0:(i=-(e=o-a)/2+(t=Bt(zt(0,t+.5-a),o-a)),n=e/2,Math.sqrt(1-i*i/(n*n)))):6==l?s(r=o===a?0:(t=Bt(zt(0,t+.5-a),o-a),(1+Math.cos(Math.PI+2*Math.PI*t/(o-a)))/2)):(t>=qt(a)&&(r=t-a<0?1-(a-t):zt(0,Bt(o-t,1))),s(r)))*this.a.v}function _e(){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})}_e.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=Je.newPoint(),this.o[i]=Je.newPoint(),this.i[i]=Je.newPoint(),i+=1},_e.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},_e.prototype.doubleArrayLength=function(){this.v=this.v.concat(Array.apply(null,{length:this._maxLength})),this.i=this.i.concat(Array.apply(null,{length:this._maxLength})),this.o=this.o.concat(Array.apply(null,{length:this._maxLength})),this._maxLength*=2},_e.prototype.setXYAt=function(t,e,i,n,s){var r;switch(this._length=Math.max(this._length,n+1),this._length>=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]=Je.newPoint()),r[n][0]=t,r[n][1]=e},_e.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 be,xe,we=function(){var r=-999999;function t(t,e,i,n){var s,r;if(t<this.keyframes[0].t-this.offsetTime)s=this.keyframes[0].s[0],r=!0,e=0;else 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[0]:this.keyframes[this.keyframes.length-2].e[0],r=!0;else{for(var a,o,l,h,p,u,c,f,d=e,m=this.keyframes.length-1,g=!0;g&&(a=this.keyframes[d],!((o=this.keyframes[d+1]).t-this.offsetTime>t));)d<m-1?d+=1:g=!1;e=d,(r=1===a.h)||(c=t>=o.t-this.offsetTime?1:t<a.t-this.offsetTime?0:(a.__fnct?u=a.__fnct:(u=ht.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y).get,a.__fnct=u),u((t-(a.t-this.offsetTime))/(o.t-this.offsetTime-(a.t-this.offsetTime)))),f=a.e[0]),s=a.s[0]}l=i._length,p=s.i[0].length;for(var y,v=!1,_=0;_<l;_+=1)for(h=0;h<p;h+=1)y=r?(y=s.i[_][h],i.i[_][h]!==y&&(i.i[_][h]=y,n&&(this.pv.i[_][h]=y),v=!0),y=s.o[_][h],i.o[_][h]!==y&&(i.o[_][h]=y,n&&(this.pv.o[_][h]=y),v=!0),s.v[_][h]):(y=s.i[_][h]+(f.i[_][h]-s.i[_][h])*c,i.i[_][h]!==y&&(i.i[_][h]=y,n&&(this.pv.i[_][h]=y),v=!0),y=s.o[_][h]+(f.o[_][h]-s.o[_][h])*c,i.o[_][h]!==y&&(i.o[_][h]=y,n&&(this.pv.o[_][h]=y),v=!0),s.v[_][h]+(f.v[_][h]-s.v[_][h])*c),i.v[_][h]!==y&&(i.v[_][h]=y,n&&(this.pv.v[_][h]=y),v=!0);return v&&(i.c=s.c),{iterationIndex:e,hasModified:v}}function s(){this.paths=this.localShapeCollection,this.k||(this.mdf=!1)}function o(t,e,i){this.__shapeObject=1,this.comp=t.comp,this.k=!1,this.mdf=!1;var n=3===i?e.pt.k:e.ks.k;this.v=ti.clone(n),this.pv=ti.clone(this.v),this.localShapeCollection=oi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s}function l(t,e,i){this.__shapeObject=1,this.comp=t.comp,this.elem=t,this.offsetTime=t.data.st,this._lastIndex=0,this.keyframes=3===i?e.pt.k:e.ks.k,this.k=!0,this.kf=!0;var n=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=ti.newShape(),this.v.setPathData(this.keyframes[0].s[0].c,n),this.pv=ti.clone(this.v),this.localShapeCollection=oi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s}o.prototype.interpolateShape=t,o.prototype.getValue=function(){return this.v},l.prototype.getValue=function(){var t,e,i,n,s;this.elem.globalData.frameId!==this.frameId&&(this.mdf=!1,t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,this.lastFrame!==r&&(this.lastFrame<e&&t<e||this.lastFrame>i&&i<t)||(n=this.lastFrame<t?this._lastIndex:0,s=this.interpolateShape(t,n,this.v,!0),this._lastIndex=s.iterationIndex,this.mdf=s.hasModified,s.hasModified&&(this.paths=this.localShapeCollection)),this.lastFrame=t,this.frameId=this.elem.globalData.frameId)},l.prototype.interpolateShape=t;var a,h=(a=_,function(t,e){this.v=ti.newShape(),this.v.setPathData(!0,4),this.localShapeCollection=oi.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.dynamicProperties=[],this.elem=t,this.comp=t.comp,this.frameId=-1,this.mdf=!1,this.getValue=n,this.convertEllToPath=i,this.reset=s,this.p=Wt.getProp(t,e.p,1,0,this.dynamicProperties),this.s=Wt.getProp(t,e.s,1,0,this.dynamicProperties),this.dynamicProperties.length?this.k=!0:this.convertEllToPath()});function i(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2;3!==this.d?(this.v.v[0][0]=t,this.v.v[0][1]=e-n,this.v.v[1][0]=t+i,this.v.v[1][1]=e,this.v.v[2][0]=t,this.v.v[2][1]=e+n,this.v.v[3][0]=t-i,this.v.v[3][1]=e,this.v.i[0][0]=t-i*a,this.v.i[0][1]=e-n,this.v.i[1][0]=t+i,this.v.i[1][1]=e-n*a,this.v.i[2][0]=t+i*a,this.v.i[2][1]=e+n,this.v.i[3][0]=t-i,this.v.i[3][1]=e+n*a,this.v.o[0][0]=t+i*a,this.v.o[0][1]=e-n,this.v.o[1][0]=t+i,this.v.o[1][1]=e+n*a,this.v.o[2][0]=t-i*a,this.v.o[2][1]=e+n,this.v.o[3][0]=t-i):(this.v.v[0][0]=t,this.v.v[0][1]=e-n,this.v.v[1][0]=t-i,this.v.v[1][1]=e,this.v.v[2][0]=t,this.v.v[2][1]=e+n,this.v.v[3][0]=t+i,this.v.v[3][1]=e,this.v.i[0][0]=t+i*a,this.v.i[0][1]=e-n,this.v.i[1][0]=t-i,this.v.i[1][1]=e-n*a,this.v.i[2][0]=t-i*a,this.v.i[2][1]=e+n,this.v.i[3][0]=t+i,this.v.i[3][1]=e+n*a,this.v.o[0][0]=t-i*a,this.v.o[0][1]=e-n,this.v.o[1][0]=t-i,this.v.o[1][1]=e+n*a,this.v.o[2][0]=t+i*a,this.v.o[2][1]=e+n,this.v.o[3][0]=t+i),this.v.o[3][1]=e-n*a}function n(t){var e,i=this.dynamicProperties.length;if(this.elem.globalData.frameId!==this.frameId){for(this.mdf=!1,this.frameId=this.elem.globalData.frameId,e=0;e<i;e+=1)this.dynamicProperties[e].getValue(t),this.dynamicProperties[e].mdf&&(this.mdf=!0);this.mdf&&this.convertEllToPath()}}var p=function(t,e){this.v=ti.newShape(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.dynamicProperties=[],this.mdf=!1,this.getValue=f,this.reset=s,1===e.sy?(this.ir=Wt.getProp(t,e.ir,0,0,this.dynamicProperties),this.is=Wt.getProp(t,e.is,0,.01,this.dynamicProperties),this.convertToPath=c):this.convertToPath=u,this.pt=Wt.getProp(t,e.pt,0,0,this.dynamicProperties),this.p=Wt.getProp(t,e.p,1,0,this.dynamicProperties),this.r=Wt.getProp(t,e.r,0,v,this.dynamicProperties),this.or=Wt.getProp(t,e.or,0,0,this.dynamicProperties),this.os=Wt.getProp(t,e.os,0,.01,this.dynamicProperties),this.localShapeCollection=oi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:this.convertToPath()};function u(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,n=this.or.v,s=this.os.v,r=2*Math.PI*n/(4*e),a=-Math.PI/2,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var l=n*Math.cos(a),h=n*Math.sin(a),p=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),u=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-p*r*s*o,h-u*r*s*o,l+p*r*s*o,h+u*r*s*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}function c(){var t,e,i,n=2*Math.floor(this.pt.v),s=2*Math.PI/n,r=!0,a=this.or.v,o=this.ir.v,l=this.os.v,h=this.is.v,p=2*Math.PI*a/(2*n),u=2*Math.PI*o/(2*n),c=-Math.PI/2;c+=this.r.v;for(var f=3===this.data.d?-1:1,d=this.v._length=0;d<n;d+=1){e=r?l:h,i=r?p:u;var m=(t=r?a:o)*Math.cos(c),g=t*Math.sin(c),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*i*e*f,g-v*i*e*f,m+y*i*e*f,g+v*i*e*f,d,!0),r=!r,c+=s*f}}function f(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1,this.frameId=this.elem.globalData.frameId;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e].mdf&&(this.mdf=!0);this.mdf&&this.convertToPath()}}var d=function(t,e){this.v=ti.newShape(),this.v.c=!0,this.localShapeCollection=oi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.dynamicProperties=[],this.mdf=!1,this.getValue=m,this.convertRectToPath=g,this.reset=s,this.p=Wt.getProp(t,e.p,1,0,this.dynamicProperties),this.s=Wt.getProp(t,e.s,1,0,this.dynamicProperties),this.r=Wt.getProp(t,e.r,0,0,this.dynamicProperties),this.dynamicProperties.length?this.k=!0:this.convertRectToPath()};function m(t){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1,this.frameId=this.elem.globalData.frameId;for(var e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue(t),this.dynamicProperties[i].mdf&&(this.mdf=!0);this.mdf&&this.convertRectToPath()}}function g(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,s=y(i,n,this.r.v),r=s*(1-_);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-n+s,t+i,e-n+s,t+i,e-n+r,0,!0),this.v.setTripleAt(t+i,e+n-s,t+i,e+n-r,t+i,e+n-s,1,!0),0!==s?(this.v.setTripleAt(t+i-s,e+n,t+i-s,e+n,t+i-r,e+n,2,!0),this.v.setTripleAt(t-i+s,e+n,t-i+r,e+n,t-i+s,e+n,3,!0),this.v.setTripleAt(t-i,e+n-s,t-i,e+n-s,t-i,e+n-r,4,!0),this.v.setTripleAt(t-i,e-n+s,t-i,e-n+r,t-i,e-n+s,5,!0),this.v.setTripleAt(t-i+s,e-n,t-i+s,e-n,t-i+r,e-n,6,!0),this.v.setTripleAt(t+i-s,e-n,t+i-r,e-n,t+i-s,e-n,7,!0)):(this.v.setTripleAt(t-i,e+n,t-i+r,e+n,t-i,e+n,2),this.v.setTripleAt(t-i,e-n,t-i,e-n+r,t-i,e-n,3))):(this.v.setTripleAt(t+i,e-n+s,t+i,e-n+r,t+i,e-n+s,0,!0),0!==s?(this.v.setTripleAt(t+i-s,e-n,t+i-s,e-n,t+i-r,e-n,1,!0),this.v.setTripleAt(t-i+s,e-n,t-i+r,e-n,t-i+s,e-n,2,!0),this.v.setTripleAt(t-i,e-n+s,t-i,e-n+s,t-i,e-n+r,3,!0),this.v.setTripleAt(t-i,e+n-s,t-i,e+n-r,t-i,e+n-s,4,!0),this.v.setTripleAt(t-i+s,e+n,t-i+s,e+n,t-i+r,e+n,5,!0),this.v.setTripleAt(t+i-s,e+n,t+i-r,e+n,t+i-s,e+n,6,!0),this.v.setTripleAt(t+i,e+n-s,t+i,e+n-s,t+i,e+n-r,7,!0)):(this.v.setTripleAt(t-i,e-n,t-i+r,e-n,t-i,e-n,1,!0),this.v.setTripleAt(t-i,e+n,t-i,e+n-r,t-i,e+n,2,!0),this.v.setTripleAt(t+i,e+n,t+i-r,e+n,t+i,e+n,3,!0)))}var e={getShapeProp:function(t,e,i,n){var s,r,a;return 3===i||4===i?(r=(s=3===i?e.pt:e.ks).k,a=new(1===s.a||r.length?l:o)(t,e,i)):5===i?a=new d(t,e):6===i?a=new h(t,e):7===i&&(a=new p(t,e)),a.k&&n.push(a),a},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return e}(),Te=(xe={},(be={}).registerModifier=function(t,e){xe[t]||(xe[t]=e)},be.getModifier=function(t,e,i,n){return new xe[t](e,i,n)},be);function ke(){}function Pe(){}function Ae(){}function Se(){}function Ee(){this._length=0,this._maxLength=4,this.shapes=Array.apply(null,{length:this._maxLength})}ke.prototype.initModifierProperties=function(){},ke.prototype.addShapeToModifier=function(){},ke.prototype.addShape=function(t){this.closed||(this.shapes.push({shape:t.sh,data:t,localShapeCollection:oi.newShapeCollection()}),this.addShapeToModifier(t.sh))},ke.prototype.init=function(t,e,i){this.elem=t,this.frameId=-1,this.shapes=[],this.dynamicProperties=[],this.mdf=!1,this.closed=!1,this.k=!1,this.comp=t.comp,this.initModifierProperties(t,e),this.dynamicProperties.length?(this.k=!0,i.push(this)):this.getValue(!0)},mt(ke,Pe),Pe.prototype.processKeys=function(t){if(this.elem.globalData.frameId!==this.frameId||t){this.mdf=!!t,this.frameId=this.elem.globalData.frameId;for(var e,i,n,s,r=this.dynamicProperties.length,a=0;a<r;a+=1)this.dynamicProperties[a].getValue(),this.dynamicProperties[a].mdf&&(this.mdf=!0);(this.mdf||t)&&((e=this.o.v%360/360)<0&&(e+=1),n=this.s.v+e,(s=this.e.v+e)<n&&(i=n,n=s,s=i),this.sValue=n,this.eValue=s,this.oValue=e)}},Pe.prototype.initModifierProperties=function(t,e){this.sValue=0,this.eValue=0,this.oValue=0,this.getValue=this.processKeys,this.s=Wt.getProp(t,e.s,0,.01,this.dynamicProperties),this.e=Wt.getProp(t,e.e,0,.01,this.dynamicProperties),this.o=Wt.getProp(t,e.o,0,0,this.dynamicProperties),this.m=e.m,this.dynamicProperties.length||this.getValue(!0)},Pe.prototype.calculateShapeEdges=function(t,e,i,n,s){var r=[];e<=1?r.push({s:t,e:e}):1<=t?r.push({s:t-1,e:e-1}):(r.push({s:t,e:1}),r.push({s:0,e:e-1}));for(var a,o,l,h=[],p=r.length,u=0;u<p;u+=1){(l=r[u]).e*s<n||l.s*s>n+i||(a=l.s*s<=n?0:(l.s*s-n)/i,o=l.e*s>=n+i?1:(l.e*s-n)/i,h.push([a,o]))}return h.length||h.push([0,0]),h},Pe.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;u<r;u+=1)this.shapes[u].localShapeCollection.releaseShapes(),this.shapes[u].shape.mdf=!0,this.shapes[u].shape.paths=this.shapes[u].localShapeCollection;else if(1===o&&0===a||0===o&&1===a){if(this.mdf)for(u=0;u<r;u+=1)this.shapes[u].shape.mdf=!0}else{for(var h,p=[],u=0;u<r;u+=1)if((h=this.shapes[u]).shape.mdf||this.mdf||t||2===this.m){if(f=(e=h.shape.paths)._length,s=0,!h.shape.mdf&&h.pathsData)s=h.totalShapeLength;else{for(i=[],c=0;c<f;c+=1)n=gt.getSegmentsLength(e.shapes[c]),i.push(n),s+=n.totalLength;h.totalShapeLength=s,h.pathsData=i}l+=s,h.shape.mdf=!0}else h.shape.paths=h.localShapeCollection;var c,f,d,m,g=a,y=o,v=0;for(u=r-1;0<=u;--u)if((h=this.shapes[u]).shape.mdf){for((m=h.localShapeCollection).releaseShapes(),2===this.m&&1<r?(d=this.calculateShapeEdges(a,o,h.totalShapeLength,v,l),v+=h.totalShapeLength):d=[[g,y]],f=d.length,c=0;c<f;c+=1){g=d[c][0],y=d[c][1],p.length=0,y<=1?p.push({s:h.totalShapeLength*g,e:h.totalShapeLength*y}):1<=g?p.push({s:h.totalShapeLength*(g-1),e:h.totalShapeLength*(y-1)}):(p.push({s:h.totalShapeLength*g,e:h.totalShapeLength}),p.push({s:0,e:h.totalShapeLength*(y-1)}));var _,b=this.addShapes(h,p[0]);p[0].s!==p[0].e&&(1<p.length&&(b=h.shape.v.c?(_=b.pop(),this.addPaths(b,m),this.addShapes(h,p[1],_)):(this.addPaths(b,m),this.addShapes(h,p[1]))),this.addPaths(b,m))}h.shape.paths=m}}this.dynamicProperties.length||(this.mdf=!1)},Pe.prototype.addPaths=function(t,e){for(var i=t.length,n=0;n<i;n+=1)e.addShape(t[n])},Pe.prototype.addSegment=function(t,e,i,n,s,r,a){s.setXYAt(e[0],e[1],"o",r),s.setXYAt(i[0],i[1],"i",r+1),a&&s.setXYAt(t[0],t[1],"v",r),s.setXYAt(n[0],n[1],"v",r+1)},Pe.prototype.addShapes=function(t,e,i){var n,s,r,a,o,l,h,p,u=t.pathsData,c=t.shape.paths.shapes,f=t.shape.paths._length,d=0,m=[],g=!0,y=i?(a=i._length,i._length):(i=ti.newShape(),a=0);for(m.push(i),n=0;n<f;n+=1){for(o=u[n].lengths,i.c=c[n].c,r=c[n].c?o.length:o.length+1,s=1;s<r;s+=1)if(d+(p=o[s-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.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=gt.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),g=!1,i.c=!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=gt.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),g=!1,i.c=!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<f-1&&(i=ti.newShape(),g=!0,m.push(i),a=0)}return m},Te.registerModifier("tm",Pe),mt(ke,Ae),Ae.prototype.processKeys=function(t){if(this.elem.globalData.frameId!==this.frameId||t){this.mdf=!!t,this.frameId=this.elem.globalData.frameId;for(var e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i].mdf&&(this.mdf=!0)}},Ae.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=Wt.getProp(t,e.r,0,null,this.dynamicProperties),this.dynamicProperties.length||this.getValue(!0)},Ae.prototype.processPath=function(t,e){var i=ti.newShape();i.c=t.c;for(var n,s,r,a,o,l,h,p,u,c,f,d,m=t._length,g=0,y=0;y<m;y+=1)n=t.v[y],r=t.o[y],s=t.i[y],n[0]===r[0]&&n[1]===r[1]&&n[0]===s[0]&&n[1]===s[1]?0!==y&&y!==m-1||t.c?(a=0===y?t.v[m-1]:t.v[y-1],l=(o=Math.sqrt(Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)))?Math.min(o/2,e)/o:0,h=f=n[0]+(a[0]-n[0])*l,p=d=n[1]-(n[1]-a[1])*l,u=h-(h-n[0])*_,c=p-(p-n[1])*_,i.setTripleAt(h,p,u,c,f,d,g),g+=1,a=y===m-1?t.v[0]:t.v[y+1],l=(o=Math.sqrt(Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)))?Math.min(o/2,e)/o:0,h=u=n[0]+(a[0]-n[0])*l,p=c=n[1]+(a[1]-n[1])*l,f=h-(h-n[0])*_,d=p-(p-n[1])*_,i.setTripleAt(h,p,u,c,f,d,g)):i.setTripleAt(n[0],n[1],r[0],r[1],s[0],s[1],g):i.setTripleAt(t.v[y][0],t.v[y][1],t.o[y][0],t.o[y][1],t.i[y][0],t.i[y][1],g),g+=1;return i},Ae.prototype.processShapes=function(t){var e,i,n,s=this.shapes.length,r=this.rd.v;if(0!==r)for(var a,o,l=0;l<s;l+=1){if((a=this.shapes[l]).shape.paths,o=a.localShapeCollection,a.shape.mdf||this.mdf||t)for(o.releaseShapes(),a.shape.mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(e[i],r));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this.mdf=!1)},Te.registerModifier("rd",Ae),Se.prototype.processKeys=function(t){if(this.elem.globalData.frameId!==this.frameId||t){this.mdf=!!t;for(var e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i].mdf&&(this.mdf=!0)}},Se.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=Wt.getProp(t,e.c,0,null,this.dynamicProperties),this.o=Wt.getProp(t,e.o,0,null,this.dynamicProperties),this.tr=Wt.getProp(t,e.tr,2,null,this.dynamicProperties),this.data=e,this.dynamicProperties.length||this.getValue(!0),this.pMatrix=new b,this.rMatrix=new b,this.sMatrix=new b,this.tMatrix=new b,this.matrix=new b},Se.prototype.applyTransforms=function(t,e,i,n,s,r){var a=r?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-s),l=n.s.v[1]+(1-n.s.v[1])*(1-s);t.translate(n.p.v[0]*a*s,n.p.v[1]*a*s,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*a*s),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),i.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),i.scale(r?1/o:o,r?1/l:l),i.translate(n.a.v[0],n.a.v[1],n.a.v[2])},Se.prototype.init=function(t,e,i,n,s){this.elem=t,this.arr=e,this.pos=i,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.dynamicProperties=[],this.frameId=-1,this.initModifierProperties(t,e[i]);for(;0<i;)--i,this._elements.unshift(e[i]),0;this.dynamicProperties.length?(this.k=!0,s.push(this)):this.getValue(!0)},Se.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},Se.prototype.cloneElements=function(t){t.length;var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},Se.prototype.changeGroupRender=function(t,e){for(var i=t.length,n=0;n<i;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},Se.prototype.processShapes=function(t){if(this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.dynamicProperties.length||t||(this.mdf=!1),this.mdf)){var e=Math.ceil(this.c.v);if(this._groups.length<e){for(;this._groups.length<e;){var i={it:this.cloneElements(this._elements),ty:"gr"};i.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:0,ix:6,k:0},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,i),this._groups.splice(0,0,i),this._currentCopies+=1}this.elem.reloadShapes()}for(var n,s=0,r=0;r<=this._groups.length-1;r+=1)n=s<e,this._groups[r]._render=n,this.changeGroupRender(this._groups[r].it,n),s+=1;this._currentCopies=e,this.elem.firstFrame=!0;var a=this.o.v,o=a%1,l=0<a?Math.floor(a):Math.ceil(a),h=(this.tr.v.props,this.pMatrix.props),p=this.rMatrix.props,u=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var c=0;if(0<a){for(;c<l;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),c+=1;o&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,o,!1),c+=o)}else if(a<0){for(;l<c;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--c;o&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-o,!0),c-=o)}r=1===this.data.m?0:this._currentCopies-1;for(var f=1===this.data.m?1:-1,s=this._currentCopies;s;){if(0!==c){(0!==r&&1==f||r!==this._currentCopies-1&&-1==f)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),this.matrix.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]);var d=(g=(m=this.elemsData[r].it)[m.length-1].transform.mProps.v.props).length;for(y=0;y<d;y+=1)g[y]=this.matrix.props[y];this.matrix.reset()}else{this.matrix.reset();var m,g,y,d=(g=(m=this.elemsData[r].it)[m.length-1].transform.mProps.v.props).length;for(y=0;y<d;y+=1)g[y]=this.matrix.props[y]}c+=1,--s,r+=f}}},Se.prototype.addShape=function(){},Te.registerModifier("rp",Se),Ee.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(Array.apply(null,{length:this._maxLength})),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Ee.prototype.releaseShapes=function(){for(var t=0;t<this._length;t+=1)ti.release(this.shapes[t]);this._length=0};var Ce,Me=function(){this.loadAssets=Oe,this.setAssetsPath=Ne,this.setPath=Le,this.assetsPath="",this.path="",this.totalAssets=0,this.totalImages=0,this.loadedAssets=0};function De(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&Ce&&Ce(null)}function Fe(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?t.u:"",i+=t.p),i}function Ie(t){var e=document.createElement("img");e.addEventListener("load",De.bind(this),!1),e.addEventListener("error",De.bind(this),!1),e.src=t}function Oe(t,e){var i;for(Ce=e,this.totalAssets=t.length,i=0;i<this.totalAssets;i+=1)t[i].layers||(Ie.bind(this)(Fe.bind(this)(t[i])),this.totalImages+=1)}function Le(t){this.path=t||""}function Ne(t){this.assetsPath=t||""}var Re,Ve,je=(Re={maskType:!0},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(Re.maskType=!1),Re),ze=((Ve={}).createFilter=function(t){var e=document.createElementNS(T,"filter");return e.setAttribute("id",t),e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%"),e},Ve.createAlphaToLuminanceFilter=function(){var t=document.createElementNS(T,"feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},Ve);function Be(t,e,i){this.mdf=!1,this._firstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._dynamicProperties=[],this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=Array.apply(null,{length:this._textData.a.length}),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1}function qe(t,e,i,n,s,r){this.o=t,this.sw=e,this.sc=i,this.fc=n,this.m=s,this.p=r,this.mdf={o:!0,sw:!!e,sc:!!i,fc:!!n,m:!0,p:!0}}function He(t,e,i){this._frameId=-99999,this.pv="",this.v="",this.kf=!1,this.firstFrame=!0,this.mdf=!0,this.data=e,this.elem=t,this.keysIndex=-1,this.currentData={ascent:0,boxWidth:[0,0],f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,__complete:!1},this.searchProperty()?i.push(this):this.getValue(!0)}Be.prototype.searchProperties=function(t){for(var e,i,n=this._textData.a.length,s=Wt.getProp,r=0;r<n;r+=1)e={a:{},s:{}},"r"in(i=this._textData.a[r]).a&&(e.a.r=s(this._elem,i.a.r,0,v,this._dynamicProperties)),"rx"in i.a&&(e.a.rx=s(this._elem,i.a.rx,0,v,this._dynamicProperties)),"ry"in i.a&&(e.a.ry=s(this._elem,i.a.ry,0,v,this._dynamicProperties)),"sk"in i.a&&(e.a.sk=s(this._elem,i.a.sk,0,v,this._dynamicProperties)),"sa"in i.a&&(e.a.sa=s(this._elem,i.a.sa,0,v,this._dynamicProperties)),"s"in i.a&&(e.a.s=s(this._elem,i.a.s,1,.01,this._dynamicProperties)),"a"in i.a&&(e.a.a=s(this._elem,i.a.a,1,0,this._dynamicProperties)),"o"in i.a&&(e.a.o=s(this._elem,i.a.o,0,.01,this._dynamicProperties)),"p"in i.a&&(e.a.p=s(this._elem,i.a.p,1,0,this._dynamicProperties)),"sw"in i.a&&(e.a.sw=s(this._elem,i.a.sw,0,0,this._dynamicProperties)),"sc"in i.a&&(e.a.sc=s(this._elem,i.a.sc,1,0,this._dynamicProperties)),"fc"in i.a&&(e.a.fc=s(this._elem,i.a.fc,1,0,this._dynamicProperties)),"fh"in i.a&&(e.a.fh=s(this._elem,i.a.fh,0,0,this._dynamicProperties)),"fs"in i.a&&(e.a.fs=s(this._elem,i.a.fs,0,.01,this._dynamicProperties)),"fb"in i.a&&(e.a.fb=s(this._elem,i.a.fb,0,.01,this._dynamicProperties)),"t"in i.a&&(e.a.t=s(this._elem,i.a.t,0,0,this._dynamicProperties)),e.s=Wt.getTextSelectorProp(this._elem,i.s,this._dynamicProperties),e.s.t=i.s.t,this._animatorsData[r]=e;this._textData.p&&"m"in this._textData.p?(this._pathData={f:s(this._elem,this._textData.p.f,0,0,this._dynamicProperties),l:s(this._elem,this._textData.p.l,0,0,this._dynamicProperties),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=s(this._elem,this._textData.m.a,1,0,this._dynamicProperties),this._dynamicProperties.length&&t.push(this)},Be.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this.mdf||this._firstFrame||e||this._hasMaskedPath&&this._pathData.m.mdf){this._firstFrame=!1;var i,n,s=this._moreOptions.alignment.v,r=this._animatorsData,a=this._textData,o=this.mHelper,l=this._renderType,h=this.renderedLetters.length,p=(this.data,t.l);if(this._hasMaskedPath){var u=this._pathData.m;if(!this._pathData.n||this._pathData.mdf){var c=u.v;this._pathData.r&&(c=function(t){var e,i=[],n=[],s=[],r={},a=0;t.c&&(i[0]=t.o[0],n[0]=t.i[0],s[0]=t.v[0],a=1);for(var o=(e=t.i.length)-1,l=a;l<e;l+=1)i.push(t.o[o]),n.push(t.i[o]),s.push(t.v[o]),--o;return r.i=i,r.o=n,r.v=s,r}(c));for(var f,d={tLength:0,segments:[]},m=c._length-1,g=0,y=0;y<m;y+=1)f={s:c.v[y],e:c.v[y+1],to:[c.o[y][0]-c.v[y][0],c.o[y][1]-c.v[y][1]],ti:[c.i[y+1][0]-c.v[y+1][0],c.i[y+1][1]-c.v[y+1][1]]},gt.buildBezierData(f),d.tLength+=f.bezierData.segmentLength,d.segments.push(f),g+=f.bezierData.segmentLength;y=m,u.v.c&&(f={s:c.v[y],e:c.v[0],to:[c.o[y][0]-c.v[y][0],c.o[y][1]-c.v[y][1]],ti:[c.i[0][0]-c.v[0][0],c.i[0][1]-c.v[0][1]]},gt.buildBezierData(f),d.tLength+=f.bezierData.segmentLength,d.segments.push(f),g+=f.bezierData.segmentLength),this._pathData.pi=d}var v,_,b,d=this._pathData.pi,x=this._pathData.f.v,w=0,T=1,k=0,P=!0,A=d.segments;if(x<0&&u.v.c)for(d.tLength<Math.abs(x)&&(x=-Math.abs(x)%d.tLength),T=(b=A[w=A.length-1].bezierData.points).length-1;x<0;)x+=b[T].partialLength,--T<0&&(T=(b=A[--w].bezierData.points).length-1);_=(b=A[w].bezierData.points)[T-1];var S,E,C=(v=b[T]).partialLength}m=p.length,n=i=0;var M,D,F=1.2*t.s*.714,I=!0,O=r.length;if(e)for(nt=0;nt<O;nt+=1)r[nt].s.getValue(!0);var L,N,R,V,j,z,B,q,H,W,X,Y,U,G,Z=-1,$=x,K=w,Q=T,J=-1,tt="",et=this.defaultPropsArray;for(y=0;y<m;y+=1){if(o.reset(),j=1,p[y].n)i=0,n+=t.yOffset,n+=I?1:0,x=$,I=!1,this._hasMaskedPath&&(T=Q,_=(b=A[w=K].bezierData.points)[T-1],C=(v=b[T]).partialLength,k=0),U=W=Y=tt="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==p[y].line){switch(t.j){case 1:x+=g-t.lineWidths[p[y].line];break;case 2:x+=(g-t.lineWidths[p[y].line])/2}J=p[y].line}Z!==p[y].ind&&(p[Z]&&(x+=p[Z].extra),x+=p[y].an/2,Z=p[y].ind),x+=s[0]*p[y].an/200;for(var it=0,nt=0;nt<O;nt+=1)"p"in(M=r[nt].a)&&((L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars)).length?it+=M.p.v[0]*L[0]:it+=M.p.v[0]*L),"a"in M&&((L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars)).length?it+=M.a.v[0]*L[0]:it+=M.a.v[0]*L);for(P=!0;P;)x+it<=k+C||!b?(S=(x+it-k)/v.partialLength,R=_.point[0]+(v.point[0]-_.point[0])*S,V=_.point[1]+(v.point[1]-_.point[1])*S,o.translate(-s[0]*p[y].an/200,-s[1]*F/100),P=!1):b&&(k+=v.partialLength,(T+=1)>=b.length&&(T=0,b=A[w+=1]?A[w].bezierData.points:u.v.c?A[w=T=0].bezierData.points:(k-=v.partialLength,null)),b&&(_=v,C=(v=b[T]).partialLength));N=p[y].an/2-p[y].add,o.translate(-N,0,0)}else N=p[y].an/2-p[y].add,o.translate(-N,0,0),o.translate(-s[0]*p[y].an/200,-s[1]*F/100,0);for(p[y].l,nt=0;nt<O;nt+=1)"t"in(M=r[nt].a)&&(L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars),this._hasMaskedPath?L.length?x+=M.t*L[0]:x+=M.t*L:L.length?i+=M.t.v*L[0]:i+=M.t.v*L);for(p[y].l,t.strokeWidthAnim&&(B=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(q=[t.fc[0],t.fc[1],t.fc[2]]),nt=0;nt<O;nt+=1)"a"in(M=r[nt].a)&&((L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars)).length?o.translate(-M.a.v[0]*L[0],-M.a.v[1]*L[1],M.a.v[2]*L[2]):o.translate(-M.a.v[0]*L,-M.a.v[1]*L,M.a.v[2]*L));for(nt=0;nt<O;nt+=1)"s"in(M=r[nt].a)&&((L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars)).length?o.scale(1+(M.s.v[0]-1)*L[0],1+(M.s.v[1]-1)*L[1],1):o.scale(1+(M.s.v[0]-1)*L,1+(M.s.v[1]-1)*L,1));for(nt=0;nt<O;nt+=1){if(M=r[nt].a,L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars),"sk"in M&&(L.length?o.skewFromAxis(-M.sk.v*L[0],M.sa.v*L[1]):o.skewFromAxis(-M.sk.v*L,M.sa.v*L)),"r"in M&&(L.length?o.rotateZ(-M.r.v*L[2]):o.rotateZ(-M.r.v*L)),"ry"in M&&(L.length?o.rotateY(M.ry.v*L[1]):o.rotateY(M.ry.v*L)),"rx"in M&&(L.length?o.rotateX(M.rx.v*L[0]):o.rotateX(M.rx.v*L)),"o"in M&&(L.length?j+=(M.o.v*L[0]-j)*L[0]:j+=(M.o.v*L-j)*L),t.strokeWidthAnim&&"sw"in M&&(L.length?B+=M.sw.v*L[0]:B+=M.sw.v*L),t.strokeColorAnim&&"sc"in M)for(H=0;H<3;H+=1)L.length?z[H]=z[H]+(M.sc.v[H]-z[H])*L[0]:z[H]=z[H]+(M.sc.v[H]-z[H])*L;if(t.fillColorAnim&&t.fc){if("fc"in M)for(H=0;H<3;H+=1)L.length?q[H]=q[H]+(M.fc.v[H]-q[H])*L[0]:q[H]=q[H]+(M.fc.v[H]-q[H])*L;"fh"in M&&(q=L.length?at(q,M.fh.v*L[0]):at(q,M.fh.v*L)),"fs"in M&&(q=L.length?st(q,M.fs.v*L[0]):st(q,M.fs.v*L)),"fb"in M&&(q=L.length?rt(q,M.fb.v*L[0]):rt(q,M.fb.v*L))}}for(nt=0;nt<O;nt+=1)"p"in(M=r[nt].a)&&(L=r[nt].s.getMult(p[y].anIndexes[nt],a.a[nt].s.totalChars),this._hasMaskedPath?L.length?o.translate(0,M.p.v[1]*L[0],-M.p.v[2]*L[1]):o.translate(0,M.p.v[1]*L,-M.p.v[2]*L):L.length?o.translate(M.p.v[0]*L[0],M.p.v[1]*L[1],-M.p.v[2]*L[2]):o.translate(M.p.v[0]*L,M.p.v[1]*L,-M.p.v[2]*L));if(t.strokeWidthAnim&&(W=B<0?0:B),t.strokeColorAnim&&(X="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(Y="rgb("+Math.round(255*q[0])+","+Math.round(255*q[1])+","+Math.round(255*q[2])+")"),this._hasMaskedPath){o.translate(0,-t.ls),o.translate(0,s[1]*F/100+n,0),a.p.p&&(E=(v.point[1]-_.point[1])/(v.point[0]-_.point[0]),G=180*Math.atan(E)/Math.PI,v.point[0]<_.point[0]&&(G+=180),o.rotate(-G*Math.PI/180)),o.translate(R,V,0),x-=s[0]*p[y].an/200,p[y+1]&&Z!==p[y+1].ind&&(x+=p[y].an/2,x+=t.tr/1e3*t.s)}else{switch(o.translate(i,n,0),t.ps&&o.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:o.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[p[y].line]),0,0);break;case 2:o.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[p[y].line])/2,0,0)}o.translate(0,-t.ls),o.translate(N,0,0),o.translate(s[0]*p[y].an/200,s[1]*F/100,0),i+=p[y].l+t.tr/1e3*t.s}"html"===l?tt=o.toCSS():"svg"===l?tt=o.to2dCSS():et=[o.props[0],o.props[1],o.props[2],o.props[3],o.props[4],o.props[5],o.props[6],o.props[7],o.props[8],o.props[9],o.props[10],o.props[11],o.props[12],o.props[13],o.props[14],o.props[15]],U=j}h<=y?(D=new qe(U,W,X,Y,tt,et),this.renderedLetters.push(D),h+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[y],this.lettersChangedFlag=D.update(U,W,X,Y,tt,et)||this.lettersChangedFlag)}}},Be.prototype.getValue=function(){if(this._elem.globalData.frameId!==this._frameId){this._frameId=this._elem.globalData.frameId;var t,e=this._dynamicProperties.length;for(this.mdf=!1,t=0;t<e;t+=1)this._dynamicProperties[t].getValue(),this.mdf=this._dynamicProperties[t].mdf||this.mdf}},Be.prototype.mHelper=new b,Be.prototype.defaultPropsArray=[],qe.prototype.update=function(t,e,i,n,s,r){this.mdf.o=!1,this.mdf.sw=!1,this.mdf.sc=!1,this.mdf.fc=!1,this.mdf.m=!1;var a=this.mdf.p=!1;return this.o!==t&&(this.o=t,a=this.mdf.o=!0),this.sw!==e&&(this.sw=e,a=this.mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this.mdf.sc=!0),this.fc!==n&&(this.fc=n,a=this.mdf.fc=!0),this.m!==s&&(this.m=s,a=this.mdf.m=!0),!r.length||this.p[0]===r[0]&&this.p[1]===r[1]&&this.p[4]===r[4]&&this.p[5]===r[5]&&this.p[12]===r[12]&&this.p[13]===r[13]||(this.p=r,a=this.mdf.p=!0),a},He.prototype.setCurrentData=function(t){var e=this.currentData;e.ascent=t.ascent,e.boxWidth=t.boxWidth?t.boxWidth:e.boxWidth,e.f=t.f,e.fStyle=t.fStyle,e.fWeight=t.fWeight,e.fc=t.fc,e.j=t.j,e.justifyOffset=t.justifyOffset,e.l=t.l,e.lh=t.lh,e.lineWidths=t.lineWidths,e.ls=t.ls,e.of=t.of,e.s=t.s,e.sc=t.sc,e.sw=t.sw,e.t=t.t,e.tr=t.tr,e.fillColorAnim=t.fillColorAnim||e.fillColorAnim,e.strokeColorAnim=t.strokeColorAnim||e.strokeColorAnim,e.strokeWidthAnim=t.strokeWidthAnim||e.strokeWidthAnim,e.yOffset=t.yOffset,e.__complete=!1},He.prototype.searchProperty=function(){return this.kf=1<this.data.d.k.length,this.kf},He.prototype.getValue=function(){this.mdf=!1;var t=this.elem.globalData.frameId;if(t!==this._frameId&&this.kf||this.firstFrame){for(var e,i=this.data.d.k,n=0,s=i.length;n<=s-1&&(e=i[n].s,!(n===s-1||i[n+1].t>t));)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}},He.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;k<b;k+=1)switch(y[k].toLowerCase()){case"italic":_="italic";break;case"bold":v="700";break;case"black":v="900";break;case"medium":v="500";break;case"regular":case"normal":v="400";case"light":case"thin":v="200"}t.fWeight=v,t.fStyle=_,b=t.t.length;var x=t.tr/1e3*t.s;if(t.sz){for(var w=t.sz[0],T=-1,k=0;k<b;k+=1)e=!1," "===t.t.charAt(k)?T=k:13===t.t.charCodeAt(k)&&(e=!(f=0)),w<f+(g=s.chars?(n=s.getCharData(t.t.charAt(k),m.fStyle,m.fFamily),e?0:n.w*t.s/100):s.measureText(t.t.charAt(k),t.f,t.s))&&" "!==t.t.charAt(k)?(-1===T?b+=1:k=T,t.t=t.t.substr(0,k)+"\r"+t.t.substr(k===T?k+1:k),T=-1,f=0):(f+=g,f+=x);b=t.t.length}f=-x;var P,A=g=0;for(k=0;k<b;k+=1)if(e=!1," "===(P=t.t.charAt(k))?i=" ":13===P.charCodeAt(0)?(A=0,c.push(f),d=d<f?f:d,f=-2*x,e=!(i=""),u+=1):i=t.t.charAt(k),g=s.chars?(n=s.getCharData(P,m.fStyle,s.getFontByName(t.f).fFamily),e?0:n.w*t.s/100):s.measureText(i,t.f,t.s)," "===P?A+=g+x:(f+=g+x+A,A=0),a.push({l:g,an:g,add:h,n:e,anIndexes:[],val:i,line:u}),2==l){if(h+=g,""==i||" "==i||k==b-1){for(""!=i&&" "!=i||(h-=g);p<=k;)a[p].an=h,a[p].ind=o,a[p].extra=g,p+=1;o+=1,h=0}}else if(3==l){if(h+=g,""==i||k==b-1){for(""==i&&(h-=g);p<=k;)a[p].an=h,a[p].ind=o,a[p].extra=g,p+=1;h=0,o+=1}}else a[o].ind=o,a[o].extra=0,o+=1;if(t.l=a,d=d<f?f:d,c.push(f),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=d,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=c;for(var S,E,C,M,D=r.a,F=D.length,I=[],O=0;O<F;O+=1){for((S=D[O]).a.sc&&(t.strokeColorAnim=!0),S.a.sw&&(t.strokeWidthAnim=!0),(S.a.fc||S.a.fh||S.a.fs||S.a.fb)&&(t.fillColorAnim=!0),M=0,C=S.s.b,k=0;k<b;k+=1)(E=a[k]).anIndexes[O]=M,(1==C&&""!=E.val||2==C&&""!=E.val&&" "!=E.val||3==C&&(E.n||" "==E.val||k==b-1)||4==C&&(E.n||k==b-1))&&(1===S.s.rn&&I.push(M),M+=1);r.a[O].s.totalChars=M;var L,N=-1;if(1===S.s.rn)for(k=0;k<b;k+=1)N!=(E=a[k]).anIndexes[O]&&(N=E.anIndexes[O],L=I.splice(Math.floor(Math.random()*I.length),1)[0]),E.anIndexes[O]=L}t.yOffset=t.lh||1.2*t.s,t.ls=t.ls||0,t.ascent=m.ascent*t.s/100},He.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.data.d.k[e].s;i.__complete=!1,i.t=t.t,this.keysIndex=-1,this.firstFrame=!0,this.getValue()};var We,Xe,Ye,Ue,Ge,Ze,$e,Ke,Qe={double:function(t){return t.concat(Array.apply(null,{length:t.length}))}},Je=(We={newPoint:function(){var t;t=Xe?Ue[--Xe]:[.1,.1];return t},release:function(t){Xe===Ye&&(Ue=Qe.double(Ue),Ye*=2);Ue[Xe]=t,Xe+=1}},Xe=0,Ye=8,Ue=Array.apply(null,{length:Ye}),We),ti=(Ge={clone:function(t,e){var i,n,s=void 0===t._length?t.v.length:t._length,r=ei();for(r.setLength(s),r.c=t.c,i=0;i<s;i+=1)e?(n=e.applyToPointArray(t.v[i][0],t.v[i][1],0,2),r.setXYAt(n[0],n[1],"v",i),Je.release(n),n=e.applyToPointArray(t.o[i][0],t.o[i][1],0,2),r.setXYAt(n[0],n[1],"o",i),Je.release(n),n=e.applyToPointArray(t.i[i][0],t.i[i][1],0,2),r.setXYAt(n[0],n[1],"i",i),Je.release(n)):r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],i);return r},newShape:ei,release:ii,releaseArray:function(t,e){for(;e--;)ii(t[e])}},Ze=0,$e=4,Ke=Array.apply(null,{length:$e}),Ge);function ei(){var t=Ze?Ke[--Ze]:new _e;return t}function ii(t){Ze===$e&&(Ke=Qe.double(Ke),$e*=2);for(var e=t._length,i=0;i<e;i+=1)Je.release(t.v[i]),Je.release(t.i[i]),Je.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1,Ke[Ze]=t,Ze+=1}var ni,si,ri,ai,oi=(ni={newShapeCollection:function(){var t;t=si?ai[--si]:new Ee;return t},release:li,clone:function(t,e){li(t),si===ri&&(ai=Qe.double(ai),ri*=2);ai[si]=t,si+=1}},si=0,ri=4,ai=Array.apply(null,{length:ri}),ni);function li(t){for(var e=t._length,i=0;i<e;i+=1)ti.release(t.shapes[i]);t._length=0,si===ri&&(ai=Qe.double(ai),ri*=2),ai[si]=t,si+=1}function hi(){}function pi(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.globalData={frameNum:-1},this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!e||!1!==e.hideOnTransparent,viewBoxOnly:e&&e.viewBoxOnly||!1,className:e&&e.className||""},this.globalData.renderConfig=this.renderConfig,this.elements=[],this.pendingElements=[],this.destroyed=!1}function ui(t,e,i){this.dynamicProperties=[],this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties,this.viewData=Array.apply(null,{length:this.masksProperties.length}),this.maskElement=null,this.firstFrame=!0;for(var n,s,r,a,o,l,h,p=this.globalData.defs,u=this.masksProperties.length,c=this.masksProperties,f=0,d=[],m=S(10),g="clipPath",y="clip-path",v=0;v<u;v++)if(("a"!==c[v].mode&&"n"!==c[v].mode||c[v].inv||100!==c[v].o.k)&&(y=g="mask"),"s"!=c[v].mode&&"i"!=c[v].mode||0!=f?r=null:((r=document.createElementNS(T,"rect")).setAttribute("fill","#ffffff"),r.setAttribute("width",this.element.comp.data.w),r.setAttribute("height",this.element.comp.data.h),d.push(r)),n=document.createElementNS(T,"path"),"n"!=c[v].mode){if(f+=1,"s"==c[v].mode?n.setAttribute("fill","#000000"):n.setAttribute("fill","#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==c[v].x.k?(y=g="mask",o=Wt.getProp(this.element,c[v].x,0,null,this.dynamicProperties),l="fi_"+S(10),(h=document.createElementNS(T,"filter")).setAttribute("id",l),(a=document.createElementNS(T,"feMorphology")).setAttribute("operator","dilate"),a.setAttribute("in","SourceGraphic"),a.setAttribute("radius","0"),h.appendChild(a),p.appendChild(h),"s"==c[v].mode?n.setAttribute("stroke","#000000"):n.setAttribute("stroke","#ffffff")):o=a=null,this.storedData[v]={elem:n,x:o,expan:a,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"==c[v].mode){s=d.length;for(var _=document.createElementNS(T,"g"),b=0;b<s;b+=1)_.appendChild(d[b]);var x=document.createElementNS(T,"mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",m+"_"+f),x.appendChild(n),p.appendChild(x),_.setAttribute("mask","url("+w+"#"+m+"_"+f+")"),d.length=0,d.push(_)}else d.push(n);c[v].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[v]={elem:n,lastPath:"",op:Wt.getProp(this.element,c[v].o,0,.01,this.dynamicProperties),prop:we.getShapeProp(this.element,c[v],3,this.dynamicProperties,null)},r&&(this.viewData[v].invRect=r),this.viewData[v].prop.k||this.drawPath(c[v],this.viewData[v].prop.v,this.viewData[v])}else this.viewData[v]={op:Wt.getProp(this.element,c[v].o,0,.01,this.dynamicProperties),prop:we.getShapeProp(this.element,c[v],3,this.dynamicProperties,null),elem:n},p.appendChild(n);for(this.maskElement=document.createElementNS(T,g),u=d.length,v=0;v<u;v+=1)this.maskElement.appendChild(d[v]);this.maskElement.setAttribute("id",m),0<f&&this.element.maskedElement.setAttribute(y,"url("+w+"#"+m+")"),p.appendChild(this.maskElement)}function ci(){}function fi(t,e,i,n,s){this.globalData=i,this.comp=n,this.data=t,this.matteElement=null,this.transformedElement=null,this.isTransparent=!1,this.parentContainer=e,this.layerId=s?s.layerId:"ly_"+S(10),this.placeholder=s,this._sizeChanged=!1,this.init()}function di(t,e,i,n,s){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this._parent.constructor.call(this,t,e,i,n,s)}hi.prototype.checkLayers=function(t){var e,i,n=this.layers.length;for(this.completeLayers=!0,e=n-1;0<=e;e--)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},hi.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)},hi.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},hi.prototype.buildAllItems=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},hi.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,n=this.layers.length,s=0;s<i;s+=1)for(e=0;e<n;){if(this.layers[e].id==t[s].id){this.layers[e]=t[s];break}e+=1}},hi.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},hi.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},hi.prototype.buildElementParenting=function(t,e,i){i=i||[];for(var n=this.elements,s=this.layers,r=0,a=s.length;r<a;)s[r].ind==e&&(n[r]&&!0!==n[r]?void 0!==s[r].parent?(i.push(n[r]),n[r]._isParent=!0,this.buildElementParenting(t,s[r].parent,i)):(i.push(n[r]),n[r]._isParent=!0,t.setHierarchy(i)):(this.buildItem(r),this.addPendingElement(t))),r+=1},hi.prototype.addPendingElement=function(t){this.pendingElements.push(t)},mt(hi,pi),pi.prototype.createBase=function(t){return new fi(t,this.layerElement,this.globalData,this)},pi.prototype.createShape=function(t){return new di(t,this.layerElement,this.globalData,this)},pi.prototype.createText=function(t){return new gi(t,this.layerElement,this.globalData,this)},pi.prototype.createImage=function(t){return new Ai(t,this.layerElement,this.globalData,this)},pi.prototype.createComp=function(t){return new Pi(t,this.layerElement,this.globalData,this)},pi.prototype.createSolid=function(t){return new Si(t,this.layerElement,this.globalData,this)},pi.prototype.configAnimation=function(t){this.layerElement=document.createElementNS(T,"svg"),this.layerElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.layerElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.layerElement.setAttribute("width",t.w),this.layerElement.setAttribute("height",t.h),this.layerElement.style.width="100%",this.layerElement.style.height="100%"),this.renderConfig.className&&this.layerElement.setAttribute("class",this.renderConfig.className),this.layerElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.layerElement);var e=document.createElementNS(T,"defs");this.globalData.defs=e,this.layerElement.appendChild(e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.frameId=0,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h},this.data=t,this.globalData.frameRate=t.fr;var i=document.createElementNS(T,"clipPath"),n=document.createElementNS(T,"rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var s="animationMask_"+S(10);i.setAttribute("id",s),i.appendChild(n);var r=document.createElementNS(T,"g");r.setAttribute("clip-path","url("+w+"#"+s+")"),this.layerElement.appendChild(r),e.appendChild(i),this.layerElement=r,this.layers=t.layers,this.globalData.fontManager=new It,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.elements=Array.apply(null,{length:t.layers.length})},pi.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},pi.prototype.updateContainerSize=function(){},pi.prototype.buildItem=function(t){var e,i=this.elements;i[t]||99==this.layers[t].ty||(i[t]=!0,e=this.createItem(this.layers[t]),i[t]=e,o&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?e.setMatte(i[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(e))))},pi.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},pi.prototype.renderFrame=function(t){if(this.renderedFrame!=t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;e--)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);for(e=i-1;0<=e;e--)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},pi.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var n,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(n=this.elements[s].getBaseElement()),s+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},pi.prototype.hide=function(){this.layerElement.style.display="none"},pi.prototype.show=function(){this.layerElement.style.display="block"},pi.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,n=document.createElementNS(T,"g"),s=0;s<i;s+=1){t[s].xt&&((e=this.createComp(t[s],n,this.globalData.comp,null)).initExpressions(),this.globalData.projectInterface.registerComposition(e))}},ui.prototype.getMaskProperty=function(t){return this.viewData[t].prop},ui.prototype.prepareFrame=function(){for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue()},ui.prototype.renderFrame=function(t){for(var e,i=this.masksProperties.length,n=0;n<i;n++){(this.viewData[n].prop.mdf||this.firstFrame)&&this.drawPath(this.masksProperties[n],this.viewData[n].prop.v,this.viewData[n]),(this.viewData[n].op.mdf||this.firstFrame)&&this.viewData[n].elem.setAttribute("fill-opacity",this.viewData[n].op.v),"n"!==this.masksProperties[n].mode&&(this.viewData[n].invRect&&(this.element.finalTransform.mProp.mdf||this.firstFrame)&&(this.viewData[n].invRect.setAttribute("x",-t.props[12]),this.viewData[n].invRect.setAttribute("y",-t.props[13])),this.storedData[n].x&&(this.storedData[n].x.mdf||this.firstFrame)&&(e=this.storedData[n].expan,this.storedData[n].x.v<0?("erode"!==this.storedData[n].lastOperator&&(this.storedData[n].lastOperator="erode",this.storedData[n].elem.setAttribute("filter","url("+w+"#"+this.storedData[n].filterId+")")),e.setAttribute("radius",-this.storedData[n].x.v)):("dilate"!==this.storedData[n].lastOperator&&(this.storedData[n].lastOperator="dilate",this.storedData[n].elem.setAttribute("filter",null)),this.storedData[n].elem.setAttribute("stroke-width",2*this.storedData[n].x.v))))}this.firstFrame=!1},ui.prototype.getMaskelement=function(){return this.maskElement},ui.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},ui.prototype.drawPath=function(t,e,i){for(var n=" M"+e.v[0][0]+","+e.v[0][1],s=e._length,r=1;r<s;r+=1)n+=" C"+l(e.o[r-1][0])+","+l(e.o[r-1][1])+" "+l(e.i[r][0])+","+l(e.i[r][1])+" "+l(e.v[r][0])+","+l(e.v[r][1]);e.c&&1<s&&(n+=" C"+l(e.o[r-1][0])+","+l(e.o[r-1][1])+" "+l(e.i[0][0])+","+l(e.i[0][1])+" "+l(e.v[0][0])+","+l(e.v[0][1])),i.lastPath!==n&&(i.elem&&(e.c?t.inv?i.elem.setAttribute("d",this.solidPath+n):i.elem.setAttribute("d",n):i.elem.setAttribute("d","")),i.lastPath=n)},ui.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},ci.prototype.checkMasks=function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},ci.prototype.checkParenting=function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent)},ci.prototype.prepareFrame=function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!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;i<e;i+=1)(this.isVisible||this._isParent&&"transform"===this.dynamicProperties[i].type)&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i].mdf&&(this.elemMdf=!0,this.globalData.mdf=!0));return this.data.hasMask&&this.isVisible&&this.maskManager.prepareFrame(t*this.data.sr),this.currentFrameNum=t*this.data.sr,this.isVisible},ci.prototype.globalToLocal=function(t){var e=[];e.push(this.finalTransform);for(var i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;for(var s,r=e.length,a=0;a<r;a+=1)s=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},ci.prototype.initExpressions=function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?this.layerInterface.shapeInterface=ShapeExpressionInterface.createShapeInterface(this.shapesData,this.itemsData,this.layerInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this))},ci.prototype.setBlendMode=function(){var t="";switch(this.data.bm){case 1:t="multiply";break;case 2:t="screen";break;case 3:t="overlay";break;case 4:t="darken";break;case 5:t="lighten";break;case 6:t="color-dodge";break;case 7:t="color-burn";break;case 8:t="hard-light";break;case 9:t="soft-light";break;case 10:t="difference";break;case 11:t="exclusion";break;case 12:t="hue";break;case 13:t="saturation";break;case 14:t="color";break;case 15:t="luminosity"}(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},ci.prototype.init=function(){this.data.sr||(this.data.sr=1),this.dynamicProperties=this.dynamicProperties||[],this.data.ef&&(this.effects=new EffectsManager(this.data,this,this.dynamicProperties)),this.hidden=!1,this.firstFrame=!0,this.isVisible=!1,this._isParent=!1,this.currentFrameNum=-99999,this.lastNum=-99999,this.data.ks&&(this.finalTransform={mProp:Wt.getProp(this,this.data.ks,2,null,this.dynamicProperties),matMdf:!1,opMdf:!1,mat:new b,opacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.finalTransform.op=this.finalTransform.mProp.o,this.transform=this.finalTransform.mProp,11!==this.data.ty&&this.createElements(),this.data.hasMask&&this.addMasks(this.data)),this.elemMdf=!1},ci.prototype.getType=function(){return this.type},ci.prototype.resetHierarchy=function(){this.hierarchy?this.hierarchy.length=0:this.hierarchy=[]},ci.prototype.getHierarchy=function(){return this.hierarchy||(this.hierarchy=[]),this.hierarchy},ci.prototype.setHierarchy=function(t){this.hierarchy=t},ci.prototype.getLayerSize=function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}},ci.prototype.hide=function(){},ci.prototype.sourceRectAtTime=function(){return{top:0,left:0,width:100,height:100}},ci.prototype.mHelper=new b,dt(ci,fi),fi.prototype.createElements=function(){this.layerElement=document.createElementNS(T,"g"),this.transformedElement=this.layerElement,this.data.hasMask&&(this.maskedElement=this.layerElement);var t,e,i,n,s,r,a,o,l,h,p,u,c=null;this.data.td?3==this.data.td||1==this.data.td?((t=document.createElementNS(T,"mask")).setAttribute("id",this.layerId),t.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),t.appendChild(this.layerElement),c=t,this.globalData.defs.appendChild(t),je.maskType||1!=this.data.td||(t.setAttribute("mask-type","luminance"),n=S(10),s=ze.createFilter(n),this.globalData.defs.appendChild(s),s.appendChild(ze.createAlphaToLuminanceFilter()),(o=document.createElementNS(T,"g")).appendChild(this.layerElement),c=o,t.appendChild(o),o.setAttribute("filter","url("+w+"#"+n+")"))):2==this.data.td&&((e=document.createElementNS(T,"mask")).setAttribute("id",this.layerId),e.setAttribute("mask-type","alpha"),i=document.createElementNS(T,"g"),e.appendChild(i),n=S(10),s=ze.createFilter(n),(r=document.createElementNS(T,"feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 -1 1"),s.appendChild(r),this.globalData.defs.appendChild(s),(a=document.createElementNS(T,"rect")).setAttribute("width",this.comp.data.w),a.setAttribute("height",this.comp.data.h),a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("fill","#ffffff"),a.setAttribute("opacity","0"),i.setAttribute("filter","url("+w+"#"+n+")"),i.appendChild(a),i.appendChild(this.layerElement),c=i,je.maskType||(e.setAttribute("mask-type","luminance"),s.appendChild(ze.createAlphaToLuminanceFilter()),o=document.createElementNS(T,"g"),i.appendChild(a),o.appendChild(this.layerElement),c=o,i.appendChild(o)),this.globalData.defs.appendChild(e)):(this.data.hasMask||this.data.tt)&&this.data.tt?(this.matteElement=document.createElementNS(T,"g"),this.matteElement.appendChild(this.layerElement),c=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement,!this.data.ln&&!this.data.cl||4!==this.data.ty&&0!==this.data.ty||(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)),0===this.data.ty&&(l=document.createElementNS(T,"clipPath"),(h=document.createElementNS(T,"path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),p="cp_"+S(8),l.setAttribute("id",p),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()?((u=document.createElementNS(T,"g")).setAttribute("clip-path","url("+w+"#"+p+")"),u.appendChild(this.layerElement),this.transformedElement=u,c?c.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+w+"#"+p+")")),0!==this.data.bm&&this.setBlendMode(),this.layerElement!==this.parentContainer&&(this.placeholder=null),this.data.ef&&(this.effectsManager=new ki(this)),this.checkParenting()},fi.prototype.setBlendMode=ci.prototype.setBlendMode,fi.prototype.renderFrame=function(t){if(3===this.data.ty||this.data.hd||!this.isVisible)return!1;var e;this.lastNum=this.currentFrameNum,this.finalTransform.opMdf=this.firstFrame||this.finalTransform.op.mdf,this.finalTransform.matMdf=this.firstFrame||this.finalTransform.mProp.mdf,this.finalTransform.opacity=this.finalTransform.op.v;var i=this.finalTransform.mat;if(this.hierarchy){var n=0,s=this.hierarchy.length;if(!this.finalTransform.matMdf)for(;n<s;){if(this.hierarchy[n].finalTransform.mProp.mdf){this.finalTransform.matMdf=!0;break}n+=1}if(this.finalTransform.matMdf)for(e=this.finalTransform.mProp.v.props,i.cloneFromProps(e),n=0;n<s;n+=1)e=this.hierarchy[n].finalTransform.mProp.v.props,i.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}else this.isVisible&&(i=this.finalTransform.mProp.v);return this.finalTransform.matMdf&&this.layerElement&&this.transformedElement.setAttribute("transform",i.to2dCSS()),this.finalTransform.opMdf&&this.layerElement&&(this.finalTransform.op.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.hidden&&this.isTransparent&&(this.isTransparent=!1,this.show()),this.transformedElement.setAttribute("opacity",this.finalTransform.op.v)),this.data.hasMask&&this.maskManager.renderFrame(i),this.effectsManager&&this.effectsManager.renderFrame(this.firstFrame),this.isVisible},fi.prototype.destroy=function(){this.layerElement=null,this.parentContainer=null,this.matteElement&&(this.matteElement=null),this.maskManager&&this.maskManager.destroy()},fi.prototype.getBaseElement=function(){return this.baseElement},fi.prototype.addMasks=function(t){this.maskManager=new ui(t,this,this.globalData)},fi.prototype.setMatte=function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+w+"#"+t+")")},fi.prototype.hide=function(){this.hidden||(this.layerElement.style.display="none",this.hidden=!0)},fi.prototype.show=function(){this.isVisible&&!this.isTransparent&&(this.hidden=!1,this.layerElement.style.display="block")},dt(fi,di),di.prototype.identityMatrix=new b,di.prototype.lcEnum={1:"butt",2:"round",3:"square"},di.prototype.ljEnum={1:"miter",2:"round",3:"butt"},di.prototype.searchProcessedElement=function(t){for(var e=this.processedElements.length;e;)if(--e,this.processedElements[e].elem===t)return this.processedElements[e].pos;return 0},di.prototype.addProcessedElement=function(t,e){for(var i=this.processedElements.length;i;)if(--i,this.processedElements[i].elem===t){this.processedElements[i].pos=e;break}0===i&&this.processedElements.push({elem:t,pos:e})},di.prototype.buildExpressionInterface=function(){},di.prototype.createElements=function(){var t;this._parent.createElements.call(this),this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,this.dynamicProperties,0,[],!0),this.data.hd&&!this.data.td||((t=this.layerElement).style.userSelect="none",t.style.MozUserSelect="none",t.style.webkitUserSelect="none",t.style.oUserSelect="none")},di.prototype.setGradientData=function(t,e,i){var n="gr_"+S(10),s=1===e.t?document.createElementNS(T,"linearGradient"):document.createElementNS(T,"radialGradient");s.setAttribute("id",n),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");for(var r,a=[],o=4*e.g.p,l=0;l<o;l+=4)r=document.createElementNS(T,"stop"),s.appendChild(r),a.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url(#"+n+")"),this.globalData.defs.appendChild(s),i.gf=s,i.cst=a},di.prototype.setGradientOpacity=function(t,e,i){if(t.g.k.k[0].s&&t.g.k.k[0].s.length>4*t.g.p||t.g.k.k.length>4*t.g.p){var n,s,r,a=document.createElementNS(T,"mask"),o=document.createElementNS(T,"path");a.appendChild(o);var l="op_"+S(10),h="mk_"+S(10);a.setAttribute("id",h),(n=1===t.t?document.createElementNS(T,"linearGradient"):document.createElementNS(T,"radialGradient")).setAttribute("id",l),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;for(var p=[],u=4*t.g.p;u<r;u+=2)(s=document.createElementNS(T,"stop")).setAttribute("stop-color","rgb(255,255,255)"),n.appendChild(s),p.push(s);return o.setAttribute("gf"===t.ty?"fill":"stroke","url(#"+l+")"),this.globalData.defs.appendChild(n),this.globalData.defs.appendChild(a),e.of=n,e.ost=p,i.msElem=o,h}},di.prototype.createStyleElement=function(t,e,i){var n,s,r={},a={data:t,type:t.ty,d:"",ld:"",lvl:e,mdf:!1,closed:!1},o=document.createElementNS(T,"path");return r.o=Wt.getProp(this,t.o,0,.01,i),"st"!=t.ty&&"gs"!=t.ty||(o.setAttribute("stroke-linecap",this.lcEnum[t.lc]||"round"),o.setAttribute("stroke-linejoin",this.ljEnum[t.lj]||"round"),o.setAttribute("fill-opacity","0"),1==t.lj&&o.setAttribute("stroke-miterlimit",t.ml),r.w=Wt.getProp(this,t.w,0,null,i),t.d&&((n=Wt.getDashProp(this,t.d,"svg",i)).k||(o.setAttribute("stroke-dasharray",n.dasharray),o.setAttribute("stroke-dashoffset",n.dashoffset)),r.d=n)),"fl"==t.ty||"st"==t.ty?r.c=Wt.getProp(this,t.c,1,255,i):(r.g=Wt.getGradientProp(this,t.g,i),2==t.t&&(r.h=Wt.getProp(this,t.h,0,.01,i),r.a=Wt.getProp(this,t.a,0,v,i)),r.s=Wt.getProp(this,t.s,1,null,i),r.e=Wt.getProp(this,t.e,1,null,i),this.setGradientData(o,t,r,a),(s=this.setGradientOpacity(t,r,a))&&o.setAttribute("mask","url(#"+s+")")),r.elem=o,2===t.r&&o.setAttribute("fill-rule","evenodd"),t.ln&&o.setAttribute("id",t.ln),t.cl&&o.setAttribute("class",t.cl),a.pElem=o,this.stylesList.push(a),r.style=a,r},di.prototype.createGroupElement=function(t){var e={it:[],prevViewData:[]},i=document.createElementNS(T,"g");return e.gr=i,t.ln&&e.gr.setAttribute("id",t.ln),e},di.prototype.createTransformElement=function(t,e){return{transform:{op:Wt.getProp(this,t.o,0,.01,e),mProps:Wt.getProp(this,t,2,null,e)},elements:[]}},di.prototype.createShapeElement=function(t,e,i,n){var s={elements:[],caches:[],styles:[],transformers:e,lStr:""},r=4;return"rc"==t.ty?r=5:"el"==t.ty?r=6:"sr"==t.ty&&(r=7),s.sh=we.getShapeProp(this,t,r,n),s.lvl=i,this.shapes.push(s.sh),this.addShapeToModifiers(s),s};function mi(t,e,i,n){}function gi(t,e,i,n,s){this.textSpans=[],this.renderType="svg",this._parent.constructor.call(this,t,e,i,n,s)}function yi(t,e){this.filterManager=e;var i,n,s=document.createElementNS(T,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),s.setAttribute("result","f1"),t.appendChild(s),(s=document.createElementNS(T,"feColorMatrix")).setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result","f2"),t.appendChild(s),this.matrixFilter=s,100===e.effectElements[2].p.v&&!e.effectElements[2].p.k||(i=document.createElementNS(T,"feMerge"),t.appendChild(i),(n=document.createElementNS(T,"feMergeNode")).setAttribute("in","SourceGraphic"),i.appendChild(n),(n=document.createElementNS(T,"feMergeNode")).setAttribute("in","f2"),i.appendChild(n))}function vi(t,e){this.filterManager=e;var i=document.createElementNS(T,"feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(i),this.matrixFilter=i}function _i(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function bi(t,e){this.filterManager=e;var i=document.createElementNS(T,"feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result","f1"),t.appendChild(i);var n=document.createElementNS(T,"feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.matrixFilter=n;var s=document.createElementNS(T,"feFuncR");s.setAttribute("type","table"),n.appendChild(s),this.feFuncR=s;var r=document.createElementNS(T,"feFuncG");r.setAttribute("type","table"),n.appendChild(r),this.feFuncG=r;var a=document.createElementNS(T,"feFuncB");a.setAttribute("type","table"),n.appendChild(a),this.feFuncB=a}function xi(t,e){this.filterManager=e;var i=this.filterManager.effectElements,n=document.createElementNS(T,"feComponentTransfer");(i[9].p.k||0!==i[9].p.v||i[10].p.k||1!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||0!==i[12].p.v||i[13].p.k||1!==i[13].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(i[16].p.k||0!==i[16].p.v||i[17].p.k||1!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||0!==i[19].p.v||i[20].p.k||1!==i[20].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(i[23].p.k||0!==i[23].p.v||i[24].p.k||1!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||0!==i[26].p.v||i[27].p.k||1!==i[27].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(i[30].p.k||0!==i[30].p.v||i[31].p.k||1!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||0!==i[33].p.v||i[34].p.k||1!==i[34].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),n=document.createElementNS(T,"feComponentTransfer")),(i[2].p.k||0!==i[2].p.v||i[3].p.k||1!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||0!==i[5].p.v||i[6].p.k||1!==i[6].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function wi(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","400%"),t.setAttribute("height","400%"),this.filterManager=e;var i=document.createElementNS(T,"feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var n=document.createElementNS(T,"feOffset");n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in","drop_shadow_1"),n.setAttribute("result","drop_shadow_2"),this.feOffset=n,t.appendChild(n);var s=document.createElementNS(T,"feFlood");s.setAttribute("flood-color","#00ff00"),s.setAttribute("flood-opacity","1"),s.setAttribute("result","drop_shadow_3"),this.feFlood=s,t.appendChild(s);var r=document.createElementNS(T,"feComposite");r.setAttribute("in","drop_shadow_3"),r.setAttribute("in2","drop_shadow_2"),r.setAttribute("operator","in"),r.setAttribute("result","drop_shadow_4"),t.appendChild(r);var a,o=document.createElementNS(T,"feMerge");t.appendChild(o),a=document.createElementNS(T,"feMergeNode"),o.appendChild(a),(a=document.createElementNS(T,"feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=a,this.feMerge=o,this.originalNodeAdded=!1,o.appendChild(a)}function Ti(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=i).matteElement=document.createElementNS(T,"g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function ki(t){var e,i,n=t.data.ef.length,s=S(10),r=ze.createFilter(s),a=0;for(this.filters=[],e=0;e<n;e+=1)20===t.data.ef[e].ty?(a+=1,i=new yi(r,t.effects.effectElements[e]),this.filters.push(i)):21===t.data.ef[e].ty?(a+=1,i=new vi(r,t.effects.effectElements[e]),this.filters.push(i)):22===t.data.ef[e].ty?(i=new _i(t,t.effects.effectElements[e]),this.filters.push(i)):23===t.data.ef[e].ty?(a+=1,i=new bi(r,t.effects.effectElements[e]),this.filters.push(i)):24===t.data.ef[e].ty?(a+=1,i=new xi(r,t.effects.effectElements[e]),this.filters.push(i)):25===t.data.ef[e].ty?(a+=1,i=new wi(r,t.effects.effectElements[e]),this.filters.push(i)):28===t.data.ef[e].ty&&(i=new Ti(r,t.effects.effectElements[e],t),this.filters.push(i));a&&(t.globalData.defs.appendChild(r),t.layerElement.setAttribute("filter","url("+w+"#"+s+")"))}function Pi(t,e,i,n,s){this._parent.constructor.call(this,t,e,i,n,s),this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?Array.apply(null,{length:this.layers.length}):[],this.data.tm&&(this.tm=Wt.getProp(this,this.data.tm,0,i.frameRate,this.dynamicProperties)),this.data.xt?(this.layerElement=document.createElementNS(T,"g"),this.buildAllItems()):i.progressiveLoad||this.buildAllItems()}function Ai(t,e,i,n,s){this.assetData=i.getAssetData(t.refId),this._parent.constructor.call(this,t,e,i,n,s)}function Si(t,e,i,n,s){this._parent.constructor.call(this,t,e,i,n,s)}di.prototype.setElementStyles=function(){for(var t=this.stylesList.length,e=[],i=0;i<t;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i]);return e},di.prototype.reloadShapes=function(){this.firstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,this.dynamicProperties,0,[],!0);var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},di.prototype.searchShapes=function(t,e,i,n,s,r,a,o){for(var l,h,p,u,c,f=[].concat(a),d=t.length-1,m=[],g=[],y=d;0<=y;--y){if((c=this.searchProcessedElement(t[y]))?e[y]=i[c-1]:t[y]._render=o,"fl"==t[y].ty||"st"==t[y].ty||"gf"==t[y].ty||"gs"==t[y].ty)c?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r,s),t[y]._render&&n.appendChild(e[y].elem),m.push(e[y].style);else if("gr"==t[y].ty){if(c)for(h=e[y].it.length,l=0;l<h;l+=1)e[y].prevViewData[l]=e[y].it[l];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,s,r+1,f,o),t[y]._render&&n.appendChild(e[y].gr)}else"tr"==t[y].ty?(c||(e[y]=this.createTransformElement(t[y],s)),p=e[y].transform,f.push(p)):"sh"==t[y].ty||"rc"==t[y].ty||"el"==t[y].ty||"sr"==t[y].ty?(c||(e[y]=this.createShapeElement(t[y],f,r,s)),e[y].elements=this.setElementStyles()):"tm"==t[y].ty||"rd"==t[y].ty||"ms"==t[y].ty?(c?(u=e[y]).closed=!1:((u=Te.getModifier(t[y].ty)).init(this,t[y],s),e[y]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"==t[y].ty&&(c?(u=e[y]).closed=!0:(u=Te.getModifier(t[y].ty),(e[y]=u).init(this,t,y,e,s),this.shapeModifiers.push(u),o=!1),g.push(u));this.addProcessedElement(t[y],y+1)}for(d=m.length,y=0;y<d;y+=1)m[y].closed=!0;for(d=g.length,y=0;y<d;y+=1)g[y].closed=!0},di.prototype.addShapeToModifiers=function(t){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].addShape(t)},di.prototype.renderModifiers=function(){if(this.shapeModifiers.length){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].reset();for(e=(t=this.shapeModifiers.length)-1;0<=e;--e)this.shapeModifiers[e].processShapes(this.firstFrame)}},di.prototype.renderFrame=function(t){if(!1!==this._parent.renderFrame.call(this,t)){this.hidden&&(this.layerElement.style.display="block",this.hidden=!1),this.renderModifiers();for(var e=this.stylesList.length,i=0;i<e;i+=1)this.stylesList[i].d="",this.stylesList[i].mdf=!1;for(this.renderShape(this.shapesData,this.itemsData,null),i=0;i<e;i+=1)"0"===this.stylesList[i].ld&&(this.stylesList[i].ld="1",this.stylesList[i].pElem.style.display="block"),(this.stylesList[i].mdf||this.firstFrame)&&(this.stylesList[i].pElem.setAttribute("d",this.stylesList[i].d),this.stylesList[i].msElem&&this.stylesList[i].msElem.setAttribute("d",this.stylesList[i].d));this.firstFrame&&(this.firstFrame=!1)}else this.hide()},di.prototype.hide=function(){if(!this.hidden){this.layerElement.style.display="none";for(var t=this.stylesList.length-1;0<=t;--t)"0"!==this.stylesList[t].ld&&(this.stylesList[t].ld="0",this.stylesList[t].pElem.style.display="none",this.stylesList[t].pElem.parentNode&&(this.stylesList[t].parent=this.stylesList[t].pElem.parentNode));this.hidden=!0}},di.prototype.renderShape=function(t,e,i){for(var n,s=t.length-1;0<=s;--s)"tr"==(n=t[s].ty)?((this.firstFrame||e[s].transform.op.mdf&&i)&&i.setAttribute("opacity",e[s].transform.op.v),(this.firstFrame||e[s].transform.mProps.mdf&&i)&&i.setAttribute("transform",e[s].transform.mProps.v.to2dCSS())):"sh"==n||"el"==n||"rc"==n||"sr"==n?this.renderPath(t[s],e[s]):"fl"==n?this.renderFill(t[s],e[s]):"gf"==n?this.renderGradient(t[s],e[s]):"gs"==n?(this.renderGradient(t[s],e[s]),this.renderStroke(t[s],e[s])):"st"==n?this.renderStroke(t[s],e[s]):"gr"==n&&this.renderShape(t[s].it,e[s].it,e[s].gr)},di.prototype.buildShapeString=function(t,e,i,n){for(var s="",r=1;r<e;r+=1)1===r&&(s+=" M"+n.applyToPointStringified(t.v[0][0],t.v[0][1])),s+=" C"+n.applyToPointStringified(t.o[r-1][0],t.o[r-1][1])+" "+n.applyToPointStringified(t.i[r][0],t.i[r][1])+" "+n.applyToPointStringified(t.v[r][0],t.v[r][1]);return 1===e&&(s+=" M"+n.applyToPointStringified(t.v[0][0],t.v[0][1])),i&&e&&(s+=" C"+n.applyToPointStringified(t.o[r-1][0],t.o[r-1][1])+" "+n.applyToPointStringified(t.i[0][0],t.i[0][1])+" "+n.applyToPointStringified(t.v[0][0],t.v[0][1]),s+="z"),s},di.prototype.renderPath=function(t,e){var i,n,s,r,a,o=e.elements.length,l=e.lvl;if(t._render)for(a=0;a<o;a+=1)if(e.elements[a].data._render){s=e.sh.mdf||this.firstFrame,n="M0 0";var h=e.sh.paths,p=h._length;if(e.elements[a].lvl<l){for(var u,c=this.mHelper.reset(),f=l-e.elements[a].lvl,d=e.transformers.length-1;0<f;)s=e.transformers[d].mProps.mdf||s,u=e.transformers[d].mProps.v.props,c.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),f--,d--;if(s){for(i=0;i<p;i+=1)(r=h.shapes[i])&&r._length&&(n+=this.buildShapeString(r,r._length,r.c,c));e.caches[a]=n}else n=e.caches[a]}else if(s){for(i=0;i<p;i+=1)(r=h.shapes[i])&&r._length&&(n+=this.buildShapeString(r,r._length,r.c,this.identityMatrix));e.caches[a]=n}else n=e.caches[a];e.elements[a].d+=n,e.elements[a].mdf=s||e.elements[a].mdf}else e.elements[a].mdf=!0},di.prototype.renderFill=function(t,e){var i=e.style;(e.c.mdf||this.firstFrame)&&i.pElem.setAttribute("fill","rgb("+P(e.c.v[0])+","+P(e.c.v[1])+","+P(e.c.v[2])+")"),(e.o.mdf||this.firstFrame)&&i.pElem.setAttribute("fill-opacity",e.o.v)},di.prototype.renderGradient=function(t,e){var i,n,s,r,a,o,l,h,p,u,c=e.gf,f=e.of,d=e.s.v,m=e.e.v;if((e.o.mdf||this.firstFrame)&&(i="gf"===t.ty?"fill-opacity":"stroke-opacity",e.elem.setAttribute(i,e.o.v)),(e.s.mdf||this.firstFrame)&&(s="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",c.setAttribute(n,d[0]),c.setAttribute(s,d[1]),f&&(f.setAttribute(n,d[0]),f.setAttribute(s,d[1]))),e.g.cmdf||this.firstFrame){r=e.cst;for(var g=e.g.c,y=r.length,v=0;v<y;v+=1)(a=r[v]).setAttribute("offset",g[4*v]+"%"),a.setAttribute("stop-color","rgb("+g[4*v+1]+","+g[4*v+2]+","+g[4*v+3]+")")}if(f&&(e.g.omdf||this.firstFrame)){r=e.ost;var _=e.g.o;for(y=r.length,v=0;v<y;v+=1)(a=r[v]).setAttribute("offset",_[2*v]+"%"),a.setAttribute("stop-opacity",_[2*v+1])}1===t.t?(e.e.mdf||this.firstFrame)&&(c.setAttribute("x2",m[0]),c.setAttribute("y2",m[1]),f&&(f.setAttribute("x2",m[0]),f.setAttribute("y2",m[1]))):((e.s.mdf||e.e.mdf||this.firstFrame)&&(o=Math.sqrt(Math.pow(d[0]-m[0],2)+Math.pow(d[1]-m[1],2)),c.setAttribute("r",o),f&&f.setAttribute("r",o)),(e.e.mdf||e.h.mdf||e.a.mdf||this.firstFrame)&&(o=o||Math.sqrt(Math.pow(d[0]-m[0],2)+Math.pow(d[1]-m[1],2)),l=Math.atan2(m[1]-d[1],m[0]-d[0]),h=o*(1<=e.h.v?.99:e.h.v<=-1?-.99:e.h.v),p=Math.cos(l+e.a.v)*h+d[0],u=Math.sin(l+e.a.v)*h+d[1],c.setAttribute("fx",p),c.setAttribute("fy",u),f&&(f.setAttribute("fx",p),f.setAttribute("fy",u))))},di.prototype.renderStroke=function(t,e){var i=e.style,n=e.d;n&&n.k&&(n.mdf||this.firstFrame)&&(i.pElem.setAttribute("stroke-dasharray",n.dasharray),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset)),e.c&&(e.c.mdf||this.firstFrame)&&i.pElem.setAttribute("stroke","rgb("+P(e.c.v[0])+","+P(e.c.v[1])+","+P(e.c.v[2])+")"),(e.o.mdf||this.firstFrame)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w.mdf||this.firstFrame)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))},di.prototype.destroy=function(){this._parent.destroy.call(this._parent),this.shapeData=null,this.itemsData=null,this.parentContainer=null,this.placeholder=null},mi.prototype.init=function(){this.lettersChangedFlag=!0,this.dynamicProperties=this.dynamicProperties||[],this.textAnimator=new Be(this.data.t,this.renderType,this),this.textProperty=new He(this,this.data.t,this.dynamicProperties),this._parent.init.call(this),this.textAnimator.searchProperties(this.dynamicProperties)},mi.prototype.prepareFrame=function(t){this._parent.prepareFrame.call(this,t),(this.textProperty.mdf||this.textProperty.firstFrame)&&(this.buildNewText(),this.textProperty.firstFrame=!1)},mi.prototype.createPathShape=function(t,e){for(var i,n=e.length,s="",r=0;r<n;r+=1)i=e[r].ks.k,s+=this.buildShapeString(i,i.i.length,!0,t);return s},mi.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},mi.prototype.applyTextPropertiesToMatrix=function(t,e,i,n,s){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(n,s,0)},mi.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},mi.prototype.buildShapeString=di.prototype.buildShapeString,mi.prototype.emptyProp=new qe,mi.prototype.destroy=function(){this._parent.destroy.call(this._parent)},dt(fi,gi),mt(mi,gi),gi.prototype.createElements=function(){this._parent.createElements.call(this),this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=document.createElementNS(T,"text"))},gi.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=Array.apply(null,{length:t?t.l.length:0}),t.fc?this.layerElement.setAttribute("fill",this.buildColor(t.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),t.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(t.sc)),this.layerElement.setAttribute("stroke-width",t.sw)),this.layerElement.setAttribute("font-size",t.s);var e,i,n=this.globalData.fontManager.getFontByName(t.f);n.fClass?this.layerElement.setAttribute("class",n.fClass):(this.layerElement.setAttribute("font-family",n.fFamily),e=t.fWeight,i=t.fStyle,this.layerElement.setAttribute("font-style",i),this.layerElement.setAttribute("font-weight",e));var s=t.l||[],r=this.globalData.fontManager.chars;if(v=s.length){var a,o,l=this.mHelper,h="",p=this.data.singleShape,u=0,c=0,f=!0,d=t.tr/1e3*t.s;if(p&&!r){var m=this.textContainer,g="";switch(t.j){case 1:g="end";break;case 2:g="middle";break;case 2:g="start"}m.setAttribute("text-anchor",g),m.setAttribute("letter-spacing",d);for(var y=t.t.split(String.fromCharCode(13)),v=y.length,c=t.ps?t.ps[1]+t.ascent:0,_=0;_<v;_+=1)(a=this.textSpans[_]||document.createElementNS(T,"tspan")).textContent=y[_],a.setAttribute("x",0),a.setAttribute("y",c),a.style.display="inherit",m.appendChild(a),this.textSpans[_]=a,c+=t.lh;this.layerElement.appendChild(m)}else{var b,x,w=this.textSpans.length;for(_=0;_<v;_+=1)r&&p&&0!==_||(a=_<w?this.textSpans[_]:document.createElementNS(T,r?"path":"text"),w<=_&&(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[_]=a,this.layerElement.appendChild(a)),a.style.display="inherit"),l.reset(),r?(l.scale(t.s/100,t.s/100),p&&(s[_].n&&(u=-d,c+=t.yOffset,c+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(t,l,s[_].line,u,c),u+=s[_].l||0,u+=d),o=(b=(x=this.globalData.fontManager.getCharData(t.t.charAt(_),n.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&x.data||{}).shapes?b.shapes[0].it:[],p?h+=this.createPathShape(l,o):a.setAttribute("d",this.createPathShape(l,o))):(a.textContent=s[_].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));p&&a.setAttribute("d",h)}for(;_<this.textSpans.length;)this.textSpans[_].style.display="none",_+=1;this._sizeChanged=!0}},gi.prototype.sourceRectAtTime=function(t){var e;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderLetters(),this._sizeChanged&&(this._sizeChanged=!1,e=this.layerElement.getBBox(),this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}),this.bbox},gi.prototype.renderLetters=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;for(var t,e,i=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l,s=n.length,r=0;r<s;r+=1)n[r].n||(t=i[r],e=this.textSpans[r],t.mdf.m&&e.setAttribute("transform",t.m),t.mdf.o&&e.setAttribute("opacity",t.o),t.mdf.sw&&e.setAttribute("stroke-width",t.sw),t.mdf.sc&&e.setAttribute("stroke",t.sc),t.mdf.fc&&e.setAttribute("fill",t.fc))}},gi.prototype.renderFrame=function(t){!1!==this._parent.renderFrame.call(this,t)?(this.hidden&&this.show(),this.firstFrame&&(this.firstFrame=!1),this.renderLetters()):this.hide()},yi.prototype.renderFrame=function(t){var e,i,n;(t||this.filterManager.mdf)&&(e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100,this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+n+" 0"))},vi.prototype.renderFrame=function(t){var e,i;(t||this.filterManager.mdf)&&(e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v,this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0"))},_i.prototype.initialize=function(){var t,e,i,n,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,i=0):n=(i=this.filterManager.effectElements[0].p.v-1)+1,(e=document.createElementNS(T,"g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<n;i+=1)t=document.createElementNS(T,"path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var r=document.createElementNS(T,"mask"),a="stms_"+S(10);r.setAttribute("id",a),r.setAttribute("mask-type","alpha"),r.appendChild(e),this.elem.globalData.defs.appendChild(r);var o=document.createElementNS(T,"g");o.setAttribute("mask","url("+w+"#"+a+")"),s[0]&&o.appendChild(s[0]),this.elem.layerElement.appendChild(o),this.masker=r,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},_i.prototype.renderFrame=function(t){this.initialized||this.initialize();for(var e,i,n,s=this.paths.length,r=0;r<s;r+=1)if(e=this.elem.maskManager.viewData[this.paths[r].m],i=this.paths[r].p,(t||this.filterManager.mdf||e.prop.mdf)&&i.setAttribute("d",e.lastPath),t||this.filterManager.effectElements[9].p.mdf||this.filterManager.effectElements[4].p.mdf||this.filterManager.effectElements[7].p.mdf||this.filterManager.effectElements[8].p.mdf||e.prop.mdf){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){for(var a=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=i.getTotalLength(),h="0 0 0 "+l*a+" ",p=l*(o-a),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,c=Math.floor(p/u),f=0;f<c;f+=1)h+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";h+="0 "+10*l+" 0 0"}else h="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;i.setAttribute("stroke-dasharray",h)}(t||this.filterManager.effectElements[4].p.mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p.mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),1!==this.filterManager.effectElements[10].p.v&&2!==this.filterManager.effectElements[10].p.v||(t||this.filterManager.effectElements[3].p.mdf)&&(n=this.filterManager.effectElements[3].p.v,this.pathMasker.setAttribute("stroke","rgb("+P(255*n[0])+","+P(255*n[1])+","+P(255*n[2])+")"))},bi.prototype.renderFrame=function(t){var e,i,n,s,r,a;(t||this.filterManager.mdf)&&(e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=(n=this.filterManager.effectElements[2].p.v)[0]+" "+i[0]+" "+e[0],r=n[1]+" "+i[1]+" "+e[1],a=n[2]+" "+i[2]+" "+e[2],this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",r),this.feFuncB.setAttribute("tableValues",a))},xi.prototype.createFeFunc=function(t,e){var i=document.createElementNS(T,t);return i.setAttribute("type","table"),e.appendChild(i),i},xi.prototype.getTableValue=function(t,e,i,n,s){for(var r,a,o=0,l=Math.min(t,e),h=Math.max(t,e),p=Array.call(null,{length:256}),u=0,c=s-n,f=e-t;o<=256;)a=(r=o/256)<=l?f<0?s:n:h<=r?f<0?n:s:n+c*Math.pow((r-t)/f,1/i),p[u++]=a,o+=256/255;return p.join(" ")},xi.prototype.renderFrame=function(t){var e,i;(t||this.filterManager.mdf)&&(i=this.filterManager.effectElements,this.feFuncRComposed&&(t||i[2].p.mdf||i[3].p.mdf||i[4].p.mdf||i[5].p.mdf||i[6].p.mdf)&&(e=this.getTableValue(i[2].p.v,i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[9].p.mdf||i[10].p.mdf||i[11].p.mdf||i[12].p.mdf||i[13].p.mdf)&&(e=this.getTableValue(i[9].p.v,i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[16].p.mdf||i[17].p.mdf||i[18].p.mdf||i[19].p.mdf||i[20].p.mdf)&&(e=this.getTableValue(i[16].p.v,i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[23].p.mdf||i[24].p.mdf||i[25].p.mdf||i[26].p.mdf||i[27].p.mdf)&&(e=this.getTableValue(i[23].p.v,i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[30].p.mdf||i[31].p.mdf||i[32].p.mdf||i[33].p.mdf||i[34].p.mdf)&&(e=this.getTableValue(i[30].p.v,i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v),this.feFuncA.setAttribute("tableValues",e)))},wi.prototype.renderFrame=function(t){var e,i,n,s,r;(t||this.filterManager.mdf)&&((t||this.filterManager.effectElements[4].p.mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),(t||this.filterManager.effectElements[0].p.mdf)&&(e=this.filterManager.effectElements[0].p.v,this.feFlood.setAttribute("flood-color",m(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))),(t||this.filterManager.effectElements[1].p.mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),(t||this.filterManager.effectElements[2].p.mdf||this.filterManager.effectElements[3].p.mdf)&&(i=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*v,s=i*Math.cos(n),r=i*Math.sin(n),this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",r)))},Ti.prototype.setElementAsMask=function(t,e){var i=document.createElementNS(T,"mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),i.appendChild(e.layerElement),t.setMatte(e.layerId),e.data.hd=!1,t.globalData.defs.appendChild(i)},Ti.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=0,i=this.elem.comp.elements.length;e<i;)this.elem.comp.elements[e].data.ind===t&&this.setElementAsMask(this.elem,this.elem.comp.elements[e]),e+=1;this.initialized=!0},Ti.prototype.renderFrame=function(){this.initialized||this.initialize()},ki.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},dt(fi,Pi),Pi.prototype.hide=function(){if(!this.hidden){this._parent.hide.call(this);for(var t=this.elements.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].hide()}},Pi.prototype.prepareFrame=function(t){if(this._parent.prepareFrame.call(this,t),!1!==this.isVisible||this.data.xt){var e;this.tm?((e=this.tm.v)===this.data.op&&(e=this.data.op-1),this.renderedFrame=e):this.renderedFrame=t/this.data.sr;var i,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=0;i<n;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st)}},Pi.prototype.renderFrame=function(t){var e,i=this._parent.renderFrame.call(this,t),n=this.layers.length;if(!1!==i){for(this.hidden&&this.show(),e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame();this.firstFrame&&(this.firstFrame=!1)}else this.hide()},Pi.prototype.setElements=function(t){this.elements=t},Pi.prototype.getElements=function(){return this.elements},Pi.prototype.destroy=function(){this._parent.destroy.call(this._parent);for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},Pi.prototype.checkLayers=pi.prototype.checkLayers,Pi.prototype.buildItem=pi.prototype.buildItem,Pi.prototype.buildAllItems=pi.prototype.buildAllItems,Pi.prototype.buildElementParenting=pi.prototype.buildElementParenting,Pi.prototype.createItem=pi.prototype.createItem,Pi.prototype.createImage=pi.prototype.createImage,Pi.prototype.createComp=pi.prototype.createComp,Pi.prototype.createSolid=pi.prototype.createSolid,Pi.prototype.createShape=pi.prototype.createShape,Pi.prototype.createText=pi.prototype.createText,Pi.prototype.createBase=pi.prototype.createBase,Pi.prototype.appendElementInPos=pi.prototype.appendElementInPos,Pi.prototype.checkPendingElements=pi.prototype.checkPendingElements,Pi.prototype.addPendingElement=pi.prototype.addPendingElement,dt(fi,Ai),Ai.prototype.createElements=function(){var t=this.globalData.getAssetsPath(this.assetData);this._parent.createElements.call(this),this.innerElem=document.createElementNS(T,"image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio","xMidYMid slice"),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.maskedElement=this.innerElem,this.layerElement.appendChild(this.innerElem),this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)},Ai.prototype.renderFrame=function(t){!1!==this._parent.renderFrame.call(this,t)?(this.hidden&&this.show(),this.firstFrame&&(this.firstFrame=!1)):this.hide()},Ai.prototype.destroy=function(){this._parent.destroy.call(this._parent),this.innerElem=null},dt(fi,Si),Si.prototype.createElements=function(){this._parent.createElements.call(this);var t=document.createElementNS(T,"rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t),this.innerElem=t,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)},Si.prototype.renderFrame=Ai.prototype.renderFrame,Si.prototype.destroy=Ai.prototype.destroy;var Ei,Ci,Mi,Di,Fi,Ii,Oi=(Ei={},Ci=[],Fi=!(Di=Mi=0),Ii=0,setTimeout(qi,0),Ei.registerAnimation=Ni,Ei.loadAnimation=function(t){var e=new Hi;return ji(e,null),e.setParams(t),e},Ei.setSpeed=function(t,e){for(var i=0;i<Di;i+=1)Ci[i].animation.setSpeed(t,e)},Ei.setDirection=function(t,e){for(var i=0;i<Di;i+=1)Ci[i].animation.setDirection(t,e)},Ei.play=function(t){for(var e=0;e<Di;e+=1)Ci[e].animation.play(t)},Ei.moveFrame=function(t,e){var i;for(Mi=Date.now(),i=0;i<Di;i+=1)Ci[i].animation.moveFrame(t,e)},Ei.pause=function(t){for(var e=0;e<Di;e+=1)Ci[e].animation.pause(t)},Ei.stop=function(t){for(var e=0;e<Di;e+=1)Ci[e].animation.stop(t)},Ei.togglePause=function(t){for(var e=0;e<Di;e+=1)Ci[e].animation.togglePause(t)},Ei.searchAnimations=function(t,e,i){for(var n,s,r=document.getElementsByClassName("bodymovin"),a=r.length,o=0;o<a;o+=1)i&&r[o].setAttribute("data-bm-type",i),Ni(r[o],t);e&&0===a&&(i=i||"svg",(n=document.getElementsByTagName("body")[0]).innerHTML="",(s=document.createElement("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),n.appendChild(s),Ni(s,t))},Ei.resize=function(){for(var t=0;t<Di;t+=1)Ci[t].animation.resize()},Ei.start=qi,Ei.goToAndStop=function(t,e,i){for(var n=0;n<Di;n+=1)Ci[n].animation.goToAndStop(t,e,i)},Ei.destroy=function(t){for(var e=Di-1;0<=e;--e)Ci[e].animation.destroy(t)},Ei);function Li(t){for(var e=0,i=t.target;e<Di;)Ci[e].animation===i&&(Ci.splice(e,1),--e,--Di,i.isPaused||Vi()),e+=1}function Ni(t,e){if(!t)return null;for(var i=0;i<Di;){if(Ci[i].elem==t&&null!==Ci[i].elem)return Ci[i].animation;i+=1}var n=new Hi;return ji(n,t),n.setData(t,e),n}function Ri(){Ii+=1,Fi&&(Fi=!1,a.requestAnimationFrame(Bi))}function Vi(){0===--Ii&&(Fi=!0)}function ji(t,e){t.addEventListener("destroy",Li),t.addEventListener("_active",Ri),t.addEventListener("_idle",Vi),Ci.push({elem:e,animation:t}),Di+=1}function zi(t){for(var e=t-Mi,i=0;i<Di;i+=1)Ci[i].animation.advanceTime(e);Mi=t,Fi||a.requestAnimationFrame(zi)}function Bi(t){Mi=t,a.requestAnimationFrame(zi)}function qi(){a.requestAnimationFrame(Bi)}var Hi=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.pendingElements=0,this.playCount=0,this.prerenderFramesFlag=!0,this.animationData={},this.layers=[],this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=S(10),this.scaleMode="fit",this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=e,this.segments=[],this.pendingSegment=!1,this._idle=!0,this.projectInterface={}};function Wi(){this.renderer.globalData.fontManager.loaded?(Pt.completeData(this.animationData,this.renderer.globalData.fontManager),this.checkLoaded()):setTimeout(Wi.bind(this),20)}Hi.prototype.setParams=function(t){var e=this;t.context&&(this.context=t.context),(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var i,n=t.animType?t.animType:t.renderer?t.renderer:"svg";switch(n){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new pi(this,t.rendererSettings);break;case"hybrid":case"html":default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=n,""===t.loop||null===t.loop||(!1===t.loop?this.loop=!1:!0===t.loop?this.loop=!0:this.loop=parseInt(t.loop)),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.prerenderFramesFlag=!("prerender"in t)||t.prerender,this.autoloadSegments=!t.hasOwnProperty("autoloadSegments")||t.autoloadSegments,t.animationData?e.configAnimation(t.animationData):t.path&&("json"!=t.path.substr(-4)&&("/"!=t.path.substr(-1,1)&&(t.path+="/"),t.path+="data.json"),i=new XMLHttpRequest,-1!=t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.assetsPath=t.assetsPath,this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),i.open("GET",t.path,!0),i.send(),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status)e.configAnimation(JSON.parse(i.responseText));else try{var t=JSON.parse(i.responseText);e.configAnimation(t)}catch(t){}})},Hi.prototype.setData=function(t,e){var i={wrapper:t,animationData:e?"object"==typeof e?e:JSON.parse(e):null},n=t.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var s=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";""===s||(i.loop="false"!==s&&("true"===s||parseInt(s)));var r=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;i.autoplay="false"!==r,i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(i.prerender=!1),this.setParams(i)},Hi.prototype.includeLayers=function(t){t.op>this.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;a<r;a+=1)for(e=0;e<n;){if(i[e].id==s[a].id){i[e]=s[a];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,Pt.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),o&&o.initExpressions(this),this.renderer.renderFrame(null),this.loadNextSegment()},Hi.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.animationData.tf);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=new XMLHttpRequest,n=this,s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,i.open("GET",s,!0),i.send(),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status)n.includeLayers(JSON.parse(i.responseText));else try{var t=JSON.parse(i.responseText);n.includeLayers(t)}catch(t){}}},Hi.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.animationData.tf),this.loadNextSegment()},Hi.prototype.configAnimation=function(t){var e=this;this.renderer&&this.renderer.destroyed||(this.animationData=t,this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.animationData.tf=this.totalFrames,this.renderer.configAnimation(t),t.assets||(t.assets=[]),t.comps&&(t.assets=t.assets.concat(t.comps),t.comps=null),this.renderer.searchExtraCompositions(t.assets),this.layers=this.animationData.layers,this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.firstFrame=Math.round(this.animationData.ip),this.frameMult=this.animationData.fr/1e3,this.trigger("config_ready"),this.imagePreloader=new Me,this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(t.assets,function(t){t||e.trigger("loaded_images")}),this.loadSegments(),this.updaFrameModifier(),this.renderer.globalData.fontManager?this.waitForFontsLoaded():(Pt.completeData(this.animationData,this.renderer.globalData.fontManager),this.checkLoaded()))},Hi.prototype.waitForFontsLoaded=function(){Wi.bind(this)()},Hi.prototype.addPendingElement=function(){this.pendingElements+=1},Hi.prototype.elementLoaded=function(){this.pendingElements--,this.checkLoaded()},Hi.prototype.checkLoaded=function(){0===this.pendingElements&&(o&&o.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.isLoaded=!0,this.gotoFrame(),this.autoplay&&this.play())},Hi.prototype.resize=function(){this.renderer.updateContainerSize()},Hi.prototype.setSubframe=function(t){this.subframeEnabled=!!t},Hi.prototype.gotoFrame=function(){this.subframeEnabled?this.currentFrame=this.currentRawFrame:this.currentFrame=Math.floor(this.currentRawFrame),this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},Hi.prototype.renderFrame=function(){!1!==this.isLoaded&&this.renderer.renderFrame(this.currentFrame+this.firstFrame)},Hi.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},Hi.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this.pendingSegment||(this._idle=!0,this.trigger("_idle")))},Hi.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},Hi.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.currentFrame=this.currentRawFrame=0,this.playCount=0,this.gotoFrame())},Hi.prototype.goToAndStop=function(t,e,i){i&&this.name!=i||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},Hi.prototype.goToAndPlay=function(t,e,i){this.goToAndStop(t,e,i),this.play()},Hi.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)},Hi.prototype.updateAnimation=function(t){this.setCurrentRawFrameValue(this.totalFrames*t)},Hi.prototype.moveFrame=function(t,e){e&&this.name!=e||this.setCurrentRawFrameValue(this.currentRawFrame+t)},Hi.prototype.adjustSegment=function(t){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.01)):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")},Hi.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t-.01)),this.firstFrame=t,this.totalFrames=e-t,-1!==i&&this.goToAndStop(i,!0)},Hi.prototype.playSegments=function(t,e){if("object"==typeof t[0])for(var i=t.length,n=0;n<i;n+=1)this.segments.push(t[n]);else this.segments.push(t);e&&this.adjustSegment(this.segments.shift()),this.isPaused&&this.play()},Hi.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip*this.frameRate,Math.floor(this.animationData.op-this.animationData.ip+this.animationData.ip*this.frameRate)]),t&&this.adjustSegment(this.segments.shift())},Hi.prototype.checkSegments=function(){this.segments.length&&(this.pendingSegment=!0)},Hi.prototype.remove=function(t){t&&this.name!=t||this.renderer.destroy()},Hi.prototype.destroy=function(t){t&&this.name!=t||this.renderer&&this.renderer.destroyed||(this.renderer.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null)},Hi.prototype.setCurrentRawFrameValue=function(t){if(this.currentRawFrame=t,this.currentRawFrame>=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()},Hi.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},Hi.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},Hi.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},Hi.prototype.getPath=function(){return this.path},Hi.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?t.u:"",i+=t.p),i},Hi.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t==this.assets[e].id)return this.assets[e];e+=1}},Hi.prototype.hide=function(){this.renderer.hide()},Hi.prototype.show=function(){this.renderer.show()},Hi.prototype.getAssets=function(){return this.assets},Hi.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new r(t,this.currentFrame,this.totalFrames,this.frameMult));break;case"loopComplete":this.triggerEvent(t,new p(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new h(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new u(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new c(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new r(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new p(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new h(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new u(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new c(t,this))},Hi.prototype.addEventListener=function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},Hi.prototype.removeEventListener=function(t,e){if(e){if(this._cbs[t]){for(var i=0,n=this._cbs[t].length;i<n;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--n),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null},Hi.prototype.triggerEvent=function(t,e){if(this._cbs[t])for(var i=this._cbs[t].length,n=0;n<i;n++)this._cbs[t][n](e)};var Xi={};function Yi(){!0===Zi?Oi.searchAnimations($i,Zi,Ki):Oi.searchAnimations()}Xi.play=function(t){Oi.play(t)},Xi.pause=function(t){Oi.pause(t)},Xi.setLocationHref=function(t){w=t},Xi.togglePause=function(t){Oi.togglePause(t)},Xi.setSpeed=function(t,e){Oi.setSpeed(t,e)},Xi.setDirection=function(t,e){Oi.setDirection(t,e)},Xi.stop=function(t){Oi.stop(t)},Xi.moveFrame=function(t){Oi.moveFrame(t)},Xi.searchAnimations=Yi,Xi.registerAnimation=function(t){return Oi.registerAnimation(t)},Xi.loadAnimation=function(t){return!0===Zi&&(t.animationData=JSON.parse($i)),Oi.loadAnimation(t)},Xi.setSubframeRendering=function(t){e=t},Xi.resize=function(){Oi.resize()},Xi.start=function(){Oi.start()},Xi.goToAndStop=function(t,e,i){Oi.goToAndStop(t,e,i)},Xi.destroy=function(t){return Oi.destroy(t)},Xi.setQuality=function(t){if("string"==typeof t)switch(t){case"high":A=200;break;case"medium":A=50;break;case"low":A=10}else!isNaN(t)&&1<t&&(A=t);i(!(50<=A))},Xi.inBrowser=function(){return"undefined"!=typeof navigator},Xi.installPlugin=function(t,e){"expressions"===t&&(o=e)},Xi.__getFactory=function(t){switch(t){case"propertyFactory":return Wt;case"shapePropertyFactory":return we;case"matrix":return b}},Xi.version="4.13.0";var Ui,Gi,Zi="__[STANDALONE]__",$i="__[ANIMATIONDATA]__",Ki="";Zi&&(Ui=document.getElementsByTagName("script"),Gi=(Ui[Ui.length-1]||{src:""}).src.replace(/^[^\?]+\??/,""),Ki=function(t){for(var e=Gi.split("&"),i=0;i<e.length;i++){var n=e[i].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}}("renderer"));var Qi=setInterval(function(){"complete"===document.readyState&&(clearInterval(Qi),Yi())},100);return Xi}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipe=e()}(this,function(){"use strict";return function(f,n,t,e){var d={features:null,bind:function(t,e,i,n){var s=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var r=0;r<e.length;r++)e[r]&&t[s](e[r],i,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var i=document.createElement(e||"div");return t&&(i.className=t),i},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,i){d.bind(t,e,i,!0)},removeClass:function(t,e){var i=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(i," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){d.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},hasClass:function(t,e){return t.className&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},getChildByClass:function(t,e){for(var i=t.firstChild;i;){if(d.hasClass(i,e))return i;i=i.nextSibling}},arraySearch:function(t,e,i){for(var n=t.length;n--;)if(t[n][i]===e)return n;return-1},extend:function(t,e,i){for(var n in e)if(e.hasOwnProperty(n)){if(i&&t.hasOwnProperty(n))continue;t[n]=e[n]}},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(d.features)return d.features;var t,e,i,n,s=d.createEl().style,r="",a={};a.oldIE=document.all&&!document.addEventListener,a.touch="ontouchstart"in window,window.requestAnimationFrame&&(a.raf=window.requestAnimationFrame,a.caf=window.cancelAnimationFrame),a.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,a.pointerEvent||(t=navigator.userAgent,!/iP(hone|od)/.test(navigator.platform)||(e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&0<e.length&&1<=(e=parseInt(e[1],10))&&e<8&&(a.isOldIOSPhone=!0),n=(i=t.match(/Android\s([0-9\.]*)/))?i[1]:0,1<=(n=parseFloat(n))&&(n<4.4&&(a.isOldAndroid=!0),a.androidVersion=n),a.isMobileOpera=/opera mini|opera mobi/i.test(t));for(var o,l,h,p=["transform","perspective","animationName"],u=["","webkit","Moz","ms","O"],c=0;c<4;c++){r=u[c];for(var f=0;f<3;f++)o=p[f],l=r+(r?o.charAt(0).toUpperCase()+o.slice(1):o),!a[o]&&l in s&&(a[o]=l);r&&!a.raf&&(r=r.toLowerCase(),a.raf=window[r+"RequestAnimationFrame"],a.raf&&(a.caf=window[r+"CancelAnimationFrame"]||window[r+"CancelRequestAnimationFrame"]))}return a.raf||(h=0,a.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-h)),n=window.setTimeout(function(){t(e+i)},i);return h=e+i,n},a.caf=function(t){clearTimeout(t)}),a.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,d.features=a}};d.detectFeatures(),d.features.oldIE&&(d.bind=function(t,e,i,n){e=e.split(" ");for(var s,r=(n?"detach":"attach")+"Event",a=function(){i.handleEvent.call(i)},o=0;o<e.length;o++)if(s=e[o])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+s])return!1}else i["oldIE"+s]=a;t[r]("on"+s,i["oldIE"+s])}else t[r]("on"+s,i)});var m=this,g={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(t){return"A"===t.tagName},getDoubleTapZoom:function(t,e){return t||e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};d.extend(g,e);function i(){return{x:0,y:0}}function s(t,e){d.extend(m,e.publicMethods),Kt.push(t)}function l(t){var e=Ue();return e-1<t?t-e:t<0?e+t:t}function r(t,e){return te[t]||(te[t]=[]),te[t].push(e)}function y(t){var e=te[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<e.length;n++)e[n].apply(m,i)}}function v(){return(new Date).getTime()}function _(t){jt=t,m.bg.style.opacity=t*g.bgOpacity}function a(t,e,i,n,s){(!Jt||s&&s!==m.currItem)&&(n/=s?s.fitRatio:m.currItem.fitRatio),t[ot]=K+e+"px, "+i+"px"+Q+" scale("+n+")"}function p(t,e){var i,n;!g.loop&&e&&(i=H+(Gt.x*Yt-t)/Gt.x,n=Math.round(t-xe.x),(i<0&&0<n||i>=Ue()-1&&n<0)&&(t=xe.x+n*g.mainScrollEndFriction)),xe.x=t,ne(t,W)}function b(t,e){var i=we[t]-Ut[t];return Ht[t]+qt[t]+i-e/$*i}function x(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)}function w(t){t.x=Math.round(t.x),t.y=Math.round(t.y)}function u(t,e){var i=Qe(m.currItem,Xt,t);return e&&(It=i),i}function T(t){return(t=t||m.currItem).initialZoomLevel}function k(t){return 0<(t=t||m.currItem).w?g.maxSpreadZoom:1}function c(t,e,i,n){return n===m.currItem.initialZoomLevel?(i[t]=m.currItem.initialPosition[t],!0):(i[t]=b(t,n),i[t]>e.min[t]?(i[t]=e.min[t],!0):i[t]<e.max[t]&&(i[t]=e.max[t],!0))}function o(t){var e="";g.escKey&&27===t.keyCode?e="close":g.arrowKeys&&(37===t.keyCode?e="prev":39===t.keyCode&&(e="next")),e&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,m[e]()))}function h(t){t&&(St||At||Lt||wt)&&(t.preventDefault(),t.stopPropagation())}function P(){m.setScrollOffset(0,d.getScrollY())}function A(t){ae[t]&&(ae[t].raf&&ut(ae[t].raf),oe--,delete ae[t])}function S(t){ae[t]&&A(t),ae[t]||(oe++,ae[t]={})}function E(){for(var t in ae)ae.hasOwnProperty(t)&&A(t)}function C(t,e,i,n,s,r,a){var o,l=v();S(t);var h=function(){if(ae[t]){if(o=v()-l,n<=o)return A(t),r(i),void(a&&a());r((i-e)*s(o/n)+e),ae[t].raf=pt(h)}};h()}function M(t,e){return ye.x=Math.abs(t.x-e.x),ye.y=Math.abs(t.y-e.y),Math.sqrt(ye.x*ye.x+ye.y*ye.y)}function D(t,e){return Se.prevent=!Ae(t.target,g.isClickableElement),y("preventDragEvent",t,e,Se),Se.prevent}function F(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e}function I(t,e,i){i.x=.5*(t.x+e.x),i.y=.5*(t.y+e.y)}function O(){var t=Wt.y-m.currItem.initialPosition.y;return 1-Math.abs(t/(Xt.y/2))}function L(t){for(;0<Me.length;)Me.pop();return lt?(Bt=0,de.forEach(function(t){0===Bt?Me[0]=t:1===Bt&&(Me[1]=t),Bt++})):-1<t.type.indexOf("touch")?t.touches&&0<t.touches.length&&(Me[0]=F(t.touches[0],Ee),1<t.touches.length&&(Me[1]=F(t.touches[1],Ce))):(Ee.x=t.pageX,Ee.y=t.pageY,Ee.id="",Me[0]=Ee),Me}function N(t,e){var i,n,s,r=Wt[t]+e[t],a=0<e[t],o=xe.x+e.x,l=xe.x-me.x,h=r>It.min[t]||r<It.max[t]?g.panEndFriction:1,r=Wt[t]+e[t]*h;if((g.allowPanToNext||Z===m.currItem.initialZoomLevel)&&(Ot?"h"!==Nt||"x"!==t||At||(a?(r>It.min[t]&&(h=g.panEndFriction,It.min[t],i=It.min[t]-Ht[t]),(i<=0||l<0)&&1<Ue()?(s=o,l<0&&o>me.x&&(s=me.x)):It.min.x!==It.max.x&&(n=r)):(r<It.max[t]&&(h=g.panEndFriction,It.max[t],i=Ht[t]-It.max[t]),(i<=0||0<l)&&1<Ue()?(s=o,0<l&&o<me.x&&(s=me.x)):It.min.x!==It.max.x&&(n=r))):s=o,"x"===t))return void 0!==s&&(p(s,!0),Ct=s!==me.x),It.min.x!==It.max.x&&(void 0!==n?Wt.x=n:Ct||(Wt.x+=e.x*h)),void 0!==s;Lt||Ct||Z>m.currItem.fitRatio&&(Wt[t]+=e[t]*h)}function R(t){var e,i,n;"mousedown"===t.type&&0<t.button||(Xe?t.preventDefault():Tt&&"mousedown"===t.type||(D(t,!0)&&t.preventDefault(),y("pointerDown"),lt&&((e=d.arraySearch(de,t.pointerId,"id"))<0&&(e=de.length),de[e]={x:t.pageX,y:t.pageY,id:t.pointerId}),n=(i=L(t)).length,Mt=null,E(),kt&&1!==n||(kt=Rt=!0,d.bind(window,Y,m),xt=zt=Vt=wt=Ct=St=Pt=At=!1,Nt=null,y("firstTouchStart",i),x(Ht,Wt),qt.x=qt.y=0,x(ce,i[0]),x(fe,ce),me.x=Gt.x*Yt,ge=[{x:ce.x,y:ce.y}],_t=vt=v(),u(Z,!0),ke(),Pe()),!Dt&&1<n&&!Lt&&!Ct&&($=Z,Dt=Pt=!(At=!1),qt.y=qt.x=0,x(Ht,Wt),x(he,i[0]),x(pe,i[1]),I(he,pe,Te),we.x=Math.abs(Te.x)-Wt.x,we.y=Math.abs(Te.y)-Wt.y,Ft=M(he,pe))))}function V(t){var e,i,n,s;t.preventDefault(),!lt||-1<(e=d.arraySearch(de,t.pointerId,"id"))&&((i=de[e]).x=t.pageX,i.y=t.pageY),kt&&(n=L(t),Nt||St||Dt?Mt=n:xe.x!==Gt.x*Yt?Nt="h":(s=Math.abs(n[0].x-ce.x)-Math.abs(n[0].y-ce.y),10<=Math.abs(s)&&(Nt=0<s?"h":"v",Mt=n)))}function j(t){if(gt.isOldAndroid){if(Tt&&"mouseup"===t.type)return;-1<t.type.indexOf("touch")&&(clearTimeout(Tt),Tt=setTimeout(function(){Tt=0},600))}var e,i;y("pointerUp"),D(t,!1)&&t.preventDefault(),!lt||-1<(e=d.arraySearch(de,t.pointerId,"id"))&&(i=de.splice(e,1)[0],navigator.pointerEnabled?i.type=t.pointerType||"mouse":(i.type={4:"mouse",2:"touch",3:"pen"}[t.pointerType],i.type||(i.type=t.pointerType||"mouse")));var n,s=L(t),r=s.length;if("mouseup"===t.type&&(r=0),2===r)return!(Mt=null);1===r&&x(fe,s[0]),0!==r||Nt||Lt||(i||("mouseup"===t.type?i={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(i={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),y("touchRelease",t,i));var a,o,l=-1;if(0===r&&(kt=!1,d.unbind(window,Y,m),ke(),Dt?l=0:-1!==be&&(l=v()-be)),be=1===r?v():-1,n=-1!==l&&l<150?"zoom":"swipe",Dt&&r<2&&(Dt=!1,1===r&&(n="zoomPointerUp"),y("zoomGestureEnded")),Mt=null,St||At||Lt||wt)if(E(),(bt=bt||Fe()).calculateSwipeSpeed("x"),wt){O()<g.verticalDragRange?m.close():(a=Wt.y,o=jt,C("verticalDrag",0,1,300,d.easing.cubic.out,function(t){Wt.y=(m.currItem.initialPosition.y-a)*t+a,_((1-o)*t+o),ee()}),y("onVerticalDrag",1))}else{if((Ct||Lt)&&0===r){if(Oe(n,bt))return;n="zoomPointerUp"}Lt||("swipe"===n?!Ct&&Z>m.currItem.fitRatio&&Ie(bt):Ne())}}var 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,wt,Tt,kt,Pt,At,St,Et,Ct,Mt,Dt,Ft,It,Ot,Lt,Nt,Rt,Vt,jt,zt,Bt,qt=i(),Ht=i(),Wt=i(),Xt={},Yt=0,Ut={},Gt=i(),Zt=0,$t=!0,Kt=[],Qt={},Jt=!1,te={},ee=function(t){Ot&&(t&&(Z>m.currItem.fitRatio?Jt||(Je(m.currItem,!1,!0),Jt=!0):Jt&&(Je(m.currItem),Jt=!1)),a(Ot,Wt.x,Wt.y,Z))},ie=function(t){t.container&&a(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},ne=function(t,e){e[ot]=K+t+"px, 0px"+Q},se=null,re=function(){se&&(d.unbind(document,"mousemove",re),d.addClass(f,"pswp--has_mouse"),g.mouseUsed=!0,y("mouseUsed")),se=setTimeout(function(){se=null},100)},ae={},oe=0,le={shout:y,listen:r,viewportSize:Xt,options:g,isMainScrollAnimating:function(){return Lt},getZoomLevel:function(){return Z},getCurrentIndex:function(){return H},isDragging:function(){return kt},isZooming:function(){return Dt},setScrollOffset:function(t,e){Ut.x=t,mt=Ut.y=e,y("updateScrollOffset",Ut)},applyZoomPan:function(t,e,i,n){Wt.x=e,Wt.y=i,Z=t,ee(n)},init:function(){if(!z&&!B){var t;m.framework=d,m.template=f,m.bg=d.getChildByClass(f,"pswp__bg"),ct=f.className,z=!0,gt=d.detectFeatures(),pt=gt.raf,ut=gt.caf,ot=gt.transform,dt=gt.oldIE,m.scrollWrap=d.getChildByClass(f,"pswp__scroll-wrap"),m.container=d.getChildByClass(m.scrollWrap,"pswp__container"),W=m.container.style,m.itemHolders=et=[{el:m.container.children[0],wrap:0,index:-1},{el:m.container.children[1],wrap:0,index:-1},{el:m.container.children[2],wrap:0,index:-1}],et[0].el.style.display=et[2].el.style.display="none",function(){if(ot){var t=gt.perspective&&!ht;return K="translate"+(t?"3d(":"("),Q=gt.perspective?", 0px)":")"}ot="left",d.addClass(f,"pswp--ie"),ne=function(t,e){e.left=t+"px"},ie=function(t){var e=1<t.fitRatio?1:t.fitRatio,i=t.container.style,n=e*t.w,s=e*t.h;i.width=n+"px",i.height=s+"px",i.left=t.initialPosition.x+"px",i.top=t.initialPosition.y+"px"},ee=function(){var t,e,i,n,s;Ot&&(t=Ot,n=(i=1<(e=m.currItem).fitRatio?1:e.fitRatio)*e.w,s=i*e.h,t.width=n+"px",t.height=s+"px",t.left=Wt.x+"px",t.top=Wt.y+"px")}}(),G={resize:m.updateSize,orientationchange:function(){clearTimeout(yt),yt=setTimeout(function(){Xt.x!==m.scrollWrap.clientWidth&&m.updateSize()},500)},scroll:P,keydown:o,click:h};var e=gt.isOldIOSPhone||gt.isOldAndroid||gt.isMobileOpera;for(gt.animationName&&gt.transform&&!e||(g.showAnimationDuration=g.hideAnimationDuration=0),t=0;t<Kt.length;t++)m["init"+Kt[t]]();n&&(m.ui=new n(m,d)).init(),y("firstUpdate"),H=H||g.index||0,(isNaN(H)||H<0||H>=Ue())&&(H=0),m.currItem=Ye(H),(gt.isOldIOSPhone||gt.isOldAndroid)&&($t=!1),f.setAttribute("aria-hidden","false"),g.modal&&($t?f.style.position="fixed":(f.style.position="absolute",f.style.top=d.getScrollY()+"px")),void 0===mt&&(y("initialLayout"),mt=ft=d.getScrollY());var i="pswp--open ";for(g.mainClass&&(i+=g.mainClass+" "),g.showHideOpacity&&(i+="pswp--animate_opacity "),i+=ht?"pswp--touch":"pswp--notouch",i+=gt.animationName?" pswp--css_animation":"",i+=gt.svg?" pswp--svg":"",d.addClass(f,i),m.updateSize(),X=-1,Zt=null,t=0;t<3;t++)ne((t+X)*Gt.x,et[t].el.style);dt||d.bind(m.scrollWrap,U,m),r("initialZoomInEnd",function(){m.setContent(et[0],H-1),m.setContent(et[2],H+1),et[0].el.style.display=et[2].el.style.display="block",g.focus&&f.focus(),d.bind(document,"keydown",m),gt.transform&&d.bind(m.scrollWrap,"click",m),g.mouseUsed||d.bind(document,"mousemove",re),d.bind(window,"resize scroll orientationchange",m),y("bindEvents")}),m.setContent(et[1],H),m.updateCurrItem(),y("afterInit"),$t||(J=setInterval(function(){oe||kt||Dt||Z!==m.currItem.initialZoomLevel||m.updateSize()},1e3)),d.addClass(f,"pswp--visible")}},close:function(){z&&(B=!(z=!1),y("close"),d.unbind(window,"resize scroll orientationchange",m),d.unbind(window,"scroll",G.scroll),d.unbind(document,"keydown",m),d.unbind(document,"mousemove",re),gt.transform&&d.unbind(m.scrollWrap,"click",m),kt&&d.unbind(window,Y,m),clearTimeout(yt),y("unbindEvents"),Ge(m.currItem,null,!0,m.destroy))},destroy:function(){y("destroy"),qe&&clearTimeout(qe),f.setAttribute("aria-hidden","true"),f.className=ct,J&&clearInterval(J),d.unbind(m.scrollWrap,U,m),d.unbind(window,"scroll",m),ke(),E(),te=null},panTo:function(t,e,i){i||(t>It.min.x?t=It.min.x:t<It.max.x&&(t=It.max.x),e>It.min.y?e=It.min.y:e<It.max.y&&(e=It.max.y)),Wt.x=t,Wt.y=e,ee()},handleEvent:function(t){t=t||window.event,G[t.type]&&G[t.type](t)},goTo:function(t){var e=(t=l(t))-H;Zt=e,H=t,m.currItem=Ye(H),Yt-=e,p(Gt.x*Yt),E(),Lt=!1,m.updateCurrItem()},next:function(){m.goTo(H+1)},prev:function(){m.goTo(H-1)},updateCurrZoomItem:function(t){var e;t&&y("beforeChange",0),Ot=et[1].el.children.length?(e=et[1].el.children[0],d.hasClass(e,"pswp__zoom-wrap")?e.style:null):null,It=m.currItem.bounds,$=Z=m.currItem.initialZoomLevel,Wt.x=It.center.x,Wt.y=It.center.y,t&&y("afterChange")},invalidateCurrItems:function(){tt=!0;for(var t=0;t<3;t++)et[t].item&&(et[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==Zt){var e,i=Math.abs(Zt);if(!(t&&i<2)){m.currItem=Ye(H),Jt=!1,y("beforeChange",Zt),3<=i&&(X+=Zt+(0<Zt?-3:3),i=3);for(var n,s=0;s<i;s++)0<Zt?(e=et.shift(),et[2]=e,ne((++X+2)*Gt.x,e.el.style),m.setContent(e,H-i+s+1+1)):(e=et.pop(),et.unshift(e),ne(--X*Gt.x,e.el.style),m.setContent(e,H+i-s-1-1));!Ot||1!==Math.abs(Zt)||(n=Ye(it)).initialZoomLevel!==Z&&(Qe(n,Xt),Je(n),ie(n)),Zt=0,m.updateCurrZoomItem(),it=H,y("afterChange")}}},updateSize:function(t){if(!$t&&g.modal){var e=d.getScrollY();if(mt!==e&&(f.style.top=e+"px",mt=e),!t&&Qt.x===window.innerWidth&&Qt.y===window.innerHeight)return;Qt.x=window.innerWidth,Qt.y=window.innerHeight,f.style.height=Qt.y+"px"}if(Xt.x=m.scrollWrap.clientWidth,Xt.y=m.scrollWrap.clientHeight,P(),Gt.x=Xt.x+Math.round(Xt.x*g.spacing),Gt.y=Xt.y,p(Gt.x*Yt),y("beforeResize"),void 0!==X){for(var i,n,s,r=0;r<3;r++)i=et[r],ne((r+X)*Gt.x,i.el.style),s=H+r-1,g.loop&&2<Ue()&&(s=l(s)),(n=Ye(s))&&(tt||n.needsUpdate||!n.bounds)?(m.cleanSlide(n),m.setContent(i,s),1===r&&(m.currItem=n,m.updateCurrZoomItem(!0)),n.needsUpdate=!1):-1===i.index&&0<=s&&m.setContent(i,s),n&&n.container&&(Qe(n,Xt),Je(n),ie(n));tt=!1}$=Z=m.currItem.initialZoomLevel,(It=m.currItem.bounds)&&(Wt.x=It.center.x,Wt.y=It.center.y,ee(!0)),y("resize")},zoomTo:function(e,t,i,n,s){t&&($=Z,we.x=Math.abs(t.x)-Wt.x,we.y=Math.abs(t.y)-Wt.y,x(Ht,Wt));var r=u(e,!1),a={};c("x",r,a,e),c("y",r,a,e);var o=Z,l=Wt.x,h=Wt.y;w(a);function p(t){1===t?(Z=e,Wt.x=a.x,Wt.y=a.y):(Z=(e-o)*t+o,Wt.x=(a.x-l)*t+l,Wt.y=(a.y-h)*t+h),s&&s(t),ee(1===t)}i?C("customZoomTo",0,1,i,n||d.easing.sine.inOut,p):p(1)}},he={},pe={},ue={},ce={},fe={},de=[],me={},ge=[],ye={},ve=0,_e=i(),be=0,xe=i(),we=i(),Te=i(),ke=function(){Et&&(ut(Et),Et=null)},Pe=function(){kt&&(Et=pt(Pe),De())},Ae=function(t,e){return!(!t||t===document)&&(!(t.getAttribute("class")&&-1<t.getAttribute("class").indexOf("pswp__scroll-wrap"))&&(e(t)?t:Ae(t.parentNode,e)))},Se={},Ee={},Ce={},Me=[],De=function(){if(Mt){var t,e,i,n,s,r,a=Mt.length;if(0!==a)if(x(he,Mt[0]),ue.x=he.x-ce.x,ue.y=he.y-ce.y,Dt&&1<a){if(ce.x=he.x,ce.y=he.y,!ue.x&&!ue.y&&(s=Mt[1],r=pe,s.x===r.x&&s.y===r.y))return;x(pe,Mt[1]),At||(At=!0,y("zoomGestureStarted"));var o=M(he,pe),l=Le(o);l>m.currItem.initialZoomLevel+m.currItem.initialZoomLevel/15&&(zt=!0);var h,p=1,u=T(),c=k();l<u?g.pinchToClose&&!zt&&$<=m.currItem.initialZoomLevel?(_(h=1-(u-l)/(u/1.2)),y("onPinchClose",h),Vt=!0):(1<(p=(u-l)/u)&&(p=1),l=u-p*(u/3)):c<l&&(1<(p=(l-c)/(6*u))&&(p=1),l=c+p*u),p<0&&(p=0),I(he,pe,_e),qt.x+=_e.x-Te.x,qt.y+=_e.y-Te.y,x(Te,_e),Wt.x=b("x",l),Wt.y=b("y",l),xt=Z<l,Z=l,ee()}else{if(!Nt)return;if(Rt&&(Rt=!1,10<=Math.abs(ue.x)&&(ue.x-=Mt[0].x-fe.x),10<=Math.abs(ue.y)&&(ue.y-=Mt[0].y-fe.y)),ce.x=he.x,ce.y=he.y,0===ue.x&&0===ue.y)return;if("v"===Nt&&g.closeOnVerticalDrag&&"fit"===g.scaleMode&&Z===m.currItem.initialZoomLevel){qt.y+=ue.y,Wt.y+=ue.y;var f=O();return wt=!0,y("onVerticalDrag",f),_(f),void ee()}t=v(),e=he.x,i=he.y,50<t-_t&&((n=2<ge.length?ge.shift():{}).x=e,n.y=i,ge.push(n),_t=t),St=!0,It=m.currItem.bounds,N("x",ue)||(N("y",ue),w(Wt),ee())}}},Fe=function(){var e,i,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(t){i=1<ge.length?(e=v()-_t+50,ge[ge.length-2][t]):(e=v()-vt,fe[t]),n.lastFlickOffset[t]=ce[t]-i,n.lastFlickDist[t]=Math.abs(n.lastFlickOffset[t]),20<n.lastFlickDist[t]?n.lastFlickSpeed[t]=n.lastFlickOffset[t]/e:n.lastFlickSpeed[t]=0,Math.abs(n.lastFlickSpeed[t])<.1&&(n.lastFlickSpeed[t]=0),n.slowDownRatio[t]=.95,n.slowDownRatioReverse[t]=1-n.slowDownRatio[t],n.speedDecelerationRatio[t]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(Wt[e]>It.min[e]?n.backAnimDestination[e]=It.min[e]:Wt[e]<It.max[e]&&(n.backAnimDestination[e]=It.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,C("bounceZoomPan"+e,Wt[e],n.backAnimDestination[e],t||300,d.easing.sine.out,function(t){Wt[e]=t,ee()}))))},calculateAnimOffset:function(t){n.backAnimStarted[t]||(n.speedDecelerationRatio[t]=n.speedDecelerationRatio[t]*(n.slowDownRatio[t]+n.slowDownRatioReverse[t]-n.slowDownRatioReverse[t]*n.timeDiff/10),n.speedDecelerationRatioAbs[t]=Math.abs(n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]),n.distanceOffset[t]=n.lastFlickSpeed[t]*n.speedDecelerationRatio[t]*n.timeDiff,Wt[t]+=n.distanceOffset[t])},panAnimLoop:function(){if(ae.zoomPan&&(ae.zoomPan.raf=pt(n.panAnimLoop),n.now=v(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),ee(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return Wt.x=Math.round(Wt.x),Wt.y=Math.round(Wt.y),ee(),void A("zoomPan")}};return n},Ie=function(t){if(t.calculateSwipeSpeed("y"),It=m.currItem.bounds,t.backAnimDestination={},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05)return t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0;S("zoomPan"),t.lastNow=v(),t.panAnimLoop()},Oe=function(t,e){var i,n,s,r,a;Lt||(ve=H),"swipe"===t&&(s=ce.x-fe.x,r=e.lastFlickDist.x<10,30<s&&(r||20<e.lastFlickOffset.x)?n=-1:s<-30&&(r||e.lastFlickOffset.x<-20)&&(n=1)),n&&((H+=n)<0?(H=g.loop?Ue()-1:0,a=!0):H>=Ue()&&(H=g.loop?0:Ue()-1,a=!0),a&&!g.loop||(Zt+=n,Yt-=n,i=!0));var o=Gt.x*Yt,l=Math.abs(o-xe.x),h=i||o>xe.x==0<e.lastFlickSpeed.x?(h=0<Math.abs(e.lastFlickSpeed.x)?l/Math.abs(e.lastFlickSpeed.x):333,h=Math.min(h,400),Math.max(h,250)):333;return ve===H&&(i=!1),Lt=!0,y("mainScrollAnimStart"),C("mainScroll",xe.x,o,h,d.easing.cubic.out,p,function(){E(),Lt=!1,ve=-1,!i&&ve===H||m.updateCurrItem(),y("mainScrollAnimComplete")}),i&&m.updateCurrItem(!0),i},Le=function(t){return 1/Ft*t*$},Ne=function(){var t=Z,e=T(),i=k();Z<e?t=e:i<Z&&(t=i);var n,s=jt;return Vt&&!xt&&!zt&&Z<e?m.close():(Vt&&(n=function(t){_((1-s)*t+s)}),m.zoomTo(t,0,200,d.easing.cubic.out,n)),!0};s("Gestures",{publicMethods:{initGestures:function(){function t(t,e,i,n,s){nt=t+e,st=t+i,rt=t+n,at=s?t+s:""}(lt=gt.pointerEvent)&&gt.touch&&(gt.touch=!1),lt?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):gt.touch?(t("touch","start","move","end","cancel"),ht=!0):t("mouse","down","move","up"),Y=st+" "+rt+" "+at,U=nt,lt&&!ht&&(ht=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),m.likelyTouchDevice=ht,G[nt]=R,G[st]=V,G[rt]=j,at&&(G[at]=G[rt]),gt.touch&&(U+=" mousedown",Y+=" mousemove mouseup",G.mousedown=G[nt],G.mousemove=G[st],G.mouseup=G[rt]),ht||(g.allowPanToNext=!1)}}});function Re(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}}function Ve(t,e,i,n,s,r){e.loadError||n&&(e.imageAppended=!0,Je(e,n,e===m.currItem&&Jt),i.appendChild(n),r&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500))}function je(t){function e(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,i.onload=i.onerror=null,i=null}t.loading=!0,t.loaded=!1;var i=t.img=d.createEl("pswp__img","img");return i.onload=e,i.onerror=function(){t.loadError=!0,e()},i.src=t.src,i}function ze(t,e){return t.src&&t.loadError&&t.container&&(e&&(t.container.innerHTML=""),t.container.innerHTML=g.errorMsg.replace("%url%",t.src),1)}function Be(){if($e.length){for(var t,e=0;e<$e.length;e++)(t=$e[e]).holder.index===t.index&&Ve(t.index,t.item,t.baseDiv,t.img,0,t.clearPlaceholder);$e=[]}}var qe,He,We,Xe,Ye,Ue,Ge=function(a,t,o,e){var l;qe&&clearTimeout(qe),We=Xe=!0,a.initialLayout?(l=a.initialLayout,a.initialLayout=null):l=g.getThumbBoundsFn&&g.getThumbBoundsFn(H);function h(){A("initialZoom"),o?(m.template.removeAttribute("style"),m.bg.removeAttribute("style")):(_(1),t&&(t.style.display="block"),d.addClass(f,"pswp--animated-in"),y("initialZoom"+(o?"OutEnd":"InEnd"))),e&&e(),Xe=!1}var p=o?g.hideAnimationDuration:g.showAnimationDuration;if(!p||!l||void 0===l.x)return y("initialZoom"+(o?"Out":"In")),Z=a.initialZoomLevel,x(Wt,a.initialPosition),ee(),f.style.opacity=o?0:1,_(1),void(p?setTimeout(function(){h()},p):h());var u,c;u=q,c=!m.currItem.src||m.currItem.loadError||g.showHideOpacity,a.miniImg&&(a.miniImg.style.webkitBackfaceVisibility="hidden"),o||(Z=l.w/a.w,Wt.x=l.x,Wt.y=l.y-ft,m[c?"template":"bg"].style.opacity=.001,ee()),S("initialZoom"),o&&!u&&d.removeClass(f,"pswp--animated-in"),c&&(o?d[(u?"remove":"add")+"Class"](f,"pswp--animate_opacity"):setTimeout(function(){d.addClass(f,"pswp--animate_opacity")},30)),qe=setTimeout(function(){var e,i,n,s,r,t;y("initialZoom"+(o?"Out":"In")),o?(e=l.w/a.w,i=Wt.x,n=Wt.y,s=Z,r=jt,t=function(t){1===t?(Z=e,Wt.x=l.x,Wt.y=l.y-mt):(Z=(e-s)*t+s,Wt.x=(l.x-i)*t+i,Wt.y=(l.y-mt-n)*t+n),ee(),c?f.style.opacity=1-t:_(r-t*r)},u?C("initialZoom",0,1,p,d.easing.cubic.out,t,h):(t(1),qe=setTimeout(h,p+20))):(Z=a.initialZoomLevel,x(Wt,a.initialPosition),ee(),_(1),c?f.style.opacity=1:_(1),qe=setTimeout(h,p+20))},o?25:90)},Ze={},$e=[],Ke={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return He.length}},Qe=function(t,e,i){if(!t.src||t.loadError)return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds=Re(),t.initialPosition=t.bounds.center,t.bounds;var n,s,r,a,o,l,h,p=!i;return p&&(t.vGap||(t.vGap={top:0,bottom:0}),y("parseVerticalMargin",t)),Ze.x=e.x,Ze.y=e.y-t.vGap.top-t.vGap.bottom,p&&(n=Ze.x/t.w,s=Ze.y/t.h,t.fitRatio=n<s?n:s,"orig"===(r=g.scaleMode)?i=1:"fit"===r&&(i=t.fitRatio),1<i&&(i=1),t.initialZoomLevel=i,t.bounds||(t.bounds=Re())),i?(o=(a=t).w*i,l=t.h*i,(h=a.bounds).center.x=Math.round((Ze.x-o)/2),h.center.y=Math.round((Ze.y-l)/2)+a.vGap.top,h.max.x=o>Ze.x?Math.round(Ze.x-o):h.center.x,h.max.y=l>Ze.y?Math.round(Ze.y-l)+a.vGap.top:h.center.y,h.min.x=o>Ze.x?0:h.center.x,h.min.y=l>Ze.y?a.vGap.top:h.center.y,p&&i===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds):void 0},Je=function(t,e,i){var n,s;t.src&&(e=e||t.container.lastChild,n=i?t.w:Math.round(t.w*t.fitRatio),s=i?t.h:Math.round(t.h*t.fitRatio),t.placeholder&&!t.loaded&&(t.placeholder.style.width=n+"px",t.placeholder.style.height=s+"px"),e.style.width=n+"px",e.style.height=s+"px")};s("Controller",{publicMethods:{lazyLoadItem:function(t){t=l(t);var e=Ye(t);e&&(!e.loaded&&!e.loading||tt)&&(y("gettingData",t,e),e.src&&je(e))},initController:function(){d.extend(g,Ke,!0),m.items=He=t,Ye=m.getItemAt,Ue=g.getNumItemsFn,g.loop,Ue()<3&&(g.loop=!1),r("beforeChange",function(t){for(var e=g.preload,i=null===t||0<=t,n=Math.min(e[0],Ue()),s=Math.min(e[1],Ue()),r=1;r<=(i?s:n);r++)m.lazyLoadItem(H+r);for(r=1;r<=(i?n:s);r++)m.lazyLoadItem(H-r)}),r("initialLayout",function(){m.currItem.initialLayout=g.getThumbBoundsFn&&g.getThumbBoundsFn(H)}),r("mainScrollAnimComplete",Be),r("initialZoomInEnd",Be),r("destroy",function(){for(var t,e=0;e<He.length;e++)(t=He[e]).container&&(t.container=null),t.placeholder&&(t.placeholder=null),t.img&&(t.img=null),t.preloader&&(t.preloader=null),t.loadError&&(t.loaded=t.loadError=!1);$e=null})},getItemAt:function(t){return 0<=t&&(void 0!==He[t]&&He[t])},allowProgressiveImg:function(){return g.forceProgressiveLoading||!ht||g.mouseUsed||1200<screen.width},setContent:function(e,i){g.loop&&(i=l(i));var t=m.getItemAt(e.index);t&&(t.container=null);var n,s,r,a,o=m.getItemAt(i);o?(y("gettingData",i,o),e.index=i,s=(e.item=o).container=d.createEl("pswp__zoom-wrap"),!o.src&&o.html&&(o.html.tagName?s.appendChild(o.html):s.innerHTML=o.html),ze(o),Qe(o,Xt),!o.src||o.loadError||o.loaded?o.src&&!o.loadError&&((n=d.createEl("pswp__img","img")).style.opacity=1,n.src=o.src,Je(o,n),Ve(0,o,s,n)):(o.loadComplete=function(t){if(z){if(e&&e.index===i){if(ze(t,!0))return t.loadComplete=t.img=null,Qe(t,Xt),ie(t),void(e.index===H&&m.updateCurrZoomItem());t.imageAppended?!Xe&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null):gt.transform&&(Lt||Xe)?$e.push({item:t,baseDiv:s,img:t.img,index:i,holder:e,clearPlaceholder:!0}):Ve(0,t,s,t.img,0,!0)}t.loadComplete=null,t.img=null,y("imageLoadComplete",i,t)}},d.features.transform&&(r="pswp__img pswp__img--placeholder",r+=o.msrc?"":" pswp__img--placeholder--blank",a=d.createEl(r,o.msrc?"img":""),o.msrc&&(a.src=o.msrc),Je(o,a),s.appendChild(a),o.placeholder=a),o.loading||je(o),m.allowProgressiveImg()&&(!We&&gt.transform?$e.push({item:o,baseDiv:s,img:o.img,index:i,holder:e}):Ve(0,o,s,o.img,0,!0))),We||i!==H?ie(o):(Ot=s.style,Ge(o,n||o.img)),e.el.innerHTML="",e.el.appendChild(s)):e.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});function ti(t,e,i){var n=document.createEvent("CustomEvent"),s={origEvent:t,target:t.target,releasePoint:e,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,s),t.target.dispatchEvent(n)}var ei,ii,ni={};s("Tap",{publicMethods:{initTap:function(){r("firstTouchStart",m.onTapStart),r("touchRelease",m.onTapRelease),r("destroy",function(){ni={},ei=null})},onTapStart:function(t){1<t.length&&(clearTimeout(ei),ei=null)},onTapRelease:function(t,e){var i,n;if(e&&(!St&&!Pt&&!oe)){var s=e;if(ei&&(clearTimeout(ei),ei=null,i=s,n=ni,Math.abs(i.x-n.x)<25&&Math.abs(i.y-n.y)<25))return void y("doubleTap",s);if("mouse"===e.type)return void ti(t,e,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||d.hasClass(t.target,"pswp__single-tap"))return void ti(t,e);x(ni,s),ei=setTimeout(function(){ti(t,e),ei=null},300)}}}}),s("DesktopZoom",{publicMethods:{initDesktopZoom:function(){dt||(ht?r("mouseUsed",function(){m.setupDesktopZoom()}):m.setupDesktopZoom(!0))},setupDesktopZoom:function(t){ii={};var e="wheel mousewheel DOMMouseScroll";r("bindEvents",function(){d.bind(f,e,m.handleMouseWheel)}),r("unbindEvents",function(){ii&&d.unbind(f,e,m.handleMouseWheel)}),m.mouseZoomedIn=!1;function i(){m.mouseZoomedIn&&(d.removeClass(f,"pswp--zoomed-in"),m.mouseZoomedIn=!1),Z<1?d.addClass(f,"pswp--zoom-allowed"):d.removeClass(f,"pswp--zoom-allowed"),s()}var n,s=function(){n&&(d.removeClass(f,"pswp--dragging"),n=!1)};r("resize",i),r("afterChange",i),r("pointerDown",function(){m.mouseZoomedIn&&(n=!0,d.addClass(f,"pswp--dragging"))}),r("pointerUp",s),t||i()},handleMouseWheel:function(t){if(Z<=m.currItem.fitRatio)return g.modal&&(!g.closeOnScroll||oe||kt?t.preventDefault():ot&&2<Math.abs(t.deltaY)&&(q=!0,m.close())),!0;if(t.stopPropagation(),ii.x=0,"deltaX"in t)1===t.deltaMode?(ii.x=18*t.deltaX,ii.y=18*t.deltaY):(ii.x=t.deltaX,ii.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(ii.x=-.16*t.wheelDeltaX),t.wheelDeltaY?ii.y=-.16*t.wheelDeltaY:ii.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;ii.y=t.detail}u(Z,!0);var e=Wt.x-ii.x,i=Wt.y-ii.y;(g.modal||e<=It.min.x&&e>=It.max.x&&i<=It.min.y&&i>=It.max.y)&&t.preventDefault(),m.panTo(e,i)},toggleDesktopZoom:function(t){t=t||{x:Xt.x/2+Ut.x,y:Xt.y/2+Ut.y};var e=g.getDoubleTapZoom(!0,m.currItem),i=Z===e;m.mouseZoomedIn=!i,m.zoomTo(i?m.currItem.initialZoomLevel:e,t,333),d[(i?"remove":"add")+"Class"](f,"pswp--zoomed-in")}}});function si(){return yi.hash.substring(1)}function ri(){oi&&clearTimeout(oi),hi&&clearTimeout(hi)}function ai(){var t=si(),e={};if(t.length<5)return e;var i,n=t.split("&");for(r=0;r<n.length;r++){n[r]&&((i=n[r].split("=")).length<2||(e[i[0]]=i[1]))}if(g.galleryPIDs){for(var s=e.pid,r=e.pid=0;r<He.length;r++)if(He[r].pid===s){e.pid=r;break}}else e.pid=parseInt(e.pid,10)-1;return e.pid<0&&(e.pid=0),e}var oi,li,hi,pi,ui,ci,fi,di,mi,gi,yi,vi,_i={history:!0,galleryUID:1},bi=function(){var t,e,i,n;hi&&clearTimeout(hi),oe||kt?hi=setTimeout(bi,500):(pi?clearTimeout(li):pi=!0,t=H+1,(e=Ye(H)).hasOwnProperty("pid")&&(t=e.pid),i=fi+"&gid="+g.galleryUID+"&pid="+t,di||-1===yi.hash.indexOf(i)&&(gi=!0),n=yi.href.split("#")[0]+"#"+i,vi?"#"+i!==window.location.hash&&history[di?"replaceState":"pushState"]("",document.title,n):di?yi.replace(n):yi.hash=i,di=!0,li=setTimeout(function(){pi=!1},60))};s("History",{publicMethods:{initHistory:function(){var t,e;d.extend(g,_i,!0),g.history&&(yi=window.location,di=mi=gi=!1,fi=si(),vi="pushState"in history,-1<fi.indexOf("gid=")&&(fi=(fi=fi.split("&gid=")[0]).split("?gid=")[0]),r("afterChange",m.updateURL),r("unbindEvents",function(){d.unbind(window,"hashchange",m.onHashChange)}),t=function(){ci=!0,mi||(gi?history.back():fi?yi.hash=fi:vi?history.pushState("",document.title,yi.pathname+yi.search):yi.hash=""),ri()},r("unbindEvents",function(){q&&t()}),r("destroy",function(){ci||t()}),r("firstUpdate",function(){H=ai().pid}),-1<(e=fi.indexOf("pid="))&&"&"===(fi=fi.substring(0,e)).slice(-1)&&(fi=fi.slice(0,-1)),setTimeout(function(){z&&d.bind(window,"hashchange",m.onHashChange)},40))},onHashChange:function(){if(si()===fi)return mi=!0,void m.close();pi||(ui=!0,m.goTo(ai().pid),ui=!1)},updateURL:function(){ri(),ui||(di?oi=setTimeout(bi,800):bi())}}}),d.extend(m,le)}}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipeUI_Default=e()}(this,function(){"use strict";return function(s,o){function t(t){if(S)return!0;t=t||window.event,A.timeToIdle&&A.mouseUsed&&!b&&R();for(var e,i,n,s=(t.target||t.srcElement).getAttribute("class")||"",r=0;r<j.length;r++)(e=j[r]).onTap&&-1<s.indexOf("pswp__"+e.name)&&(e.onTap(),i=!0);i&&(t.stopPropagation&&t.stopPropagation(),S=!0,n=o.features.isOldAndroid?600:30,setTimeout(function(){S=!1},n))}function i(t,e,i){o[(i?"add":"remove")+"Class"](t,"pswp__"+e)}function n(){var t=1===A.getNumItemsFn();t!==P&&(i(f,"ui--one-slide",t),P=t)}function e(){i(v,"share-modal--hidden",I)}function r(){return(I=!I)?(o.removeClass(v,"pswp__share-modal--fade-in"),setTimeout(function(){I&&e()},300)):(e(),setTimeout(function(){I||o.addClass(v,"pswp__share-modal--fade-in")},30)),I||L(),0}function a(t){var e=(t=t||window.event).target||t.srcElement;return s.shout("shareLinkClick",t,e),!!e.href&&(!!e.hasAttribute("download")||(window.open(e.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),I||r(),!1))}function l(t){for(var e=0;e<A.closeElClasses.length;e++)if(o.hasClass(t,"pswp__"+A.closeElClasses[e]))return!0}function h(t){var e=(t=t||window.event).relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(clearTimeout(C),C=setTimeout(function(){M.setIdle(!0)},A.timeToIdleOutside))}function p(t){var e,i,n=t.vGap;!s.likelyTouchDevice||A.mouseUsed||screen.width>A.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)?(i=m.clientHeight,n.bottom=parseInt(i,10)||44):n.bottom=e.top):n.bottom="auto"===e.bottom?0:e.bottom,n.top=e.top):n.top=n.bottom=0}function u(){function t(t){if(t)for(var e=t.length,i=0;i<e;i++){s=t[i],r=s.className;for(var n=0;n<j.length;n++)a=j[n],-1<r.indexOf("pswp__"+a.name)&&(A[a.option]?(o.removeClass(s,"pswp__element--disabled"),a.onInit&&a.onInit(s)):o.addClass(s,"pswp__element--disabled"))}}var s,r,a;t(f.children);var e=o.getChildByClass(f,"pswp__top-bar");e&&t(e.children)}var c,f,d,m,g,y,v,_,b,x,w,T,k,P,A,S,E,C,M=this,D=!1,F=!0,I=!0,O={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return s.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return s.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},L=function(){for(var t,e,i,n,s="",r=0;r<A.shareButtons.length;r++)t=A.shareButtons[r],e=A.getImageURLForShare(t),i=A.getPageURLForShare(t),n=A.getTextForShare(t),s+='<a href="'+t.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(e)).replace("{{raw_image_url}}",e).replace("{{text}}",encodeURIComponent(n))+'" target="_blank" class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>",A.parseShareButtonOut&&(s=A.parseShareButtonOut(t,s));v.children[0].innerHTML=s,v.children[0].onclick=a},N=0,R=function(){clearTimeout(C),N=0,b&&M.setIdle(!1)},V=function(t){T!==t&&(i(w,"preloader--active",!t),T=t)},j=[{name:"caption",option:"captionEl",onInit:function(t){d=t}},{name:"share-modal",option:"shareEl",onInit:function(t){v=t},onTap:function(){r()}},{name:"button--share",option:"shareEl",onInit:function(t){y=t},onTap:function(){r()}},{name:"button--zoom",option:"zoomEl",onTap:s.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){g=t}},{name:"button--close",option:"closeEl",onTap:s.close},{name:"button--arrow--left",option:"arrowEl",onTap:s.prev},{name:"button--arrow--right",option:"arrowEl",onTap:s.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){c.isFullscreen()?c.exit():c.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){w=t}}];M.init=function(){var e;o.extend(s.options,O,!0),A=s.options,f=o.getChildByClass(s.scrollWrap,"pswp__ui"),(x=s.listen)("onVerticalDrag",function(t){F&&t<.95?M.hideControls():!F&&.95<=t&&M.showControls()}),x("onPinchClose",function(t){F&&t<.9?(M.hideControls(),e=!0):e&&!F&&.9<t&&M.showControls()}),x("zoomGestureEnded",function(){(e=!1)&&!F&&M.showControls()}),x("beforeChange",M.update),x("doubleTap",function(t){var e=s.currItem.initialZoomLevel;s.getZoomLevel()!==e?s.zoomTo(e,t,333):s.zoomTo(A.getDoubleTapZoom(!1,s.currItem),t,333)}),x("preventDragEvent",function(t,e,i){var n=t.target||t.srcElement;n&&n.getAttribute("class")&&-1<t.type.indexOf("mouse")&&(0<n.getAttribute("class").indexOf("__caption")||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),x("bindEvents",function(){o.bind(f,"pswpTap click",t),o.bind(s.scrollWrap,"pswpTap",M.onGlobalTap),s.likelyTouchDevice||o.bind(s.scrollWrap,"mouseover",M.onMouseOver)}),x("unbindEvents",function(){I||r(),E&&clearInterval(E),o.unbind(document,"mouseout",h),o.unbind(document,"mousemove",R),o.unbind(f,"pswpTap click",t),o.unbind(s.scrollWrap,"pswpTap",M.onGlobalTap),o.unbind(s.scrollWrap,"mouseover",M.onMouseOver),c&&(o.unbind(document,c.eventK,M.updateFullscreen),c.isFullscreen()&&(A.hideAnimationDuration=0,c.exit()),c=null)}),x("destroy",function(){A.captionEl&&(m&&f.removeChild(m),o.removeClass(d,"pswp__caption--empty")),v&&(v.children[0].onclick=null),o.removeClass(f,"pswp__ui--over-close"),o.addClass(f,"pswp__ui--hidden"),M.setIdle(!1)}),A.showAnimationDuration||o.removeClass(f,"pswp__ui--hidden"),x("initialZoomIn",function(){A.showAnimationDuration&&o.removeClass(f,"pswp__ui--hidden")}),x("initialZoomOut",function(){o.addClass(f,"pswp__ui--hidden")}),x("parseVerticalMargin",p),u(),A.shareEl&&y&&v&&(I=!0),n(),A.timeToIdle&&x("mouseUsed",function(){o.bind(document,"mousemove",R),o.bind(document,"mouseout",h),E=setInterval(function(){2===++N&&M.setIdle(!0)},A.timeToIdle/2)}),A.fullscreenEl&&!o.features.isOldAndroid&&((c=c||M.getFullscreenAPI())?(o.bind(document,c.eventK,M.updateFullscreen),M.updateFullscreen(),o.addClass(s.template,"pswp--supports-fs")):o.removeClass(s.template,"pswp--supports-fs")),A.preloaderEl&&(V(!0),x("beforeChange",function(){clearTimeout(k),k=setTimeout(function(){s.currItem&&s.currItem.loading?s.allowProgressiveImg()&&(!s.currItem.img||s.currItem.img.naturalWidth)||V(!1):V(!0)},A.loadingIndicatorDelay)}),x("imageLoadComplete",function(t,e){s.currItem===e&&V(!0)}))},M.setIdle=function(t){i(f,"ui--idle",b=t)},M.update=function(){D=!(!F||!s.currItem)&&(M.updateIndexIndicator(),A.captionEl&&(A.addCaptionHTMLFn(s.currItem,d),i(d,"caption--empty",!s.currItem.title)),!0),I||r(),n()},M.updateFullscreen=function(t){t&&setTimeout(function(){s.setScrollOffset(0,o.getScrollY())},50),o[(c.isFullscreen()?"add":"remove")+"Class"](s.template,"pswp--fs")},M.updateIndexIndicator=function(){A.counterEl&&(g.innerHTML=s.getCurrentIndex()+1+A.indexIndicatorSep+A.getNumItemsFn())},M.onGlobalTap=function(t){var e=(t=t||window.event).target||t.srcElement;if(!S)if(t.detail&&"mouse"===t.detail.pointerType){if(l(e))return void s.close();o.hasClass(e,"pswp__img")&&(1===s.getZoomLevel()&&s.getZoomLevel()<=s.currItem.fitRatio?A.clickToCloseNonZoomable&&s.close():s.toggleDesktopZoom(t.detail.releasePoint))}else if(A.tapToToggleControls&&(F?M.hideControls():M.showControls()),A.tapToClose&&(o.hasClass(e,"pswp__img")||l(e)))return void s.close()},M.onMouseOver=function(t){var e=(t=t||window.event).target||t.srcElement;i(f,"ui--over-close",l(e))},M.hideControls=function(){o.addClass(f,"pswp__ui--hidden"),F=!1},M.showControls=function(){F=!0,D||M.update(),o.removeClass(f,"pswp__ui--hidden")},M.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},M.getFullscreenAPI=function(){var t,e=document.documentElement,i="fullscreenchange";return e.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:e.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:e.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:e.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(_=A.closeOnScroll,A.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return s.template[this.enterK]();s.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return A.closeOnScroll=_,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}});