(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&-1!==(i=t(o[r],n))&&o[r].splice(i,1);return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],!0===n.once&&this.removeListener(e,n.listener),(o=n.listener.apply(this,t||[]))===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===f.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var r=this;setTimeout(function(){r.check()})}function a(e){this.img=e}function u(e){this.src=e,h[e]=this}var c=e.jQuery,l=e.console,p=void 0!==l,f=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var a=r[o];this.addImage(a)}}},s.prototype.addImage=function(e){var t=new a(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&p&&l.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},c&&(c.fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(c(this))}),a.prototype=new t,a.prototype.check=function(){var e=h[this.img.src]||new u(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},a.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var h={};return u.prototype=new t,u.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},u.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},u.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},u.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},u.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s}),function(e){e.easing.jswing=e.easing.swing,e.extend(e.easing,{def:"easeOutQuad",swing:function(t,n,i,r,o){return e.easing[e.easing.def](t,n,i,r,o)},easeInQuad:function(e,t,n,i,r){return i*(t/=r)*t+n},easeOutQuad:function(e,t,n,i,r){return-i*(t/=r)*(t-2)+n},easeInOutQuad:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,r){return i*(t/=r)*t*t+n},easeOutCubic:function(e,t,n,i,r){return i*((t=t/r-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,r){return i*(t/=r)*t*t*t+n},easeOutQuart:function(e,t,n,i,r){return-i*((t=t/r-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,r){return i*(t/=r)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,r){return i*((t=t/r-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,r){return-i*Math.cos(t/r*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,r){return i*Math.sin(t/r*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,r){return-i/2*(Math.cos(Math.PI*t/r)-1)+n},easeInExpo:function(e,t,n,i,r){return 0==t?n:i*Math.pow(2,10*(t/r-1))+n},easeOutExpo:function(e,t,n,i,r){return t==r?n+i:i*(1-Math.pow(2,-10*t/r))+n},easeInOutExpo:function(e,t,n,i,r){return 0==t?n:t==r?n+i:(t/=r/2)<1?i/2*Math.pow(2,10*(t-1))+n:i/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,i,r){return-i*(Math.sqrt(1-(t/=r)*t)-1)+n},easeOutCirc:function(e,t,n,i,r){return i*Math.sqrt(1-(t=t/r-1)*t)+n},easeInOutCirc:function(e,t,n,i,r){return(t/=r/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,r){var o=1.70158,s=0,a=i;if(0==t)return n;if(1==(t/=r))return n+i;if(s||(s=.3*r),ah)&&(o=h,i(s,h)&&(o/=40)),i(s,h)&&(c/=40,p/=40,f/=40),c=Math[c>=1?"floor":"ceil"](c/o),p=Math[p>=1?"floor":"ceil"](p/o),f=Math[f>=1?"floor":"ceil"](f/o),l.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();d=t.clientX-y.left,m=t.clientY-y.top}return t.deltaX=p,t.deltaY=f,t.deltaFactor=o,t.offsetX=d,t.offsetY=m,t.deltaMode=0,a.unshift(t,c,p,f),r&&clearTimeout(r),r=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){o=null}function i(e,t){return l.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var r,o,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],u=Array.prototype.slice;if(e.event.fixHooks)for(var c=s.length;c;)e.event.fixHooks[s[--c]]=e.event.mouseHooks;var l=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",l.getLineHeight(this)),e.data(this,"mousewheel-page-height",l.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),/*! VelocityJS.org (1.2.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ /*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ /*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ /*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ function(e){"use strict";function t(e){var t=e.length,i=n.type(e);return"function"!==i&&!n.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}if(!e.jQuery){var n=function(e,t){return new n.fn.init(e,t)};n.isWindow=function(e){return e&&e===e.window},n.type=function(e){return e?"object"==typeof e||"function"==typeof e?r[s.call(e)]||"object":typeof e:e+""},n.isArray=Array.isArray||function(e){return"array"===n.type(e)},n.isPlainObject=function(e){var t;if(!e||"object"!==n.type(e)||e.nodeType||n.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(t in e);return void 0===t||o.call(e,t)},n.each=function(e,n,i){var r=0,o=e.length,s=t(e);if(i){if(s)for(;r0?r=s:n=s}while(Math.abs(o)>g&&++a=v?l(t,a):0===u?a:f(t,n,n+x)}function d(){T=!0,e===n&&i===r||p()}var m=4,v=.001,g=1e-7,y=10,w=11,x=1/(w-1),b="Float32Array"in t;if(4!==arguments.length)return!1;for(var E=0;E<4;++E)if("number"!=typeof arguments[E]||isNaN(arguments[E])||!isFinite(arguments[E]))return!1;e=Math.min(e,1),i=Math.min(i,1),e=Math.max(e,0),i=Math.max(i,0);var S=b?new Float32Array(w):new Array(w),T=!1,O=function(t){return T||d(),e===n&&i===r?t:0===t?0:1===t?1:u(h(t),n,r)};O.getControlPoints=function(){return[{x:e,y:n},{x:i,y:r}]};var I="generateBezier("+[e,n,i,r]+")";return O.toString=function(){return I},O}function p(e,t){var n=e;return x.isString(e)?T.Easings[e]||(n=!1):n=x.isArray(e)&&1===e.length?c.apply(null,e):x.isArray(e)&&2===e.length?O.apply(null,e.concat([t])):!(!x.isArray(e)||4!==e.length)&&l.apply(null,e),!1===n&&(n=T.Easings[T.defaults.easing]?T.defaults.easing:S),n}function f(e){if(e){var t=T.timestamp&&!0!==e?e:g.now(),n=T.State.calls.length;n>1e4&&(T.State.calls=r(T.State.calls),n=T.State.calls.length);for(var o=0;o4;e--){var t=n.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return i}(),v=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}(),g=function(){var e=t.performance||{};if("function"!=typeof e.now){var n=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-n}}return e}(),y=function(){var e=Array.prototype.slice;try{return e.call(n.documentElement),e}catch(t){return function(t,n){var i=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof n&&(n=i),this.slice)return e.call(this,t,n);var r,o=[],s=t>=0?t:Math.max(0,i+t),a=n<0?i+n:Math.min(n,i),u=a-s;if(u>0)if(o=new Array(u),this.charAt)for(r=0;r=0}:function(e,t){for(var n=0;n1e-4&&Math.abs(a.v)>1e-4;);return o?function(e){return c[e*(c.length-1)|0]}:l}}();T.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},d.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){T.Easings[t[0]]=l.apply(null,t[1])});var I=T.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){function e(e,t,n){if("border-box"===I.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(n||!1)){var i,r,o=0,s="width"===e?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(i=0;i9)||T.State.isGingerbread||(I.Lists.transformsBase=I.Lists.transformsBase.concat(I.Lists.transforms3D));for(var n=0;n8)&&3===o.split(" ").length&&(o+=" 1"),o;case"inject":return/^rgb/.test(r)?r:(m<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(m<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();I.Normalizations.registered.innerWidth=t("width",!0),I.Normalizations.registered.innerHeight=t("height",!0),I.Normalizations.registered.outerWidth=t("width"),I.Normalizations.registered.outerHeight=t("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(m||T.State.isAndroid&&!T.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(T.State.prefixMatches[e])return[T.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;n=2&&console.log("Get "+n+": "+u),u},setPropertyValue:function(e,n,i,r,o){var a=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?t.scrollTo(i,o.alternateValue):t.scrollTo(o.alternateValue,i);else if(I.Normalizations.registered[n]&&"transform"===I.Normalizations.registered[n]("name",e))I.Normalizations.registered[n]("inject",e,i),a="transform",i=s(e).transformCache[n];else{if(I.Hooks.registered[n]){var u=n,c=I.Hooks.getRoot(n);r=r||I.getPropertyValue(e,c),i=I.Hooks.injectValue(u,i,r),n=c}if(I.Normalizations.registered[n]&&(i=I.Normalizations.registered[n]("inject",e,i),n=I.Normalizations.registered[n]("name",e)),a=I.Names.prefixCheck(n)[0],m<=8)try{e.style[a]=i}catch(e){T.debug&&console.log("Browser does not support ["+i+"] for ["+a+"]")}else{var l=s(e);l&&l.isSVG&&I.Names.SVGAttribute(n)?e.setAttribute(n,i):e.style[a]=i}T.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(e){var t="",n=s(e);if((m||T.State.isAndroid&&!T.State.isChrome)&&n&&n.isSVG){var i=function(t){return parseFloat(I.getPropertyValue(e,t))},r={translate:[i("translateX"),i("translateY")],skewX:[i("skewX")],skewY:[i("skewY")],scale:1!==i("scale")?[i("scale"),i("scale")]:[i("scaleX"),i("scaleY")],rotate:[i("rotateZ"),0,0]};d.each(s(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),r[e]&&(t+=e+"("+r[e].join(" ")+") ",delete r[e])})}else{var o,a;d.each(s(e).transformCache,function(n){if(o=s(e).transformCache[n],"transformPerspective"===n)return a=o,!0;9===m&&"rotateZ"===n&&(n="rotate"),t+=n+o+" "}),a&&(t="perspective"+a+" "+t)}I.setPropertyValue(e,"transform",t)}};I.Hooks.register(),I.Normalizations.register(),T.hook=function(e,t,n){var r;return e=o(e),d.each(e,function(e,o){if(s(o)===i&&T.init(o),n===i)r===i&&(r=I.getPropertyValue(o,t));else{var a=I.setPropertyValue(o,t,n);"transform"===a[0]&&T.CSS.flushTransformCache(o),r=a}}),r};var C=function(){function e(){return l?O.promise||null:m}function r(e,r){function o(o){var l,h;if(u.begin&&0===P)try{u.begin.call(g,g)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===M){var m,v,E,S=/^x$/i.test(u.axis)?"Left":"Top",C=parseFloat(u.offset)||0;u.container?x.isWrapped(u.container)||x.isNode(u.container)?(u.container=u.container[0]||u.container,m=u.container["scroll"+S],E=m+d(e).position()[S.toLowerCase()]+C):u.container=null:(m=T.State.scrollAnchor[T.State["scrollProperty"+S]],v=T.State.scrollAnchor[T.State["scrollProperty"+("Left"===S?"Top":"Left")]],E=d(e).offset()[S.toLowerCase()]+C),c={scroll:{rootPropertyValue:!1,startValue:m,currentValue:m,endValue:E,unitType:"",easing:u.easing,scrollData:{container:u.container,direction:S,alternateValue:v}},element:e},T.debug&&console.log("tweensContainer (scroll): ",c.scroll,e)}else if("reverse"===M){if(!(l=s(e)))return;if(!l.tweensContainer)return void d.dequeue(e,u.queue);"none"===l.opts.display&&(l.opts.display="auto"),"hidden"===l.opts.visibility&&(l.opts.visibility="visible"),l.opts.loop=!1,l.opts.begin=null,l.opts.complete=null,b.easing||delete u.easing,b.duration||delete u.duration,u=d.extend({},l.opts,u),h=d.extend(!0,{},l?l.tweensContainer:null);for(var A in h)if(h.hasOwnProperty(A)&&"element"!==A){var _=h[A].startValue;h[A].startValue=h[A].currentValue=h[A].endValue,h[A].endValue=_,x.isEmptyObject(b)||(h[A].easing=u.easing),T.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(h[A]),e)}c=h}else if("start"===M){(l=s(e))&&l.tweensContainer&&!0===l.isAnimating&&(h=l.tweensContainer);var N=function(r,o){var s,p=I.Hooks.getRoot(r),f=!1,m=o[0],v=o[1],g=o[2] ;if(!(l&&l.isSVG||"tween"===p||!1!==I.Names.prefixCheck(p)[1]||I.Normalizations.registered[p]!==i))return void(T.debug&&console.log("Skipping ["+p+"] due to a lack of browser support."));(u.display!==i&&null!==u.display&&"none"!==u.display||u.visibility!==i&&"hidden"!==u.visibility)&&/opacity|filter/.test(r)&&!g&&0!==m&&(g=0),u._cacheValues&&h&&h[r]?(g===i&&(g=h[r].endValue+h[r].unitType),f=l.rootPropertyValueCache[p]):I.Hooks.registered[r]?g===i?(f=I.getPropertyValue(e,p),g=I.getPropertyValue(e,r,f)):f=I.Hooks.templates[p][1]:g===i&&(g=I.getPropertyValue(e,r));var y,w,b,E=!1,S=function(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=I.Values.getUnitType(e)),[i,n]};if(g!==m&&x.isString(g)&&x.isString(m)){s="";var O=0,C=0,k=[],P=[],A=0,_=0,M=0;for(g=I.Hooks.fixColors(g),m=I.Hooks.fixColors(m);O=4&&"("===N?A++:(A&&A<5||A>=4&&")"===N&&--A<5)&&(A=0),0===_&&"r"===N||1===_&&"g"===N||2===_&&"b"===N||3===_&&"a"===N||_>=3&&"("===N?(3===_&&"a"===N&&(M=1),_++):M&&","===N?++M>3&&(_=M=0):(M&&_<(M?5:4)||_>=(M?4:3)&&")"===N&&--_<(M?5:4))&&(_=M=0)}}O===g.length&&C===m.length||(T.debug&&console.error('Trying to pattern match mis-matched strings ["'+m+'", "'+g+'"]'),s=i),s&&(k.length?(T.debug&&console.log('Pattern found "'+s+'" -> ',k,P,"["+g+","+m+"]"),g=k,m=P,w=b=""):s=i)}if(s||(y=S(r,g),g=y[0],b=y[1],y=S(r,m),m=y[0].replace(/^([+-\/*])=/,function(e,t){return E=t,""}),w=y[1],g=parseFloat(g)||0,m=parseFloat(m)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(m/=100,w="em"):/^scale/.test(r)?(m/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(m=m/100*255,w=""))),/[\/*]/.test(E))w=b;else if(b!==w&&0!==g)if(0===m)w=b;else{a=a||function(){var i={myParent:e.parentNode||n.body,position:I.getPropertyValue(e,"position"),fontSize:I.getPropertyValue(e,"fontSize")},r=i.position===R.lastPosition&&i.myParent===R.lastParent,o=i.fontSize===R.lastFontSize;R.lastParent=i.myParent,R.lastPosition=i.position,R.lastFontSize=i.fontSize;var s={};if(o&&r)s.emToPx=R.lastEmToPx,s.percentToPxWidth=R.lastPercentToPxWidth,s.percentToPxHeight=R.lastPercentToPxHeight;else{var a=l&&l.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");T.init(a),i.myParent.appendChild(a),d.each(["overflow","overflowX","overflowY"],function(e,t){T.CSS.setPropertyValue(a,t,"hidden")}),T.CSS.setPropertyValue(a,"position",i.position),T.CSS.setPropertyValue(a,"fontSize",i.fontSize),T.CSS.setPropertyValue(a,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){T.CSS.setPropertyValue(a,t,"100%")}),T.CSS.setPropertyValue(a,"paddingLeft","100em"),s.percentToPxWidth=R.lastPercentToPxWidth=(parseFloat(I.getPropertyValue(a,"width",null,!0))||1)/100,s.percentToPxHeight=R.lastPercentToPxHeight=(parseFloat(I.getPropertyValue(a,"height",null,!0))||1)/100,s.emToPx=R.lastEmToPx=(parseFloat(I.getPropertyValue(a,"paddingLeft"))||1)/100,i.myParent.removeChild(a)}return null===R.remToPx&&(R.remToPx=parseFloat(I.getPropertyValue(n.body,"fontSize"))||16),null===R.vwToPx&&(R.vwToPx=parseFloat(t.innerWidth)/100,R.vhToPx=parseFloat(t.innerHeight)/100),s.remToPx=R.remToPx,s.vwToPx=R.vwToPx,s.vhToPx=R.vhToPx,T.debug>=1&&console.log("Unit ratios: "+JSON.stringify(s),e),s}();var X=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(b){case"%":g*="x"===X?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:g*=a[b+"ToPx"]}switch(w){case"%":g*=1/("x"===X?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:g*=1/a[w+"ToPx"]}}switch(E){case"+":m=g+m;break;case"-":m=g-m;break;case"*":m*=g;break;case"/":m=g/m}c[r]={rootPropertyValue:f,startValue:g,currentValue:g,endValue:m,unitType:w,easing:v},s&&(c[r].pattern=s),T.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(c[r]),e)};for(var V in y)if(y.hasOwnProperty(V)){var L=I.Names.camelCase(V),j=function(t,n){var i,o,s;return x.isFunction(t)&&(t=t.call(e,r,k)),x.isArray(t)?(i=t[0],!x.isArray(t[1])&&/^[\d-]/.test(t[1])||x.isFunction(t[1])||I.RegEx.isHex.test(t[1])?s=t[1]:x.isString(t[1])&&!I.RegEx.isHex.test(t[1])&&T.Easings[t[1]]||x.isArray(t[1])?(o=p(t[1],u.duration),s=t[2]):s=t[1]||t[2]):i=t,o=o||u.easing,x.isFunction(i)&&(i=i.call(e,r,k)),x.isFunction(s)&&(s=s.call(e,r,k)),[i||0,o,s]}(y[V]);if(w(I.Lists.colors,L)){var q=j[0],H=j[1],B=j[2];if(I.RegEx.isHex.test(q)){for(var F=["Red","Green","Blue"],z=I.Values.hexToRgb(q),X=B?I.Values.hexToRgb(B):i,Y=0;Ye?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.easeInOutBounce=function(e){return.5>e?.5*t.easeInBounce(2*e):.5*t.easeOutBounce(2*e-1)+.5},t.addBlend=function(e,n,i,r){"linear"===r&&(r=null),t[e]=function(e){var o=t[n](e),s=t[i](e),a=e;return r&&(a=t[r](e)),o+(s-o)*a}},t.remove=function(e){delete t[e]},t.sineIn=t.easeInSine,t.sineOut=t.easeOutSine,t.sineInOut=t.easeInOutSine,t.quadIn=t.easeInQuad,t.quadOut=t.easeOutQuad,t.quadInOut=t.easeInOutQuad,t.cubicIn=t.easeInCubic,t.cubicOut=t.easeOutCubic,t.cubicInOut=t.easeInOutCubic,t.quartIn=t.easeInQuart,t.quartOut=t.easeOutQuart,t.quartInOut=t.easeInOutQuart,t.quintIn=t.easeInQuint,t.quintOut=t.easeOutQuint,t.quintInOut=t.easeInOutQuint,t.expoIn=t.easeInExpo,t.expoOut=t.easeOutExpo,t.expoInOut=t.easeInOutExpo,t.circIn=t.easeInCirc,t.circOut=t.easeOutCirc,t.circInOut=t.easeInOutCirc,t.backIn=t.easeInBack,t.backOut=t.easeOutBack,t.backInOut=t.easeInOutBack,t.elasticIn=t.easeInElastic,t.elasticOut=t.easeOutElastic,t.elasticInOut=t.easeInOutElastic,t.bounceIn=t.easeInBounce,t.bounceOut=t.easeOutBounce,t.bounceInOut=t.easeInOutBounce}}(window.jQuery),function($){function e(e,n,i){return i=d(n,i),this.on("click.pjax",e,function(e){var n=i;n.container||(n=$.extend({},i),n.container=$(this).attr("data-pjax")),t(e,n)})}function t(e,t,n){n=d(t,n);var r=e.currentTarget,o=$(r);if("A"!==r.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||location.protocol!==r.protocol||location.hostname!==r.hostname||r.href.indexOf("#")>-1&&h(r)==h(location)||e.isDefaultPrevented())){var s={url:r.href,container:o.attr("data-pjax"),target:r},a=$.extend({},s,n),u=$.Event("pjax:click");o.trigger(u,[a]),u.isDefaultPrevented()||(i(a),e.preventDefault(),o.trigger("pjax:clicked",[a]))}}function n(e,t,n){n=d(t,n);var r=e.currentTarget,o=$(r);if("FORM"!==r.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var s={type:(o.attr("method")||"GET").toUpperCase(),url:o.attr("action"),container:o.attr("data-pjax"),target:r};if("GET"!==s.type&&void 0!==window.FormData)s.data=new FormData(r),s.processData=!1,s.contentType=!1;else{if(o.find(":file").length)return;s.data=o.serializeArray()}i($.extend({},s,n)),e.preventDefault()}function i(e){function t(t,n,i){i||(i={}),i.relatedTarget=e.target;var r=$.Event(t,i);return s.trigger(r,n),!r.isDefaultPrevented()}e=$.extend(!0,{},$.ajaxSettings,i.defaults,e),$.isFunction(e.url)&&(e.url=e.url());var n=f(e.url).hash,r=$.type(e.container);if("string"!==r)throw"expected string value for 'container' option; got "+r;var s=e.context=$(e.container);if(!s.length)throw"the container selector '"+e.container+"' did not match anything";e.data||(e.data={}),$.isArray(e.data)?e.data.push({name:"_pjax",value:e.container}):e.data._pjax=e.container;var a;e.beforeSend=function(i,r){if("GET"!==r.type&&(r.timeout=0),i.setRequestHeader("X-PJAX","true"),i.setRequestHeader("X-PJAX-Container",e.container),!t("pjax:beforeSend",[i,r]))return!1;r.timeout>0&&(a=setTimeout(function(){t("pjax:timeout",[i,e])&&i.abort("timeout")},r.timeout),r.timeout=0);var o=f(r.url);n&&(o.hash=n),e.requestUrl=p(o)},e.complete=function(n,i){a&&clearTimeout(a),t("pjax:complete",[n,i,e]),t("pjax:end",[n,e])},e.error=function(n,i,r){var s=g("",n,e),a=t("pjax:error",[n,i,r,e]);"GET"==e.type&&"abort"!==i&&a&&o(s.url)},e.success=function(r,a,u){var l=i.state,p="function"==typeof $.pjax.defaults.version?$.pjax.defaults.version():$.pjax.defaults.version,h=u.getResponseHeader("X-PJAX-Version"),d=g(r,u,e),m=f(d.url);if(n&&(m.hash=n,d.url=m.href),p&&h&&p!==h)return void o(d.url);if(!d.contents)return void o(d.url);if(i.state={id:e.id||c(),url:d.url,title:d.title,container:e.container,fragment:e.fragment,timeout:e.timeout},(e.push||e.replace)&&window.history.replaceState(i.state,d.title,d.url),$.contains(s,document.activeElement))try{document.activeElement.blur()}catch(e){}d.title&&(document.title=d.title),t("pjax:beforeReplace",[d.contents,e],{state:i.state,previousState:l}),s.html(d.contents);var v=s.find("input[autofocus], textarea[autofocus]").last()[0];v&&document.activeElement!==v&&v.focus(),y(d.scripts);var w=e.scrollTo;if(n){var x=decodeURIComponent(n.slice(1)),b=document.getElementById(x)||document.getElementsByName(x)[0];b&&(w=$(b).offset().top)}"number"==typeof w&&$(window).scrollTop(w),t("pjax:success",[r,a,u,e])},i.state||(i.state={id:c(),url:window.location.href,title:document.title,container:e.container,fragment:e.fragment,timeout:e.timeout},window.history.replaceState(i.state,document.title)),u(i.xhr),i.options=e;var h=i.xhr=$.ajax(e);return h.readyState>0&&(e.push&&!e.replace&&(w(i.state.id,[e.container,l(s)]),window.history.pushState(null,"",e.requestUrl)),t("pjax:start",[h,e]),t("pjax:send",[h,e])),i.xhr}function r(e,t){var n={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return i($.extend(n,d(e,t)))}function o(e){window.history.replaceState(null,"",i.state.url),window.location.replace(e)}function s(e){O||u(i.xhr);var t=i.state,n=e.state,r;if(n&&n.container){if(O&&I==n.url)return;if(t){if(t.id===n.id)return;r=t.id",{method:"GET"===n?"GET":"POST",action:t,style:"display:none"});"GET"!==n&&"POST"!==n&&i.append($("",{type:"hidden",name:"_method",value:n.toLowerCase()}));var r=e.data;if("string"==typeof r)$.each(r.split("&"),function(e,t){var n=t.split("=");i.append($("",{type:"hidden",name:n[0],value:n[1]}))});else if($.isArray(r))$.each(r,function(e,t){i.append($("",{type:"hidden",name:t.name,value:t.value}))});else if("object"==typeof r){var o;for(o in r)i.append($("",{type:"hidden",name:o,value:r[o]}))}$(document.body).append(i),i.submit()}function u(e){e&&e.readyState<4&&(e.onreadystatechange=$.noop,e.abort())}function c(){return(new Date).getTime()}function l(e){var t=e.clone();return t.find("script").each(function(){this.src||$._data(this,"globalEval",!1)}),t.contents()}function p(e){return e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,"").replace(/^&/,""),e.href.replace(/\?($|#)/,"$1")}function f(e){var t=document.createElement("a");return t.href=e,t}function h(e){return e.href.replace(/#.*/,"")}function d(e,t){return e&&t?(t=$.extend({},t),t.container=e,t):$.isPlainObject(e)?e:{container:e}}function m(e,t){return e.filter(t).add(e.find(t))}function v(e){return $.parseHTML(e,document,!0)}function g(e,t,n){var i={},r=/]*>([\s\S.]*)<\/body>/i)[0]));var u=e.match(/]*>([\s\S.]*)<\/head>/i);s=null!=u?$(v(u[0])):a}else s=a=$(v(e));if(0===a.length)return i;if(i.title=m(s,"title").last().text(),n.fragment){var c=a;"body"!==n.fragment&&(c=m(c,n.fragment).first()),c.length&&(i.contents="body"===n.fragment?c:c.contents(),i.title||(i.title=c.attr("title")||c.data("title")))}else r||(i.contents=a);return i.contents&&(i.contents=i.contents.not(function(){return $(this).is("title")}),i.contents.find("title").remove(),i.scripts=m(i.contents,"script[src]").remove(),i.contents=i.contents.not(i.scripts)),i.title&&(i.title=$.trim(i.title)),i}function y(e){if(e){var t=$("script[src]");e.each(function(){var e=this.src;if(!t.filter(function(){return this.src===e}).length){var n=document.createElement("script"),i=$(this).attr("type");i&&(n.type=i),n.src=$(this).attr("src"),document.head.appendChild(n)}})}}function w(e,t){k[e]=t,A.push(e),b(P,0),b(A,i.defaults.maxCacheLength)}function x(e,t,n){var r,o;k[t]=n,"forward"===e?(r=A,o=P):(r=P,o=A),r.push(t),t=o.pop(),t&&delete k[t],b(r,i.defaults.maxCacheLength)}function b(e,t){for(;e.length>t;)delete k[e.shift()]}function E(){return $("meta").filter(function(){var e=$(this).attr("http-equiv");return e&&"X-PJAX-VERSION"===e.toUpperCase()}).attr("content")}function S(){$.fn.pjax=e,$.pjax=i,$.pjax.enable=$.noop,$.pjax.disable=T,$.pjax.click=t,$.pjax.submit=n,$.pjax.reload=r,$.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:E},$(window).on("popstate.pjax",s)}function T(){$.fn.pjax=function(){return this},$.pjax=a,$.pjax.enable=S,$.pjax.disable=$.noop,$.pjax.click=$.noop,$.pjax.submit=$.noop,$.pjax.reload=function(){window.location.reload()},$(window).off("popstate.pjax",s)}var O=!0,I=window.location.href,C=window.history.state;C&&C.container&&(i.state=C),"state"in window.history&&(O=!1);var k={},P=[],A=[];$.event.props&&$.inArray("state",$.event.props)<0?$.event.props.push("state"):"state"in $.Event.prototype||$.event.addProp("state"),$.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),$.support.pjax?S():T()}(jQuery);var AMP={};!function(e){function t(){}var n=t.prototype;t.VERSION="3.1.1",n.className="Amp",t.extend=null,n.toString=function(){return"[object "+(this.className||AMP.getFunctionName(this.constructor))+"]"},AMP=new t,AMP.Amp=t}(window),function(e,t){t.each=function(e,n){var i,r;if(t.isArray(e)){var o=e.length;for(r=0;r-1;r-=1){if(!(i=t.getFunctionName(n[r])))throw new Error("There is no constructor name");e[i+"_constructor"]=n[r],t.each(n[r],o),t.mixin(e.prototype,Object.create(n[r].prototype,{constructor:{value:e,configurable:!0,enumerable:!1,writable:!0}}))}return e},t._extend=t.Amp.extend=function(e){return e=t.isFunction(e)?e:function(){},t.inherits(e,this)}}(window,AMP),function(e,t){"console"in e||(e.console={log:function(){}}),Array.prototype.forEach=Array.prototype.forEach||function(e,t){if(null===this)throw new TypeError(this+" is null or not defined");for(var n=0,i=this.length;n-1)if(e){var r=e.replace(/^#/,""),o=n.hash.split("#");t.each(o,function(e){if(r===e)return i=!0,!1})}else i=!0;return i},t.hasMsPointer=function(){return e.navigator.msPointerEnabled>-1},t.hasString=function(e,n){return t.isString(e)&&e.indexOf(n)>-1},t.hasSVG=function(){return"SVGAngle"in e},t.hasTouchScreen=function(){var e,t=i.createElement("div");return t.setAttribute("ontouchstart","return"),e="function"==typeof t.ontouchstart,function(){return e}}(),t.hasVideo=function(){return!!t.isBrowser("ie",9)||!!i.createElement("video").canPlayType},t.hasXMLSerializer=function(){return"XMLSerializer"in e},t.hasTransition=function(){var e=["transition","-webkit-transition","-moz-transition","-ms-transition","-o-transition"],n=!1;return t.each(e,function(e){if(e in r.style)return n=!0,!1}),n},t.hasUA=function(e){return t.ua.indexOf(e)>-1}}(window,AMP),function(e,t){var n=navigator.userAgent,i=n.toLowerCase(),r=Object.prototype.toString;t.UA=n,t.ua=i,t.isArray=Array.isArray||function(e){return"[object Array]"===r.call(e)},t.isBoolean=function(e){return"[object Boolean]"===r.call(e)},t.isFunction=function(e){return"[object Function]"===r.call(e)},t.isNumber=function(e){return"[object Number]"===r.call(e)},t.isObject=function(e){return!!e&&"[object Object]"===r.call(e)},t.isPlainObject=function(e){return t.isObject(e)&&0===Object.keys(e).length},t.isString=function(e){return"[object String]"===r.call(e)},t.isRegexp=function(e){return"[object RegExp]"===r.call(e)},t.isUndefined=function(e){return void 0===e},t.isNull=function(e){return null===e||"[object Null]"===r.call(e)},t.isOS=function(e,n){var i=e.toLowerCase();switch(i){case"windows":return t.isWindows();case"mac":return t.isMac();case"android":return t.isAndroid(n);case"ios":return t.isIos(n);default:throw new Error(i+" is Invalid argument")}},t.isWindows=function(){return i.indexOf("windows")>-1},t.isMac=function(){return i.indexOf("mac os")>-1&&i.indexOf("mobile")<0},t.isIos=function(e){if(e){var t=(""+e).replace(/\./g,"_");return i.indexOf("os "+t)>-1}return i.indexOf("os")>-1&&i.indexOf("mobile")>-1},t.isAndroid=function(e){return e?i.indexOf("android "+e)>-1:i.indexOf("android")>-1},t.isDevice=function(e){var n=e.toLowerCase();if("pc"===n)return t.isPC();if("sd"===n||"smartdevice"===n)return t.isSmartDevice();if("sp"===n||"smartphone"===n)return t.isSmartPhone();if("tb"===n||"tablet"===n)return t.isTablet();if("iphone"===n)return t.isIPhone();if("ipad"===n)return t.isIPad();if("ipod"===n)return t.isIPod();if("android"===n)return t.isAndroidPhone();if("androidtablet"===n)return t.isAndroidTablet();throw new Error(n+" is Invalid argument")},t.isPC=function(){return t.isWindows()||t.isMac()},t.isSmartDevice=function(){return t.isIos()||t.isAndroid()},t.isSmartPhone=function(){return i.indexOf("iphone")>-1||t.isAndroid()&&i.indexOf("mobile")>-1},t.isTablet=function(){return i.indexOf("ipad")>-1||t.isAndroid()&&i.indexOf("mobile")<0},t.isIPhone=function(){return i.indexOf("iphone")>-1},t.isIPad=function(){return i.indexOf("ipad")>-1},t.isIPod=function(){return i.indexOf("ipod")>-1},t.isAndroidPhone=function(){return t.isAndroid()&&i.indexOf("mobile")>-1},t.isAndroidTablet=function(){return t.isAndroid()&&i.indexOf("mobile")<0},t.isBrowser=function(e,n,i){var r=e.toLowerCase();if("ie"===r)return i?t.isIEScope(n,i):t.isIE(n);if("edge"===r)return t.isEdge(n);if("chrome"===r)return t.isChrome();if("firefox"===r)return t.isFirefox();if("safari"===r)return t.isSafari();if("opera"===r)return t.isOpera();if("mobilesafari"===r)return t.isMobileSafari(n);if("android"===r)return t.isAndroidBrowser(n);if("mobilechrome"===r)return t.isMobileChrome(n) ;if("androidchrome"===r)return t.isAndroidChrome(n);if("isochrome"===r)return t.isIosChrome(n);if("webkit"===r)return t.isWebkit();throw new Error(r+" is Invalid argument")},t.isIE=function(e){return e?i.indexOf("msie "+e)>-1||i.indexOf("trident")>-1&&i.indexOf("rv:"+e)>-1:i.indexOf("msie")>-1||i.indexOf("trident")>-1},t.isIEScope=function(e,t){var n,r;return e=Number(e),i.indexOf("msie")>-1?r=i.indexOf("msie ")+5:i.indexOf("trident")>-1&&(r=i.indexOf("rv:")+3),0=e:n<=e)},t.isEdge=function(e){return e=e||"",i.indexOf("edge/"+e)>-1},t.isChrome=function(){return i.indexOf("chrome")>-1&&i.indexOf("mobile")<0},t.isFirefox=function(){return i.indexOf("firefox")>-1&&i.indexOf("mobile")<0},t.isSafari=function(){return i.indexOf("safari")>-1&&i.indexOf("mobile")<0&&!t.isChrome()},t.isOpera=function(){return i.indexOf(" opr/")>-1||i.indexOf("opera/")>-1&&i.indexOf("mobile")<0},t.isMobileSafari=function(e){return e?t.isIos(e)&&i.indexOf("safari")>-1:t.isIos()&&i.indexOf("safari")>-1},t.isAndroidBrowser=function(e){return e?t.isAndroid(e)&&i.indexOf("safari")>-1:t.isAndroid()&&i.indexOf("safari")>-1},t.isMobileChrome=function(e){return t.isIosChrome(e)||t.isAndroidChrome(e)},t.isIosChrome=function(e){return e?t.isIos()&&i.indexOf("crios/"+e)>-1:t.isIos()&&i.indexOf("crios/")>-1},t.isAndroidChrome=function(e){return e?t.isAndroid()&&i.indexOf("chrome/"+e)>-1:t.isAndroid()&&i.indexOf("chrome/")>-1},t.isWebkit=function(){return i.indexOf("webkit")>-1}}(window,AMP),function(e,t){var n=e.location;t.getHash=function(){var e=n.hash.split("#").slice(1);return e.length&&t.each(e,function(t,n){e[n]="#"+t}),e},t.queryHashMap=function(e){var t={},i=[],r;if(r=e?e.indexOf("?")>-1?e.split("?")[1].split("&"):e.split("&"):n.search.slice(1).split("&"),""!==r[0])for(var o=0,s=r.length;o=Math.min(t,n)&&e<=Math.max(t,n)},t.isIntersect=function(e,t,n,i){return Math.max(e,t)>=Math.min(n,i)&&Math.min(e,t)<=Math.max(n,i)},t.lerp=function(e,t,n){return(n-t)*e+t},t.map=function(e,t,n,i,r){return(e-t)/(n-t)*(r-i)+i},t.normalize=function(e,t,n){return(e-t)/(n-t)},t.optimize=function(e,n,i,r,o){return t.lerp(t.normalize(e,n,i),r,o)},t.perspective=function(e,t){return e/(e+t)},t.random=function(e,n,i){var r=Math.random(),o;if(0===arguments.length||t.isBoolean(e))i=e,o=r;else if(1===arguments.length||t.isBoolean(n))i=n,o=r*e;else{if(e>n){var s=e;e=n,n=s}o=r*(n-e)+e}return i?Math.round(o):o},t.roundToDigit=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}}(window,AMP),function(e,t){t.createId=function(){var e=0;return function(t){return(t=t||"cid")+(e+=1)}}(),t.digit=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)},t.jsonToString=function(e){var t=[];return JSON.stringify(e,function(e,n){if("object"==typeof n&&null!==n){if(-1!==t.indexOf(n))return;t.push(n)}return n},"\t")},t.removeSpace=function(e){return e.replace(/\s+/g,"")},t.repraceAll=function(e,t,n){return n=n||"",e.split(t).join(n)},t.uuid=function(){var e=t.digit;return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},t.xmlToString=function(e){if(t.hasXMLSerializer())return(new XMLSerializer).serializeToString(e);try{return xmlNode.xml}catch(e){t.isDeveplop&&console.log(e)}}}(window,AMP),function(e,t){t.canvasToImage=function(e,t,n){var i=new Image;return i.src=e.toDataURL(t,n),i},t.getFunctionName=function(e){if(t.isFunction(e))return e.prototype.className?e.prototype.className:e.name?e.name:e.prototype.constructor&&e.prototype.constructor.name?e.prototype.constructor.name:(""+e).replace(/^\s*function\s*([^\(]*)[\S\s]+$/im,"$1")},t.typeOf=function(e){return t.isArray(e)?"array":t.isBoolean(e)?"boolean":t.isFunction(e)?"function":t.isNumber(e)?"number":t.isObject(e)?"object":t.isString(e)?"string":t.isRegexp(e)?"regexp":t.isNull(e)?"null":t.isUndefined(e)?"undefined":e.toString&&e.toString()?e.toString().toLowerCase():void 0},t.pixelRatio=function(){return e.devicePixelRatio||1},t.preload=function(e){var t=new Image;return t.src=e,t},t.noop=function(){}}(window,AMP),function(e,t){var n=document;t.webglShaderProgram=function(e,n,i){var r=e.createShader(e.VERTEX_SHADER),o=e.createShader(e.FRAGMENT_SHADER),s=e.createProgram();return e.shaderSource(r,n),e.compileShader(r),t.shaderComplieCheck(e,r),e.shaderSource(o,i),e.compileShader(o),t.shaderComplieCheck(e,o),e.attachShader(s,r),e.attachShader(s,o),e.linkProgram(s),t.programLinkCheck(e,s),e.useProgram(s),s},t.shaderComplieCheck=function(e,t){if(!e.getShaderParameter(t,e.COMPILE_STATUS))throw new Error(e.getShaderInfoLog(t))},t.programLinkCheck=function(e,t){if(!e.getProgramParameter(t,e.LINK_STATUS))throw new Error(e.getProgramInfoLog(t))},t.getShaderSource=function(e){return n.getElementById(e).textContent}}(window,AMP),function(e,t){function n(){this._listeners={}}t.inherits(n,t.Amp);var i=n.prototype;n.VERSION="2.1.0",i.className="Events",i.on=function(e,t,n){return this._addEvent(e,t,n),this},i.onece=function(e,t,n){var i=this;return i.on(e,function(){i.off(e),t.apply(i,arguments)},n),this},i.off=function(e,t){return this._removeEvent(e,t),this},i._addEvent=function(e,n,i){var r=this,o=e.split(" ");t.isFunction(n)&&t.each(o,function(e){var t=r._getEventNameMap(e);r._listeners[t.type]=r._listeners[t.type]||[],r._listeners[t.type].push({attr:t.attr,listener:n,context:i})})},i._removeEvent=function(e,n){var i=this,r=e?e.split(" "):[],o=null,s;n=t.getFunctionName(n),t.each(r,function(e){var r=i._getEventNameMap(e);r&&r.attr&&i._listeners[r.type]?(s=i._listeners[r.type],t.each(s,function(e){e.attr!==r.attr&&(n?n!==t.getFunctionName(e.listener)&&(o=o||[],o.push(e)):(o=o||[],o.push(e)))}),i._listeners[r.type]=o):r?(n&&(s=i._listeners[r.type],t.each(s,function(e){n!==t.getFunctionName(e.listener)&&(o=o||[],o.push(e))})),i._listeners[r.type]=o):(i._listeners=null,i._listeners={})})},i._getEventNameMap=function(e){var t=e.split(".");return{type:t[0],attr:t[1]}},i.hasEvent=function(e){var n=!1,i=this._getEventNameMap(e),r=this._listeners[i.type];return r&&(i.attr?t.each(r,function(e){if(e.attr===i.attr)return n=!0,!1}):n=!0),n},i.trigger=function(e){var n=this,i=this._getEventNameMap(e),r=this._listeners[i.type],o=t.argsToArray(arguments,1);return r&&t.each(r,function(e){i.attr&&e.attr!==i.attr||e.listener.apply(e.context,o)}),n},t.Events=n}(window,AMP),function(e,t){function n(e){n.Events_constructor.call(this),this.id=t.createId(e||this.className)}t.inherits(n,t.Events);var i=n.prototype;n.VERSION="1.0.0",i.className="BaseClass",t.BaseClass=n}(window,AMP),function(e,t){function n(){n.BaseClass_constructor.call(this),this.isFontResize=!0,this.elm=null,this.height=null}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="3.2.0",i.className="FontResize",n.EVENT_CHANGE="change",i._createElement=function(){var e="AMP_FONT_RESIZE",t=document.createElement("ins"),n=document.createTextNode(e);t.id=e,t.setAttribute("style","display:block;visibility:hidden;position:absolute;top:0;left:0;zIndex:-1;"),t.appendChild(n),document.body.appendChild(t),this.elm=document.getElementById(e),this.height=this.elm.clientHeight,this._observer()},i._observer=function(){var e=this,i=e.elm.clientHeight;e.isFontResize&&(e.height!==i&&(e.height=i,this.trigger(n.EVENT_CHANGE)),t.requestAnimationFrame(function(){e._observer()}))},i.on=function(e,t,n){return this.elm||this._createElement(),this._addEvent(e,t,n),this},t.FontResize=n,t.fontResize=new n}(window,AMP),function(e,t){function n(e){n.BaseClass_constructor.call(this),e&&1===e.nodeType?this.elm=e:this.elm=document.getElementsByTagName("head")[0],this.isObserver=!1,this.observeStyle="font-family",this.mediaStyle=null}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="2.2.0",i.className="Mediaquery",n.EVENT_CHANGE="change",i._controller=function(){var i=this;this.isObserver=!0,this.mediaStyle=t.getStyle(this.elm,this.observeStyle),t.addEventListener(e,"resize",function(){i.mediaStyle!==t.getStyle(i.elm,i.observeStyle)&&(i.mediaStyle=t.getStyle(i.elm,i.observeStyle),i.trigger(n.EVENT_CHANGE))})},i.on=function(e,t,n){return this.isObserver||this._controller(),this._addEvent(e,t,n),this},i.trigger=function(e){var n=this,i=this._getEventNameMap(e),r=this._listeners[i.type],o=t.argsToArray(arguments,1);return o.unshift({mediaStyle:n.mediaStyle,EVENT_CHANGE:e}),r&&t.each(r,function(e){i.attr&&e.attr!==i.attr||e.listener.apply(e.context,o)}),n},t.Mediaquery=n,t.mediaquery=new n}(window,AMP),function(e,t){function n(e){n.BaseClass_constructor.call(this),this.type=e?"localStorage":"sessionStorage",this._init()}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="3.1.0",i.className="Storage",n.EVENTS={ADD:"add",REMOVE:"remove",UPDATE:"update",CLEAR:"clear"},n.get=function(e){return new n(e)},i._init=function(){this.addEvent()},i.addEvent=function(){var i=this;return this.removeEvent(),t.addEventListener(e,"storage",function(e){var r=e.oldValue,o=e.newValue,s=t.isNull(r),a=t.isNull(o);s&&!a?i.trigger(n.EVENTS.ADD,o,r):!s&&a?i.trigger(n.EVENTS.REMOVE,o,r):s||a?s&&a&&0===e.storageArea.length&&i.trigger(n.EVENTS.CLEAR):i.trigger(n.EVENTS.UPDATE,o,r)}),this},i.removeEvent=function(){t.addEventListener(e,"storage")},i.setItem=function(i,r){var o=this;if(t.isObject(i))t.each(i,function(e,t){o.setItem(t,e)});else{var s,a=e[o.type].getItem(i);e[o.type].setItem(i,r),s=e[o.type].getItem(i),t.isNull(a)&&!t.isNull(s)?o.trigger(n.EVENTS.ADD,s,a):!t.isNull(a)&&t.isNull(s)?o.trigger(n.EVENTS.REMOVE,s,a):t.isNull(a)||t.isNull(s)||a===s||o.trigger(n.EVENTS.UPDATE,s,a)}return o},i.clear=function(){var t,i=this.getLength();return e[this.type].clear(),t=this.getLength(),0=t.Vector2.dist(n,i)?r.push(e):o.push(e)}),{ng:r,ok:o}},i._mergeSides=function(e){var n=[],i=this._edgesToSides(e),r=i.length;return t.each(i,function(e,t){if(e.skip||t===r-1)return!0;for(var o=!1,s=t+1;s\n
DEBUG
\n\n',i.body.appendChild(t),n.views={wrap:i.getElementById("AMP_DEBUG"),text:i.getElementById("AMP_DEBUG_TEXT")},n._addEvent()},n._addEvent=function(){var e=!1,r=null,o=null;t.addEventListener(n.views.wrap,"mousedown",function(){e=!0}),t.addEventListener(i,"mousemove",function(){if(e){var i=event.clientX;if(_y=event.clientY,t.isNumber(r)){var s=i-r,a=_y-o;r=i,o=_y;var u="position:fixed;";return u+="top:"+(n.views.wrap.offsetTop+a)+"px;",u+="left:"+(n.views.wrap.offsetLeft+s)+"px;",n.views.wrap.setAttribute("style",u),!1}r=i,o=_y}}),t.addEventListener(i,"mouseup",function(){e=!1,r=null,o=null}),t.addEventListener(n.views.text,"mousemove",function(){e=!1})},r.log=function(){return n.views||n._createView(),n.isChangeLog&&(t.each(t.argsToArray(arguments),function(e){t.isArray(e)?n.views.text.value+=JSON.stringify(e)+"\n":t.isObject(e)?n.views.text.value+=JSON.stringify(e,null,"\t")+"\n":n.views.text.value+=e+"\n"}),n.views.text.scrollTop=n.views.text.scrollHeight),this},r.clear=function(){return n.views&&(n.views.text.value=""),this},r.start=function(){return n.isChangeLog=!0,this},r.stop=function(){return n.isChangeLog=!1,this},r.hide=function(){if(n.views&&n.isShow){n.isShow=!1;var e=n.views.wrap.getAttribute("style")+"display:none;";n.views.wrap.setAttribute("style",e)}return this},r.show=function(){if(n.views&&!n.isShow){n.isShow=!0;var e=n.views.wrap.getAttribute("style")+"display:block;";n.views.wrap.setAttribute("style",e)}return this},t.Debug=n,t.debug=new n}(window,AMP),function(e,t){function n(){n.BaseClass_constructor.call(this)}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="3.2.0",n.COMPLETION={linear:["_LINEAR"],sineIn:["_1_SINE_IN","easeInSine"],sineOut:["_1_SINE_OUT","easeOutSine"],sineInOut:["_1_SINE_IN_OUT","easeInOutSine"],quadIn:["_2_QUAD_IN","easeInQuad"],quadOut:["_2_QUAD_OUT","easeOutQuad"],quadInOut:["_2_QUAD_IN_OUT","easeInOutQuad"],cubicIn:["_3_CUBIC_IN","easeInCubic"],cubicOut:["_3_CUBIC_OUT","easeOutCubic"],cubicInOut:["_3_CUBIC_IN_OUT","easeInOutCubic"],quartIn:["_4_QUART_IN","easeInQuart"],quartOut:["_4_QUART_OUT","easeOutQuart"],quartInOut:["_4_QUART_IN_OUT","easeInOutQuart"],quintIn:["_5_QUINT_IN","easeInQuint"],quintOut:["_5_QUINT_OUT","easeOutQuint"],quintInOut:["_5_QUINT_IN_OUT","easeInOutQuint"],expoIn:["_6_EXPO_IN","easeInExpo"],expoOut:["_6_EXPO_OUT","easeOutExpo"],expoInOut:["_6_EXPO_IN_OUT","easeInOutExpo"],circIn:["_7_CIRC_IN","easeInCirc"],circOut:["_7_CIRC_OUT","easeOutCirc"],circInOut:["_7_CIRC_IN_OUT","easeInOutCirc"],backIn:["_BACK_IN","easeInBack"],backOut:["_BACK_OUT","easeOutBack"],backInOut:["_BACK_IN_OUT","easeInOutBack"],bounceIn:["_BOUNCEI_N","easeInBounce"],bounceOut:["_BOUNCE_OUT","easeOutBounce"],bounceInOut:["_BOUNCE_IN_OUT","easeInOutBounce"],elasticIn:["_ELASTIC_IN","easeInElastic"],elasticOut:["_ELASTIC_OUT","easeOutElastic"],elasticInOut:["_ELASTIC_IN_OUT","easeInOutElastic"]},n.addCompletionName=function(e){t.each(n.COMPLETION,function(n,i){t.each(n,function(t){e[t]=e[i]})})},n.toString=function(){return"[object Ease]"},n.createPowIn=function(e){return function(t){return Math.pow(t,e)}},n.createPowOut=function(e){return function(t){return 1-Math.pow(1-t,e)}},n.createPowInOut=function(e){return function(t){return(t*=2)<1?.5*Math.pow(t,e):1-.5*Math.abs(Math.pow(2-t,e))}},n.createBackIn=function(e){return function(t){return t*t*((e+1)*t-e)}},n.createBackOut=function(e){return function(t){return--t*t*((e+1)*t+e)+1}},n.createBackInOut=function(e){return e*=1.525,function(t){return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)}},n.createElasticIn=function(e,n){return function(i){if(0===i||1===i)return i;var r=n/t.TWO_PI*Math.asin(1/e);return-e*Math.pow(2,10*(i-=1))*Math.sin((i-r)*t.TWO_PI/n)}},n.createElasticOut=function(e,n){return function(i){if(0===i||1===i)return i;var r=n/t.TWO_PI*Math.asin(1/e);return e*Math.pow(2,-10*i)*Math.sin((i-r)*t.TWO_PI/n)+1}},n.createElasticInOut=function(e,n){return function(i){var r=n/t.TWO_PI*Math.asin(1/e);return(i*=2)<1?e*Math.pow(2,10*(i-=1))*Math.sin((i-r)*t.TWO_PI/n)*-.5:e*Math.pow(2,-10*(i-=1))*Math.sin((i-r)*t.TWO_PI/n)*.5+1}},n.linear=function(e){return e},n.sineIn=function(e){return 1-Math.cos(e*Math.PI/2)},n.sineOut=function(e){return Math.sin(e*Math.PI/2)},n.sineInOut=function(e){return-.5*(Math.cos(Math.PI*e)-1)},n.quadIn=n.createPowIn(2),n.quadOut=n.createPowOut(2),n.quadInOut=n.createPowInOut(2),n.cubicIn=n.createPowIn(3),n.cubicOut=n.createPowOut(3),n.cubicInOut=n.createPowInOut(3),n.quartIn=n.createPowIn(4),n.quartOut=n.createPowOut(4),n.quartInOut=n.createPowInOut(4),n.quintIn=n.createPowIn(5),n.quintOut=n.createPowOut(5),n.quintInOut=n.createPowInOut(5),n.expoIn=n.createPowIn(6),n.expoOut=n.createPowOut(6),n.expoInOut=n.createPowInOut(6),n.circIn=function(e){return-(Math.sqrt(1-e*e)-1)},n.circOut=function(e){return Math.sqrt(1- --e*e)},n.circInOut=function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},n.backIn=n.createBackIn(1.7),n.backOut=n.createBackOut(1.7),n.backInOut=n.createBackInOut(1.7),n.elasticIn=n.createElasticIn(1,.3),n.elasticOut=n.createElasticOut(1,.3),n.elasticInOut=n.createElasticInOut(1,.3*1.5),n.bounceIn=function(e){return 1-n.bounceOut(1-e)},n.bounceOut=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},n.bounceInOut=function(e){return e<.5?.5*n.bounceIn(2*e):.5*n.bounceOut(2*e-1)+.5},n.addCompletionName(n),n.css={},n.css.linear="linear",n.css.sineIn="cubic-bezier(0.47, 0, 0.745, 0.715)",n.css.sineOut="cubic-bezier(0.39, 0.575, 0.565, 1)",n.css.sineInOut="cubic-bezier(0.445, 0.05, 0.55, 0.95)",n.css.quadIn="cubic-bezier(0.55, 0.085, 0.68, 0.53)",n.css.quadOut="cubic-bezier(0.25, 0.46, 0.45, 0.94)",n.css.quadInOut="cubic-bezier(0.455, 0.03, 0.515, 0.955)",n.css.cubicIn="cubic-bezier(0.55, 0.055, 0.675, 0.19)",n.css.cubicOut="cubic-bezier(0.215, 0.61, 0.355, 1)",n.css.cubicInOut="cubic-bezier(0.645, 0.045, 0.355, 1)",n.css.quartIn="cubic-bezier(0.895, 0.03, 0.685, 0.22)",n.css.quartOut="cubic-bezier(0.165, 0.84, 0.44, 1)",n.css.quartInOut="cubic-bezier(0.77, 0, 0.175, 1)",n.css.quintIn="cubic-bezier(0.755, 0.05, 0.855, 0.06)",n.css.quintOut="cubic-bezier(0.23, 1, 0.32, 1)",n.css.quintInOut="cubic-bezier(0.86, 0, 0.07, 1)",n.css.expoIn="cubic-bezier(0.95, 0.05, 0.795, 0.035)",n.css.circOut="cubic-bezier(0.19, 1, 0.22, 1)",n.css.expoInOut="cubic-bezier(1, 0, 0, 1)",n.css.circIn="cubic-bezier(0.6, 0.04, 0.98, 0.335)",n.css.circOut="cubic-bezier(0.075, 0.82, 0.165, 1);",n.css.circInOut="cubic-bezier(0.785, 0.135, 0.15, 0.86)",n.css.backIn="cubic-bezier(0.6, -0.28, 0.735, 0.045)",n.css.backOut="cubic-bezier(0.175, 0.885, 0.32, 1.275)",n.css.backInOut="cubic-bezier(0.68, -0.55, 0.265, 1.55)",n.css.elasticIn=null,n.css.elasticOut=null,n.css.elasticInOut=null,n.css.bounceIn=null,n.css.bounceOut=null,n.css.bounceInOut=null,n.addCompletionName(n.css),t.Ease=n}(window,AMP),function(e,t){function n(){if(t.youtube)return t.youtube;if(n.BaseClass_constructor.call(this),t.youtube=this,!n.hasAPI()){this.script=document.createElement("script"),this.script.src="https://www.youtube.com/iframe_api" ;var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(this.script,i),e.onYouTubeIframeAPIReady=this.trigger.bind(this,n.EVENT_API_READY)}}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="1.0.0",i.className="Youtube",n.EVENT_API_READY="ready",n.OPTIONS={width:"100%",height:"100%",events:{onReady:t.noop,onStateChange:t.noop,onPlaybackQualityChange:t.noop,onError:t.noop},playerVars:{autoplay:0,autohide:1,controls:1,iv_load_policy:3,fs:1,cc_load_policy:0,modestbranding:1,rel:0,showinfo:0,wmode:"transparent"}},n.install=function(){return t.youtube||new n,t.youtube},n.hasAPI=function(){return!!e.YT},n.createPlayer=function(e,i,r){if(!n.hasAPI())throw new Error("YouTube does not have not been installed");var o=t.mixin(!0,{},n.OPTIONS,r);return o.videoId=i,new YT.Player(e,o)},t.Youtube=n}(window,AMP),function(e,$){var t={};t.VERSION="1.4.0",t.isTouch=function(){var e=document.createElement("div");return e.setAttribute("ontouchstart","return"),"function"==typeof e.ontouchstart}(),t.EVENTS={flick:"flick",flickX:"flickX",flickY:"flickY",flickmove:"flickmove",flickmoveX:"flickmoveX",flickmoveY:"flickmoveY",flickcancel:"flickcancel",flickcancelX:"flickcancelX",flickcancelY:"flickcancelY"},t.OPTIONS={hit:50,area:10},t.createEventData=function(e){return{flickEvent:null,isMoveX:!1,isMoveY:!1,moveX:0,moveY:0,startX:t.isTouch?e.originalEvent.changedTouches[0].pageX:e.pageX,startY:t.isTouch?e.originalEvent.changedTouches[0].pageY:e.pageY,startTime:$.now(),endTime:null}},t.getFlickHasMap=function(e){return{isSide:e===t.EVENTS.flick||e===t.EVENTS.flickX||e===t.EVENTS.flickmove||e===t.EVENTS.flickmoveX||e===t.EVENTS.flickcancel||e===t.EVENTS.flickcancelX,isUpdown:e===t.EVENTS.flick||e===t.EVENTS.flickY||e===t.EVENTS.flickmove||e===t.EVENTS.flickmoveX||e===t.EVENTS.flickcancel||e===t.EVENTS.flickcancelY}},t.setMoveData=function(e,n,i){n.flickEvent=$.extend({},n,e),t.isTouch?(n.moveX=e.originalEvent.changedTouches[0].pageX-n.startX,n.moveY=n.startY-e.originalEvent.changedTouches[0].pageY):(n.moveX=e.pageX-n.startX,n.moveY=n.startY-e.pageY),i.areaMath.abs(a.moveX)&&i.isSide,u=s.hit>Math.abs(a.moveY)&&i.isUpdown;a.flickEvent.type=e,a.flickEvent.moveX=a.moveX,a.flickEvent.moveY=a.moveY,a.flickEvent.endTime=$.now(),(i.isSide&&a.isMoveX||i.isUpdown&&a.isMoveY)&&(e===t.EVENTS.flickcancel&&o&&u?r.trigger(a.flickEvent):e===t.EVENTS.flickcancelX&&a.isMoveX&&o?r.trigger(a.flickEvent):e===t.EVENTS.flickcancelY&&a.isMoveY&&u&&r.trigger(a.flickEvent))}setTimeout(function(){a=null},20)})}},t.flick={setup:t.getSetup(t.EVENTS.flick),teardown:t.getTeardown(t.EVENTS.flick),handler:t.getFlickHandler(t.EVENTS.flick)},t.flickX={setup:t.getSetup(t.EVENTS.flickX),teardown:t.getTeardown(t.EVENTS.flickX),handler:t.getFlickHandler(t.EVENTS.flickX)},t.flickY={setup:t.getSetup(t.EVENTS.flickY),teardown:t.getTeardown(t.EVENTS.flickY),handler:t.getFlickHandler(t.EVENTS.flickY)},t.flickmove={setup:t.getSetup(t.EVENTS.flickmove),teardown:t.getTeardown(t.EVENTS.flickmove),handler:t.getMoveHandler(t.EVENTS.flickmove)},t.flickmoveX={setup:t.getSetup(t.EVENTS.flickmoveX),teardown:t.getTeardown(t.EVENTS.flickmoveX),handler:t.getMoveHandler(t.EVENTS.flickmoveX)},t.flickmoveY={setup:t.getSetup(t.EVENTS.flickmoveY),teardown:t.getTeardown(t.EVENTS.flickmoveY),handler:t.getMoveHandler(t.EVENTS.flickmoveY)},t.flickcancel={setup:t.getSetup(t.EVENTS.flickcancel),teardown:t.getTeardown(t.EVENTS.flickcancel),handler:t.getCancelHandler(t.EVENTS.flickcancel)},t.flickcancelX={setup:t.getSetup(t.EVENTS.flickcancelX),teardown:t.getTeardown(t.EVENTS.flickcancelX),handler:t.getCancelHandler(t.EVENTS.flickcancelX)},t.flickcancelY={setup:t.getSetup(t.EVENTS.flickcancelY),teardown:t.getTeardown(t.EVENTS.flickcancelY),handler:t.getCancelHandler(t.EVENTS.flickcancelY)},$.Flick=t,$.each(t.EVENTS,function(e,n){$.event.special[n]=t[n],$.fn[n]=function(e,t){return arguments.length>0?this.on(n,null,e,t):this.trigger(n)}})}(window,jQuery),function(e,$){$.each({mouseenter:"slipin",mouseleave:"slipout"},function(e,t){$.event.special[t]={setup:function(){$(this).on(e,$.event.special[t].handler)},teardown:function(){$(this).off(e,$.event.special[t].handler)},handler:function(e){var n={},i=$(this),r=i.offset(),o=i.width(),s=i.height(),a=(e.pageX-r.left-o/2)*(o>s?s/o:1),u=(e.pageY-r.top-s/2)*(s>o?o/s:1),c=Math.round((Math.atan2(u,a)*(180/Math.PI)+180)/90+3)%4;switch(n.originalEvent=e,n.x=a,n.y=u,n.type=t,c){case 0:n.direction="top";break;case 1:n.direction="right";break;case 2:n.direction="bottom";break;case 3:n.direction="left";break}i.trigger(n)}},$.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),$.fn.slip=function(e,t){return this.slipin(e).slipout(t||e)}}(window,jQuery),function(e,$){$.each({resize:"resizestop",scroll:"scrollstop"},function(e,t){$.event.special[t]={data:{eventType:t,timer:50,timerId:null},setup:function(n){var i=$.extend({},$.event.special[t].data,n);$(this).on(e,function(){$.event.special[t].handler(i)})},teardown:function(){$(this).off(e)},handler:function(e){clearTimeout(e.timerId),e.timerId=setTimeout(function(){$(this).trigger(e.eventType)},e.timer)}},$.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})}(window,jQuery),function(e,$){var t=Array.prototype.slice,n,i;"AMP"in e?(n=AMP.now,i=AMP.requestAnimationFrame):(n=$.now,i=requestAnimationFrame||webkitRequestAnimationFrame||mozRequestAnimationFrame||oRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)}),$.sequence=function(){var e=new $.Deferred,t=new $.Deferred,n,i;n=$.isArray(arguments[0])?arguments[0]:[].slice.apply(arguments),n[n.length]=e.resolve;for(var r=0,o=n.length;r-1&&(i=n.substring(n.lastIndexOf(".")),t||(i=i.split("?")[0].split("#")[0])),i}}(window,jQuery),function(e,t,$){if(!$)throw new Error("jQuery is not found");t.$={},t.$.VERSION="3.1.2",t.$.window=$(window),t.$.document=$("document"),t.$.html=$("html")}(window,AMP,jQuery),function(e,t,$){function n(){}n.$={},n.$.VERSION="3.0.0";var i={};$.Velocity&&(i=$.Velocity.Easings),t.each(n.COMPLETION,function(e,n){$.easing[n]=t.Ease[n],i[n]=t.Ease[n],t.each(e,function(e){$.easing[e]=t.Ease[n],i[e]=t.Ease[n]})}),t.Ease.$=n.$}(window,AMP,jQuery),function(e,t,$){function n(e){n.BaseClass_constructor.call(this)}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="1.2.0",i.className="UIController",i.props={current:0},i.addEventPager=function(e){var t=this;return e.on("click."+this.id,function(){return t.moveTo(e.index(this)),!1}),this},i.removeEventPager=function(e){return e.off("click."+this.id),this},i.addEventNext=function(e){var t=this;return e.on("click."+this.id,function(){return t.next(),!1}),this},i.removeEventNext=function(e){return e.off("click."+this.id),this},i.addEventPrev=function(e){var t=this;return e.on("click."+this.id,function(){return t.prev(),!1}),this},i.removeEventPrev=function(e){return e.off("click."+this.id),this},i.addEventFlick=function(e){var t=this;return e.on("flickmoveX."+this.id,function(e){t._move(e.moveX)}).on("flickcancelX."+this.id,function(){t._resetTween()}).on("flickX."+this.id,function(e){0=n.props.length&&(e=0),prev=n.props.current,n.props.current=e,t?(n.setIndex(),n.active()):$.sequence(function(){n.props._isAnimate=!0,n.timerStop(),n.active()},function(){return n._tween(prev,n.props.current)},function(){n.timerStart(),n.props._isAnimate=!1}))},i.createPointer=function(){if(this.props.$pointer[0]){for(var e=this.props.$pointer.find(">")[0].outerHTML,t="",n=0;n-1?(a=r,u=r.replace(n.postfix+o,o),t.preload(u)):(u=r,a=r.replace(o,n.postfix+o),t.preload(a)),{$image:e,image:i,$trigger:s[0]?s:e,onSrc:a,offSrc:u,isOffImg:r===u}},t.$.Rollover=n,t.$.rollover=new n}(window,AMP,jQuery),function(e,t,$){function n(e,t){n.BaseClass_constructor.call(this),e&&e instanceof jQuery||(t=e,e=$("a[href^=#]")),this.props=$.extend(!0,{},n.OPTIONS,{$html:$("html, body")},t),this.props.$scrollTrigger=e}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="3.4.0",i.className="Scroll",n.OPTIONS={$html:null,adjust:0,noScrollClass:"no_scroll",tween:{mobileHA:!1,duration:800,easing:"easeOutQuint"}},n.get=function(e,t){return new n(e,t).on()},i.on=function(){var e=this;return this.off(),e.props.$scrollTrigger.on("click."+this.id,function(t){$(this).hasClass(e.props.noScrollClass)||(t.preventDefault(),e.tween($($(this).attr("href")),e.props))}),this},i.off=function(){return this.props.$scrollTrigger.off("click."+this.id),this},i.tween=function(e){var n=this,i,r,o;if(e[0])return i=t.isFunction(this.props.adjust)?this.props.adjust(e):this.props.adjust,i=t.isNumber(i)?i:0,r=e.offset().top-i,t.$.window.scrollTop()!==r?(o=$.extend({offset:r},this.props.tween),this.props.$html.velocity("stop").velocity("scroll",o)):this.props.$html},n.tween=function(e,i){var r=$.extend(!0,{},n.OPTIONS,i),o=t.isFunction(r.adjust)?r.adjust():r.adjust,s=t.isNumber(e)?e:e.offset().top;return o=t.isNumber(o)?o:0,r.tween.offset=s-o,t.$.window.scrollTop()!==r.tween.offset?$("html, body").velocity("stop").velocity("scroll",r.tween):$("html, body")},t.$.Scroll=n}(window,AMP,jQuery),function(e,t,$){function n(e,t){n.BaseClass_constructor.call(this),e&&e instanceof jQuery||(t=e,e=$(".scroll_toggle")),this.props=$.extend(!0,{},n.OPTIONS,t),this.props.$scrollToggle=e,this.props.isDisplay="none"!==e.css("display")}t.inherits(n,t.BaseClass);var i=n.prototype;n.VERSION="3.3.0",i.className="ScrollToggle",n.OPTIONS={showY:300,isReverse:!1,show:{opacity:1},hide:{opacity:0},showTween:{display:"block",duration:500,easing:"easeOutSine"},hideTween:{display:"none",duration:500,easing:"easeInSine"}},n.get=function(e,t){return new n(e,t).start()},i.start=function(){var e=this;return this.off(),t.$.window.on("scroll."+this.id,this._scrollController.bind(this)).trigger("scroll."+this.id),this},i.stop=function(){return this.props.$window.off("scroll."+this.id),this},i._scrollController=function(){var e=t.$.window.scrollTop();this.props.isReverse?!this.props.isDislpay&&this.props.showY>e?(this.show(),this.props.isDislpay=!0):this.props.isDislpay&&this.props.showYe&&(this.hide(),this.props.isDislpay=!1)},i.show=function(){return this.props.$scrollToggle.velocity("stop").velocity(this.props.show,this.props.showTween),this},i.hide=function(){return this.props.$scrollToggle.velocity("stop").velocity(this.props.hide,this.props.hideTween),this},t.$.ScrollToggle=n}(window,AMP,jQuery),function(e,t,$){function n(e,t){n.UIController_constructor.call(this),this.props=$.extend(!0,{},this.props,n.OPTIONS,{$wrap:e,$frame:e.find(".frame"),$slide:e.find(".slide"),$slideItem:e.find(".slide").children(),$pointer:e.find(".pointer"),$thumbnail:e.find(".thumbnail a"),$prev:e.find(".prev a"),$next:e.find(".next a"),length:0,_stepLength:null,slideMaxLength:0,distance:0,left:0,_adjustLeft:0,_timerId:null,_isAnimate:!1},t),this.props.length=this.props.$slideItem.length}t.inherits(n,t.$.UIController);var i=n.prototype;n.VERSION="1.4.0",i.className="Slider",n.OPTIONS={$frame:null,$slide:null,$slideItem:null,$pointer:null,$thumbnail:null,$prev:null,$next:null,isFlick:!0,isResize:!0,isTimerCancel:!0,isAutoHeight:!1,current:0,slideStep:0,timer:0,activeClass:"active",resizeCall:$.noop,resizeStopCall:$.noop,tween:{easing:"easeOutQuart",duration:500,begin:$.noop,progress:$.noop,complete:$.noop}},n.get=function(e,t){return new n(e,t).init()},i.init=function(){return this._isInit?this:(this._isInit=!0,this.setProps(),this.createPointer(),this.setPosition(),this.active(),this.props.isAutoHeight&&this.autoHeight(),this.addEventResize(),this.addEventTimerCancel(),this.addEventThumbnail(this.props.$thumbnail),this.addEventFlick(this.props.$slide),this.addEventNext(this.props.$next),this.addEventPrev(this.props.$prev),this.addEventPager(this.props.$pointer.find("a")),this.timerStart(),this)},i.setProps=function(){var e=this.props.$frame.width(),t=this.props.$slideItem.outerWidth(!0),n=~~(e/t),i=this.props.slideStep&&this.props.slideStep=n.props.slideMaxLength&&(e=0),n.props.current=e,n.props.left=n.props.current*n.props.distance*-1,n.props.isAutoHeight&&n.autoHeight(),t?(n.setPosition(),n.active()):$.sequence(function(){n.props._isAnimate=!0,n.timerStop(),n.active()},function(){return n._tween()},function(){n.timerStart(),n.props._isAnimate=!1}))},i._getDisplayLength=function(){var e=0;return this.props.$slideItem.each(function(){"none"!==$(this).css("display")&&(e+=1)}),e},i.createPointer=function(){if(this.props.$pointer[0]){for(var e=this.props.$pointer.find(">")[0].outerHTML,t="",n=0;n0?n-this.props.amount:n+this.props.amount,this.props.$page.velocity("stop").velocity("scroll",i)},t.$.SmoothScroll=n}(window,AMP,jQuery);var index=index||{};!function(){index.mv=function(e,t){function n(){this.param=i,this.init()}var i=jQuery.extend(!0,{$target:$(".mv__inner"),windowH:$(window).innerHeight(),headerH:$(".global-header").height(),scCount:0},t),r=n.prototype;return r.init=function(){var e=this;r.sizeSet(),r.setEvent()},r.setEvent=function(){var e=this,t=!1,n=70;$(window).resize(function(){!1!==t&&clearTimeout(t),t=setTimeout(r.sizeSet,70)})},r.sizeSet=function(){var e=this;i.headerH=$(".global-header").height(),i.windowH=$(window).innerHeight(),i.$target.css({height:"auto"}),"sp"==AMP.mediaquery.mediaStyle&&i.$target.innerHeight(i.windowH-i.headerH)},new n}}(window,jQuery);var index=index||{};!function(){index.googleMap=function(e,t){function n(){this.param=i,this.init()}var i=jQuery.extend(!0,{mapElm:document.getElementById("googleMap"),map:null,pos:{lat:35.677084,lng:139.707977}},t);return n.prototype.init=function(){var e=this;i.map=new google.maps.Map(i.mapElm,{zoom:17,center:i.pos});var t={url:"/assets/images/common/googlemap_ico.png",scaledSize:new google.maps.Size(23,37),labelOrigin:new google.maps.Point(65,20)},n={text:" UNITBASE Inc.",color:"#000",fontSize:"12px",labelOrigin:0},r=new google.maps.Marker({position:i.pos,map:i.map,icon:t,label:n}),o=[{stylers:[{saturation:-100}]}],s=new google.maps.StyledMapType(o);i.map.mapTypes.set("GrayScaleMap",s),i.map.setMapTypeId("GrayScaleMap")},new n}}(window,jQuery);var index=index||{};!function(){index.getInstagramPhoto=function(e,t){function n(){this.param=i,this.init()}var i=jQuery.extend(!0,{$target:$(".sec-instagram .imgs ul"),data:[],maxLen:5},t),r=n.prototype;return r.init=function(){var e=this;r.get(function(){r.render()})},r.get=function(e){var t=this;$.ajax({url:"/assets/data/careers/instagram.php",type:"POST",dataType:"json"}).done(function(e){for(var t=i.maxLen>e.data.length?e.data.length:i.maxLen,n=0;n画像を取得できません。リロードしてください。")}).always(function(){e()})},r.render=function(){var e=this,t="";$.each(i.data,function(e){var n=i.data[e].images.low_resolution.url,r=i.data[e].link;t+="
  • "}),i.$target.html(t)},new n}}(window,jQuery),function(e,$){var t={};t.getCases=function(e,t){function n(){this.param=i,this.init()}var i=$.extend(!0,{$target:e,originalData:null},t),r=n.prototype;return r.init=function(){var e=this;r.set()},r.set=function(){var e=this;r.get()},r.get=function(){var e=this;axios.get("/assets/data/cases.json").then(function(e){i.originalData=e.data}).catch(function(e){})},r.sort=function(){var e=this},r.render=function(){var e=this},new n},t.casesHover=function(e,t){function n(){this.param=i,this.init()}var i=$.extend(!0,{$target:e,$item:e.find(".item"),$imgs:e.find(".imgs li"),$thisItem:e.find(".item"),thisNum:0,isHover:!1,isTween:!1,duration:500,ease:"esse"},t),r=n.prototype;return r.init=function(){var e=this;r.event()},r.event=function(){var e=this;i.$item.find("a").off("hover"),i.$item.find("a").hover(function(){i.isHover=!0,i.thisNum=i.$item.find("a").index(this),r.tween()},function(){i.isHover=!1,r.offTween()})},r.tween=function(){var e=this;i.isTween=!0,i.isOpen=!0,i.$target.addClass("is-hover"),i.$thisitem=i.$imgs.eq(i.thisNum),i.$thisitem.addClass("is-hover"),i.$item.find(".txt-wrap").stop(!0,!1).velocity({opacity:0},{duration:.3*i.duration,easing:i.ease,complete:function(){i.$item.eq(i.thisNum).addClass("disp")}}),i.$item.eq(i.thisNum).find(".txt-wrap").velocity({opacity:1},{duration:.3*i.duration,easing:i.ease}),i.$thisitem.stop(!0,!1).velocity({opacity:1},{duration:i.duration,easing:i.ease,queue:!1}),i.$item.find(".img").stop(!0,!1).velocity({opacity:0},{duration:i.duration,easing:i.ease,queue:!1})},r.offTween=function(){var e=this;i.$target.removeClass("is-hover"),i.$imgs.removeClass("is-hover"),i.$thisitem.stop(!0,!1).velocity({opacity:0},{duration:i.duration,easing:i.ease,queue:!1}),i.$item.find(".txt-wrap").stop(!0,!1).velocity({opacity:0},{duration:.3*i.duration,easing:i.ease,complete:function(){i.$item.removeClass("disp")}}),i.$item.find(".txt-wrap").velocity({opacity:1},{duration:.3*i.duration,easing:i.ease}),i.$item.find(".img").stop(!0,!1).velocity({opacity:1},{duration:i.duration,easing:i.ease,complete:function(){},queue:!1})},new n},t.bracket=function(){function e(){$("p, li, dt, dd").each(function(){0==$(this).text().indexOf("「")&&($(this).html($(this).html().replace(/「/g,'')),$(this).children("span:first-child").removeClass("u-bracket").addClass("u-first-bracket"))})}return new e},t.formErrorFunc=function(){function e(){function e(){var e="error-input",t="error-style";$(".c-input-item").each(function(e){if(0!=$(this).find(".error").length){var t=$(this).find(".error"),n=t.text(),i=t.next("input,textarea");i.attr("placeholder",n),i.addClass("error-input").addClass("error-style"),t.css({display:"none"})}}),$(".error-input").focus(function(){$(this).removeClass("error-style")}).blur(function(){$(this).val()||$(this).addClass("error-style")})}$(".mw_wp_form").find(".error")[0]&&($("#page").addClass("page-form-error"),e())}return new e},t.form7ErrorFunc=function(){function e(){function e(){var e="error-input",n="error-style";t.find(".wpcf7-not-valid-tip").addClass("error"),$(".c-input-item").each(function(e){if(0!=$(this).find(".wpcf7-not-valid-tip").length){var t=$(this).find(".wpcf7-not-valid-tip"),n=t.text(),i=t.prev("input,textarea");i.attr("placeholder",n),i.addClass("error-input").addClass("error-style"),t.css({display:"none"})}}),$(".error-input").focus(function(){$(this).removeClass("error-style")}).blur(function(){$(this).val()||$(this).addClass("error-style")})}var t=$(".wpcf7"),n=$("input.wpcf7-submit");document.querySelector(".wpcf7").addEventListener("wpcf7invalid",function(t){$("#page").addClass("page-form-error"),e(),$("html,body").scrollTop(0)},!1)}return new e},t.scrollInAnime=function(e,t){function n(){this.param=i,this.init()}var i=$.extend(!0,{$target:e,targetTop:e.offset().top,scTop:$(window).scrollTop(),wH:$(window).height(),timer:null,count:0,len:e.length,array:[],adjust:1},t),r=n.prototype;return r.init=function(){var e=this;i.$target.removeClass("start"),i.$target.each(function(e){i.array[e]={elm:$(this),offsetTop:$(this).offset().top}}),r.event(),r.controler()},r.event=function(){var e=this;$(window).scroll(function(){r.controler()}),$(window).resize(function(e){clearTimeout(i.timer),i.timer=setTimeout(function(){r.resize(),r.controler()},300)})},r.controler=function(){var e=this;i.count=i.array[i.count].offsetTop&&!i.array[i.count].elm.hasClass("start")&&(i.array[i.count].elm.addClass("start"),i.count=i.count+1,r.controler())},new n},t.scrollParallax=function(e,t){function n(){this.param=i,this.init()}var i=$.extend(!0,{$target:e,$image:e.find("image"),$frame:e.find(".frame"),scTop:$(window).scrollTop(),wH:$(window).height(),distance:0,timer:null},t),r=n.prototype;return r.init=function(){var e=this;r.event(),r.resize()},r.event=function(){var e=this;i.distance=i.wH+i.targetH,i.timer=setTimeout(function(){clearTimeout(i.timer),r.resize()},300),$(window).scroll(function(){i.scTop=$(window).scrollTop(),r.controler()})},r.resize=function(){var e=this;i.targetPos=i.$target.offset().top,i.scTop=$(window).scrollTop(),i.wH=$(window).height(),i.targetH=i.$target.height(),i.distance=i.wH+i.targetH},r.controler=function(){var e=this,t=i.scTop+i.wH,n=i.targetPos+i.$target.height();t>=i.targetPos&&i.scTop<=n?r.tween():t>=i.targetPos&&i.scTop},r.tween=function(){var e=this,t=.2*i.targetH/120,n=i.distance/100,r=i.scTop+i.wH-i.targetPos;TweenMax.to([i.$image,i.$frame],0,{x:0,y:r/n*t})},r.resize=function(){var e=this},new n},e.common=e.common||{},common.util=t}(this,jQuery);var index=index||{};!function($){index.Slider=function(){function e(e,t){this.param=$.extend(!0,{$mv:e,$loader:$("#floatingCirclesG"),$content:e.find(".inline"),$stage:e.find(".inner"),$list:e.find(".list"),$item:e.find(".list").find("li"),$prev:e.find(".prev"),$next:e.find(".next"),$pointer:e.find(".pointer"),$point:e.find(".pointer").find("li"),ease:"easeOutQuint",duration:400,max:e.find(".list").find("li").length,next:0,current:0,timer:null,timerId:null,loadDurasion:600,CLONE:3,ACTIVE_CLASS:"_is-active",LOAD_CLASS:"_is-load",isAnime:!1,cloneCallback:function(){}},t)}var t=e.prototype;return t._init=function(){var e=this;e.param.$stage.imagesLoaded(function(){e.set()})},t.set=function(){var e=this;AMP.isBrowser("ie",9,"prev")?(e.param.$loader.css({display:"none"}),e.param.$mv.removeClass(e.param.LOAD_CLASS),e.setStyle(),e.setPoint(),e.setItemClone(),e.setDevice(),e.event(),e.flickEvent(),e.setTimer()):$.sequence(function(){return e.setStyle(),e.setPoint(),e.setItemClone(),e.setDevice(),e.event(),e.flickEvent(),e.param.$loader.delay(200)},function(){return e.param.$mv.removeClass(e.param.LOAD_CLASS),e.param.$item.delay(e.param.loadDurasion)},function(){e.setTimer()})},t.setDevice=function(){var e=this,t;$(window).resizestop(function(){"sp"==AMP.mediaquery.mediaStyle||"tb"==AMP.mediaquery.mediaStyle?(e.spStyle(),t=!1):"pc"==AMP.mediaquery.mediaStyle&&(e.pcStyle(),t=!0)}).trigger("resizestop")},t.setPoint=function(){for(var e=this,t=0,n="";t