Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/d-kusk/minimage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaisuke Konishi <skydai1151@gmail.com>2017-11-04 16:57:56 +0300
committerDaisuke Konishi <skydai1151@gmail.com>2017-11-04 16:57:56 +0300
commitaacc501102131062a1d6a47d74faa5b4453fef74 (patch)
treecab6fff2693f1238a0c8e9dcc7e3cb7b80072402 /static
parentfdacb08a1a857e08724d9aabe644130942ae7cf2 (diff)
setup for starter kit
Diffstat (limited to 'static')
-rw-r--r--static/css/application.css1
-rw-r--r--static/js/application.js1
-rw-r--r--static/js/lib.js56
3 files changed, 58 insertions, 0 deletions
diff --git a/static/css/application.css b/static/css/application.css
new file mode 100644
index 0000000..d02a977
--- /dev/null
+++ b/static/css/application.css
@@ -0,0 +1 @@
+/*! sanitize.css v5.0.0 | CC0 License | github.com/jonathantneal/sanitize.css */*,::after,::before{background-repeat:no-repeat;box-sizing:inherit}::after,::before{text-decoration:inherit;vertical-align:inherit}html{box-sizing:border-box;cursor:default;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,footer,header,nav,section{display:block}body{margin:0}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}nav ol,nav ul{list-style:none}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg{fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,optgroup,select,textarea{margin:0}button,input,select,textarea{background-color:transparent;color:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}[aria-disabled]{cursor:default}.c-container{max-width:1200px;width:100%;margin-left:auto;margin-right:auto}@media screen and (max-width:1000px){.c-container{max-width:1000px}}@media screen and (max-width:768px){.c-container{max-width:768px;padding-left:20px;padding-right:20px}}@media screen and (max-width:300px){.c-container{max-width:300px}} \ No newline at end of file
diff --git a/static/js/application.js b/static/js/application.js
new file mode 100644
index 0000000..9987c33
--- /dev/null
+++ b/static/js/application.js
@@ -0,0 +1 @@
+!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){console.log("import!")}},function(e,t,n){"use strict";var o=n(0);(0,function(e){return e&&e.__esModule?e:{default:e}}(o).default)();!function(e){console.log(e)}("piyo")}]); \ No newline at end of file
diff --git a/static/js/lib.js b/static/js/lib.js
new file mode 100644
index 0000000..eae3bb1
--- /dev/null
+++ b/static/js/lib.js
@@ -0,0 +1,56 @@
+!function(e){function t(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,r){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=19)}([function(e,t){e.exports=window.jQuery},function(e,t){(function(t){e.exports=t}).call(t,{})},,function(e,t){!function(e,t,i){"use strict";var r=" ua-",n=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,s=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,a=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,o=/\bsilk-accelerated=true\b/,l=/\bfluidapp\b/,c=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,u=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,d=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,h={parse:function(e,t){var i={};if(t&&(i.standalone=t),!(e=(""+e).toLowerCase()))return i;for(var r,h,p=e.split(/[()]/),f=0,m=p.length;f<m;f++)if(f%2){var g=p[f].split(";");for(r=0,h=g.length;r<h;r++)if(n.exec(g[r])){var v=RegExp.$1.split(" ").join("_"),_=RegExp.$2;(!i[v]||parseFloat(i[v])<parseFloat(_))&&(i[v]=_)}}else{var y=p[f].match(s);if(y)for(r=0,h=y.length;r<h;r++){var w=y[r].split(/[\/\s]+/);w.length&&"mozilla"!==w[0]&&(i[w[0].split(" ").join("_")]=w.slice(1).join("-"))}}if(u.exec(e))i.mobile=RegExp.$1,a.exec(e)&&(delete i[i.mobile],i.blackberry=i.version||RegExp.$3||RegExp.$2||RegExp.$1,RegExp.$1?i.mobile="blackberry":"0.0.1"===i.version&&(i.blackberry="7.1.0.0"));else if(d.exec(e)){i.game=RegExp.$1;var b=i.game.split(" ").join("_");i.version&&!i[b]&&(i[b]=i.version)}else c.exec(e)&&(i.desktop=RegExp.$1);return i.intel_mac_os_x?(i.mac_os_x=i.intel_mac_os_x.split("_").join("."),delete i.intel_mac_os_x):i.cpu_iphone_os?(i.ios=i.cpu_iphone_os.split("_").join("."),delete i.cpu_iphone_os):i.cpu_os?(i.ios=i.cpu_os.split("_").join("."),delete i.cpu_os):"iphone"!==i.mobile||i.ios||(i.ios="1"),i.opera&&i.version?(i.opera=i.version,delete i.blackberry):o.exec(e)?i.silk_accelerated=!0:l.exec(e)&&(i.fluidapp=i.version),i.edge&&(delete i.applewebkit,delete i.safari,delete i.chrome,delete i.android),i.applewebkit?(i.webkit=i.applewebkit,delete i.applewebkit,i.opr&&(i.opera=i.opr,delete i.opr,delete i.chrome),i.safari&&(i.chrome||i.crios||i.fxios||i.opera||i.silk||i.fluidapp||i.phantomjs||i.mobile&&!i.ios?(delete i.safari,i.vivaldi&&delete i.chrome):i.version&&!i.rim_tablet_os?i.safari=i.version:i.safari={419:"2.0.4",417:"2.0.3",416:"2.0.2",412:"2.0",312:"1.3",125:"1.2",85:"1.0"}[parseInt(i.safari,10)]||i.safari)):i.msie||i.trident?(i.opera||(i.ie=i.msie||i.rv),delete i.msie,delete i.android,i.windows_phone_os?(i.windows_phone=i.windows_phone_os,delete i.windows_phone_os):"wpdesktop"!==i.mobile&&"xblwp7"!==i.mobile&&"zunewp7"!==i.mobile||(i.mobile="windows desktop",i.windows_phone=+i.ie<9?"7.0":+i.ie<10?"7.5":"8.0",delete i.windows_nt)):(i.gecko||i.firefox)&&(i.gecko=i.rv),i.rv&&delete i.rv,i.version&&delete i.version,i},format:function(e){var t="";for(var i in e)i&&e.hasOwnProperty(i)&&(t+=function(e,t){e=e.split(".").join("-");var i=r+e;if("string"==typeof t){t=t.split(" ").join("_").split(".").join("-");for(var n=t.indexOf("-");n>0;)i+=r+e+"-"+t.substring(0,n),n=t.indexOf("-",n+1);i+=r+e+"-"+t}return i}(i,e[i]));return t},encode:function(e){var t="";for(var i in e)i&&e.hasOwnProperty(i)&&(t&&(t+="&"),t+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return t}};h.userAgent=h.ua=h.parse(t,i);var p=h.format(h.ua)+" js";e.className?e.className=e.className.replace(/\bno-js\b/g,"")+p:e.className=p.substr(1)}(document.documentElement,navigator.userAgent,navigator.standalone)},function(e,t,i){var r,n,s,a,o;/*!
+ * imagesLoaded PACKAGED v4.1.3
+ * JavaScript is all like "You images are done yet or what?"
+ * MIT License
+ */
+!function(e,t){n=t,s={id:"ev-emitter/ev-emitter",exports:{},loaded:!1},r="function"==typeof n?n.call(s.exports,i,s.exports,s):n,s.loaded=!0,void 0===r&&(r=s.exports)}("undefined"!=typeof window&&window,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},r=i[e]=i[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var r=i.indexOf(t);return-1!=r&&i.splice(r,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var r=0,n=i[r];t=t||[];for(var s=this._onceEvents&&this._onceEvents[e];n;){var a=s&&s[n];a&&(this.off(e,n),delete s[n]),n.apply(this,t),r+=a?0:1,n=i[r]}return this}},t.allOff=t.removeAllListeners=function(){delete this._events,delete this._onceEvents},e}),function(i,n){"use strict";a=[r],void 0!==(o=function(e){return n(i,e)}.apply(t,a))&&(e.exports=o)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function r(e){var t=[];if(Array.isArray(e))t=e;else if("number"==typeof e.length)for(var i=0;i<e.length;i++)t.push(e[i]);else t.push(e);return t}function n(e,t,s){return this instanceof n?("string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=r(e),this.options=i({},this.options),"function"==typeof t?s=t:i(this.options,t),s&&this.on("always",s),this.getImages(),o&&(this.jqDeferred=new o.Deferred),void setTimeout(function(){this.check()}.bind(this))):new n(e,t,s)}function s(e){this.img=e}function a(e,t){this.url=e,this.element=t,this.img=new Image}var o=e.jQuery,l=e.console;n.prototype=Object.create(t.prototype),n.prototype.options={},n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},n.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),r=0;r<i.length;r++){var n=i[r];this.addImage(n)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(r=0;r<s.length;r++){var a=s[r];this.addElementBackgroundImages(a)}}}};var c={1:!0,9:!0,11:!0};return n.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,r=i.exec(t.backgroundImage);null!==r;){var n=r&&r[2];n&&this.addBackground(n,e),r=i.exec(t.backgroundImage)}},n.prototype.addImage=function(e){var t=new s(e);this.images.push(t)},n.prototype.addBackground=function(e,t){var i=new a(e,t);this.images.push(i)},n.prototype.check=function(){function e(e,i,r){setTimeout(function(){t.progress(e,i,r)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},n.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,e,t)},n.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},s.prototype=Object.create(t.prototype),s.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},s.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},s.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(s.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},n.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&(o=t,o.fn.imagesLoaded=function(e,t){return new n(this,e,t).jqDeferred.promise(o(this))})},n.makeJQueryPlugin(),n})},function(e,t,i){var r,n;!function(s,a){r=[i(0)],void 0!==(n=function(e){return s.jQuery=a(e)}.apply(t,r))&&(e.exports=n)}(this,function(e){return e.easing.jswing=e.easing.swing,e.extend(e.easing,{def:"easeOutQuad",swing:function(t,i,r,n,s){return e.easing[e.easing.def](t,i,r,n,s)},easeInQuad:function(e,t,i,r,n){return r*(t/=n)*t+i},easeOutQuad:function(e,t,i,r,n){return-r*(t/=n)*(t-2)+i},easeInOutQuad:function(e,t,i,r,n){return(t/=n/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,r,n){return r*(t/=n)*t*t+i},easeOutCubic:function(e,t,i,r,n){return r*((t=t/n-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,r,n){return(t/=n/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,r,n){return r*(t/=n)*t*t*t+i},easeOutQuart:function(e,t,i,r,n){return-r*((t=t/n-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,r,n){return(t/=n/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,r,n){return r*(t/=n)*t*t*t*t+i},easeOutQuint:function(e,t,i,r,n){return r*((t=t/n-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,r,n){return(t/=n/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,r,n){return-r*Math.cos(t/n*(Math.PI/2))+r+i},easeOutSine:function(e,t,i,r,n){return r*Math.sin(t/n*(Math.PI/2))+i},easeInOutSine:function(e,t,i,r,n){return-r/2*(Math.cos(Math.PI*t/n)-1)+i},easeInExpo:function(e,t,i,r,n){return 0==t?i:r*Math.pow(2,10*(t/n-1))+i},easeOutExpo:function(e,t,i,r,n){return t==n?i+r:r*(1-Math.pow(2,-10*t/n))+i},easeInOutExpo:function(e,t,i,r,n){return 0==t?i:t==n?i+r:(t/=n/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,r,n){return-r*(Math.sqrt(1-(t/=n)*t)-1)+i},easeOutCirc:function(e,t,i,r,n){return r*Math.sqrt(1-(t=t/n-1)*t)+i},easeInOutCirc:function(e,t,i,r,n){return(t/=n/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,r,n){var s=1.70158,a=0,o=r;if(0==t)return i;if(1==(t/=n))return i+r;if(a||(a=.3*n),o<Math.abs(r)){o=r;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(r/o);return-o*Math.pow(2,10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/a)+i},easeOutElastic:function(e,t,i,r,n){var s=1.70158,a=0,o=r;if(0==t)return i;if(1==(t/=n))return i+r;if(a||(a=.3*n),o<Math.abs(r)){o=r;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(r/o);return o*Math.pow(2,-10*t)*Math.sin(2*(t*n-s)*Math.PI/a)+r+i},easeInOutElastic:function(e,t,i,r,n){var s=1.70158,a=0,o=r;if(0==t)return i;if(2==(t/=n/2))return i+r;if(a||(a=.3*n*1.5),o<Math.abs(r)){o=r;var s=a/4}else var s=a/(2*Math.PI)*Math.asin(r/o);return 1>t?-.5*o*Math.pow(2,10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/a)+i:o*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*n-s)*Math.PI/a)*.5+r+i},easeInBack:function(e,t,i,r,n,s){return void 0==s&&(s=1.70158),r*(t/=n)*t*((s+1)*t-s)+i},easeOutBack:function(e,t,i,r,n,s){return void 0==s&&(s=1.70158),r*((t=t/n-1)*t*((s+1)*t+s)+1)+i},easeInOutBack:function(e,t,i,r,n,s){return void 0==s&&(s=1.70158),(t/=n/2)<1?r/2*t*t*((1+(s*=1.525))*t-s)+i:r/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+i},easeInBounce:function(t,i,r,n,s){return n-e.easing.easeOutBounce(t,s-i,0,n,s)+r},easeOutBounce:function(e,t,i,r,n){return(t/=n)<1/2.75?7.5625*r*t*t+i:2/2.75>t?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(t,i,r,n,s){return s/2>i?.5*e.easing.easeInBounce(t,2*i,0,n,s)+r:.5*e.easing.easeOutBounce(t,2*i-s,0,n,s)+.5*n+r}}),e})},function(e,t,i){var r,n,s;!function(a){"use strict";n=[i(0)],r=a,void 0!==(s="function"==typeof r?r.apply(t,n):r)&&(e.exports=s)}(function(e){var t=-1,i=-1,r=function(e){return parseFloat(e)||0},n=function(t){var i=e(t),n=null,s=[];return i.each(function(){var t=e(this),i=t.offset().top-r(t.css("margin-top")),a=s.length>0?s[s.length-1]:null;null===a?s.push(t):Math.floor(Math.abs(n-i))<=1?s[s.length-1]=a.add(t):s.push(t),n=i}),s},s=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?e.extend(i,t):("boolean"==typeof t?i.byRow=t:"remove"===t&&(i.remove=!0),i)},a=e.fn.matchHeight=function(t){var i=s(t);if(i.remove){var r=this;return this.css(i.property,""),e.each(a._groups,function(e,t){t.elements=t.elements.not(r)}),this}return this.length<=1&&!i.target?this:(a._groups.push({elements:this,options:i}),a._apply(this,i),this)};a.version="0.7.2",a._groups=[],a._throttle=80,a._maintainScroll=!1,a._beforeUpdate=null,a._afterUpdate=null,a._rows=n,a._parse=r,a._parseOptions=s,a._apply=function(t,i){var o=s(i),l=e(t),c=[l],u=e(window).scrollTop(),d=e("html").outerHeight(!0),h=l.parents().filter(":hidden");return h.each(function(){var t=e(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),o.byRow&&!o.target&&(l.each(function(){var t=e(this),i=t.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block"),t.data("style-cache",t.attr("style")),t.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=n(l),l.each(function(){var t=e(this);t.attr("style",t.data("style-cache")||"")})),e.each(c,function(t,i){var n=e(i),s=0;if(o.target)s=o.target.outerHeight(!1);else{if(o.byRow&&n.length<=1)return void n.css(o.property,"");n.each(function(){var t=e(this),i=t.attr("style"),r=t.css("display");"inline-block"!==r&&"flex"!==r&&"inline-flex"!==r&&(r="block");var n={display:r};n[o.property]="",t.css(n),t.outerHeight(!1)>s&&(s=t.outerHeight(!1)),i?t.attr("style",i):t.css("display","")})}n.each(function(){var t=e(this),i=0;o.target&&t.is(o.target)||("border-box"!==t.css("box-sizing")&&(i+=r(t.css("border-top-width"))+r(t.css("border-bottom-width")),i+=r(t.css("padding-top"))+r(t.css("padding-bottom"))),t.css(o.property,s-i+"px"))})}),h.each(function(){var t=e(this);t.attr("style",t.data("style-cache")||null)}),a._maintainScroll&&e(window).scrollTop(u/d*e("html").outerHeight(!0)),this},a._applyDataApi=function(){var t={};e("[data-match-height], [data-mh]").each(function(){var i=e(this),r=i.attr("data-mh")||i.attr("data-match-height");t[r]=r in t?t[r].add(i):i}),e.each(t,function(){this.matchHeight(!0)})};var o=function(t){a._beforeUpdate&&a._beforeUpdate(t,a._groups),e.each(a._groups,function(){a._apply(this.elements,this.options)}),a._afterUpdate&&a._afterUpdate(t,a._groups)};a._update=function(r,n){if(n&&"resize"===n.type){var s=e(window).width();if(s===t)return;t=s}r?-1===i&&(i=setTimeout(function(){o(n),i=-1},a._throttle)):o(n)},e(a._applyDataApi);var l=e.fn.on?"on":"bind";e(window)[l]("load",function(e){a._update(!1,e)}),e(window)[l]("resize orientationchange",function(e){a._update(!0,e)})})},function(e,t,i){(function(e){/*! Tiny Pub/Sub - v0.7.0 - 2013-01-29
+* https://github.com/cowboy/jquery-tiny-pubsub
+* Copyright (c) 2013 "Cowboy" Ben Alman; Licensed MIT */
+!function(e){var t=e({});e.subscribe=function(){t.on.apply(t,arguments)},e.unsubscribe=function(){t.off.apply(t,arguments)},e.publish=function(){t.trigger.apply(t,arguments)}}(e)}).call(t,i(0))},function(e,t,i){var r,n;/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(t,i){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,function(s,a){"use strict";function o(e,t){t=t||oe;var i=t.createElement("script");i.text=e,t.head.appendChild(i).parentNode.removeChild(i)}function l(e){var t=!!e&&"length"in e&&e.length,i=we.type(e);return"function"!==i&&!we.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,i){return we.isFunction(t)?we.grep(e,function(e,r){return!!t.call(e,r,e)!==i}):t.nodeType?we.grep(e,function(e){return e===t!==i}):"string"!=typeof t?we.grep(e,function(e){return he.call(t,e)>-1!==i}):Re.test(t)?we.filter(t,e,i):(t=we.filter(t,e),we.grep(e,function(e){return he.call(t,e)>-1!==i&&1===e.nodeType}))}function d(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function h(e){var t={};return we.each(e.match(je)||[],function(e,i){t[i]=!0}),t}function p(e){return e}function f(e){throw e}function m(e,t,i,r){var n;try{e&&we.isFunction(n=e.promise)?n.call(e).done(t).fail(i):e&&we.isFunction(n=e.then)?n.call(e,t,i):t.apply(void 0,[e].slice(r))}catch(e){i.apply(void 0,[e])}}function g(){oe.removeEventListener("DOMContentLoaded",g),s.removeEventListener("load",g),we.ready()}function v(){this.expando=we.expando+v.uid++}function _(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:qe.test(e)?JSON.parse(e):e)}function y(e,t,i){var r;if(void 0===i&&1===e.nodeType)if(r="data-"+t.replace(Xe,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(r))){try{i=_(i)}catch(e){}He.set(e,t,i)}else i=void 0;return i}function w(e,t,i,r){var n,s=1,a=20,o=r?function(){return r.cur()}:function(){return we.css(e,t,"")},l=o(),c=i&&i[3]||(we.cssNumber[t]?"":"px"),u=(we.cssNumber[t]||"px"!==c&&+l)&&Ge.exec(we.css(e,t));if(u&&u[3]!==c){c=c||u[3],i=i||[],u=+l||1;do{s=s||".5",u/=s,we.style(e,t,u+c)}while(s!==(s=o()/l)&&1!==s&&--a)}return i&&(u=+u||+l||0,n=i[1]?u+(i[1]+1)*i[2]:+i[2],r&&(r.unit=c,r.start=u,r.end=n)),n}function b(e){var t,i=e.ownerDocument,r=e.nodeName,n=$e[r];return n||(t=i.body.appendChild(i.createElement(r)),n=we.css(t,"display"),t.parentNode.removeChild(t),"none"===n&&(n="block"),$e[r]=n,n)}function x(e,t){for(var i,r,n=[],s=0,a=e.length;s<a;s++)r=e[s],r.style&&(i=r.style.display,t?("none"===i&&(n[s]=Be.get(r,"display")||null,n[s]||(r.style.display="")),""===r.style.display&&Ue(r)&&(n[s]=b(r))):"none"!==i&&(n[s]="none",Be.set(r,"display",i)));for(s=0;s<a;s++)null!=n[s]&&(e[s].style.display=n[s]);return e}function T(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&c(e,t)?we.merge([e],i):i}function S(e,t){for(var i=0,r=e.length;i<r;i++)Be.set(e[i],"globalEval",!t||Be.get(t[i],"globalEval"))}function E(e,t,i,r,n){for(var s,a,o,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if((s=e[p])||0===s)if("object"===we.type(s))we.merge(h,s.nodeType?[s]:s);else if(et.test(s)){for(a=a||d.appendChild(t.createElement("div")),o=(Je.exec(s)||["",""])[1].toLowerCase(),l=Ke[o]||Ke._default,a.innerHTML=l[1]+we.htmlPrefilter(s)+l[2],u=l[0];u--;)a=a.lastChild;we.merge(h,a.childNodes),a=d.firstChild,a.textContent=""}else h.push(t.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(r&&we.inArray(s,r)>-1)n&&n.push(s);else if(c=we.contains(s.ownerDocument,s),a=T(d.appendChild(s),"script"),c&&S(a),i)for(u=0;s=a[u++];)Ze.test(s.type||"")&&i.push(s);return d}function C(){return!0}function P(){return!1}function L(){try{return oe.activeElement}catch(e){}}function A(e,t,i,r,n,s){var a,o;if("object"==typeof t){"string"!=typeof i&&(r=r||i,i=void 0);for(o in t)A(e,o,i,r,t[o],s);return e}if(null==r&&null==n?(n=i,r=i=void 0):null==n&&("string"==typeof i?(n=r,r=void 0):(n=r,r=i,i=void 0)),!1===n)n=P;else if(!n)return e;return 1===s&&(a=n,n=function(e){return we().off(e),a.apply(this,arguments)},n.guid=a.guid||(a.guid=we.guid++)),e.each(function(){we.event.add(this,t,n,r,i)})}function R(e,t){return c(e,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")?we(">tbody",e)[0]||e:e}function k(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function O(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function M(e,t){var i,r,n,s,a,o,l,c;if(1===t.nodeType){if(Be.hasData(e)&&(s=Be.access(e),a=Be.set(t,s),c=s.events)){delete a.handle,a.events={};for(n in c)for(i=0,r=c[n].length;i<r;i++)we.event.add(t,n,c[n][i])}He.hasData(e)&&(o=He.access(e),l=we.extend({},o),He.set(t,l))}}function I(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Qe.test(e.type)?t.checked=e.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}function j(e,t,i,r){t=ue.apply([],t);var n,s,a,l,c,u,d=0,h=e.length,p=h-1,f=t[0],m=we.isFunction(f);if(m||h>1&&"string"==typeof f&&!_e.checkClone&&ot.test(f))return e.each(function(n){var s=e.eq(n);m&&(t[0]=f.call(this,n,s.html())),j(s,t,i,r)});if(h&&(n=E(t,e[0].ownerDocument,!1,e,r),s=n.firstChild,1===n.childNodes.length&&(n=s),s||r)){for(a=we.map(T(n,"script"),k),l=a.length;d<h;d++)c=n,d!==p&&(c=we.clone(c,!0,!0),l&&we.merge(a,T(c,"script"))),i.call(e[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,we.map(a,O),d=0;d<l;d++)c=a[d],Ze.test(c.type||"")&&!Be.access(c,"globalEval")&&we.contains(u,c)&&(c.src?we._evalUrl&&we._evalUrl(c.src):o(c.textContent.replace(ct,""),u))}return e}function z(e,t,i){for(var r,n=t?we.filter(t,e):e,s=0;null!=(r=n[s]);s++)i||1!==r.nodeType||we.cleanData(T(r)),r.parentNode&&(i&&we.contains(r.ownerDocument,r)&&S(T(r,"script")),r.parentNode.removeChild(r));return e}function D(e,t,i){var r,n,s,a,o=e.style;return i=i||ht(e),i&&(a=i.getPropertyValue(t)||i[t],""!==a||we.contains(e.ownerDocument,e)||(a=we.style(e,t)),!_e.pixelMarginRight()&&dt.test(a)&&ut.test(t)&&(r=o.width,n=o.minWidth,s=o.maxWidth,o.minWidth=o.maxWidth=o.width=a,a=i.width,o.width=r,o.minWidth=n,o.maxWidth=s)),void 0!==a?a+"":a}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function F(e){if(e in _t)return e;for(var t=e[0].toUpperCase()+e.slice(1),i=vt.length;i--;)if((e=vt[i]+t)in _t)return e}function B(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=F(e)||e),t}function H(e,t,i){var r=Ge.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function q(e,t,i,r,n){var s,a=0;for(s=i===(r?"border":"content")?4:"width"===t?1:0;s<4;s+=2)"margin"===i&&(a+=we.css(e,i+Ye[s],!0,n)),r?("content"===i&&(a-=we.css(e,"padding"+Ye[s],!0,n)),"margin"!==i&&(a-=we.css(e,"border"+Ye[s]+"Width",!0,n))):(a+=we.css(e,"padding"+Ye[s],!0,n),"padding"!==i&&(a+=we.css(e,"border"+Ye[s]+"Width",!0,n)));return a}function X(e,t,i){var r,n=ht(e),s=D(e,t,n),a="border-box"===we.css(e,"boxSizing",!1,n);return dt.test(s)?s:(r=a&&(_e.boxSizingReliable()||s===e.style[t]),"auto"===s&&(s=e["offset"+t[0].toUpperCase()+t.slice(1)]),(s=parseFloat(s)||0)+q(e,t,i||(a?"border":"content"),r,n)+"px")}function W(e,t,i,r,n){return new W.prototype.init(e,t,i,r,n)}function G(){wt&&(!1===oe.hidden&&s.requestAnimationFrame?s.requestAnimationFrame(G):s.setTimeout(G,we.fx.interval),we.fx.tick())}function Y(){return s.setTimeout(function(){yt=void 0}),yt=we.now()}function U(e,t){var i,r=0,n={height:e};for(t=t?1:0;r<4;r+=2-t)i=Ye[r],n["margin"+i]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function V(e,t,i){for(var r,n=(J.tweeners[t]||[]).concat(J.tweeners["*"]),s=0,a=n.length;s<a;s++)if(r=n[s].call(i,t,e))return r}function $(e,t,i){var r,n,s,a,o,l,c,u,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&Ue(e),g=Be.get(e,"fxshow");i.queue||(a=we._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,we.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(n=t[r],bt.test(n)){if(delete t[r],s=s||"toggle"===n,n===(m?"hide":"show")){if("show"!==n||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||we.style(e,r)}if((l=!we.isEmptyObject(t))||!we.isEmptyObject(p)){d&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],c=g&&g.display,null==c&&(c=Be.get(e,"display")),u=we.css(e,"display"),"none"===u&&(c?u=c:(x([e],!0),c=e.style.display||c,u=we.css(e,"display"),x([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===we.css(e,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1;for(r in p)l||(g?"hidden"in g&&(m=g.hidden):g=Be.access(e,"fxshow",{display:c}),s&&(g.hidden=!m),m&&x([e],!0),h.done(function(){m||x([e]),Be.remove(e,"fxshow");for(r in p)we.style(e,r,p[r])})),l=V(m?g[r]:0,r,h),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}}function Q(e,t){var i,r,n,s,a;for(i in e)if(r=we.camelCase(i),n=t[r],s=e[i],Array.isArray(s)&&(n=s[1],s=e[i]=s[0]),i!==r&&(e[r]=s,delete e[i]),(a=we.cssHooks[r])&&"expand"in a){s=a.expand(s),delete e[r];for(i in s)i in e||(e[i]=s[i],t[i]=n)}else t[r]=n}function J(e,t,i){var r,n,s=0,a=J.prefilters.length,o=we.Deferred().always(function(){delete l.elem}),l=function(){if(n)return!1;for(var t=yt||Y(),i=Math.max(0,c.startTime+c.duration-t),r=i/c.duration||0,s=1-r,a=0,l=c.tweens.length;a<l;a++)c.tweens[a].run(s);return o.notifyWith(e,[c,s,i]),s<1&&l?i:(l||o.notifyWith(e,[c,1,0]),o.resolveWith(e,[c]),!1)},c=o.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},i),originalProperties:t,originalOptions:i,startTime:yt||Y(),duration:i.duration,tweens:[],createTween:function(t,i){var r=we.Tween(e,c.opts,t,i,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var i=0,r=t?c.tweens.length:0;if(n)return this;for(n=!0;i<r;i++)c.tweens[i].run(1);return t?(o.notifyWith(e,[c,1,0]),o.resolveWith(e,[c,t])):o.rejectWith(e,[c,t]),this}}),u=c.props;for(Q(u,c.opts.specialEasing);s<a;s++)if(r=J.prefilters[s].call(c,e,u,c.opts))return we.isFunction(r.stop)&&(we._queueHooks(c.elem,c.opts.queue).stop=we.proxy(r.stop,r)),r;return we.map(u,V,c),we.isFunction(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),we.fx.timer(we.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function Z(e){return(e.match(je)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e,t,i,r){var n;if(Array.isArray(t))we.each(t,function(t,n){i||Ot.test(e)?r(e,n):ee(e+"["+("object"==typeof n&&null!=n?t:"")+"]",n,i,r)});else if(i||"object"!==we.type(t))r(e,t);else for(n in t)ee(e+"["+n+"]",t[n],i,r)}function te(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,n=0,s=t.toLowerCase().match(je)||[];if(we.isFunction(i))for(;r=s[n++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(i)):(e[r]=e[r]||[]).push(i)}}function ie(e,t,i,r){function n(o){var l;return s[o]=!0,we.each(e[o]||[],function(e,o){var c=o(t,i,r);return"string"!=typeof c||a||s[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),n(c),!1)}),l}var s={},a=e===Wt;return n(t.dataTypes[0])||!s["*"]&&n("*")}function re(e,t){var i,r,n=we.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((n[i]?e:r||(r={}))[i]=t[i]);return r&&we.extend(!0,e,r),e}function ne(e,t,i){for(var r,n,s,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(n in o)if(o[n]&&o[n].test(r)){l.unshift(n);break}if(l[0]in i)s=l[0];else{for(n in i){if(!l[0]||e.converters[n+" "+l[0]]){s=n;break}a||(a=n)}s=s||a}if(s)return s!==l[0]&&l.unshift(s),i[s]}function se(e,t,i,r){var n,s,a,o,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(s=u.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(a=c[l+" "+s]||c["* "+s]))for(n in c)if(o=n.split(" "),o[1]===s&&(a=c[l+" "+o[0]]||c["* "+o[0]])){!0===a?a=c[n]:!0!==c[n]&&(s=o[0],u.unshift(o[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}var ae=[],oe=s.document,le=Object.getPrototypeOf,ce=ae.slice,ue=ae.concat,de=ae.push,he=ae.indexOf,pe={},fe=pe.toString,me=pe.hasOwnProperty,ge=me.toString,ve=ge.call(Object),_e={},ye="3.2.1",we=function(e,t){return new we.fn.init(e,t)},be=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,xe=/^-ms-/,Te=/-([a-z])/g,Se=function(e,t){return t.toUpperCase()};we.fn=we.prototype={jquery:ye,constructor:we,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(e){return this.pushStack(we.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:de,sort:ae.sort,splice:ae.splice},we.extend=we.fn.extend=function(){var e,t,i,r,n,s,a=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[o]||{},o++),"object"==typeof a||we.isFunction(a)||(a={}),o===l&&(a=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)i=a[t],r=e[t],a!==r&&(c&&r&&(we.isPlainObject(r)||(n=Array.isArray(r)))?(n?(n=!1,s=i&&Array.isArray(i)?i:[]):s=i&&we.isPlainObject(i)?i:{},a[t]=we.extend(c,s,r)):void 0!==r&&(a[t]=r));return a},we.extend({expando:"jQuery"+(ye+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===we.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==fe.call(e)||(t=le(e))&&("function"!=typeof(i=me.call(t,"constructor")&&t.constructor)||ge.call(i)!==ve))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[fe.call(e)]||"object":typeof e},globalEval:function(e){o(e)},camelCase:function(e){return e.replace(xe,"ms-").replace(Te,Se)},each:function(e,t){var i,r=0;if(l(e))for(i=e.length;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(be,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(l(Object(e))?we.merge(i,"string"==typeof e?[e]:e):de.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:he.call(t,e,i)},merge:function(e,t){for(var i=+t.length,r=0,n=e.length;r<i;r++)e[n++]=t[r];return e.length=n,e},grep:function(e,t,i){for(var r=[],n=0,s=e.length,a=!i;n<s;n++)!t(e[n],n)!==a&&r.push(e[n]);return r},map:function(e,t,i){var r,n,s=0,a=[];if(l(e))for(r=e.length;s<r;s++)null!=(n=t(e[s],s,i))&&a.push(n);else for(s in e)null!=(n=t(e[s],s,i))&&a.push(n);return ue.apply([],a)},guid:1,proxy:function(e,t){var i,r,n;if("string"==typeof t&&(i=e[t],t=e,e=i),we.isFunction(e))return r=ce.call(arguments,2),n=function(){return e.apply(t||this,r.concat(ce.call(arguments)))},n.guid=e.guid=e.guid||we.guid++,n},now:Date.now,support:_e}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=ae[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var Ee=function(e){function t(e,t,i,r){var n,s,a,o,l,u,h,p=t&&t.ownerDocument,f=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return i;if(!r&&((t?t.ownerDocument||t:F)!==k&&R(t),t=t||k,M)){if(11!==f&&(l=me.exec(e)))if(n=l[1]){if(9===f){if(!(a=t.getElementById(n)))return i;if(a.id===n)return i.push(a),i}else if(p&&(a=p.getElementById(n))&&D(t,a)&&a.id===n)return i.push(a),i}else{if(l[2])return Q.apply(i,t.getElementsByTagName(e)),i;if((n=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Q.apply(i,t.getElementsByClassName(n)),i}if(w.qsa&&!W[e+" "]&&(!I||!I.test(e))){if(1!==f)p=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((o=t.getAttribute("id"))?o=o.replace(ye,we):t.setAttribute("id",o=N),u=S(e),s=u.length;s--;)u[s]="#"+o+" "+d(u[s]);h=u.join(","),p=ge.test(e)&&c(t.parentNode)||t}if(h)try{return Q.apply(i,p.querySelectorAll(h)),i}catch(e){}finally{o===N&&t.removeAttribute("id")}}}return C(e.replace(se,"$1"),t,i,r)}function i(){function e(i,r){return t.push(i+" ")>b.cacheLength&&delete e[t.shift()],e[i+" "]=r}var t=[];return e}function r(e){return e[N]=!0,e}function n(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var i=e.split("|"),r=i.length;r--;)b.attrHandle[i[r]]=t}function a(e,t){var i=t&&e,r=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function o(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&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(i,r){for(var n,s=e([],i.length,t),a=s.length;a--;)i[n=s[a]]&&(i[n]=!(r[n]=i[n]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function u(){}function d(e){for(var t=0,i=e.length,r="";t<i;t++)r+=e[t].value;return r}function h(e,t,i){var r=t.dir,n=t.next,s=n||r,a=i&&"parentNode"===s,o=H++;return t.first?function(t,i,n){for(;t=t[r];)if(1===t.nodeType||a)return e(t,i,n);return!1}:function(t,i,l){var c,u,d,h=[B,o];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,i,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(d=t[N]||(t[N]={}),u=d[t.uniqueID]||(d[t.uniqueID]={}),n&&n===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[s])&&c[0]===B&&c[1]===o)return h[2]=c[2];if(u[s]=h,h[2]=e(t,i,l))return!0}return!1}}function p(e){return e.length>1?function(t,i,r){for(var n=e.length;n--;)if(!e[n](t,i,r))return!1;return!0}:e[0]}function f(e,i,r){for(var n=0,s=i.length;n<s;n++)t(e,i[n],r);return r}function m(e,t,i,r,n){for(var s,a=[],o=0,l=e.length,c=null!=t;o<l;o++)(s=e[o])&&(i&&!i(s,r,n)||(a.push(s),c&&t.push(o)));return a}function g(e,t,i,n,s,a){return n&&!n[N]&&(n=g(n)),s&&!s[N]&&(s=g(s,a)),r(function(r,a,o,l){var c,u,d,h=[],p=[],g=a.length,v=r||f(t||"*",o.nodeType?[o]:o,[]),_=!e||!r&&t?v:m(v,h,e,o,l),y=i?s||(r?e:g||n)?[]:a:_;if(i&&i(_,y,o,l),n)for(c=m(y,p),n(c,[],o,l),u=c.length;u--;)(d=c[u])&&(y[p[u]]=!(_[p[u]]=d));if(r){if(s||e){if(s){for(c=[],u=y.length;u--;)(d=y[u])&&c.push(_[u]=d);s(null,y=[],c,l)}for(u=y.length;u--;)(d=y[u])&&(c=s?Z(r,d):h[u])>-1&&(r[c]=!(a[c]=d))}}else y=m(y===a?y.splice(g,y.length):y),s?s(null,a,y,l):Q.apply(a,y)})}function v(e){for(var t,i,r,n=e.length,s=b.relative[e[0].type],a=s||b.relative[" "],o=s?1:0,l=h(function(e){return e===t},a,!0),c=h(function(e){return Z(t,e)>-1},a,!0),u=[function(e,i,r){var n=!s&&(r||i!==P)||((t=i).nodeType?l(e,i,r):c(e,i,r));return t=null,n}];o<n;o++)if(i=b.relative[e[o].type])u=[h(p(u),i)];else{if(i=b.filter[e[o].type].apply(null,e[o].matches),i[N]){for(r=++o;r<n&&!b.relative[e[r].type];r++);return g(o>1&&p(u),o>1&&d(e.slice(0,o-1).concat({value:" "===e[o-2].type?"*":""})).replace(se,"$1"),i,o<r&&v(e.slice(o,r)),r<n&&v(e=e.slice(r)),r<n&&d(e))}u.push(i)}return p(u)}function _(e,i){var n=i.length>0,s=e.length>0,a=function(r,a,o,l,c){var u,d,h,p=0,f="0",g=r&&[],v=[],_=P,y=r||s&&b.find.TAG("*",c),w=B+=null==_?1:Math.random()||.1,x=y.length;for(c&&(P=a===k||a||c);f!==x&&null!=(u=y[f]);f++){if(s&&u){for(d=0,a||u.ownerDocument===k||(R(u),o=!M);h=e[d++];)if(h(u,a||k,o)){l.push(u);break}c&&(B=w)}n&&((u=!h&&u)&&p--,r&&g.push(u))}if(p+=f,n&&f!==p){for(d=0;h=i[d++];)h(g,v,a,o);if(r){if(p>0)for(;f--;)g[f]||v[f]||(v[f]=V.call(l));v=m(v)}Q.apply(l,v),c&&!r&&v.length>0&&p+i.length>1&&t.uniqueSort(l)}return c&&(B=w,P=_),g};return n?r(a):a}var y,w,b,x,T,S,E,C,P,L,A,R,k,O,M,I,j,z,D,N="sizzle"+1*new Date,F=e.document,B=0,H=0,q=i(),X=i(),W=i(),G=function(e,t){return e===t&&(A=!0),0},Y={}.hasOwnProperty,U=[],V=U.pop,$=U.push,Q=U.push,J=U.slice,Z=function(e,t){for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ie="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ne=new RegExp(ee+"+","g"),se=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),oe=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(re),ue=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,fe=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),_e=function(e,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},be=function(){R()},xe=h(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(U=J.call(F.childNodes),F.childNodes),U[F.childNodes.length].nodeType}catch(e){Q={apply:U.length?function(e,t){$.apply(e,J.call(t))}:function(e,t){for(var i=e.length,r=0;e[i++]=t[r++];);e.length=i-1}}}w=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},R=t.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:F;return r!==k&&9===r.nodeType&&r.documentElement?(k=r,O=k.documentElement,M=!T(k),F!==k&&(i=k.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",be,!1):i.attachEvent&&i.attachEvent("onunload",be)),w.attributes=n(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=n(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=fe.test(k.getElementsByClassName),w.getById=n(function(e){return O.appendChild(e).id=N,!k.getElementsByName||!k.getElementsByName(N).length}),w.getById?(b.filter.ID=function(e){var t=e.replace(ve,_e);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var i=t.getElementById(e);return i?[i]:[]}}):(b.filter.ID=function(e){var t=e.replace(ve,_e);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var i,r,n,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(n=t.getElementsByName(e),r=0;s=n[r++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),b.find.TAG=w.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,r=[],n=0,s=t.getElementsByTagName(e);if("*"===e){for(;i=s[n++];)1===i.nodeType&&r.push(i);return r}return s},b.find.CLASS=w.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&M)return t.getElementsByClassName(e)},j=[],I=[],(w.qsa=fe.test(k.querySelectorAll))&&(n(function(e){O.appendChild(e).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+ee+"*(?:value|"+K+")"),e.querySelectorAll("[id~="+N+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+N+"+*").length||I.push(".#.+[+~]")}),n(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(w.matchesSelector=fe.test(z=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&n(function(e){w.disconnectedMatch=z.call(e,"*"),z.call(e,"[s!='']:x"),j.push("!=",re)}),I=I.length&&new RegExp(I.join("|")),j=j.length&&new RegExp(j.join("|")),t=fe.test(O.compareDocumentPosition),D=t||fe.test(O.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(i.contains?i.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return A=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!w.sortDetached&&t.compareDocumentPosition(e)===i?e===k||e.ownerDocument===F&&D(F,e)?-1:t===k||t.ownerDocument===F&&D(F,t)?1:L?Z(L,e)-Z(L,t):0:4&i?-1:1)}:function(e,t){if(e===t)return A=!0,0;var i,r=0,n=e.parentNode,s=t.parentNode,o=[e],l=[t];if(!n||!s)return e===k?-1:t===k?1:n?-1:s?1:L?Z(L,e)-Z(L,t):0;if(n===s)return a(e,t);for(i=e;i=i.parentNode;)o.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;o[r]===l[r];)r++;return r?a(o[r],l[r]):o[r]===F?-1:l[r]===F?1:0},k):k},t.matches=function(e,i){return t(e,null,null,i)},t.matchesSelector=function(e,i){if((e.ownerDocument||e)!==k&&R(e),i=i.replace(le,"='$1']"),w.matchesSelector&&M&&!W[i+" "]&&(!j||!j.test(i))&&(!I||!I.test(i)))try{var r=z.call(e,i);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(i,k,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==k&&R(e),D(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==k&&R(e);var i=b.attrHandle[t.toLowerCase()],r=i&&Y.call(b.attrHandle,t.toLowerCase())?i(e,t,!M):void 0;return void 0!==r?r:w.attributes||!M?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(ye,we)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,i=[],r=0,n=0;if(A=!w.detectDuplicates,L=!w.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[n++];)t===e[n]&&(r=i.push(n));for(;r--;)e.splice(i[r],1)}return L=null,e},x=t.getText=function(e){var t,i="",r=0,n=e.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=x(e)}else if(3===n||4===n)return e.nodeValue}else for(;t=e[r++];)i+=x(t);return i},b=t.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&ce.test(i)&&(t=S(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,i,r){return function(n){var s=t.attr(n,e);return null==s?"!="===i:!i||(s+="","="===i?s===r:"!="===i?s!==r:"^="===i?r&&0===s.indexOf(r):"*="===i?r&&s.indexOf(r)>-1:"$="===i?r&&s.slice(-r.length)===r:"~="===i?(" "+s.replace(ne," ")+" ").indexOf(r)>-1:"|="===i&&(s===r||s.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,i,r,n){var s="nth"!==e.slice(0,3),a="last"!==e.slice(-4),o="of-type"===t;return 1===r&&0===n?function(e){return!!e.parentNode}:function(t,i,l){var c,u,d,h,p,f,m=s!==a?"nextSibling":"previousSibling",g=t.parentNode,v=o&&t.nodeName.toLowerCase(),_=!l&&!o,y=!1;if(g){if(s){for(;m;){for(h=t;h=h[m];)if(o?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&_){for(h=g,d=h[N]||(h[N]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[e]||[],p=c[0]===B&&c[1],y=p&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(y=p=0)||f.pop();)if(1===h.nodeType&&++y&&h===t){u[e]=[B,p,y];break}}else if(_&&(h=t,d=h[N]||(h[N]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),c=u[e]||[],p=c[0]===B&&c[1],y=p),!1===y)for(;(h=++p&&h&&h[m]||(y=p=0)||f.pop())&&((o?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++y||(_&&(d=h[N]||(h[N]={}),u=d[h.uniqueID]||(d[h.uniqueID]={}),u[e]=[B,y]),h!==t)););return(y-=n)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,i){var n,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return s[N]?s(i):s.length>1?(n=[e,e,"",i],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,n=s(e,i),a=n.length;a--;)r=Z(e,n[a]),e[r]=!(t[r]=n[a])}):function(e){return s(e,0,n)}):s}},pseudos:{not:r(function(e){var t=[],i=[],n=E(e.replace(se,"$1"));return n[N]?r(function(e,t,i,r){for(var s,a=n(e,null,r,[]),o=e.length;o--;)(s=a[o])&&(e[o]=!(t[o]=s))}):function(e,r,s){return t[0]=e,n(t,null,s,i),t[0]=null,!i.pop()}}),has:r(function(e){return function(i){return t(e,i).length>0}}),contains:r(function(e){return e=e.replace(ve,_e),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return ue.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,_e).toLowerCase(),function(t){var i;do{if(i=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:o(!1),disabled:o(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,i){return[i<0?i+t:i]}),even:l(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:l(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:l(function(e,t,i){for(var r=i<0?i+t:i;--r>=0;)e.push(r);return e}),gt:l(function(e,t,i){for(var r=i<0?i+t:i;++r<t;)e.push(r);return e})}},b.pseudos.nth=b.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})b.pseudos[y]=function(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}(y);return u.prototype=b.filters=b.pseudos,b.setFilters=new u,S=t.tokenize=function(e,i){var r,n,s,a,o,l,c,u=X[e+" "];if(u)return i?0:u.slice(0);for(o=e,l=[],c=b.preFilter;o;){r&&!(n=ae.exec(o))||(n&&(o=o.slice(n[0].length)||o),l.push(s=[])),r=!1,(n=oe.exec(o))&&(r=n.shift(),s.push({value:r,type:n[0].replace(se," ")}),o=o.slice(r.length));for(a in b.filter)!(n=de[a].exec(o))||c[a]&&!(n=c[a](n))||(r=n.shift(),s.push({value:r,type:a,matches:n}),o=o.slice(r.length));if(!r)break}return i?o.length:o?t.error(e):X(e,l).slice(0)},E=t.compile=function(e,t){var i,r=[],n=[],s=W[e+" "];if(!s){for(t||(t=S(e)),i=t.length;i--;)s=v(t[i]),s[N]?r.push(s):n.push(s);s=W(e,_(n,r)),s.selector=e}return s},C=t.select=function(e,t,i,r){var n,s,a,o,l,u="function"==typeof e&&e,h=!r&&S(e=u.selector||e);if(i=i||[],1===h.length){if(s=h[0]=h[0].slice(0),s.length>2&&"ID"===(a=s[0]).type&&9===t.nodeType&&M&&b.relative[s[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ve,_e),t)||[])[0]))return i;u&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(n=de.needsContext.test(e)?0:s.length;n--&&(a=s[n],!b.relative[o=a.type]);)if((l=b.find[o])&&(r=l(a.matches[0].replace(ve,_e),ge.test(s[0].type)&&c(t.parentNode)||t))){if(s.splice(n,1),!(e=r.length&&d(s)))return Q.apply(i,r),i;break}}return(u||E(e,h))(r,t,!M,i,!t||ge.test(e)&&c(t.parentNode)||t),i},w.sortStable=N.split("").sort(G).join("")===N,w.detectDuplicates=!!A,R(),w.sortDetached=n(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),n(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||s("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&n(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||s("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),n(function(e){return null==e.getAttribute("disabled")})||s(K,function(e,t,i){var r;if(!i)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(s);we.find=Ee,we.expr=Ee.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=Ee.uniqueSort,we.text=Ee.getText,we.isXMLDoc=Ee.isXML,we.contains=Ee.contains,we.escapeSelector=Ee.escape;var Ce=function(e,t,i){for(var r=[],n=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&we(e).is(i))break;r.push(e)}return r},Pe=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},Le=we.expr.match.needsContext,Ae=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Re=/^.[^:#\[\.,]*$/;we.filter=function(e,t,i){var r=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?we.find.matchesSelector(r,e)?[r]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,i,r=this.length,n=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<r;t++)if(we.contains(n[t],this))return!0}));for(i=this.pushStack([]),t=0;t<r;t++)we.find(e,n[t],i);return r>1?we.uniqueSort(i):i},filter:function(e){return this.pushStack(u(this,e||[],!1))},not:function(e){return this.pushStack(u(this,e||[],!0))},is:function(e){return!!u(this,"string"==typeof e&&Le.test(e)?we(e):e||[],!1).length}});var ke,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,i){var r,n;if(!e)return this;if(i=i||ke,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.exec(e))||!r[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof we?t[0]:t,we.merge(this,we.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:oe,!0)),Ae.test(r[1])&&we.isPlainObject(t))for(r in t)we.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return n=oe.getElementById(r[2]),n&&(this[0]=n,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):we.isFunction(e)?void 0!==i.ready?i.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,ke=we(oe);var Me=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var i,r=0,n=this.length,s=[],a="string"!=typeof e&&we(e);if(!Le.test(e))for(;r<n;r++)for(i=this[r];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?a.index(i)>-1:1===i.nodeType&&we.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(s.length>1?we.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?he.call(we(e),this[0]):he.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,i){return Ce(e,"parentNode",i)},next:function(e){return d(e,"nextSibling")},prev:function(e){return d(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,i){return Ce(e,"nextSibling",i)},prevUntil:function(e,t,i){return Ce(e,"previousSibling",i)},siblings:function(e){return Pe((e.parentNode||{}).firstChild,e)},children:function(e){return Pe(e.firstChild)},contents:function(e){return c(e,"iframe")?e.contentDocument:(c(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(e,t){we.fn[e]=function(i,r){var n=we.map(this,t,i);return"Until"!==e.slice(-5)&&(r=i),r&&"string"==typeof r&&(n=we.filter(r,n)),this.length>1&&(Ie[e]||we.uniqueSort(n),Me.test(e)&&n.reverse()),this.pushStack(n)}});var je=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?h(e):we.extend({},e);var t,i,r,n,s=[],a=[],o=-1,l=function(){for(n=n||e.once,r=t=!0;a.length;o=-1)for(i=a.shift();++o<s.length;)!1===s[o].apply(i[0],i[1])&&e.stopOnFalse&&(o=s.length,i=!1);e.memory||(i=!1),t=!1,n&&(s=i?[]:"")},c={add:function(){return s&&(i&&!t&&(o=s.length-1,a.push(i)),function t(i){we.each(i,function(i,r){we.isFunction(r)?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==we.type(r)&&t(r)})}(arguments),i&&!t&&l()),this},remove:function(){return we.each(arguments,function(e,t){for(var i;(i=we.inArray(t,s,i))>-1;)s.splice(i,1),i<=o&&o--}),this},has:function(e){return e?we.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return n=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return n=a=[],i||t||(s=i=""),this},locked:function(){return!!n},fireWith:function(e,i){return n||(i=i||[],i=[e,i.slice?i.slice():i],a.push(i),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},we.extend({Deferred:function(e){var t=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return n.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(i){we.each(t,function(t,r){var s=we.isFunction(e[r[4]])&&e[r[4]];n[r[1]](function(){var e=s&&s.apply(this,arguments);e&&we.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[r[0]+"With"](this,s?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){function n(e,t,i,r){return function(){var o=this,l=arguments,c=function(){var s,c;if(!(e<a)){if((s=i.apply(o,l))===t.promise())throw new TypeError("Thenable self-resolution");c=s&&("object"==typeof s||"function"==typeof s)&&s.then,we.isFunction(c)?r?c.call(s,n(a,t,p,r),n(a,t,f,r)):(a++,c.call(s,n(a,t,p,r),n(a,t,f,r),n(a,t,p,t.notifyWith))):(i!==p&&(o=void 0,l=[s]),(r||t.resolveWith)(o,l))}},u=r?c:function(){try{c()}catch(r){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(r,u.stackTrace),e+1>=a&&(i!==f&&(o=void 0,l=[r]),t.rejectWith(o,l))}};e?u():(we.Deferred.getStackHook&&(u.stackTrace=we.Deferred.getStackHook()),s.setTimeout(u))}}var a=0;return we.Deferred(function(s){t[0][3].add(n(0,s,we.isFunction(r)?r:p,s.notifyWith)),t[1][3].add(n(0,s,we.isFunction(e)?e:p)),t[2][3].add(n(0,s,we.isFunction(i)?i:f))}).promise()},promise:function(e){return null!=e?we.extend(e,r):r}},n={};return we.each(t,function(e,s){var a=s[2],o=s[5];r[s[1]]=a.add,o&&a.add(function(){i=o},t[3-e][2].disable,t[0][2].lock),a.add(s[3].fire),n[s[0]]=function(){return n[s[0]+"With"](this===n?void 0:this,arguments),this},n[s[0]+"With"]=a.fireWith}),r.promise(n),e&&e.call(n,n),n},when:function(e){var t=arguments.length,i=t,r=Array(i),n=ce.call(arguments),s=we.Deferred(),a=function(e){return function(i){r[e]=this,n[e]=arguments.length>1?ce.call(arguments):i,--t||s.resolveWith(r,n)}};if(t<=1&&(m(e,s.done(a(i)).resolve,s.reject,!t),"pending"===s.state()||we.isFunction(n[i]&&n[i].then)))return s.then();for(;i--;)m(n[i],a(i),s.reject);return s.promise()}});var ze=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(e,t){s.console&&s.console.warn&&e&&ze.test(e.name)&&s.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},we.readyException=function(e){s.setTimeout(function(){throw e})};var De=we.Deferred();we.fn.ready=function(e){return De.then(e).catch(function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0,!0!==e&&--we.readyWait>0||De.resolveWith(oe,[we]))}}),we.ready.then=De.then,"complete"===oe.readyState||"loading"!==oe.readyState&&!oe.documentElement.doScroll?s.setTimeout(we.ready):(oe.addEventListener("DOMContentLoaded",g),s.addEventListener("load",g));var Ne=function(e,t,i,r,n,s,a){var o=0,l=e.length,c=null==i;if("object"===we.type(i)){n=!0;for(o in i)Ne(e,t,o,i[o],!0,s,a)}else if(void 0!==r&&(n=!0,we.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,i){return c.call(we(e),i)})),t))for(;o<l;o++)t(e[o],i,a?r:r.call(e[o],o,t(e[o],i)));return n?e:c?t.call(e):l?t(e[0],i):s},Fe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};v.uid=1,v.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Fe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var r,n=this.cache(e);if("string"==typeof t)n[we.camelCase(t)]=i;else for(r in t)n[we.camelCase(r)]=t[r];return n},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][we.camelCase(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(we.camelCase):(t=we.camelCase(t),t=t in r?[t]:t.match(je)||[]),i=t.length;for(;i--;)delete r[t[i]]}(void 0===t||we.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!we.isEmptyObject(t)}};var Be=new v,He=new v,qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xe=/[A-Z]/g;we.extend({hasData:function(e){return He.hasData(e)||Be.hasData(e)},data:function(e,t,i){return He.access(e,t,i)},removeData:function(e,t){He.remove(e,t)},_data:function(e,t,i){return Be.access(e,t,i)},_removeData:function(e,t){Be.remove(e,t)}}),we.fn.extend({data:function(e,t){var i,r,n,s=this[0],a=s&&s.attributes;if(void 0===e){if(this.length&&(n=He.get(s),1===s.nodeType&&!Be.get(s,"hasDataAttrs"))){for(i=a.length;i--;)a[i]&&(r=a[i].name,0===r.indexOf("data-")&&(r=we.camelCase(r.slice(5)),y(s,r,n[r])));Be.set(s,"hasDataAttrs",!0)}return n}return"object"==typeof e?this.each(function(){He.set(this,e)}):Ne(this,function(t){var i;if(s&&void 0===t){if(void 0!==(i=He.get(s,e)))return i;if(void 0!==(i=y(s,e)))return i}else this.each(function(){He.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){He.remove(this,e)})}}),we.extend({queue:function(e,t,i){var r;if(e)return t=(t||"fx")+"queue",r=Be.get(e,t),i&&(!r||Array.isArray(i)?r=Be.access(e,t,we.makeArray(i)):r.push(i)),r||[]},dequeue:function(e,t){t=t||"fx";var i=we.queue(e,t),r=i.length,n=i.shift(),s=we._queueHooks(e,t),a=function(){we.dequeue(e,t)};"inprogress"===n&&(n=i.shift(),r--),n&&("fx"===t&&i.unshift("inprogress"),delete s.stop,n.call(e,a,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return Be.get(e,i)||Be.access(e,i,{empty:we.Callbacks("once memory").add(function(){Be.remove(e,[t+"queue",i])})})}}),we.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?we.queue(this[0],e):void 0===t?this:this.each(function(){var i=we.queue(this,e,t);we._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&we.dequeue(this,e)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,r=1,n=we.Deferred(),s=this,a=this.length,o=function(){--r||n.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=Be.get(s[a],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(o));return o(),n.promise(t)}});var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=new RegExp("^(?:([+-])=|)("+We+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],Ue=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Ve=function(e,t,i,r){var n,s,a={};for(s in t)a[s]=e.style[s],e.style[s]=t[s];n=i.apply(e,r||[]);for(s in t)e.style[s]=a[s];return n},$e={};we.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ue(this)?we(this).show():we(this).hide()})}});var Qe=/^(?:checkbox|radio)$/i,Je=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ze=/^$|\/(?:java|ecma)script/i,Ke={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,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var et=/<|&#?\w+;/;!function(){var e=oe.createDocumentFragment(),t=e.appendChild(oe.createElement("div")),i=oe.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),t.appendChild(i),_e.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",_e.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var tt=oe.documentElement,it=/^key/,rt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nt=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,i,r,n){var s,a,o,l,c,u,d,h,p,f,m,g=Be.get(e);if(g)for(i.handler&&(s=i,i=s.handler,n=s.selector),n&&we.find.matchesSelector(tt,n),i.guid||(i.guid=we.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==we&&we.event.triggered!==t.type?we.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(je)||[""],c=t.length;c--;)o=nt.exec(t[c])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p&&(d=we.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,d=we.event.special[p]||{},u=we.extend({type:p,origType:m,data:r,handler:i,guid:i.guid,selector:n,needsContext:n&&we.expr.match.needsContext.test(n),namespace:f.join(".")},s),(h=l[p])||(h=l[p]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),n?h.splice(h.delegateCount++,0,u):h.push(u),we.event.global[p]=!0)},remove:function(e,t,i,r,n){var s,a,o,l,c,u,d,h,p,f,m,g=Be.hasData(e)&&Be.get(e);if(g&&(l=g.events)){for(t=(t||"").match(je)||[""],c=t.length;c--;)if(o=nt.exec(t[c])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p){for(d=we.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,h=l[p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)u=h[s],!n&&m!==u.origType||i&&i.guid!==u.guid||o&&!o.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||we.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)we.event.remove(e,p+t[c],i,r,!0);we.isEmptyObject(l)&&Be.remove(e,"handle events")}},dispatch:function(e){var t,i,r,n,s,a,o=we.event.fix(e),l=new Array(arguments.length),c=(Be.get(this,"events")||{})[o.type]||[],u=we.event.special[o.type]||{};for(l[0]=o,t=1;t<arguments.length;t++)l[t]=arguments[t];if(o.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,o)){for(a=we.event.handlers.call(this,o,c),t=0;(n=a[t++])&&!o.isPropagationStopped();)for(o.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!o.rnamespace.test(s.namespace)||(o.handleObj=s,o.data=s.data,void 0!==(r=((we.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,l))&&!1===(o.result=r)&&(o.preventDefault(),o.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,o),o.result}},handlers:function(e,t){var i,r,n,s,a,o=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],a={},i=0;i<l;i++)r=t[i],n=r.selector+" ",void 0===a[n]&&(a[n]=r.needsContext?we(n,this).index(c)>-1:we.find(n,this,null,[c]).length),a[n]&&s.push(r);s.length&&o.push({elem:c,handlers:s})}return c=this,l<t.length&&o.push({elem:c,handlers:t.slice(l)}),o},addProp:function(e,t){Object.defineProperty(we.Event.prototype,e,{enumerable:!0,configurable:!0,get:we.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(e){return e[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==L()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===L()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&c(this,"input"))return this.click(),!1},_default:function(e){return c(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},we.Event=function(e,t){return this instanceof we.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?C:P,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||we.now(),void(this[we.expando]=!0)):new we.Event(e,t)},we.Event.prototype={constructor:we.Event,isDefaultPrevented:P,isPropagationStopped:P,isImmediatePropagationStopped:P,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=C,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=C,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=C,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.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(e){var t=e.button;return null==e.which&&it.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&rt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){we.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,r=this,n=e.relatedTarget,s=e.handleObj;return n&&(n===r||we.contains(r,n))||(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=t),i}}}),we.fn.extend({on:function(e,t,i,r){return A(this,e,t,i,r)},one:function(e,t,i,r){return A(this,e,t,i,r,1)},off:function(e,t,i){var r,n;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,we(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(n in e)this.off(n,t,e[n]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=P),this.each(function(){we.event.remove(this,e,i,t)})}});var st=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,at=/<script|<style|<link/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,lt=/^true\/(.*)/,ct=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;we.extend({htmlPrefilter:function(e){return e.replace(st,"<$1></$2>")},clone:function(e,t,i){var r,n,s,a,o=e.cloneNode(!0),l=we.contains(e.ownerDocument,e);if(!(_e.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(a=T(o),s=T(e),r=0,n=s.length;r<n;r++)I(s[r],a[r]);if(t)if(i)for(s=s||T(e),a=a||T(o),r=0,n=s.length;r<n;r++)M(s[r],a[r]);else M(e,o);return a=T(o,"script"),a.length>0&&S(a,!l&&T(e,"script")),o},cleanData:function(e){for(var t,i,r,n=we.event.special,s=0;void 0!==(i=e[s]);s++)if(Fe(i)){if(t=i[Be.expando]){if(t.events)for(r in t.events)n[r]?we.event.remove(i,r):we.removeEvent(i,r,t.handle);i[Be.expando]=void 0}i[He.expando]&&(i[He.expando]=void 0)}}}),we.fn.extend({detach:function(e){return z(this,e,!0)},remove:function(e){return z(this,e)},text:function(e){return Ne(this,function(e){return void 0===e?we.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){R(this,e).appendChild(e)}})},prepend:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=R(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(we.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return Ne(this,function(e){var t=this[0]||{},i=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!at.test(e)&&!Ke[(Je.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;i<r;i++)t=this[i]||{},1===t.nodeType&&(we.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return j(this,arguments,function(t){var i=this.parentNode;we.inArray(this,e)<0&&(we.cleanData(T(this)),i&&i.replaceChild(t,this))},e)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){we.fn[e]=function(e){for(var i,r=[],n=we(e),s=n.length-1,a=0;a<=s;a++)i=a===s?this:this.clone(!0),we(n[a])[t](i),de.apply(r,i.get());return this.pushStack(r)}});var ut=/^margin/,dt=new RegExp("^("+We+")(?!px)[a-z%]+$","i"),ht=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=s),t.getComputedStyle(e)};!function(){function e(){if(o){o.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",o.innerHTML="",tt.appendChild(a);var e=s.getComputedStyle(o);t="1%"!==e.top,n="2px"===e.marginLeft,i="4px"===e.width,o.style.marginRight="50%",r="4px"===e.marginRight,tt.removeChild(a),o=null}}var t,i,r,n,a=oe.createElement("div"),o=oe.createElement("div");o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",_e.clearCloneStyle="content-box"===o.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(o),we.extend(_e,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return e(),i},pixelMarginRight:function(){return e(),r},reliableMarginLeft:function(){return e(),n}}))}();var pt=/^(none|table(?!-c[ea]).+)/,ft=/^--/,mt={position:"absolute",visibility:"hidden",display:"block"},gt={letterSpacing:"0",fontWeight:"400"},vt=["Webkit","Moz","ms"],_t=oe.createElement("div").style;we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=D(e,"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(e,t,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var n,s,a,o=we.camelCase(t),l=ft.test(t),c=e.style;return l||(t=B(o)),a=we.cssHooks[t]||we.cssHooks[o],void 0===i?a&&"get"in a&&void 0!==(n=a.get(e,!1,r))?n:c[t]:(s=typeof i,"string"===s&&(n=Ge.exec(i))&&n[1]&&(i=w(e,t,n),s="number"),void(null!=i&&i===i&&("number"===s&&(i+=n&&n[3]||(we.cssNumber[o]?"":"px")),_e.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,r))||(l?c.setProperty(t,i):c[t]=i))))}},css:function(e,t,i,r){var n,s,a,o=we.camelCase(t);return ft.test(t)||(t=B(o)),a=we.cssHooks[t]||we.cssHooks[o],a&&"get"in a&&(n=a.get(e,!0,i)),void 0===n&&(n=D(e,t,r)),"normal"===n&&t in gt&&(n=gt[t]),""===i||i?(s=parseFloat(n),!0===i||isFinite(s)?s||0:n):n}}),we.each(["height","width"],function(e,t){we.cssHooks[t]={get:function(e,i,r){if(i)return!pt.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?X(e,t,r):Ve(e,mt,function(){return X(e,t,r)})},set:function(e,i,r){var n,s=r&&ht(e),a=r&&q(e,t,r,"border-box"===we.css(e,"boxSizing",!1,s),s);return a&&(n=Ge.exec(i))&&"px"!==(n[3]||"px")&&(e.style[t]=i,i=we.css(e,t)),H(e,i,a)}}}),we.cssHooks.marginLeft=N(_e.reliableMarginLeft,function(e,t){if(t)return(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(e,t){we.cssHooks[e+t]={expand:function(i){for(var r=0,n={},s="string"==typeof i?i.split(" "):[i];r<4;r++)n[e+Ye[r]+t]=s[r]||s[r-2]||s[0];return n}},ut.test(e)||(we.cssHooks[e+t].set=H)}),we.fn.extend({css:function(e,t){return Ne(this,function(e,t,i){var r,n,s={},a=0;if(Array.isArray(t)){for(r=ht(e),n=t.length;a<n;a++)s[t[a]]=we.css(e,t[a],!1,r);return s}return void 0!==i?we.style(e,t,i):we.css(e,t)},e,t,arguments.length>1)}}),we.Tween=W,W.prototype={constructor:W,init:function(e,t,i,r,n,s){this.elem=e,this.prop=i,this.easing=n||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(we.cssNumber[i]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,i=W.propHooks[this.prop];return this.options.duration?this.pos=t=we.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=we.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[we.cssProps[e.prop]]&&!we.cssHooks[e.prop]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=W.prototype.init,we.fx.step={};var yt,wt,bt=/^(?:toggle|show|hide)$/,xt=/queueHooks$/;we.Animation=we.extend(J,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return w(i.elem,e,Ge.exec(t),i),i}]},tweener:function(e,t){we.isFunction(e)?(t=e,e=["*"]):e=e.match(je);for(var i,r=0,n=e.length;r<n;r++)i=e[r],J.tweeners[i]=J.tweeners[i]||[],J.tweeners[i].unshift(t)},prefilters:[$],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),we.speed=function(e,t,i){var r=e&&"object"==typeof e?we.extend({},e):{complete:i||!i&&t||we.isFunction(e)&&e,duration:e,easing:i&&t||t&&!we.isFunction(t)&&t};return we.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in we.fx.speeds?r.duration=we.fx.speeds[r.duration]:r.duration=we.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){we.isFunction(r.old)&&r.old.call(this),r.queue&&we.dequeue(this,r.queue)},r},we.fn.extend({fadeTo:function(e,t,i,r){return this.filter(Ue).css("opacity",0).show().end().animate({opacity:t},e,i,r)},animate:function(e,t,i,r){var n=we.isEmptyObject(e),s=we.speed(t,i,r),a=function(){var t=J(this,we.extend({},e),s);(n||Be.get(this,"finish"))&&t.stop(!0)};return a.finish=a,n||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(e,t,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",s=we.timers,a=Be.get(this);if(n)a[n]&&a[n].stop&&r(a[n]);else for(n in a)a[n]&&a[n].stop&&xt.test(n)&&r(a[n]);for(n=s.length;n--;)s[n].elem!==this||null!=e&&s[n].queue!==e||(s[n].anim.stop(i),t=!1,s.splice(n,1));!t&&i||we.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,i=Be.get(this),r=i[e+"queue"],n=i[e+"queueHooks"],s=we.timers,a=r?r.length:0;for(i.finish=!0,we.queue(this,e,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete i.finish})}}),we.each(["toggle","show","hide"],function(e,t){var i=we.fn[t];we.fn[t]=function(e,r,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(U(t,!0),e,r,n)}}),we.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){we.fn[e]=function(e,i,r){return this.animate(t,e,i,r)}}),we.timers=[],we.fx.tick=function(){var e,t=0,i=we.timers;for(yt=we.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||we.fx.stop(),yt=void 0},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){wt||(wt=!0,G())},we.fx.stop=function(){wt=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(e,t){return e=we.fx?we.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var r=s.setTimeout(t,e);i.stop=function(){s.clearTimeout(r)}})},function(){var e=oe.createElement("input"),t=oe.createElement("select"),i=t.appendChild(oe.createElement("option"));e.type="checkbox",_e.checkOn=""!==e.value,_e.optSelected=i.selected,e=oe.createElement("input"),e.value="t",e.type="radio",_e.radioValue="t"===e.value}();var Tt,St=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return Ne(this,we.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,i){var r,n,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?we.prop(e,t,i):(1===s&&we.isXMLDoc(e)||(n=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?Tt:void 0)),void 0!==i?null===i?void we.removeAttr(e,t):n&&"set"in n&&void 0!==(r=n.set(e,i,t))?r:(e.setAttribute(t,i+""),i):n&&"get"in n&&null!==(r=n.get(e,t))?r:(r=we.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!_e.radioValue&&"radio"===t&&c(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,r=0,n=t&&t.match(je);if(n&&1===e.nodeType)for(;i=n[r++];)e.removeAttribute(i)}}),Tt={set:function(e,t,i){return!1===t?we.removeAttr(e,i):e.setAttribute(i,i),i}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var i=St[t]||we.find.attr;St[t]=function(e,t,r){var n,s,a=t.toLowerCase();return r||(s=St[a],St[a]=n,n=null!=i(e,t,r)?a:null,St[a]=s),n}});var Et=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return Ne(this,we.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,i){var r,n,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&we.isXMLDoc(e)||(t=we.propFix[t]||t,n=we.propHooks[t]),void 0!==i?n&&"set"in n&&void 0!==(r=n.set(e,i,t))?r:e[t]=i:n&&"get"in n&&null!==(r=n.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):Et.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_e.optSelected||(we.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(e){var t,i,r,n,s,a,o,l=0;if(we.isFunction(e))return this.each(function(t){we(this).addClass(e.call(this,t,K(this)))});if("string"==typeof e&&e)for(t=e.match(je)||[];i=this[l++];)if(n=K(i),r=1===i.nodeType&&" "+Z(n)+" "){for(a=0;s=t[a++];)r.indexOf(" "+s+" ")<0&&(r+=s+" ");o=Z(r),n!==o&&i.setAttribute("class",o)}return this},removeClass:function(e){var t,i,r,n,s,a,o,l=0;if(we.isFunction(e))return this.each(function(t){we(this).removeClass(e.call(this,t,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(je)||[];i=this[l++];)if(n=K(i),r=1===i.nodeType&&" "+Z(n)+" "){for(a=0;s=t[a++];)for(;r.indexOf(" "+s+" ")>-1;)r=r.replace(" "+s+" "," ");o=Z(r),n!==o&&i.setAttribute("class",o)}return this},toggleClass:function(e,t){var i=typeof e;return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):we.isFunction(e)?this.each(function(i){we(this).toggleClass(e.call(this,i,K(this),t),t)}):this.each(function(){var t,r,n,s;if("string"===i)for(r=0,n=we(this),s=e.match(je)||[];t=s[r++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==e&&"boolean"!==i||(t=K(this),t&&Be.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Be.get(this,"__className__")||""))})},hasClass:function(e){var t,i,r=0;for(t=" "+e+" ";i=this[r++];)if(1===i.nodeType&&(" "+Z(K(i))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;we.fn.extend({val:function(e){var t,i,r,n=this[0];return arguments.length?(r=we.isFunction(e),this.each(function(i){var n;1===this.nodeType&&(n=r?e.call(this,i,we(this).val()):e,null==n?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=we.map(n,function(e){return null==e?"":e+""})),(t=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,n,"value")||(this.value=n))})):n?(t=we.valHooks[n.type]||we.valHooks[n.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(i=t.get(n,"value"))?i:(i=n.value,"string"==typeof i?i.replace(Pt,""):null==i?"":i)):void 0}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:Z(we.text(e))}},select:{get:function(e){var t,i,r,n=e.options,s=e.selectedIndex,a="select-one"===e.type,o=a?null:[],l=a?s+1:n.length;for(r=s<0?l:a?s:0;r<l;r++)if(i=n[r],(i.selected||r===s)&&!i.disabled&&(!i.parentNode.disabled||!c(i.parentNode,"optgroup"))){if(t=we(i).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var i,r,n=e.options,s=we.makeArray(t),a=n.length;a--;)r=n[a],(r.selected=we.inArray(we.valHooks.option.get(r),s)>-1)&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=we.inArray(we(e).val(),t)>-1}},_e.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt=/^(?:focusinfocus|focusoutblur)$/;we.extend(we.event,{trigger:function(e,t,i,r){var n,a,o,l,c,u,d,h=[i||oe],p=me.call(e,"type")?e.type:e,f=me.call(e,"namespace")?e.namespace.split("."):[];if(a=o=i=i||oe,3!==i.nodeType&&8!==i.nodeType&&!Lt.test(p+we.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[we.expando]?e:new we.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:we.makeArray(t,[e]),d=we.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!we.isWindow(i)){for(l=d.delegateType||p,Lt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),o=a;o===(i.ownerDocument||oe)&&h.push(o.defaultView||o.parentWindow||s)}for(n=0;(a=h[n++])&&!e.isPropagationStopped();)e.type=n>1?l:d.bindType||p,u=(Be.get(a,"events")||{})[e.type]&&Be.get(a,"handle"),u&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Fe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Fe(i)||c&&we.isFunction(i[p])&&!we.isWindow(i)&&(o=i[c],o&&(i[c]=null),we.event.triggered=p,i[p](),we.event.triggered=void 0,o&&(i[c]=o)),e.result}},simulate:function(e,t,i){var r=we.extend(new we.Event,i,{type:e,isSimulated:!0});we.event.trigger(r,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return we.event.trigger(e,t,i,!0)}}),we.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(e,t){we.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_e.focusin="onfocusin"in s,_e.focusin||we.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){we.event.simulate(t,e.target,we.event.fix(e))};we.event.special[t]={setup:function(){var r=this.ownerDocument||this,n=Be.access(r,t);n||r.addEventListener(e,i,!0),Be.access(r,t,(n||0)+1)},teardown:function(){var r=this.ownerDocument||this,n=Be.access(r,t)-1;n?Be.access(r,t,n):(r.removeEventListener(e,i,!0),Be.remove(r,t))}}});var At=s.location,Rt=we.now(),kt=/\?/;we.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new s.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+e),t};var Ot=/\[\]$/,Mt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var i,r=[],n=function(e,t){var i=we.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){n(this.name,this.value)});else for(i in e)ee(i,e[i],t,n);return r.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&jt.test(this.nodeName)&&!It.test(e)&&(this.checked||!Qe.test(e))}).map(function(e,t){var i=we(this).val();return null==i?null:Array.isArray(i)?we.map(i,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:i.replace(Mt,"\r\n")}}).get()}});var zt=/%20/g,Dt=/#.*$/,Nt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ht=/^(?:GET|HEAD)$/,qt=/^\/\//,Xt={},Wt={},Gt="*/".concat("*"),Yt=oe.createElement("a");Yt.href=At.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Bt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,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":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,we.ajaxSettings),t):re(we.ajaxSettings,e)},ajaxPrefilter:te(Xt),ajaxTransport:te(Wt),ajax:function(e,t){function i(e,t,i,o){var c,h,p,w,b,x=t;u||(u=!0,l&&s.clearTimeout(l),r=void 0,a=o||"",T.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(w=ne(f,T,i)),w=se(f,w,T,c),c?(f.ifModified&&(b=T.getResponseHeader("Last-Modified"),b&&(we.lastModified[n]=b),(b=T.getResponseHeader("etag"))&&(we.etag[n]=b)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=w.state,h=w.data,p=w.error,c=!p)):(p=x,!e&&x||(x="error",e<0&&(e=0))),T.status=e,T.statusText=(t||x)+"",c?v.resolveWith(m,[h,x,T]):v.rejectWith(m,[T,x,p]),T.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[T,f,c?h:p]),_.fireWith(m,[T,x]),d&&(g.trigger("ajaxComplete",[T,f]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,n,a,o,l,c,u,d,h,p,f=we.ajaxSetup({},t),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?we(m):we.event,v=we.Deferred(),_=we.Callbacks("once memory"),y=f.statusCode||{},w={},b={},x="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o)for(o={};t=Ft.exec(a);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=b[e.toLowerCase()]=b[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),i(0,t),this}};if(v.promise(T),f.url=((e||f.url||At.href)+"").replace(qt,At.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(je)||[""],null==f.crossDomain){c=oe.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Yt.protocol+"//"+Yt.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=we.param(f.data,f.traditional)),ie(Xt,f,t,T),u)return T;d=we.event&&f.global,d&&0==we.active++&&we.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ht.test(f.type),n=f.url.replace(Dt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(zt,"+")):(p=f.url.slice(n.length),f.data&&(n+=(kt.test(n)?"&":"?")+f.data,delete f.data),!1===f.cache&&(n=n.replace(Nt,"$1"),p=(kt.test(n)?"&":"?")+"_="+Rt+++p),f.url=n+p),f.ifModified&&(we.lastModified[n]&&T.setRequestHeader("If-Modified-Since",we.lastModified[n]),we.etag[n]&&T.setRequestHeader("If-None-Match",we.etag[n])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Gt+"; q=0.01":""):f.accepts["*"]);for(h in f.headers)T.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(m,T,f)||u))return T.abort();if(x="abort",_.add(f.complete),T.done(f.success),T.fail(f.error),r=ie(Wt,f,t,T)){if(T.readyState=1,d&&g.trigger("ajaxSend",[T,f]),u)return T;f.async&&f.timeout>0&&(l=s.setTimeout(function(){T.abort("timeout")},f.timeout));try{u=!1,r.send(w,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return T},getJSON:function(e,t,i){return we.get(e,t,i,"json")},getScript:function(e,t){return we.get(e,void 0,t,"script")}}),we.each(["get","post"],function(e,t){we[t]=function(e,i,r,n){return we.isFunction(i)&&(n=n||r,r=i,i=void 0),we.ajax(we.extend({url:e,type:t,dataType:n,data:i,success:r},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&(we.isFunction(e)&&(e=e.call(this[0])),t=we(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return we.isFunction(e)?this.each(function(t){we(this).wrapInner(e.call(this,t))}):this.each(function(){var t=we(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=we.isFunction(e);return this.each(function(i){we(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new s.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=we.ajaxSettings.xhr();_e.cors=!!Vt&&"withCredentials"in Vt,_e.ajax=Vt=!!Vt,we.ajaxTransport(function(e){var t,i;if(_e.cors||Vt&&!e.crossDomain)return{send:function(r,n){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)o.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=i=o.onload=o.onerror=o.onabort=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?n(0,"error"):n(o.status,o.statusText):n(Ut[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),i=o.onerror=t("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&s.setTimeout(function(){t&&i()})},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(e){if(e.crossDomain){var t,i;return{send:function(r,n){t=we("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&n("error"===e.type?404:200,e.type)}),oe.head.appendChild(t[0])},abort:function(){i&&i()}}}});var $t=[],Qt=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||we.expando+"_"+Rt++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(e,t,i){var r,n,a,o=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=we.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Qt,"$1"+r):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||we.error(r+" was not called"),a[0]},e.dataTypes[0]="json",n=s[r],s[r]=function(){a=arguments},i.always(function(){void 0===n?we(s).removeProp(r):s[r]=n,e[r]&&(e.jsonpCallback=t.jsonpCallback,$t.push(r)),a&&we.isFunction(n)&&n(a[0]),a=n=void 0}),"script"}),_e.createHTMLDocument=function(){var e=oe.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),we.parseHTML=function(e,t,i){if("string"!=typeof e)return[];"boolean"==typeof t&&(i=t,t=!1);var r,n,s;return t||(_e.createHTMLDocument?(t=oe.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=oe.location.href,t.head.appendChild(r)):t=oe),n=Ae.exec(e),s=!i&&[],n?[t.createElement(n[1])]:(n=E([e],t,s),s&&s.length&&we(s).remove(),we.merge([],n.childNodes))},we.fn.load=function(e,t,i){var r,n,s,a=this,o=e.indexOf(" ");return o>-1&&(r=Z(e.slice(o)),e=e.slice(0,o)),we.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(n="POST"),a.length>0&&we.ajax({url:e,type:n||"GET",dataType:"html",data:t}).done(function(e){s=arguments,a.html(r?we("<div>").append(we.parseHTML(e)).find(r):e)}).always(i&&function(e,t){a.each(function(){i.apply(this,s||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(e){return we.grep(we.timers,function(t){return e===t.elem}).length},we.offset={setOffset:function(e,t,i){var r,n,s,a,o,l,c,u=we.css(e,"position"),d=we(e),h={};"static"===u&&(e.style.position="relative"),o=d.offset(),s=we.css(e,"top"),l=we.css(e,"left"),c=("absolute"===u||"fixed"===u)&&(s+l).indexOf("auto")>-1,c?(r=d.position(),a=r.top,n=r.left):(a=parseFloat(s)||0,n=parseFloat(l)||0),we.isFunction(t)&&(t=t.call(e,i,we.extend({},o))),null!=t.top&&(h.top=t.top-o.top+a),null!=t.left&&(h.left=t.left-o.left+n),"using"in t?t.using.call(e,h):d.css(h)}},we.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){we.offset.setOffset(this,e,t)});var t,i,r,n,s=this[0];return s?s.getClientRects().length?(r=s.getBoundingClientRect(),t=s.ownerDocument,i=t.documentElement,n=t.defaultView,{top:r.top+n.pageYOffset-i.clientTop,left:r.left+n.pageXOffset-i.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i=this[0],r={top:0,left:0};return"fixed"===we.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),c(e[0],"html")||(r=e.offset()),r={top:r.top+we.css(e[0],"borderTopWidth",!0),left:r.left+we.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-we.css(i,"marginTop",!0),left:t.left-r.left-we.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||tt})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;we.fn[e]=function(r){return Ne(this,function(e,r,n){var s;return we.isWindow(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===n?s?s[t]:e[r]:void(s?s.scrollTo(i?s.pageXOffset:n,i?n:s.pageYOffset):e[r]=n)},e,r,arguments.length)}}),we.each(["top","left"],function(e,t){we.cssHooks[t]=N(_e.pixelPosition,function(e,i){if(i)return i=D(e,t),dt.test(i)?we(e).position()[t]+"px":i})}),we.each({Height:"height",Width:"width"},function(e,t){we.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,r){we.fn[r]=function(n,s){var a=arguments.length&&(i||"boolean"!=typeof n),o=i||(!0===n||!0===s?"margin":"border");return Ne(this,function(t,i,n){var s;return we.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===n?we.css(t,i,o):we.style(t,i,n,o)},t,a?n:void 0,a)}})}),we.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,r){return this.on(t,e,i,r)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=c,i(1)&&(r=[],void 0!==(n=function(){return we}.apply(t,r))&&(e.exports=n));var Jt=s.jQuery,Zt=s.$;return we.noConflict=function(e){return s.$===we&&(s.$=Zt),e&&s.jQuery===we&&(s.jQuery=Jt),we},a||(s.jQuery=s.$=we),we})},function(e,t,i){"use strict";function r(e,t){function i(e){l&&l.addListener(e)}function r(e){l&&l.removeListener(e)}function n(e){o.matches=e.matches,o.media=e.media}var o=this;if(a){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(n)}else this.matches=s(e,t),this.media=e;this.addListener=i,this.removeListener=r}function n(e,t){return new r(e,t)}var s=i(21).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=n},function(e,t,i){var r,n;/*! ScrollMagic v2.0.5 | (c) 2015 Jan Paepke (@janpaepke) | license & info: http://scrollmagic.io */
+!function(s,a){r=a,void 0!==(n="function"==typeof r?r.call(t,i,t,e):r)&&(e.exports=n)}(0,function(){"use strict";var e=function(){};e.version="2.0.5",window.addEventListener("mousewheel",function(){});var t="data-scrollmagic-pin-spacer";e.Controller=function(r){var s,a,o="REVERSE",l="PAUSED",c=i.defaults,u=this,d=n.extend({},c,r),h=[],p=!1,f=0,m=l,g=!0,v=0,_=!0,y=function(){d.refreshInterval>0&&(a=window.setTimeout(C,d.refreshInterval))},w=function(){return d.vertical?n.get.scrollTop(d.container):n.get.scrollLeft(d.container)},b=function(){return d.vertical?n.get.height(d.container):n.get.width(d.container)},x=this._setScrollPos=function(e){d.vertical?g?window.scrollTo(n.get.scrollLeft(),e):d.container.scrollTop=e:g?window.scrollTo(e,n.get.scrollTop()):d.container.scrollLeft=e},T=function(){if(_&&p){var e=n.type.Array(p)?p:h.slice(0);p=!1;var t=f;f=u.scrollPos();var i=f-t;0!==i&&(m=i>0?"FORWARD":o),m===o&&e.reverse(),e.forEach(function(e){e.update(!0)})}},S=function(){s=n.rAF(T)},E=function(e){"resize"==e.type&&(v=b(),m=l),!0!==p&&(p=!0,S())},C=function(){if(!g&&v!=b()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){e=document.createEvent("Event"),e.initEvent("resize",!1,!1)}d.container.dispatchEvent(e)}h.forEach(function(e){e.refresh()}),y()};this._options=d;var P=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t};return this.addScene=function(t){if(n.type.Array(t))t.forEach(function(e){u.addScene(e)});else if(t instanceof e.Scene)if(t.controller()!==u)t.addTo(u);else if(h.indexOf(t)<0){h.push(t),h=P(h),t.on("shift.controller_sort",function(){h=P(h)});for(var i in d.globalSceneOptions)t[i]&&t[i].call(t,d.globalSceneOptions[i])}return u},this.removeScene=function(e){if(n.type.Array(e))e.forEach(function(e){u.removeScene(e)});else{var t=h.indexOf(e);t>-1&&(e.off("shift.controller_sort"),h.splice(t,1),e.remove())}return u},this.updateScene=function(t,i){return n.type.Array(t)?t.forEach(function(e){u.updateScene(e,i)}):i?t.update(!0):!0!==p&&t instanceof e.Scene&&(p=p||[],-1==p.indexOf(t)&&p.push(t),p=P(p),S()),u},this.update=function(e){return E({type:"resize"}),e&&T(),u},this.scrollTo=function(i,r){if(n.type.Number(i))x.call(d.container,i,r);else if(i instanceof e.Scene)i.controller()===u&&u.scrollTo(i.scrollOffset(),r);else if(n.type.Function(i))x=i;else{var s=n.get.elements(i)[0];if(s){for(;s.parentNode.hasAttribute(t);)s=s.parentNode;var a=d.vertical?"top":"left",o=n.get.offset(d.container),l=n.get.offset(s);g||(o[a]-=u.scrollPos()),u.scrollTo(l[a]-o[a],r)}}return u},this.scrollPos=function(e){return arguments.length?(n.type.Function(e)&&(w=e),u):w.call(u)},this.info=function(e){var t={size:v,vertical:d.vertical,scrollPos:f,scrollDirection:m,container:d.container,isDocument:g};return arguments.length?void 0!==t[e]?t[e]:void 0:t},this.loglevel=function(){return u},this.enabled=function(e){return arguments.length?(_!=e&&(_=!!e,u.updateScene(h,!0)),u):_},this.destroy=function(e){window.clearTimeout(a);for(var t=h.length;t--;)h[t].destroy(e);return d.container.removeEventListener("resize",E),d.container.removeEventListener("scroll",E),n.cAF(s),null},function(){for(var e in d)c.hasOwnProperty(e)||delete d[e];if(d.container=n.get.elements(d.container)[0],!d.container)throw"ScrollMagic.Controller init failed.";g=d.container===window||d.container===document.body||!document.body.contains(d.container),g&&(d.container=window),v=b(),d.container.addEventListener("resize",E),d.container.addEventListener("scroll",E),d.refreshInterval=parseInt(d.refreshInterval)||c.refreshInterval,y()}(),u};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,t){i.defaults[e]=t},e.Controller.extend=function(t){var i=this;e.Controller=function(){return i.apply(this,arguments),this.$super=n.extend({},this),t.apply(this,arguments)||this},n.extend(e.Controller,i),e.Controller.prototype=i.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(i){var s,a,o="BEFORE",l="DURING",c="AFTER",u=r.defaults,d=this,h=n.extend({},u,i),p=o,f=0,m={start:0,end:0},g=0,v=!0,_={};this.on=function(e,t){return n.type.Function(t)&&(e=e.trim().split(" "),e.forEach(function(e){var i=e.split("."),r=i[0],n=i[1];"*"!=r&&(_[r]||(_[r]=[]),_[r].push({namespace:n||"",callback:t}))})),d},this.off=function(e,t){return e?(e=e.trim().split(" "),e.forEach(function(e){var i=e.split("."),r=i[0],n=i[1]||"";("*"===r?Object.keys(_):[r]).forEach(function(e){for(var i=_[e]||[],r=i.length;r--;){var s=i[r];!s||n!==s.namespace&&"*"!==n||t&&t!=s.callback||i.splice(r,1)}i.length||delete _[e]})}),d):d},this.trigger=function(t,i){if(t){var r=t.trim().split("."),n=r[0],s=r[1],a=_[n];a&&a.forEach(function(t){s&&s!==t.namespace||t.callback.call(d,new e.Event(n,t.namespace,d,i))})}return d},d.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?b():"reverse"===e.what&&d.update())}).on("shift.internal",function(){y(),d.update()}),this.addTo=function(t){return t instanceof e.Controller&&a!=t&&(a&&a.removeScene(d),a=t,S(),w(!0),b(!0),y(),a.info("container").addEventListener("resize",x),t.addScene(d),d.trigger("add",{controller:a}),d.update()),d},this.enabled=function(e){return arguments.length?(v!=e&&(v=!!e,d.update(!0)),d):v},this.remove=function(){if(a){a.info("container").removeEventListener("resize",x);var e=a;a=void 0,e.removeScene(d),d.trigger("remove")}return d},this.destroy=function(e){return d.trigger("destroy",{reset:e}),d.remove(),d.off("*.*"),null},this.update=function(e){if(a)if(e)if(a.enabled()&&v){var t,i=a.info("scrollPos");t=h.duration>0?(i-m.start)/(m.end-m.start):i>=m.start?1:0,d.trigger("update",{startPos:m.start,endPos:m.end,scrollPos:i}),d.progress(t)}else P&&p===l&&A(!0);else a.updateScene(d,!1);return d},this.refresh=function(){return w(),b(),d},this.progress=function(e){if(arguments.length){var t=!1,i=p,r=a?a.info("scrollDirection"):"PAUSED",n=h.reverse||e>=f;if(0===h.duration?(t=f!=e,f=1>e&&n?0:1,p=0===f?o:l):0>e&&p!==o&&n?(f=0,p=o,t=!0):e>=0&&1>e&&n?(f=e,p=l,t=!0):e>=1&&p!==c?(f=1,p=c,t=!0):p!==l||n||A(),t){var s={progress:f,state:p,scrollDirection:r},u=p!=i,m=function(e){d.trigger(e,s)};u&&i!==l&&(m("enter"),m(i===o?"start":"end")),m("progress"),u&&p!==l&&(m(p===o?"start":"end"),m("leave"))}return d}return f};var y=function(){m={start:g+h.offset},a&&h.triggerElement&&(m.start-=a.info("size")*h.triggerHook),m.end=m.start+h.duration},w=function(e){if(s){var t="duration";E(t,s.call(d))&&!e&&(d.trigger("change",{what:t,newval:h[t]}),d.trigger("shift",{reason:t}))}},b=function(e){var i=0,r=h.triggerElement;if(a&&r){for(var s=a.info(),o=n.get.offset(s.container),l=s.vertical?"top":"left";r.parentNode.hasAttribute(t);)r=r.parentNode;var c=n.get.offset(r);s.isDocument||(o[l]-=a.scrollPos()),i=c[l]-o[l]}var u=i!=g;g=i,u&&!e&&d.trigger("shift",{reason:"triggerElementPosition"})},x=function(){h.triggerHook>0&&d.trigger("shift",{reason:"containerResize"})},T=n.extend(r.validate,{duration:function(e){if(n.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return a?a.info("size")*t:0}}if(n.type.Function(e)){s=e;try{e=parseFloat(s())}catch(t){e=-1}}if(e=parseFloat(e),!n.type.Number(e)||0>e)throw s?(s=void 0,0):0;return e}}),S=function(e){e=arguments.length?[e]:Object.keys(T),e.forEach(function(e){var t;if(T[e])try{t=T[e](h[e])}catch(i){t=u[e]}finally{h[e]=t}})},E=function(e,t){var i=!1,r=h[e];return h[e]!=t&&(h[e]=t,S(e),i=r!=h[e]),i},C=function(e){d[e]||(d[e]=function(t){return arguments.length?("duration"===e&&(s=void 0),E(e,t)&&(d.trigger("change",{what:e,newval:h[e]}),r.shifts.indexOf(e)>-1&&d.trigger("shift",{reason:e})),d):h[e]})};this.controller=function(){return a},this.state=function(){return p},this.scrollOffset=function(){return m.start},this.triggerPosition=function(){var e=h.offset;return a&&(e+=h.triggerElement?g:a.info("size")*d.triggerHook()),e};var P,L;d.on("shift.internal",function(e){var t="duration"===e.reason;(p===c&&t||p===l&&0===h.duration)&&A(),t&&R()}).on("progress.internal",function(){A()}).on("add.internal",function(){R()}).on("destroy.internal",function(e){d.removePin(e.reset)});var A=function(e){if(P&&a){var t=a.info(),i=L.spacer.firstChild;if(e||p!==l){var r={position:L.inFlow?"relative":"absolute",top:0,left:0},s=n.css(i,"position")!=r.position;L.pushFollowers?h.duration>0&&(p===c&&0===parseFloat(n.css(L.spacer,"padding-top"))?s=!0:p===o&&0===parseFloat(n.css(L.spacer,"padding-bottom"))&&(s=!0)):r[t.vertical?"top":"left"]=h.duration*f,n.css(i,r),s&&R()}else{"fixed"!=n.css(i,"position")&&(n.css(i,{position:"fixed"}),R());var u=n.get.offset(L.spacer,!0),d=h.reverse||0===h.duration?t.scrollPos-m.start:Math.round(f*h.duration*10)/10;u[t.vertical?"top":"left"]+=d,n.css(L.spacer.firstChild,{top:u.top,left:u.left})}}},R=function(){if(P&&a&&L.inFlow){var e=p===l,t=a.info("vertical"),i=L.spacer.firstChild,r=n.isMarginCollapseType(n.css(L.spacer,"display")),s={};L.relSize.width||L.relSize.autoFullWidth?e?n.css(P,{width:n.get.width(L.spacer)}):n.css(P,{width:"100%"}):(s["min-width"]=n.get.width(t?P:i,!0,!0),s.width=e?s["min-width"]:"auto"),L.relSize.height?e?n.css(P,{height:n.get.height(L.spacer)-(L.pushFollowers?h.duration:0)}):n.css(P,{height:"100%"}):(s["min-height"]=n.get.height(t?i:P,!0,!r),s.height=e?s["min-height"]:"auto"),L.pushFollowers&&(s["padding"+(t?"Top":"Left")]=h.duration*f,s["padding"+(t?"Bottom":"Right")]=h.duration*(1-f)),n.css(L.spacer,s)}},k=function(){a&&P&&p===l&&!a.info("isDocument")&&A()},O=function(){a&&P&&p===l&&((L.relSize.width||L.relSize.autoFullWidth)&&n.get.width(window)!=n.get.width(L.spacer.parentNode)||L.relSize.height&&n.get.height(window)!=n.get.height(L.spacer.parentNode))&&R()},M=function(e){a&&P&&p===l&&!a.info("isDocument")&&(e.preventDefault(),a._setScrollPos(a.info("scrollPos")-((e.wheelDelta||e[a.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,i){var r={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"};if(i=n.extend({},r,i),!(e=n.get.elements(e)[0]))return d;if("fixed"===n.css(e,"position"))return d;if(P){if(P===e)return d;d.removePin()}P=e;var s=P.parentNode.style.display,a=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];P.parentNode.style.display="none";var o="absolute"!=n.css(P,"position"),l=n.css(P,a.concat(["display"])),c=n.css(P,["width","height"]);P.parentNode.style.display=s,!o&&i.pushFollowers&&(i.pushFollowers=!1);var u=P.parentNode.insertBefore(document.createElement("div"),P),h=n.extend(l,{position:o?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(o||n.extend(h,n.css(P,["width","height"])),n.css(u,h),u.setAttribute(t,""),n.addClass(u,i.spacerClass),L={spacer:u,relSize:{width:"%"===c.width.slice(-1),height:"%"===c.height.slice(-1),autoFullWidth:"auto"===c.width&&o&&n.isMarginCollapseType(l.display)},pushFollowers:i.pushFollowers,inFlow:o},!P.___origStyle){P.___origStyle={};var p=P.style;a.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){P.___origStyle[e]=p[e]||""})}return L.relSize.width&&n.css(u,{width:c.width}),L.relSize.height&&n.css(u,{height:c.height}),u.appendChild(P),n.css(P,{position:o?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(L.relSize.width||L.relSize.autoFullWidth)&&n.css(P,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",k),window.addEventListener("resize",k),window.addEventListener("resize",O),P.addEventListener("mousewheel",M),P.addEventListener("DOMMouseScroll",M),A(),d},this.removePin=function(e){if(P){if(p===l&&A(!0),e||!a){var i=L.spacer.firstChild;if(i.hasAttribute(t)){var r=L.spacer.style,s=["margin","marginLeft","marginRight","marginTop","marginBottom"];margins={},s.forEach(function(e){margins[e]=r[e]||""}),n.css(i,margins)}L.spacer.parentNode.insertBefore(i,L.spacer),L.spacer.parentNode.removeChild(L.spacer),P.parentNode.hasAttribute(t)||(n.css(P,P.___origStyle),delete P.___origStyle)}window.removeEventListener("scroll",k),window.removeEventListener("resize",k),window.removeEventListener("resize",O),P.removeEventListener("mousewheel",M),P.removeEventListener("DOMMouseScroll",M),P=void 0}return d};var I,j=[];return d.on("destroy.internal",function(e){d.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var i=n.get.elements(e);return 0!==i.length&&n.type.String(t)?(j.length>0&&d.removeClassToggle(),I=t,j=i,d.on("enter.internal_class leave.internal_class",function(e){var t="enter"===e.type?n.addClass:n.removeClass;j.forEach(function(e){t(e,I)})}),d):d},this.removeClassToggle=function(e){return e&&j.forEach(function(e){n.removeClass(e,I)}),d.off("start.internal_class end.internal_class"),I=void 0,j=[],d},function(){for(var e in h)u.hasOwnProperty(e)||delete h[e];for(var t in u)C(t);S()}(),d};var r={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!n.type.Number(e))throw 0;return e},triggerElement:function(e){if(e=e||void 0){var t=n.get.elements(e)[0];if(!t)throw 0;e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(n.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw 0;e=t[e]}return e},reverse:function(e){return!!e}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(e,t,i,n){e in r.defaults||(r.defaults[e]=t,r.validate[e]=i,n&&r.shifts.push(e))},e.Scene.extend=function(t){var i=this;e.Scene=function(){return i.apply(this,arguments),this.$super=n.extend({},this),t.apply(this,arguments)||this},n.extend(e.Scene,i),e.Scene.prototype=i.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,i,r){r=r||{};for(var n in r)this[n]=r[n];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var n=e._util=function(e){var t,i={},r=function(e){return parseFloat(e)||0},n=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},s=function(t,i,s,a){if((i=i===document?e:i)===e)a=!1;else if(!d.DomElement(i))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var o=(s?i["offset"+t]||i["outer"+t]:i["client"+t]||i["inner"+t])||0;if(s&&a){var l=n(i);o+="Height"===t?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(l.marginRight)}return o},a=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})};i.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var i in arguments[t])arguments[t].hasOwnProperty(i)&&(e[i]=arguments[t][i]);return e},i.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};var o=0,l=["ms","moz","webkit","o"],c=e.requestAnimationFrame,u=e.cancelAnimationFrame;for(t=0;!c&&t<l.length;++t)c=e[l[t]+"RequestAnimationFrame"],u=e[l[t]+"CancelAnimationFrame"]||e[l[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var i=(new Date).getTime(),r=Math.max(0,16-(i-o)),n=e.setTimeout(function(){t(i+r)},r);return o=i+r,n}),u||(u=function(t){e.clearTimeout(t)}),i.rAF=c.bind(e),i.cAF=u.bind(e);var d=i.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};d.String=function(e){return"string"===d(e)},d.Function=function(e){return"function"===d(e)},d.Array=function(e){return Array.isArray(e)},d.Number=function(e){return!d.Array(e)&&e-parseFloat(e)+1>=0},d.DomElement=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var h=i.get={};return h.elements=function(t){var i=[];if(d.String(t))try{t=document.querySelectorAll(t)}catch(e){return i}if("nodelist"===d(t)||d.Array(t))for(var r=0,n=i.length=t.length;n>r;r++){var s=t[r];i[r]=d.DomElement(s)?s:h.elements(s)}else(d.DomElement(t)||t===document||t===e)&&(i=[t]);return i},h.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},h.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},h.width=function(e,t,i){return s("width",e,t,i)},h.height=function(e,t,i){return s("height",e,t,i)},h.offset=function(e,t){var i={top:0,left:0};if(e&&e.getBoundingClientRect){var r=e.getBoundingClientRect();i.top=r.top,i.left=r.left,t||(i.top+=h.scrollTop(),i.left+=h.scrollLeft())}return i},i.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},i.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(e,t){if(d.String(t))return n(e)[a(t)];if(d.Array(t)){var i={},r=n(e);return t.forEach(function(e){i[e]=r[a(e)]}),i}for(var s in t){var o=t[s];o==parseFloat(o)&&(o+="px"),e.style[a(s)]=o}},i}(window||{});return e})},function(e,t,i){var r,n,s;/*! ScrollMagic v2.0.5 | (c) 2015 Jan Paepke (@janpaepke) | license & info: http://scrollmagic.io */
+!function(a,o){n=[i(18),i(0)],r=o,void 0!==(s="function"==typeof r?r.apply(t,n):r)&&(e.exports=s)}(0,function(e,t){"use strict";e._util.get.elements=function(e){return t(e).toArray()},e._util.addClass=function(e,i){t(e).addClass(i)},e._util.removeClass=function(e,i){t(e).removeClass(i)},t.ScrollMagic=e})},function(e,t){!function(e,t,i){function r(e,i){var r,n=t.createElement(e||"div");for(r in i)n[r]=i[r];return n}function n(e){for(var t=1,i=arguments.length;t<i;t++)e.appendChild(arguments[t]);return e}function s(e,t,i,r){var n=["opacity",t,~~(100*e),i,r].join("-"),s=.01+i/r*100,a=Math.max(1-(1-e)/t*(100-s),e),o=u.substring(0,u.indexOf("Animation")).toLowerCase(),l=o&&"-"+o+"-"||"";return h[n]||(p.insertRule("@"+l+"keyframes "+n+"{0%{opacity:"+a+"}"+s+"%{opacity:"+e+"}"+(s+.01)+"%{opacity:1}"+(s+t)%100+"%{opacity:"+e+"}100%{opacity:"+a+"}}",0),h[n]=1),n}function a(e,t){var r,n,s=e.style;if(s[t]!==i)return t;for(t=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<d.length;n++)if(r=d[n]+t,s[r]!==i)return r}function o(e,t){for(var i in t)e.style[a(e,i)||i]=t[i];return e}function l(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]===i&&(e[n]=r[n])}return e}function c(e){for(var t={x:e.offsetLeft,y:e.offsetTop};e=e.offsetParent;)t.x+=e.offsetLeft,t.y+=e.offsetTop;return t}var u,d=["webkit","Moz","ms","O"],h={},p=function(){var e=r("style");return n(t.getElementsByTagName("head")[0],e),e.sheet||e.styleSheet}(),f={lines:12,length:7,width:5,radius:10,rotate:0,color:"#000",speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto"},m=function e(t){if(!this.spin)return new e(t);this.opts=l(t||{},e.defaults,f)};m.defaults={},l(m.prototype,{spin:function(e){this.stop();var t,i,n=this,s=n.opts,a=n.el=o(r(0,{className:s.className}),{position:"relative",zIndex:s.zIndex}),l=s.radius+s.length+s.width;if(e&&(e.insertBefore(a,e.firstChild||null),i=c(e),t=c(a),o(a,{left:("auto"==s.left?i.x-t.x+(e.offsetWidth>>1):s.left+l)+"px",top:("auto"==s.top?i.y-t.y+(e.offsetHeight>>1):s.top+l)+"px"})),a.setAttribute("aria-role","progressbar"),n.lines(a,n.opts),!u){var d=0,h=s.fps,p=h/s.speed,f=(1-s.opacity)/(p*s.trail/100),m=p/s.lines;!function e(){d++;for(var t=s.lines;t;t--){var i=Math.max(1-(d+t*m)%p*f,s.opacity);n.opacity(a,s.lines-t,i,s)}n.timeout=n.el&&setTimeout(e,~~(1e3/h))}()}return n},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=i),this},lines:function(e,t){function i(e,i){return o(r(),{position:"absolute",width:t.length+t.width+"px",height:t.width+"px",background:e,boxShadow:i,transformOrigin:"left",transform:"rotate("+~~(360/t.lines*l+t.rotate)+"deg) translate("+t.radius+"px,0)",borderRadius:(t.width>>1)+"px"})}for(var a,l=0;l<t.lines;l++)a=o(r(),{position:"absolute",top:1+~(t.width/2)+"px",transform:t.hwaccel?"translate3d(0,0,0)":"",opacity:t.opacity,animation:u&&s(t.opacity,t.trail,l,t.lines)+" "+1/t.speed+"s linear infinite"}),t.shadow&&n(a,o(i("#000","0 0 4px #000"),{top:"2px"})),n(e,n(a,i(t.color,"0 0 1px rgba(0,0,0,.1)")));return e},opacity:function(e,t,i){t<e.childNodes.length&&(e.childNodes[t].style.opacity=i)}}),function(){function e(e,t){return r("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t)}var t=o(r("group"),{behavior:"url(#default#VML)"});!a(t,"transform")&&t.adj?(p.addRule(".spin-vml","behavior:url(#default#VML)"),m.prototype.lines=function(t,i){function r(){return o(e("group",{coordsize:c+" "+c,coordorigin:-l+" "+-l}),{width:c,height:c})}function s(t,s,a){n(d,n(o(r(),{rotation:360/i.lines*t+"deg",left:~~s}),n(o(e("roundrect",{arcsize:1}),{width:l,height:i.width,left:i.radius,top:-i.width>>1,filter:a}),e("fill",{color:i.color,opacity:i.opacity}),e("stroke",{opacity:0}))))}var a,l=i.length+i.width,c=2*l,u=2*-(i.width+i.length)+"px",d=o(r(),{position:"absolute",top:u,left:u});if(i.shadow)for(a=1;a<=i.lines;a++)s(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=i.lines;a++)s(a);return n(t,d)},m.prototype.opacity=function(e,t,i,r){var n=e.firstChild;r=r.shadow&&r.lines||0,n&&t+r<n.childNodes.length&&(n=n.childNodes[t+r],n=n&&n.firstChild,(n=n&&n.firstChild)&&(n.opacity=i))}):u=a(t,"animation")}(),e.Spinner=m}(window,document)},function(e,t){(function(){var e,t;e=this.jQuery||window.jQuery,t=e(window),e.fn.stick_in_parent=function(i){var r,n,s,a,o,l,c,u,d,h,p,f;for(null==i&&(i={}),d=i.sticky_class,s=i.inner_scrolling,u=i.recalc_every,c=i.parent,o=i.offset_top,a=i.spacer,n=i.bottoming,null==o&&(o=0),null==c&&(c=void 0),null==s&&(s=!0),null==d&&(d="is_stuck"),r=e(document),null==n&&(n=!0),l=function(e){var t;return window.getComputedStyle?(e=window.getComputedStyle(e[0]),t=parseFloat(e.getPropertyValue("width"))+parseFloat(e.getPropertyValue("margin-left"))+parseFloat(e.getPropertyValue("margin-right")),"border-box"!==e.getPropertyValue("box-sizing")&&(t+=parseFloat(e.getPropertyValue("border-left-width"))+parseFloat(e.getPropertyValue("border-right-width"))+parseFloat(e.getPropertyValue("padding-left"))+parseFloat(e.getPropertyValue("padding-right"))),t):e.outerWidth(!0)},h=function(i,h,p,f,m,g,v,_){var y,w,b,x,T,S,E,C,P,L,A,R;if(!i.data("sticky_kit")){if(i.data("sticky_kit",!0),T=r.height(),E=i.parent(),null!=c&&(E=E.closest(c)),!E.length)throw"failed to find stick parent";if(y=b=!1,(A=null!=a?a&&i.closest(a):e("<div />"))&&A.css("position",i.css("position")),C=function(){var e,t,n;if(!_&&(T=r.height(),e=parseInt(E.css("border-top-width"),10),t=parseInt(E.css("padding-top"),10),h=parseInt(E.css("padding-bottom"),10),p=E.offset().top+e+t,f=E.height(),b&&(y=b=!1,null==a&&(i.insertAfter(A),A.detach()),i.css({position:"",top:"",width:"",bottom:""}).removeClass(d),n=!0),m=i.offset().top-(parseInt(i.css("margin-top"),10)||0)-o,g=i.outerHeight(!0),v=i.css("float"),A&&A.css({width:l(i),height:g,display:i.css("display"),"vertical-align":i.css("vertical-align"),float:v}),n))return R()},C(),g!==f)return x=void 0,S=o,L=u,R=function(){var e,l,c,w;if(!_&&(c=!1,null!=L&&0>=--L&&(L=u,C(),c=!0),c||r.height()===T||C(),c=t.scrollTop(),null!=x&&(l=c-x),x=c,b?(n&&(w=c+g+S>f+p,y&&!w&&(y=!1,i.css({position:"fixed",bottom:"",top:S}).trigger("sticky_kit:unbottom"))),c<m&&(b=!1,S=o,null==a&&("left"!==v&&"right"!==v||i.insertAfter(A),A.detach()),e={position:"",width:"",top:""},i.css(e).removeClass(d).trigger("sticky_kit:unstick")),s&&(e=t.height(),g+o>e&&!y&&(S-=l,S=Math.max(e-g,S),S=Math.min(o,S),b&&i.css({top:S+"px"})))):c>m&&(b=!0,e={position:"fixed",top:S},e.width="border-box"===i.css("box-sizing")?i.outerWidth()+"px":i.width()+"px",i.css(e).addClass(d),null==a&&(i.after(A),"left"!==v&&"right"!==v||A.append(i)),i.trigger("sticky_kit:stick")),b&&n&&(null==w&&(w=c+g+S>f+p),!y&&w)))return y=!0,"static"===E.css("position")&&E.css({position:"relative"}),i.css({position:"absolute",bottom:h,top:"auto"}).trigger("sticky_kit:bottom")},P=function(){return C(),R()},w=function(){if(_=!0,t.off("touchmove",R),t.off("scroll",R),t.off("resize",P),e(document.body).off("sticky_kit:recalc",P),i.off("sticky_kit:detach",w),i.removeData("sticky_kit"),i.css({position:"",bottom:"",top:"",width:""}),E.position("position",""),b)return null==a&&("left"!==v&&"right"!==v||i.insertAfter(A),A.remove()),i.removeClass(d)},t.on("touchmove",R),t.on("scroll",R),t.on("resize",P),e(document.body).on("sticky_kit:recalc",P),i.on("sticky_kit:detach",w),setTimeout(R,0)}},p=0,f=this.length;p<f;p++)i=this[p],h(e(i));return this}}).call(this)},function(e,t,i){(function(t){!function(){"use strict";var e,i=function(r,n){function s(e){return Math.floor(e)}function a(){var e=b.params.autoplay,t=b.slides.eq(b.activeIndex);t.attr("data-swiper-autoplay")&&(e=t.attr("data-swiper-autoplay")||b.params.autoplay),b.autoplayTimeoutId=setTimeout(function(){b.params.loop?(b.fixLoop(),b._slideNext(),b.emit("onAutoplay",b)):b.isEnd?n.autoplayStopOnLast?b.stopAutoplay():(b._slideTo(0),b.emit("onAutoplay",b)):(b._slideNext(),b.emit("onAutoplay",b))},e)}function o(t,i){var r=e(t.target);if(!r.is(i))if("string"==typeof i)r=r.parents(i);else if(i.nodeType){var n;return r.parents().each(function(e,t){t===i&&(n=i)}),n?i:void 0}if(0!==r.length)return r[0]}function l(e,t){t=t||{};var i=window.MutationObserver||window.WebkitMutationObserver,r=new i(function(e){e.forEach(function(e){b.onResize(!0),b.emit("onObserverUpdate",b,e)})});r.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),b.observers.push(r)}function c(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!b.params.allowSwipeToNext&&(b.isHorizontal()&&39===t||!b.isHorizontal()&&40===t))return!1;if(!b.params.allowSwipeToPrev&&(b.isHorizontal()&&37===t||!b.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var i=!1;if(b.container.parents("."+b.params.slideClass).length>0&&0===b.container.parents("."+b.params.slideActiveClass).length)return;var r={left:window.pageXOffset,top:window.pageYOffset},n=window.innerWidth,s=window.innerHeight,a=b.container.offset();b.rtl&&(a.left=a.left-b.container[0].scrollLeft);for(var o=[[a.left,a.top],[a.left+b.width,a.top],[a.left,a.top+b.height],[a.left+b.width,a.top+b.height]],l=0;l<o.length;l++){var c=o[l];c[0]>=r.left&&c[0]<=r.left+n&&c[1]>=r.top&&c[1]<=r.top+s&&(i=!0)}if(!i)return}b.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!b.rtl||37===t&&b.rtl)&&b.slideNext(),(37===t&&!b.rtl||39===t&&b.rtl)&&b.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&b.slideNext(),38===t&&b.slidePrev()),b.emit("onKeyPress",b,t)}}function u(e){var t=0,i=0,r=0,n=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),r=10*t,n=10*i,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(1===e.deltaMode?(r*=40,n*=40):(r*=800,n*=800)),r&&!t&&(t=r<1?-1:1),n&&!i&&(i=n<1?-1:1),{spinX:t,spinY:i,pixelX:r,pixelY:n}}function d(e){e.originalEvent&&(e=e.originalEvent);var t=0,i=b.rtl?-1:1,r=u(e);if(b.params.mousewheelForceToAxis)if(b.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return;t=r.pixelX*i}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return;t=r.pixelY}else t=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*i:-r.pixelY;if(0!==t){if(b.params.mousewheelInvert&&(t=-t),b.params.freeMode){var n=b.getWrapperTranslate()+t*b.params.mousewheelSensitivity,s=b.isBeginning,a=b.isEnd;if(n>=b.minTranslate()&&(n=b.minTranslate()),n<=b.maxTranslate()&&(n=b.maxTranslate()),b.setWrapperTransition(0),b.setWrapperTranslate(n),b.updateProgress(),b.updateActiveIndex(),(!s&&b.isBeginning||!a&&b.isEnd)&&b.updateClasses(),b.params.freeModeSticky?(clearTimeout(b.mousewheel.timeout),b.mousewheel.timeout=setTimeout(function(){b.slideReset()},300)):b.params.lazyLoading&&b.lazy&&b.lazy.load(),b.emit("onScroll",b,e),b.params.autoplay&&b.params.autoplayDisableOnInteraction&&b.stopAutoplay(),0===n||n===b.maxTranslate())return}else{if((new window.Date).getTime()-b.mousewheel.lastScrollTime>60)if(t<0)if(b.isEnd&&!b.params.loop||b.animating){if(b.params.mousewheelReleaseOnEdges)return!0}else b.slideNext(),b.emit("onScroll",b,e);else if(b.isBeginning&&!b.params.loop||b.animating){if(b.params.mousewheelReleaseOnEdges)return!0}else b.slidePrev(),b.emit("onScroll",b,e);b.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function h(t,i){t=e(t);var r,n,s,a=b.rtl?-1:1;r=t.attr("data-swiper-parallax")||"0",n=t.attr("data-swiper-parallax-x"),s=t.attr("data-swiper-parallax-y"),n||s?(n=n||"0",s=s||"0"):b.isHorizontal()?(n=r,s="0"):(s=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*i*a+"%":n*i*a+"px",s=s.indexOf("%")>=0?parseInt(s,10)*i+"%":s*i+"px",t.transform("translate3d("+n+", "+s+",0px)")}function p(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof i))return new i(r,n);var f={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},m=n&&n.virtualTranslate;n=n||{};var g={};for(var v in n)if("object"!=typeof n[v]||null===n[v]||n[v].nodeType||n[v]===window||n[v]===document||"undefined"!=typeof Dom7&&n[v]instanceof Dom7||void 0!==t&&n[v]instanceof t)g[v]=n[v];else{g[v]={};for(var _ in n[v])g[v][_]=n[v][_]}for(var y in f)if(void 0===n[y])n[y]=f[y];else if("object"==typeof n[y])for(var w in f[y])void 0===n[y][w]&&(n[y][w]=f[y][w]);var b=this;if(b.params=n,b.originalParams=g,b.classNames=[],void 0!==e&&"undefined"!=typeof Dom7&&(e=Dom7),(void 0!==e||(e="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7))&&(b.$=e,b.currentBreakpoint=void 0,b.getActiveBreakpoint=function(){if(!b.params.breakpoints)return!1;var e,t=!1,i=[];for(e in b.params.breakpoints)b.params.breakpoints.hasOwnProperty(e)&&i.push(e);i.sort(function(e,t){return parseInt(e,10)>parseInt(t,10)});for(var r=0;r<i.length;r++)(e=i[r])>=window.innerWidth&&!t&&(t=e);return t||"max"},b.setBreakpoint=function(){var e=b.getActiveBreakpoint();if(e&&b.currentBreakpoint!==e){var t=e in b.params.breakpoints?b.params.breakpoints[e]:b.originalParams,i=b.params.loop&&t.slidesPerView!==b.params.slidesPerView;for(var r in t)b.params[r]=t[r];b.currentBreakpoint=e,i&&b.destroyLoop&&b.reLoop(!0)}},b.params.breakpoints&&b.setBreakpoint(),b.container=e(r),0!==b.container.length)){if(b.container.length>1){var x=[];return b.container.each(function(){x.push(new i(this,n))}),x}b.container[0].swiper=b,b.container.data("swiper",b),b.classNames.push(b.params.containerModifierClass+b.params.direction),b.params.freeMode&&b.classNames.push(b.params.containerModifierClass+"free-mode"),b.support.flexbox||(b.classNames.push(b.params.containerModifierClass+"no-flexbox"),b.params.slidesPerColumn=1),b.params.autoHeight&&b.classNames.push(b.params.containerModifierClass+"autoheight"),(b.params.parallax||b.params.watchSlidesVisibility)&&(b.params.watchSlidesProgress=!0),b.params.touchReleaseOnEdges&&(b.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(b.params.effect)>=0&&(b.support.transforms3d?(b.params.watchSlidesProgress=!0,b.classNames.push(b.params.containerModifierClass+"3d")):b.params.effect="slide"),"slide"!==b.params.effect&&b.classNames.push(b.params.containerModifierClass+b.params.effect),"cube"===b.params.effect&&(b.params.resistanceRatio=0,b.params.slidesPerView=1,b.params.slidesPerColumn=1,b.params.slidesPerGroup=1,b.params.centeredSlides=!1,b.params.spaceBetween=0,b.params.virtualTranslate=!0),"fade"!==b.params.effect&&"flip"!==b.params.effect||(b.params.slidesPerView=1,b.params.slidesPerColumn=1,b.params.slidesPerGroup=1,b.params.watchSlidesProgress=!0,b.params.spaceBetween=0,void 0===m&&(b.params.virtualTranslate=!0)),b.params.grabCursor&&b.support.touch&&(b.params.grabCursor=!1),b.wrapper=b.container.children("."+b.params.wrapperClass),b.params.pagination&&(b.paginationContainer=e(b.params.pagination),b.params.uniqueNavElements&&"string"==typeof b.params.pagination&&b.paginationContainer.length>1&&1===b.container.find(b.params.pagination).length&&(b.paginationContainer=b.container.find(b.params.pagination)),"bullets"===b.params.paginationType&&b.params.paginationClickable?b.paginationContainer.addClass(b.params.paginationModifierClass+"clickable"):b.params.paginationClickable=!1,b.paginationContainer.addClass(b.params.paginationModifierClass+b.params.paginationType)),(b.params.nextButton||b.params.prevButton)&&(b.params.nextButton&&(b.nextButton=e(b.params.nextButton),b.params.uniqueNavElements&&"string"==typeof b.params.nextButton&&b.nextButton.length>1&&1===b.container.find(b.params.nextButton).length&&(b.nextButton=b.container.find(b.params.nextButton))),b.params.prevButton&&(b.prevButton=e(b.params.prevButton),b.params.uniqueNavElements&&"string"==typeof b.params.prevButton&&b.prevButton.length>1&&1===b.container.find(b.params.prevButton).length&&(b.prevButton=b.container.find(b.params.prevButton)))),b.isHorizontal=function(){return"horizontal"===b.params.direction},b.rtl=b.isHorizontal()&&("rtl"===b.container[0].dir.toLowerCase()||"rtl"===b.container.css("direction")),b.rtl&&b.classNames.push(b.params.containerModifierClass+"rtl"),b.rtl&&(b.wrongRTL="-webkit-box"===b.wrapper.css("display")),b.params.slidesPerColumn>1&&b.classNames.push(b.params.containerModifierClass+"multirow"),b.device.android&&b.classNames.push(b.params.containerModifierClass+"android"),b.container.addClass(b.classNames.join(" ")),b.translate=0,b.progress=0,b.velocity=0,b.lockSwipeToNext=function(){b.params.allowSwipeToNext=!1,!1===b.params.allowSwipeToPrev&&b.params.grabCursor&&b.unsetGrabCursor()},b.lockSwipeToPrev=function(){b.params.allowSwipeToPrev=!1,!1===b.params.allowSwipeToNext&&b.params.grabCursor&&b.unsetGrabCursor()},b.lockSwipes=function(){b.params.allowSwipeToNext=b.params.allowSwipeToPrev=!1,b.params.grabCursor&&b.unsetGrabCursor()},b.unlockSwipeToNext=function(){b.params.allowSwipeToNext=!0,!0===b.params.allowSwipeToPrev&&b.params.grabCursor&&b.setGrabCursor()},b.unlockSwipeToPrev=function(){b.params.allowSwipeToPrev=!0,!0===b.params.allowSwipeToNext&&b.params.grabCursor&&b.setGrabCursor()},b.unlockSwipes=function(){b.params.allowSwipeToNext=b.params.allowSwipeToPrev=!0,b.params.grabCursor&&b.setGrabCursor()},b.setGrabCursor=function(e){b.container[0].style.cursor="move",b.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",b.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",b.container[0].style.cursor=e?"grabbing":"grab"},b.unsetGrabCursor=function(){b.container[0].style.cursor=""},b.params.grabCursor&&b.setGrabCursor(),b.imagesToLoad=[],b.imagesLoaded=0,b.loadImage=function(e,t,i,r,n,s){function a(){s&&s()}var o;e.complete&&n?a():t?(o=new window.Image,o.onload=a,o.onerror=a,r&&(o.sizes=r),i&&(o.srcset=i),t&&(o.src=t)):a()},b.preloadImages=function(){function e(){void 0!==b&&null!==b&&b&&(void 0!==b.imagesLoaded&&b.imagesLoaded++,b.imagesLoaded===b.imagesToLoad.length&&(b.params.updateOnImagesReady&&b.update(),b.emit("onImagesReady",b)))}b.imagesToLoad=b.container.find("img");for(var t=0;t<b.imagesToLoad.length;t++)b.loadImage(b.imagesToLoad[t],b.imagesToLoad[t].currentSrc||b.imagesToLoad[t].getAttribute("src"),b.imagesToLoad[t].srcset||b.imagesToLoad[t].getAttribute("srcset"),b.imagesToLoad[t].sizes||b.imagesToLoad[t].getAttribute("sizes"),!0,e)},b.autoplayTimeoutId=void 0,b.autoplaying=!1,b.autoplayPaused=!1,b.startAutoplay=function(){return void 0===b.autoplayTimeoutId&&!!b.params.autoplay&&!b.autoplaying&&(b.autoplaying=!0,b.emit("onAutoplayStart",b),void a())},b.stopAutoplay=function(e){b.autoplayTimeoutId&&(b.autoplayTimeoutId&&clearTimeout(b.autoplayTimeoutId),b.autoplaying=!1,b.autoplayTimeoutId=void 0,b.emit("onAutoplayStop",b))},b.pauseAutoplay=function(e){b.autoplayPaused||(b.autoplayTimeoutId&&clearTimeout(b.autoplayTimeoutId),b.autoplayPaused=!0,0===e?(b.autoplayPaused=!1,a()):b.wrapper.transitionEnd(function(){b&&(b.autoplayPaused=!1,b.autoplaying?a():b.stopAutoplay())}))},b.minTranslate=function(){return-b.snapGrid[0]},b.maxTranslate=function(){return-b.snapGrid[b.snapGrid.length-1]},b.updateAutoHeight=function(){var e,t=[],i=0;if("auto"!==b.params.slidesPerView&&b.params.slidesPerView>1)for(e=0;e<Math.ceil(b.params.slidesPerView);e++){var r=b.activeIndex+e;if(r>b.slides.length)break;t.push(b.slides.eq(r)[0])}else t.push(b.slides.eq(b.activeIndex)[0]);for(e=0;e<t.length;e++)if(void 0!==t[e]){var n=t[e].offsetHeight;i=n>i?n:i}i&&b.wrapper.css("height",i+"px")},b.updateContainerSize=function(){var e,t;e=void 0!==b.params.width?b.params.width:b.container[0].clientWidth,t=void 0!==b.params.height?b.params.height:b.container[0].clientHeight,0===e&&b.isHorizontal()||0===t&&!b.isHorizontal()||(e=e-parseInt(b.container.css("padding-left"),10)-parseInt(b.container.css("padding-right"),10),t=t-parseInt(b.container.css("padding-top"),10)-parseInt(b.container.css("padding-bottom"),10),b.width=e,b.height=t,b.size=b.isHorizontal()?b.width:b.height)},b.updateSlidesSize=function(){b.slides=b.wrapper.children("."+b.params.slideClass),b.snapGrid=[],b.slidesGrid=[],b.slidesSizesGrid=[];var e,t=b.params.spaceBetween,i=-b.params.slidesOffsetBefore,r=0,n=0;if(void 0!==b.size){"string"==typeof t&&t.indexOf("%")>=0&&(t=parseFloat(t.replace("%",""))/100*b.size),b.virtualSize=-t,b.rtl?b.slides.css({marginLeft:"",marginTop:""}):b.slides.css({marginRight:"",marginBottom:""});var a;b.params.slidesPerColumn>1&&(a=Math.floor(b.slides.length/b.params.slidesPerColumn)===b.slides.length/b.params.slidesPerColumn?b.slides.length:Math.ceil(b.slides.length/b.params.slidesPerColumn)*b.params.slidesPerColumn,"auto"!==b.params.slidesPerView&&"row"===b.params.slidesPerColumnFill&&(a=Math.max(a,b.params.slidesPerView*b.params.slidesPerColumn)));var o,l=b.params.slidesPerColumn,c=a/l,u=c-(b.params.slidesPerColumn*c-b.slides.length);for(e=0;e<b.slides.length;e++){o=0;var d=b.slides.eq(e);if(b.params.slidesPerColumn>1){var h,p,f;"column"===b.params.slidesPerColumnFill?(p=Math.floor(e/l),f=e-p*l,(p>u||p===u&&f===l-1)&&++f>=l&&(f=0,p++),h=p+f*a/l,d.css({"-webkit-box-ordinal-group":h,"-moz-box-ordinal-group":h,"-ms-flex-order":h,"-webkit-order":h,order:h})):(f=Math.floor(e/c),p=e-f*c),d.css("margin-"+(b.isHorizontal()?"top":"left"),0!==f&&b.params.spaceBetween&&b.params.spaceBetween+"px").attr("data-swiper-column",p).attr("data-swiper-row",f)}"none"!==d.css("display")&&("auto"===b.params.slidesPerView?(o=b.isHorizontal()?d.outerWidth(!0):d.outerHeight(!0),b.params.roundLengths&&(o=s(o))):(o=(b.size-(b.params.slidesPerView-1)*t)/b.params.slidesPerView,b.params.roundLengths&&(o=s(o)),b.isHorizontal()?b.slides[e].style.width=o+"px":b.slides[e].style.height=o+"px"),b.slides[e].swiperSlideSize=o,b.slidesSizesGrid.push(o),b.params.centeredSlides?(i=i+o/2+r/2+t,0===r&&0!==e&&(i=i-b.size/2-t),0===e&&(i=i-b.size/2-t),Math.abs(i)<.001&&(i=0),n%b.params.slidesPerGroup==0&&b.snapGrid.push(i),b.slidesGrid.push(i)):(n%b.params.slidesPerGroup==0&&b.snapGrid.push(i),b.slidesGrid.push(i),i=i+o+t),b.virtualSize+=o+t,r=o,n++)}b.virtualSize=Math.max(b.virtualSize,b.size)+b.params.slidesOffsetAfter;var m;if(b.rtl&&b.wrongRTL&&("slide"===b.params.effect||"coverflow"===b.params.effect)&&b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}),b.support.flexbox&&!b.params.setWrapperSize||(b.isHorizontal()?b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}):b.wrapper.css({height:b.virtualSize+b.params.spaceBetween+"px"})),b.params.slidesPerColumn>1&&(b.virtualSize=(o+b.params.spaceBetween)*a,b.virtualSize=Math.ceil(b.virtualSize/b.params.slidesPerColumn)-b.params.spaceBetween,b.isHorizontal()?b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}):b.wrapper.css({height:b.virtualSize+b.params.spaceBetween+"px"}),b.params.centeredSlides)){for(m=[],e=0;e<b.snapGrid.length;e++)b.snapGrid[e]<b.virtualSize+b.snapGrid[0]&&m.push(b.snapGrid[e]);b.snapGrid=m}if(!b.params.centeredSlides){for(m=[],e=0;e<b.snapGrid.length;e++)b.snapGrid[e]<=b.virtualSize-b.size&&m.push(b.snapGrid[e]);b.snapGrid=m,Math.floor(b.virtualSize-b.size)-Math.floor(b.snapGrid[b.snapGrid.length-1])>1&&b.snapGrid.push(b.virtualSize-b.size)}0===b.snapGrid.length&&(b.snapGrid=[0]),0!==b.params.spaceBetween&&(b.isHorizontal()?b.rtl?b.slides.css({marginLeft:t+"px"}):b.slides.css({marginRight:t+"px"}):b.slides.css({marginBottom:t+"px"})),b.params.watchSlidesProgress&&b.updateSlidesOffset()}},b.updateSlidesOffset=function(){for(var e=0;e<b.slides.length;e++)b.slides[e].swiperSlideOffset=b.isHorizontal()?b.slides[e].offsetLeft:b.slides[e].offsetTop},b.currentSlidesPerView=function(){var e,t,i=1;if(b.params.centeredSlides){var r,n=b.slides[b.activeIndex].swiperSlideSize;for(e=b.activeIndex+1;e<b.slides.length;e++)b.slides[e]&&!r&&(n+=b.slides[e].swiperSlideSize,i++,n>b.size&&(r=!0));for(t=b.activeIndex-1;t>=0;t--)b.slides[t]&&!r&&(n+=b.slides[t].swiperSlideSize,i++,n>b.size&&(r=!0))}else for(e=b.activeIndex+1;e<b.slides.length;e++)b.slidesGrid[e]-b.slidesGrid[b.activeIndex]<b.size&&i++;return i},b.updateSlidesProgress=function(e){if(void 0===e&&(e=b.translate||0),0!==b.slides.length){void 0===b.slides[0].swiperSlideOffset&&b.updateSlidesOffset();var t=-e;b.rtl&&(t=e),b.slides.removeClass(b.params.slideVisibleClass);for(var i=0;i<b.slides.length;i++){var r=b.slides[i],n=(t+(b.params.centeredSlides?b.minTranslate():0)-r.swiperSlideOffset)/(r.swiperSlideSize+b.params.spaceBetween);if(b.params.watchSlidesVisibility){var s=-(t-r.swiperSlideOffset),a=s+b.slidesSizesGrid[i];(s>=0&&s<b.size||a>0&&a<=b.size||s<=0&&a>=b.size)&&b.slides.eq(i).addClass(b.params.slideVisibleClass)}r.progress=b.rtl?-n:n}}},b.updateProgress=function(e){void 0===e&&(e=b.translate||0);var t=b.maxTranslate()-b.minTranslate(),i=b.isBeginning,r=b.isEnd;0===t?(b.progress=0,b.isBeginning=b.isEnd=!0):(b.progress=(e-b.minTranslate())/t,b.isBeginning=b.progress<=0,b.isEnd=b.progress>=1),b.isBeginning&&!i&&b.emit("onReachBeginning",b),b.isEnd&&!r&&b.emit("onReachEnd",b),b.params.watchSlidesProgress&&b.updateSlidesProgress(e),b.emit("onProgress",b,b.progress)},b.updateActiveIndex=function(){var e,t,i,r=b.rtl?b.translate:-b.translate;for(t=0;t<b.slidesGrid.length;t++)void 0!==b.slidesGrid[t+1]?r>=b.slidesGrid[t]&&r<b.slidesGrid[t+1]-(b.slidesGrid[t+1]-b.slidesGrid[t])/2?e=t:r>=b.slidesGrid[t]&&r<b.slidesGrid[t+1]&&(e=t+1):r>=b.slidesGrid[t]&&(e=t);b.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),i=Math.floor(e/b.params.slidesPerGroup),i>=b.snapGrid.length&&(i=b.snapGrid.length-1),e!==b.activeIndex&&(b.snapIndex=i,b.previousIndex=b.activeIndex,b.activeIndex=e,b.updateClasses(),b.updateRealIndex())},b.updateRealIndex=function(){b.realIndex=parseInt(b.slides.eq(b.activeIndex).attr("data-swiper-slide-index")||b.activeIndex,10)},b.updateClasses=function(){b.slides.removeClass(b.params.slideActiveClass+" "+b.params.slideNextClass+" "+b.params.slidePrevClass+" "+b.params.slideDuplicateActiveClass+" "+b.params.slideDuplicateNextClass+" "+b.params.slideDuplicatePrevClass);var t=b.slides.eq(b.activeIndex);t.addClass(b.params.slideActiveClass),n.loop&&(t.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+b.realIndex+'"]').addClass(b.params.slideDuplicateActiveClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+b.realIndex+'"]').addClass(b.params.slideDuplicateActiveClass));var i=t.next("."+b.params.slideClass).addClass(b.params.slideNextClass);b.params.loop&&0===i.length&&(i=b.slides.eq(0),i.addClass(b.params.slideNextClass));var r=t.prev("."+b.params.slideClass).addClass(b.params.slidePrevClass);if(b.params.loop&&0===r.length&&(r=b.slides.eq(-1),r.addClass(b.params.slidePrevClass)),n.loop&&(i.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicateNextClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicateNextClass),r.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicatePrevClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicatePrevClass)),b.paginationContainer&&b.paginationContainer.length>0){var s,a=b.params.loop?Math.ceil((b.slides.length-2*b.loopedSlides)/b.params.slidesPerGroup):b.snapGrid.length;if(b.params.loop?(s=Math.ceil((b.activeIndex-b.loopedSlides)/b.params.slidesPerGroup),s>b.slides.length-1-2*b.loopedSlides&&(s-=b.slides.length-2*b.loopedSlides),s>a-1&&(s-=a),s<0&&"bullets"!==b.params.paginationType&&(s=a+s)):s=void 0!==b.snapIndex?b.snapIndex:b.activeIndex||0,"bullets"===b.params.paginationType&&b.bullets&&b.bullets.length>0&&(b.bullets.removeClass(b.params.bulletActiveClass),b.paginationContainer.length>1?b.bullets.each(function(){e(this).index()===s&&e(this).addClass(b.params.bulletActiveClass)}):b.bullets.eq(s).addClass(b.params.bulletActiveClass)),"fraction"===b.params.paginationType&&(b.paginationContainer.find("."+b.params.paginationCurrentClass).text(s+1),b.paginationContainer.find("."+b.params.paginationTotalClass).text(a)),"progress"===b.params.paginationType){var o=(s+1)/a,l=o,c=1;b.isHorizontal()||(c=o,l=1),b.paginationContainer.find("."+b.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+c+")").transition(b.params.speed)}"custom"===b.params.paginationType&&b.params.paginationCustomRender&&(b.paginationContainer.html(b.params.paginationCustomRender(b,s+1,a)),b.emit("onPaginationRendered",b,b.paginationContainer[0]))}b.params.loop||(b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.isBeginning?(b.prevButton.addClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.disable(b.prevButton)):(b.prevButton.removeClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.enable(b.prevButton))),b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.isEnd?(b.nextButton.addClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.disable(b.nextButton)):(b.nextButton.removeClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.enable(b.nextButton))))},b.updatePagination=function(){if(b.params.pagination&&b.paginationContainer&&b.paginationContainer.length>0){var e="";if("bullets"===b.params.paginationType){for(var t=b.params.loop?Math.ceil((b.slides.length-2*b.loopedSlides)/b.params.slidesPerGroup):b.snapGrid.length,i=0;i<t;i++)e+=b.params.paginationBulletRender?b.params.paginationBulletRender(b,i,b.params.bulletClass):"<"+b.params.paginationElement+' class="'+b.params.bulletClass+'"></'+b.params.paginationElement+">";b.paginationContainer.html(e),b.bullets=b.paginationContainer.find("."+b.params.bulletClass),b.params.paginationClickable&&b.params.a11y&&b.a11y&&b.a11y.initPagination()}"fraction"===b.params.paginationType&&(e=b.params.paginationFractionRender?b.params.paginationFractionRender(b,b.params.paginationCurrentClass,b.params.paginationTotalClass):'<span class="'+b.params.paginationCurrentClass+'"></span> / <span class="'+b.params.paginationTotalClass+'"></span>',b.paginationContainer.html(e)),"progress"===b.params.paginationType&&(e=b.params.paginationProgressRender?b.params.paginationProgressRender(b,b.params.paginationProgressbarClass):'<span class="'+b.params.paginationProgressbarClass+'"></span>',b.paginationContainer.html(e)),"custom"!==b.params.paginationType&&b.emit("onPaginationRendered",b,b.paginationContainer[0])}},b.update=function(e){function t(){b.rtl,b.translate,i=Math.min(Math.max(b.translate,b.maxTranslate()),b.minTranslate()),b.setWrapperTranslate(i),b.updateActiveIndex(),b.updateClasses()}if(b){b.updateContainerSize(),b.updateSlidesSize(),b.updateProgress(),b.updatePagination(),b.updateClasses(),b.params.scrollbar&&b.scrollbar&&b.scrollbar.set();var i;e?(b.controller&&b.controller.spline&&(b.controller.spline=void 0),b.params.freeMode?(t(),b.params.autoHeight&&b.updateAutoHeight()):(("auto"===b.params.slidesPerView||b.params.slidesPerView>1)&&b.isEnd&&!b.params.centeredSlides?b.slideTo(b.slides.length-1,0,!1,!0):b.slideTo(b.activeIndex,0,!1,!0))||t()):b.params.autoHeight&&b.updateAutoHeight()}},b.onResize=function(e){b.params.onBeforeResize&&b.params.onBeforeResize(b),b.params.breakpoints&&b.setBreakpoint();var t=b.params.allowSwipeToPrev,i=b.params.allowSwipeToNext;b.params.allowSwipeToPrev=b.params.allowSwipeToNext=!0,b.updateContainerSize(),b.updateSlidesSize(),("auto"===b.params.slidesPerView||b.params.freeMode||e)&&b.updatePagination(),b.params.scrollbar&&b.scrollbar&&b.scrollbar.set(),b.controller&&b.controller.spline&&(b.controller.spline=void 0);var r=!1;if(b.params.freeMode){var n=Math.min(Math.max(b.translate,b.maxTranslate()),b.minTranslate());b.setWrapperTranslate(n),b.updateActiveIndex(),b.updateClasses(),b.params.autoHeight&&b.updateAutoHeight()}else b.updateClasses(),r=("auto"===b.params.slidesPerView||b.params.slidesPerView>1)&&b.isEnd&&!b.params.centeredSlides?b.slideTo(b.slides.length-1,0,!1,!0):b.slideTo(b.activeIndex,0,!1,!0);b.params.lazyLoading&&!r&&b.lazy&&b.lazy.load(),b.params.allowSwipeToPrev=t,b.params.allowSwipeToNext=i,b.params.onAfterResize&&b.params.onAfterResize(b)},b.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?b.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(b.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),b.touchEvents={start:b.support.touch||!b.params.simulateTouch?"touchstart":b.touchEventsDesktop.start,move:b.support.touch||!b.params.simulateTouch?"touchmove":b.touchEventsDesktop.move,end:b.support.touch||!b.params.simulateTouch?"touchend":b.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===b.params.touchEventsTarget?b.container:b.wrapper).addClass("swiper-wp8-"+b.params.direction),b.initEvents=function(e){var t=e?"off":"on",i=e?"removeEventListener":"addEventListener",r="container"===b.params.touchEventsTarget?b.container[0]:b.wrapper[0],s=b.support.touch?r:document,a=!!b.params.nested;if(b.browser.ie)r[i](b.touchEvents.start,b.onTouchStart,!1),s[i](b.touchEvents.move,b.onTouchMove,a),s[i](b.touchEvents.end,b.onTouchEnd,!1);else{if(b.support.touch){var o=!("touchstart"!==b.touchEvents.start||!b.support.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1};r[i](b.touchEvents.start,b.onTouchStart,o),r[i](b.touchEvents.move,b.onTouchMove,a),r[i](b.touchEvents.end,b.onTouchEnd,o)}(n.simulateTouch&&!b.device.ios&&!b.device.android||n.simulateTouch&&!b.support.touch&&b.device.ios)&&(r[i]("mousedown",b.onTouchStart,!1),document[i]("mousemove",b.onTouchMove,a),document[i]("mouseup",b.onTouchEnd,!1))}window[i]("resize",b.onResize),b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.nextButton[t]("click",b.onClickNext),b.params.a11y&&b.a11y&&b.nextButton[t]("keydown",b.a11y.onEnterKey)),b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.prevButton[t]("click",b.onClickPrev),b.params.a11y&&b.a11y&&b.prevButton[t]("keydown",b.a11y.onEnterKey)),b.params.pagination&&b.params.paginationClickable&&(b.paginationContainer[t]("click","."+b.params.bulletClass,b.onClickIndex),b.params.a11y&&b.a11y&&b.paginationContainer[t]("keydown","."+b.params.bulletClass,b.a11y.onEnterKey)),(b.params.preventClicks||b.params.preventClicksPropagation)&&r[i]("click",b.preventClicks,!0)},b.attachEvents=function(){b.initEvents()},b.detachEvents=function(){b.initEvents(!0)},b.allowClick=!0,b.preventClicks=function(e){b.allowClick||(b.params.preventClicks&&e.preventDefault(),b.params.preventClicksPropagation&&b.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},b.onClickNext=function(e){e.preventDefault(),b.isEnd&&!b.params.loop||b.slideNext()},b.onClickPrev=function(e){e.preventDefault(),b.isBeginning&&!b.params.loop||b.slidePrev()},b.onClickIndex=function(t){t.preventDefault();var i=e(this).index()*b.params.slidesPerGroup;b.params.loop&&(i+=b.loopedSlides),b.slideTo(i)},b.updateClickedSlide=function(t){var i=o(t,"."+b.params.slideClass),r=!1;if(i)for(var n=0;n<b.slides.length;n++)b.slides[n]===i&&(r=!0);if(!i||!r)return b.clickedSlide=void 0,void(b.clickedIndex=void 0);if(b.clickedSlide=i,b.clickedIndex=e(i).index(),b.params.slideToClickedSlide&&void 0!==b.clickedIndex&&b.clickedIndex!==b.activeIndex){var s,a=b.clickedIndex,l="auto"===b.params.slidesPerView?b.currentSlidesPerView():b.params.slidesPerView;if(b.params.loop){if(b.animating)return;s=parseInt(e(b.clickedSlide).attr("data-swiper-slide-index"),10),b.params.centeredSlides?a<b.loopedSlides-l/2||a>b.slides.length-b.loopedSlides+l/2?(b.fixLoop(),a=b.wrapper.children("."+b.params.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+b.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){b.slideTo(a)},0)):b.slideTo(a):a>b.slides.length-l?(b.fixLoop(),a=b.wrapper.children("."+b.params.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+b.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){b.slideTo(a)},0)):b.slideTo(a)}else b.slideTo(a)}};var T,S,E,C,P,L,A,R,k,O,M="input, select, textarea, button, video",I=Date.now(),j=[];b.animating=!1,b.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var z,D;b.onTouchStart=function(t){if(t.originalEvent&&(t=t.originalEvent),(z="touchstart"===t.type)||!("which"in t)||3!==t.which){if(b.params.noSwiping&&o(t,"."+b.params.noSwipingClass))return void(b.allowClick=!0);if(!b.params.swipeHandler||o(t,b.params.swipeHandler)){var i=b.touches.currentX="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,r=b.touches.currentY="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY;if(!(b.device.ios&&b.params.iOSEdgeSwipeDetection&&i<=b.params.iOSEdgeSwipeThreshold)){if(T=!0,S=!1,E=!0,P=void 0,D=void 0,b.touches.startX=i,b.touches.startY=r,C=Date.now(),b.allowClick=!0,b.updateContainerSize(),b.swipeDirection=void 0,b.params.threshold>0&&(R=!1),"touchstart"!==t.type){var n=!0;e(t.target).is(M)&&(n=!1),document.activeElement&&e(document.activeElement).is(M)&&document.activeElement.blur(),n&&t.preventDefault()}b.emit("onTouchStart",b,t)}}}},b.onTouchMove=function(t){if(t.originalEvent&&(t=t.originalEvent),!z||"mousemove"!==t.type){if(t.preventedByNestedSwiper)return b.touches.startX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,void(b.touches.startY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY);if(b.params.onlyExternal)return b.allowClick=!1,void(T&&(b.touches.startX=b.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,b.touches.startY=b.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,C=Date.now()));if(z&&b.params.touchReleaseOnEdges&&!b.params.loop)if(b.isHorizontal()){if(b.touches.currentX<b.touches.startX&&b.translate<=b.maxTranslate()||b.touches.currentX>b.touches.startX&&b.translate>=b.minTranslate())return}else if(b.touches.currentY<b.touches.startY&&b.translate<=b.maxTranslate()||b.touches.currentY>b.touches.startY&&b.translate>=b.minTranslate())return;if(z&&document.activeElement&&t.target===document.activeElement&&e(t.target).is(M))return S=!0,void(b.allowClick=!1);if(E&&b.emit("onTouchMove",b,t),!(t.targetTouches&&t.targetTouches.length>1)){if(b.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,b.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,void 0===P){var i;b.isHorizontal()&&b.touches.currentY===b.touches.startY||!b.isHorizontal()&&b.touches.currentX===b.touches.startX?P=!1:(i=180*Math.atan2(Math.abs(b.touches.currentY-b.touches.startY),Math.abs(b.touches.currentX-b.touches.startX))/Math.PI,P=b.isHorizontal()?i>b.params.touchAngle:90-i>b.params.touchAngle)}if(P&&b.emit("onTouchMoveOpposite",b,t),void 0===D&&(b.touches.currentX===b.touches.startX&&b.touches.currentY===b.touches.startY||(D=!0)),T){if(P)return void(T=!1);if(D){b.allowClick=!1,b.emit("onSliderMove",b,t),t.preventDefault(),b.params.touchMoveStopPropagation&&!b.params.nested&&t.stopPropagation(),S||(n.loop&&b.fixLoop(),A=b.getWrapperTranslate(),b.setWrapperTransition(0),b.animating&&b.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),b.params.autoplay&&b.autoplaying&&(b.params.autoplayDisableOnInteraction?b.stopAutoplay():b.pauseAutoplay()),O=!1,!b.params.grabCursor||!0!==b.params.allowSwipeToNext&&!0!==b.params.allowSwipeToPrev||b.setGrabCursor(!0)),S=!0;var r=b.touches.diff=b.isHorizontal()?b.touches.currentX-b.touches.startX:b.touches.currentY-b.touches.startY;r*=b.params.touchRatio,b.rtl&&(r=-r),b.swipeDirection=r>0?"prev":"next",L=r+A;var s=!0;if(r>0&&L>b.minTranslate()?(s=!1,b.params.resistance&&(L=b.minTranslate()-1+Math.pow(-b.minTranslate()+A+r,b.params.resistanceRatio))):r<0&&L<b.maxTranslate()&&(s=!1,b.params.resistance&&(L=b.maxTranslate()+1-Math.pow(b.maxTranslate()-A-r,b.params.resistanceRatio))),s&&(t.preventedByNestedSwiper=!0),!b.params.allowSwipeToNext&&"next"===b.swipeDirection&&L<A&&(L=A),!b.params.allowSwipeToPrev&&"prev"===b.swipeDirection&&L>A&&(L=A),b.params.threshold>0){if(!(Math.abs(r)>b.params.threshold||R))return void(L=A);if(!R)return R=!0,b.touches.startX=b.touches.currentX,b.touches.startY=b.touches.currentY,L=A,void(b.touches.diff=b.isHorizontal()?b.touches.currentX-b.touches.startX:b.touches.currentY-b.touches.startY)}b.params.followFinger&&((b.params.freeMode||b.params.watchSlidesProgress)&&b.updateActiveIndex(),b.params.freeMode&&(0===j.length&&j.push({position:b.touches[b.isHorizontal()?"startX":"startY"],time:C}),j.push({position:b.touches[b.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),b.updateProgress(L),b.setWrapperTranslate(L))}}}}},b.onTouchEnd=function(t){if(t.originalEvent&&(t=t.originalEvent),E&&b.emit("onTouchEnd",b,t),E=!1,T){b.params.grabCursor&&S&&T&&(!0===b.params.allowSwipeToNext||!0===b.params.allowSwipeToPrev)&&b.setGrabCursor(!1);var i=Date.now(),r=i-C;if(b.allowClick&&(b.updateClickedSlide(t),b.emit("onTap",b,t),r<300&&i-I>300&&(k&&clearTimeout(k),k=setTimeout(function(){b&&(b.params.paginationHide&&b.paginationContainer.length>0&&!e(t.target).hasClass(b.params.bulletClass)&&b.paginationContainer.toggleClass(b.params.paginationHiddenClass),b.emit("onClick",b,t))},300)),r<300&&i-I<300&&(k&&clearTimeout(k),b.emit("onDoubleTap",b,t))),I=Date.now(),setTimeout(function(){b&&(b.allowClick=!0)},0),!T||!S||!b.swipeDirection||0===b.touches.diff||L===A)return void(T=S=!1);T=S=!1;var n;if(n=b.params.followFinger?b.rtl?b.translate:-b.translate:-L,b.params.freeMode){if(n<-b.minTranslate())return void b.slideTo(b.activeIndex);if(n>-b.maxTranslate())return void(b.slides.length<b.snapGrid.length?b.slideTo(b.snapGrid.length-1):b.slideTo(b.slides.length-1));if(b.params.freeModeMomentum){if(j.length>1){var s=j.pop(),a=j.pop(),o=s.position-a.position,l=s.time-a.time;b.velocity=o/l,b.velocity=b.velocity/2,Math.abs(b.velocity)<b.params.freeModeMinimumVelocity&&(b.velocity=0),(l>150||(new window.Date).getTime()-s.time>300)&&(b.velocity=0)}else b.velocity=0;b.velocity=b.velocity*b.params.freeModeMomentumVelocityRatio,j.length=0;var c=1e3*b.params.freeModeMomentumRatio,u=b.velocity*c,d=b.translate+u;b.rtl&&(d=-d);var h,p=!1,f=20*Math.abs(b.velocity)*b.params.freeModeMomentumBounceRatio;if(d<b.maxTranslate())b.params.freeModeMomentumBounce?(d+b.maxTranslate()<-f&&(d=b.maxTranslate()-f),h=b.maxTranslate(),p=!0,O=!0):d=b.maxTranslate();else if(d>b.minTranslate())b.params.freeModeMomentumBounce?(d-b.minTranslate()>f&&(d=b.minTranslate()+f),h=b.minTranslate(),p=!0,O=!0):d=b.minTranslate();else if(b.params.freeModeSticky){var m,g=0;for(g=0;g<b.snapGrid.length;g+=1)if(b.snapGrid[g]>-d){m=g;break}d=Math.abs(b.snapGrid[m]-d)<Math.abs(b.snapGrid[m-1]-d)||"next"===b.swipeDirection?b.snapGrid[m]:b.snapGrid[m-1],b.rtl||(d=-d)}if(0!==b.velocity)c=b.rtl?Math.abs((-d-b.translate)/b.velocity):Math.abs((d-b.translate)/b.velocity);else if(b.params.freeModeSticky)return void b.slideReset();b.params.freeModeMomentumBounce&&p?(b.updateProgress(h),b.setWrapperTransition(c),b.setWrapperTranslate(d),b.onTransitionStart(),b.animating=!0,b.wrapper.transitionEnd(function(){b&&O&&(b.emit("onMomentumBounce",b),b.setWrapperTransition(b.params.speed),b.setWrapperTranslate(h),b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd()}))})):b.velocity?(b.updateProgress(d),b.setWrapperTransition(c),b.setWrapperTranslate(d),b.onTransitionStart(),b.animating||(b.animating=!0,b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd()}))):b.updateProgress(d),b.updateActiveIndex()}return void((!b.params.freeModeMomentum||r>=b.params.longSwipesMs)&&(b.updateProgress(),b.updateActiveIndex()))}var v,_=0,y=b.slidesSizesGrid[0];for(v=0;v<b.slidesGrid.length;v+=b.params.slidesPerGroup)void 0!==b.slidesGrid[v+b.params.slidesPerGroup]?n>=b.slidesGrid[v]&&n<b.slidesGrid[v+b.params.slidesPerGroup]&&(_=v,y=b.slidesGrid[v+b.params.slidesPerGroup]-b.slidesGrid[v]):n>=b.slidesGrid[v]&&(_=v,y=b.slidesGrid[b.slidesGrid.length-1]-b.slidesGrid[b.slidesGrid.length-2]);var w=(n-b.slidesGrid[_])/y;if(r>b.params.longSwipesMs){if(!b.params.longSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&(w>=b.params.longSwipesRatio?b.slideTo(_+b.params.slidesPerGroup):b.slideTo(_)),"prev"===b.swipeDirection&&(w>1-b.params.longSwipesRatio?b.slideTo(_+b.params.slidesPerGroup):b.slideTo(_))}else{if(!b.params.shortSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&b.slideTo(_+b.params.slidesPerGroup),"prev"===b.swipeDirection&&b.slideTo(_)}}},b._slideTo=function(e,t){return b.slideTo(e,t,!0,!0)},b.slideTo=function(e,t,i,r){void 0===i&&(i=!0),void 0===e&&(e=0),e<0&&(e=0),b.snapIndex=Math.floor(e/b.params.slidesPerGroup),b.snapIndex>=b.snapGrid.length&&(b.snapIndex=b.snapGrid.length-1);var n=-b.snapGrid[b.snapIndex];if(b.params.autoplay&&b.autoplaying&&(r||!b.params.autoplayDisableOnInteraction?b.pauseAutoplay(t):b.stopAutoplay()),b.updateProgress(n),b.params.normalizeSlideIndex)for(var s=0;s<b.slidesGrid.length;s++)-Math.floor(100*n)>=Math.floor(100*b.slidesGrid[s])&&(e=s);return!(!b.params.allowSwipeToNext&&n<b.translate&&n<b.minTranslate()||!b.params.allowSwipeToPrev&&n>b.translate&&n>b.maxTranslate()&&(b.activeIndex||0)!==e||(void 0===t&&(t=b.params.speed),b.previousIndex=b.activeIndex||0,b.activeIndex=e,b.updateRealIndex(),b.rtl&&-n===b.translate||!b.rtl&&n===b.translate?(b.params.autoHeight&&b.updateAutoHeight(),b.updateClasses(),"slide"!==b.params.effect&&b.setWrapperTranslate(n),1):(b.updateClasses(),b.onTransitionStart(i),0===t||b.browser.lteIE9?(b.setWrapperTranslate(n),b.setWrapperTransition(0),b.onTransitionEnd(i)):(b.setWrapperTranslate(n),b.setWrapperTransition(t),b.animating||(b.animating=!0,b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd(i)}))),0)))},b.onTransitionStart=function(e){void 0===e&&(e=!0),b.params.autoHeight&&b.updateAutoHeight(),b.lazy&&b.lazy.onTransitionStart(),e&&(b.emit("onTransitionStart",b),b.activeIndex!==b.previousIndex&&(b.emit("onSlideChangeStart",b),b.activeIndex>b.previousIndex?b.emit("onSlideNextStart",b):b.emit("onSlidePrevStart",b)))},b.onTransitionEnd=function(e){b.animating=!1,b.setWrapperTransition(0),void 0===e&&(e=!0),b.lazy&&b.lazy.onTransitionEnd(),e&&(b.emit("onTransitionEnd",b),b.activeIndex!==b.previousIndex&&(b.emit("onSlideChangeEnd",b),b.activeIndex>b.previousIndex?b.emit("onSlideNextEnd",b):b.emit("onSlidePrevEnd",b))),b.params.history&&b.history&&b.history.setHistory(b.params.history,b.activeIndex),b.params.hashnav&&b.hashnav&&b.hashnav.setHash()},b.slideNext=function(e,t,i){return b.params.loop?!b.animating&&(b.fixLoop(),b.container[0].clientLeft,b.slideTo(b.activeIndex+b.params.slidesPerGroup,t,e,i)):b.slideTo(b.activeIndex+b.params.slidesPerGroup,t,e,i)},b._slideNext=function(e){return b.slideNext(!0,e,!0)},b.slidePrev=function(e,t,i){return b.params.loop?!b.animating&&(b.fixLoop(),b.container[0].clientLeft,b.slideTo(b.activeIndex-1,t,e,i)):b.slideTo(b.activeIndex-1,t,e,i)},b._slidePrev=function(e){return b.slidePrev(!0,e,!0)},b.slideReset=function(e,t,i){return b.slideTo(b.activeIndex,t,e)},b.disableTouchControl=function(){return b.params.onlyExternal=!0,!0},b.enableTouchControl=function(){return b.params.onlyExternal=!1,!0},b.setWrapperTransition=function(e,t){b.wrapper.transition(e),"slide"!==b.params.effect&&b.effects[b.params.effect]&&b.effects[b.params.effect].setTransition(e),b.params.parallax&&b.parallax&&b.parallax.setTransition(e),b.params.scrollbar&&b.scrollbar&&b.scrollbar.setTransition(e),b.params.control&&b.controller&&b.controller.setTransition(e,t),b.emit("onSetTransition",b,e)},b.setWrapperTranslate=function(e,t,i){var r=0,n=0;b.isHorizontal()?r=b.rtl?-e:e:n=e,b.params.roundLengths&&(r=s(r),n=s(n)),b.params.virtualTranslate||(b.support.transforms3d?b.wrapper.transform("translate3d("+r+"px, "+n+"px, 0px)"):b.wrapper.transform("translate("+r+"px, "+n+"px)")),b.translate=b.isHorizontal()?r:n;var a,o=b.maxTranslate()-b.minTranslate();a=0===o?0:(e-b.minTranslate())/o,a!==b.progress&&b.updateProgress(e),t&&b.updateActiveIndex(),"slide"!==b.params.effect&&b.effects[b.params.effect]&&b.effects[b.params.effect].setTranslate(b.translate),b.params.parallax&&b.parallax&&b.parallax.setTranslate(b.translate),b.params.scrollbar&&b.scrollbar&&b.scrollbar.setTranslate(b.translate),b.params.control&&b.controller&&b.controller.setTranslate(b.translate,i),b.emit("onSetTranslate",b,b.translate)},b.getTranslate=function(e,t){var i,r,n,s;return void 0===t&&(t="x"),b.params.virtualTranslate?b.rtl?-b.translate:b.translate:(n=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(r=n.transform||n.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new window.WebKitCSSMatrix("none"===r?"":r)):(s=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),"x"===t&&(r=window.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=window.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),b.rtl&&r&&(r=-r),r||0)},b.getWrapperTranslate=function(e){return void 0===e&&(e=b.isHorizontal()?"x":"y"),b.getTranslate(b.wrapper[0],e)},b.observers=[],b.initObservers=function(){if(b.params.observeParents)for(var e=b.container.parents(),t=0;t<e.length;t++)l(e[t]);l(b.container[0],{childList:!1}),l(b.wrapper[0],{attributes:!1})},b.disconnectObservers=function(){for(var e=0;e<b.observers.length;e++)b.observers[e].disconnect();b.observers=[]},b.createLoop=function(){b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass).remove();var t=b.wrapper.children("."+b.params.slideClass);"auto"!==b.params.slidesPerView||b.params.loopedSlides||(b.params.loopedSlides=t.length),b.loopedSlides=parseInt(b.params.loopedSlides||b.params.slidesPerView,10),b.loopedSlides=b.loopedSlides+b.params.loopAdditionalSlides,b.loopedSlides>t.length&&(b.loopedSlides=t.length);var i,r=[],n=[];for(t.each(function(i,s){var a=e(this);i<b.loopedSlides&&n.push(s),i<t.length&&i>=t.length-b.loopedSlides&&r.push(s),a.attr("data-swiper-slide-index",i)}),i=0;i<n.length;i++)b.wrapper.append(e(n[i].cloneNode(!0)).addClass(b.params.slideDuplicateClass));for(i=r.length-1;i>=0;i--)b.wrapper.prepend(e(r[i].cloneNode(!0)).addClass(b.params.slideDuplicateClass))},b.destroyLoop=function(){b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass).remove(),b.slides.removeAttr("data-swiper-slide-index")},b.reLoop=function(e){var t=b.activeIndex-b.loopedSlides;b.destroyLoop(),b.createLoop(),b.updateSlidesSize(),e&&b.slideTo(t+b.loopedSlides,0,!1)},b.fixLoop=function(){var e;b.activeIndex<b.loopedSlides?(e=b.slides.length-3*b.loopedSlides+b.activeIndex,e+=b.loopedSlides,b.slideTo(e,0,!1,!0)):("auto"===b.params.slidesPerView&&b.activeIndex>=2*b.loopedSlides||b.activeIndex>b.slides.length-2*b.params.slidesPerView)&&(e=-b.slides.length+b.activeIndex+b.loopedSlides,e+=b.loopedSlides,b.slideTo(e,0,!1,!0))},b.appendSlide=function(e){if(b.params.loop&&b.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t<e.length;t++)e[t]&&b.wrapper.append(e[t]);else b.wrapper.append(e);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0)},b.prependSlide=function(e){b.params.loop&&b.destroyLoop();var t=b.activeIndex+1;if("object"==typeof e&&e.length){for(var i=0;i<e.length;i++)e[i]&&b.wrapper.prepend(e[i]);t=b.activeIndex+e.length}else b.wrapper.prepend(e);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0),b.slideTo(t,0,!1)},b.removeSlide=function(e){b.params.loop&&(b.destroyLoop(),b.slides=b.wrapper.children("."+b.params.slideClass));var t,i=b.activeIndex;if("object"==typeof e&&e.length){for(var r=0;r<e.length;r++)t=e[r],b.slides[t]&&b.slides.eq(t).remove(),t<i&&i--;i=Math.max(i,0)}else t=e,b.slides[t]&&b.slides.eq(t).remove(),t<i&&i--,i=Math.max(i,0);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0),b.params.loop?b.slideTo(i+b.loopedSlides,0,!1):b.slideTo(i,0,!1)},b.removeAllSlides=function(){for(var e=[],t=0;t<b.slides.length;t++)e.push(t);b.removeSlide(e)},b.effects={fade:{setTranslate:function(){for(var e=0;e<b.slides.length;e++){var t=b.slides.eq(e),i=t[0].swiperSlideOffset,r=-i;b.params.virtualTranslate||(r-=b.translate);var n=0;b.isHorizontal()||(n=r,r=0);var s=b.params.fade.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:s}).transform("translate3d("+r+"px, "+n+"px, 0px)")}},setTransition:function(e){if(b.slides.transition(e),b.params.virtualTranslate&&0!==e){var t=!1;b.slides.transitionEnd(function(){if(!t&&b){t=!0,b.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<e.length;i++)b.wrapper.trigger(e[i])}})}}},flip:{setTranslate:function(){for(var t=0;t<b.slides.length;t++){var i=b.slides.eq(t),r=i[0].progress;b.params.flip.limitRotation&&(r=Math.max(Math.min(i[0].progress,1),-1));var n=i[0].swiperSlideOffset,s=-180*r,a=s,o=0,l=-n,c=0;if(b.isHorizontal()?b.rtl&&(a=-a):(c=l,l=0,o=-a,a=0),i[0].style.zIndex=-Math.abs(Math.round(r))+b.slides.length,b.params.flip.slideShadows){var u=b.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),d=b.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),i.append(u)),0===d.length&&(d=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),i.append(d)),u.length&&(u[0].style.opacity=Math.max(-r,0)),d.length&&(d[0].style.opacity=Math.max(r,0))}i.transform("translate3d("+l+"px, "+c+"px, 0px) rotateX("+o+"deg) rotateY("+a+"deg)")}},setTransition:function(t){if(b.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),b.params.virtualTranslate&&0!==t){var i=!1;b.slides.eq(b.activeIndex).transitionEnd(function(){if(!i&&b&&e(this).hasClass(b.params.slideActiveClass)){i=!0,b.animating=!1;for(var t=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=0;r<t.length;r++)b.wrapper.trigger(t[r])}})}}},cube:{setTranslate:function(){var t,i=0;b.params.cube.shadow&&(b.isHorizontal()?(t=b.wrapper.find(".swiper-cube-shadow"),0===t.length&&(t=e('<div class="swiper-cube-shadow"></div>'),b.wrapper.append(t)),t.css({height:b.width+"px"})):(t=b.container.find(".swiper-cube-shadow"),0===t.length&&(t=e('<div class="swiper-cube-shadow"></div>'),b.container.append(t))));for(var r=0;r<b.slides.length;r++){var n=b.slides.eq(r),s=90*r,a=Math.floor(s/360);b.rtl&&(s=-s,a=Math.floor(-s/360));var o=Math.max(Math.min(n[0].progress,1),-1),l=0,c=0,u=0;r%4==0?(l=4*-a*b.size,u=0):(r-1)%4==0?(l=0,u=4*-a*b.size):(r-2)%4==0?(l=b.size+4*a*b.size,u=b.size):(r-3)%4==0&&(l=-b.size,u=3*b.size+4*b.size*a),b.rtl&&(l=-l),b.isHorizontal()||(c=l,l=0);var d="rotateX("+(b.isHorizontal()?0:-s)+"deg) rotateY("+(b.isHorizontal()?s:0)+"deg) translate3d("+l+"px, "+c+"px, "+u+"px)";if(o<=1&&o>-1&&(i=90*r+90*o,b.rtl&&(i=90*-r-90*o)),n.transform(d),b.params.cube.slideShadows){var h=b.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),p=b.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===h.length&&(h=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),n.append(h)),0===p.length&&(p=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),n.append(p)),h.length&&(h[0].style.opacity=Math.max(-o,0)),p.length&&(p[0].style.opacity=Math.max(o,0))}}if(b.wrapper.css({"-webkit-transform-origin":"50% 50% -"+b.size/2+"px","-moz-transform-origin":"50% 50% -"+b.size/2+"px","-ms-transform-origin":"50% 50% -"+b.size/2+"px","transform-origin":"50% 50% -"+b.size/2+"px"}),b.params.cube.shadow)if(b.isHorizontal())t.transform("translate3d(0px, "+(b.width/2+b.params.cube.shadowOffset)+"px, "+-b.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+b.params.cube.shadowScale+")");else{var f=Math.abs(i)-90*Math.floor(Math.abs(i)/90),m=1.5-(Math.sin(2*f*Math.PI/360)/2+Math.cos(2*f*Math.PI/360)/2),g=b.params.cube.shadowScale,v=b.params.cube.shadowScale/m,_=b.params.cube.shadowOffset;t.transform("scale3d("+g+", 1, "+v+") translate3d(0px, "+(b.height/2+_)+"px, "+-b.height/2/v+"px) rotateX(-90deg)")}var y=b.isSafari||b.isUiWebView?-b.size/2:0;b.wrapper.transform("translate3d(0px,0,"+y+"px) rotateX("+(b.isHorizontal()?0:i)+"deg) rotateY("+(b.isHorizontal()?-i:0)+"deg)")},setTransition:function(e){b.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),b.params.cube.shadow&&!b.isHorizontal()&&b.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var t=b.translate,i=b.isHorizontal()?-t+b.width/2:-t+b.height/2,r=b.isHorizontal()?b.params.coverflow.rotate:-b.params.coverflow.rotate,n=b.params.coverflow.depth,s=0,a=b.slides.length;s<a;s++){var o=b.slides.eq(s),l=b.slidesSizesGrid[s],c=o[0].swiperSlideOffset,u=(i-c-l/2)/l*b.params.coverflow.modifier,d=b.isHorizontal()?r*u:0,h=b.isHorizontal()?0:r*u,p=-n*Math.abs(u),f=b.isHorizontal()?0:b.params.coverflow.stretch*u,m=b.isHorizontal()?b.params.coverflow.stretch*u:0;Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(p)<.001&&(p=0),Math.abs(d)<.001&&(d=0),Math.abs(h)<.001&&(h=0);var g="translate3d("+m+"px,"+f+"px,"+p+"px) rotateX("+h+"deg) rotateY("+d+"deg)";if(o.transform(g),o[0].style.zIndex=1-Math.abs(Math.round(u)),b.params.coverflow.slideShadows){var v=b.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),_=b.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===v.length&&(v=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),o.append(v)),0===_.length&&(_=e('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),o.append(_)),v.length&&(v[0].style.opacity=u>0?u:0),_.length&&(_[0].style.opacity=-u>0?-u:0)}}b.browser.ie&&(b.wrapper[0].style.perspectiveOrigin=i+"px 50%")},setTransition:function(e){b.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},b.lazy={initialImageLoaded:!1,loadImageInSlide:function(t,i){if(void 0!==t&&(void 0===i&&(i=!0),0!==b.slides.length)){var r=b.slides.eq(t),n=r.find("."+b.params.lazyLoadingClass+":not(."+b.params.lazyStatusLoadedClass+"):not(."+b.params.lazyStatusLoadingClass+")");!r.hasClass(b.params.lazyLoadingClass)||r.hasClass(b.params.lazyStatusLoadedClass)||r.hasClass(b.params.lazyStatusLoadingClass)||(n=n.add(r[0])),0!==n.length&&n.each(function(){var t=e(this);t.addClass(b.params.lazyStatusLoadingClass);var n=t.attr("data-background"),s=t.attr("data-src"),a=t.attr("data-srcset"),o=t.attr("data-sizes");b.loadImage(t[0],s||n,a,o,!1,function(){if(void 0!==b&&null!==b&&b){if(n?(t.css("background-image",'url("'+n+'")'),t.removeAttr("data-background")):(a&&(t.attr("srcset",a),t.removeAttr("data-srcset")),o&&(t.attr("sizes",o),t.removeAttr("data-sizes")),s&&(t.attr("src",s),t.removeAttr("data-src"))),t.addClass(b.params.lazyStatusLoadedClass).removeClass(b.params.lazyStatusLoadingClass),r.find("."+b.params.lazyPreloaderClass+", ."+b.params.preloaderClass).remove(),b.params.loop&&i){var e=r.attr("data-swiper-slide-index");if(r.hasClass(b.params.slideDuplicateClass)){var l=b.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+b.params.slideDuplicateClass+")");b.lazy.loadImageInSlide(l.index(),!1)}else{var c=b.wrapper.children("."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');b.lazy.loadImageInSlide(c.index(),!1)}}b.emit("onLazyImageReady",b,r[0],t[0])}}),b.emit("onLazyImageLoad",b,r[0],t[0])})}},load:function(){var t,i=b.params.slidesPerView;if("auto"===i&&(i=0),b.lazy.initialImageLoaded||(b.lazy.initialImageLoaded=!0),b.params.watchSlidesVisibility)b.wrapper.children("."+b.params.slideVisibleClass).each(function(){b.lazy.loadImageInSlide(e(this).index())});else if(i>1)for(t=b.activeIndex;t<b.activeIndex+i;t++)b.slides[t]&&b.lazy.loadImageInSlide(t);else b.lazy.loadImageInSlide(b.activeIndex);if(b.params.lazyLoadingInPrevNext)if(i>1||b.params.lazyLoadingInPrevNextAmount&&b.params.lazyLoadingInPrevNextAmount>1){var r=b.params.lazyLoadingInPrevNextAmount,n=i,s=Math.min(b.activeIndex+n+Math.max(r,n),b.slides.length),a=Math.max(b.activeIndex-Math.max(n,r),0);for(t=b.activeIndex+i;t<s;t++)b.slides[t]&&b.lazy.loadImageInSlide(t);for(t=a;t<b.activeIndex;t++)b.slides[t]&&b.lazy.loadImageInSlide(t)}else{var o=b.wrapper.children("."+b.params.slideNextClass);o.length>0&&b.lazy.loadImageInSlide(o.index());var l=b.wrapper.children("."+b.params.slidePrevClass);l.length>0&&b.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){b.params.lazyLoading&&(b.params.lazyLoadingOnTransitionStart||!b.params.lazyLoadingOnTransitionStart&&!b.lazy.initialImageLoaded)&&b.lazy.load()},onTransitionEnd:function(){b.params.lazyLoading&&!b.params.lazyLoadingOnTransitionStart&&b.lazy.load()}},b.scrollbar={isTouched:!1,setDragPosition:function(e){var t=b.scrollbar,i=b.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,r=i-t.track.offset()[b.isHorizontal()?"left":"top"]-t.dragSize/2,n=-b.minTranslate()*t.moveDivider,s=-b.maxTranslate()*t.moveDivider;r<n?r=n:r>s&&(r=s),r=-r/t.moveDivider,b.updateProgress(r),b.setWrapperTranslate(r,!0)},dragStart:function(e){var t=b.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),b.params.scrollbarHide&&t.track.css("opacity",1),b.wrapper.transition(100),t.drag.transition(100),b.emit("onScrollbarDragStart",b)},dragMove:function(e){var t=b.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),b.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),b.emit("onScrollbarDragMove",b))},dragEnd:function(e){var t=b.scrollbar;t.isTouched&&(t.isTouched=!1,b.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout(function(){t.track.css("opacity",0),t.track.transition(400)},1e3)),b.emit("onScrollbarDragEnd",b),b.params.scrollbarSnapOnRelease&&b.slideReset())},draggableEvents:function(){return!1!==b.params.simulateTouch||b.support.touch?b.touchEvents:b.touchEventsDesktop}(),enableDraggable:function(){var t=b.scrollbar,i=b.support.touch?t.track:document;e(t.track).on(t.draggableEvents.start,t.dragStart),e(i).on(t.draggableEvents.move,t.dragMove),e(i).on(t.draggableEvents.end,t.dragEnd)},disableDraggable:function(){var t=b.scrollbar,i=b.support.touch?t.track:document;e(t.track).off(t.draggableEvents.start,t.dragStart),e(i).off(t.draggableEvents.move,t.dragMove),e(i).off(t.draggableEvents.end,t.dragEnd)},set:function(){if(b.params.scrollbar){var t=b.scrollbar;t.track=e(b.params.scrollbar),b.params.uniqueNavElements&&"string"==typeof b.params.scrollbar&&t.track.length>1&&1===b.container.find(b.params.scrollbar).length&&(t.track=b.container.find(b.params.scrollbar)),t.drag=t.track.find(".swiper-scrollbar-drag"),0===t.drag.length&&(t.drag=e('<div class="swiper-scrollbar-drag"></div>'),t.track.append(t.drag)),t.drag[0].style.width="",t.drag[0].style.height="",t.trackSize=b.isHorizontal()?t.track[0].offsetWidth:t.track[0].offsetHeight,t.divider=b.size/b.virtualSize,t.moveDivider=t.divider*(t.trackSize/b.size),t.dragSize=t.trackSize*t.divider,b.isHorizontal()?t.drag[0].style.width=t.dragSize+"px":t.drag[0].style.height=t.dragSize+"px",t.divider>=1?t.track[0].style.display="none":t.track[0].style.display="",b.params.scrollbarHide&&(t.track[0].style.opacity=0)}},setTranslate:function(){if(b.params.scrollbar){var e,t=b.scrollbar,i=(b.translate,t.dragSize);e=(t.trackSize-t.dragSize)*b.progress,b.rtl&&b.isHorizontal()?(e=-e,e>0?(i=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(i=t.trackSize+e)):e<0?(i=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(i=t.trackSize-e),b.isHorizontal()?(b.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=i+"px"):(b.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=i+"px"),b.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){b.params.scrollbar&&b.scrollbar.drag.transition(e)}},b.controller={LinearSpline:function(e,t){var i=function(){var e,t,i;return function(r,n){for(t=-1,e=r.length;e-t>1;)r[i=e+t>>1]<=n?t=i:e=i;return e}}();this.x=e,this.y=t,this.lastIndex=e.length-1;var r,n;this.x.length,this.interpolate=function(e){return e?(n=i(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0}},getInterpolateFunction:function(e){b.controller.spline||(b.controller.spline=b.params.loop?new b.controller.LinearSpline(b.slidesGrid,e.slidesGrid):new b.controller.LinearSpline(b.snapGrid,e.snapGrid))},setTranslate:function(e,t){function r(t){e=t.rtl&&"horizontal"===t.params.direction?-b.translate:b.translate,"slide"===b.params.controlBy&&(b.controller.getInterpolateFunction(t),s=-b.controller.spline.interpolate(-e)),s&&"container"!==b.params.controlBy||(n=(t.maxTranslate()-t.minTranslate())/(b.maxTranslate()-b.minTranslate()),s=(e-b.minTranslate())*n+t.minTranslate()),b.params.controlInverse&&(s=t.maxTranslate()-s),t.updateProgress(s),t.setWrapperTranslate(s,!1,b),t.updateActiveIndex()}var n,s,a=b.params.control;if(Array.isArray(a))for(var o=0;o<a.length;o++)a[o]!==t&&a[o]instanceof i&&r(a[o]);else a instanceof i&&t!==a&&r(a)},setTransition:function(e,t){function r(t){t.setWrapperTransition(e,b),0!==e&&(t.onTransitionStart(),t.wrapper.transitionEnd(function(){s&&(t.params.loop&&"slide"===b.params.controlBy&&t.fixLoop(),t.onTransitionEnd())}))}var n,s=b.params.control;if(Array.isArray(s))for(n=0;n<s.length;n++)s[n]!==t&&s[n]instanceof i&&r(s[n]);else s instanceof i&&t!==s&&r(s)}},b.hashnav={onHashCange:function(e,t){var i=document.location.hash.replace("#","");i!==b.slides.eq(b.activeIndex).attr("data-hash")&&b.slideTo(b.wrapper.children("."+b.params.slideClass+'[data-hash="'+i+'"]').index())},attachEvents:function(t){var i=t?"off":"on";e(window)[i]("hashchange",b.hashnav.onHashCange)},setHash:function(){if(b.hashnav.initialized&&b.params.hashnav)if(b.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+b.slides.eq(b.activeIndex).attr("data-hash")||"");else{var e=b.slides.eq(b.activeIndex),t=e.attr("data-hash")||e.attr("data-history");document.location.hash=t||""}},init:function(){if(b.params.hashnav&&!b.params.history){b.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var t=0,i=b.slides.length;t<i;t++){var r=b.slides.eq(t),n=r.attr("data-hash")||r.attr("data-history");if(n===e&&!r.hasClass(b.params.slideDuplicateClass)){var s=r.index();b.slideTo(s,0,b.params.runCallbacksOnInit,!0)}}b.params.hashnavWatchState&&b.hashnav.attachEvents()}},destroy:function(){b.params.hashnavWatchState&&b.hashnav.attachEvents(!0)}},b.history={init:function(){if(b.params.history){if(!window.history||!window.history.pushState)return b.params.history=!1,void(b.params.hashnav=!0);b.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,b.params.runCallbacksOnInit),b.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){b.history.paths=b.history.getPathValues(),b.history.scrollToSlide(b.params.speed,b.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(b.history.initialized&&b.params.history){var i=b.slides.eq(t),r=this.slugify(i.attr("data-history"));window.location.pathname.includes(e)||(r=e+"/"+r),b.params.replaceState?window.history.replaceState(null,null,r):window.history.pushState(null,null,r)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var r=0,n=b.slides.length;r<n;r++){var s=b.slides.eq(r),a=this.slugify(s.attr("data-history"));if(a===t&&!s.hasClass(b.params.slideDuplicateClass)){var o=s.index();b.slideTo(o,e,i)}}else b.slideTo(0,e,i)}},b.disableKeyboardControl=function(){b.params.keyboardControl=!1,e(document).off("keydown",c)},b.enableKeyboardControl=function(){b.params.keyboardControl=!0,e(document).on("keydown",c)},b.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},b.params.mousewheelControl&&(b.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in document;if(!e){var t=document.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(e=document.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"),b.disableMousewheelControl=function(){if(!b.mousewheel.event)return!1;var t=b.container;return"container"!==b.params.mousewheelEventsTarged&&(t=e(b.params.mousewheelEventsTarged)),t.off(b.mousewheel.event,d),b.params.mousewheelControl=!1,!0},b.enableMousewheelControl=function(){if(!b.mousewheel.event)return!1;var t=b.container;return"container"!==b.params.mousewheelEventsTarged&&(t=e(b.params.mousewheelEventsTarged)),t.on(b.mousewheel.event,d),b.params.mousewheelControl=!0,!0},b.parallax={setTranslate:function(){b.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){h(this,b.progress)}),b.slides.each(function(){var t=e(this);t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){h(this,Math.min(Math.max(t[0].progress,-1),1))})})},setTransition:function(t){void 0===t&&(t=b.params.speed),b.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var i=e(this),r=parseInt(i.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),i.transition(r)})}},b.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:b.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-t,2)+Math.pow(n-i,2))},onGestureStart:function(t){var i=b.zoom;if(!b.support.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;i.gesture.scaleStart=i.getDistanceBetweenTouches(t)}if(!(i.gesture.slide&&i.gesture.slide.length||(i.gesture.slide=e(this),0===i.gesture.slide.length&&(i.gesture.slide=b.slides.eq(b.activeIndex)),i.gesture.image=i.gesture.slide.find("img, svg, canvas"),i.gesture.imageWrap=i.gesture.image.parent("."+b.params.zoomContainerClass),i.gesture.zoomMax=i.gesture.imageWrap.attr("data-swiper-zoom")||b.params.zoomMax,0!==i.gesture.imageWrap.length)))return void(i.gesture.image=void 0);i.gesture.image.transition(0),i.isScaling=!0},onGestureChange:function(e){var t=b.zoom;if(!b.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleMove=t.getDistanceBetweenTouches(e)}t.gesture.image&&0!==t.gesture.image.length&&(b.support.gestures?t.scale=e.scale*t.currentScale:t.scale=t.gesture.scaleMove/t.gesture.scaleStart*t.currentScale,t.scale>t.gesture.zoomMax&&(t.scale=t.gesture.zoomMax-1+Math.pow(t.scale-t.gesture.zoomMax+1,.5)),t.scale<b.params.zoomMin&&(t.scale=b.params.zoomMin+1-Math.pow(b.params.zoomMin-t.scale+1,.5)),t.gesture.image.transform("translate3d(0,0,0) scale("+t.scale+")"))},onGestureEnd:function(e){var t=b.zoom;!b.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||t.gesture.image&&0!==t.gesture.image.length&&(t.scale=Math.max(Math.min(t.scale,t.gesture.zoomMax),b.params.zoomMin),t.gesture.image.transition(b.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,1===t.scale&&(t.gesture.slide=void 0))},onTouchStart:function(e,t){var i=e.zoom;i.gesture.image&&0!==i.gesture.image.length&&(i.image.isTouched||("android"===e.device.os&&t.preventDefault(),i.image.isTouched=!0,i.image.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,i.image.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(e){var t=b.zoom;if(t.gesture.image&&0!==t.gesture.image.length&&(b.allowClick=!1,t.image.isTouched&&t.gesture.slide)){t.image.isMoved||(t.image.width=t.gesture.image[0].offsetWidth,t.image.height=t.gesture.image[0].offsetHeight,t.image.startX=b.getTranslate(t.gesture.imageWrap[0],"x")||0,t.image.startY=b.getTranslate(t.gesture.imageWrap[0],"y")||0,t.gesture.slideWidth=t.gesture.slide[0].offsetWidth,t.gesture.slideHeight=t.gesture.slide[0].offsetHeight,t.gesture.imageWrap.transition(0),b.rtl&&(t.image.startX=-t.image.startX),b.rtl&&(t.image.startY=-t.image.startY));var i=t.image.width*t.scale,r=t.image.height*t.scale;if(!(i<t.gesture.slideWidth&&r<t.gesture.slideHeight)){if(t.image.minX=Math.min(t.gesture.slideWidth/2-i/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-r/2,0),t.image.maxY=-t.image.minY,t.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,t.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!t.image.isMoved&&!t.isScaling){if(b.isHorizontal()&&Math.floor(t.image.minX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x<t.image.touchesStart.x||Math.floor(t.image.maxX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x>t.image.touchesStart.x)return void(t.image.isTouched=!1);if(!b.isHorizontal()&&Math.floor(t.image.minY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y<t.image.touchesStart.y||Math.floor(t.image.maxY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y>t.image.touchesStart.y)return void(t.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),t.image.isMoved=!0,t.image.currentX=t.image.touchesCurrent.x-t.image.touchesStart.x+t.image.startX,t.image.currentY=t.image.touchesCurrent.y-t.image.touchesStart.y+t.image.startY,t.image.currentX<t.image.minX&&(t.image.currentX=t.image.minX+1-Math.pow(t.image.minX-t.image.currentX+1,.8)),t.image.currentX>t.image.maxX&&(t.image.currentX=t.image.maxX-1+Math.pow(t.image.currentX-t.image.maxX+1,.8)),t.image.currentY<t.image.minY&&(t.image.currentY=t.image.minY+1-Math.pow(t.image.minY-t.image.currentY+1,.8)),t.image.currentY>t.image.maxY&&(t.image.currentY=t.image.maxY-1+Math.pow(t.image.currentY-t.image.maxY+1,.8)),t.velocity.prevPositionX||(t.velocity.prevPositionX=t.image.touchesCurrent.x),t.velocity.prevPositionY||(t.velocity.prevPositionY=t.image.touchesCurrent.y),t.velocity.prevTime||(t.velocity.prevTime=Date.now()),t.velocity.x=(t.image.touchesCurrent.x-t.velocity.prevPositionX)/(Date.now()-t.velocity.prevTime)/2,t.velocity.y=(t.image.touchesCurrent.y-t.velocity.prevPositionY)/(Date.now()-t.velocity.prevTime)/2,Math.abs(t.image.touchesCurrent.x-t.velocity.prevPositionX)<2&&(t.velocity.x=0),Math.abs(t.image.touchesCurrent.y-t.velocity.prevPositionY)<2&&(t.velocity.y=0),t.velocity.prevPositionX=t.image.touchesCurrent.x,t.velocity.prevPositionY=t.image.touchesCurrent.y,t.velocity.prevTime=Date.now(),t.gesture.imageWrap.transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}}},onTouchEnd:function(e,t){var i=e.zoom;if(i.gesture.image&&0!==i.gesture.image.length){if(!i.image.isTouched||!i.image.isMoved)return i.image.isTouched=!1,void(i.image.isMoved=!1);i.image.isTouched=!1,i.image.isMoved=!1;var r=300,n=300,s=i.velocity.x*r,a=i.image.currentX+s,o=i.velocity.y*n,l=i.image.currentY+o;0!==i.velocity.x&&(r=Math.abs((a-i.image.currentX)/i.velocity.x)),0!==i.velocity.y&&(n=Math.abs((l-i.image.currentY)/i.velocity.y));var c=Math.max(r,n);i.image.currentX=a,i.image.currentY=l;var u=i.image.width*i.scale,d=i.image.height*i.scale;i.image.minX=Math.min(i.gesture.slideWidth/2-u/2,0),i.image.maxX=-i.image.minX,i.image.minY=Math.min(i.gesture.slideHeight/2-d/2,0),i.image.maxY=-i.image.minY,i.image.currentX=Math.max(Math.min(i.image.currentX,i.image.maxX),i.image.minX),i.image.currentY=Math.max(Math.min(i.image.currentY,i.image.maxY),i.image.minY),i.gesture.imageWrap.transition(c).transform("translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}},onTransitionEnd:function(e){var t=e.zoom;t.gesture.slide&&e.previousIndex!==e.activeIndex&&(t.gesture.image.transform("translate3d(0,0,0) scale(1)"),t.gesture.imageWrap.transform("translate3d(0,0,0)"),t.gesture.slide=t.gesture.image=t.gesture.imageWrap=void 0,t.scale=t.currentScale=1)},toggleZoom:function(t,i){var r=t.zoom;if(r.gesture.slide||(r.gesture.slide=t.clickedSlide?e(t.clickedSlide):t.slides.eq(t.activeIndex),r.gesture.image=r.gesture.slide.find("img, svg, canvas"),r.gesture.imageWrap=r.gesture.image.parent("."+t.params.zoomContainerClass)),r.gesture.image&&0!==r.gesture.image.length){var n,s,a,o,l,c,u,d,h,p,f,m,g,v,_,y,w,b;void 0===r.image.touchesStart.x&&i?(n="touchend"===i.type?i.changedTouches[0].pageX:i.pageX,s="touchend"===i.type?i.changedTouches[0].pageY:i.pageY):(n=r.image.touchesStart.x,s=r.image.touchesStart.y),r.scale&&1!==r.scale?(r.scale=r.currentScale=1,r.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),r.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),r.gesture.slide=void 0):(r.scale=r.currentScale=r.gesture.imageWrap.attr("data-swiper-zoom")||t.params.zoomMax,i?(w=r.gesture.slide[0].offsetWidth,b=r.gesture.slide[0].offsetHeight,a=r.gesture.slide.offset().left,o=r.gesture.slide.offset().top,l=a+w/2-n,c=o+b/2-s,h=r.gesture.image[0].offsetWidth,p=r.gesture.image[0].offsetHeight,f=h*r.scale,m=p*r.scale,g=Math.min(w/2-f/2,0),v=Math.min(b/2-m/2,0),_=-g,y=-v,u=l*r.scale,d=c*r.scale,u<g&&(u=g),u>_&&(u=_),d<v&&(d=v),d>y&&(d=y)):(u=0,d=0),r.gesture.imageWrap.transition(300).transform("translate3d("+u+"px, "+d+"px,0)"),r.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+r.scale+")"))}},attachEvents:function(t){var i=t?"off":"on";if(b.params.zoom){var r=(b.slides,!("touchstart"!==b.touchEvents.start||!b.support.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1});b.support.gestures?(b.slides[i]("gesturestart",b.zoom.onGestureStart,r),b.slides[i]("gesturechange",b.zoom.onGestureChange,r),b.slides[i]("gestureend",b.zoom.onGestureEnd,r)):"touchstart"===b.touchEvents.start&&(b.slides[i](b.touchEvents.start,b.zoom.onGestureStart,r),b.slides[i](b.touchEvents.move,b.zoom.onGestureChange,r),b.slides[i](b.touchEvents.end,b.zoom.onGestureEnd,r)),b[i]("touchStart",b.zoom.onTouchStart),b.slides.each(function(t,r){e(r).find("."+b.params.zoomContainerClass).length>0&&e(r)[i](b.touchEvents.move,b.zoom.onTouchMove)}),b[i]("touchEnd",b.zoom.onTouchEnd),b[i]("transitionEnd",b.zoom.onTransitionEnd),b.params.zoomToggle&&b.on("doubleTap",b.zoom.toggleZoom)}},init:function(){b.zoom.attachEvents()},destroy:function(){b.zoom.attachEvents(!0)}},b._plugins=[];for(var N in b.plugins){var F=b.plugins[N](b,b.params[N]);F&&b._plugins.push(F)}return b.callPlugins=function(e){for(var t=0;t<b._plugins.length;t++)e in b._plugins[t]&&b._plugins[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},b.emitterEventListeners={},b.emit=function(e){b.params[e]&&b.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var t;if(b.emitterEventListeners[e])for(t=0;t<b.emitterEventListeners[e].length;t++)b.emitterEventListeners[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);b.callPlugins&&b.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},b.on=function(e,t){return e=p(e),b.emitterEventListeners[e]||(b.emitterEventListeners[e]=[]),b.emitterEventListeners[e].push(t),b},b.off=function(e,t){var i;if(e=p(e),void 0===t)return b.emitterEventListeners[e]=[],b;if(b.emitterEventListeners[e]&&0!==b.emitterEventListeners[e].length){for(i=0;i<b.emitterEventListeners[e].length;i++)b.emitterEventListeners[e][i]===t&&b.emitterEventListeners[e].splice(i,1);return b}},b.once=function(e,t){e=p(e);var i=function(){t(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),b.off(e,i)};return b.on(e,i),b},b.a11y={makeFocusable:function(e){return e.attr("tabIndex","0"),e},addRole:function(e,t){return e.attr("role",t),e},addLabel:function(e,t){return e.attr("aria-label",t),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(t){13===t.keyCode&&(e(t.target).is(b.params.nextButton)?(b.onClickNext(t),b.isEnd?b.a11y.notify(b.params.lastSlideMessage):b.a11y.notify(b.params.nextSlideMessage)):e(t.target).is(b.params.prevButton)&&(b.onClickPrev(t),b.isBeginning?b.a11y.notify(b.params.firstSlideMessage):b.a11y.notify(b.params.prevSlideMessage)),e(t.target).is("."+b.params.bulletClass)&&e(t.target)[0].click())},liveRegion:e('<span class="'+b.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var t=b.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.a11y.makeFocusable(b.nextButton),b.a11y.addRole(b.nextButton,"button"),b.a11y.addLabel(b.nextButton,b.params.nextSlideMessage)),b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.a11y.makeFocusable(b.prevButton),b.a11y.addRole(b.prevButton,"button"),b.a11y.addLabel(b.prevButton,b.params.prevSlideMessage)),e(b.container).append(b.a11y.liveRegion)},initPagination:function(){b.params.pagination&&b.params.paginationClickable&&b.bullets&&b.bullets.length&&b.bullets.each(function(){var t=e(this);b.a11y.makeFocusable(t),b.a11y.addRole(t,"button"),b.a11y.addLabel(t,b.params.paginationBulletMessage.replace(/{{index}}/,t.index()+1))})},destroy:function(){b.a11y.liveRegion&&b.a11y.liveRegion.length>0&&b.a11y.liveRegion.remove()}},b.init=function(){b.params.loop&&b.createLoop(),b.updateContainerSize(),b.updateSlidesSize(),b.updatePagination(),b.params.scrollbar&&b.scrollbar&&(b.scrollbar.set(),b.params.scrollbarDraggable&&b.scrollbar.enableDraggable()),"slide"!==b.params.effect&&b.effects[b.params.effect]&&(b.params.loop||b.updateProgress(),b.effects[b.params.effect].setTranslate()),b.params.loop?b.slideTo(b.params.initialSlide+b.loopedSlides,0,b.params.runCallbacksOnInit):(b.slideTo(b.params.initialSlide,0,b.params.runCallbacksOnInit),0===b.params.initialSlide&&(b.parallax&&b.params.parallax&&b.parallax.setTranslate(),b.lazy&&b.params.lazyLoading&&(b.lazy.load(),b.lazy.initialImageLoaded=!0))),b.attachEvents(),b.params.observer&&b.support.observer&&b.initObservers(),b.params.preloadImages&&!b.params.lazyLoading&&b.preloadImages(),b.params.zoom&&b.zoom&&b.zoom.init(),b.params.autoplay&&b.startAutoplay(),b.params.keyboardControl&&b.enableKeyboardControl&&b.enableKeyboardControl(),b.params.mousewheelControl&&b.enableMousewheelControl&&b.enableMousewheelControl(),b.params.hashnavReplaceState&&(b.params.replaceState=b.params.hashnavReplaceState),b.params.history&&b.history&&b.history.init(),b.params.hashnav&&b.hashnav&&b.hashnav.init(),b.params.a11y&&b.a11y&&b.a11y.init(),b.emit("onInit",b)},b.cleanupStyles=function(){b.container.removeClass(b.classNames.join(" ")).removeAttr("style"),b.wrapper.removeAttr("style"),b.slides&&b.slides.length&&b.slides.removeClass([b.params.slideVisibleClass,b.params.slideActiveClass,b.params.slideNextClass,b.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),b.paginationContainer&&b.paginationContainer.length&&b.paginationContainer.removeClass(b.params.paginationHiddenClass),b.bullets&&b.bullets.length&&b.bullets.removeClass(b.params.bulletActiveClass),b.params.prevButton&&e(b.params.prevButton).removeClass(b.params.buttonDisabledClass),b.params.nextButton&&e(b.params.nextButton).removeClass(b.params.buttonDisabledClass),b.params.scrollbar&&b.scrollbar&&(b.scrollbar.track&&b.scrollbar.track.length&&b.scrollbar.track.removeAttr("style"),b.scrollbar.drag&&b.scrollbar.drag.length&&b.scrollbar.drag.removeAttr("style"))},b.destroy=function(e,t){b.detachEvents(),b.stopAutoplay(),b.params.scrollbar&&b.scrollbar&&b.params.scrollbarDraggable&&b.scrollbar.disableDraggable(),b.params.loop&&b.destroyLoop(),t&&b.cleanupStyles(),b.disconnectObservers(),b.params.zoom&&b.zoom&&b.zoom.destroy(),b.params.keyboardControl&&b.disableKeyboardControl&&b.disableKeyboardControl(),b.params.mousewheelControl&&b.disableMousewheelControl&&b.disableMousewheelControl(),b.params.a11y&&b.a11y&&b.a11y.destroy(),b.params.history&&!b.params.replaceState&&window.removeEventListener("popstate",b.history.setHistoryPopState),b.params.hashnav&&b.hashnav&&b.hashnav.destroy(),b.emit("onDestroy"),!1!==e&&(b=null)},b.init(),b}};i.prototype={isSafari:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===e.getElementsByTagName("i").length}()},device:function(){var e=window.navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),i=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),n=!i&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:i||n||r,android:t}}(),support:{touch:window.Modernizr&&!0===Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i++)if(t[i]in e)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}(),passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:function(){return"ongesturestart"in window}()},plugins:{}};for(var r=["jQuery","Zepto","Dom7"],n=0;n<r.length;n++)window[r[n]]&&function(e){e.fn.swiper=function(t){var r;return e(this).each(function(){var e=new i(this,t);r||(r=e)}),r}}(window[r[n]]);var s;s="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7,s&&("transitionEnd"in s.fn||(s.fn.transitionEnd=function(e){function t(s){if(s.target===this)for(e.call(this,s),i=0;i<r.length;i++)n.off(r[i],t)}var i,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=this;if(e)for(i=0;i<r.length;i++)n.on(r[i],t);return this}),"transform"in s.fn||(s.fn.transform=function(e){for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e}return this}),"transition"in s.fn||(s.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var i=this[t].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=e}return this}),"outerWidth"in s.fn||(s.fn.outerWidth=function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=i}(),e.exports=window.Swiper}).call(t,i(0))},function(e,t,i){var r;!function(n,s){"use strict";var a="model",o="name",l="type",c="vendor",u="version",d="mobile",h="tablet",p={extend:function(e,t){var i={};for(var r in e)t[r]&&t[r].length%2==0?i[r]=t[r].concat(e[r]):i[r]=e[r];return i},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},f={rgx:function(e,t){for(var i,r,n,s,a,o,l=0;l<t.length&&!a;){var c=t[l],u=t[l+1];for(i=r=0;i<c.length&&!a;)if(a=c[i++].exec(e))for(n=0;n<u.length;n++)o=a[++r],s=u[n],"object"==typeof s&&s.length>0?2==s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:3==s.length?"function"!=typeof s[1]||s[1].exec&&s[1].test?this[s[0]]=o?o.replace(s[1],s[2]):void 0:this[s[0]]=o?s[1].call(this,o,s[2]):void 0:4==s.length&&(this[s[0]]=o?s[3].call(this,o.replace(s[1],s[2])):void 0):this[s]=o||void 0;l+=2}},str:function(e,t){for(var i in t)if("object"==typeof t[i]&&t[i].length>0){for(var r=0;r<t[i].length;r++)if(p.has(t[i][r],e))return"?"===i?void 0:i}else if(p.has(t[i],e))return"?"===i?void 0:i;return e}},m={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,u],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],u],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],u],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[o,u],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],u],[/(edge)\/((\d+)?[\w\.]+)/i],[o,u],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],u],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],u],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],u],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],u],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],u],[/(QQ)\/([\d\.]+)/i],[o,u],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[u,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[u,[o,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[u,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],u],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],u],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[u,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,u],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],u],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],u],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],u],[/fxios\/([\w\.-]+)/i],[u,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[u,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[u,o],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[o,"GSA"],u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[u,f.str,m.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,u],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],u],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,u]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",p.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",p.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",p.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,c,[l,h]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[l,h]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[c,a,[l,h]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[a,[c,"Amazon"],[l,h]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[a,f.str,m.device.amazon.model],[c,"Amazon"],[l,d]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[l,d]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[l,d]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[l,d]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[l,d]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[c,"Asus"],[l,h]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[l,h]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[c,"Sony"],[l,d]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[l,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[l,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[l,"console"]],[/(sprint\s(\w+))/i],[[c,f.str,m.device.sprint.vendor],[a,f.str,m.device.sprint.model],[l,d]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[c,a,[l,h]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[c,[a,/_/g," "],[l,d]],[/(nexus\s9)/i],[a,[c,"HTC"],[l,h]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[c,"Huawei"],[l,d]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[l,d]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[l,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[l,d]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[l,d]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[l,h]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,p.trim],[a,p.trim],[l,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[l,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[l,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[c,"Samsung"],a,[l,h]],[/smart-tv.+(samsung)/i],[c,[l,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[c,"Samsung"],a,[l,d]],[/sie-(\w+)*/i],[a,[c,"Siemens"],[l,d]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[c,"Nokia"],a,[l,d]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[c,"Acer"],[l,h]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[l,h]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[l,h]],[/(lg) netcast\.tv/i],[c,a,[l,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[l,d]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[l,h]],[/linux;.+((jolla));/i],[c,a,[l,d]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[l,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[l,d]],[/crkey/i],[[a,"Chromecast"],[c,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[l,"wearable"]],[/android.+;\s(pixel c)\s/i],[a,[c,"Google"],[l,h]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[c,"Google"],[l,d]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[l,d]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[l,h]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[l,h]],[/android.+a000(1)\s+build/i],[a,[c,"OnePlus"],[l,d]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[l,h]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[a,[c,"Dell"],[l,h]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[l,h]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[l,h]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[l,h]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[c,"ZTE"],a,[l,h]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[l,d]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[l,h]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[l,h]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[c,"Dragon Touch"],a,[l,h]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[a,[c,"Insignia"],[l,h]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[a,[c,"NextBook"],[l,h]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[l,d]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[c,"LvTel"],a,[l,d]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[l,h]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[c,a,[l,h]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[l,h]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[l,h]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[l,h]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[l,h]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[c,a,[l,h]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[l,p.lowerize],c,a],[/(android.+)[;\/].+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[u,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,u],[/rv\:([\w\.]+).*(gecko)/i],[u,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,u],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[u,f.str,m.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[u,f.str,m.os.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],u],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[o,u],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[o,"Symbian"],u],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],u],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[o,u],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],u],[/(sunos)\s?([\w\.]+\d)*/i],[[o,"Solaris"],u],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[o,u],[/(haiku)\s(\w+)/i],[o,u],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[u,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[u,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[o,u]]},v=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof v))return new v(e,t).getResult();var i=e||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),r=t?p.extend(g,t):g;return this.getBrowser=function(){var e={name:void 0,version:void 0};return f.rgx.call(e,i,r.browser),e.major=p.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return f.rgx.call(e,i,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return f.rgx.call(e,i,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return f.rgx.call(e,i,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return f.rgx.call(e,i,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=e,this},this};v.VERSION="0.7.17",v.BROWSER={NAME:o,MAJOR:"major",VERSION:u},v.CPU={ARCHITECTURE:"architecture"},v.DEVICE={MODEL:a,VENDOR:c,TYPE:l,CONSOLE:"console",MOBILE:d,SMARTTV:"smarttv",TABLET:h,WEARABLE:"wearable",EMBEDDED:"embedded"},v.ENGINE={NAME:o,VERSION:u},v.OS={NAME:o,VERSION:u},void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=v),t.UAParser=v):i(1)?void 0!==(r=function(){return v}.call(t,i,t,e))&&(e.exports=r):n&&(n.UAParser=v);var _=n&&(n.jQuery||n.Zepto);if(void 0!==_){var y=new v;_.ua=y.getResult(),_.ua.get=function(){return y.getUA()},_.ua.set=function(e){y.setUA(e);var t=y.getResult();for(var i in t)_.ua[i]=t[i]}}}("object"==typeof window?window:this)},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,i){var r,n;/*!
+ * ScrollMagic v2.0.5 (2015-04-29)
+ * The javascript library for magical scroll interactions.
+ * (c) 2015 Jan Paepke (@janpaepke)
+ * Project Website: http://scrollmagic.io
+ *
+ * @version 2.0.5
+ * @license Dual licensed under MIT license and GPL.
+ * @author Jan Paepke - e-mail@janpaepke.de
+ *
+ * @file ScrollMagic main library.
+ */
+!function(s,a){r=a,void 0!==(n="function"==typeof r?r.call(t,i,t,e):r)&&(e.exports=n)}(0,function(){"use strict";var e=function(){r.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};e.version="2.0.5",window.addEventListener("mousewheel",function(){});e.Controller=function(i){var n,s,a="ScrollMagic.Controller",o=t.defaults,l=this,c=r.extend({},o,i),u=[],d=!1,h=0,p="PAUSED",f=!0,m=0,g=!0,v=function(){c.refreshInterval>0&&(s=window.setTimeout(S,c.refreshInterval))},_=function(){return c.vertical?r.get.scrollTop(c.container):r.get.scrollLeft(c.container)},y=function(){return c.vertical?r.get.height(c.container):r.get.width(c.container)},w=this._setScrollPos=function(e){c.vertical?f?window.scrollTo(r.get.scrollLeft(),e):c.container.scrollTop=e:f?window.scrollTo(e,r.get.scrollTop()):c.container.scrollLeft=e},b=function(){if(g&&d){var e=r.type.Array(d)?d:u.slice(0);d=!1;var t=h;h=l.scrollPos();var i=h-t;0!==i&&(p=i>0?"FORWARD":"REVERSE"),"REVERSE"===p&&e.reverse(),e.forEach(function(t,i){E(3,"updating Scene "+(i+1)+"/"+e.length+" ("+u.length+" total)"),t.update(!0)}),0===e.length&&c.loglevel>=3&&E(3,"updating 0 Scenes (nothing added to controller)")}},x=function(){n=r.rAF(b)},T=function(e){E(3,"event fired causing an update:",e.type),"resize"==e.type&&(m=y(),p="PAUSED"),!0!==d&&(d=!0,x())},S=function(){if(!f&&m!=y()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){e=document.createEvent("Event"),e.initEvent("resize",!1,!1)}c.container.dispatchEvent(e)}u.forEach(function(e,t){e.refresh()}),v()},E=this._log=function(e,t){c.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),r.log.apply(window,arguments))};this._options=c;var C=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t};return this.addScene=function(t){if(r.type.Array(t))t.forEach(function(e,t){l.addScene(e)});else if(t instanceof e.Scene){if(t.controller()!==l)t.addTo(l);else if(u.indexOf(t)<0){u.push(t),u=C(u),t.on("shift.controller_sort",function(){u=C(u)});for(var i in c.globalSceneOptions)t[i]&&t[i].call(t,c.globalSceneOptions[i]);E(3,"adding Scene (now "+u.length+" total)")}}else E(1,"ERROR: invalid argument supplied for '.addScene()'");return l},this.removeScene=function(e){if(r.type.Array(e))e.forEach(function(e,t){l.removeScene(e)});else{var t=u.indexOf(e);t>-1&&(e.off("shift.controller_sort"),u.splice(t,1),E(3,"removing Scene (now "+u.length+" left)"),e.remove())}return l},this.updateScene=function(t,i){return r.type.Array(t)?t.forEach(function(e,t){l.updateScene(e,i)}):i?t.update(!0):!0!==d&&t instanceof e.Scene&&(d=d||[],-1==d.indexOf(t)&&d.push(t),d=C(d),x()),l},this.update=function(e){return T({type:"resize"}),e&&b(),l},this.scrollTo=function(t,i){if(r.type.Number(t))w.call(c.container,t,i);else if(t instanceof e.Scene)t.controller()===l?l.scrollTo(t.scrollOffset(),i):E(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",t);else if(r.type.Function(t))w=t;else{var n=r.get.elements(t)[0];if(n){for(;n.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)n=n.parentNode;var s=c.vertical?"top":"left",a=r.get.offset(c.container),o=r.get.offset(n);f||(a[s]-=l.scrollPos()),l.scrollTo(o[s]-a[s],i)}else E(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",t)}return l},this.scrollPos=function(e){return arguments.length?(r.type.Function(e)?_=e:E(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),l):_.call(l)},this.info=function(e){var t={size:m,vertical:c.vertical,scrollPos:h,scrollDirection:p,container:c.container,isDocument:f};return arguments.length?void 0!==t[e]?t[e]:void E(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(c.loglevel!=e&&(c.loglevel=e),l):c.loglevel},this.enabled=function(e){return arguments.length?(g!=e&&(g=!!e,l.updateScene(u,!0)),l):g},this.destroy=function(e){window.clearTimeout(s);for(var t=u.length;t--;)u[t].destroy(e);return c.container.removeEventListener("resize",T),c.container.removeEventListener("scroll",T),r.cAF(n),E(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},function(){for(var t in c)o.hasOwnProperty(t)||(E(2,'WARNING: Unknown option "'+t+'"'),delete c[t]);if(c.container=r.get.elements(c.container)[0],!c.container)throw E(1,"ERROR creating object "+a+": No valid scroll container supplied"),a+" init failed.";f=c.container===window||c.container===document.body||!document.body.contains(c.container),f&&(c.container=window),m=y(),c.container.addEventListener("resize",T),c.container.addEventListener("scroll",T),c.refreshInterval=parseInt(c.refreshInterval)||o.refreshInterval,v(),E(3,"added new "+a+" controller (v"+e.version+")")}(),l};var t={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,i){t.defaults[e]=i},e.Controller.extend=function(t){var i=this;e.Controller=function(){return i.apply(this,arguments),this.$super=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Controller,i),e.Controller.prototype=i.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(t){var n,s,a="ScrollMagic.Scene",o=i.defaults,l=this,c=r.extend({},o,t),u="BEFORE",d=0,h={start:0,end:0},p=0,f=!0,m={};this.on=function(e,t){return r.type.Function(t)?(e=e.trim().split(" "),e.forEach(function(e){var i=e.split("."),r=i[0],n=i[1];"*"!=r&&(m[r]||(m[r]=[]),m[r].push({namespace:n||"",callback:t}))})):g(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),l},this.off=function(e,t){return e?(e=e.trim().split(" "),e.forEach(function(e,i){var r=e.split("."),n=r[0],s=r[1]||"";("*"===n?Object.keys(m):[n]).forEach(function(e){for(var i=m[e]||[],r=i.length;r--;){var n=i[r];!n||s!==n.namespace&&"*"!==s||t&&t!=n.callback||i.splice(r,1)}i.length||delete m[e]})}),l):(g(1,"ERROR: Invalid event name supplied."),l)},this.trigger=function(t,i){if(t){var r=t.trim().split("."),n=r[0],s=r[1],a=m[n];g(3,"event fired:",n,i?"->":"",i||""),a&&a.forEach(function(t,r){s&&s!==t.namespace||t.callback.call(l,new e.Event(n,t.namespace,l,i))})}else g(1,"ERROR: Invalid event name supplied.");return l},l.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?y():"reverse"===e.what&&l.update())}).on("shift.internal",function(e){v(),l.update()});var g=this._log=function(e,t){c.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),r.log.apply(window,arguments))};this.addTo=function(t){return t instanceof e.Controller?s!=t&&(s&&s.removeScene(l),s=t,x(),_(!0),y(!0),v(),s.info("container").addEventListener("resize",w),t.addScene(l),l.trigger("add",{controller:s}),g(3,"added "+a+" to controller"),l.update()):g(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),l},this.enabled=function(e){return arguments.length?(f!=e&&(f=!!e,l.update(!0)),l):f},this.remove=function(){if(s){s.info("container").removeEventListener("resize",w);var e=s;s=void 0,e.removeScene(l),l.trigger("remove"),g(3,"removed "+a+" from controller")}return l},this.destroy=function(e){return l.trigger("destroy",{reset:e}),l.remove(),l.off("*.*"),g(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(s)if(e)if(s.enabled()&&f){var t,i=s.info("scrollPos");t=c.duration>0?(i-h.start)/(h.end-h.start):i>=h.start?1:0,l.trigger("update",{startPos:h.start,endPos:h.end,scrollPos:i}),l.progress(t)}else E&&"DURING"===u&&P(!0);else s.updateScene(l,!1);return l},this.refresh=function(){return _(),y(),l},this.progress=function(e){if(arguments.length){var t=!1,i=u,r=s?s.info("scrollDirection"):"PAUSED",n=c.reverse||e>=d;if(0===c.duration?(t=d!=e,d=e<1&&n?0:1,u=0===d?"BEFORE":"DURING"):e<0&&"BEFORE"!==u&&n?(d=0,u="BEFORE",t=!0):e>=0&&e<1&&n?(d=e,u="DURING",t=!0):e>=1&&"AFTER"!==u?(d=1,u="AFTER",t=!0):"DURING"!==u||n||P(),t){var a={progress:d,state:u,scrollDirection:r},o=u!=i,h=function(e){l.trigger(e,a)};o&&"DURING"!==i&&(h("enter"),h("BEFORE"===i?"start":"end")),h("progress"),o&&"DURING"!==u&&(h("BEFORE"===u?"start":"end"),h("leave"))}return l}return d};var v=function(){h={start:p+c.offset},s&&c.triggerElement&&(h.start-=s.info("size")*c.triggerHook),h.end=h.start+c.duration},_=function(e){if(n){T("duration",n.call(l))&&!e&&(l.trigger("change",{what:"duration",newval:c.duration}),l.trigger("shift",{reason:"duration"}))}},y=function(e){var t=0,i=c.triggerElement;if(s&&i){for(var n=s.info(),a=r.get.offset(n.container),o=n.vertical?"top":"left";i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var u=r.get.offset(i);n.isDocument||(a[o]-=s.scrollPos()),t=u[o]-a[o]}var d=t!=p;p=t,d&&!e&&l.trigger("shift",{reason:"triggerElementPosition"})},w=function(e){c.triggerHook>0&&l.trigger("shift",{reason:"containerResize"})},b=r.extend(i.validate,{duration:function(e){if(r.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return s?s.info("size")*t:0}}if(r.type.Function(e)){n=e;try{e=parseFloat(n())}catch(t){e=-1}}if(e=parseFloat(e),!r.type.Number(e)||e<0)throw n?(n=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),x=function(e){e=arguments.length?[e]:Object.keys(b),e.forEach(function(e,t){var i;if(b[e])try{i=b[e](c[e])}catch(t){i=o[e];var n=r.type.String(t)?[t]:t;r.type.Array(n)?(n[0]="ERROR: "+n[0],n.unshift(1),g.apply(this,n)):g(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{c[e]=i}})},T=function(e,t){var i=!1,r=c[e];return c[e]!=t&&(c[e]=t,x(e),i=r!=c[e]),i},S=function(e){l[e]||(l[e]=function(t){return arguments.length?("duration"===e&&(n=void 0),T(e,t)&&(l.trigger("change",{what:e,newval:c[e]}),i.shifts.indexOf(e)>-1&&l.trigger("shift",{reason:e})),l):c[e]})};this.controller=function(){return s},this.state=function(){return u},this.scrollOffset=function(){return h.start},this.triggerPosition=function(){var e=c.offset;return s&&(c.triggerElement?e+=p:e+=s.info("size")*l.triggerHook()),e};var E,C;l.on("shift.internal",function(e){var t="duration"===e.reason;("AFTER"===u&&t||"DURING"===u&&0===c.duration)&&P(),t&&L()}).on("progress.internal",function(e){P()}).on("add.internal",function(e){L()}).on("destroy.internal",function(e){l.removePin(e.reset)});var P=function(e){if(E&&s){var t=s.info(),i=C.spacer.firstChild;if(e||"DURING"!==u){var n={position:C.inFlow?"relative":"absolute",top:0,left:0},a=r.css(i,"position")!=n.position;C.pushFollowers?c.duration>0&&("AFTER"===u&&0===parseFloat(r.css(C.spacer,"padding-top"))?a=!0:"BEFORE"===u&&0===parseFloat(r.css(C.spacer,"padding-bottom"))&&(a=!0)):n[t.vertical?"top":"left"]=c.duration*d,r.css(i,n),a&&L()}else{"fixed"!=r.css(i,"position")&&(r.css(i,{position:"fixed"}),L());var o=r.get.offset(C.spacer,!0),l=c.reverse||0===c.duration?t.scrollPos-h.start:Math.round(d*c.duration*10)/10;o[t.vertical?"top":"left"]+=l,r.css(C.spacer.firstChild,{top:o.top,left:o.left})}}},L=function(){if(E&&s&&C.inFlow){var e="DURING"===u,t=s.info("vertical"),i=C.spacer.firstChild,n=r.isMarginCollapseType(r.css(C.spacer,"display")),a={};C.relSize.width||C.relSize.autoFullWidth?e?r.css(E,{width:r.get.width(C.spacer)}):r.css(E,{width:"100%"}):(a["min-width"]=r.get.width(t?E:i,!0,!0),a.width=e?a["min-width"]:"auto"),C.relSize.height?e?r.css(E,{height:r.get.height(C.spacer)-(C.pushFollowers?c.duration:0)}):r.css(E,{height:"100%"}):(a["min-height"]=r.get.height(t?i:E,!0,!n),a.height=e?a["min-height"]:"auto"),C.pushFollowers&&(a["padding"+(t?"Top":"Left")]=c.duration*d,a["padding"+(t?"Bottom":"Right")]=c.duration*(1-d)),r.css(C.spacer,a)}},A=function(){s&&E&&"DURING"===u&&!s.info("isDocument")&&P()},R=function(){s&&E&&"DURING"===u&&((C.relSize.width||C.relSize.autoFullWidth)&&r.get.width(window)!=r.get.width(C.spacer.parentNode)||C.relSize.height&&r.get.height(window)!=r.get.height(C.spacer.parentNode))&&L()},k=function(e){s&&E&&"DURING"===u&&!s.info("isDocument")&&(e.preventDefault(),s._setScrollPos(s.info("scrollPos")-((e.wheelDelta||e[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,t){var i={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"};if(t=r.extend({},i,t),!(e=r.get.elements(e)[0]))return g(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),l;if("fixed"===r.css(e,"position"))return g(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),l;if(E){if(E===e)return l;l.removePin()}E=e;var n=E.parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];E.parentNode.style.display="none";var a="absolute"!=r.css(E,"position"),o=r.css(E,s.concat(["display"])),u=r.css(E,["width","height"]);E.parentNode.style.display=n,!a&&t.pushFollowers&&(g(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),t.pushFollowers=!1),window.setTimeout(function(){E&&0===c.duration&&t.pushFollowers&&g(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var d=E.parentNode.insertBefore(document.createElement("div"),E),h=r.extend(o,{position:a?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(a||r.extend(h,r.css(E,["width","height"])),r.css(d,h),d.setAttribute("data-scrollmagic-pin-spacer",""),r.addClass(d,t.spacerClass),C={spacer:d,relSize:{width:"%"===u.width.slice(-1),height:"%"===u.height.slice(-1),autoFullWidth:"auto"===u.width&&a&&r.isMarginCollapseType(o.display)},pushFollowers:t.pushFollowers,inFlow:a},!E.___origStyle){E.___origStyle={};var p=E.style;s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){E.___origStyle[e]=p[e]||""})}return C.relSize.width&&r.css(d,{width:u.width}),C.relSize.height&&r.css(d,{height:u.height}),d.appendChild(E),r.css(E,{position:a?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(C.relSize.width||C.relSize.autoFullWidth)&&r.css(E,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",A),window.addEventListener("resize",A),window.addEventListener("resize",R),E.addEventListener("mousewheel",k),E.addEventListener("DOMMouseScroll",k),g(3,"added pin"),P(),l},this.removePin=function(e){if(E){if("DURING"===u&&P(!0),e||!s){var t=C.spacer.firstChild;if(t.hasAttribute("data-scrollmagic-pin-spacer")){var i=C.spacer.style,n=["margin","marginLeft","marginRight","marginTop","marginBottom"];margins={},n.forEach(function(e){margins[e]=i[e]||""}),r.css(t,margins)}C.spacer.parentNode.insertBefore(t,C.spacer),C.spacer.parentNode.removeChild(C.spacer),E.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(r.css(E,E.___origStyle),delete E.___origStyle)}window.removeEventListener("scroll",A),window.removeEventListener("resize",A),window.removeEventListener("resize",R),E.removeEventListener("mousewheel",k),E.removeEventListener("DOMMouseScroll",k),E=void 0,g(3,"removed pin (reset: "+(e?"true":"false")+")")}return l};var O,M=[];return l.on("destroy.internal",function(e){l.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var i=r.get.elements(e);return 0!==i.length&&r.type.String(t)?(M.length>0&&l.removeClassToggle(),O=t,M=i,l.on("enter.internal_class leave.internal_class",function(e){var t="enter"===e.type?r.addClass:r.removeClass;M.forEach(function(e,i){t(e,O)})}),l):(g(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),l)},this.removeClassToggle=function(e){return e&&M.forEach(function(e,t){r.removeClass(e,O)}),l.off("start.internal_class end.internal_class"),O=void 0,M=[],l},function(){for(var e in c)o.hasOwnProperty(e)||(g(2,'WARNING: Unknown option "'+e+'"'),delete c[e]);for(var t in o)S(t);x()}(),l};var i={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!r.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=r.get.elements(e)[0];if(!t)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(r.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!r.type.Number(e)||e<0||e>3)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(t,r,n,s){t in i.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(i.defaults[t]=r,i.validate[t]=n,s&&i.shifts.push(t))},e.Scene.extend=function(t){var i=this;e.Scene=function(){return i.apply(this,arguments),this.$super=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Scene,i),e.Scene.prototype=i.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,i,r){r=r||{};for(var n in r)this[n]=r[n];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var r=e._util=function(e){var t,i={},r=function(e){return parseFloat(e)||0},n=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},s=function(t,i,s,a){if((i=i===document?e:i)===e)a=!1;else if(!f.DomElement(i))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var o=(s?i["offset"+t]||i["outer"+t]:i["client"+t]||i["inner"+t])||0;if(s&&a){var l=n(i);o+="Height"===t?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(l.marginRight)}return o},a=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})};i.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var i in arguments[t])arguments[t].hasOwnProperty(i)&&(e[i]=arguments[t][i]);return e},i.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};var o=0,l=["ms","moz","webkit","o"],c=e.requestAnimationFrame,u=e.cancelAnimationFrame;for(t=0;!c&&t<l.length;++t)c=e[l[t]+"RequestAnimationFrame"],u=e[l[t]+"CancelAnimationFrame"]||e[l[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var i=(new Date).getTime(),r=Math.max(0,16-(i-o)),n=e.setTimeout(function(){t(i+r)},r);return o=i+r,n}),u||(u=function(t){e.clearTimeout(t)}),i.rAF=c.bind(e),i.cAF=u.bind(e);var d=["error","warn","log"],h=e.console||{};for(h.log=h.log||function(){},t=0;t<d.length;t++){var p=d[t];h[p]||(h[p]=h.log)}i.log=function(e){(e>d.length||e<=0)&&(e=d.length);var t=new Date,i=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),r=d[e-1],n=Array.prototype.splice.call(arguments,1),s=Function.prototype.bind.call(h[r],h);n.unshift(i),s.apply(h,n)};var f=i.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};f.String=function(e){return"string"===f(e)},f.Function=function(e){return"function"===f(e)},f.Array=function(e){return Array.isArray(e)},f.Number=function(e){return!f.Array(e)&&e-parseFloat(e)+1>=0},f.DomElement=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var m=i.get={};return m.elements=function(t){var i=[];if(f.String(t))try{t=document.querySelectorAll(t)}catch(e){return i}if("nodelist"===f(t)||f.Array(t))for(var r=0,n=i.length=t.length;r<n;r++){var s=t[r];i[r]=f.DomElement(s)?s:m.elements(s)}else(f.DomElement(t)||t===document||t===e)&&(i=[t]);return i},m.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},m.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},m.width=function(e,t,i){return s("width",e,t,i)},m.height=function(e,t,i){return s("height",e,t,i)},m.offset=function(e,t){var i={top:0,left:0};if(e&&e.getBoundingClientRect){var r=e.getBoundingClientRect();i.top=r.top,i.left=r.left,t||(i.top+=m.scrollTop(),i.left+=m.scrollLeft())}return i},i.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},i.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(e,t){if(f.String(t))return n(e)[a(t)];if(f.Array(t)){var i={},r=n(e);return t.forEach(function(e,t){i[e]=r[a(e)]}),i}for(var s in t){var o=t[s];o==parseFloat(o)&&(o+="px"),e.style[a(s)]=o}},i}(window||{});return e.Scene.prototype.addIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.removeIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.setTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.removeTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.setVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e.Scene.prototype.removeVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e})},function(e,t,i){"use strict";(function(e,r){function n(e){return e&&e.__esModule?e:{default:e}}var a,o,a,o,a,l,c,u,o,d,h,p,f,o,m,o,g,v,o,_,g,o,a,y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w=i(8),b=(n(w),i(5)),x=(n(b),i(7)),T=(n(x),i(6)),S=(n(T),i(3)),E=(n(S),i(9)),C=(n(E),i(13)),P=(n(C),i(12)),L=(n(P),i(14)),A=(n(L),i(10)),R=(n(A),i(11)),k=(n(R),i(15)),O=(n(k),i(4));n(O);/*!
+* @license PreloadJS
+* Visit http://createjs.com/ for documentation, updates and examples.
+*
+* Copyright (c) 2011-2015 gskinner.com, inc.
+*
+* Distributed under the terms of the MIT license.
+* http://www.opensource.org/licenses/mit-license.html
+*
+* This notice shall be included in all copies or substantial portions of the Software.
+*/
+(void 0).createjs=(void 0).createjs||{},function(){var e=createjs.PreloadJS=createjs.PreloadJS||{};e.version="0.6.2",e.buildDate="Thu, 26 Nov 2015 20:44:31 GMT"}(),(void 0).createjs=(void 0).createjs||{},createjs.extend=function(e,t){function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i},(void 0).createjs=(void 0).createjs||{},createjs.promote=function(e,t){var i=e.prototype,r=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(r){i[(t+="_")+"constructor"]=r.constructor;for(var n in r)i.hasOwnProperty(n)&&"function"==typeof r[n]&&(i[t+n]=r[n])}return e},(void 0).createjs=(void 0).createjs||{},function(){createjs.proxy=function(e,t){var i=Array.prototype.slice.call(arguments,2);return function(){return e.apply(t,Array.prototype.slice.call(arguments,0).concat(i))}}}(),(void 0).createjs=(void 0).createjs||{},createjs.indexOf=function(e,t){for(var i=0,r=e.length;r>i;i++)if(t===e[i])return i;return-1},(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.type=e,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!t,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var t=e.prototype;t.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},t.stopPropagation=function(){this.propagationStopped=!0},t.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},t.remove=function(){this.removed=!0},t.clone=function(){return new e(this.type,this.bubbles,this.cancelable)},t.set=function(e){for(var t in e)this[t]=e[t];return this},t.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=e}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.Event_constructor("error"),this.title=e,this.message=t,this.data=i}createjs.extend(e,createjs.Event).clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(e,"Event")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(){this._listeners=null,this._captureListeners=null}var t=e.prototype;e.initialize=function(e){e.addEventListener=t.addEventListener,e.on=t.on,e.removeEventListener=e.off=t.removeEventListener,e.removeAllEventListeners=t.removeAllEventListeners,e.hasEventListener=t.hasEventListener,e.dispatchEvent=t.dispatchEvent,e._dispatchEvent=t._dispatchEvent,e.willTrigger=t.willTrigger},t.addEventListener=function(e,t,i){var r;r=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var n=r[e];return n&&this.removeEventListener(e,t,i),n=r[e],n?n.push(t):r[e]=[t],t},t.on=function(e,t,i,r,n,s){return t.handleEvent&&(i=i||t,t=t.handleEvent),i=i||this,this.addEventListener(e,function(e){t.call(i,e,n),r&&e.remove()},s)},t.removeEventListener=function(e,t,i){var r=i?this._captureListeners:this._listeners;if(r){var n=r[e];if(n)for(var s=0,a=n.length;a>s;s++)if(n[s]==t){1==a?delete r[e]:n.splice(s,1);break}}},t.off=t.removeEventListener,t.removeAllEventListeners=function(e){e?(this._listeners&&delete this._listeners[e],this._captureListeners&&delete this._captureListeners[e]):this._listeners=this._captureListeners=null},t.dispatchEvent=function(e,t,i){if("string"==typeof e){var r=this._listeners;if(!(t||r&&r[e]))return!0;e=new createjs.Event(e,t,i)}else e.target&&e.clone&&(e=e.clone());try{e.target=this}catch(e){}if(e.bubbles&&this.parent){for(var n=this,s=[n];n.parent;)s.push(n=n.parent);var a,o=s.length;for(a=o-1;a>=0&&!e.propagationStopped;a--)s[a]._dispatchEvent(e,1+(0==a));for(a=1;o>a&&!e.propagationStopped;a++)s[a]._dispatchEvent(e,3)}else this._dispatchEvent(e,2);return!e.defaultPrevented},t.hasEventListener=function(e){var t=this._listeners,i=this._captureListeners;return!!(t&&t[e]||i&&i[e])},t.willTrigger=function(e){for(var t=this;t;){if(t.hasEventListener(e))return!0;t=t.parent}return!1},t.toString=function(){return"[EventDispatcher]"},t._dispatchEvent=function(e,t){var i,r=1==t?this._captureListeners:this._listeners;if(e&&r){var n=r[e.type];if(!n||!(i=n.length))return;try{e.currentTarget=this}catch(e){}try{e.eventPhase=t}catch(e){}e.removed=!1,n=n.slice();for(var s=0;i>s&&!e.immediatePropagationStopped;s++){var a=n[s];a.handleEvent?a.handleEvent(e):a(e),e.removed&&(this.off(e.type,a,1==t),e.removed=!1)}}},createjs.EventDispatcher=e}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.Event_constructor("progress"),this.loaded=e,this.total=null==t?1:t,this.progress=0==t?0:this.loaded/this.total}createjs.extend(e,createjs.Event).clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(e,"Event")}(window),function(){function n(e,t){function i(e){if(i[e]!==g)return i[e];var n;if("bug-string-char-index"==e)n="a"!="a"[0];else if("json"==e)n=i("json-stringify")&&i("json-parse");else{var a,o='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var c=t.stringify,u="function"==typeof c&&w;if(u){(a=function(){return 1}).toJSON=a;try{u="0"===c(0)&&"0"===c(new r)&&'""'==c(new s)&&c(_)===g&&c(g)===g&&c()===g&&"1"===c(a)&&"[1]"==c([a])&&"[null]"==c([g])&&"null"==c(null)&&"[null,null,null]"==c([g,_,null])&&c({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==o&&"1"===c(null,a)&&"[\n 1,\n 2\n]"==c([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==c(new l(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==c(new l(864e13))&&'"-000001-01-01T00:00:00.000Z"'==c(new l(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==c(new l(-1))}catch(e){u=!1}}n=u}if("json-parse"==e){var d=t.parse;if("function"==typeof d)try{if(0===d("0")&&!d(!1)){a=d(o);var h=5==a.a.length&&1===a.a[0];if(h){try{h=!d('"\t"')}catch(e){}if(h)try{h=1!==d("01")}catch(e){}if(h)try{h=1!==d("1.")}catch(e){}}}}catch(e){h=!1}n=h}}return i[e]=!!n}e||(e=c.Object()),t||(t=c.Object());var r=e.Number||c.Number,s=e.String||c.String,a=e.Object||c.Object,l=e.Date||c.Date,u=e.SyntaxError||c.SyntaxError,d=e.TypeError||c.TypeError,h=e.Math||c.Math,p=e.JSON||c.JSON;"object"==(void 0===p?"undefined":y(p))&&p&&(t.stringify=p.stringify,t.parse=p.parse);var f,m,g,v=a.prototype,_=v.toString,w=new l(-0xc782b5b800cec);try{w=-109252==w.getUTCFullYear()&&0===w.getUTCMonth()&&1===w.getUTCDate()&&10==w.getUTCHours()&&37==w.getUTCMinutes()&&6==w.getUTCSeconds()&&708==w.getUTCMilliseconds()}catch(e){}if(!i("json")){var b="[object Function]",x="[object Number]",T="[object String]",S="[object Array]",E=i("bug-string-char-index");if(!w)var C=h.floor,P=[0,31,59,90,120,151,181,212,243,273,304,334],L=function(e,t){return P[t]+365*(e-1970)+C((e-1969+(t=+(t>1)))/4)-C((e-1901+t)/100)+C((e-1601+t)/400)};if((f=v.hasOwnProperty)||(f=function(e){var t,i={};return(i.__proto__=null,i.__proto__={toString:1},i).toString!=_?f=function(e){var t=this.__proto__,i=e in(this.__proto__=null,this);return this.__proto__=t,i}:(t=i.constructor,f=function(e){var i=(this.constructor||t).prototype;return e in this&&!(e in i&&this[e]===i[e])}),i=null,f.call(this,e)}),m=function(e,t){var i,r,n,s=0;(i=function(){this.valueOf=0}).prototype.valueOf=0,r=new i;for(n in r)f.call(r,n)&&s++;return i=r=null,s?m=2==s?function(e,t){var i,r={},n=_.call(e)==b;for(i in e)n&&"prototype"==i||f.call(r,i)||!(r[i]=1)||!f.call(e,i)||t(i)}:function(e,t){var i,r,n=_.call(e)==b;for(i in e)n&&"prototype"==i||!f.call(e,i)||(r="constructor"===i)||t(i);(r||f.call(e,i="constructor"))&&t(i)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],m=function(e,t){var i,n,s=_.call(e)==b,a=!s&&"function"!=typeof e.constructor&&o[y(e.hasOwnProperty)]&&e.hasOwnProperty||f;for(i in e)s&&"prototype"==i||!a.call(e,i)||t(i);for(n=r.length;i=r[--n];a.call(e,i)&&t(i));}),m(e,t)},!i("json-stringify")){var A={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},R=function(e,t){return("000000"+(t||0)).slice(-e)},k=function(e){for(var t='"',i=0,r=e.length,n=!E||r>10,s=n&&(E?e.split(""):e);r>i;i++){var a=e.charCodeAt(i);switch(a){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=A[a];break;default:if(32>a){t+="\\u00"+R(2,a.toString(16));break}t+=n?s[i]:e.charAt(i)}}return t+'"'},O=function e(t,i,r,n,s,a,o){var l,c,u,h,p,v,w,b,E,P,A,O,M,I,j,z;try{l=i[t]}catch(e){}if("object"==(void 0===l?"undefined":y(l))&&l)if("[object Date]"!=(c=_.call(l))||f.call(l,"toJSON"))"function"==typeof l.toJSON&&(c!=x&&c!=T&&c!=S||f.call(l,"toJSON"))&&(l=l.toJSON(t));else if(l>-1/0&&1/0>l){if(L){for(p=C(l/864e5),u=C(p/365.2425)+1970-1;L(u+1,0)<=p;u++);for(h=C((p-L(u,0))/30.42);L(u,h+1)<=p;h++);p=1+p-L(u,h),v=(l%864e5+864e5)%864e5,w=C(v/36e5)%24,b=C(v/6e4)%60,E=C(v/1e3)%60,P=v%1e3}else u=l.getUTCFullYear(),h=l.getUTCMonth(),p=l.getUTCDate(),w=l.getUTCHours(),b=l.getUTCMinutes(),E=l.getUTCSeconds(),P=l.getUTCMilliseconds();l=(0>=u||u>=1e4?(0>u?"-":"+")+R(6,0>u?-u:u):R(4,u))+"-"+R(2,h+1)+"-"+R(2,p)+"T"+R(2,w)+":"+R(2,b)+":"+R(2,E)+"."+R(3,P)+"Z"}else l=null;if(r&&(l=r.call(i,t,l)),null===l)return"null";if("[object Boolean]"==(c=_.call(l)))return""+l;if(c==x)return l>-1/0&&1/0>l?""+l:"null";if(c==T)return k(""+l);if("object"==(void 0===l?"undefined":y(l))){for(I=o.length;I--;)if(o[I]===l)throw d();if(o.push(l),A=[],j=a,a+=s,c==S){for(M=0,I=l.length;I>M;M++)O=e(M,l,r,n,s,a,o),A.push(O===g?"null":O);z=A.length?s?"[\n"+a+A.join(",\n"+a)+"\n"+j+"]":"["+A.join(",")+"]":"[]"}else m(n||l,function(t){var i=e(t,l,r,n,s,a,o);i!==g&&A.push(k(t)+":"+(s?" ":"")+i)}),z=A.length?s?"{\n"+a+A.join(",\n"+a)+"\n"+j+"}":"{"+A.join(",")+"}":"{}";return o.pop(),z}};t.stringify=function(e,t,i){var r,n,s,a;if(o[void 0===t?"undefined":y(t)]&&t)if((a=_.call(t))==b)n=t;else if(a==S){s={};for(var l,c=0,u=t.length;u>c;l=t[c++],((a=_.call(l))==T||a==x)&&(s[l]=1));}if(i)if((a=_.call(i))==x){if((i-=i%1)>0)for(r="",i>10&&(i=10);r.length<i;r+=" ");}else a==T&&(r=i.length<=10?i:i.slice(0,10));return O("",(l={},l[""]=e,l),n,s,r,"",[])}}if(!i("json-parse")){var M,I,j=s.fromCharCode,z={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},D=function(){throw M=I=null,u()},N=function(){for(var e,t,i,r,n,s=I,a=s.length;a>M;)switch(n=s.charCodeAt(M)){case 9:case 10:case 13:case 32:M++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=E?s.charAt(M):s[M],M++,e;case 34:for(e="@",M++;a>M;)if(32>(n=s.charCodeAt(M)))D();else if(92==n)switch(n=s.charCodeAt(++M)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=z[n],M++;break;case 117:for(t=++M,i=M+4;i>M;M++)(n=s.charCodeAt(M))>=48&&57>=n||n>=97&&102>=n||n>=65&&70>=n||D();e+=j("0x"+s.slice(t,M));break;default:D()}else{if(34==n)break;for(n=s.charCodeAt(M),t=M;n>=32&&92!=n&&34!=n;)n=s.charCodeAt(++M);e+=s.slice(t,M)}if(34==s.charCodeAt(M))return M++,e;D();default:if(t=M,45==n&&(r=!0,n=s.charCodeAt(++M)),n>=48&&57>=n){for(48==n&&(n=s.charCodeAt(M+1))>=48&&57>=n&&D(),r=!1;a>M&&(n=s.charCodeAt(M))>=48&&57>=n;M++);if(46==s.charCodeAt(M)){for(i=++M;a>i&&(n=s.charCodeAt(i))>=48&&57>=n;i++);i==M&&D(),M=i}if(101==(n=s.charCodeAt(M))||69==n){for(n=s.charCodeAt(++M),(43==n||45==n)&&M++,i=M;a>i&&(n=s.charCodeAt(i))>=48&&57>=n;i++);i==M&&D(),M=i}return+s.slice(t,M)}if(r&&D(),"true"==s.slice(M,M+4))return M+=4,!0;if("false"==s.slice(M,M+5))return M+=5,!1;if("null"==s.slice(M,M+4))return M+=4,null;D()}return"$"},F=function e(t){var i,r;if("$"==t&&D(),"string"==typeof t){if("@"==(E?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(i=[];"]"!=(t=N());r||(r=!0))r&&(","==t?"]"==(t=N())&&D():D()),","==t&&D(),i.push(e(t));return i}if("{"==t){for(i={};"}"!=(t=N());r||(r=!0))r&&(","==t?"}"==(t=N())&&D():D()),(","==t||"string"!=typeof t||"@"!=(E?t.charAt(0):t[0])||":"!=N())&&D(),i[t.slice(1)]=e(N());return i}D()}return t},B=function(e,t,i){var r=H(e,t,i);r===g?delete e[t]:e[t]=r},H=function(e,t,i){var r,n=e[t];if("object"==(void 0===n?"undefined":y(n))&&n)if(_.call(n)==S)for(r=n.length;r--;)B(n,r,i);else m(n,function(e){B(n,e,i)});return i.call(e,t,n)};t.parse=function(e,t){var i,r;return M=0,I=""+e,i=F(N()),"$"!=N()&&D(),M=I=null,t&&_.call(t)==b?H((r={},r[""]=i,r),"",t):i}}}return t.runInContext=n,t}var s=i(1),o={function:!0,object:!0},l=o[y(t)]&&t&&!t.nodeType&&t,c=o["undefined"==typeof window?"undefined":y(window)]&&window||this,u=l&&o[y(e)]&&e&&!e.nodeType&&"object"==(void 0===r?"undefined":y(r))&&r;if(!u||u.global!==u&&u.window!==u&&u.self!==u||(c=u),l&&!s)n(c,l);else{var d=c.JSON,h=c.JSON3,p=!1,f=n(c,c.JSON3={noConflict:function(){return p||(p=!0,c.JSON=d,c.JSON3=h,d=h=null),f}});c.JSON={parse:f.parse,stringify:f.stringify}}s&&void 0!==(a=function(){return f}.call(t,i,t,e))&&(e.exports=a)}.call(void 0),function(){var e={};e.appendToHead=function(t){e.getHead().appendChild(t)},e.getHead=function(){return document.head||document.getElementsByTagName("head")[0]},e.getBody=function(){return document.body||document.getElementsByTagName("body")[0]},createjs.DomUtils=e}(),function(){var e={};e.parseXML=function(e,t){var i=null;try{if(window.DOMParser){var r=new DOMParser;i=r.parseFromString(e,t)}}catch(e){}if(!i)try{i=new ActiveXObject("Microsoft.XMLDOM"),i.async=!1,i.loadXML(e)}catch(e){i=null}return i},e.parseJSON=function(e){if(null==e)return null;try{return JSON.parse(e)}catch(e){throw e}},createjs.DataUtils=e}(),(void 0).createjs=(void 0).createjs||{},function(){function e(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=i.LOAD_TIMEOUT_DEFAULT}var t=e.prototype={},i=e;i.LOAD_TIMEOUT_DEFAULT=8e3,i.create=function(t){if("string"==typeof t){var r=new e;return r.src=t,r}if(t instanceof i)return t;if(t instanceof Object&&t.src)return null==t.loadTimeout&&(t.loadTimeout=i.LOAD_TIMEOUT_DEFAULT),t;throw new Error("Type not recognized.")},t.set=function(e){for(var t in e)this[t]=e[t];return this},createjs.LoadItem=i}(),function(){var e={};e.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,e.RELATIVE_PATT=/^[.\/]*?\//i,e.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,e.parseURI=function(t){var i={absolute:!1,relative:!1};if(null==t)return i;var r=t.indexOf("?");r>-1&&(t=t.substr(0,r));var n;return e.ABSOLUTE_PATT.test(t)?i.absolute=!0:e.RELATIVE_PATT.test(t)&&(i.relative=!0),(n=t.match(e.EXTENSION_PATT))&&(i.extension=n[1].toLowerCase()),i},e.formatQueryString=function(e,t){if(null==e)throw new Error("You must specify data.");var i=[];for(var r in e)i.push(r+"="+escape(e[r]));return t&&(i=i.concat(t)),i.join("&")},e.buildPath=function(e,t){if(null==t)return e;var i=[],r=e.indexOf("?");if(-1!=r){var n=e.slice(r+1);i=i.concat(n.split("&"))}return-1!=r?e.slice(0,r)+"?"+this.formatQueryString(t,i):e+"?"+this.formatQueryString(t,i)},e.isCrossDomain=function(e){var t=document.createElement("a");t.href=e.src;var i=document.createElement("a");return i.href=location.href,""!=t.hostname&&(t.port!=i.port||t.protocol!=i.protocol||t.hostname!=i.hostname)},e.isLocal=function(e){var t=document.createElement("a");return t.href=e.src,""==t.hostname&&"file:"==t.protocol},e.isBinary=function(e){switch(e){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},e.isImageTag=function(e){return e instanceof HTMLImageElement},e.isAudioTag=function(e){return!!window.HTMLAudioElement&&e instanceof HTMLAudioElement},e.isVideoTag=function(e){return!!window.HTMLVideoElement&&e instanceof HTMLVideoElement},e.isText=function(e){switch(e){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:case createjs.AbstractLoader.SPRITESHEET:return!0;default:return!1}},e.getTypeByExtension=function(e){if(null==e)return createjs.AbstractLoader.TEXT;switch(e.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.AbstractLoader.IMAGE;case"ogg":case"mp3":case"webm":return createjs.AbstractLoader.SOUND;case"mp4":case"webm":case"ts":return createjs.AbstractLoader.VIDEO;case"json":return createjs.AbstractLoader.JSON;case"xml":return createjs.AbstractLoader.XML;case"css":return createjs.AbstractLoader.CSS;case"js":return createjs.AbstractLoader.JAVASCRIPT;case"svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=e}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=i,this.resultFormatter=null,this._item=e?createjs.LoadItem.create(e):null,this._preferXHR=t,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var t=createjs.extend(e,createjs.EventDispatcher),i=e;i.POST="POST",i.GET="GET",i.BINARY="binary",i.CSS="css",i.IMAGE="image",i.JAVASCRIPT="javascript",i.JSON="json",i.JSONP="jsonp",i.MANIFEST="manifest",i.SOUND="sound",i.VIDEO="video",i.SPRITESHEET="spritesheet",i.SVG="svg",i.TEXT="text",i.XML="xml",t.getItem=function(){return this._item},t.getResult=function(e){return e?this._rawResult:this._result},t.getTag=function(){return this._tag},t.setTag=function(e){this._tag=e},t.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var e=new createjs.Event("initialize");e.loader=this._request,this.dispatchEvent(e),this._request.load()},t.cancel=function(){this.canceled=!0,this.destroy()},t.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},t.getLoadedItems=function(){return this._loadedItems},t._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},t._createTag=function(){return null},t._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},t._sendProgress=function(e){if(!this._isCanceled()){var t=null;"number"==typeof e?(this.progress=e,t=new createjs.ProgressEvent(this.progress)):(t=e,this.progress=e.loaded/e.total,t.progress=this.progress,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(t)}},t._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var e=new createjs.Event("complete");e.rawResult=this._rawResult,null!=this._result&&(e.result=this._result),this.dispatchEvent(e)}},t._sendError=function(e){!this._isCanceled()&&this.hasEventListener("error")&&(null==e&&(e=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(e))},t._isCanceled=function(){return!(null!=window.createjs&&!this.canceled)},t.resultFormatter=null,t.handleEvent=function(e){switch(e.type){case"complete":this._rawResult=e.target._response;var t=this.resultFormatter&&this.resultFormatter(this);t instanceof Function?t.call(this,createjs.proxy(this._resultFormatSuccess,this),createjs.proxy(this._resultFormatFailed,this)):(this._result=t||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(e);break;case"error":this._sendError(e);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_"+e.type.toUpperCase()+"_ERROR"))}},t._resultFormatSuccess=function(e){this._result=e,this._sendComplete()},t._resultFormatFailed=function(e){this._sendError(e)},t.buildPath=function(e,t){return createjs.RequestUtils.buildPath(e,t)},t.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(e,"EventDispatcher")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.AbstractLoader_constructor(e,t,i),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.on("initialize",this._updateXHR,this)}var t=createjs.extend(e,createjs.AbstractLoader);t.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},t._createTag=function(){},t._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},t._updateXHR=function(e){e.loader.setResponseType&&e.loader.setResponseType("blob")},t._formatResult=function(e){if(this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR){var t=window.URL||window.webkitURL,i=e.getResult(!0);e.getTag().src=t.createObjectURL(i)}return e.getTag()},createjs.AbstractMediaLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){var e=function(e){this._item=e},t=createjs.extend(e,createjs.EventDispatcher);t.load=function(){},t.destroy=function(){},t.cancel=function(){},createjs.AbstractRequest=createjs.promote(e,"EventDispatcher")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.AbstractRequest_constructor(e),this._tag=t,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var t=createjs.extend(e,createjs.AbstractRequest);t.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this),this._tag.onerror=createjs.proxy(this._handleError,this);var e=new createjs.Event("initialize");e.loader=this._tag,this.dispatchEvent(e),this._hideTag(),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag[this._tagSrcAttribute]=this._item.src,null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0)},t.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},t._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var e=this._tag;("loaded"==e.readyState||"complete"==e.readyState)&&this._handleTagComplete()},t._handleError=function(){this._clean(),this.dispatchEvent("error")},t._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent("complete")},t._handleTimeout=function(){this._clean(),this.dispatchEvent(new createjs.Event("timeout"))},t._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._tag.onerror=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag),clearTimeout(this._loadTimeout)},t._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility="hidden"},t._showTag=function(){this._tag.style.visibility=this._startTagVisibility},t._handleStalled=function(){},createjs.TagRequest=createjs.promote(e,"AbstractRequest")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.AbstractRequest_constructor(e),this._tag=t,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var t=createjs.extend(e,createjs.TagRequest);t.load=function(){var e=createjs.proxy(this._handleStalled,this);this._stalledCallback=e;var t=createjs.proxy(this._handleProgress,this);this._handleProgress=t,this._tag.addEventListener("stalled",e),this._tag.addEventListener("progress",t),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},t._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var e=this._tag;("loaded"==e.readyState||"complete"==e.readyState)&&this._handleTagComplete()},t._handleStalled=function(){},t._handleProgress=function(e){if(e&&!(e.loaded>0&&0==e.total)){var t=new createjs.ProgressEvent(e.loaded,e.total);this.dispatchEvent(t)}},t._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.removeEventListener("stalled",this._stalledCallback),this._tag.removeEventListener("progress",this._progressCallback),this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(e,"TagRequest")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractRequest_constructor(e),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),this._createXHR(e)}var t=createjs.extend(e,createjs.AbstractRequest);e.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],t.getResult=function(e){return e&&this._rawResponse?this._rawResponse:this._response},t.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},t.load=function(){if(null==this._request)return void this._handleError();null!=this._request.addEventListener?(this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1)):(this._request.onloadstart=this._handleLoadStartProxy,this._request.onprogress=this._handleProgressProxy,this._request.onabort=this._handleAbortProxy,this._request.onerror=this._handleErrorProxy,this._request.ontimeout=this._handleTimeoutProxy,this._request.onload=this._handleLoadProxy,this._request.onreadystatechange=this._handleReadyStateChangeProxy),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(e){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,e))}},t.setResponseType=function(e){"blob"===e&&(e=window.URL?"blob":"arraybuffer",this._responseType=e),this._request.responseType=e},t.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},t.getResponseHeader=function(e){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(e):null},t._handleProgress=function(e){if(e&&!(e.loaded>0&&0==e.total)){var t=new createjs.ProgressEvent(e.loaded,e.total);this.dispatchEvent(t)}},t._handleLoadStart=function(){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},t._handleAbort=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,e))},t._handleError=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(e.message))},t._handleReadyStateChange=function(){4==this._request.readyState&&this._handleLoad()},t._handleLoad=function(){if(!this.loaded){this.loaded=!0;var e=this._checkError();if(e)return void this._handleError(e);if(this._response=this._getResponse(),"arraybuffer"===this._responseType)try{this._response=new Blob([this._response])}catch(e){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"===e.name&&window.BlobBuilder){var t=new BlobBuilder;t.append(this._response),this._response=t.getBlob()}}this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},t._handleTimeout=function(e){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,e))},t._checkError=function(){var e=parseInt(this._request.status);switch(e){case 404:case 0:return new Error(e)}return null},t._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(e){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(e){}return null},t._createXHR=function(e){var t=createjs.RequestUtils.isCrossDomain(e),i={},r=null;if(window.XMLHttpRequest)r=new XMLHttpRequest,t&&void 0===r.withCredentials&&window.XDomainRequest&&(r=new XDomainRequest);else{for(var n=0,a=s.ACTIVEX_VERSIONS.length;a>n;n++){var o=s.ACTIVEX_VERSIONS[n];try{r=new ActiveXObject(o);break}catch(e){}}if(null==r)return!1}null==e.mimeType&&createjs.RequestUtils.isText(e.type)&&(e.mimeType="text/plain; charset=utf-8"),e.mimeType&&r.overrideMimeType&&r.overrideMimeType(e.mimeType),this._xhrLevel="string"==typeof r.responseType?2:1;var l=null;if(l=e.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(e.src,e.values):e.src,r.open(e.method||createjs.AbstractLoader.GET,l,!0),t&&r instanceof XMLHttpRequest&&1==this._xhrLevel&&(i.Origin=location.origin),e.values&&e.method==createjs.AbstractLoader.POST&&(i["Content-Type"]="application/x-www-form-urlencoded"),t||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),e.headers)for(var c in e.headers)i[c]=e.headers[c];for(c in i)r.setRequestHeader(c,i[c]);return r instanceof XMLHttpRequest&&void 0!==e.withCredentials&&(r.withCredentials=e.withCredentials),this._request=r,!0},t._clean=function(){clearTimeout(this._loadTimeout),null!=this._request.removeEventListener?(this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)):(this._request.onloadstart=null,this._request.onprogress=null,this._request.onabort=null,this._request.onerror=null,this._request.ontimeout=null,this._request.onload=null,this._request.onreadystatechange=null)},t.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(e,"AbstractRequest")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t,i){this.AbstractLoader_constructor(),this._plugins=[],this._typeCallbacks={},this._extensionCallbacks={},this.next=null,this.maintainScriptOrder=!0,this.stopOnError=!1,this._maxConnections=1,this._availableLoaders=[createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,createjs.TextLoader],this._defaultLoaderLength=this._availableLoaders.length,this.init(e,t,i)}var t=createjs.extend(e,createjs.AbstractLoader),i=e;t.init=function(e,t,i){this.useXHR=!0,this.preferXHR=!0,this._preferXHR=!0,this.setPreferXHR(e),this._paused=!1,this._basePath=t,this._crossOrigin=i,this._loadStartWasDispatched=!1,this._currentlyLoadingScript=null,this._currentLoads=[],this._loadQueue=[],this._loadQueueBackup=[],this._loadItemsById={},this._loadItemsBySrc={},this._loadedResults={},this._loadedRawResults={},this._numItems=0,this._numItemsLoaded=0,this._scriptOrder=[],this._loadedScripts=[],this._lastProgress=NaN},i.loadTimeout=8e3,i.LOAD_TIMEOUT=0,i.BINARY=createjs.AbstractLoader.BINARY,i.CSS=createjs.AbstractLoader.CSS,i.IMAGE=createjs.AbstractLoader.IMAGE,i.JAVASCRIPT=createjs.AbstractLoader.JAVASCRIPT,i.JSON=createjs.AbstractLoader.JSON,i.JSONP=createjs.AbstractLoader.JSONP,i.MANIFEST=createjs.AbstractLoader.MANIFEST,i.SOUND=createjs.AbstractLoader.SOUND,i.VIDEO=createjs.AbstractLoader.VIDEO,i.SVG=createjs.AbstractLoader.SVG,i.TEXT=createjs.AbstractLoader.TEXT,i.XML=createjs.AbstractLoader.XML,i.POST=createjs.AbstractLoader.POST,i.GET=createjs.AbstractLoader.GET,t.registerLoader=function(e){if(!e||!e.canLoadItem)throw new Error("loader is of an incorrect type.");if(-1!=this._availableLoaders.indexOf(e))throw new Error("loader already exists.");this._availableLoaders.unshift(e)},t.unregisterLoader=function(e){var t=this._availableLoaders.indexOf(e);-1!=t&&t<this._defaultLoaderLength-1&&this._availableLoaders.splice(t,1)},t.setUseXHR=function(e){return this.setPreferXHR(e)},t.setPreferXHR=function(e){return this.preferXHR=0!=e&&null!=window.XMLHttpRequest,this.preferXHR},t.removeAll=function(){this.remove()},t.remove=function(e){var t=null;if(e&&!Array.isArray(e))t=[e];else if(e)t=e;else if(arguments.length>0)return;var i=!1;if(t){for(;t.length;){var r=t.pop(),n=this.getResult(r);for(s=this._loadQueue.length-1;s>=0;s--)if(a=this._loadQueue[s].getItem(),a.id==r||a.src==r){this._loadQueue.splice(s,1)[0].cancel();break}for(s=this._loadQueueBackup.length-1;s>=0;s--)if(a=this._loadQueueBackup[s].getItem(),a.id==r||a.src==r){this._loadQueueBackup.splice(s,1)[0].cancel();break}if(n)this._disposeItem(this.getItem(r));else for(var s=this._currentLoads.length-1;s>=0;s--){var a=this._currentLoads[s].getItem();if(a.id==r||a.src==r){this._currentLoads.splice(s,1)[0].cancel(),i=!0;break}}}i&&this._loadNext()}else{this.close();for(var o in this._loadItemsById)this._disposeItem(this._loadItemsById[o]);this.init(this.preferXHR,this._basePath)}},t.reset=function(){this.close();for(var e in this._loadItemsById)this._disposeItem(this._loadItemsById[e]);for(var t=[],i=0,r=this._loadQueueBackup.length;r>i;i++)t.push(this._loadQueueBackup[i].getItem());this.loadManifest(t,!1)},t.installPlugin=function(e){if(null!=e&&null!=e.getPreloadHandlers){this._plugins.push(e);var t=e.getPreloadHandlers();if(t.scope=e,null!=t.types)for(var i=0,r=t.types.length;r>i;i++)this._typeCallbacks[t.types[i]]=t;if(null!=t.extensions)for(i=0,r=t.extensions.length;r>i;i++)this._extensionCallbacks[t.extensions[i]]=t}},t.setMaxConnections=function(e){this._maxConnections=e,!this._paused&&this._loadQueue.length>0&&this._loadNext()},t.loadFile=function(e,t,i){if(null==e){var r=new createjs.ErrorEvent("PRELOAD_NO_FILE");return void this._sendError(r)}this._addItem(e,null,i),this.setPaused(!1===t)},t.loadManifest=function(e,t,r){var n=null,s=null;if(Array.isArray(e)){if(0==e.length){var a=new createjs.ErrorEvent("PRELOAD_MANIFEST_EMPTY");return void this._sendError(a)}n=e}else if("string"==typeof e)n=[{src:e,type:i.MANIFEST}];else{if("object"!=(void 0===e?"undefined":y(e))){var a=new createjs.ErrorEvent("PRELOAD_MANIFEST_NULL");return void this._sendError(a)}if(void 0!==e.src){if(null==e.type)e.type=i.MANIFEST;else if(e.type!=i.MANIFEST){var a=new createjs.ErrorEvent("PRELOAD_MANIFEST_TYPE");this._sendError(a)}n=[e]}else void 0!==e.manifest&&(n=e.manifest,s=e.path)}for(var o=0,l=n.length;l>o;o++)this._addItem(n[o],s,r);this.setPaused(!1===t)},t.load=function(){this.setPaused(!1)},t.getItem=function(e){return this._loadItemsById[e]||this._loadItemsBySrc[e]},t.getResult=function(e,t){var i=this._loadItemsById[e]||this._loadItemsBySrc[e];if(null==i)return null;var r=i.id;return t&&this._loadedRawResults[r]?this._loadedRawResults[r]:this._loadedResults[r]},t.getItems=function(e){var t=[];for(var i in this._loadItemsById){var r=this._loadItemsById[i],n=this.getResult(i);(!0!==e||null!=n)&&t.push({item:r,result:n,rawResult:this.getResult(i,!0)})}return t},t.setPaused=function(e){this._paused=e,this._paused||this._loadNext()},t.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0,this._loadedScripts.length=0,this.loadStartWasDispatched=!1,this._itemCount=0,this._lastProgress=NaN},t._addItem=function(e,t,i){var r=this._createLoadItem(e,t,i);if(null!=r){var n=this._createLoader(r);null!=n&&("plugins"in n&&(n.plugins=this._plugins),r._loader=n,this._loadQueue.push(n),this._loadQueueBackup.push(n),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&r.type==createjs.LoadQueue.JAVASCRIPT||!0===r.maintainOrder)&&(this._scriptOrder.push(r),this._loadedScripts.push(null)))}},t._createLoadItem=function(e,t,i){var r=createjs.LoadItem.create(e);if(null==r)return null;var n="",s=i||this._basePath;if(r.src instanceof Object){if(!r.type)return null;if(t){n=t;var a=createjs.RequestUtils.parseURI(t);null==s||a.absolute||a.relative||(n=s+n)}else null!=s&&(n=s)}else{var o=createjs.RequestUtils.parseURI(r.src);o.extension&&(r.ext=o.extension),null==r.type&&(r.type=createjs.RequestUtils.getTypeByExtension(r.ext));var l=r.src;if(!o.absolute&&!o.relative)if(t){n=t;var a=createjs.RequestUtils.parseURI(t);l=t+l,null==s||a.absolute||a.relative||(n=s+n)}else null!=s&&(n=s);r.src=n+r.src}r.path=n,(void 0===r.id||null===r.id||""===r.id)&&(r.id=l);var c=this._typeCallbacks[r.type]||this._extensionCallbacks[r.ext];if(c){var u=c.callback.call(c.scope,r,this);if(!1===u)return null;!0===u||null!=u&&(r._loader=u),o=createjs.RequestUtils.parseURI(r.src),null!=o.extension&&(r.ext=o.extension)}return this._loadItemsById[r.id]=r,this._loadItemsBySrc[r.src]=r,null==r.crossOrigin&&(r.crossOrigin=this._crossOrigin),r},t._createLoader=function(e){if(null!=e._loader)return e._loader;for(var t=this.preferXHR,i=0;i<this._availableLoaders.length;i++){var r=this._availableLoaders[i];if(r&&r.canLoadItem(e))return new r(e,t)}return null},t._loadNext=function(){if(!this._paused){this._loadStartWasDispatched||(this._sendLoadStart(),this._loadStartWasDispatched=!0),this._numItems==this._numItemsLoaded?(this.loaded=!0,this._sendComplete(),this.next&&this.next.load&&this.next.load()):this.loaded=!1;for(var e=0;e<this._loadQueue.length&&!(this._currentLoads.length>=this._maxConnections);e++){var t=this._loadQueue[e];this._canStartLoad(t)&&(this._loadQueue.splice(e,1),e--,this._loadItem(t))}}},t._loadItem=function(e){e.on("fileload",this._handleFileLoad,this),e.on("progress",this._handleProgress,this),e.on("complete",this._handleFileComplete,this),e.on("error",this._handleError,this),e.on("fileerror",this._handleFileError,this),this._currentLoads.push(e),this._sendFileStart(e.getItem()),e.load()},t._handleFileLoad=function(e){e.target=null,this.dispatchEvent(e)},t._handleFileError=function(e){var t=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,e.item);this._sendError(t)},t._handleError=function(e){var t=e.target;this._numItemsLoaded++,this._finishOrderedItem(t,!0),this._updateProgress();var i=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,t.getItem());this._sendError(i),this.stopOnError?this.setPaused(!0):(this._removeLoadItem(t),this._cleanLoadItem(t),this._loadNext())},t._handleFileComplete=function(e){var t=e.target,i=t.getItem(),r=t.getResult();this._loadedResults[i.id]=r;var n=t.getResult(!0);null!=n&&n!==r&&(this._loadedRawResults[i.id]=n),this._saveLoadedItems(t),this._removeLoadItem(t),this._finishOrderedItem(t)||this._processFinishedLoad(i,t),this._cleanLoadItem(t)},t._saveLoadedItems=function(e){var t=e.getLoadedItems();if(null!==t)for(var i=0;i<t.length;i++){var r=t[i].item;this._loadItemsBySrc[r.src]=r,this._loadItemsById[r.id]=r,this._loadedResults[r.id]=t[i].result,this._loadedRawResults[r.id]=t[i].rawResult}},t._finishOrderedItem=function(e,t){var i=e.getItem();if(this.maintainScriptOrder&&i.type==createjs.LoadQueue.JAVASCRIPT||i.maintainOrder){e instanceof createjs.JavaScriptLoader&&(this._currentlyLoadingScript=!1);var r=createjs.indexOf(this._scriptOrder,i);return-1!=r&&(this._loadedScripts[r]=!0===t||i,this._checkScriptLoadOrder(),!0)}return!1},t._checkScriptLoadOrder=function(){for(var e=this._loadedScripts.length,t=0;e>t;t++){var i=this._loadedScripts[t];if(null===i)break;if(!0!==i){var r=this._loadedResults[i.id];i.type==createjs.LoadQueue.JAVASCRIPT&&createjs.DomUtils.appendToHead(r);var n=i._loader;this._processFinishedLoad(i,n),this._loadedScripts[t]=!0}}},t._processFinishedLoad=function(e,t){if(this._numItemsLoaded++,!this.maintainScriptOrder&&e.type==createjs.LoadQueue.JAVASCRIPT){var i=t.getTag();createjs.DomUtils.appendToHead(i)}this._updateProgress(),this._sendFileComplete(e,t),this._loadNext()},t._canStartLoad=function(e){if(!this.maintainScriptOrder||e.preferXHR)return!0;var t=e.getItem();if(t.type!=createjs.LoadQueue.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;for(var i=this._scriptOrder.indexOf(t),r=0;i>r;){if(null==this._loadedScripts[r])return!1;r++}return this._currentlyLoadingScript=!0,!0},t._removeLoadItem=function(e){for(var t=this._currentLoads.length,i=0;t>i;i++)if(this._currentLoads[i]==e){this._currentLoads.splice(i,1);break}},t._cleanLoadItem=function(e){var t=e.getItem();t&&delete t._loader},t._handleProgress=function(e){var t=e.target;this._sendFileProgress(t.getItem(),t.progress),this._updateProgress()},t._updateProgress=function(){var e=this._numItemsLoaded/this._numItems,t=this._numItems-this._numItemsLoaded;if(t>0){for(var i=0,r=0,n=this._currentLoads.length;n>r;r++)i+=this._currentLoads[r].progress;e+=i/t*(t/this._numItems)}this._lastProgress!=e&&(this._sendProgress(e),this._lastProgress=e)},t._disposeItem=function(e){delete this._loadedResults[e.id],delete this._loadedRawResults[e.id],delete this._loadItemsById[e.id],delete this._loadItemsBySrc[e.src]},t._sendFileProgress=function(e,t){if(!this._isCanceled()&&!this._paused&&this.hasEventListener("fileprogress")){var i=new createjs.Event("fileprogress");i.progress=t,i.loaded=t,i.total=1,i.item=e,this.dispatchEvent(i)}},t._sendFileComplete=function(e,t){if(!this._isCanceled()&&!this._paused){var i=new createjs.Event("fileload");i.loader=t,i.item=e,i.result=this._loadedResults[e.id],i.rawResult=this._loadedRawResults[e.id],e.completeHandler&&e.completeHandler(i),this.hasEventListener("fileload")&&this.dispatchEvent(i)}},t._sendFileStart=function(e){var t=new createjs.Event("filestart");t.item=e,this.hasEventListener("filestart")&&this.dispatchEvent(t)},t.toString=function(){return"[PreloadJS LoadQueue]"},createjs.LoadQueue=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.TEXT)}(createjs.extend(e,createjs.AbstractLoader),e).canLoadItem=function(e){return e.type==createjs.AbstractLoader.TEXT},createjs.TextLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.BINARY),this.on("initialize",this._updateXHR,this)}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.BINARY},t._updateXHR=function(e){e.loader.setResponseType("arraybuffer")},createjs.BinaryLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.CSS),this.resultFormatter=this._formatResult,this._tagSrcAttribute="href",this._tag=document.createElement(t?"style":"link"),this._tag.rel="stylesheet",this._tag.type="text/css"}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.CSS},t._formatResult=function(e){if(this._preferXHR){var t=e.getTag();if(t.styleSheet)t.styleSheet.cssText=e.getResult(!0);else{var i=document.createTextNode(e.getResult(!0));t.appendChild(i)}}else t=this._tag;return createjs.DomUtils.appendToHead(t),t},createjs.CSSLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.IMAGE),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",createjs.RequestUtils.isImageTag(e)?this._tag=e:createjs.RequestUtils.isImageTag(e.src)?this._tag=e.src:createjs.RequestUtils.isImageTag(e.tag)&&(this._tag=e.tag),null!=this._tag?this._preferXHR=!1:this._tag=document.createElement("img"),this.on("initialize",this._updateXHR,this)}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.IMAGE},t.load=function(){if(""!=this._tag.src&&this._tag.complete)return void this._sendComplete();var e=this._item.crossOrigin;1==e&&(e="Anonymous"),null==e||createjs.RequestUtils.isLocal(this._item.src)||(this._tag.crossOrigin=e),this.AbstractLoader_load()},t._updateXHR=function(e){e.loader.mimeType="text/plain; charset=x-user-defined-binary",e.loader.setResponseType&&e.loader.setResponseType("blob")},t._formatResult=function(){return this._formatImage},t._formatImage=function(e,t){var i=this._tag,r=window.URL||window.webkitURL;if(this._preferXHR)if(r){var n=r.createObjectURL(this.getResult(!0));i.src=n,i.addEventListener("load",this._cleanUpURL,!1),i.addEventListener("error",this._cleanUpURL,!1)}else i.src=this._item.src;i.complete?e(i):(i.onload=createjs.proxy(function(){e(this._tag)},this),i.onerror=createjs.proxy(function(){t(_this._tag)},this))},t._cleanUpURL=function(e){(window.URL||window.webkitURL).revokeObjectURL(e.target.src)},createjs.ImageLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.JAVASCRIPT),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.setTag(document.createElement("script"))}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JAVASCRIPT},t._formatResult=function(e){var t=e.getTag();return this._preferXHR&&(t.text=e.getResult(!0)),t},createjs.JavaScriptLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.JSON),this.resultFormatter=this._formatResult}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JSON},t._formatResult=function(e){var t=null;try{t=createjs.DataUtils.parseJSON(e.getResult(!0))}catch(e){var i=new createjs.ErrorEvent("JSON_FORMAT",null,e);return this._sendError(i),e}return t},createjs.JSONLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!1,createjs.AbstractLoader.JSONP),this.setTag(document.createElement("script")),this.getTag().type="text/javascript"}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.JSONP},t.cancel=function(){this.AbstractLoader_cancel(),this._dispose()},t.load=function(){if(null==this._item.callback)throw new Error("callback is required for loading JSONP requests.");if(null!=window[this._item.callback])throw new Error("JSONP callback '"+this._item.callback+"' already exists on window. You need to specify a different callback or re-name the current one.");window[this._item.callback]=createjs.proxy(this._handleLoad,this),window.document.body.appendChild(this._tag),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag.src=this._item.src},t._handleLoad=function(e){this._result=this._rawResult=e,this._sendComplete(),this._dispose()},t._handleTimeout=function(){this._dispose(),this.dispatchEvent(new createjs.ErrorEvent("timeout"))},t._dispose=function(){window.document.body.removeChild(this._tag),delete window[this._item.callback],clearTimeout(this._loadTimeout)},createjs.JSONPLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,null,createjs.AbstractLoader.MANIFEST),this.plugins=null,this._manifestQueue=null}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.MANIFEST_PROGRESS=.25,i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.MANIFEST},t.load=function(){this.AbstractLoader_load()},t._createRequest=function(){var e=this._item.callback;this._request=null!=e?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},t.handleEvent=function(e){switch(e.type){case"complete":return this._rawResult=e.target.getResult(!0),this._result=e.target.getResult(),this._sendProgress(i.MANIFEST_PROGRESS),void this._loadManifest(this._result);case"progress":return e.loaded*=i.MANIFEST_PROGRESS,this.progress=e.loaded/e.total,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0),void this._sendProgress(e)}this.AbstractLoader_handleEvent(e)},t.destroy=function(){this.AbstractLoader_destroy(),this._manifestQueue.close()},t._loadManifest=function(e){if(e&&e.manifest){var t=this._manifestQueue=new createjs.LoadQueue;t.on("fileload",this._handleManifestFileLoad,this),t.on("progress",this._handleManifestProgress,this),t.on("complete",this._handleManifestComplete,this,!0),t.on("error",this._handleManifestError,this,!0);for(var i=0,r=this.plugins.length;r>i;i++)t.installPlugin(this.plugins[i]);t.loadManifest(e)}else this._sendComplete()},t._handleManifestFileLoad=function(e){e.target=null,this.dispatchEvent(e)},t._handleManifestComplete=function(){this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},t._handleManifestProgress=function(e){this.progress=e.progress*(1-i.MANIFEST_PROGRESS)+i.MANIFEST_PROGRESS,this._sendProgress(this.progress)},t._handleManifestError=function(e){var t=new createjs.Event("fileerror");t.item=e.data,this.dispatchEvent(t)},createjs.ManifestLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractMediaLoader_constructor(e,t,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(e)?this._tag=e:createjs.RequestUtils.isAudioTag(e.src)?this._tag=e:createjs.RequestUtils.isAudioTag(e.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(e)?e:e.src),null!=this._tag&&(this._preferXHR=!1)}var t=createjs.extend(e,createjs.AbstractMediaLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SOUND},t._createTag=function(e){var t=document.createElement("audio");return t.autoplay=!1,t.preload="none",t.src=e,t},createjs.SoundLoader=createjs.promote(e,"AbstractMediaLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractMediaLoader_constructor(e,t,createjs.AbstractLoader.VIDEO),createjs.RequestUtils.isVideoTag(e)||createjs.RequestUtils.isVideoTag(e.src)?(this.setTag(createjs.RequestUtils.isVideoTag(e)?e:e.src),this._preferXHR=!1):this.setTag(this._createTag())}var t=createjs.extend(e,createjs.AbstractMediaLoader),i=e;t._createTag=function(){return document.createElement("video")},i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.VIDEO},createjs.VideoLoader=createjs.promote(e,"AbstractMediaLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.SPRITESHEET),this._manifestQueue=null}var t=createjs.extend(e,createjs.AbstractLoader),i=e;i.SPRITESHEET_PROGRESS=.25,i.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SPRITESHEET},t.destroy=function(){this.AbstractLoader_destroy,this._manifestQueue.close()},t._createRequest=function(){var e=this._item.callback;this._request=null!=e?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},t.handleEvent=function(e){switch(e.type){case"complete":return this._rawResult=e.target.getResult(!0),this._result=e.target.getResult(),this._sendProgress(i.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case"progress":return e.loaded*=i.SPRITESHEET_PROGRESS,this.progress=e.loaded/e.total,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0),void this._sendProgress(e)}this.AbstractLoader_handleEvent(e)},t._loadManifest=function(e){if(e&&e.images){var t=this._manifestQueue=new createjs.LoadQueue(this._preferXHR,this._item.path,this._item.crossOrigin);t.on("complete",this._handleManifestComplete,this,!0),t.on("fileload",this._handleManifestFileLoad,this),t.on("progress",this._handleManifestProgress,this),t.on("error",this._handleManifestError,this,!0),t.loadManifest(e.images)}},t._handleManifestFileLoad=function(e){var t=e.result;if(null!=t){var i=this.getResult().images;i[i.indexOf(e.item.src)]=t}},t._handleManifestComplete=function(){this._result=new createjs.SpriteSheet(this._result),this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},t._handleManifestProgress=function(e){this.progress=e.progress*(1-i.SPRITESHEET_PROGRESS)+i.SPRITESHEET_PROGRESS,this._sendProgress(this.progress)},t._handleManifestError=function(e){var t=new createjs.Event("fileerror");t.item=e.data,this.dispatchEvent(t)},createjs.SpriteSheetLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e,t){this.AbstractLoader_constructor(e,t,createjs.AbstractLoader.SVG),this.resultFormatter=this._formatResult,this._tagSrcAttribute="data",t?this.setTag(document.createElement("svg")):(this.setTag(document.createElement("object")),this.getTag().type="image/svg+xml")}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.SVG},t._formatResult=function(e){var t=createjs.DataUtils.parseXML(e.getResult(!0),"text/xml"),i=e.getTag();return!this._preferXHR&&document.body.contains(i)&&document.body.removeChild(i),null!=t.documentElement?(i.appendChild(t.documentElement),i.style.visibility="visible",i):t},createjs.SVGLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(e){this.AbstractLoader_constructor(e,!0,createjs.AbstractLoader.XML),this.resultFormatter=this._formatResult}var t=createjs.extend(e,createjs.AbstractLoader);e.canLoadItem=function(e){return e.type==createjs.AbstractLoader.XML},t._formatResult=function(e){return createjs.DataUtils.parseXML(e.getResult(!0),"text/xml")},createjs.XMLLoader=createjs.promote(e,"AbstractLoader")}(),(void 0).createjs=(void 0).createjs||{},function(){function e(){this._listeners=null,this._captureListeners=null}var t=e.prototype;e.initialize=function(e){e.addEventListener=t.addEventListener,e.on=t.on,e.removeEventListener=e.off=t.removeEventListener,e.removeAllEventListeners=t.removeAllEventListeners,e.hasEventListener=t.hasEventListener,e.dispatchEvent=t.dispatchEvent,e._dispatchEvent=t._dispatchEvent,e.willTrigger=t.willTrigger},t.addEventListener=function(e,t,i){var r;r=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var n=r[e];return n&&this.removeEventListener(e,t,i),n=r[e],n?n.push(t):r[e]=[t],t},t.on=function(e,t,i,r,n,s){return t.handleEvent&&(i=i||t,t=t.handleEvent),i=i||this,this.addEventListener(e,function(e){t.call(i,e,n),r&&e.remove()},s)},t.removeEventListener=function(e,t,i){var r=i?this._captureListeners:this._listeners;if(r){var n=r[e];if(n)for(var s=0,a=n.length;s<a;s++)if(n[s]==t){1==a?delete r[e]:n.splice(s,1);break}}},t.off=t.removeEventListener,t.removeAllEventListeners=function(e){e?(this._listeners&&delete this._listeners[e],this._captureListeners&&delete this._captureListeners[e]):this._listeners=this._captureListeners=null},t.dispatchEvent=function(e,t,i){if("string"==typeof e){var r=this._listeners;if(!(t||r&&r[e]))return!0;e=new createjs.Event(e,t,i)}else e.target&&e.clone&&(e=e.clone());try{e.target=this}catch(e){}if(e.bubbles&&this.parent){for(var n=this,s=[n];n.parent;)s.push(n=n.parent);var a,o=s.length;for(a=o-1;a>=0&&!e.propagationStopped;a--)s[a]._dispatchEvent(e,1+(0==a));for(a=1;a<o&&!e.propagationStopped;a++)s[a]._dispatchEvent(e,3)}else this._dispatchEvent(e,2);return!e.defaultPrevented},t.hasEventListener=function(e){var t=this._listeners,i=this._captureListeners;return!!(t&&t[e]||i&&i[e])},t.willTrigger=function(e){for(var t=this;t;){if(t.hasEventListener(e))return!0;t=t.parent}return!1},t.toString=function(){return"[EventDispatcher]"},t._dispatchEvent=function(e,t){var i,r=1==t?this._captureListeners:this._listeners;if(e&&r){var n=r[e.type];if(!n||!(i=n.length))return;try{e.currentTarget=this}catch(e){}try{e.eventPhase=t}catch(e){}e.removed=!1,n=n.slice();for(var s=0;s<i&&!e.immediatePropagationStopped;s++){var a=n[s];a.handleEvent?a.handleEvent(e):a(e),e.removed&&(this.off(e.type,a,1==t),e.removed=!1)}}},createjs.EventDispatcher=e}();/*!
+* VERSION: 1.19.1
+* DATE: 2017-01-17
+* UPDATES AND DOCS AT: http://greensock.com
+*
+* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
+*
+* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
+* This work is subject to the terms at http://greensock.com/standard-license or for
+* Club GreenSock members, the software agreement that was issued with your membership.
+*
+* @author: Jack Doyle, jack@greensock.com
+**/
+var M=void 0!==e&&e.exports&&void 0!==r?r:window;(M._gsQueue||(M._gsQueue=[])).push(function(){M._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,i){var r=function(e){var t,i=[],r=e.length;for(t=0;t!==r;i.push(e[t++]));return i},n=function(e,t,i){var r,n,s=e.cycle;for(r in s)n=s[r],e[r]="function"==typeof n?n(i,t[i]):n[i%n.length];delete e.cycle},s=function e(t,r,n){i.call(this,t,r,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=e.prototype.render},a=1e-10,o=i._internals,l=o.isSelector,c=o.isArray,u=s.prototype=i.to({},.1,{}),d=[];s.version="1.19.1",u.constructor=s,u.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=i.killTweensOf,s.getTweensOf=i.getTweensOf,s.lagSmoothing=i.lagSmoothing,s.ticker=i.ticker,s.render=i.render,u.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},u.updateTo=function(e,t){var r,n=this.ratio,s=this.vars.immediateRender||e.immediateRender;t&&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));for(r in e)this.vars[r]=e[r];if(this._initted||s)if(t)this._initted=!1,s&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||s)for(var o,l=1/(1-n),c=this._firstPT;c;)o=c.s+c.c,c.c*=l,c.s=o-c.c,c=c._next;return this},u.render=function(e,t,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,n,s,l,c,u,d,h,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._totalTime,g=this._cycle,v=this._duration,_=this._rawPrevTime;if(e>=p-1e-7&&e>=0?(this._totalTime=p,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=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,n="onComplete",i=i||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(0>_||0>=e&&e>=-1e-7||_===a&&"isPause"!==this.data)&&_!==e&&(i=!0,_>a&&(n="onReverseComplete")),this._rawPrevTime=h=!t||e||_===e?e:a)):1e-7>e?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===v&&_>0)&&(n="onReverseComplete",r=this._reversed),0>e&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(_>=0&&(i=!0),this._rawPrevTime=h=!t||e||_===e?e:a)),this._initted||(i=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(l=v+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&e>=m&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType?(c=this._time/v,u=this._easeType,d=this._easePower,(1===u||3===u&&c>=.5)&&(c=1-c),3===u&&(c*=2),1===d?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),1===u?this.ratio=1-c:2===u?this.ratio=c:this._time/v<.5?this.ratio=c/2:this.ratio=1-c/2):this.ratio=this._ease.getRatio(this._time/v)),f===this._time&&!i&&g===this._cycle)return void(m!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate")));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=m,this._rawPrevTime=_,this._cycle=g,o.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/v):r&&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!==f&&e>=0&&(this._active=!0),0===m&&(2===this._initted&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,t,i):n||(n="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===v)&&(t||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>e&&this._startAt&&this._startTime&&this._startAt.render(e,t,i),t||(this._totalTime!==m||n)&&this._callback("onUpdate")),this._cycle!==g&&(t||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),n&&(!this._gc||i)&&(0>e&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[n]&&this._callback(n),0===v&&this._rawPrevTime===a&&h!==a&&(this._rawPrevTime=0))},s.to=function(e,t,i){return new s(e,t,i)},s.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(e,t,i)},s.fromTo=function(e,t,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new s(e,t,r)},s.staggerTo=s.allTo=function(e,t,a,o,u,h,p){o=o||0;var f,m,g,v,_=0,y=[],w=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),u.apply(p||a.callbackScope||this,h||d)},b=a.cycle,x=a.startAt&&a.startAt.cycle;for(c(e)||("string"==typeof e&&(e=i.selector(e)||e),l(e)&&(e=r(e))),e=e||[],0>o&&(e=r(e),e.reverse(),o*=-1),f=e.length-1,g=0;f>=g;g++){m={};for(v in a)m[v]=a[v];if(b&&(n(m,e,g),null!=m.duration&&(t=m.duration,delete m.duration)),x){x=m.startAt={};for(v in a.startAt)x[v]=a.startAt[v];n(m.startAt,e,g)}m.delay=_+(m.delay||0),g===f&&u&&(m.onComplete=w),y[g]=new s(e[g],t,m),_+=o}return y},s.staggerFrom=s.allFrom=function(e,t,i,r,n,a,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(e,t,i,r,n,a,o)},s.staggerFromTo=s.allFromTo=function(e,t,i,r,n,a,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,s.staggerTo(e,t,r,n,a,o,l)},s.delayedCall=function(e,t,i,r,n){return new s(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:r,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},s.set=function(e,t){return new s(e,0,t)},s.isTweening=function(e){return i.getTweensOf(e,!0).length>0};var h=function e(t,r){for(var n=[],s=0,a=t._first;a;)a instanceof i?n[s++]=a:(r&&(n[s++]=a),n=n.concat(e(a,r)),s=n.length),a=a._next;return n},p=s.getAllTweens=function(t){return h(e._rootTimeline,t).concat(h(e._rootFramesTimeline,t))};s.killAll=function(e,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,a,o,l=p(0!=n),c=l.length,u=i&&r&&n;for(o=0;c>o;o++)a=l[o],(u||a instanceof t||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&(e?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},s.killChildTweensOf=function(e,t){if(null!=e){var n,a,u,d,h,p=o.tweenLookup;if("string"==typeof e&&(e=i.selector(e)||e),l(e)&&(e=r(e)),c(e))for(d=e.length;--d>-1;)s.killChildTweensOf(e[d],t);else{n=[];for(u in p)for(a=p[u].target.parentNode;a;)a===e&&(n=n.concat(p[u].tweens)),a=a.parentNode;for(h=n.length,d=0;h>d;d++)t&&n[d].totalTime(n[d].totalDuration()),n[d]._enabled(!1,!1)}}};var f=function(e,i,r,n){i=!1!==i,r=!1!==r,n=!1!==n;for(var s,a,o=p(n),l=i&&r&&n,c=o.length;--c>-1;)a=o[c],(l||a instanceof t||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&a.paused(e)};return s.pauseAll=function(e,t,i){f(!0,e,t,i)},s.resumeAll=function(e,t,i){f(!1,e,t,i)},s.globalTimeScale=function(t){var r=e._rootTimeline,n=i.ticker.time;return arguments.length?(t=t||a,r._startTime=n-(n-r._startTime)*r._timeScale/t,r=e._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/t,r._timeScale=e._rootTimeline._timeScale=t,t):r._timeScale},u.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},u.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},u.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},u.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},u.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-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)},u.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},u.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},u.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},s},!0),M._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,i){var r=function(e){t.call(this,e),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,r,n=this.vars;for(r in n)i=n[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(n[r]=this._swapSelfInParams(i));l(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},n=1e-10,s=i._internals,a=r._internals={},o=s.isSelector,l=s.isArray,c=s.lazyTweens,u=s.lazyRender,d=M._gsDefine.globals,h=function(e){var t,i={};for(t in e)i[t]=e[t];return i},p=function(e,t,i){var r,n,s=e.cycle;for(r in s)n=s[r],e[r]="function"==typeof n?n(i,t[i]):n[i%n.length];delete e.cycle},f=a.pauseCallback=function(){},m=function(e){var t,i=[],r=e.length;for(t=0;t!==r;i.push(e[t++]));return i},g=r.prototype=new t;return r.version="1.19.1",g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(e,t,r,n){var s=r.repeat&&d.TweenMax||i;return t?this.add(new s(e,t,r),n):this.set(e,r,n)},g.from=function(e,t,r,n){return this.add((r.repeat&&d.TweenMax||i).from(e,t,r),n)},g.fromTo=function(e,t,r,n,s){var a=n.repeat&&d.TweenMax||i;return t?this.add(a.fromTo(e,t,r,n),s):this.set(e,n,s)},g.staggerTo=function(e,t,n,s,a,l,c,u){var d,f,g=new r({onComplete:l,onCompleteParams:c,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),v=n.cycle;for("string"==typeof e&&(e=i.selector(e)||e),e=e||[],o(e)&&(e=m(e)),s=s||0,0>s&&(e=m(e),e.reverse(),s*=-1),f=0;f<e.length;f++)d=h(n),d.startAt&&(d.startAt=h(d.startAt),d.startAt.cycle&&p(d.startAt,e,f)),v&&(p(d,e,f),null!=d.duration&&(t=d.duration,delete d.duration)),g.to(e[f],t,d,f*s);return this.add(g,a)},g.staggerFrom=function(e,t,i,r,n,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(e,t,i,r,n,s,a,o)},g.staggerFromTo=function(e,t,i,r,n,s,a,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(e,t,r,n,s,a,o,l)},g.call=function(e,t,r,n){return this.add(i.delayedCall(0,e,t,r),n)},g.set=function(e,t,r){return r=this._parseTimeOrLabel(r,0,!0),null==t.immediateRender&&(t.immediateRender=r===this._time&&!this._paused),this.add(new i(e,0,t),r)},r.exportRoot=function(e,t){e=e||{},null==e.smoothChildTiming&&(e.smoothChildTiming=!0);var n,s,a=new r(e),o=a._timeline;for(null==t&&(t=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,n=o._first;n;)s=n._next,t&&n instanceof i&&n.target===n.vars.onComplete||a.add(n,n._startTime-n._delay),n=s;return o.add(a,0),a},g.add=function(n,s,a,o){var c,u,d,h,p,f;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,n)),!(n instanceof e)){if(n instanceof Array||n&&n.push&&l(n)){for(a=a||"normal",o=o||0,c=s,u=n.length,d=0;u>d;d++)l(h=n[d])&&(h=new r({tweens:h})),this.add(h,c),"string"!=typeof h&&"function"!=typeof h&&("sequence"===a?c=h._startTime+h.totalDuration()/h._timeScale:"start"===a&&(h._startTime-=h.delay())),c+=o;return this._uncache(!0)}if("string"==typeof n)return this.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(t.prototype.add.call(this,n,s),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,f=p.rawTime()>n._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},g.remove=function(t){if(t instanceof e){this._remove(t,!1);var i=t._timeline=t.vars.useFrames?e._rootFramesTimeline:e._rootTimeline;return t._startTime=(t._paused?t._pauseTime:i._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&l(t)){for(var r=t.length;--r>-1;)this.remove(t[r]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},g._remove=function(e,i){return t.prototype._remove.call(this,e,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},g.insert=g.insertMultiple=function(e,t,i,r){return this.add(e,t||0,i,r)},g.appendMultiple=function(e,t,i,r){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,r)},g.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},g.addPause=function(e,t,r,n){var s=i.delayedCall(0,f,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=t,s.data="isPause",this._hasPause=!0,this.add(s,e)},g.removeLabel=function(e){return delete this._labels[e],this},g.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},g._parseTimeOrLabel=function(t,i,r,n){var s;if(n instanceof e&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(s=n.length;--s>-1;)n[s]instanceof e&&n[s].timeline===this&&this.remove(n[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof t&&null==this._labels[i]?t-this.duration():0,r);if(i=i||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?r?this._labels[t]=this.duration()+i:i:this._labels[t]+i;i=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,r):this.duration()}return Number(t)+i},g.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(e,t){return this.play(e,t)},g.gotoAndStop=function(e,t){return this.pause(e,t)},g.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var r,s,a,o,l,d,h,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._startTime,g=this._timeScale,v=this._paused;if(e>=p-1e-7&&e>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=e&&e>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===n)&&this._rawPrevTime!==e&&this._first&&(l=!0,this._rawPrevTime>n&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:n,e=p+1e-4;else if(1e-7>e)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==n&&(this._rawPrevTime>0||0>e&&this._rawPrevTime>=0))&&(o="onReverseComplete",s=this._reversed),0>e)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:n,0===e&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;e=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!t){if(e>=f)for(r=this._first;r&&r._startTime<=e&&!d;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(d=r),r=r._next;else for(r=this._last;r&&r._startTime>=e&&!d;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(d=r),r=r._prev;d&&(this._time=e=d._startTime,this._totalTime=e+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=e}if(this._time!==f&&this._first||i||l||d){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&e>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||t||this._callback("onStart")),(h=this._time)>=f)for(r=this._first;r&&(a=r._next,h===this._time&&(!this._paused||v));)(r._active||r._startTime<=h&&!r._paused&&!r._gc)&&(d===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,i):r.render((e-r._startTime)*r._timeScale,t,i)),r=a;else for(r=this._last;r&&(a=r._prev,h===this._time&&(!this._paused||v));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(d===r){for(d=r._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,i),d=d._prev;d=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,i):r.render((e-r._startTime)*r._timeScale,t,i)}r=a}this._onUpdate&&(t||(c.length&&u(),this._callback("onUpdate"))),o&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(s&&(c.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this._callback(o)))}},g._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof r&&e._hasPausedChild())return!0;e=e._next}return!1},g.getChildren=function(e,t,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime<n||(a instanceof i?!1!==t&&(s[o++]=a):(!1!==r&&(s[o++]=a),!1!==e&&(s=s.concat(a.getChildren(!0,t,r)),o=s.length))),a=a._next;return s},g.getTweensOf=function(e,t){var r,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),r=i.getTweensOf(e),n=r.length;--n>-1;)(r[n].timeline===this||t&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},g.shiftChildren=function(e,t,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=e),n=n._next;if(t)for(r in s)s[r]>=i&&(s[r]+=e);return this._uncache(!0)},g._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(e,t)&&(n=!0);return n},g.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},g._enabled=function(e,i){if(e===this._gc)for(var r=this._first;r;)r._enabled(e,!0),r=r._next;return t.prototype._enabled.call(this,e,i)},g.totalTime=function(t,i,r){this._forcingPlayhead=!0;var n=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,i,r=0,n=this._last,s=999999999999;n;)t=n._prev,n._dirty&&n.totalDuration(),n._startTime>s&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):s=n._startTime,n._startTime<0&&!n._paused&&(r-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),s=0),i=n._startTime+n._totalDuration/n._timeScale,i>r&&(r=i),n=t;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},g.paused=function(t){if(!t)for(var i=this._first,r=this._time;i;)i._startTime===r&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return e.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},g.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},r},!0),M._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,t,i){var r=function(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},n=1e-10,s=t._internals,a=s.lazyTweens,o=s.lazyRender,l=M._gsDefine.globals,c=new i(null,null,1,0),u=r.prototype=new e;return u.constructor=r,u.kill()._gc=!1,r.version="1.19.1",u.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)},u.addCallback=function(e,i,r,n){return this.add(t.delayedCall(0,e,r,n),i)},u.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var i=this.getTweensOf(e,!1),r=i.length,n=this._parseTimeOrLabel(t);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},u.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},u.tweenTo=function(e,i){i=i||{};var r,n,s,a={ease:c,useFrames:this.usesFrames(),immediateRender:!1},o=i.repeat&&l.TweenMax||t;for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(e),r=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,s=new o(this,r,a),a.onStart=function(){s.target.paused(!0),s.vars.time!==s.target.time()&&r===s.duration()&&s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},u.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(t,i);return r.duration(Math.abs(r.vars.time-e)/this._timeScale||.001)},u.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var r,s,l,c,u,d,h,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._time,v=this._totalTime,_=this._startTime,y=this._timeScale,w=this._rawPrevTime,b=this._paused,x=this._cycle;if(e>=f-1e-7&&e>=0)this._locked||(this._totalTime=f,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,c="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=e&&e>=-1e-7||0>w||w===n)&&w!==e&&this._first&&(u=!0,w>n&&(c="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:n,this._yoyo&&0!=(1&this._cycle)?this._time=e=0:(this._time=m,e=m+1e-4);else if(1e-7>e)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==g||0===m&&w!==n&&(w>0||0>e&&w>=0)&&!this._locked)&&(c="onReverseComplete",s=this._reversed),0>e)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=s=!0,c="onReverseComplete"):w>=0&&this._first&&(u=!0),this._rawPrevTime=e;else{if(this._rawPrevTime=m||!t||e||this._rawPrevTime===e?e:n,0===e&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;e=0,this._initted||(u=!0)}else if(0===m&&0>w&&(u=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(d=m+this._repeatDelay,this._cycle=this._totalTime/d>>0,0!==this._cycle&&this._cycle===this._totalTime/d&&e>=v&&this._cycle--,this._time=this._totalTime-this._cycle*d,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,e=m+1e-4):this._time<0?this._time=e=0:e=this._time)),this._hasPause&&!this._forcingPlayhead&&!t&&m>e){if((e=this._time)>=g||this._repeat&&x!==this._cycle)for(r=this._first;r&&r._startTime<=e&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=e&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(this._time=e=h._startTime,this._totalTime=e+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==x&&!this._locked){var T=this._yoyo&&0!=(1&x),S=T===(this._yoyo&&0!=(1&this._cycle)),E=this._totalTime,C=this._cycle,P=this._rawPrevTime,L=this._time;if(this._totalTime=x*m,this._cycle<x?T=!T:this._totalTime+=m,this._time=g,this._rawPrevTime=0===m?w-1e-4:w,this._cycle=x,this._locked=!0,g=T?0:m,this.render(g,t,0===m),t||this._gc||this.vars.onRepeat&&(this._cycle=C,this._locked=!1,this._callback("onRepeat")),g!==this._time)return;if(S&&(this._cycle=x,this._locked=!0,g=T?m+1e-4:-1e-4,this.render(g,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=L,this._totalTime=E,this._cycle=C,this._rawPrevTime=P}if(!(this._time!==g&&this._first||i||u||h))return void(v!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&e>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||t||this._callback("onStart")),(p=this._time)>=g)for(r=this._first;r&&(l=r._next,p===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,i):r.render((e-r._startTime)*r._timeScale,t,i)),r=l;else for(r=this._last;r&&(l=r._prev,p===this._time&&(!this._paused||b));){if(r._active||r._startTime<=g&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(e-h._startTime)*h._timeScale:(e-h._startTime)*h._timeScale,t,i),h=h._prev;h=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,i):r.render((e-r._startTime)*r._timeScale,t,i)}r=l}this._onUpdate&&(t||(a.length&&o(),this._callback("onUpdate"))),c&&(this._locked||this._gc||(_===this._startTime||y!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(s&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[c]&&this._callback(c)))},u.getActive=function(e,t,i){null==e&&(e=!0),null==t&&(t=!0),null==i&&(i=!1);var r,n,s=[],a=this.getChildren(e,t,i),o=0,l=a.length;for(r=0;l>r;r++)n=a[r],n.isActive()&&(s[o++]=n);return s},u.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),r=i.length;for(t=0;r>t;t++)if(i[t].time>e)return i[t].name;return null},u.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;--i>-1;)if(t[i].time<e)return t[i].name;return null},u.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort(function(e,t){return e.time-t.time}),t},u.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},u.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},u.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},u.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)},u.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},u.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},u.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},u.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},u.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},r},!0),function(){var e=180/Math.PI,t=[],i=[],r=[],n={},s=M._gsDefine.globals,a=function(e,t,i,r){i===r&&(i=r-(r-t)/1e6),e===t&&(t=e+(i-e)/1e6),this.a=e,this.b=t,this.c=i,this.d=r,this.da=r-e,this.ca=i-e,this.ba=t-e},o=function(e,t,i,r){var n={a:e},s={},a={},o={c:r},l=(e+t)/2,c=(t+i)/2,u=(i+r)/2,d=(l+c)/2,h=(c+u)/2,p=(h-d)/8;return n.b=l+(e-l)/4,s.b=d+p,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(d+h)/2,a.b=h-p,o.b=u+(r-u)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]},l=function(e,n,s,a,l){var c,u,d,h,p,f,m,g,v,_,y,w,b,x=e.length-1,T=0,S=e[0].a;for(c=0;x>c;c++)p=e[T],u=p.a,d=p.d,h=e[T+1].d,l?(y=t[c],w=i[c],b=(w+y)*n*.25/(a?.5:r[c]||.5),f=d-(d-u)*(a?.5*n:0!==y?b/y:0),m=d+(h-d)*(a?.5*n:0!==w?b/w:0),g=d-(f+((m-f)*(3*y/(y+w)+.5)/4||0))):(f=d-(d-u)*n*.5,m=d+(h-d)*n*.5,g=d-(f+m)/2),f+=g,m+=g,p.c=v=f,p.b=0!==c?S:S=p.a+.6*(p.c-p.a),p.da=d-u,p.ca=v-u,p.ba=S-u,s?(_=o(u,S,v,d),e.splice(T,1,_[0],_[1],_[2],_[3]),T+=4):T++,S=m;p=e[T],p.b=S,p.c=S+.4*(p.d-S),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=S-p.a,s&&(_=o(p.a,S,p.c,p.d),e.splice(T,1,_[0],_[1],_[2],_[3]))},c=function(e,r,n,s){var o,l,c,u,d,h,p=[];if(s)for(e=[s].concat(e),l=e.length;--l>-1;)"string"==typeof(h=e[l][r])&&"="===h.charAt(1)&&(e[l][r]=s[r]+Number(h.charAt(0)+h.substr(2)));if(0>(o=e.length-2))return p[0]=new a(e[0][r],0,0,e[-1>o?0:1][r]),p;for(l=0;o>l;l++)c=e[l][r],u=e[l+1][r],p[l]=new a(c,0,0,u),n&&(d=e[l+2][r],t[l]=(t[l]||0)+(u-c)*(u-c),i[l]=(i[l]||0)+(d-u)*(d-u));return p[l]=new a(e[l][r],0,0,e[l+1][r]),p},u=function(e,s,a,o,u,d){var h,p,f,m,g,v,_,y,w={},b=[],x=d||e[0];u="string"==typeof u?","+u+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1);for(p in e[0])b.push(p);if(e.length>1){for(y=e[e.length-1],_=!0,h=b.length;--h>-1;)if(p=b[h],Math.abs(x[p]-y[p])>.05){_=!1;break}_&&(e=e.concat(),d&&e.unshift(d),e.push(e[1]),d=e[e.length-3])}for(t.length=i.length=r.length=0,h=b.length;--h>-1;)p=b[h],n[p]=-1!==u.indexOf(","+p+","),w[p]=c(e,p,n[p],d);for(h=t.length;--h>-1;)t[h]=Math.sqrt(t[h]),i[h]=Math.sqrt(i[h]);if(!o){for(h=b.length;--h>-1;)if(n[p])for(f=w[b[h]],v=f.length-1,m=0;v>m;m++)g=f[m+1].da/i[m]+f[m].da/t[m]||0,r[m]=(r[m]||0)+g*g;for(h=r.length;--h>-1;)r[h]=Math.sqrt(r[h])}for(h=b.length,m=a?4:1;--h>-1;)p=b[h],f=w[p],l(f,s,a,o,n[p]),_&&(f.splice(0,m),f.splice(f.length-m,m));return w},d=function(e,t,i){t=t||"soft";var r,n,s,o,l,c,u,d,h,p,f,m={},g="cubic"===t?3:2,v="soft"===t,_=[];if(v&&i&&(e=[i].concat(e)),null==e||e.length<g+1)throw"invalid Bezier data";for(h in e[0])_.push(h);for(c=_.length;--c>-1;){for(h=_[c],m[h]=l=[],p=0,d=e.length,u=0;d>u;u++)r=null==i?e[u][h]:"string"==typeof(f=e[u][h])&&"="===f.charAt(1)?i[h]+Number(f.charAt(0)+f.substr(2)):Number(f),v&&u>1&&d-1>u&&(l[p++]=(r+l[p-2])/2),l[p++]=r;for(d=p-g+1,p=0,u=0;d>u;u+=g)r=l[u],n=l[u+1],s=l[u+2],o=2===g?0:l[u+3],l[p++]=f=3===g?new a(r,n,s,o):new a(r,(2*n+r)/3,(2*n+s)/3,s);l.length=p}return m},h=function(e,t,i){for(var r,n,s,a,o,l,c,u,d,h,p,f=1/i,m=e.length;--m>-1;)for(h=e[m],s=h.a,a=h.d-s,o=h.c-s,l=h.b-s,r=n=0,u=1;i>=u;u++)c=f*u,d=1-c,r=n-(n=(c*c*a+3*d*(c*o+d*l))*c),p=m*i+u-1,t[p]=(t[p]||0)+r*r},p=function(e,t){t=t>>0||6;var i,r,n,s,a=[],o=[],l=0,c=0,u=t-1,d=[],p=[];for(i in e)h(e[i],a,t);for(n=a.length,r=0;n>r;r++)l+=Math.sqrt(a[r]),s=r%t,p[s]=l,s===u&&(c+=l,s=r/t>>0,d[s]=p,o[s]=c,l=0,p=[]);return{length:c,lengths:o,segments:d}},f=M._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,global:!0,init:function(e,t,i){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var r,n,s,a,o,l=t.values||[],c={},h=l[0],f=t.autoRotate||i.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",!0===f?0:Number(f)||0]]:null;for(r in h)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof e[r],c[r]=n?e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(e[r]),o||c[r]!==l[0][r]&&(o=c);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?u(l,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,o):d(l,t.type,c),this._segCount=this._beziers[r].length,this._timeRes){var m=p(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.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}if(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),s=f.length;--s>-1;){for(a=0;3>a;a++)r=f[s][a],this._func[r]="function"==typeof e[r]&&e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)];r=f[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var i,r,n,s,a,o,l,c,u,d,h=this._segCount,p=this._func,f=this._target,m=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,d=this._curSeg,t*=this._length,n=this._li,t>this._l2&&h-1>n){for(c=h-1;c>n&&(this._l2=u[++n])<=t;);this._l1=u[n-1],this._li=n,this._curSeg=d=this._segments[n],this._s2=d[this._s1=this._si=0]}else if(t<this._l1&&n>0){for(;n>0&&(this._l1=u[--n])>=t;);0===n&&t<this._l1?this._l1=0:n++,this._l2=u[n],this._li=n,this._curSeg=d=this._segments[n],this._s1=d[(this._si=d.length-1)-1]||0,this._s2=d[this._si]}if(i=n,t-=this._l1,n=this._si,t>this._s2&&n<d.length-1){for(c=d.length-1;c>n&&(this._s2=d[++n])<=t;);this._s1=d[n-1],this._si=n}else if(t<this._s1&&n>0){for(;n>0&&(this._s1=d[--n])>=t;);0===n&&t<this._s1?this._s1=0:n++,this._s2=d[n],this._si=n}o=(n+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else i=0>t?0:t>=1?h-1:h*t>>0,o=(t-i*(1/h))*h;for(r=1-o,n=this._props.length;--n>-1;)s=this._props[n],a=this._beziers[s][i],l=(o*o*a.da+3*r*(o*a.ca+r*a.ba))*o+a.a,this._mod[s]&&(l=this._mod[s](l,f)),p[s]?f[s](l):f[s]=l;if(this._autoRotate){var g,v,_,y,w,b,x,T=this._autoRotate;for(n=T.length;--n>-1;)s=T[n][2],b=T[n][3]||0,x=!0===T[n][4]?1:e,a=this._beziers[T[n][0]],g=this._beziers[T[n][1]],a&&g&&(a=a[i],g=g[i],v=a.a+(a.b-a.a)*o,y=a.b+(a.c-a.b)*o,v+=(y-v)*o,y+=(a.c+(a.d-a.c)*o-y)*o,_=g.a+(g.b-g.a)*o,w=g.b+(g.c-g.b)*o,_+=(w-_)*o,w+=(g.c+(g.d-g.c)*o-w)*o,l=m?Math.atan2(w-_,y-v)*x+b:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,f)),p[s]?f[s](l):f[s]=l)}}}),m=f.prototype;f.bezierThrough=u,f.cubicToQuadratic=o,f._autoCSS=!0,f.quadraticToCubic=function(e,t,i){return new a(e,(2*t+e)/3,(2*t+i)/3,i)},f._cssRegister=function(){var e=s.CSSPlugin;if(e){var t=e._internals,i=t._parseToProxy,r=t._setPluginRatio,n=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,s,a,o,l){t instanceof Array&&(t={values:t}),l=new f;var c,u,d,h=t.values,p=h.length-1,m=[],g={};if(0>p)return o;for(c=0;p>=c;c++)d=i(e,h[c],a,o,l,p!==c),m[c]=d.end;for(u in t)g[u]=t[u];return g.values=m,o=new n(e,"bezier",0,0,d.pt,2),o.data=d,o.plugin=l,o.setRatio=r,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=d.end.left?[["left","top","rotation",c,!1]]:null!=d.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),d.autoRotate=a._target._gsTransform,d.proxy.rotation=d.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(d.proxy,g,a._tween),o}})}},m._mod=function(e){for(var t,i=this._overwriteProps,r=i.length;--r>-1;)(t=e[i[r]])&&"function"==typeof t&&(this._mod[i[r]]=t)},m._kill=function(e){var t,i,r=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],i=r.length;--i>-1;)r[i]===t&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)e[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,e)}}(),M._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(e,t){var i,r,n,s,a=function t(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=t.prototype.setRatio},o=M._gsDefine.globals,l={},c=a.prototype=new e("css");c.constructor=a,a.version="1.19.1",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,c="px",a.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var u,d,h,p,f,m,g,v,_=/(?:\-|\.|\b)(\d|\.|e\-)+/g,w=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,E=/opacity:([^;]*)/i,C=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,L=/([A-Z])/g,A=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,k=function(e,t){return t.toUpperCase()},O=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,D=/[\s,\(]/i,N=Math.PI/180,F=180/Math.PI,B={},H={style:{}},q=M.document||{createElement:function(){return H}},X=function(e,t){return q.createElementNS?q.createElementNS(t||"http://www.w3.org/1999/xhtml",e):q.createElement(e)},W=X("div"),G=X("img"),Y=a._internals={_specialProps:l},U=(M.navigator||{}).userAgent||"",V=function(){var e=U.indexOf("Android"),t=X("a");return h=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===e||parseFloat(U.substr(e+8,2))>3),f=h&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,p=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(m=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),$=function(e){return S.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Q=function(e){M.console&&console.log(e)},J="",Z="",K=function(e,t){t=t||W;var i,r,n=t.style;if(void 0!==n[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+e];);return r>=0?(Z=3===r?"ms":i[r],J="-"+Z.toLowerCase()+"-",Z+e):null},ee=q.defaultView?q.defaultView.getComputedStyle:function(){},te=a.getStyle=function(e,t,i,r,n){var s;return V||"opacity"!==t?(!r&&e.style[t]?s=e.style[t]:(i=i||ee(e))?s=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(L,"-$1").toLowerCase()):e.currentStyle&&(s=e.currentStyle[t]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):$(e)},ie=Y.convertToPixels=function(e,i,r,n,s){if("px"===n||!n)return r;if("auto"===n||!r)return 0;var o,l,c,u=O.test(i),d=e,h=W.style,p=0>r,f=1===r;if(p&&(r=-r),f&&(r*=100),"%"===n&&-1!==i.indexOf("border"))o=r/100*(u?e.clientWidth:e.clientHeight);else{if(h.cssText="border:0 solid red;position:"+te(e,"position")+";line-height:0;","%"!==n&&d.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)h[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(d=e.parentNode||q.body,l=d._gsCache,c=t.ticker.frame,l&&u&&l.time===c)return l.width*r/100;h[u?"width":"height"]=r+n}d.appendChild(W),o=parseFloat(W[u?"offsetWidth":"offsetHeight"]),d.removeChild(W),u&&"%"===n&&!1!==a.cacheWidths&&(l=d._gsCache=d._gsCache||{},l.time=c,l.width=o/r*100),0!==o||s||(o=ie(e,i,r,n,!0))}return f&&(o/=100),p?-o:o},re=Y.calculateOffset=function(e,t,i){if("absolute"!==te(e,"position",i))return 0;var r="left"===t?"Left":"Top",n=te(e,"margin"+r,i);return e["offset"+r]-(ie(e,t,parseFloat(n),n.replace(T,""))||0)},ne=function(e,t){var i,r,n,s={};if(t=t||ee(e,null))if(i=t.length)for(;--i>-1;)n=t[i],(-1===n.indexOf("-transform")||ke===n)&&(s[n.replace(A,k)]=t.getPropertyValue(n));else for(i in t)(-1===i.indexOf("Transform")||Re===i)&&(s[i]=t[i]);else if(t=e.currentStyle||e.style)for(i in t)"string"==typeof i&&void 0===s[i]&&(s[i.replace(A,k)]=t[i]);return V||(s.opacity=$(e)),r=Ge(e,t,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Me&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},se=function(e,t,i,r,n){var s,a,o,l={},c=e.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof t[a]||""===t[a].replace(x,"")?s:0:re(e,a),void 0!==c[a]&&(o=new we(c,a,c[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},ae={width:["Left","Right"],height:["Top","Bottom"]},oe=["marginLeft","marginRight","marginTop","marginBottom"],le=function(e,t,i){if("svg"===(e.nodeName+"").toLowerCase())return(i||ee(e))[t]||0;if(e.getCTM&&qe(e))return e.getBBox()[t]||0;var r=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),n=ae[t],s=n.length;for(i=i||ee(e,null);--s>-1;)r-=parseFloat(te(e,"padding"+n[s],i,!0))||0,r-=parseFloat(te(e,"border"+n[s]+"Width",i,!0))||0;return r},ce=function e(t,i){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var r,n=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],a=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!i){for(n=t.split(", ").join(",").split(","),t=[],r=0;r<n.length;r++)t.push(e(n[r]));return t.join(",")}return null==a?a="center"===s?"50%":"0":"center"===a&&(a="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t=s+" "+a+(n.length>2?" "+n[2]:""),i&&(i.oxp=-1!==s.indexOf("%"),i.oyp=-1!==a.indexOf("%"),i.oxr="="===s.charAt(1),i.oyr="="===a.charAt(1),i.ox=parseFloat(s.replace(x,"")),i.oy=parseFloat(a.replace(x,"")),i.v=t),i||t},ue=function(e,t){return"function"==typeof e&&(e=e(v,g)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},de=function(e,t){return"function"==typeof e&&(e=e(v,g)),null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},he=function(e,t,i,r){var n,s,a,o,l;return"function"==typeof e&&(e=e(v,g)),null==e?o=t:"number"==typeof e?o=e:(n=360,s=e.split("_"),l="="===e.charAt(1),a=(l?parseInt(e.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===e.indexOf("rad")?1:F)-(l?0:t),s.length&&(r&&(r[i]=t+a),-1!==e.indexOf("short")&&(a%=n)!==a%(n/2)&&(a=0>a?a+n:a-n),-1!==e.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==e.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=t+a),1e-6>o&&o>-1e-6&&(o=0),o},pe={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]},fe=function(e,t,i){return e=0>e?e+1:e>1?e-1:e,255*(1>6*e?t+(i-t)*e*6:.5>e?i:2>3*e?t+(i-t)*(2/3-e)*6:t)+.5|0},me=a.parseColor=function(e,t){var i,r,n,s,a,o,l,c,u,d,h;if(e)if("number"==typeof e)i=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),pe[e])i=pe[e];else if("#"===e.charAt(0))4===e.length&&(r=e.charAt(1),n=e.charAt(2),s=e.charAt(3),e="#"+r+r+n+n+s+s),e=parseInt(e.substr(1),16),i=[e>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(i=h=e.match(_),t){if(-1!==e.indexOf("="))return e.match(w)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,n=.5>=l?l*(o+1):l+o-l*o,r=2*l-n,i.length>3&&(i[3]=Number(e[3])),i[0]=fe(a+1/3,r,n),i[1]=fe(a,r,n),i[2]=fe(a-1/3,r,n);else i=e.match(_)||pe.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pe.black;return t&&!h&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,c=Math.max(r,n,s),u=Math.min(r,n,s),l=(c+u)/2,c===u?a=o=0:(d=c-u,o=l>.5?d/(2-c-u):d/(c+u),a=c===r?(n-s)/d+(s>n?6:0):c===n?(s-r)/d+2:(r-n)/d+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},ge=function(e,t){var i,r,n,s=e.match(ve)||[],a=0,o=s.length?"":e;for(i=0;i<s.length;i++)r=s[i],n=e.substr(a,e.indexOf(r,a)-a),a+=n.length+r.length,r=me(r,t),3===r.length&&r.push(1),o+=n+(t?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+e.substr(a)},ve="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(c in pe)ve+="|"+c+"\\b";ve=new RegExp(ve+")","gi"),a.colorStringFilter=function(e){var t,i=e[0]+e[1];ve.test(i)&&(t=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),e[0]=ge(e[0],t),e[1]=ge(e[1],t)),ve.lastIndex=0},t.defaultStringFilter||(t.defaultStringFilter=a.colorStringFilter);var _e=function(e,t,i,r){if(null==e)return function(e){return e};var n,s=t?(e.match(ve)||[""])[0]:"",a=e.split(s).join("").match(b)||[],o=e.substr(0,e.indexOf(a[0])),l=")"===e.charAt(e.length-1)?")":"",c=-1!==e.indexOf(" ")?" ":",",u=a.length,d=u>0?a[0].replace(_,""):"";return u?n=t?function(e){var t,h,p,f;if("number"==typeof e)e+=d;else if(r&&z.test(e)){for(f=e.replace(z,"|").split("|"),p=0;p<f.length;p++)f[p]=n(f[p]);return f.join(",")}if(t=(e.match(ve)||[s])[0],h=e.split(t).join("").match(b)||[],p=h.length,u>p--)for(;++p<u;)h[p]=i?h[(p-1)/2|0]:a[p];return o+h.join(c)+c+t+l+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,s,h;if("number"==typeof e)e+=d;else if(r&&z.test(e)){for(s=e.replace(z,"|").split("|"),h=0;h<s.length;h++)s[h]=n(s[h]);return s.join(",")}if(t=e.match(b)||[],h=t.length,u>h--)for(;++h<u;)t[h]=i?t[(h-1)/2|0]:a[h];return o+t.join(c)+l}:function(e){return e}},ye=function(e){return e=e.split(","),function(t,i,r,n,s,a,o){var l,c=(i+"").split(" ");for(o={},l=0;4>l;l++)o[e[l]]=c[l]=c[l]||c[(l-1)/2>>0];return n.parse(t,o,s,a)}},we=(Y._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT;l;)t=o[l.v],l.r?t=Math.round(t):1e-6>t&&t>-1e-6&&(t=0),l.t[l.p]=t,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod(o.rotation,this.t):o.rotation),1===e||0===e)for(l=a.firstMPT,s=1===e?"e":"b";l;){if(i=l.t,i.type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(e,t,i,r,n){this.t=e,this.p=t,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),be=(Y._parseToProxy=function(e,t,i,r,n,s){var a,o,l,c,u,d=r,h={},p={},f=i._transform,m=B;for(i._transform=null,B=t,r=u=i.parse(e,t,r,n),B=m,s&&(i._transform=f,d&&(d._prev=null,d._prev&&(d._prev._next=null)));r&&r!==d;){if(r.type<=1&&(o=r.p,p[o]=r.s+r.c,h[o]=r.s,s||(c=new we(r,"s",o,c,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,o=r.p+"_"+l,p[o]=r.data[l],h[o]=r[l],s||(c=new we(r,l,o,c,r.rxp[l]));r=r._next}return{proxy:h,end:p,firstMPT:c,pt:u}},Y.CSSPropTween=function(e,t,r,n,a,o,l,c,u,d,h){this.t=e,this.p=t,this.s=r,this.c=n,this.n=l||t,e instanceof be||s.push(this.n),this.r=c,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===d?r:d,this.e=void 0===h?r+n:h,a&&(this._next=a,a._prev=this)}),xe=function(e,t,i,r,n,s){var a=new be(e,t,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},Te=a.parseComplex=function(e,t,i,r,n,s,o,l,c,d){i=i||s||"","function"==typeof r&&(r=r(v,g)),o=new be(e,t,0,0,o,d?2:1,null,!1,l,i,r),r+="",n&&ve.test(r+i)&&(r=[i,r],a.colorStringFilter(r),i=r[0],r=r[1]);var h,p,f,m,y,b,x,T,S,E,C,P,L,A=i.split(", ").join(",").split(" "),R=r.split(", ").join(",").split(" "),k=A.length,O=!1!==u;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(A=A.join(" ").replace(z,", ").split(" "),R=R.join(" ").replace(z,", ").split(" "),k=A.length),k!==R.length&&(A=(s||"").split(" "),k=A.length),o.plugin=c,o.setRatio=d,ve.lastIndex=0,h=0;k>h;h++)if(m=A[h],y=R[h],(T=parseFloat(m))||0===T)o.appendXtra("",T,ue(y,T),y.replace(w,""),O&&-1!==y.indexOf("px"),!0);else if(n&&ve.test(m))P=y.indexOf(")")+1,P=")"+(P?y.substr(P):""),L=-1!==y.indexOf("hsl")&&V,m=me(m,L),y=me(y,L),S=m.length+y.length>6,S&&!V&&0===y[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(R[h]).join("transparent")):(V||(S=!1),L?o.appendXtra(S?"hsla(":"hsl(",m[0],ue(y[0],m[0]),",",!1,!0).appendXtra("",m[1],ue(y[1],m[1]),"%,",!1).appendXtra("",m[2],ue(y[2],m[2]),S?"%,":"%"+P,!1):o.appendXtra(S?"rgba(":"rgb(",m[0],y[0]-m[0],",",!0,!0).appendXtra("",m[1],y[1]-m[1],",",!0).appendXtra("",m[2],y[2]-m[2],S?",":P,!0),S&&(m=m.length<4?1:m[3],o.appendXtra("",m,(y.length<4?1:y[3])-m,P,!1))),ve.lastIndex=0;else if(b=m.match(_)){if(!(x=y.match(w))||x.length!==b.length)return o;for(f=0,p=0;p<b.length;p++)C=b[p],E=m.indexOf(C,f),o.appendXtra(m.substr(f,E-f),Number(C),ue(x[p],C),"",O&&"px"===m.substr(E+C.length,2),0===p),f=E+C.length;o["xs"+o.l]+=m.substr(f)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+y:y;if(-1!==r.indexOf("=")&&o.data){for(P=o.xs0+o.data.s,h=1;h<o.l;h++)P+=o["xs"+h]+o.data["xn"+h];o.e=P+o["xs"+h]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Se=9;for(c=be.prototype,c.l=c.pr=0;--Se>0;)c["xn"+Se]=0,c["xs"+Se]="";c.xs0="",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(e,t,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+e:e||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=t+i,a.rxp["xn"+o]=n,a["xn"+o]=t,a.plugin||(a.xfirst=new be(a,"xn"+o,t,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:t+i},a.rxp={},a.s=t,a.c=i,a.r=n,a)):(a["xs"+o]+=t+(r||""),a)};var Ee=function(e,t){t=t||{},this.p=t.prefix?K(e)||e:e,l[e]=l[this.p]=this,this.format=t.formatter||_e(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.pr=t.priority||0},Ce=Y._registerComplexSpecialProp=function(e,t,i){"object"!=(void 0===t?"undefined":y(t))&&(t={parser:i});var r,n=e.split(","),s=t.defaultValue;for(i=i||[s],r=0;r<n.length;r++)t.prefix=0===r&&t.prefix,t.defaultValue=i[r]||s,new Ee(n[r],t)},Pe=Y._registerPluginProp=function(e){if(!l[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";Ce(e,{parser:function(e,i,r,n,s,a,c){var u=o.com.greensock.plugins[t];return u?(u._cssRegister(),l[r].parse(e,i,r,n,s,a,c)):(Q("Error: "+t+" js file not loaded."),s)}})}};c=Ee.prototype,c.parseComplex=function(e,t,i,r,n,s){var a,o,l,c,u,d,h=this.keyword;if(this.multi&&(z.test(i)||z.test(t)?(o=t.replace(z,"|").split("|"),l=i.replace(z,"|").split("|")):h&&(o=[t],l=[i])),l){for(c=l.length>o.length?l.length:o.length,a=0;c>a;a++)t=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,h&&(u=t.indexOf(h),d=i.indexOf(h),u!==d&&(-1===d?o[a]=o[a].split(h).join(""):-1===u&&(o[a]+=" "+h)));t=o.join(", "),i=l.join(", ")}return Te(e,this.p,t,i,this.clrs,this.dflt,r,this.pr,n,s)},c.parse=function(e,t,i,r,s,a,o){return this.parseComplex(e.style,this.format(te(e,this.p,n,!1,this.dflt)),this.format(t),s,a)},a.registerSpecialProp=function(e,t,i){Ce(e,{parser:function(e,r,n,s,a,o,l){var c=new be(e,n,0,0,a,2,n,!1,i);return c.plugin=o,c.setRatio=t(e,r,s._tween,n),c},priority:i})},a.useSVGTransformAttr=!0;var Le,Ae="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Re=K("transform"),ke=J+"transform",Oe=K("transformOrigin"),Me=null!==K("perspective"),Ie=Y.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Me)&&(a.defaultForce3D||"auto")},je=M.SVGElement,ze=function(e,t,i){var r,n=q.createElementNS("http://www.w3.org/2000/svg",e),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return t.appendChild(n),n},De=q.documentElement||{},Ne=function(){var e,t,i,r=m||/Android/i.test(U)&&!M.chrome;return q.createElementNS&&!r&&(e=ze("svg",De),t=ze("rect",e,{width:100,height:50,x:100}),i=t.getBoundingClientRect().width,t.style[Oe]="50% 50%",t.style[Re]="scaleX(0.5)",r=i===t.getBoundingClientRect().width&&!(p&&Me),De.removeChild(e)),r}(),Fe=function(e,t,i,r,n,s){var o,l,c,u,d,h,p,f,m,g,v,_,y,w,b=e._gsTransform,x=We(e,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!r||(o=r.split(" ")).length<2)&&(p=e.getBBox(),0===p.x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(e.hasAttribute("x")?e.getAttribute("x"):e.hasAttribute("cx")?e.getAttribute("cx"):0)||0,y:parseFloat(e.hasAttribute("y")?e.getAttribute("y"):e.hasAttribute("cy")?e.getAttribute("cy"):0)||0,width:0,height:0}),t=ce(t).split(" "),o=[(-1!==t[0].indexOf("%")?parseFloat(t[0])/100*p.width:parseFloat(t[0]))+p.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*p.height:parseFloat(t[1]))+p.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=d=parseFloat(o[1]),r&&x!==Xe&&(h=x[0],p=x[1],f=x[2],m=x[3],g=x[4],v=x[5],(_=h*m-p*f)&&(l=u*(m/_)+d*(-f/_)+(f*v-m*g)/_,c=u*(-p/_)+d*(h/_)-(h*v-p*g)/_,u=i.xOrigin=o[0]=l,d=i.yOrigin=o[1]=c)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==a.defaultSmoothOrigin?(l=u-y,c=d-w,b.xOffset+=l*x[0]+c*x[2]-l,b.yOffset+=l*x[1]+c*x[3]-c):b.xOffset=b.yOffset=0),s||e.setAttribute("data-svg-origin",o.join(" "))},Be=function e(t){var i,r=X("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,a=this.style.cssText;if(De.appendChild(r),r.appendChild(this),this.style.display="block",t)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=e}catch(e){}else this._originalGetBBox&&(i=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),De.removeChild(r),this.style.cssText=a,i},He=function(e){try{return e.getBBox()}catch(t){return Be.call(e,!0)}},qe=function(e){return!(!(je&&e.getCTM&&He(e))||e.parentNode&&!e.ownerSVGElement)},Xe=[1,0,0,1,0,0],We=function(e,t){var i,r,n,s,a,o,l=e._gsTransform||new Ie,c=e.style;if(Re?r=te(e,ke,null,!0):e.currentStyle&&(r=e.currentStyle.filter.match(I),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),l.x||0,l.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,i&&Re&&((o="none"===ee(e).display)||!e.parentNode)&&(o&&(s=c.display,c.display="block"),e.parentNode||(a=1,De.appendChild(e)),r=te(e,ke,null,!0),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?c.display=s:o&&$e(c,"display"),a&&De.removeChild(e)),(l.svg||e.getCTM&&qe(e))&&(i&&-1!==(c[Re]+"").indexOf("matrix")&&(r=c[Re],i=0),n=e.getAttribute("transform"),i&&n&&(-1!==n.indexOf("matrix")?(r=n,i=0):-1!==n.indexOf("translate")&&(r="matrix(1,0,0,1,"+n.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Xe;for(n=(r||"").match(_)||[],Se=n.length;--Se>-1;)s=Number(n[Se]),n[Se]=(a=s-(s|=0))?(1e5*a+(0>a?-.5:.5)|0)/1e5+s:s;return t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ge=Y.getTransform=function(e,i,r,n){if(e._gsTransform&&r&&!n)return e._gsTransform;var s,o,l,c,u,d,h=r?e._gsTransform||new Ie:new Ie,p=h.scaleX<0,f=1e5,m=Me?parseFloat(te(e,Oe,i,!1,"0 0 0").split(" ")[2])||h.zOrigin||0:0,g=parseFloat(a.defaultTransformPerspective)||0;if(h.svg=!(!e.getCTM||!qe(e)),h.svg&&(Fe(e,te(e,Oe,i,!1,"50% 50%")+"",h,e.getAttribute("data-svg-origin")),Le=a.useSVGTransformAttr||Ne),(s=We(e))!==Xe){if(16===s.length){var v,_,y,w,b,x=s[0],T=s[1],S=s[2],E=s[3],C=s[4],P=s[5],L=s[6],A=s[7],R=s[8],k=s[9],O=s[10],M=s[12],I=s[13],j=s[14],z=s[11],D=Math.atan2(L,O);h.zOrigin&&(j=-h.zOrigin,M=R*j-s[12],I=k*j-s[13],j=O*j+h.zOrigin-s[14]),h.rotationX=D*F,D&&(w=Math.cos(-D),b=Math.sin(-D),v=C*w+R*b,_=P*w+k*b,y=L*w+O*b,R=C*-b+R*w,k=P*-b+k*w,O=L*-b+O*w,z=A*-b+z*w,C=v,P=_,L=y),D=Math.atan2(-S,O),h.rotationY=D*F,D&&(w=Math.cos(-D),b=Math.sin(-D),v=x*w-R*b,_=T*w-k*b,y=S*w-O*b,k=T*b+k*w,O=S*b+O*w,z=E*b+z*w,x=v,T=_,S=y),D=Math.atan2(T,x),h.rotation=D*F,D&&(w=Math.cos(-D),b=Math.sin(-D),x=x*w+C*b,_=T*w+P*b,P=T*-b+P*w,L=S*-b+L*w,T=_),h.rotationX&&Math.abs(h.rotationX)+Math.abs(h.rotation)>359.9&&(h.rotationX=h.rotation=0,h.rotationY=180-h.rotationY),h.scaleX=(Math.sqrt(x*x+T*T)*f+.5|0)/f,h.scaleY=(Math.sqrt(P*P+k*k)*f+.5|0)/f,h.scaleZ=(Math.sqrt(L*L+O*O)*f+.5|0)/f,h.rotationX||h.rotationY?h.skewX=0:(h.skewX=C||P?Math.atan2(C,P)*F+h.rotation:h.skewX||0,Math.abs(h.skewX)>90&&Math.abs(h.skewX)<270&&(p?(h.scaleX*=-1,h.skewX+=h.rotation<=0?180:-180,h.rotation+=h.rotation<=0?180:-180):(h.scaleY*=-1,h.skewX+=h.skewX<=0?180:-180))),h.perspective=z?1/(0>z?-z:z):0,h.x=M,h.y=I,h.z=j,h.svg&&(h.x-=h.xOrigin-(h.xOrigin*x-h.yOrigin*C),h.y-=h.yOrigin-(h.yOrigin*T-h.xOrigin*P))}else if(!Me||n||!s.length||h.x!==s[4]||h.y!==s[5]||!h.rotationX&&!h.rotationY){var N=s.length>=6,B=N?s[0]:1,H=s[1]||0,q=s[2]||0,X=N?s[3]:1;h.x=s[4]||0,h.y=s[5]||0,l=Math.sqrt(B*B+H*H),c=Math.sqrt(X*X+q*q),u=B||H?Math.atan2(H,B)*F:h.rotation||0,d=q||X?Math.atan2(q,X)*F+u:h.skewX||0,Math.abs(d)>90&&Math.abs(d)<270&&(p?(l*=-1,d+=0>=u?180:-180,u+=0>=u?180:-180):(c*=-1,d+=0>=d?180:-180)),h.scaleX=l,h.scaleY=c,h.rotation=u,h.skewX=d,Me&&(h.rotationX=h.rotationY=h.z=0,h.perspective=g,h.scaleZ=1),h.svg&&(h.x-=h.xOrigin-(h.xOrigin*B+h.yOrigin*q),h.y-=h.yOrigin-(h.xOrigin*H+h.yOrigin*X))}h.zOrigin=m;for(o in h)h[o]<2e-5&&h[o]>-2e-5&&(h[o]=0)}return r&&(e._gsTransform=h,h.svg&&(Le&&e.style[Re]?t.delayedCall(.001,function(){$e(e.style,Re)}):!Le&&e.getAttribute("transform")&&t.delayedCall(.001,function(){e.removeAttribute("transform")}))),h},Ye=function(e){var t,i,r=this.data,n=-r.rotation*N,s=n+r.skewX*N,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,c=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,d=this.t.style,h=this.t.currentStyle;if(h){i=l,l=-c,c=-i,t=h.filter,d.filter="";var p,f,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==h.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+c+", M22="+u,w=r.x+g*r.xPercent/100,b=r.y+v*r.yPercent/100;if(null!=r.ox&&(p=(r.oxp?g*r.ox*.01:r.ox)-g/2,f=(r.oyp?v*r.oy*.01:r.oy)-v/2,w+=p-(p*o+f*l),b+=f-(p*c+f*u)),_?(p=g/2,f=v/2,y+=", Dx="+(p-(p*o+f*l)+w)+", Dy="+(f-(p*c+f*u)+b)+")"):y+=", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?d.filter=t.replace(j,y):d.filter=y+" "+t,(0===e||1===e)&&1===o&&0===l&&0===c&&1===u&&(_&&-1===y.indexOf("Dx=0, Dy=0")||S.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&d.removeAttribute("filter")),!_){var x,E,C,P=8>m?1:-1;for(p=r.ieOffsetX||0,f=r.ieOffsetY||0,r.ieOffsetX=Math.round((g-((0>o?-o:o)*g+(0>l?-l:l)*v))/2+w),r.ieOffsetY=Math.round((v-((0>u?-u:u)*v+(0>c?-c:c)*g))/2+b),Se=0;4>Se;Se++)E=oe[Se],x=h[E],i=-1!==x.indexOf("px")?parseFloat(x):ie(this.t,E,parseFloat(x),x.replace(T,""))||0,C=i!==r[E]?2>Se?-r.ieOffsetX:-r.ieOffsetY:2>Se?p-r.ieOffsetX:f-r.ieOffsetY,d[E]=(r[E]=Math.round(i-C*(0===Se||2===Se?1:P)))+"px"}}},Ue=Y.set3DTransformRatio=Y.setTransformRatio=function(e){var t,i,r,n,s,a,o,l,c,u,d,h,f,m,g,v,_,y,w,b,x,T,S,E=this.data,C=this.t.style,P=E.rotation,L=E.rotationX,A=E.rotationY,R=E.scaleX,k=E.scaleY,O=E.scaleZ,M=E.x,I=E.y,j=E.z,z=E.svg,D=E.perspective,F=E.force3D,B=E.skewY,H=E.skewX;if(B&&(H+=B,P+=B),((1===e||0===e)&&"auto"===F&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!F)&&!j&&!D&&!A&&!L&&1===O||Le&&z||!Me)return void(P||H||z?(P*=N,T=H*N,S=1e5,i=Math.cos(P)*R,s=Math.sin(P)*R,r=Math.sin(P-T)*-k,a=Math.cos(P-T)*k,T&&"simple"===E.skewType&&(t=Math.tan(T-B*N),t=Math.sqrt(1+t*t),r*=t,a*=t,B&&(t=Math.tan(B*N),t=Math.sqrt(1+t*t),i*=t,s*=t)),z&&(M+=E.xOrigin-(E.xOrigin*i+E.yOrigin*r)+E.xOffset,I+=E.yOrigin-(E.xOrigin*s+E.yOrigin*a)+E.yOffset,Le&&(E.xPercent||E.yPercent)&&(g=this.t.getBBox(),M+=.01*E.xPercent*g.width,I+=.01*E.yPercent*g.height),g=1e-6,g>M&&M>-g&&(M=0),g>I&&I>-g&&(I=0)),w=(i*S|0)/S+","+(s*S|0)/S+","+(r*S|0)/S+","+(a*S|0)/S+","+M+","+I+")",z&&Le?this.t.setAttribute("transform","matrix("+w):C[Re]=(E.xPercent||E.yPercent?"translate("+E.xPercent+"%,"+E.yPercent+"%) matrix(":"matrix(")+w):C[Re]=(E.xPercent||E.yPercent?"translate("+E.xPercent+"%,"+E.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+k+","+M+","+I+")");if(p&&(g=1e-4,g>R&&R>-g&&(R=O=2e-5),g>k&&k>-g&&(k=O=2e-5),!D||E.z||E.rotationX||E.rotationY||(D=0)),P||H)P*=N,v=i=Math.cos(P),_=s=Math.sin(P),H&&(P-=H*N,v=Math.cos(P),_=Math.sin(P),"simple"===E.skewType&&(t=Math.tan((H-B)*N),t=Math.sqrt(1+t*t),v*=t,_*=t,E.skewY&&(t=Math.tan(B*N),t=Math.sqrt(1+t*t),i*=t,s*=t))),r=-_,a=v;else{if(!(A||L||1!==O||D||z))return void(C[Re]=(E.xPercent||E.yPercent?"translate("+E.xPercent+"%,"+E.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+I+"px,"+j+"px)"+(1!==R||1!==k?" scale("+R+","+k+")":""));i=a=1,r=s=0}u=1,n=o=l=c=d=h=0,f=D?-1/D:0,m=E.zOrigin,g=1e-6,b=",",x="0",P=A*N,P&&(v=Math.cos(P),_=Math.sin(P),l=-_,d=f*-_,n=i*_,o=s*_,u=v,f*=v,i*=v,s*=v),P=L*N,P&&(v=Math.cos(P),_=Math.sin(P),t=r*v+n*_,y=a*v+o*_,c=u*_,h=f*_,n=r*-_+n*v,o=a*-_+o*v,u*=v,f*=v,r=t,a=y),1!==O&&(n*=O,o*=O,u*=O,f*=O),1!==k&&(r*=k,a*=k,c*=k,h*=k),1!==R&&(i*=R,s*=R,l*=R,d*=R),(m||z)&&(m&&(M+=n*-m,I+=o*-m,j+=u*-m+m),z&&(M+=E.xOrigin-(E.xOrigin*i+E.yOrigin*r)+E.xOffset,I+=E.yOrigin-(E.xOrigin*s+E.yOrigin*a)+E.yOffset),g>M&&M>-g&&(M=x),g>I&&I>-g&&(I=x),g>j&&j>-g&&(j=0)),w=E.xPercent||E.yPercent?"translate("+E.xPercent+"%,"+E.yPercent+"%) matrix3d(":"matrix3d(",w+=(g>i&&i>-g?x:i)+b+(g>s&&s>-g?x:s)+b+(g>l&&l>-g?x:l),w+=b+(g>d&&d>-g?x:d)+b+(g>r&&r>-g?x:r)+b+(g>a&&a>-g?x:a),L||A||1!==O?(w+=b+(g>c&&c>-g?x:c)+b+(g>h&&h>-g?x:h)+b+(g>n&&n>-g?x:n),w+=b+(g>o&&o>-g?x:o)+b+(g>u&&u>-g?x:u)+b+(g>f&&f>-g?x:f)+b):w+=",0,0,0,0,1,0,",w+=M+b+I+b+j+b+(D?1+-j/D:1)+")",C[Re]=w};c=Ie.prototype,c.x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,Ce("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(e,t,i,r,s,o,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var c,u=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(c=l[i],l[i]=t),u&&(l.scale=u(v,e));var d,h,p,f,m,_,w,b,x,T=e._gsTransform,S=e.style,E=Ae.length,C=l,P={},L="transformOrigin",A=Ge(e,n,!0,C.parseTransform),R=C.transform&&("function"==typeof C.transform?C.transform(v,g):C.transform);if(r._transform=A,R&&"string"==typeof R&&Re)h=W.style,h[Re]=R,h.display="block",h.position="absolute",q.body.appendChild(W),d=Ge(W,null,!1),A.svg&&(_=A.xOrigin,w=A.yOrigin,d.x-=A.xOffset,d.y-=A.yOffset,(C.transformOrigin||C.svgOrigin)&&(R={},Fe(e,ce(C.transformOrigin),R,C.svgOrigin,C.smoothOrigin,!0),_=R.xOrigin,w=R.yOrigin,d.x-=R.xOffset-A.xOffset,d.y-=R.yOffset-A.yOffset),(_||w)&&(b=We(W,!0),d.x-=_-(_*b[0]+w*b[2]),d.y-=w-(_*b[1]+w*b[3]))),q.body.removeChild(W),d.perspective||(d.perspective=A.perspective),null!=C.xPercent&&(d.xPercent=de(C.xPercent,A.xPercent)),null!=C.yPercent&&(d.yPercent=de(C.yPercent,A.yPercent));else if("object"==(void 0===C?"undefined":y(C))){if(d={scaleX:de(null!=C.scaleX?C.scaleX:C.scale,A.scaleX),scaleY:de(null!=C.scaleY?C.scaleY:C.scale,A.scaleY),scaleZ:de(C.scaleZ,A.scaleZ),x:de(C.x,A.x),y:de(C.y,A.y),z:de(C.z,A.z),xPercent:de(C.xPercent,A.xPercent),yPercent:de(C.yPercent,A.yPercent),perspective:de(C.transformPerspective,A.perspective)},null!=(m=C.directionalRotation))if("object"==(void 0===m?"undefined":y(m)))for(h in m)C[h]=m[h];else C.rotation=m;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(d.x=0,d.xPercent=de(C.x,A.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(d.y=0,d.yPercent=de(C.y,A.yPercent)),d.rotation=he("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":"rotationZ"in C?C.rotationZ:A.rotation,A.rotation,"rotation",P),Me&&(d.rotationX=he("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":A.rotationX||0,A.rotationX,"rotationX",P),d.rotationY=he("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":A.rotationY||0,A.rotationY,"rotationY",P)),d.skewX=he(C.skewX,A.skewX),d.skewY=he(C.skewY,A.skewY)}for(Me&&null!=C.force3D&&(A.force3D=C.force3D,f=!0),A.skewType=C.skewType||A.skewType||a.defaultSkewType,(p=A.force3D||A.z||A.rotationX||A.rotationY||d.z||d.rotationX||d.rotationY||d.perspective)||null==C.scale||(d.scaleZ=1);--E>-1;)x=Ae[E],((R=d[x]-A[x])>1e-6||-1e-6>R||null!=C[x]||null!=B[x])&&(f=!0,s=new be(A,x,A[x],R,s),x in P&&(s.e=P[x]),s.xs0=0,s.plugin=o,r._overwriteProps.push(s.n));return R=C.transformOrigin,A.svg&&(R||C.svgOrigin)&&(_=A.xOffset,w=A.yOffset,Fe(e,ce(R),d,C.svgOrigin,C.smoothOrigin),s=xe(A,"xOrigin",(T?A:d).xOrigin,d.xOrigin,s,L),s=xe(A,"yOrigin",(T?A:d).yOrigin,d.yOrigin,s,L),(_!==A.xOffset||w!==A.yOffset)&&(s=xe(A,"xOffset",T?_:A.xOffset,A.xOffset,s,L),s=xe(A,"yOffset",T?w:A.yOffset,A.yOffset,s,L)),R="0px 0px"),(R||Me&&p&&A.zOrigin)&&(Re?(f=!0,x=Oe,R=(R||te(e,x,n,!1,"50% 50%"))+"",s=new be(S,x,0,0,s,-1,L),s.b=S[x],s.plugin=o,Me?(h=A.zOrigin,R=R.split(" "),A.zOrigin=(R.length>2&&(0===h||"0px"!==R[2])?parseFloat(R[2]):h)||0,s.xs0=s.e=R[0]+" "+(R[1]||"50%")+" 0px",s=new be(A,"zOrigin",0,0,s,-1,s.n),s.b=h,s.xs0=s.e=A.zOrigin):s.xs0=s.e=R):ce(R+"",A)),f&&(r._transformType=A.svg&&Le||!p&&3!==this._transformType?2:3),c&&(l[i]=c),u&&(l.scale=u),s},prefix:!0}),Ce("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ce("borderRadius",{defaultValue:"0px",parser:function(e,t,i,s,a,o){t=this.format(t);var l,c,u,d,h,p,f,m,g,v,_,y,w,b,x,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],E=e.style;for(g=parseFloat(e.offsetWidth),v=parseFloat(e.offsetHeight),l=t.split(" "),c=0;c<S.length;c++)this.p.indexOf("border")&&(S[c]=K(S[c])),h=d=te(e,S[c],n,!1,"0px"),-1!==h.indexOf(" ")&&(d=h.split(" "),h=d[0],d=d[1]),p=u=l[c],f=parseFloat(h),y=h.substr((f+"").length),w="="===p.charAt(1),w?(m=parseInt(p.charAt(0)+"1",10),p=p.substr(2),m*=parseFloat(p),_=p.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(p),_=p.substr((m+"").length)),""===_&&(_=r[i]||y),_!==y&&(b=ie(e,"borderLeft",f,y),x=ie(e,"borderTop",f,y),"%"===_?(h=b/g*100+"%",d=x/v*100+"%"):"em"===_?(T=ie(e,"borderLeft",1,"em"),h=b/T+"em",d=x/T+"em"):(h=b+"px",d=x+"px"),w&&(p=parseFloat(h)+m+_,u=parseFloat(d)+m+_)),a=Te(E,S[c],h+" "+d,p+" "+u,!1,"0px",a);return a},prefix:!0,formatter:_e("0px 0px 0px 0px",!1,!0)}),Ce("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,i,r,s,a){return Te(e.style,i,this.format(te(e,i,n,!1,"0px 0px")),this.format(t),!1,"0px",s)},prefix:!0,formatter:_e("0px 0px",!1,!0)}),Ce("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,i,r,s,a){var o,l,c,u,d,h,p="background-position",f=n||ee(e,null),g=this.format((f?m?f.getPropertyValue(p+"-x")+" "+f.getPropertyValue(p+"-y"):f.getPropertyValue(p):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),v=this.format(t);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(h=te(e,"backgroundImage").replace(R,""))&&"none"!==h){for(o=g.split(" "),l=v.split(" "),G.setAttribute("src",h),c=2;--c>-1;)g=o[c],(u=-1!==g.indexOf("%"))!==(-1!==l[c].indexOf("%"))&&(d=0===c?e.offsetWidth-G.width:e.offsetHeight-G.height,o[c]=u?parseFloat(g)/100*d+"px":parseFloat(g)/d*100+"%");g=o.join(" ")}return this.parseComplex(e.style,g,v,s,a)},formatter:ce}),Ce("backgroundSize",{defaultValue:"0 0",formatter:function(e){return e+="",ce(-1===e.indexOf(" ")?e+" "+e:e)}}),Ce("perspective",{defaultValue:"0px",prefix:!0}),Ce("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ce("transformStyle",{prefix:!0}),Ce("backfaceVisibility",{prefix:!0}),Ce("userSelect",{prefix:!0}),Ce("margin",{parser:ye("marginTop,marginRight,marginBottom,marginLeft")}),Ce("padding",{parser:ye("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ce("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,i,r,s,a){var o,l,c;return 9>m?(l=e.currentStyle,c=8>m?" ":",",o="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",t=this.format(t).split(",").join(c)):(o=this.format(te(e,this.p,n,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,o,t,s,a)}}),Ce("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ce("autoRound,strictUnits",{parser:function(e,t,i,r,n){return n}}),Ce("border",{defaultValue:"0px solid #000",parser:function(e,t,i,r,s,a){var o=te(e,"borderTopWidth",n,!1,"0px"),l=this.format(t).split(" "),c=l[0].replace(T,"");return"px"!==c&&(o=parseFloat(o)/ie(e,"borderTopWidth",1,c)+c),this.parseComplex(e.style,this.format(o+" "+te(e,"borderTopStyle",n,!1,"solid")+" "+te(e,"borderTopColor",n,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ve)||["#000"])[0]}}),Ce("borderWidth",{parser:ye("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ce("float,cssFloat,styleFloat",{parser:function(e,t,i,r,n,s){var a=e.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new be(a,o,0,0,n,-1,i,!1,0,a[o],t)}});var Ve=function(e){var t,i=this.t,r=i.filter||te(this.data,"filter")||"",n=this.s+this.c*e|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),t=!te(this.data,"filter")):(i.filter=r.replace(C,""),t=!0)),t||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(S,"opacity="+n))};Ce("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,i,r,s,a){var o=parseFloat(te(e,"opacity",n,!1,"1")),l=e.style,c="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+o),c&&1===o&&"hidden"===te(e,"visibility",n)&&0!==t&&(o=0),V?s=new be(l,"opacity",o,t-o,s):(s=new be(l,"opacity",100*o,100*(t-o),s),s.xn1=c?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=e,s.plugin=a,s.setRatio=Ve),c&&(s=new be(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===t?"hidden":"inherit"),s.xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var $e=function(e,t){t&&(e.removeProperty?(("ms"===t.substr(0,2)||"webkit"===t.substr(0,6))&&(t="-"+t),e.removeProperty(t.replace(L,"-$1").toLowerCase())):e.removeAttribute(t))},Qe=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:$e(i,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ce("className",{parser:function(e,t,r,s,a,o,l){var c,u,d,h,p,f=e.getAttribute("class")||"",m=e.style.cssText;if(a=s._classNamePT=new be(e,r,0,0,a,2),a.setRatio=Qe,a.pr=-11,i=!0,a.b=f,u=ne(e,n),d=e._gsClassPT){for(h={},p=d.data;p;)h[p.p]=1,p=p._next;d.setRatio(1)}return e._gsClassPT=a,a.e="="!==t.charAt(1)?t:f.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",a.e),c=se(e,u,ne(e),l,h),e.setAttribute("class",f),a.data=c.firstMPT,e.style.cssText=m,a=a.xfirst=s.parse(e,c.difs,a,o)}});var Je=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,i,r,n,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(t=this.e.split(" ").join("").split(","),r=t.length;--r>-1;)i=t[r],l[i]&&(l[i].parse===o?n=!0:i="transformOrigin"===i?Oe:l[i].p),$e(a,i);n&&($e(a,Re),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ce("clearProps",{parser:function(e,t,r,n,s){return s=new be(e,r,0,0,s,2),s.setRatio=Je,s.e=t,s.pr=-10,s.data=n._tween,i=!0,s}}),c="bezier,throwProps,physicsProps,physics2D".split(","),Se=c.length;Se--;)Pe(c[Se]);c=a.prototype,c._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(e,t,o,c){if(!e.nodeType)return!1;this._target=g=e,this._tween=o,this._vars=t,v=c,u=t.autoRound,i=!1,r=t.suffixMap||a.suffixMap,n=ee(e,""),s=this._overwriteProps;var p,m,_,y,w,b,x,T,S,C=e.style;if(d&&""===C.zIndex&&("auto"===(p=te(e,"zIndex",n))||""===p)&&this._addLazySet(C,"zIndex",0),"string"==typeof t&&(y=C.cssText,p=ne(e,n),C.cssText=y+";"+t,p=se(e,p,ne(e)).difs,!V&&E.test(t)&&(p.opacity=parseFloat(RegExp.$1)),t=p,C.cssText=y),t.className?this._firstPT=m=l.className.parse(e,t.className,"className",this,null,null,t):this._firstPT=m=this.parse(e,t,null),this._transformType){for(S=3===this._transformType,Re?h&&(d=!0,""===C.zIndex&&("auto"===(x=te(e,"zIndex",n))||""===x)&&this._addLazySet(C,"zIndex",0),f&&this._addLazySet(C,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):C.zoom=1,_=m;_&&_._next;)_=_._next;T=new be(e,"transform",0,0,null,2),this._linkCSSP(T,null,_),T.setRatio=Re?Ue:Ye,T.data=this._transform||Ge(e,n,!0),T.tween=o,T.pr=-1,s.pop()}if(i){for(;m;){for(b=m._next,_=y;_&&_.pr>m.pr;)_=_._next;(m._prev=_?_._prev:w)?m._prev._next=m:y=m,(m._next=_)?_._prev=m:w=m,m=b}this._firstPT=y}return!0},c.parse=function(e,t,i,s){var a,o,c,d,h,p,f,m,_,y,w=e.style;for(a in t)p=t[a],"function"==typeof p&&(p=p(v,g)),o=l[a],o?i=o.parse(e,p,a,this,i,s,t):(h=te(e,a,n)+"",_="string"==typeof p,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||_&&P.test(p)?(_||(p=me(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Te(w,a,h,p,!0,"transparent",i,0,s)):_&&D.test(p)?i=Te(w,a,h,p,!0,null,i,0,s):(c=parseFloat(h),f=c||0===c?h.substr((c+"").length):"",(""===h||"auto"===h)&&("width"===a||"height"===a?(c=le(e,a,n),f="px"):"left"===a||"top"===a?(c=re(e,a,n),f="px"):(c="opacity"!==a?0:1,f="")),y=_&&"="===p.charAt(1),y?(d=parseInt(p.charAt(0)+"1",10),p=p.substr(2),d*=parseFloat(p),m=p.replace(T,"")):(d=parseFloat(p),m=_?p.replace(T,""):""),""===m&&(m=a in r?r[a]:f),p=d||0===d?(y?d+c:d)+m:t[a],f!==m&&""!==m&&(d||0===d)&&c&&(c=ie(e,a,c,f),"%"===m?(c/=ie(e,a,100,"%")/100,!0!==t.strictUnits&&(h=c+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?c/=ie(e,a,1,m):"px"!==m&&(d=ie(e,a,d,m),m="px"),y&&(d||0===d)&&(p=d+c+m)),y&&(d+=c),!c&&0!==c||!d&&0!==d?void 0!==w[a]&&(p||p+""!="NaN"&&null!=p)?(i=new be(w,a,d||c||0,0,i,-1,a,!1,0,h,p),i.xs0="none"!==p||"display"!==a&&-1===a.indexOf("Style")?p:h):Q("invalid "+a+" tween value: "+t[a]):(i=new be(w,a,c,d-c,i,0,a,!1!==u&&("px"===m||"zIndex"===a),0,h,p),i.xs0=m))),s&&i&&!i.plugin&&(i.plugin=s);return i},c.setRatio=function(e){var t,i,r,n=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(t=n.c*e+n.s,n.r?t=Math.round(t):1e-6>t&&t>-1e-6&&(t=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+t+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+t+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+t+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+t+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+t+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(e);else n.t[n.p]=t+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(e),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(t=Math.round(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+t+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=t+n.xs0;else n.t[n.p]=n.e;else n.setRatio(e);n=n._next}},c._enableTransforms=function(e){this._transform=this._transform||Ge(this._target,n,!0),this._transformType=this._transform.svg&&Le||!e&&3!==this._transformType?2:3};var Ze=function(e){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};c._addLazySet=function(e,t,i){var r=this._firstPT=new be(e,t,0,0,this._firstPT,2);r.e=i,r.setRatio=Ze,r.data=this},c._linkCSSP=function(e,t,i,r){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,r=!0),i?i._next=e:r||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=i),e},c._mod=function(e){for(var t=this._firstPT;t;)"function"==typeof e[t.p]&&e[t.p]===Math.round&&(t.r=1),t=t._next},c._kill=function(t){var i,r,n,s=t;if(t.autoAlpha||t.alpha){s={};for(r in t)s[r]=t[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(t.className&&(i=this._classNamePT)&&(n=i.xfirst,n&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(t),r=i.plugin),i=i._next;return e.prototype._kill.call(this,s)};var Ke=function e(t,i,r){var n,s,a,o;if(t.slice)for(s=t.length;--s>-1;)e(t[s],i,r);else for(n=t.childNodes,s=n.length;--s>-1;)a=n[s],o=a.type,a.style&&(i.push(ne(a)),r&&r.push(a)),1!==o&&9!==o&&11!==o||!a.childNodes.length||e(a,i,r)};return a.cascadeTo=function(e,i,r){var n,s,a,o,l=t.to(e,i,r),c=[l],u=[],d=[],h=[],p=t._internals.reservedProps;for(e=l._targets||l.target,Ke(e,u,h),l.render(i,!0,!0),Ke(e,d),l.render(0,!0,!0),l._enabled(!0),n=h.length;--n>-1;)if(s=se(h[n],u[n],d[n]),s.firstMPT){s=s.difs;for(a in r)p[a]&&(s[a]=r[a]);o={};for(a in s)o[a]=u[n][a];c.push(t.fromTo(h[n],i,o,s))}return c},e.activate([a]),a},!0),function(){var e=M._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(e,t,i){return this._tween=i,!0}}),t=function(e){for(;e;)e.f||e.blob||(e.m=Math.round),e=e._next},i=e.prototype;i._onInitAllProps=function(){for(var e,i,r,n=this._tween,s=n.vars.roundProps.join?n.vars.roundProps:n.vars.roundProps.split(","),a=s.length,o={},l=n._propLookup.roundProps;--a>-1;)o[s[a]]=Math.round;for(a=s.length;--a>-1;)for(e=s[a],i=n._firstPT;i;)r=i._next,i.pg?i.t._mod(o):i.n===e&&(2===i.f&&i.t?t(i.t._firstPT):(this._add(i.t,e,i.s,i.c),r&&(r._prev=i._prev),i._prev?i._prev._next=r:n._firstPT===i&&(n._firstPT=r),i._next=i._prev=null,n._propLookup[e]=l)),i=r;return!1},i._add=function(e,t,i,r){this._addTween(e,t,i,i+r,t,Math.round),this._overwriteProps.push(t)}}(),function(){M._gsDefine.plugin({propName:"attr",API:2,version:"0.6.0",init:function(e,t,i,r){var n,s;if("function"!=typeof e.setAttribute)return!1;for(n in t)s=t[n],"function"==typeof s&&(s=s(r,e)),this._addTween(e,"setAttribute",e.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}})}(),M._gsDefine.plugin({propName:"directionalRotation",version:"0.3.0",API:2,init:function(e,t,i,r){"object"!=(void 0===t?"undefined":y(t))&&(t={rotation:t}),this.finals={};var n,s,a,o,l,c,u=!0===t.useRadians?2*Math.PI:360;for(n in t)"useRadians"!==n&&(o=t[n],"function"==typeof o&&(o=o(r,e)),c=(o+"").split("_"),s=c[0],a=parseFloat("function"!=typeof e[n]?e[n]:e[n.indexOf("set")||"function"!=typeof e["get"+n.substr(3)]?n:"get"+n.substr(3)]()),o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0,l=o-a,c.length&&(s=c.join("_"),-1!==s.indexOf("short")&&(l%=u)!==l%(u/2)&&(l=0>l?l+u:l-u),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>1e-6||-1e-6>l)&&(this._addTween(e,n,a,a+l,n),this._overwriteProps.push(n)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,M._gsDefine("easing.Back",["easing.Ease"],function(e){var t,i,r,n=M.GreenSockGlobals||M,s=n.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,c=function(t,i){var r=l("easing."+t,function(){},!0),n=r.prototype=new e;return n.constructor=r,n.getRatio=i,r},u=e.register||function(){},d=function(e,t,i,r,n){var s=l("easing."+e,{easeOut:new t,easeIn:new i,easeInOut:new r},!0);return u(s,e),s},h=function(e,t,i){this.t=e,this.v=t,i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-e)},p=function(t,i){var r=l("easing."+t,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new e;return n.constructor=r,n.getRatio=i,n.config=function(e){return new r(e)},r},f=d("Back",p("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),p("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),p("BackInOut",function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),m=l("easing.SlowMo",function(e,t,i){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new e;return g.constructor=m,g.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},m.ease=new m(.7,.7),g.config=m.config=function(e,t,i){return new m(e,t,i)},t=l("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0),g=t.prototype=new e,g.constructor=t,g.getRatio=function(e){return 0>e?e=0:e>=1&&(e=.999999999),(this._p2*e>>0)*this._p1},g.config=t.config=function(e){return new t(e)},i=l("easing.RoughEase",function(t){t=t||{};for(var i,r,n,s,a,o,l=t.taper||"none",c=[],u=0,d=0|(t.points||20),p=d,f=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof e?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--p>-1;)i=f?Math.random():1/d*p,r=g?g.getRatio(i):i,"none"===l?n=v:"out"===l?(s=1-i,n=s*s*v):"in"===l?n=i*i*v:.5>i?(s=2*i,n=s*s*.5*v):(s=2*(1-i),n=s*s*.5*v),f?r+=Math.random()*n-.5*n:p%2?r+=.5*n:r-=.5*n,m&&(r>1?r=1:0>r&&(r=0)),c[u++]={x:i,y:r};for(c.sort(function(e,t){return e.x-t.x}),o=new h(1,1,null),p=d;--p>-1;)a=c[p],o=new h(a.x,a.y,o);this._prev=new h(0,0,0!==o.t?o:o.next)},!0),g=i.prototype=new e,g.constructor=i,g.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},g.config=function(e){return new i(e)},i.ease=new i,d("Bounce",c("BounceOut",function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),c("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:2/2.75>e?1-(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),c("BounceInOut",function(e){var t=.5>e;return e=t?1-2*e:2*e-1,e=1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),d("Circ",c("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),c("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),c("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),r=function(t,i,r){var n=l("easing."+t,function(e,t){this._p1=e>=1?e:1,this._p2=(t||r)/(1>e?e:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=n.prototype=new e;return s.constructor=n,s.getRatio=i,s.config=function(e,t){return new n(e,t)},n},d("Elastic",r("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),r("ElasticIn",function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)},.3),r("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),d("Expo",c("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),c("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),c("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),d("Sine",c("SineOut",function(e){return Math.sin(e*o)}),c("SineIn",function(e){return 1-Math.cos(e*o)}),c("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),l("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),u(n.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(t,"SteppedEase","ease,"),f},!0)}),M._gsDefine&&M._gsQueue.pop()(),function(r,n){var s={},l=r.document,c=r.GreenSockGlobals=r.GreenSockGlobals||r;if(!c.TweenLite){var u,d,h,p,f,m=function(e){var t,i=e.split("."),r=c;for(t=0;t<i.length;t++)r[i[t]]=r=r[i[t]]||{};return r},g=m("com.greensock"),v=1e-10,_=function(e){var t,i=[],r=e.length;for(t=0;t!==r;i.push(e[t++]));return i},w=function(){},b=function(){var e=Object.prototype.toString,t=e.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==(void 0===i?"undefined":y(i))&&!!i.push&&e.call(i)===t)}}(),x={},T=function r(l,u,d,h){this.sc=x[l]?x[l].sc:[],x[l]=this,this.gsClass=null,this.func=d;var p=[];this.check=function(f){for(var g,v,_,y,w,b=u.length,T=b;--b>-1;)(g=x[u[b]]||new r(u[b],[])).gsClass?(p[b]=g.gsClass,T--):f&&g.sc.push(this);if(0===T&&d){if(v=("com.greensock."+l).split("."),_=v.pop(),y=m(v.join("."))[_]=this.gsClass=d.apply(d,p),h)if(c[_]=s[_]=y,(w=void 0!==e&&e.exports)||0||!i(1)){if(w)if(l===n){e.exports=s[n]=y;for(b in s)y[b]=s[b]}else s[n]&&(s[n][_]=y)}else o=[],void 0!==(a=function(){return y}.apply(t,o))&&(e.exports=a);for(b=0;b<this.sc.length;b++)this.sc[b].check()}},this.check(!0)},S=r._gsDefine=function(e,t,i,r){return new T(e,t,i,r)},E=g._class=function(e,t,i){return t=t||function(){},S(e,[],function(){return t},i),t};S.globals=c;var C=[0,0,1,1],P=E("easing.Ease",function(e,t,i,r){this._func=e,this._type=i||0,this._power=r||0,this._params=t?C.concat(t):C},!0),L=P.map={},A=P.register=function(e,t,i,r){for(var n,s,a,o,l=t.split(","),c=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(s=l[c],n=r?E("easing."+s,null,!0):g.easing[s]||{},a=u.length;--a>-1;)o=u[a],L[s+"."+o]=L[o+s]=n[o]=e.getRatio?e:e[o]||new e};for(h=P.prototype,h._calcEnd=!1,h.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,r=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===t?1-r:2===t?r:.5>e?r/2:1-r/2},u=["Linear","Quad","Cubic","Quart","Quint,Strong"],d=u.length;--d>-1;)h=u[d]+",Power"+d,A(new P(null,null,1,d),h,"easeOut",!0),A(new P(null,null,2,d),h,"easeIn"+(0===d?",easeNone":"")),A(new P(null,null,3,d),h,"easeInOut");L.linear=g.easing.Linear.easeIn,L.swing=g.easing.Quad.easeInOut;var R=E("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});h=R.prototype,h.addEventListener=function(e,t,i,r,n){n=n||0;var s,a,o=this._listeners[e],l=0;for(this!==p||f||p.wake(),null==o&&(this._listeners[e]=o=[]),a=o.length;--a>-1;)s=o[a],s.c===t&&s.s===i?o.splice(a,1):0===l&&s.pr<n&&(l=a+1);o.splice(l,0,{c:t,s:i,up:r,pr:n})},h.removeEventListener=function(e,t){var i,r=this._listeners[e];if(r)for(i=r.length;--i>-1;)if(r[i].c===t)return void r.splice(i,1)},h.dispatchEvent=function(e){var t,i,r,n=this._listeners[e];if(n)for(t=n.length,t>1&&(n=n.slice(0)),i=this._eventTarget;--t>-1;)(r=n[t])&&(r.up?r.c.call(r.s||i,{type:e,target:i}):r.c.call(r.s||i))};var k=r.requestAnimationFrame,O=r.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},I=M();for(u=["ms","moz","webkit","o"],d=u.length;--d>-1&&!k;)k=r[u[d]+"RequestAnimationFrame"],O=r[u[d]+"CancelAnimationFrame"]||r[u[d]+"CancelRequestAnimationFrame"];E("Ticker",function(e,t){var i,r,n,s,a,o=this,c=M(),u=!(!1===t||!k)&&"auto",d=500,h=33,m=function e(t){var l,u,p=M()-I;p>d&&(c+=p-h),I+=p,o.time=(I-c)/1e3,l=o.time-a,(!i||l>0||!0===t)&&(o.frame++,a+=l+(l>=s?.004:s-l),u=!0),!0!==t&&(n=r(e)),u&&o.dispatchEvent("tick")};R.call(o),o.time=o.frame=0,o.tick=function(){m(!0)},o.lagSmoothing=function(e,t){d=e||1/v,h=Math.min(t,d,0)},o.sleep=function(){null!=n&&(u&&O?O(n):clearTimeout(n),r=w,n=null,o===p&&(f=!1))},o.wake=function(e){null!==n?o.sleep():e?c+=-I+(I=M()):o.frame>10&&(I=M()-d+5),r=0===i?w:u&&k?k:function(e){return setTimeout(e,1e3*(a-o.time)+1|0)},o===p&&(f=!0),m(2)},o.fps=function(e){return arguments.length?(i=e,s=1/(i||60),a=this.time+s,void o.wake()):i},o.useRAF=function(e){return arguments.length?(o.sleep(),u=e,void o.fps(i)):u},o.fps(e),setTimeout(function(){"auto"===u&&o.frame<5&&"hidden"!==l.visibilityState&&o.useRAF(!1)},1500)}),h=g.Ticker.prototype=new g.events.EventDispatcher,h.constructor=g.Ticker;var j=E("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!0===t.immediateRender,this.data=t.data,this._reversed=!0===t.reversed,K){f||p.wake();var i=this.vars.useFrames?Z:K;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});p=j.ticker=new g.Ticker,h=j.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1;(function e(){f&&M()-I>2e3&&p.wake(),setTimeout(e,2e3)})(),h.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},h.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},h.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},h.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},h.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},h.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},h.render=function(e,t,i){},h.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},h.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale},h._enabled=function(e,t){return f||p.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},h._kill=function(e,t){return this._enabled(!1,!1)},h.kill=function(e,t){return this._kill(e,t),this},h._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},h._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},h._callback=function(e){var t=this.vars,i=t[e],r=t[e+"Params"],n=t[e+"Scope"]||t.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},h.eventCallback=function(e,t,i,r){if("on"===(e||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[e];null==t?delete n[e]:(n[e]=t,n[e+"Params"]=b(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[e+"Scope"]=r),"onUpdate"===e&&(this._onUpdate=t)}return this},h.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},h.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},h.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},h.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},h.totalTime=function(e,t,i){if(f||p.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(e>r&&!i&&(e=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-e:e)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(B.length&&te(),this.render(e,t,!1),B.length&&te())}return this},h.progress=h.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},h.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},h.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},h.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||v,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},h.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},h.paused=function(e){if(!arguments.length)return this._paused;var t,i,r=this._timeline;return e!=this._paused&&r&&(f||e||p.wake(),t=r.rawTime(),i=t-this._pauseTime,!e&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=r.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var z=E("core.SimpleTimeline",function(e){j.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});h=z.prototype=new j,h.constructor=z,h.kill()._gc=!1,h._first=h._last=h._recent=null,h._sortChildren=!1,h.add=h.insert=function(e,t,i,r){var n,s;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),n=this._last,this._sortChildren)for(s=e._startTime;n&&n._startTime>s;)n=n._prev;return n?(e._next=n._next,n._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=n,this._recent=e,this._timeline&&this._uncache(!0),this},h._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},h.render=function(e,t,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;n;)r=n._next,(n._active||e>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,i):n.render((e-n._startTime)*n._timeScale,t,i)),n=r},h.rawTime=function(){return f||p.wake(),this._totalTime};var D=E("TweenLite",function(e,t,i){if(j.call(this,t,i),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var n,s,a,o=e.jquery||e.length&&e!==r&&e[0]&&(e[0]===r||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?J[D.defaultOverwrite]:"number"==typeof l?l>>0:J[l],(o||e instanceof Array||e.push&&b(e))&&"number"!=typeof e[0])for(this._targets=a=_(e),this._propLookup=[],this._siblings=[],n=0;n<a.length;n++)s=a[n],s?"string"!=typeof s?s.length&&s!==r&&s[0]&&(s[0]===r||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(_(s))):(this._siblings[n]=ie(s,this,!1),1===l&&this._siblings[n].length>1&&ne(s,this,null,1,this._siblings[n])):"string"==typeof(s=a[n--]=D.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=ie(e,this,!1),1===l&&this._siblings.length>1&&ne(e,this,null,1,this._siblings);(this.vars.immediateRender||0===t&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-v,this.render(Math.min(0,-this._delay)))},!0),N=function(e){return e&&e.length&&e!==r&&e[0]&&(e[0]===r||e[0].nodeType&&e[0].style&&!e.nodeType)},F=function(e,t){var i,r={};for(i in e)Q[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(r[i]=e[i],delete e[i]);e.css=r};h=D.prototype=new j,h.constructor=D,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=h._startAt=null,h._notifyPluginsOfEnabled=h._lazy=!1,D.version="1.19.1",D.defaultEase=h._ease=new P(null,null,1,1),D.defaultOverwrite="auto",D.ticker=p,D.autoSleep=120,D.lagSmoothing=function(e,t){p.lagSmoothing(e,t)},D.selector=r.$||r.jQuery||function(e){var t=r.$||r.jQuery;return t?(D.selector=t,t(e)):void 0===l?e:l.querySelectorAll?l.querySelectorAll(e):l.getElementById("#"===e.charAt(0)?e.substr(1):e)};var B=[],H={},q=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,X=function(e){for(var t,i=this._firstPT;i;)t=i.blob?1===e?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m(t,this._target||i.t):1e-6>t&&t>-1e-6&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},W=function(e,t,i,r){var n,s,a,o,l,c,u,d=[],h=0,p="",f=0;for(d.start=e,d.end=t,e=d[0]=e+"",t=d[1]=t+"",i&&(i(d),e=d[0],t=d[1]),d.length=0,n=e.match(q)||[],s=t.match(q)||[],r&&(r._next=null,r.blob=1,d._firstPT=d._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],c=t.substr(h,t.indexOf(u,h)-h),p+=c||!o?c:",",h+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),u===n[o]||n.length<=o?p+=u:(p&&(d.push(p),p=""),a=parseFloat(n[o]),d.push(a),d._firstPT={_next:d._firstPT,t:d,p:d.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:f&&4>f?Math.round:0}),h+=u.length;return p+=t.substr(h),p&&d.push(p),d.setRatio=X,d},G=function(e,t,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,e));var c,u=y(e[t]),d="function"!==u?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),h="get"!==i?i:d?a?e[d](a):e[d]():e[t],p="string"==typeof r&&"="===r.charAt(1),f={t:e,p:t,s:h,f:"function"===u,pg:0,n:n||t,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:p?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-h||0};return("number"!=typeof h||"number"!=typeof r&&!p)&&(a||isNaN(h)||!p&&isNaN(r)||"boolean"==typeof h||"boolean"==typeof r?(f.fp=a,c=W(h,p?f.s+f.c:r,o||D.defaultStringFilter,f),f={t:c,p:"setRatio",s:0,c:1,f:2,pg:0,n:n||t,pr:0,m:0}):(f.s=parseFloat(h),p||(f.c=parseFloat(r)-f.s||0))),f.c?((f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f):void 0},Y=D._internals={isArray:b,isSelector:N,lazyTweens:B,blobDif:W},U=D._plugins={},V=Y.tweenLookup={},$=0,Q=Y.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},J={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Z=j._rootFramesTimeline=new z,K=j._rootTimeline=new z,ee=30,te=Y.lazyRender=function(){var e,t=B.length;for(H={};--t>-1;)(e=B[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);B.length=0};K._startTime=p.time,Z._startTime=p.frame,K._active=Z._active=!0,setTimeout(te,1),j._updateRoot=D.render=function(){var e,t,i;if(B.length&&te(),K.render((p.time-K._startTime)*K._timeScale,!1,!1),Z.render((p.frame-Z._startTime)*Z._timeScale,!1,!1),B.length&&te(),p.frame>=ee){ee=p.frame+(parseInt(D.autoSleep,10)||120);for(i in V){for(t=V[i].tweens,e=t.length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete V[i]}if((!(i=K._first)||i._paused)&&D.autoSleep&&!Z._first&&1===p._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||p.sleep()}}},p.addEventListener("tick",j._updateRoot);var ie=function(e,t,i){var r,n,s=e._gsTweenID;if(V[s||(e._gsTweenID=s="t"+$++)]||(V[s]={target:e,tweens:[]}),t&&(r=V[s].tweens,r[n=r.length]=t,i))for(;--n>-1;)r[n]===t&&r.splice(n,1);return V[s].tweens},re=function(e,t,i,r){var n,s,a=e.vars.onOverwrite;return a&&(n=a(e,t,i,r)),a=D.onOverwrite,a&&(s=a(e,t,i,r)),!1!==n&&!1!==s},ne=function(e,t,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==t)o._gc||o._kill(null,e,t)&&(a=!0);else if(5===r)break;return a}var c,u=t._startTime+v,d=[],h=0,p=0===t._duration;for(s=n.length;--s>-1;)(o=n[s])===t||o._gc||o._paused||(o._timeline!==t._timeline?(c=c||se(t,0,p),0===se(o,c,p)&&(d[h++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&u-o._startTime<=2e-10||(d[h++]=o)));for(s=h;--s>-1;)if(o=d[s],2===r&&o._kill(i,e,t)&&(a=!0),2!==r||!o._firstPT&&o._initted){if(2!==r&&!re(o,t))continue;o._enabled(!1,!1)&&(a=!0)}return a},se=function(e,t,i){for(var r=e._timeline,n=r._timeScale,s=e._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return s/=n,s>t?s-t:i&&s===t||!e._initted&&2*v>s-t?v:(s+=e.totalDuration()/e._timeScale/n)>t+v?0:s-t-v};h._init=function(){var e,t,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,c=!!a.immediateRender,u=a.ease;if(a.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={};for(r in a.startAt)n[r]=a.startAt[r];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=c&&!1!==a.lazy,n.startAt=n.delay=null,this._startAt=D.to(this.target,0,n),c)if(this._time>0)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{0!==this._time&&(c=!1),i={};for(r in a)Q[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==a.lazy,i.immediateRender=c,this._startAt=D.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof P?u:"function"==typeof u?new P(u,a.easeParams):L[u]||D.defaultEase:D.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,e=0;s>e;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],o?o[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(t&&D._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},h._initProps=function(e,t,i,n,s){var a,o,l,c,u,d;if(null==e)return!1;H[e._gsTweenID]&&te(),this.vars.css||e.style&&e!==r&&e.nodeType&&U.css&&!1!==this.vars.autoCSS&&F(this.vars,e);for(a in this.vars)if(d=this.vars[a],Q[a])d&&(d instanceof Array||d.push&&b(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[a]=d=this._swapSelfInParams(d,this));else if(U[a]&&(c=new U[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:c._priority,m:0},o=c._overwriteProps.length;--o>-1;)t[c._overwriteProps[o]]=this._firstPT;(c._priority||c._onInitAllProps)&&(l=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else t[a]=G.call(this,e,a,"get",d,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,t,i,n,s):this._overwrite>1&&this._firstPT&&i.length>1&&ne(e,this,t,this._overwrite,i)?(this._kill(t,e),this._initProps(e,t,i,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(H[e._gsTweenID]=!0),l)},h.render=function(e,t,i){var r,n,s,a,o=this._time,l=this._duration,c=this._rawPrevTime;if(e>=l-1e-7&&e>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,n="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(0>c||0>=e&&e>=-1e-7||c===v&&"isPause"!==this.data)&&c!==e&&(i=!0,c>v&&(n="onReverseComplete")),this._rawPrevTime=a=!t||e||c===e?e:v);else if(1e-7>e)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&c>0)&&(n="onReverseComplete",r=this._reversed),0>e&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(c!==v||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||c===e?e:v)),this._initted||(i=!0);else if(this._totalTime=this._time=e,this._easeType){var u=e/l,d=this._easeType,h=this._easePower;(1===d||3===d&&u>=.5)&&(u=1-u),3===d&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===d?1-u:2===d?u:.5>e/l?u/2:1-u/2}else this.ratio=this._ease.getRatio(e/l);if(this._time!==o||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=o,this._rawPrevTime=c,B.push(this),void(this._lazy=[e,t]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&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!==o&&e>=0&&(this._active=!0),0===o&&(this._startAt&&(e>=0?this._startAt.render(e,t,i):n||(n="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(t||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>e&&this._startAt&&-1e-4!==e&&this._startAt.render(e,t,i),t||(this._time!==o||r||i)&&this._callback("onUpdate")),n&&(!this._gc||i)&&(0>e&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,t,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[n]&&this._callback(n),0===l&&this._rawPrevTime===v&&a!==v&&(this._rawPrevTime=0))}},h._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:D.selector(t)||t;var r,n,s,a,o,l,c,u,d,h=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((b(t)||N(t))&&"number"!=typeof t[0])for(r=t.length;--r>-1;)this._kill(e,t[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(t===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=e?this._overwrittenProps[r]||{}:"all";break}}else{if(t!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(o){if(c=e||o,u=e!==n&&"all"!==n&&e!==o&&("object"!=(void 0===e?"undefined":y(e))||!e._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(s in c)o[s]&&(d||(d=[]),d.push(s));if((d||!e)&&!re(this,i,t,d))return!1}for(s in c)(a=o[s])&&(h&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(c)&&(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[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},h.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],j.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-v,this.render(Math.min(0,-this._delay))),this},h._enabled=function(e,t){if(f||p.wake(),e&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=ie(r[i],this,!0);else this._siblings=ie(this.target,this,!0)}return j.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(e?"_onEnable":"_onDisable",this)},D.to=function(e,t,i){return new D(e,t,i)},D.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(e,t,i)},D.fromTo=function(e,t,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new D(e,t,r)},D.delayedCall=function(e,t,i,r,n){return new D(t,0,{delay:e,onComplete:t,onCompleteParams:i,callbackScope:r,onReverseComplete:t,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},D.set=function(e,t){return new D(e,0,t)},D.getTweensOf=function(e,t){if(null==e)return[];e="string"!=typeof e?e:D.selector(e)||e;var i,r,n,s;if((b(e)||N(e))&&"number"!=typeof e[0]){for(i=e.length,r=[];--i>-1;)r=r.concat(D.getTweensOf(e[i],t));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else for(r=ie(e).concat(),i=r.length;--i>-1;)(r[i]._gc||t&&!r[i].isActive())&&r.splice(i,1);return r},D.killTweensOf=D.killDelayedCallsTo=function(e,t,i){"object"==(void 0===t?"undefined":y(t))&&(i=t,t=!1);for(var r=D.getTweensOf(e,t),n=r.length;--n>-1;)r[n]._kill(i,e)};var ae=E("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ae.prototype},!0);if(h=ae.prototype,ae.version="1.19.0",ae.API=2,h._firstPT=null,h._addTween=G,h.setRatio=X,h._kill=function(e){var t,i=this._overwriteProps,r=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;r;)null!=e[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},h._mod=h._roundProps=function(e){for(var t,i=this._firstPT;i;)t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")],t&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},D._onPluginEvent=function(e,t){var i,r,n,s,a,o=t._firstPT;if("_onInitAllProps"===e){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=t._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[e]&&o.t[e]()&&(i=!0),o=o._next;return i},ae.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ae.API&&(U[(new e[t])._propName]=e[t]);return!0},S.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,r=e.priority||0,n=e.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=E("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){ae.call(this,i,r),this._overwriteProps=n||[]},!0===e.global),o=a.prototype=new ae(i);o.constructor=a,a.API=e.API;for(t in s)"function"==typeof e[t]&&(o[s[t]]=e[t]);return a.version=e.version,ae.activate([a]),a},u=r._gsQueue){for(d=0;d<u.length;d++)u[d]();for(h in x)x[h].func||r.console.log("GSAP encountered missing dependency: "+h)}f=!1}}(void 0!==e&&e.exports&&void 0!==r?r:window,"TweenMax"),/*!
+ * Masonry PACKAGED v4.1.1
+ * Cascading grid layout library
+ * http://masonry.desandro.com
+ * MIT License
+ * by David DeSandro
+ */
+function(r,n){o=[i(0)],void 0!==(a=function(e){return n(r,e)}.apply(t,o))&&(e.exports=a)}(window,function(e,t){function i(i,s,o){function l(e,t,r){var n,s="$()."+i+'("'+t+'")';return e.each(function(e,l){var c=o.data(l,i);if(!c)return void a(i+" not initialized. Cannot call methods, i.e. "+s);var u=c[t];if(!u||"_"==t.charAt(0))return void a(s+" is not a valid method");var d=u.apply(c,r);n=void 0===n?d:n}),void 0!==n?n:e}function c(e,t){e.each(function(e,r){var n=o.data(r,i);n?(n.option(t),n._init()):(n=new s(r,t),o.data(r,i,n))})}(o=o||t||e.jQuery)&&(s.prototype.option||(s.prototype.option=function(e){o.isPlainObject(e)&&(this.options=o.extend(!0,this.options,e))}),o.fn[i]=function(e){if("string"==typeof e){return l(this,e,n.call(arguments,1))}return c(this,e),this},r(o))}function r(e){!e||e&&e.bridget||(e.bridget=i)}var n=Array.prototype.slice,s=e.console,a=void 0===s?function(){}:function(e){s.error(e)};return r(t||e.jQuery),i}),function(e,t){c=t,u={id:"ev-emitter/ev-emitter",exports:{},loaded:!1},l="function"==typeof c?c.call(u.exports,i,u.exports,u):c,u.loaded=!0,void 0===l&&(l=u.exports)}("undefined"!=typeof window&&window,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},r=i[e]=i[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var r=i.indexOf(t);return-1!=r&&i.splice(r,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var r=0,n=i[r];t=t||[];for(var s=this._onceEvents&&this._onceEvents[e];n;){var a=s&&s[n];a&&(this.off(e,n),delete s[n]),n.apply(this,t),r+=a?0:1,n=i[r]}return this}},e}),function(e,i){o=[],d=function(){return i()}.apply(t,o)}(window,function(){function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}function i(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;c>t;t++){e[l[t]]=0}return e}function r(e){var t=getComputedStyle(e);return t||o("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function n(){if(!u){u=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=r(t);s.isBoxSizeOuter=a=200==e(n.width),i.removeChild(t)}}function s(t){if(n(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==(void 0===t?"undefined":y(t))&&t.nodeType){var s=r(t);if("none"==s.display)return i();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var u=o.isBorderBox="border-box"==s.boxSizing,d=0;c>d;d++){var h=l[d],p=s[h],f=parseFloat(p);o[h]=isNaN(f)?0:f}var m=o.paddingLeft+o.paddingRight,g=o.paddingTop+o.paddingBottom,v=o.marginLeft+o.marginRight,_=o.marginTop+o.marginBottom,w=o.borderLeftWidth+o.borderRightWidth,b=o.borderTopWidth+o.borderBottomWidth,x=u&&a,T=e(s.width);!1!==T&&(o.width=T+(x?0:m+w));var S=e(s.height);return!1!==S&&(o.height=S+(x?0:g+b)),o.innerWidth=o.width-(m+w),o.innerHeight=o.height-(g+b),o.outerWidth=o.width+v,o.outerHeight=o.height+_,o}}var a,o="undefined"==typeof console?t:function(e){console.error(e)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=l.length,u=!1;return s}),function(e,t){p=t,f={id:"desandro-matches-selector/matches-selector",exports:{},loaded:!1},h="function"==typeof p?p.call(f.exports,i,f.exports,f):p,f.loaded=!0,void 0===h&&(h=f.exports)}(window,function(){var e=function(){var e=Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var r=t[i],n=r+"MatchesSelector";if(e[n])return n}}();return function(t,i){return t[e](i)}}),function(e,i){o=[h],m=function(t){return i(e,t)}.apply(t,o)}(window,function(e,t){var i={};i.extend=function(e,t){for(var i in t)e[i]=t[i];return e},i.modulo=function(e,t){return(e%t+t)%t},i.makeArray=function(e){var t=[];if(Array.isArray(e))t=e;else if(e&&"number"==typeof e.length)for(var i=0;i<e.length;i++)t.push(e[i]);else t.push(e);return t},i.removeFrom=function(e,t){var i=e.indexOf(t);-1!=i&&e.splice(i,1)},i.getParent=function(e,i){for(;e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,r){e=i.makeArray(e);var n=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!r)return void n.push(e);t(e,r)&&n.push(e);for(var i=e.querySelectorAll(r),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(e,t,i){var r=e.prototype[t],n=t+"Timeout";e.prototype[t]=function(){var e=this[n];e&&clearTimeout(e);var t=arguments,s=this;this[n]=setTimeout(function(){r.apply(s,t),delete s[n]},i||100)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?e():document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()};var r=e.console;return i.htmlInit=function(t,n){i.docReady(function(){var s=i.toDashed(n),a="data-"+s,o=document.querySelectorAll("["+a+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(o).concat(i.makeArray(l)),u=a+"-options",d=e.jQuery;c.forEach(function(e){var i,s=e.getAttribute(a)||e.getAttribute(u);try{i=s&&JSON.parse(s)}catch(t){return void(r&&r.error("Error parsing "+a+" on "+e.className+": "+t))}var o=new t(e,i);d&&d.data(e,n,o)})})},i}),function(e,i){o=[l,d],g=i,v="function"==typeof g?g.apply(t,o):g}(window,function(e,t){function i(e){for(var t in e)return!1;return null,!0}function r(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,s="string"==typeof n.transition?"transition":"WebkitTransition",a="string"==typeof n.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],l={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},c=r.prototype=Object.create(e.prototype);c.constructor=r,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.getSize=function(){this.size=t(this.element)},c.css=function(e){var t=this.element.style;for(var i in e){t[l[i]||i]=e[i]}},c.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=e[t?"left":"right"],n=e[i?"top":"bottom"],s=this.layout.size,a=-1!=r.indexOf("%")?parseFloat(r)/100*s.width:parseInt(r,10),o=-1!=n.indexOf("%")?parseFloat(n)/100*s.height:parseInt(n,10);a=isNaN(a)?0:a,o=isNaN(o)?0:o,a-=t?s.paddingLeft:s.paddingRight,o-=i?s.paddingTop:s.paddingBottom,this.position.x=a,this.position.y=o},c.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",a=i?"right":"left",o=this.position.x+e[n];t[s]=this.getXValue(o),t[a]="";var l=r?"paddingTop":"paddingBottom",c=r?"top":"bottom",u=r?"bottom":"top",d=this.position.y+e[l];t[c]=this.getYValue(d),t[u]="",this.css(t),this.emitEvent("layout",[this])},c.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},c.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},c._transitionTo=function(e,t){this.getPosition();var i=this.position.x,r=this.position.y,n=parseInt(e,10),s=parseInt(t,10),a=n===this.position.x&&s===this.position.y;if(this.setPosition(e,t),a&&!this.isTransitioning)return void this.layoutPosition();var o=e-i,l=t-r,c={};c.transform=this.getTranslate(o,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},c.getTranslate=function(e,t){var i=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop");return e=i?e:-e,t=r?t:-t,"translate3d("+e+"px, "+t+"px, 0)"},c.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(e,t){this.position.x=parseInt(e,10),this.position.y=parseInt(t,10)},c._nonTransition=function(e){this.css(e.to),e.isCleaning&&this._removeStyles(e.to);for(var t in e.onTransitionEnd)e.onTransitionEnd[t].call(this)},c.transition=function(e){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(e);var t=this._transn;for(var i in e.onTransitionEnd)t.onEnd[i]=e.onTransitionEnd[i];for(i in e.to)t.ingProperties[i]=!0,e.isCleaning&&(t.clean[i]=!0);if(e.from){this.css(e.from);this.element.offsetHeight;null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var u="opacity,"+function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}(a);c.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:u,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1)}},c.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},c.onotransitionend=function(e){this.ontransitionend(e)};var d={"-webkit-transform":"transform"};c.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,r=d[e.propertyName]||e.propertyName;if(delete t.ingProperties[r],i(t.ingProperties)&&this.disableTransition(),r in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[r]),r in t.onEnd){t.onEnd[r].call(this),delete t.onEnd[r]}this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},c._removeStyles=function(e){var t={};for(var i in e)t[i]="";this.css(t)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(h)},c.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var i in t)return i},c.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r}),function(e,i){o=[l,d,m,v],_=function(t,r,n,s){return i(e,t,r,n,s)}.apply(t,o)}(window,function(e,t,i,r,n){function s(e,t){var i=r.getQueryElement(e);if(!i)return void(l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||e)));this.element=i,c&&(this.$element=c(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(t);var n=++d;this.element.outlayerGUID=n,h[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}function a(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}function o(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],r=t&&t[2];return i.length?(i=parseFloat(i))*(f[r]||1):0}var l=e.console,c=e.jQuery,u=function(){},d=0,h={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var p=s.prototype;r.extend(p,t.prototype),p.option=function(e){r.extend(this.options,e)},p._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,r=[],n=0;n<t.length;n++){var s=t[n],a=new i(s,this);r.push(a)}return r},p._filterFindItemElements=function(e){return r.filterFindElements(e,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(e){return e.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=i(this.element)},p._getMeasurement=function(e,t){var r,n=this.options[e];n?("string"==typeof n?r=this.element.querySelector(n):n instanceof HTMLElement&&(r=n),this[e]=r?i(r)[t]:n):this[e]=0},p.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},p._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},p._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var i=[];e.forEach(function(e){var r=this._getItemLayoutPosition(e);r.item=e,r.isInstant=t||e.isLayoutInstant,i.push(r)},this),this._processLayoutQueue(i)}},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},p.updateStagger=function(){var e=this.options.stagger;return null===e||void 0===e?void(this.stagger=0):(this.stagger=o(e),this.stagger)},p._positionItem=function(e,t,i,r,n){r?e.goTo(t,i):(e.stagger(n*this.stagger),e.moveTo(t,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},p._getContainerSize=u,p._setContainerMeasure=function(e,t){if(void 0!==e){var i=this.size;i.isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},p._emitCompleteOnItems=function(e,t){function i(){n.dispatchEvent(e+"Complete",null,[t])}function r(){++a==s&&i()}var n=this,s=t.length;if(!t||!s)return void i();var a=0;t.forEach(function(t){t.once(e,r)})},p.dispatchEvent=function(e,t,i){var r=t?[t].concat(i):i;if(this.emitEvent(e,r),c)if(this.$element=this.$element||c(this.element),t){var n=c.Event(t);n.type=e,this.$element.trigger(n,i)}else this.$element.trigger(e,i)},p.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},p.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},p.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},p.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){r.removeFrom(this.stamps,e),this.unignore(e)},this)},p._find=function(e){return e?("string"==typeof e&&(e=this.element.querySelectorAll(e)),e=r.makeArray(e)):void 0},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},p._manageStamp=u,p._getElementOffset=function(e){var t=e.getBoundingClientRect(),r=this._boundingRect,n=i(e);return{left:t.left-r.left-n.marginLeft,top:t.top-r.top-n.marginTop,right:r.right-t.right-n.marginRight,bottom:r.bottom-t.bottom-n.marginBottom}},p.handleEvent=r.handleEvent,p.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},r.debounceMethod(s,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var e=i(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},p.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},p.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},p.prepended=function(e){var t=this._itemize(e);if(t.length){var i=this.items.slice(0);this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i)}},p.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.reveal()})}},p.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.hide()})}},p.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},p.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},p.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},p.getItems=function(e){e=r.makeArray(e);var t=[];return e.forEach(function(e){var i=this.getItem(e);i&&t.push(i)},this),t},p.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),r.removeFrom(this.items,e)},this)},p.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete h[t],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},s.data=function(e){e=r.getQueryElement(e);var t=e&&e.outlayerGUID;return t&&h[t]},s.create=function(e,t){var i=a(s);return i.defaults=r.extend({},s.defaults),r.extend(i.defaults,t),i.compatOptions=r.extend({},s.compatOptions),i.namespace=e,i.data=s.data,i.Item=a(n),r.htmlInit(i,e),c&&c.bridget&&c.bridget(e,i),i};var f={ms:1,s:1e3};return s.Item=n,s}),function(i,r){o=[_,d],g=r,void 0!==(a="function"==typeof g?g.apply(t,o):g)&&(e.exports=a)}(window,function(e,t){var i=e.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],i=e&&e.element;this.columnWidth=i&&t(i).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/r,a=r-n%r,o=a&&1>a?"round":"floor";s=Math[o](s),this.cols=Math.max(s,1)},i.prototype.getContainerWidth=function(){var e=this._getOption("fitWidth"),i=e?this.element.parentNode:this.element,r=t(i);this.containerWidth=r&&r.innerWidth},i.prototype._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,i=t&&1>t?"round":"ceil",r=Math[i](e.size.outerWidth/this.columnWidth);r=Math.min(r,this.cols);for(var n=this._getColGroup(r),s=Math.min.apply(Math,n),a=n.indexOf(s),o={x:this.columnWidth*a,y:s},l=s+e.size.outerHeight,c=this.cols+1-n.length,u=0;c>u;u++)this.colYs[a+u]=l;return o},i.prototype._getColGroup=function(e){if(2>e)return this.colYs;for(var t=[],i=this.cols+1-e,r=0;i>r;r++){var n=this.colYs.slice(r,r+e);t[r]=Math.max.apply(Math,n)}return t},i.prototype._manageStamp=function(e){var i=t(e),r=this._getElementOffset(e),n=this._getOption("originLeft"),s=n?r.left:r.right,a=s+i.outerWidth,o=Math.floor(s/this.columnWidth);o=Math.max(0,o);var l=Math.floor(a/this.columnWidth);l-=a%this.columnWidth?0:1,l=Math.min(this.cols-1,l);for(var c=this._getOption("originTop"),u=(c?r.top:r.bottom)+i.outerHeight,d=o;l>=d;d++)this.colYs[d]=Math.max(u,this.colYs[d])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},i.prototype._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},i}),/*! matchMedia() polyfill addListener/removeListener extension. Author & copyright (c) 2012: Scott Jehl. Dual MIT/BSD license */
+function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,i=!1,r=0,n=[],s=function(t){clearTimeout(r),r=setTimeout(function(){for(var t=0,i=n.length;t<i;t++){var r=n[t].mql,s=n[t].listeners||[],a=e(r.media).matches;if(a!==r.matches){r.matches=a;for(var o=0,l=s.length;o<l;o++)s[o].call(window,r)}}},30)};window.matchMedia=function(r){var a=e(r),o=[],l=0;return a.addListener=function(e){t&&(i||(i=!0,window.addEventListener("resize",s,!0)),0===l&&(l=n.push({mql:a,listeners:o})),o.push(e))},a.removeListener=function(e){for(var t=0,i=o.length;t<i;t++)o[t]===e&&o.splice(t,1)},a}}()}).call(t,i(17)(e),i(16))},,function(e,t,i){"use strict";function r(e,t){return n(e).some(function(e){var i=e.inverse,r="all"===e.type||t.type===e.type;if(r&&i||!r&&!i)return!1;var n=e.expressions.every(function(e){var i=e.feature,r=e.modifier,n=e.value,l=t[i];if(!l)return!1;switch(i){case"orientation":case"scan":return l.toLowerCase()===n.toLowerCase();case"width":case"height":case"device-width":case"device-height":n=o(n),l=o(l);break;case"resolution":n=a(n),l=a(l);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":n=s(n),l=s(l);break;case"grid":case"color":case"color-index":case"monochrome":n=parseInt(n,10)||1,l=parseInt(l,10)||0}switch(r){case"min":return l>=n;case"max":return l<=n;default:return l===n}});return n&&!i||!n&&i})}function n(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(l),i=t[1],r=t[2],n=t[3]||"",s={};return s.inverse=!!i&&"not"===i.toLowerCase(),s.type=r?r.toLowerCase():"all",n=n.match(/\([^\)]+\)/g)||[],s.expressions=n.map(function(e){var t=e.match(c),i=t[1].toLowerCase().match(u);return{modifier:i[1],feature:i[2],value:t[2]}}),s})}function s(e){var t,i=Number(e);return i||(t=e.match(/^(\d+)\s*\/\s*(\d+)$/),i=t[1]/t[2]),i}function a(e){var t=parseFloat(e);switch(String(e).match(h)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function o(e){var t=parseFloat(e);switch(String(e).match(d)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=r,t.parse=n;var l=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,c=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,u=/^(?:(min|max)-)?(.+)/,d=/(em|rem|px|cm|mm|in|pt|pc)?$/,h=/(dpi|dpcm|dppx)?$/}]); \ No newline at end of file