text: require=function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return r(n?n:t)},u,u.exports,t,e,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(t,e){(function(n){"use strict";var i=t("base_object"),r=t("./components/core_factory"),o=t("./components/loader"),a=t("mediator"),s="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,l=t("scrollmonitor"),c=t("player_info"),u=function(t){$traceurRuntime.superCall(this,d.prototype,"constructor",[t]),window.p=this,this.options=t,this.options.sources=this.normalizeSources(t),this.loader=new o(this.options.plugins||[]),this.coreFactory=new r(this,this.loader),t.height||(t.height=360),t.width||(t.width=640),c.currentSize={width:t.width,height:t.height}},d=u;$traceurRuntime.createClass(u,{attachTo:function(t){this.options.parentElement=t,this.core=this.coreFactory.create(),this.options.autoPlayVisible&&this.bindAutoPlayVisible(this.options.autoPlayVisible)},bindAutoPlayVisible:function(t){var e=this;this.elementWatcher=l.create(this.core.$el),"full"===t?this.elementWatcher.fullyEnterViewport(function(){return e.enterViewport()}):"partial"===t&&this.elementWatcher.enterViewport(function(){return e.enterViewport()})},enterViewport:function(){0===this.elementWatcher.top||this.isPlaying()||this.play()},normalizeSources:function(t){return s.compact(s.flatten([t.source,t.sources]))},resize:function(t){this.core.resize(t)},load:function(t){this.core.load(t)},destroy:function(){this.core.destroy()},play:function(){this.core.mediaControl.container.play()},pause:function(){this.core.mediaControl.container.pause()},stop:function(){this.core.mediaControl.container.stop()},seek:function(t){this.core.mediaControl.container.setCurrentTime(t)},setVolume:function(t){this.core.mediaControl.container.setVolume(t)},mute:function(){this.core.mediaControl.container.setVolume(0)},unmute:function(){this.core.mediaControl.container.setVolume(100)},isPlaying:function(){return this.core.mediaControl.container.isPlaying()}},{},i),n.DEBUG=!1,window.Clappr={Player:u,Mediator:a},e.exports=window.Clappr}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./components/core_factory":17,"./components/loader":18,base_object:void 0,mediator:void 0,player_info:void 0,scrollmonitor:5}],2:[function(t,e){function n(){}var i=e.exports={};i.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.MutationObserver,n="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};var i=[];if(e){var r=document.createElement("div"),o=new MutationObserver(function(){var t=i.slice();i.length=0,t.forEach(function(t){t()})});return o.observe(r,{attributes:!0}),function(t){i.length||r.setAttribute("yes","no"),i.push(t)}}return n?(window.addEventListener("message",function(t){var e=t.source;if((e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),i.length>0)){var n=i.shift();n()}},!0),function(t){i.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)}}(),i.title="browser",i.browser=!0,i.env={},i.argv=[],i.on=n,i.addListener=n,i.once=n,i.off=n,i.removeListener=n,i.removeAllListeners=n,i.emit=n,i.binding=function(){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(){throw new Error("process.chdir is not supported")}},{}],3:[function(t){(function(t,e){!function(t){"use strict";function e(t){return{configurable:!0,enumerable:!1,value:t,writable:!0}}function n(){return"__$"+Math.floor(1e9*Math.random())+"$"+ ++q+"$__"}function i(){var t=n();return G[t]=!0,t}function r(t){return"object"==typeof t&&t instanceof s}function o(t){return r(t)?"symbol":typeof t}function a(t){var e=new s(t);if(!(this instanceof a))return e;throw new TypeError("Symbol cannot be new'ed")}function s(t){var e=n();_(this,z,{value:this}),_(this,H,{value:e}),_(this,V,{value:t}),c(this),U[e]=this}function l(t){var e=t[W];return e&&e.self===t?e:F(t)?(X.hash.value=K++,X.self.value=t,Y.value=E(null,X),_(t,W,Y),Y.value):void 0}function c(t){return l(t),O.apply(this,arguments)}function u(t){return l(t),A.apply(this,arguments)}function d(t){return l(t),L.apply(this,arguments)}function h(t){return r(t)?t[H]:t}function f(t){for(var e=[],n=R(t),i=0;i<n.length;i++){var r=n[i];U[r]||G[r]||e.push(r)}return e}function p(t,e){return I(t,h(e))}function m(t){for(var e=[],n=R(t),i=0;i<n.length;i++){var r=U[n[i]];r&&e.push(r)}return e}function g(t){return N.call(this,h(t))}function b(e){return t.traceur&&t.traceur.options[e]}function y(t,e,n){var i,o;return r(e)&&(i=e,e=e[H]),t[e]=n,i&&(o=I(t,e))&&_(t,e,{enumerable:!1}),n}function v(t,e,n){return r(e)&&(n.enumerable&&(n=E(n,{enumerable:{value:!1}})),e=e[H]),_(t,e,n),t}function w(t){_(t,"defineProperty",{value:v}),_(t,"getOwnPropertyNames",{value:f}),_(t,"getOwnPropertyDescriptor",{value:p}),_(t.prototype,"hasOwnProperty",{value:g}),_(t,"freeze",{value:c}),_(t,"preventExtensions",{value:u}),_(t,"seal",{value:d}),t.getOwnPropertySymbols=m}function k(t){for(var e=1;e<arguments.length;e++)for(var n=R(arguments[e]),i=0;i<n.length;i++){var r=n[i];G[r]||!function(e,n){_(t,n,{get:function(){return e[n]},enumerable:!0})}(arguments[e],n[i])}return t}function x(t){return null!=t&&("object"==typeof t||"function"==typeof t)}function C(t){if(null==t)throw P();return j(t)}function T(t){if(null==t)throw new TypeError("Value cannot be converted to an Object");return t}function S(t){t.Symbol=a,t.Reflect=t.Reflect||{},t.Reflect.global=t.Reflect.global||t,w(t.Object)}if(!t.$traceurRuntime){var j=Object,P=TypeError,E=j.create,$=j.defineProperties,_=j.defineProperty,O=j.freeze,I=j.getOwnPropertyDescriptor,R=j.getOwnPropertyNames,D=j.keys,N=j.prototype.hasOwnProperty,A=(j.prototype.toString,Object.preventExtensions),L=Object.seal,F=Object.isExtensible,B={"void":function(){},any:function(){},string:function(){},number:function(){},"boolean":function(){}},M=e,q=0,H=n(),V=n(),z=n(),U=E(null),G=E(null);_(a.prototype,"constructor",e(a)),_(a.prototype,"toString",M(function(){var t=this[z];if(!b("symbols"))return t[H];if(!t)throw TypeError("Conversion from symbol to string");var e=t[V];return void 0===e&&(e=""),"Symbol("+e+")"})),_(a.prototype,"valueOf",M(function(){var t=this[z];if(!t)throw TypeError("Conversion from symbol to string");return b("symbols")?t:t[H]})),_(s.prototype,"constructor",e(a)),_(s.prototype,"toString",{value:a.prototype.toString,enumerable:!1}),_(s.prototype,"valueOf",{value:a.prototype.valueOf,enumerable:!1});var W=i(),Y={value:void 0},X={hash:{value:void 0},self:{value:void 0}},K=0;a.iterator=a(),c(s.prototype),S(t),t.$traceurRuntime={createPrivateName:i,exportStar:k,getOwnHashObject:l,privateNames:G,setProperty:y,setupGlobals:S,toObject:C,isObject:x,toProperty:h,type:B,"typeof":o,checkObjectCoercible:T,hasOwnProperty:function(t,e){return g.call(t,e)},defineProperties:$,defineProperty:_,getOwnPropertyDescriptor:I,getOwnPropertyNames:R,keys:D}}}("undefined"!=typeof e?e:this),function(){"use strict";function t(){for(var t,e=[],n=0,i=0;i<arguments.length;i++){var r=$traceurRuntime.checkObjectCoercible(arguments[i]);if("function"!=typeof r[$traceurRuntime.toProperty(Symbol.iterator)])throw new TypeError("Cannot spread non-iterable object.");for(var o=r[$traceurRuntime.toProperty(Symbol.iterator)]();!(t=o.next()).done;)e[n++]=t.value}return e}$traceurRuntime.spread=t}(),function(){"use strict";function t(t,e){var n=m(t);do{var i=f(n,e);if(i)return i;n=m(n)}while(n);return void 0}function e(t,e,i,r){return n(t,e,i).apply(t,r)}function n(e,n,i){var r=t(n,i);return r?r.get?r.get.call(e):r.value:void 0}function i(e,n,i,r){var o=t(n,i);if(o&&o.set)return o.set.call(e,r),r;throw c("super has no setter '"+i+"'.")}function r(t){for(var e,n={},i=p(t),r=0;r<i.length;r++){var e=i[r];n[e]=f(t,e)}return n}function o(t,e,n,i){return h(e,"constructor",{value:t,configurable:!0,enumerable:!1,writable:!0}),arguments.length>3?("function"==typeof i&&(t.__proto__=i),t.prototype=u(a(i),r(e))):t.prototype=e,h(t,"prototype",{configurable:!1,writable:!1}),d(t,r(n))}function a(t){if("function"==typeof t){var e=t.prototype;if(l(e)===e||null===e)return t.prototype;throw new c("super prototype must be an Object or null")}if(null===t)return null;throw new c("Super expression must either be null or a function, not "+typeof t+".")}function s(t,n,i){null!==m(n)&&e(t,n,"constructor",i)}var l=Object,c=TypeError,u=l.create,d=$traceurRuntime.defineProperties,h=$traceurRuntime.defineProperty,f=$traceurRuntime.getOwnPropertyDescriptor,p=$traceurRuntime.getOwnPropertyNames,m=Object.getPrototypeOf;$traceurRuntime.createClass=o,$traceurRuntime.defaultSuperCall=s,$traceurRuntime.superCall=e,$traceurRuntime.superGet=n,$traceurRuntime.superSet=i}(),function(){"use strict";function t(t){return{configurable:!0,enumerable:!1,value:t,writable:!0}}function e(t){return new Error("Traceur compiler bug: invalid state in state machine: "+t)}function n(){this.state=0,this.GState=b,this.storedException=void 0,this.finallyFallThrough=void 0,this.sent_=void 0,this.returnValue=void 0,this.tryStack_=[]}function i(t,e,n,i){switch(t.GState){case y:throw new Error('"'+n+'" on executing generator');case w:if("next"==n)return{value:void 0,done:!0};throw i;case b:if("throw"===n)throw t.GState=w,i;if(void 0!==i)throw g("Sent value to newborn generator");case v:t.GState=y,t.action=n,t.sent=i;var r=e(t),o=r===t;return o&&(r=t.returnValue),t.GState=o?w:v,{value:r,done:o}}}function r(){}function o(){}function a(t,e,i){var r=u(t,i),o=new n,a=m(e.prototype);return a[C]=o,a[T]=r,a}function s(t){return t.prototype=m(o.prototype),t.__proto__=o,t}function l(){n.call(this),this.err=void 0;var t=this;t.result=new Promise(function(e,n){t.resolve=e,t.reject=n})}function c(t,e){var n=u(t,e),i=new l;return i.createCallback=function(t){return function(e){i.state=t,i.value=e,n(i)}},i.errback=function(t){d(i,t),n(i)},n(i),i.result}function u(t,e){return function(n){for(;;)try{return t.call(e,n)}catch(i){d(n,i)}}}function d(t,e){t.storedException=e;var n=t.tryStack_[t.tryStack_.length-1];return n?(t.state=void 0!==n.catch?n.catch:n.finally,void(void 0!==n.finallyFallThrough&&(t.finallyFallThrough=n.finallyFallThrough))):void t.handleException(e)}var h=$traceurRuntime.createPrivateName,f=$traceurRuntime.defineProperties,p=$traceurRuntime.defineProperty,m=Object.create,g=TypeError,b=0,y=1,v=2,w=3,k=-2,x=-3;n.prototype={pushTry:function(t,e){if(null!==e){for(var n=null,i=this.tryStack_.length-1;i>=0;i--)if(void 0!==this.tryStack_[i].catch){n=this.tryStack_[i].catch;break}null===n&&(n=x),this.tryStack_.push({"finally":e,finallyFallThrough:n})}null!==t&&this.tryStack_.push({"catch":t})},popTry:function(){this.tryStack_.pop()},get sent(){return this.maybeThrow(),this.sent_},set sent(t){this.sent_=t},get sentIgnoreThrow(){return this.sent_},maybeThrow:function(){if("throw"===this.action)throw this.action="next",this.sent_},end:function(){switch(this.state){case k:return this;case x:throw this.storedException;default:throw e(this.state)}},handleException:function(t){throw this.GState=w,this.state=k,t}};var C=h(),T=h();r.prototype=o,p(o,"constructor",t(r)),o.prototype={constructor:o,next:function(t){return i(this[C],this[T],"next",t)},"throw":function(t){return i(this[C],this[T],"throw",t)}},f(o.prototype,{constructor:{enumerable:!1},next:{enumerable:!1},"throw":{enumerable:!1}}),Object.defineProperty(o.prototype,Symbol.iterator,t(function(){return this})),l.prototype=m(n.prototype),l.prototype.end=function(){switch(this.state){case k:this.resolve(this.returnValue);break;case x:this.reject(this.storedException);break;default:this.reject(e(this.state))}},l.prototype.handleException=function(){this.state=x},$traceurRuntime.asyncWrap=c,$traceurRuntime.initGeneratorFunction=s,$traceurRuntime.createGeneratorInstance=a}(),function(){function t(t,e,n,i,r,o,a){var s=[];return t&&s.push(t,":"),n&&(s.push("//"),e&&s.push(e,"@"),s.push(n),i&&s.push(":",i)),r&&s.push(r),o&&s.push("?",o),a&&s.push("#",a),s.join("")}function e(t){return t.match(s)}function n(t){if("/"===t)return"/";for(var e="/"===t[0]?"/":"",n="/"===t.slice(-1)?"/":"",i=t.split("/"),r=[],o=0,a=0;a<i.length;a++){var s=i[a];switch(s){case"":case".":break;case"..":r.length?r.pop():o++;break;default:r.push(s)}}if(!e){for(;o-->0;)r.unshift("..");0===r.length&&r.push(".")}return e+r.join("/")+n}function i(e){var i=e[l.PATH]||"";return i=n(i),e[l.PATH]=i,t(e[l.SCHEME],e[l.USER_INFO],e[l.DOMAIN],e[l.PORT],e[l.PATH],e[l.QUERY_DATA],e[l.FRAGMENT])}function r(t){var n=e(t);return i(n)}function o(t,n){var r=e(n),o=e(t);if(r[l.SCHEME])return i(r);r[l.SCHEME]=o[l.SCHEME];for(var a=l.SCHEME;a<=l.PORT;a++)r[a]||(r[a]=o[a]);if("/"==r[l.PATH][0])return i(r);var s=o[l.PATH],c=s.lastIndexOf("/");return s=s.slice(0,c+1)+r[l.PATH],r[l.PATH]=s,i(r)}function a(t){if(!t)return!1;if("/"===t[0])return!0;var n=e(t);return n[l.SCHEME]?!0:!1}var s=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),l={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};$traceurRuntime.canonicalizeUrl=r,$traceurRuntime.isAbsolute=a,$traceurRuntime.removeDotSegments=n,$traceurRuntime.resolveUrl=o}(),function(t){"use strict";function e(t){if(t){var e=g.normalize(t);return l[e]}}function n(t){var e=arguments[1],n=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(i){var r,o;if(e===m){var a=Object.getOwnPropertyDescriptor(t,i);a.get&&(r=a.get)}r||(o=t[i],r=function(){return o}),Object.defineProperty(n,i,{get:r,enumerable:!0})}),Object.preventExtensions(n),n}var i,r=$traceurRuntime,o=r.canonicalizeUrl,a=r.resolveUrl,s=r.isAbsolute,l=Object.create(null);i=t.location&&t.location.href?a(t.location.href,"./"):"";var c=function(t,e){this.url=t,this.value_=e};$traceurRuntime.createClass(c,{},{});var u=function(t,e){this.message=this.constructor.name+": "+this.stripCause(e)+" in "+t,this.stack=e instanceof d||!e.stack?"":this.stripStack(e.stack)},d=u;$traceurRuntime.createClass(u,{stripError:function(t){return t.replace(/.*Error:/,this.constructor.name+":")},stripCause:function(t){return t?t.message?this.stripError(t.message):t+"":""},loadedBy:function(t){this.stack+="\n loaded by "+t},stripStack:function(t){var e=[];return t.split("\n").some(function(t){return/UncoatedModuleInstantiator/.test(t)?!0:void e.push(t)}),e[0]=this.stripError(e[0]),e.join("\n")}},{},Error);var h=function(t,e){$traceurRuntime.superCall(this,f.prototype,"constructor",[t,null]),this.func=e},f=h;$traceurRuntime.createClass(h,{getUncoatedModule:function(){if(this.value_)return this.value_;try{return this.value_=this.func.call(t)}catch(e){if(e instanceof u)throw e.loadedBy(this.url),e;throw new u(this.url,e)}}},{},c);var p=Object.create(null),m={},g={normalize:function(t,e){if("string"!=typeof t)throw new TypeError("module name must be a string, not "+typeof t);if(s(t))return o(t);if(/[^\.]\/\.\.\//.test(t))throw new Error("module name embeds /../: "+t);return"."===t[0]&&e?a(e,t):o(t)},get:function(t){var i=e(t);if(!i)return void 0;var r=p[i.url];return r?r:(r=n(i.getUncoatedModule(),m),p[i.url]=r)},set:function(t,e){t=String(t),l[t]=new h(t,function(){return e}),p[t]=e},get baseURL(){return i},set baseURL(t){i=String(t)},registerModule:function(t,e){var n=g.normalize(t);if(l[n])throw new Error("duplicate module named "+n);l[n]=new h(n,e)},bundleStore:Object.create(null),register:function(t,e,n){e&&(e.length||n.length)?this.bundleStore[t]={deps:e,execute:function(){var t=arguments,i={};e.forEach(function(e,n){return i[e]=t[n]});var r=n.call(this,i);return r.execute.call(this),r.exports}}:this.registerModule(t,n)},getAnonymousModule:function(e){return new n(e.call(t),m)},getForTesting:function(t){var e=this;return this.testingPrefix_||Object.keys(p).some(function(t){var n=/(traceur@[^\/]*\/)/.exec(t);return n?(e.testingPrefix_=n[1],!0):void 0}),this.get(this.testingPrefix_+t)}};g.set("@traceur/src/runtime/ModuleStore",new n({ModuleStore:g}));var b=$traceurRuntime.setupGlobals;$traceurRuntime.setupGlobals=function(t){b(t)},$traceurRuntime.ModuleStore=g,t.System={register:g.register.bind(g),get:g.get,set:g.set,normalize:g.normalize},$traceurRuntime.getModuleImpl=function(t){var n=e(t);return n&&n.getUncoatedModule()}}("undefined"!=typeof e?e:this),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/utils",[],function(){"use strict";function t(t){return t>>>0}function e(t){return t&&("object"==typeof t||"function"==typeof t)}function n(t){return"function"==typeof t}function i(t){return"number"==typeof t}function r(t){return t=+t,w(t)?0:0!==t&&v(t)?t>0?y(t):b(t):t}function o(t){var e=r(t);return 0>e?0:x(e,T)}function a(t){return e(t)?t[Symbol.iterator]:void 0}function s(t){return n(t)}function l(t,e){return{value:t,done:e}}function c(t,e,n){e in t||Object.defineProperty(t,e,n)}function u(t,e,n){c(t,e,{value:n,configurable:!0,enumerable:!1,writable:!0})}function d(t,e,n){c(t,e,{value:n,configurable:!1,enumerable:!1,writable:!1})}function h(t,e){for(var n=0;n<e.length;n+=2){var i=e[n],r=e[n+1];u(t,i,r)}}function f(t,e){for(var n=0;n<e.length;n+=2){var i=e[n],r=e[n+1];d(t,i,r)}}function p(t,e,n){n&&n.iterator&&!t[n.iterator]&&(t["@@iterator"]&&(e=t["@@iterator"]),Object.defineProperty(t,n.iterator,{value:e,configurable:!0,enumerable:!1,writable:!0}))}function m(t){S.push(t)}function g(t){S.forEach(function(e){return e(t)})}var b=Math.ceil,y=Math.floor,v=isFinite,w=isNaN,k=Math.pow,x=Math.min,C=$traceurRuntime.toObject,T=k(2,53)-1,S=[];return{get toObject(){return C},get toUint32(){return t},get isObject(){return e},get isCallable(){return n},get isNumber(){return i},get toInteger(){return r},get toLength(){return o},get checkIterable(){return a},get isConstructor(){return s},get createIteratorResultObject(){return l},get maybeDefine(){return c},get maybeDefineMethod(){return u},get maybeDefineConst(){return d},get maybeAddFunctions(){return h},get maybeAddConsts(){return f},get maybeAddIterator(){return p},get registerPolyfill(){return m},get polyfillAll(){return g}}}),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Map",[],function(){"use strict";function t(t,e){if(r(e)){var n=s(e);return n&&t.objectIndex_[n.hash]}return"string"==typeof e?t.stringIndex_[e]:t.primitiveIndex_[e]}function e(t){t.entries_=[],t.objectIndex_=Object.create(null),t.stringIndex_=Object.create(null),t.primitiveIndex_=Object.create(null),t.deletedCount_=0}function n(t){var e=t,n=e.Object,i=e.Symbol;t.Map||(t.Map=u);var r=t.Map.prototype;r.entries&&(o(r,r.entries,i),o(n.getPrototypeOf((new t.Map).entries()),function(){return this},i))}var i=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),r=i.isObject,o=i.maybeAddIterator,a=i.registerPolyfill,s=$traceurRuntime.getOwnHashObject,l=Object.prototype.hasOwnProperty,c={},u=function(){var t=arguments[0];if(!r(this))throw new TypeError("Map called on incompatible type");if(l.call(this,"entries_"))throw new TypeError("Map can not be reentrantly initialised");if(e(this),null!==t&&void 0!==t)for(var n,i=t[Symbol.iterator]();!(n=i.next()).done;){var o=n.value,a=o[0],s=o[1];this.set(a,s)}};return $traceurRuntime.createClass(u,{get size(){return this.entries_.length/2-this.deletedCount_},get:function(e){var n=t(this,e);return void 0!==n?this.entries_[n+1]:void 0},set:function(e,n){var i=r(e),o="string"==typeof e,a=t(this,e);if(void 0!==a)this.entries_[a+1]=n;else if(a=this.entries_.length,this.entries_[a]=e,this.entries_[a+1]=n,i){var l=s(e),c=l.hash;this.objectIndex_[c]=a}else o?this.stringIndex_[e]=a:this.primitiveIndex_[e]=a;return this},has:function(e){return void 0!==t(this,e)},"delete":function(t){var e,n,i=r(t),o="string"==typeof t;if(i){var a=s(t);a&&(e=this.objectIndex_[n=a.hash],delete this.objectIndex_[n])}else o?(e=this.stringIndex_[t],delete this.stringIndex_[t]):(e=this.primitiveIndex_[t],delete this.primitiveIndex_[t]);return void 0!==e?(this.entries_[e]=c,this.entries_[e+1]=void 0,this.deletedCount_++,!0):!1},clear:function(){e(this)},forEach:function(t){for(var e=arguments[1],n=0;n<this.entries_.length;n+=2){var i=this.entries_[n],r=this.entries_[n+1];i!==c&&t.call(e,r,i,this)}},entries:$traceurRuntime.initGeneratorFunction(function d(){var t,e,n;return $traceurRuntime.createGeneratorInstance(function(i){for(;;)switch(i.state){case 0:t=0,i.state=12;break;case 12:i.state=t<this.entries_.length?8:-2;break;case 4:t+=2,i.state=12;break;case 8:e=this.entries_[t],n=this.entries_[t+1],i.state=9;break;case 9:i.state=e===c?4:6;break;case 6:return i.state=2,[e,n];case 2:i.maybeThrow(),i.state=4;break;default:return i.end()}},d,this)}),keys:$traceurRuntime.initGeneratorFunction(function h(){var t,e,n;return $traceurRuntime.createGeneratorInstance(function(i){for(;;)switch(i.state){case 0:t=0,i.state=12;break;case 12:i.state=t<this.entries_.length?8:-2;break;case 4:t+=2,i.state=12;break;case 8:e=this.entries_[t],n=this.entries_[t+1],i.state=9;break;case 9:i.state=e===c?4:6;break;case 6:return i.state=2,e;case 2:i.maybeThrow(),i.state=4;break;default:return i.end()}},h,this)}),values:$traceurRuntime.initGeneratorFunction(function f(){var t,e,n;return $traceurRuntime.createGeneratorInstance(function(i){for(;;)switch(i.state){case 0:t=0,i.state=12;break;case 12:i.state=t<this.entries_.length?8:-2;break;case 4:t+=2,i.state=12;break;case 8:e=this.entries_[t],n=this.entries_[t+1],i.state=9;break;case 9:i.state=e===c?4:6;break;case 6:return i.state=2,n;case 2:i.maybeThrow(),i.state=4;break;default:return i.end()}},f,this)})},{}),Object.defineProperty(u.prototype,Symbol.iterator,{configurable:!0,writable:!0,value:u.prototype.entries}),a(n),{get Map(){return u},get polyfillMap(){return n}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Map"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Set",[],function(){"use strict";function t(t){t.map_=new a}function e(t){var e=t,n=e.Object,i=e.Symbol;t.Set||(t.Set=l);var o=t.Set.prototype;o.values&&(r(o,o.values,i),r(n.getPrototypeOf((new t.Set).values()),function(){return this},i))}var n=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),i=n.isObject,r=n.maybeAddIterator,o=n.registerPolyfill,a=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Map").Map,s=($traceurRuntime.getOwnHashObject,Object.prototype.hasOwnProperty),l=function(){var e=arguments[0];if(!i(this))throw new TypeError("Set called on incompatible type");if(s.call(this,"map_"))throw new TypeError("Set can not be reentrantly initialised");if(t(this),null!==e&&void 0!==e)for(var n,r=e[Symbol.iterator]();!(n=r.next()).done;){var o=n.value;this.add(o)}};return $traceurRuntime.createClass(l,{get size(){return this.map_.size},has:function(t){return this.map_.has(t)},add:function(t){return this.map_.set(t,t),this},"delete":function(t){return this.map_.delete(t)},clear:function(){return this.map_.clear()},forEach:function(t){var e=arguments[1],n=this;return this.map_.forEach(function(i,r){t.call(e,r,r,n)})},values:$traceurRuntime.initGeneratorFunction(function c(){var t,e;return $traceurRuntime.createGeneratorInstance(function(n){for(;;)switch(n.state){case 0:t=this.map_.keys()[Symbol.iterator](),n.sent=void 0,n.action="next",n.state=12;break;case 12:e=t[n.action](n.sentIgnoreThrow),n.state=9;break;case 9:n.state=e.done?3:2;break;case 3:n.sent=e.value,n.state=-2;break;case 2:return n.state=12,e.value;default:return n.end()}},c,this)}),entries:$traceurRuntime.initGeneratorFunction(function u(){var t,e;return $traceurRuntime.createGeneratorInstance(function(n){for(;;)switch(n.state){case 0:t=this.map_.entries()[Symbol.iterator](),n.sent=void 0,n.action="next",n.state=12;break;case 12:e=t[n.action](n.sentIgnoreThrow),n.state=9;break;case 9:n.state=e.done?3:2;break;case 3:n.sent=e.value,n.state=-2;break;case 2:return n.state=12,e.value;default:return n.end()}},u,this)})},{}),Object.defineProperty(l.prototype,Symbol.iterator,{configurable:!0,writable:!0,value:l.prototype.values}),Object.defineProperty(l.prototype,"keys",{configurable:!0,writable:!0,value:l.prototype.values}),o(e),{get Set(){return l},get polyfillSet(){return e}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Set"),System.register("traceur-runtime@0.0.62/node_modules/rsvp/lib/rsvp/asap",[],function(){"use strict";function e(t,e){f[l]=t,f[l+1]=e,l+=2,2===l&&s()}function n(){return function(){t.nextTick(a)}}function i(){var t=0,e=new d(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function r(){var t=new MessageChannel;return t.port1.onmessage=a,function(){t.port2.postMessage(0)}}function o(){return function(){setTimeout(a,1)}}function a(){for(var t=0;l>t;t+=2){var e=f[t],n=f[t+1];e(n),f[t]=void 0,f[t+1]=void 0}l=0}var s,l=0,c=e,u="undefined"!=typeof window?window:{},d=u.MutationObserver||u.WebKitMutationObserver,h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,f=new Array(1e3);return s="undefined"!=typeof t&&"[object process]"==={}.toString.call(t)?n():d?i():h?r():o(),{get default(){return c}}}),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Promise",[],function(){"use strict";function t(t){return t&&"object"==typeof t&&void 0!==t.status_}function e(t){return t}function n(t){throw t}function i(t){var i=void 0!==arguments[1]?arguments[1]:e,o=void 0!==arguments[2]?arguments[2]:n,a=r(t.constructor);switch(t.status_){case void 0:throw TypeError;case 0:t.onResolve_.push(i,a),t.onReject_.push(o,a);break;case 1:u(t.value_,[i,a]);break;case-1:u(t.value_,[o,a])}return a.promise}function r(t){if(this===v){var e=a(new v(b));return{promise:e,resolve:function(t){s(e,t)},reject:function(t){l(e,t)}}}var n={};return n.promise=new t(function(t,e){n.resolve=t,n.reject=e}),n}function o(t,e,n,i,r){return t.status_=e,t.value_=n,t.onResolve_=i,t.onReject_=r,t}function a(t){return o(t,0,void 0,[],[])}function s(t,e){c(t,1,e,t.onResolve_)}function l(t,e){c(t,-1,e,t.onReject_)}function c(t,e,n,i){0===t.status_&&(u(n,i),o(t,e,n))}function u(t,e){m(function(){for(var n=0;n<e.length;n+=2)d(t,e[n],e[n+1])})}function d(e,n,r){try{var o=n(e);if(o===r.promise)throw new TypeError;t(o)?i(o,r.resolve,r.reject):r.resolve(o)}catch(a){try{r.reject(a)}catch(a){}}}function h(t){return t&&("object"==typeof t||"function"==typeof t)}function f(e,n){if(!t(n)&&h(n)){var i;try{i=n.then}catch(o){var a=w.call(e,o);return n[k]=a,a}if("function"==typeof i){var s=n[k];if(s)return s;var l=r(e);n[k]=l.promise;try{i.call(n,l.resolve,l.reject)}catch(o){l.reject(o)}return l.promise}}return n}function p(t){t.Promise||(t.Promise=y)}var m=System.get("traceur-runtime@0.0.62/node_modules/rsvp/lib/rsvp/asap").default,g=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils").registerPolyfill,b={},y=function(t){if(t!==b){if("function"!=typeof t)throw new TypeError;var e=a(this);try{t(function(t){s(e,t)},function(t){l(e,t)})}catch(n){l(e,n)}}};$traceurRuntime.createClass(y,{"catch":function(t){return this.then(void 0,t)},then:function(r,o){"function"!=typeof r&&(r=e),"function"!=typeof o&&(o=n);var a=this,s=this.constructor;return i(this,function(e){return e=f(s,e),e===a?o(new TypeError):t(e)?e.then(r,o):r(e)},o)}},{resolve:function(e){return this===v?t(e)?e:o(new v(b),1,e):new this(function(t){t(e)})},reject:function(t){return this===v?o(new v(b),-1,t):new this(function(e,n){n(t)})},all:function(t){var e=r(this),n=[];try{var i=t.length;if(0===i)e.resolve(n);else for(var o=0;o<t.length;o++)this.resolve(t[o]).then(function(t,r){n[t]=r,0===--i&&e.resolve(n)}.bind(void 0,o),function(t){e.reject(t)})}catch(a){e.reject(a)}return e.promise},race:function(t){var e=r(this);try{for(var n=0;n<t.length;n++)this.resolve(t[n]).then(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(i){e.reject(i)}return e.promise}});var v=y,w=v.reject,k="@@thenable";return g(p),{get Promise(){return y},get polyfillPromise(){return p}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Promise"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/StringIterator",[],function(){"use strict";function t(t){var e=String(t),n=Object.create(u.prototype);return n[s(l)]=e,n[s(c)]=0,n}var e,n=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),i=n.createIteratorResultObject,r=n.isObject,o=$traceurRuntime,a=o.hasOwnProperty,s=o.toProperty,l=Symbol("iteratedString"),c=Symbol("stringIteratorNextIndex"),u=function(){};return $traceurRuntime.createClass(u,(e={},Object.defineProperty(e,"next",{value:function(){var t=this;if(!r(t)||!a(t,l))throw new TypeError("this must be a StringIterator object");var e=t[s(l)];if(void 0===e)return i(void 0,!0);var n=t[s(c)],o=e.length;if(n>=o)return t[s(l)]=void 0,i(void 0,!0);var u,d=e.charCodeAt(n);if(55296>d||d>56319||n+1===o)u=String.fromCharCode(d);else{var h=e.charCodeAt(n+1);u=56320>h||h>57343?String.fromCharCode(d):String.fromCharCode(d)+String.fromCharCode(h)}return t[s(c)]=n+u.length,i(u,!1)},configurable:!0,enumerable:!0,writable:!0}),Object.defineProperty(e,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!0,writable:!0}),e),{}),{get createStringIterator(){return t}}}),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/String",[],function(){"use strict";function t(t){var e=String(this);if(null==this||"[object RegExp]"==p.call(t))throw TypeError();var n=e.length,i=String(t),r=(i.length,arguments.length>1?arguments[1]:void 0),o=r?Number(r):0;isNaN(o)&&(o=0);var a=Math.min(Math.max(o,0),n);return m.call(e,i,o)==a}function e(t){var e=String(this);if(null==this||"[object RegExp]"==p.call(t))throw TypeError();var n=e.length,i=String(t),r=i.length,o=n;if(arguments.length>1){var a=arguments[1];void 0!==a&&(o=a?Number(a):0,isNaN(o)&&(o=0))}var s=Math.min(Math.max(o,0),n),l=s-r;return 0>l?!1:g.call(e,i,l)==l}function n(t){if(null==this)throw TypeError();var e=String(this),n=e.length,i=String(t),r=(i.length,arguments.length>1?arguments[1]:void 0),o=r?Number(r):0;isNaN(o)&&(o=0);Math.min(Math.max(o,0),n);return-1!=m.call(e,i,o)}function i(t){if(null==this)throw TypeError();var e=String(this),n=t?Number(t):0;if(isNaN(n)&&(n=0),0>n||1/0==n)throw RangeError();if(0==n)return"";for(var i="";n--;)i+=e;return i}function r(t){if(null==this)throw TypeError();var e=String(this),n=e.length,i=t?Number(t):0;if(isNaN(i)&&(i=0),0>i||i>=n)return void 0;var r,o=e.charCodeAt(i);return o>=55296&&56319>=o&&n>i+1&&(r=e.charCodeAt(i+1),r>=56320&&57343>=r)?1024*(o-55296)+r-56320+65536:o}function o(t){var e=t.raw,n=e.length>>>0;if(0===n)return"";for(var i="",r=0;;){if(i+=e[r],r+1===n)return i;i+=arguments[++r]}}function a(){var t,e,n=[],i=Math.floor,r=-1,o=arguments.length;if(!o)return"";for(;++r<o;){var a=Number(arguments[r]);if(!isFinite(a)||0>a||a>1114111||i(a)!=a)throw RangeError("Invalid code point: "+a);65535>=a?n.push(a):(a-=65536,t=(a>>10)+55296,e=a%1024+56320,n.push(t,e))}return String.fromCharCode.apply(null,n)}function s(){var t=$traceurRuntime.checkObjectCoercible(this),e=String(t);return c(e)}function l(l){var c=l.String;d(c.prototype,["codePointAt",r,"contains",n,"endsWith",e,"startsWith",t,"repeat",i]),d(c,["fromCodePoint",a,"raw",o]),h(c.prototype,s,Symbol)}var c=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/StringIterator").createStringIterator,u=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),d=u.maybeAddFunctions,h=u.maybeAddIterator,f=u.registerPolyfill,p=Object.prototype.toString,m=String.prototype.indexOf,g=String.prototype.lastIndexOf;return f(l),{get startsWith(){return t},get endsWith(){return e},get contains(){return n
  },get repeat(){return i},get codePointAt(){return r},get raw(){return o},get fromCodePoint(){return a},get stringPrototypeIterator(){return s},get polyfillString(){return l}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/String"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/ArrayIterator",[],function(){"use strict";function t(t,e){var n=a(t),i=new h;return i.iteratorObject_=n,i.arrayIteratorNextIndex_=0,i.arrayIterationKind_=e,i}function e(){return t(this,d)}function n(){return t(this,c)}function i(){return t(this,u)}var r,o=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),a=o.toObject,s=o.toUint32,l=o.createIteratorResultObject,c=1,u=2,d=3,h=function(){};return $traceurRuntime.createClass(h,(r={},Object.defineProperty(r,"next",{value:function(){var t=a(this),e=t.iteratorObject_;if(!e)throw new TypeError("Object is not an ArrayIterator");var n=t.arrayIteratorNextIndex_,i=t.arrayIterationKind_,r=s(e.length);return n>=r?(t.arrayIteratorNextIndex_=1/0,l(void 0,!0)):(t.arrayIteratorNextIndex_=n+1,i==u?l(e[n],!1):i==d?l([n,e[n]],!1):l(n,!1))},configurable:!0,enumerable:!0,writable:!0}),Object.defineProperty(r,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!0,writable:!0}),r),{}),{get entries(){return e},get keys(){return n},get values(){return i}}}),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Array",[],function(){"use strict";function t(t){var e,n,i=arguments[1],r=arguments[2],o=this,a=w(t),s=void 0!==i,l=0;if(s&&!f(i))throw TypeError();if(h(a)){e=p(o)?new o:[];for(var c,u=a[Symbol.iterator]();!(c=u.next()).done;){var d=c.value;e[l]=s?i.call(r,d,l):d,l++}return e.length=l,e}for(n=v(a.length),e=p(o)?new o(n):new Array(n);n>l;l++)e[l]=s?"undefined"==typeof r?i(a[l],l):i.call(r,a[l],l):a[l];return e.length=n,e}function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=this,i=t.length,r=p(n)?new n(i):new Array(i),o=0;i>o;o++)r[o]=t[o];return r.length=i,r}function n(t){var e=void 0!==arguments[1]?arguments[1]:0,n=arguments[2],i=w(this),r=v(i.length),o=y(e),a=void 0!==n?y(n):r;for(o=0>o?Math.max(r+o,0):Math.min(o,r),a=0>a?Math.max(r+a,0):Math.min(a,r);a>o;)i[o]=t,o++;return i}function i(t){var e=arguments[1];return o(this,t,e)}function r(t){var e=arguments[1];return o(this,t,e,!0)}function o(t,e){var n=arguments[2],i=void 0!==arguments[3]?arguments[3]:!1,r=w(t),o=v(r.length);if(!f(e))throw TypeError();for(var a=0;o>a;a++)if(a in r){var s=r[a];if(e.call(n,s,a,r))return i?a:s}return i?-1:void 0}function a(o){var a=o,s=a.Array,d=a.Object,h=a.Symbol;m(s.prototype,["entries",l,"keys",c,"values",u,"fill",n,"find",i,"findIndex",r]),m(s,["from",t,"of",e]),g(s.prototype,u,h),g(d.getPrototypeOf([].values()),function(){return this},h)}var s=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/ArrayIterator"),l=s.entries,c=s.keys,u=s.values,d=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),h=d.checkIterable,f=d.isCallable,p=d.isConstructor,m=d.maybeAddFunctions,g=d.maybeAddIterator,b=d.registerPolyfill,y=d.toInteger,v=d.toLength,w=d.toObject;return b(a),{get from(){return t},get of(){return e},get fill(){return n},get find(){return i},get findIndex(){return r},get polyfillArray(){return a}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Array"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Object",[],function(){"use strict";function t(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function e(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e],r=d(i),o=r.length;for(n=0;o>n;n++){var a=r[n];h[a]||(t[a]=i[a])}}return t}function n(t,e){var n,i,r=u(e),o=r.length;for(n=0;o>n;n++){var a=r[n];h[a]||(i=c(e,r[n]),l(t,r[n],i))}return t}function i(i){var r=i.Object;o(r,["assign",e,"is",t,"mixin",n])}var r=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),o=r.maybeAddFunctions,a=r.registerPolyfill,s=$traceurRuntime,l=s.defineProperty,c=s.getOwnPropertyDescriptor,u=s.getOwnPropertyNames,d=s.keys,h=s.privateNames;return a(i),{get is(){return t},get assign(){return e},get mixin(){return n},get polyfillObject(){return i}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Object"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/Number",[],function(){"use strict";function t(t){return a(t)&&h(t)}function e(e){return t(e)&&u(e)===e}function n(t){return a(t)&&f(t)}function i(e){if(t(e)){var n=u(e);if(n===e)return d(n)<=p}return!1}function r(r){var o=r.Number;s(o,["MAX_SAFE_INTEGER",p,"MIN_SAFE_INTEGER",m,"EPSILON",g]),l(o,["isFinite",t,"isInteger",e,"isNaN",n,"isSafeInteger",i])}var o=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils"),a=o.isNumber,s=o.maybeAddConsts,l=o.maybeAddFunctions,c=o.registerPolyfill,u=o.toInteger,d=Math.abs,h=isFinite,f=isNaN,p=Math.pow(2,53)-1,m=-Math.pow(2,53)+1,g=Math.pow(2,-52);return c(r),{get MAX_SAFE_INTEGER(){return p},get MIN_SAFE_INTEGER(){return m},get EPSILON(){return g},get isFinite(){return t},get isInteger(){return e},get isNaN(){return n},get isSafeInteger(){return i},get polyfillNumber(){return r}}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/Number"),System.register("traceur-runtime@0.0.62/src/runtime/polyfills/polyfills",[],function(){"use strict";var t=System.get("traceur-runtime@0.0.62/src/runtime/polyfills/utils").polyfillAll;t(this);var e=$traceurRuntime.setupGlobals;return $traceurRuntime.setupGlobals=function(n){e(n),t(n)},{}}),System.get("traceur-runtime@0.0.62/src/runtime/polyfills/polyfills")}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],4:[function(t,e){function n(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):void t.attachEvent("on"+e,n)}function i(t){return"keypress"==t.type?String.fromCharCode(t.which):k[t.which]?k[t.which]:x[t.which]?x[t.which]:String.fromCharCode(t.which).toLowerCase()}function r(t){var e=t.target||t.srcElement,n=e.tagName;return(" "+e.className+" ").indexOf(" mousetrap ")>-1?!1:"INPUT"==n||"SELECT"==n||"TEXTAREA"==n||e.contentEditable&&"true"==e.contentEditable}function o(t,e){return t.sort().join(",")===e.sort().join(",")}function a(t){t=t||{};var e,n=!1;for(e in P)t[e]?n=!0:P[e]=0;n||($=!1)}function s(t,e,n,i,r){var a,s,l=[];if(!S[t])return[];for("keyup"==n&&h(t)&&(e=[t]),a=0;a<S[t].length;++a)s=S[t][a],s.seq&&P[s.seq]!=s.level||n==s.action&&("keypress"==n||o(e,s.modifiers))&&(i&&s.combo==r&&S[t].splice(a,1),l.push(s));return l}function l(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}function c(t,e){t(e)===!1&&(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.returnValue=!1,e.cancelBubble=!0)}function u(t,e){if(!r(e)){var n,i=s(t,l(e),e.type),o={},u=!1;for(n=0;n<i.length;++n)i[n].seq?(u=!0,o[i[n].seq]=1,c(i[n].callback,e)):u||$||c(i[n].callback,e);e.type!=$||h(t)||a(o)}}function d(t){t.which="number"==typeof t.which?t.which:t.keyCode;var e=i(t);if(e)return"keyup"==t.type&&E==e?void(E=!1):void u(e,t)}function h(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function f(){clearTimeout(w),w=setTimeout(a,1e3)}function p(){if(!v){v={};for(var t in k)t>95&&112>t||k.hasOwnProperty(t)&&(v[k[t]]=t)}return v}function m(t,e,n){return n||(n=p()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function g(t,e,n,r){P[t]=0,r||(r=m(e[0],[]));var o,s=function(){$=r,++P[t],f()},l=function(t){c(n,t),"keyup"!==r&&(E=i(t)),setTimeout(a,10)};for(o=0;o<e.length;++o)b(e[o],o<e.length-1?s:l,r,t,o)}function b(t,e,n,i,r){t=t.replace(/\s+/g," ");var o,a,l,c=t.split(" "),u=[];if(c.length>1)return g(t,c,e,n);for(l="+"===t?["+"]:t.split("+"),o=0;o<l.length;++o)a=l[o],T[a]&&(a=T[a]),n&&"keypress"!=n&&C[a]&&(a=C[a],u.push("shift")),h(a)&&u.push(a);n=m(a,u,n),S[a]||(S[a]=[]),s(a,u,n,!i,t),S[a][i?"unshift":"push"]({callback:e,modifiers:u,action:n,seq:i,level:r,combo:t})}function y(t,e,n){for(var i=0;i<t.length;++i)b(t[i],e,n)}for(var v,w,k={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},x={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},C={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},T={option:"alt",command:"meta","return":"enter",escape:"esc"},S={},j={},P={},E=!1,$=!1,_=1;20>_;++_)k[111+_]="f"+_;for(_=0;9>=_;++_)k[_+96]=_;n(document,"keypress",d),n(document,"keydown",d),n(document,"keyup",d);var O={bind:function(t,e,n){return y(t instanceof Array?t:[t],e,n),j[t+":"+n]=e,this},unbind:function(t,e){return j[t+":"+e]&&(delete j[t+":"+e],this.bind(t,function(){},e)),this},trigger:function(t,e){return j[t+":"+e](),this},reset:function(){return S={},j={},this}};e.exports=O},{}],5:[function(t,e){!function(t){"undefined"!=typeof define&&define.amd?define([],t):"undefined"!=typeof e&&e.exports?e.exports=t():window.scrollMonitor=t()}(function(){function t(){if(s.viewportTop=a(),s.viewportBottom=s.viewportTop+s.viewportHeight,s.documentHeight=v(),s.documentHeight!==w){for(x=l.length;x--;)l[x].recalculateLocation();w=s.documentHeight}}function e(){s.viewportHeight=y(),t(),i()}function n(){clearTimeout(C),C=setTimeout(e,100)}function i(){for(T=l.length;T--;)l[T].update();for(T=l.length;T--;)l[T].triggerCallbacks()}function r(t,e){function n(t){if(0!==t.length)for(w=t.length;w--;)x=t[w],x.callback.call(i,k),x.isOne&&t.splice(w,1)}var i=this;this.watchItem=t,this.offsets=e?e===+e?{top:e,bottom:e}:{top:e.top||b.top,bottom:e.bottom||b.bottom}:b,this.callbacks={};for(var r=0,o=g.length;o>r;r++)i.callbacks[g[r]]=[];this.locked=!1;var a,l,y,v,w,x;this.triggerCallbacks=function(){switch(this.isInViewport&&!a&&n(this.callbacks[u]),this.isFullyInViewport&&!l&&n(this.callbacks[d]),this.isAboveViewport!==y&&this.isBelowViewport!==v&&(n(this.callbacks[c]),l||this.isFullyInViewport||(n(this.callbacks[d]),n(this.callbacks[f])),a||this.isInViewport||(n(this.callbacks[u]),n(this.callbacks[h]))),!this.isFullyInViewport&&l&&n(this.callbacks[f]),!this.isInViewport&&a&&n(this.callbacks[h]),this.isInViewport!==a&&n(this.callbacks[c]),!0){case a!==this.isInViewport:case l!==this.isFullyInViewport:case y!==this.isAboveViewport:case v!==this.isBelowViewport:n(this.callbacks[m])}a=this.isInViewport,l=this.isFullyInViewport,y=this.isAboveViewport,v=this.isBelowViewport},this.recalculateLocation=function(){if(!this.locked){var t=this.top,e=this.bottom;if(this.watchItem.nodeName){var i=this.watchItem.style.display;"none"===i&&(this.watchItem.style.display="");var r=this.watchItem.getBoundingClientRect();this.top=r.top+s.viewportTop,this.bottom=r.bottom+s.viewportTop,"none"===i&&(this.watchItem.style.display=i)}else this.watchItem===+this.watchItem?this.top=this.bottom=this.watchItem>0?this.watchItem:s.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===t&&void 0===e||this.top===t&&this.bottom===e||n(this.callbacks[p])}},this.recalculateLocation(),this.update(),a=this.isInViewport,l=this.isFullyInViewport,y=this.isAboveViewport,v=this.isBelowViewport}function o(e){k=e,t(),i()}var a=function(){return window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop},s={},l=[],c="visibilityChange",u="enterViewport",d="fullyEnterViewport",h="exitViewport",f="partiallyExitViewport",p="locationChange",m="stateChange",g=[c,u,d,h,f,p,m],b={top:0,bottom:0},y=function(){return window.innerHeight||document.documentElement.clientHeight},v=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight)};s.viewportTop=null,s.viewportBottom=null,s.documentHeight=null,s.viewportHeight=y();var w,k,x,C,T;r.prototype={on:function(t,e,n){switch(!0){case t===c&&!this.isInViewport&&this.isAboveViewport:case t===u&&this.isInViewport:case t===d&&this.isFullyInViewport:case t===h&&this.isAboveViewport&&!this.isInViewport:case t===f&&this.isAboveViewport:if(e.call(this,k),n)return}if(!this.callbacks[t])throw new Error("Tried to add a scroll monitor listener of type "+t+". Your options are: "+g.join(", "));this.callbacks[t].push({callback:e,isOne:n||!1})},off:function(t,e){if(!this.callbacks[t])throw new Error("Tried to remove a scroll monitor listener of type "+t+". Your options are: "+g.join(", "));for(var n,i=0;n=this.callbacks[t][i];i++)if(n.callback===e){this.callbacks[t].splice(i,1);break}},one:function(t,e){this.on(t,e,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.top<s.viewportTop,this.isBelowViewport=this.bottom>s.viewportBottom,this.isInViewport=this.top<=s.viewportBottom&&this.bottom>=s.viewportTop,this.isFullyInViewport=this.top>=s.viewportTop&&this.bottom<=s.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var t=l.indexOf(this),e=this;l.splice(t,1);for(var n=0,i=g.length;i>n;n++)e.callbacks[g[n]].length=0},lock:function(){this.locked=!0},unlock:function(){this.locked=!1}};for(var S=function(t){return function(e,n){this.on.call(this,t,e,n)}},j=0,P=g.length;P>j;j++){var E=g[j];r.prototype[E]=S(E)}try{t()}catch($){try{window.$(t)}catch($){throw new Error("If you must put scrollMonitor in the <head>, you must use jQuery.")}}return window.addEventListener?(window.addEventListener("scroll",o),window.addEventListener("resize",n)):(window.attachEvent("onscroll",o),window.attachEvent("onresize",n)),s.beget=s.create=function(t,e){"string"==typeof t?t=document.querySelector(t):t&&t.length>0&&(t=t[0]);var n=new r(t,e);return l.push(n),n.update(),n},s.update=function(){k=null,t(),i()},s.recalculateLocations=function(){s.documentHeight=0,s.update()},s})},{}],6:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("../plugins/log").getInstance(),o=Array.prototype.slice,a=function(){};$traceurRuntime.createClass(a,{on:function(t,e,n){if(!l(this,"on",t,[e,n])||!e)return this;this._events||(this._events={});var i=this._events[t]||(this._events[t]=[]);return i.push({callback:e,context:n,ctx:n||this}),this},once:function(t,e,n){if(!l(this,"once",t,[e,n])||!e)return this;var r=this,o=i.once(function(){r.off(t,o),e.apply(this,arguments)});return o._callback=e,this.on(t,o,n)},off:function(t,e,n){var r,o,a,s,c,u,d,h;if(!this._events||!l(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(s=t?[t]:i.keys(this._events),c=0,u=s.length;u>c;c++)if(t=s[c],a=this._events[t]){if(this._events[t]=r=[],e||n)for(d=0,h=a.length;h>d;d++)o=a[d],(e&&e!==o.callback&&e!==o.callback._callback||n&&n!==o.context)&&r.push(o);r.length||delete this._events[t]}return this},trigger:function(t){var e=arguments[arguments.length-1];if(r.info(e,t),!this._events)return this;var n=o.call(arguments,1);if(!l(this,"trigger",t,n))return this;var i=this._events[t],a=this._events.all;return i&&c(i,n),a&&c(a,arguments),this},stopListening:function(t,e,n){var r=this._listeningTo;if(!r)return this;var o=!e&&!n;n||"object"!=typeof e||(n=this),t&&((r={})[t._listenId]=t);for(var a in r)t=r[a],t.off(e,n,this),(o||i.isEmpty(t._events))&&delete this._listeningTo[a];return this}},{});var s=/\s+/,l=function(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)t[e].apply(t,[r,n[r]].concat(i));return!1}if(s.test(n)){for(var o=n.split(s),a=0,l=o.length;l>a;a++)t[e].apply(t,[o[a]].concat(i));return!1}return!0},c=function(t,e){var n,i=-1,r=t.length,o=e[0],a=e[1],s=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,a);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,a,s);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}},u={listenTo:"on",listenToOnce:"once"};i.each(u,function(t,e){a.prototype[e]=function(e,n,r){var o=this._listeningTo||(this._listeningTo={}),a=e._listenId||(e._listenId=i.uniqueId("l"));return o[a]=e,r||"object"!=typeof n||(r=this),e[t](n,r,this),this}}),e.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../plugins/log":41}],7:[function(t,e){(function(t){"use strict";var n="undefined"!=typeof window?window._:"undefined"!=typeof t?t._:null;e.exports={media_control:n.template('<div class="media-control-background" data-background></div><div class="media-control-layer" data-controls><% var renderBar=function(name) { %><div class="bar-container" data-<%= name %>><div class="bar-background" data-<%= name %>><div class="bar-fill-1" data-<%= name %>></div><div class="bar-fill-2" data-<%= name %>></div><div class="bar-hover" data-<%= name %>></div></div><div class="bar-scrubber" data-<%= name %>><div class="bar-scrubber-icon" data-<%= name %>></div></div></div><% }; %><% var renderSegmentedBar=function(name, segments) { segments=segments || 10; %><div class="bar-container" data-<%= name %>><% for (var i = 0; i < segments; i++) { %><div class="segmented-bar-element" data-<%= name %>></div><% } %></div><% }; %><% var renderDrawer=function(name, renderContent) { %><div class="drawer-container" data-<%= name %>><div class="drawer-icon-container" data-<%= name %>><div class="drawer-icon media-control-icon" data-<%= name %>></div><span class="drawer-text" data-<%= name %>></span></div><% renderContent(name); %></div><% }; %><% var renderIndicator=function(name) { %><div class="media-control-indicator" data-<%= name %>></div><% }; %><% var renderButton=function(name) { %><button class="media-control-button media-control-icon" data-<%= name %>></button><% }; %><% var templates={ bar: renderBar, segmentedBar: renderSegmentedBar, }; var render=function(settingsList) { _.each(settingsList, function(setting) { if(setting === "seekbar") { renderBar(setting); } else if (setting === "volume") { renderDrawer(setting, settings.volumeBarTemplate ? templates[settings.volumeBarTemplate] : function(name) { return renderSegmentedBar(name); }); } else if (setting === "duration" || setting=== "position") { renderIndicator(setting); } else { renderButton(setting); } }); }; %><% if (settings.default && settings.default.length) { %><div class="media-control-center-panel" data-media-control><% render(settings.default); %></div><% } %><% if (settings.left && settings.left.length) { %><div class="media-control-left-panel" data-media-control><% render(settings.left); %></div><% } %><% if (settings.right && settings.right.length) { %><div class="media-control-right-panel" data-media-control><% render(settings.right); %></div><% } %></div>'),seek_time:n.template("<span data-seek-time></span>"),flash:n.template('<param name="movie" value="<%= swfPath %>"><param name="quality" value="autohigh"><param name="swliveconnect" value="true"><param name="allowScriptAccess" value="always"><param name="bgcolor" value="#001122"><param name="allowFullScreen" value="false"><param name="wmode" value="transparent"><param name="tabindex" value="1"><param name=FlashVars value="playbackId=<%= playbackId %>" /><embed type="application/x-shockwave-flash" disabled tabindex="-1" enablecontextmenu="false" allowScriptAccess="always" quality="autohight" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" swliveconnect="true" type="application/x-shockwave-flash" allowfullscreen="false" bgcolor="#000000" FlashVars="playbackId=<%= playbackId %>" src="<%= swfPath %>"></embed>'),hls:n.template('<param name="movie" value="<%= swfPath %>?inline=1"><param name="quality" value="autohigh"><param name="swliveconnect" value="true"><param name="allowScriptAccess" value="always"><param name="bgcolor" value="#001122"><param name="allowFullScreen" value="false"><param name="wmode" value="transparent"><param name="tabindex" value="1"><param name=FlashVars value="playbackId=<%= playbackId %>" /><embed type="application/x-shockwave-flash" tabindex="1" enablecontextmenu="false" allowScriptAccess="always" quality="autohigh" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" swliveconnect="true" type="application/x-shockwave-flash" allowfullscreen="false" bgcolor="#000000" FlashVars="playbackId=<%= playbackId %>" src="<%= swfPath %>"></embed>'),html5_video:n.template('<source src="<%=src%>" type="<%=type%>">'),no_op:n.template("<p data-no-op-msg>Something went wrong :(</p>"),background_button:n.template('<div class="background-button-wrapper" data-background-button><button class="background-button-icon" data-background-button></button></div>'),dvr_controls:n.template('<div class="live-info">LIVE</div><button class="live-button">BACK TO LIVE</button>'),poster:n.template('<div class="play-wrapper" data-poster><span class="poster-icon play" data-poster/></div>'),spinner_three_bounce:n.template("<div data-bounce1></div><div data-bounce2></div><div data-bounce3></div>"),watermark:n.template('<div data-watermark data-watermark-<%=position %>><img src="<%= imageUrl %>"></div>'),CSS:{container:".container[data-container]{position:absolute;background-color:#000;height:100%;width:100%}.container[data-container].pointer-enabled{cursor:pointer}",core:'[data-player]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:relative;margin:0;padding:0;border:0;height:594px;width:1055px;font-style:normal;font-weight:400;text-align:center;overflow:hidden;font-size:100%;color:#000;background-color:#000;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;text-shadow:0 0 0;box-sizing:border-box}[data-player] a,[data-player] abbr,[data-player] acronym,[data-player] address,[data-player] applet,[data-player] article,[data-player] aside,[data-player] audio,[data-player] b,[data-player] big,[data-player] blockquote,[data-player] canvas,[data-player] caption,[data-player] center,[data-player] cite,[data-player] code,[data-player] dd,[data-player] del,[data-player] details,[data-player] dfn,[data-player] div,[data-player] dl,[data-player] dt,[data-player] em,[data-player] embed,[data-player] fieldset,[data-player] figcaption,[data-player] figure,[data-player] footer,[data-player] form,[data-player] h1,[data-player] h2,[data-player] h3,[data-player] h4,[data-player] h5,[data-player] h6,[data-player] header,[data-player] hgroup,[data-player] i,[data-player] iframe,[data-player] img,[data-player] ins,[data-player] kbd,[data-player] label,[data-player] legend,[data-player] li,[data-player] mark,[data-player] menu,[data-player] nav,[data-player] object,[data-player] ol,[data-player] output,[data-player] p,[data-player] pre,[data-player] q,[data-player] ruby,[data-player] s,[data-player] samp,[data-player] section,[data-player] small,[data-player] span,[data-player] strike,[data-player] strong,[data-player] sub,[data-player] summary,[data-player] sup,[data-player] table,[data-player] tbody,[data-player] td,[data-player] tfoot,[data-player] th,[data-player] thead,[data-player] time,[data-player] tr,[data-player] tt,[data-player] u,[data-player] ul,[data-player] var,[data-player] video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}[data-player] table{border-collapse:collapse;border-spacing:0}[data-player] caption,[data-player] td,[data-player] th{text-align:left;font-weight:400;vertical-align:middle}[data-player] blockquote,[data-player] q{quotes:none}[data-player] blockquote:after,[data-player] blockquote:before,[data-player] q:after,[data-player] q:before{content:"";content:none}[data-player] a img{border:none}[data-player] *{max-width:initial;box-sizing:inherit;float:initial}[data-player].fullscreen{width:100%;height:100%}[data-player].nocursor{cursor:none}',media_control:'@font-face{font-family:Player;src:url(http://cdn.clappr.io/latest/assets/Player-Regular.eot);src:url(http://cdn.clappr.io/latest/assets/Player-Regular.eot?#iefix) format("embedded-opentype"),url(http://cdn.clappr.io/latest/assets/Player-Regular.ttf) format("truetype"),url(http://cdn.clappr.io/latest/assets/Player-Regular.svg#player) format("svg")}.media-control-notransition{-webkit-transition:none!important;-webkit-transition-delay:0s;-moz-transition:none!important;-o-transition:none!important;transition:none!important}.media-control[data-media-control]{position:absolute;width:100%;height:100%;z-index:9999;pointer-events:none}.media-control[data-media-control].dragging{pointer-events:auto;cursor:-webkit-grabbing!important;cursor:grabbing!important}.media-control[data-media-control].dragging *{cursor:-webkit-grabbing!important;cursor:grabbing!important}.media-control[data-media-control] .media-control-background[data-background]{position:absolute;height:40%;width:100%;bottom:0;background-image:-owg(linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9)));background-image:-webkit(linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9)));background-image:-moz(linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9)));background-image:-o(linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9)));background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9));-webkit-transition:opacity .6s;-webkit-transition-delay:ease-out;-moz-transition:opacity .6s ease-out;-o-transition:opacity .6s ease-out;transition:opacity .6s ease-out}.media-control[data-media-control] .media-control-icon{font-family:Player;font-weight:400;font-style:normal;font-size:26px;line-height:32px;letter-spacing:0;speak:none;color:#fff;opacity:.5;vertical-align:middle;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s;-webkit-transition-delay:ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;transition:all .1s ease}.media-control[data-media-control] .media-control-icon:hover{color:#fff;opacity:.75;text-shadow:rgba(255,255,255,.8) 0 0 5px}.media-control[data-media-control].media-control-hide .media-control-background[data-background]{opacity:0}.media-control[data-media-control].media-control-hide .media-control-layer[data-controls]{bottom:-50px}.media-control[data-media-control].media-control-hide .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar]{opacity:0}.media-control[data-media-control] .media-control-layer[data-controls]{position:absolute;bottom:7px;width:100%;height:32px;vertical-align:middle;pointer-events:auto;-webkit-transition:bottom .4s;-webkit-transition-delay:ease-out;-moz-transition:bottom .4s ease-out;-o-transition:bottom .4s ease-out;transition:bottom .4s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-left-panel[data-media-control]{position:absolute;top:0;left:4px;height:100%}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-center-panel[data-media-control]{height:100%;text-align:center;line-height:32px}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-right-panel[data-media-control]{position:absolute;top:0;right:4px;height:100%}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button{background-color:transparent;border:0;margin:0 6px;padding:0;cursor:pointer;display:inline-block}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button:focus{outline:0}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-play]{float:left;height:100%;font-size:20px}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-play]:before{content:"\\e001"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-pause]{float:left;height:100%;font-size:20px}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-pause]:before{content:"\\e002"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-stop]{float:left;height:100%;font-size:20px}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-stop]:before{content:"\\e003"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-fullscreen]{float:right;background-color:transparent;border:0;height:100%}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-fullscreen]:before{content:"\\e006"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-fullscreen].shrink:before{content:"\\e007"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator]{cursor:default;float:right;background-color:transparent;border:0;height:100%;opacity:0}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator]:before{content:"\\e008"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled{opacity:1}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled:hover{opacity:1;text-shadow:none}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause]{float:left;height:100%;font-size:20px}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause]:before{content:"\\e001"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause].playing:before{content:"\\e002"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause].paused:before{content:"\\e001"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop]{float:left;height:100%;font-size:20px}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop]:before{content:"\\e001"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop].playing:before{content:"\\e003"}.media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop].stopped:before{content:"\\e001"}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration],.media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position]{display:inline-block;font-size:10px;color:#fff;cursor:default;line-height:32px;position:relative}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position]{margin-left:6px}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration]{color:rgba(255,255,255,.5);margin-right:6px}.media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration]:before{content:"|";margin:0 3px}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]{position:absolute;top:-20px;left:0;display:inline-block;vertical-align:middle;width:100%;height:25px;cursor:pointer}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar]{width:100%;height:1px;position:relative;top:12px;background-color:#666}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-1[data-seekbar]{position:absolute;top:0;left:0;width:0;height:100%;background-color:#c2c2c2;-webkit-transition:all .1s;-webkit-transition-delay:ease-out;-moz-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar]{position:absolute;top:0;left:0;width:0;height:100%;background-color:#005aff;-webkit-transition:all .1s;-webkit-transition-delay:ease-out;-moz-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-hover[data-seekbar]{opacity:0;position:absolute;top:-3px;width:5px;height:7px;background-color:rgba(255,255,255,.5);-webkit-transition:opacity .1s;-webkit-transition-delay:ease;-moz-transition:opacity .1s ease;-o-transition:opacity .1s ease;transition:opacity .1s ease}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]:hover .bar-background[data-seekbar] .bar-hover[data-seekbar]{opacity:1}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled{cursor:default}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled:hover .bar-background[data-seekbar] .bar-hover[data-seekbar]{opacity:0}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar]{position:absolute;top:2px;left:0;width:20px;height:20px;opacity:1;-webkit-transition:all .1s;-webkit-transition-delay:ease-out;-moz-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] .bar-scrubber-icon[data-seekbar]{position:absolute;left:6px;top:6px;width:8px;height:8px;border-radius:10px;box-shadow:0 0 0 6px rgba(255,255,255,.2);background-color:#fff}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume]{float:right;display:inline-block;height:32px;cursor:pointer;margin:0 6px;box-sizing:border-box}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume]{float:left;bottom:0}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume]{background-color:transparent;border:0;box-sizing:content-box;width:16px;height:32px;margin-right:6px;opacity:1}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume]:hover{opacity:1}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume]:before{content:"\\e004"}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume].muted{opacity:.5}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume].muted:hover{opacity:.7}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume].muted:before{content:"\\e005"}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume]{float:left;position:relative;top:6px;width:42px;height:18px;padding:3px 0;overflow:hidden;-webkit-transition:width .2s;-webkit-transition-delay:ease-out;-moz-transition:width .2s ease-out;-o-transition:width .2s ease-out;transition:width .2s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]{float:left;width:4px;padding-left:2px;height:12px;opacity:.5;-webkit-box-shadow:inset 2px 0 0 #fff;-moz-box-shadow:inset 2px 0 0 #fff;-ms-box-shadow:inset 2px 0 0 #fff;-o-box-shadow:inset 2px 0 0 #fff;box-shadow:inset 2px 0 0 #fff;-webkit-transition:-webkit-transform .2s;-webkit-transition-delay:ease-out;-moz-transition:-moz-transform .2s ease-out;-o-transition:-o-transform .2s ease-out;transition:transform .2s ease-out}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume].fill{-webkit-box-shadow:inset 2px 0 0 #fff;-moz-box-shadow:inset 2px 0 0 #fff;-ms-box-shadow:inset 2px 0 0 #fff;-o-box-shadow:inset 2px 0 0 #fff;box-shadow:inset 2px 0 0 #fff;opacity:1}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:nth-of-type(1){padding-left:0}.media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover{-webkit-transform:scaleY(1.5);-moz-transform:scaleY(1.5);-ms-transform:scaleY(1.5);-o-transform:scaleY(1.5);transform:scaleY(1.5)}.media-control[data-media-control].w320 .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume].volume-bar-hide{height:12px;top:9px;padding:0;width:0}',seek_time:".seek-time[data-seek-time]{position:absolute;width:auto;height:20px;line-height:20px;bottom:55px;background-color:rgba(2,2,2,.5);z-index:9999;-webkit-transition:opacity .1s;-webkit-transition-delay:ease;-moz-transition:opacity .1s ease;-o-transition:opacity .1s ease;transition:opacity .1s ease}.seek-time[data-seek-time].hidden[data-seek-time]{opacity:0}.seek-time[data-seek-time] span[data-seek-time]{position:relative;color:#fff;font-size:10px;padding-left:7px;padding-right:7px}",flash:"[data-flash]{position:absolute;height:100%;width:100%;background-color:#000;display:block;pointer-events:none}",hls:"[data-hls]{position:absolute;height:100%;width:100%;background-color:#000;display:block;pointer-events:none;top:0}",html5_video:"[data-html5-video]{position:absolute;height:100%;width:100%;display:block}",no_op:"[data-no-op]{z-index:1000;position:absolute;background-color:#222;height:100%;width:100%}[data-no-op] p[data-no-op-msg]{position:relative;font-size:25px;top:50%;color:#fff}",background_button:'.background-button[data-background-button]{font-family:Player;position:absolute;height:100%;width:100%;background-color:rgba(0,0,0,.2);pointer-events:none;-webkit-transition:all .4s;-webkit-transition-delay:ease-out;-moz-transition:all .4s ease-out;-o-transition:all .4s ease-out;transition:all .4s ease-out}.background-button[data-background-button].hide{background-color:transparent}.background-button[data-background-button].hide .background-button-wrapper[data-background-button]{opacity:0}.background-button[data-background-button] .background-button-wrapper[data-background-button]{position:absolute;overflow:hidden;width:100%;height:25%;line-height:100%;font-size:25%;top:50%;text-align:center}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button]{cursor:pointer;pointer-events:auto;font-family:Player;font-weight:400;font-style:normal;line-height:1;letter-spacing:0;speak:none;color:#fff;opacity:.75;border:0;outline:0;background-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s;-webkit-transition-delay:ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;transition:all .1s ease}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button]:hover{opacity:1;text-shadow:rgba(255,255,255,.8) 0 0 15px}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button].playing:before{content:"\\e002"}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button].notplaying:before{content:"\\e001"}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button].playstop.playing:before{content:"\\e003"}.background-button[data-background-button] .background-button-wrapper[data-background-button] .background-button-icon[data-background-button].playstop.notplaying:before{content:"\\e001"}.media-control.media-control-hide[data-media-control] .background-button[data-background-button]{opacity:0}',dvr_controls:'@import url(http://fonts.googleapis.com/css?family=Roboto);.dvr-controls[data-dvr-controls]{display:inline-block;float:left;color:#fff;line-height:32px;font-size:10px;font-weight:700;margin-left:6px}.dvr-controls[data-dvr-controls] .live-info{cursor:default;font-family:Roboto,"Open Sans",Arial,sans-serif}.dvr-controls[data-dvr-controls] .live-info:before{content:"";display:inline-block;position:relative;width:7px;height:7px;border-radius:3.5px;margin-right:3.5px;background-color:#ff0101}.dvr-controls[data-dvr-controls] .live-info.disabled{opacity:.3}.dvr-controls[data-dvr-controls] .live-info.disabled:before{background-color:#fff}.dvr-controls[data-dvr-controls] .live-button{cursor:pointer;outline:0;display:none;border:0;color:#fff;background-color:transparent;height:32px;padding:0;opacity:.7;font-family:Roboto,"Open Sans",Arial,sans-serif;-webkit-transition:all .1s;-webkit-transition-delay:ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;transition:all .1s ease}.dvr-controls[data-dvr-controls] .live-button:before{content:"";display:inline-block;position:relative;width:7px;height:7px;border-radius:3.5px;margin-right:3.5px;background-color:#fff}.dvr-controls[data-dvr-controls] .live-button:hover{opacity:1;text-shadow:rgba(255,255,255,.75) 0 0 5px}.dvr .dvr-controls[data-dvr-controls] .live-info{display:none}.dvr .dvr-controls[data-dvr-controls] .live-button{display:block}.dvr.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar]{background-color:#005aff}.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar]{background-color:#ff0101}.seek-time[data-seek-time] span[data-duration]{position:relative;color:rgba(255,255,255,.5);font-size:10px;padding-right:7px}.seek-time[data-seek-time] span[data-duration]:before{content:"|";margin-right:7px}',poster:'@font-face{font-family:Player;src:url(http://cdn.clappr.io/latest/assets/Player-Regular.eot);src:url(http://cdn.clappr.io/latest/assets/Player-Regular.eot?#iefix) format("embedded-opentype"),url(http://cdn.clappr.io/latest/assets/Player-Regular.ttf) format("truetype"),url(http://cdn.clappr.io/latest/assets/Player-Regular.svg#player) format("svg")}.player-poster[data-poster]{cursor:pointer;position:absolute;height:100%;width:100%;z-index:998;top:0}.player-poster[data-poster] .poster-background[data-poster]{width:100%;height:100%}.player-poster[data-poster] .play-wrapper[data-poster]{position:absolute;width:100%;height:25%;line-height:100%;font-size:25%;top:50%;text-align:center}.player-poster[data-poster] .play-wrapper[data-poster] .poster-icon[data-poster]{font-family:Player;font-weight:400;font-style:normal;line-height:1;letter-spacing:0;speak:none;color:#fff;opacity:.75;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:opacity text-shadow;-webkit-transition-delay:.1s;-moz-transition:opacity text-shadow .1s;-o-transition:opacity text-shadow .1s;transition:opacity text-shadow .1s ease}.player-poster[data-poster] .play-wrapper[data-poster] .poster-icon[data-poster].play[data-poster]:before{content:"\\e001"}.player-poster[data-poster] .play-wrapper[data-poster] .poster-icon[data-poster]:hover{opacity:1;text-shadow:rgba(255,255,255,.8) 0 0 15px}',spinner_three_bounce:".spinner-three-bounce[data-spinner]{position:absolute;margin:0 auto;width:70px;text-align:center;z-index:10;top:47%;left:0;right:0}.spinner-three-bounce[data-spinner]>div{width:18px;height:18px;background-color:#FFF;border-radius:100%;display:inline-block;-webkit-animation:bouncedelay 1.4s infinite ease-in-out;-moz-animation:bouncedelay 1.4s infinite ease-in-out;-ms-animation:bouncedelay 1.4s infinite ease-in-out;-o-animation:bouncedelay 1.4s infinite ease-in-out;animation:bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both}.spinner-three-bounce[data-spinner] [data-bounce1],.spinner-three-bounce[data-spinner] [data-bounce2]{-webkit-animation-delay:-.32s;-moz-animation-delay:-.32s;-ms-animation-delay:-.32s;-o-animation-delay:-.32s;animation-delay:-.32s}@-moz-keyframes bouncedelay{0%,100%,80%{-moz-transform:scale(0);transform:scale(0)}40%{-moz-transform:scale(1);transform:scale(1)}}@-webkit-keyframes bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@-o-keyframes bouncedelay{0%,100%,80%{-o-transform:scale(0);transform:scale(0)}40%{-o-transform:scale(1);transform:scale(1)}}@-ms-keyframes bouncedelay{0%,100%,80%{-ms-transform:scale(0);transform:scale(0)}40%{-ms-transform:scale(1);transform:scale(1)}}@keyframes bouncedelay{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}",watermark:"[data-watermark]{position:absolute;margin:100px auto 0;width:70px;text-align:center;z-index:10}[data-watermark-bottom-left]{bottom:10px;left:10px}[data-watermark-bottom-right]{bottom:10px;right:42px}[data-watermark-top-left]{top:-95px;left:10px}[data-watermark-top-right]{top:-95px;right:37px}"}}
  }).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],8:[function(t,e){(function(n){"use strict";var i=t("jquery"),r="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,o=t("./jst"),a={getStyleFor:function(t,e){return e=e||{},i("<style></style>").html(r.template(o.CSS[t])(e))}};e.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./jst":7,jquery:void 0}],9:[function(t,e){(function(t){"use strict";var n="undefined"!=typeof window?window._:"undefined"!=typeof t?t._:null,i=function(t,e){var i,r=this;i=t&&n.has(t,"constructor")?t.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,e);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,t&&n.extend(i.prototype,t),i.__super__=r.prototype,i.super=function(t){return r.prototype[t]},i.prototype.getClass=function(){return i},i},r=function(t){t=1e3*t,t=parseInt(t/1e3);var e=t%60;t=parseInt(t/60);var n=t%60;t=parseInt(t/60);var i=t%24,r="";return i&&i>0&&(r+=("0"+i).slice(-2)+":"),r+=("0"+n).slice(-2)+":",r+=("0"+e).slice(-2),r.trim()},o={isFullscreen:function(){return document.webkitIsFullScreen||document.mozFullScreen||!!document.msFullscreenElement},requestFullscreen:function(t){t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()},cancelFullscreen:function(){document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}},a=function(t){var e=n.rest(n.compact(t.match(/t=([0-9]*)h?([0-9]*)m?([0-9]*)s/))).reverse(),i=0,r=1;return n.each(e,function(t){i+=parseInt(t)*r,r=60*r},this),i};e.exports={extend:i,formatTime:r,Fullscreen:o,seekStringToSeconds:a}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(t,e){(function(n){"use strict";var i=t("ui_object"),r=t("../../base/styler"),o="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,a=function(t){$traceurRuntime.superCall(this,s.prototype,"constructor",[t]),this.playback=t.playback,this.settings=this.playback.settings,this.isReady=!1,this.mediaControlDisabled=!1,this.plugins=[this.playback],this.bindEvents()},s=a;$traceurRuntime.createClass(a,{get name(){return"Container"},get attributes(){return{"class":"container","data-container":""}},get events(){return{click:"clicked"}},bindEvents:function(){this.listenTo(this.playback,"playback:progress",this.progress),this.listenTo(this.playback,"playback:timeupdate",this.timeUpdated),this.listenTo(this.playback,"playback:ready",this.ready),this.listenTo(this.playback,"playback:buffering",this.buffering),this.listenTo(this.playback,"playback:bufferfull",this.bufferfull),this.listenTo(this.playback,"playback:settingsupdate",this.settingsUpdate),this.listenTo(this.playback,"playback:loadedmetadata",this.loadedMetadata),this.listenTo(this.playback,"playback:highdefinitionupdate",this.highDefinitionUpdate),this.listenTo(this.playback,"playback:bitrate",this.updateBitrate),this.listenTo(this.playback,"playback:playbackstate",this.playbackStateChanged),this.listenTo(this.playback,"playback:dvr",this.playbackDvrStateChanged),this.listenTo(this.playback,"playback:mediacontrol:disable",this.disableMediaControl),this.listenTo(this.playback,"playback:mediacontrol:enable",this.enableMediaControl),this.listenTo(this.playback,"playback:ended",this.ended),this.listenTo(this.playback,"playback:play",this.playing),this.listenTo(this.playback,"playback:error",this.error)},"with":function(t){return o.extend(this,t),this},playbackStateChanged:function(){this.trigger("container:playbackstate")},playbackDvrStateChanged:function(t){this.settings=this.playback.settings,this.dvrInUse=t,this.trigger("container:dvr",t)},updateBitrate:function(t){this.trigger("container:bitrate",t)},statsReport:function(t){this.trigger("container:stats:report",t)},getPlaybackType:function(){return this.playback.getPlaybackType()},isDvrEnabled:function(){return!!this.playback.dvrEnabled},isDvrInUse:function(){return!!this.dvrInUse},destroy:function(){this.trigger("container:destroyed",this,this.name),this.playback.destroy(),o(this.plugins).each(function(t){return t.destroy()}),this.$el.remove()},setStyle:function(t){this.$el.css(t)},animate:function(t,e){return this.$el.animate(t,e).promise()},ready:function(){this.isReady=!0,this.trigger("container:ready",this.name)},isPlaying:function(){return this.playback.isPlaying()},getDuration:function(){return this.playback.getDuration()},error:function(t){this.$el.append(t.render().el),this.trigger("container:error",{error:t,container:this},this.name)},loadedMetadata:function(t){this.trigger("container:loadedmetadata",t)},timeUpdated:function(t,e){this.trigger("container:timeupdate",t,e,this.name)},progress:function(t,e,n){this.trigger("container:progress",t,e,n,this.name)},playing:function(){this.trigger("container:play",this.name)},play:function(){this.playback.play()},stop:function(){this.trigger("container:stop",this.name),this.playback.stop()},pause:function(){this.trigger("container:pause",this.name),this.playback.pause()},ended:function(){this.trigger("container:ended",this,this.name)},clicked:function(){this.trigger("container:click",this,this.name)},setCurrentTime:function(t){this.trigger("container:seek",t,this.name),this.playback.seek(t)},setVolume:function(t){this.trigger("container:volume",t,this.name),this.playback.volume(t)},fullscreen:function(){this.trigger("container:fullscreen",this.name)},buffering:function(){this.trigger("container:state:buffering",this.name)},bufferfull:function(){this.trigger("container:state:bufferfull",this.name)},addPlugin:function(t){this.plugins.push(t)},hasPlugin:function(t){return!!this.getPlugin(t)},getPlugin:function(t){return o(this.plugins).find(function(e){return e.name===t})},settingsUpdate:function(){this.settings=this.playback.settings,this.trigger("container:settingsupdate")},highDefinitionUpdate:function(){this.trigger("container:highdefinitionupdate")},isHighDefinitionInUse:function(){return this.playback.isHighDefinitionInUse()},disableMediaControl:function(){this.mediaControlDisabled=!0,this.trigger("container:mediacontrol:disable")},enableMediaControl:function(){this.mediaControlDisabled=!1,this.trigger("container:mediacontrol:enable")},render:function(){var t=r.getStyleFor("container");return this.$el.append(t),this.$el.append(this.playback.render().el),this}},{},i),e.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/styler":8,ui_object:void 0}],11:[function(t,e){"use strict";e.exports=t("./container")},{"./container":10}],12:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("base_object"),o=t("../container"),a=t("jquery"),s=function(t,e){$traceurRuntime.superCall(this,l.prototype,"constructor",[t]),this.options=t,this.loader=e},l=s;$traceurRuntime.createClass(s,{createContainers:function(){return a.Deferred(function(t){t.resolve(i.map(this.options.sources,function(t){return this.createContainer(t)},this))}.bind(this))},findPlaybackPlugin:function(t){return i.find(this.loader.playbackPlugins,function(e){return e.canPlay(t.toString())},this)},createContainer:function(t){var e=this.findPlaybackPlugin(t),n=i.extend({},this.options,{src:t,autoPlay:!!this.options.autoPlay}),r=new e(n),s=new o({playback:r}),l=a.Deferred();return l.promise(s),this.addContainerPlugins(s,t),this.listenToOnce(s,"container:ready",function(){return l.resolve(s)}),s},addContainerPlugins:function(t,e){i.each(this.loader.containerPlugins,function(n){var r=i.extend(this.options,{container:t,src:e});t.addPlugin(new n(r))},this)}},{},r),e.exports=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../container":11,base_object:void 0,jquery:void 0}],13:[function(t,e){"use strict";e.exports=t("./container_factory")},{"./container_factory":12}],14:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("jquery"),o=t("ui_object"),a=t("../container_factory"),s=t("../../base/utils").Fullscreen,l=t("../../base/styler"),c=t("media_control"),u=t("player_info"),d=t("mediator"),h=function(t){var e=this;$traceurRuntime.superCall(this,f.prototype,"constructor",[t]),u.options=t,this.options=t,this.plugins=[],this.containers=[],this.createContainers(t),document.addEventListener("fullscreenchange",function(){return e.exit()}),document.addEventListener("MSFullscreenChange",function(){return e.exit()}),document.addEventListener("mozfullscreenchange",function(){return e.exit()})},f=h;$traceurRuntime.createClass(h,{get events(){return{webkitfullscreenchange:"exit",mousemove:"showMediaControl",mouseleave:"hideMediaControl"}},get attributes(){return{"data-player":""}},createContainers:function(t){var e=this;this.defer=r.Deferred(),this.defer.promise(this),this.containerFactory=new a(t,t.loader),this.containerFactory.createContainers().then(function(t){return e.setupContainers(t)}).then(function(t){return e.resolveOnContainersReady(t)})},updateSize:function(){s.isFullscreen()?this.setFullscreen():this.setPlayerSize(),d.trigger("player:resize")},setFullscreen:function(){this.$el.addClass("fullscreen"),this.$el.removeAttr("style"),u.previousSize=u.currentSize,u.currentSize={width:r(window).width(),height:r(window).height()}},resize:function(t){var e=i.pick(t,"width","height");this.$el.css(e),u.previousSize=u.currentSize,u.currentSize=e,d.trigger("player:resize",e)},setPlayerSize:function(){this.resize(u.previousSize),this.$el.removeClass("fullscreen")},resolveOnContainersReady:function(t){var e=this;r.when.apply(r,t).done(function(){return e.defer.resolve(e)})},addPlugin:function(t){this.plugins.push(t)},hasPlugin:function(t){return!!this.getPlugin(t)},getPlugin:function(t){return i(this.plugins).find(function(e){return e.name===t})},load:function(t){var e=this;t=i.isString(t)?[t]:t,i(this.containers).each(function(t){return t.destroy()}),this.containerFactory.options=i(this.options).extend({sources:t}),this.containerFactory.createContainers().then(function(t){return e.setupContainers(t)})},destroy:function(){i(this.containers).each(function(t){return t.destroy()}),i(this.plugins).each(function(t){return t.destroy()}),this.$el.remove()},exit:function(){this.updateSize(),this.mediaControl.show()},setMediaControlContainer:function(t){this.mediaControl.setContainer(t),this.mediaControl.render()},disableMediaControl:function(){this.mediaControl.disable(),this.$el.removeClass("nocursor")},enableMediaControl:function(){this.mediaControl.enable()},removeContainer:function(t){this.stopListening(t),this.containers=i.without(this.containers,t)},appendContainer:function(t){this.listenTo(t,"container:destroyed",this.removeContainer),this.el.appendChild(t.render().el),this.containers.push(t)},prependContainer:function(t){this.listenTo(t,"container:destroyed",this.removeContainer),this.$el.append(t.render().el),this.containers.unshift(t)},setupContainers:function(t){return i.map(t,this.appendContainer,this),this.setupMediaControl(this.getCurrentContainer()),this.render(),this.$el.appendTo(this.options.parentElement),t},createContainer:function(t){var e=this.containerFactory.createContainer(t);return this.appendContainer(e),e},setupMediaControl:function(t){this.mediaControl?this.mediaControl.setContainer(t):(this.mediaControl=this.createMediaControl(i.extend({container:t},this.options)),this.listenTo(this.mediaControl,"mediacontrol:fullscreen",this.toggleFullscreen),this.listenTo(this.mediaControl,"mediacontrol:show",this.onMediaControlShow.bind(this,!0)),this.listenTo(this.mediaControl,"mediacontrol:hide",this.onMediaControlShow.bind(this,!1)))},createMediaControl:function(t){return t.mediacontrol&&t.mediacontrol.external?new t.mediacontrol.external(t):new c(t)},getCurrentContainer:function(){return this.containers[0]},toggleFullscreen:function(){s.isFullscreen()?(s.cancelFullscreen(),this.$el.removeClass("fullscreen nocursor")):(s.requestFullscreen(this.el),this.$el.addClass("fullscreen")),this.mediaControl.show()},showMediaControl:function(t){this.mediaControl.show(t)},hideMediaControl:function(t){this.mediaControl.hide(t)},onMediaControlShow:function(t){t?this.$el.removeClass("nocursor"):s.isFullscreen()&&this.$el.addClass("nocursor")},render:function(){var t=l.getStyleFor("core");return this.$el.append(t),this.$el.append(this.mediaControl.render().el),this.options.width=this.options.width||this.$el.width(),this.options.height=this.options.height||this.$el.height(),u.previousSize=u.currentSize=i.pick(this.options,"width","height"),this.updateSize(),this}},{},o),e.exports=h}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/styler":8,"../../base/utils":9,"../container_factory":13,jquery:void 0,media_control:void 0,mediator:void 0,player_info:void 0,ui_object:void 0}],15:[function(t,e){"use strict";e.exports=t("./core")},{"./core":14}],16:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("base_object"),o=t("../core"),a=function(t,e){this.player=t,this.options=t.options,this.loader=e,this.options.loader=this.loader};$traceurRuntime.createClass(a,{create:function(){return this.core=new o(this.options),this.core.then(this.addCorePlugins.bind(this)),this.core},addCorePlugins:function(){return i.each(this.loader.corePlugins,function(t){var e=new t(this.core);this.core.addPlugin(e),this.setupExternalInterface(e)},this),this.core},setupExternalInterface:function(t){i.each(t.getExternalInterface(),function(e,n){this.player[n]=e.bind(t)},this)}},{},r),e.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../core":15,base_object:void 0}],17:[function(t,e){"use strict";e.exports=t("./core_factory")},{"./core_factory":16}],18:[function(t,e){"use strict";e.exports=t("./loader")},{"./loader":19}],19:[function(t,e){(function(n){"use strict";var i=t("base_object"),r="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,o=t("player_info"),a=t("../../playbacks/html5_video"),s=t("../../playbacks/flash"),l=t("../../playbacks/html5_audio"),c=t("../../playbacks/hls"),u=t("../../playbacks/no_op"),d=t("../../plugins/spinner_three_bounce"),h=t("../../plugins/stats"),f=t("../../plugins/watermark"),p=t("../../plugins/poster"),m=t("../../plugins/google_analytics"),g=t("../../plugins/click_to_pause"),b=t("../../plugins/background_button"),y=t("../../plugins/dvr_controls"),v=function(t){$traceurRuntime.superCall(this,w.prototype,"constructor",[]),this.playbackPlugins=[s,a,l,c,u],this.containerPlugins=[d,f,p,h,m,g],this.corePlugins=[b,y],t&&this.addExternalPlugins(t)},w=v;$traceurRuntime.createClass(v,{addExternalPlugins:function(t){var e=function(t){return t.prototype.name};t.playback&&(this.playbackPlugins=r.uniq(t.playback.concat(this.playbackPlugins),e)),t.container&&(this.containerPlugins=r.uniq(t.container.concat(this.containerPlugins),e)),t.core&&(this.corePlugins=r.uniq(t.core.concat(this.corePlugins),e)),o.playbackPlugins=this.playbackPlugins},getPlugin:function(t){var e=r.union(this.containerPlugins,this.playbackPlugins,this.corePlugins);return r.find(e,function(e){return e.prototype.name===t})}},{},i),e.exports=v}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../playbacks/flash":24,"../../playbacks/hls":26,"../../playbacks/html5_audio":28,"../../playbacks/html5_video":30,"../../playbacks/no_op":31,"../../plugins/background_button":34,"../../plugins/click_to_pause":36,"../../plugins/dvr_controls":38,"../../plugins/google_analytics":40,"../../plugins/poster":43,"../../plugins/spinner_three_bounce":45,"../../plugins/stats":47,"../../plugins/watermark":49,base_object:void 0,player_info:void 0}],20:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("jquery"),o=t("../../base/jst"),a=t("../../base/styler"),s=t("ui_object"),l=t("../../base/utils"),c=t("mousetrap"),u=t("../seek_time"),d=t("mediator"),h=t("player_info"),f=function(t){var e=this;$traceurRuntime.superCall(this,p.prototype,"constructor",[t]),this.seekTime=new u(this),this.options=t,this.mute=this.options.mute,this.currentVolume=this.options.mute?0:100,this.container=t.container,this.container.setVolume(this.currentVolume),this.keepVisible=!1,this.addEventListeners(),this.settings={left:["play","stop","pause"],right:["volume"],"default":["position","seekbar","duration"]},this.settings=i.isEmpty(this.container.settings)?this.settings:this.container.settings,this.disabled=!1,(this.container.mediaControlDisabled||this.options.chromeless)&&this.disable(),r(document).bind("mouseup",function(t){return e.stopDrag(t)}),r(document).bind("mousemove",function(t){return e.updateDrag(t)}),d.on("player:resize",function(){return e.playerResize()})},p=f;$traceurRuntime.createClass(f,{get name(){return"MediaControl"},get attributes(){return{"class":"media-control","data-media-control":""}},get events(){return{"click [data-play]":"play","click [data-pause]":"pause","click [data-playpause]":"togglePlayPause","click [data-stop]":"stop","click [data-playstop]":"togglePlayStop","click [data-fullscreen]":"toggleFullscreen","click .bar-container[data-seekbar]":"seek","click .bar-container[data-volume]":"volume","click .drawer-icon[data-volume]":"toggleMute","mouseenter .drawer-container[data-volume]":"showVolumeBar","mouseleave .drawer-container[data-volume]":"hideVolumeBar","mousedown .bar-scrubber[data-volume]":"startVolumeDrag","mousedown .bar-scrubber[data-seekbar]":"startSeekDrag","mousemove .bar-container[data-seekbar]":"mousemoveOnSeekBar","mouseleave .bar-container[data-seekbar]":"mouseleaveOnSeekBar","mouseenter .media-control-layer[data-controls]":"setKeepVisible","mouseleave .media-control-layer[data-controls]":"resetKeepVisible"}},get template(){return o.media_control},addEventListeners:function(){this.listenTo(this.container,"container:play",this.changeTogglePlay),this.listenTo(this.container,"container:timeupdate",this.updateSeekBar),this.listenTo(this.container,"container:progress",this.updateProgressBar),this.listenTo(this.container,"container:settingsupdate",this.settingsUpdate),this.listenTo(this.container,"container:dvr",this.settingsUpdate),this.listenTo(this.container,"container:highdefinitionupdate",this.highDefinitionUpdate),this.listenTo(this.container,"container:mediacontrol:disable",this.disable),this.listenTo(this.container,"container:mediacontrol:enable",this.enable),this.listenTo(this.container,"container:ended",this.ended)},disable:function(){this.disabled=!0,this.hide(),this.$el.hide()},enable:function(){this.options.chromeless||(this.disabled=!1,this.show())},play:function(){this.container.play()},pause:function(){this.container.pause()},stop:function(){this.container.stop()},changeTogglePlay:function(){this.container.isPlaying()?(this.$playPauseToggle.removeClass("paused").addClass("playing"),this.$playStopToggle.removeClass("stopped").addClass("playing"),this.trigger("mediacontrol:playing")):(this.$playPauseToggle.removeClass("playing").addClass("paused"),this.$playStopToggle.removeClass("playing").addClass("stopped"),this.trigger("mediacontrol:notplaying"))},mousemoveOnSeekBar:function(t){if(this.container.settings.seekEnabled){var e=t.pageX-this.$seekBarContainer.offset().left-this.$seekBarHover.width()/2;this.$seekBarHover.css({left:e})}this.trigger("mediacontrol:mousemove:seekbar",t)},mouseleaveOnSeekBar:function(t){this.trigger("mediacontrol:mouseleave:seekbar",t)},playerResize:function(){l.Fullscreen.isFullscreen()?this.$fullscreenToggle.addClass("shrink"):this.$fullscreenToggle.removeClass("shrink"),this.$el.removeClass("w320"),h.currentSize.width<=320&&this.$el.addClass("w320")},togglePlayPause:function(){this.container.isPlaying()?this.container.pause():this.container.play(),this.changeTogglePlay()},togglePlayStop:function(){this.container.isPlaying()?this.container.stop():this.container.play(),this.changeTogglePlay()},startSeekDrag:function(t){this.container.settings.seekEnabled&&(this.draggingSeekBar=!0,this.$el.addClass("dragging"),this.$seekBarLoaded.addClass("media-control-notransition"),this.$seekBarPosition.addClass("media-control-notransition"),this.$seekBarScrubber.addClass("media-control-notransition"),t&&t.preventDefault())},startVolumeDrag:function(t){this.draggingVolumeBar=!0,this.$el.addClass("dragging"),t&&t.preventDefault()},stopDrag:function(t){this.draggingSeekBar&&this.seek(t),this.$el.removeClass("dragging"),this.$seekBarLoaded.removeClass("media-control-notransition"),this.$seekBarPosition.removeClass("media-control-notransition"),this.$seekBarScrubber.removeClass("media-control-notransition dragging"),this.draggingSeekBar=!1,this.draggingVolumeBar=!1},updateDrag:function(t){if(t&&t.preventDefault(),this.draggingSeekBar){var e=t.pageX-this.$seekBarContainer.offset().left,n=e/this.$seekBarContainer.width()*100;n=Math.min(100,Math.max(n,0)),this.setSeekPercentage(n)}else this.draggingVolumeBar&&this.volume(t)},volume:function(t){var e=t.pageX-this.$volumeBarContainer.offset().left;this.currentVolume=e/this.$volumeBarContainer.width()*100,this.currentVolume=Math.min(100,Math.max(this.currentVolume,0)),this.container.setVolume(this.currentVolume),this.setVolumeLevel(this.currentVolume)},toggleMute:function(){this.mute?(this.currentVolume<=0&&(this.currentVolume=100),this.setVolume(this.currentVolume)):this.setVolume(0)},setVolume:function(t){this.container.setVolume(t),this.setVolumeLevel(t),this.mute=0===t?!0:!1},toggleFullscreen:function(){this.trigger("mediacontrol:fullscreen",this.name),this.container.fullscreen(),this.resetKeepVisible()},setContainer:function(t){this.stopListening(this.container),this.container=t,this.changeTogglePlay(),this.addEventListeners(),this.settingsUpdate(),this.container.trigger("container:dvr",this.container.isDvrInUse()),this.container.setVolume(this.currentVolume),this.container.mediaControlDisabled&&this.disable(),this.trigger("mediacontrol:containerchanged")},showVolumeBar:function(){this.hideVolumeId&&clearTimeout(this.hideVolumeId),this.$volumeBarContainer.removeClass("volume-bar-hide")},hideVolumeBar:function(){var t=this,e=400;this.$volumeBarContainer&&(this.draggingVolumeBar?this.hideVolumeId=setTimeout(function(){return t.hideVolumeBar()},e):(this.hideVolumeId&&clearTimeout(this.hideVolumeId),this.hideVolumeId=setTimeout(function(){return t.$volumeBarContainer.addClass("volume-bar-hide")},e)))},ended:function(){this.changeTogglePlay()},updateProgressBar:function(t,e,n){var i=t/n*100,r=e/n*100;this.$seekBarLoaded.css({left:i+"%",width:r-i+"%"})},updateSeekBar:function(t,e){if(!this.draggingSeekBar){0>t&&(t=e),this.$seekBarPosition.removeClass("media-control-notransition"),this.$seekBarScrubber.removeClass("media-control-notransition");var n=100/e*t;this.setSeekPercentage(n),this.$("[data-position]").html(l.formatTime(t)),this.$("[data-duration]").html(l.formatTime(e))}},seek:function(t){if(this.container.settings.seekEnabled){var e=t.pageX-this.$seekBarContainer.offset().left,n=e/this.$seekBarContainer.width()*100;return n=Math.min(100,Math.max(n,0)),this.container.setCurrentTime(n),this.setSeekPercentage(n),!1}},setKeepVisible:function(){this.keepVisible=!0},resetKeepVisible:function(){this.keepVisible=!1},isVisible:function(){return!this.$el.hasClass("media-control-hide")},show:function(t){var e=this;if(!this.disabled&&!this.isVisible()&&null!==this.container.getPlaybackType()){var n=2e3;(!t||t.clientX!==this.lastMouseX&&t.clientY!==this.lastMouseY||navigator.userAgent.match(/firefox/i))&&(this.hideId&&clearTimeout(this.hideId),this.$el.show(),this.trigger("mediacontrol:show",this.name),this.$el.removeClass("media-control-hide"),this.hideId=setTimeout(function(){return e.hide()},n),t&&(this.lastMouseX=t.clientX,this.lastMouseY=t.clientY))}},hide:function(){var t=this,e=2e3;this.hideId&&clearTimeout(this.hideId),this.isVisible()&&(this.keepVisible||this.draggingSeekBar||this.draggingVolumeBar?this.hideId=setTimeout(function(){return t.hide()},e):(this.trigger("mediacontrol:hide",this.name),this.$el.addClass("media-control-hide"),this.hideVolumeBar()))},settingsUpdate:function(){null===this.container.getPlaybackType()||i.isEmpty(this.container.settings)?this.disable():(this.settings=this.container.settings,this.render(),this.enable())},highDefinitionUpdate:function(){this.container.isHighDefinitionInUse()?this.$el.find("button[data-hd-indicator]").addClass("enabled"):this.$el.find("button[data-hd-indicator]").removeClass("enabled")},createCachedElements:function(){this.$playPauseToggle=this.$el.find("button.media-control-button[data-playpause]"),this.$playStopToggle=this.$el.find("button.media-control-button[data-playstop]"),this.$fullscreenToggle=this.$el.find("button.media-control-button[data-fullscreen]"),this.$seekBarContainer=this.$el.find(".bar-container[data-seekbar]"),this.$seekBarLoaded=this.$el.find(".bar-fill-1[data-seekbar]"),this.$seekBarPosition=this.$el.find(".bar-fill-2[data-seekbar]"),this.$seekBarScrubber=this.$el.find(".bar-scrubber[data-seekbar]"),this.$seekBarHover=this.$el.find(".bar-hover[data-seekbar]"),this.$volumeBarContainer=this.$el.find(".bar-container[data-volume]"),this.$volumeIcon=this.$el.find(".drawer-icon[data-volume]")},setVolumeLevel:function(t){var e=this;if(this.container.isReady){this.$volumeBarContainer.find(".segmented-bar-element").removeClass("fill");var n=Math.ceil(t/10);this.$volumeBarContainer.find(".segmented-bar-element").slice(0,n).addClass("fill"),t>0?this.$volumeIcon.removeClass("muted"):this.$volumeIcon.addClass("muted")}else this.listenToOnce(this.container,"container:ready",function(){return e.setVolumeLevel(t)})},setSeekPercentage:function(t){if(!(t>100)){var e=this.$seekBarContainer.width()*t/100-this.$seekBarScrubber.width()/2;this.currentSeekPercentage=t,this.$seekBarPosition.css({width:t+"%"}),this.$seekBarScrubber.css({left:e})}},bindKeyEvents:function(){var t=this;c.bind(["space"],function(){return t.togglePlayPause()})},parseColors:function(){if(this.options.mediacontrol){var t=this.options.mediacontrol.buttons,e=this.options.mediacontrol.seekbar;this.$el.find(".bar-fill-2[data-seekbar]").css("background-color",e),this.$el.find("[data-media-control] > .media-control-icon, .drawer-icon").css("color",t),this.$el.find(".segmented-bar-element[data-volume]").css("boxShadow","inset 2px 0 0 "+t)}},render:function(){var t=this,e=1e3,n=a.getStyleFor("media_control");return this.$el.html(this.template({settings:this.settings})),this.$el.append(n),this.createCachedElements(),this.$playPauseToggle.addClass("paused"),this.$playStopToggle.addClass("stopped"),this.changeTogglePlay(),this.hideId=setTimeout(function(){return t.hide()},e),this.disabled&&this.hide(),this.$seekBarPosition.addClass("media-control-notransition"),this.$seekBarScrubber.addClass("media-control-notransition"),this.currentSeekPercentage||(this.currentSeekPercentage=0),this.setSeekPercentage(this.currentSeekPercentage),this.$el.ready(function(){t.container.settings.seekEnabled||t.$seekBarContainer.addClass("seek-disabled"),t.setVolumeLevel(t.currentVolume),t.bindKeyEvents(),t.hideVolumeBar()}),this.parseColors(),this.seekTime.render(),this.trigger("mediacontrol:rendered"),this}},{},s),e.exports=f}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/jst":7,"../../base/styler":8,"../../base/utils":9,"../seek_time":21,jquery:void 0,mediator:void 0,mousetrap:4,player_info:void 0,ui_object:void 0}],21:[function(t,e){"use strict";e.exports=t("./seek_time")},{"./seek_time":22}],22:[function(t,e){"use strict";var n=t("ui_object"),i=t("../../base/styler"),r=t("../../base/jst"),o=t("../../base/utils").formatTime,a=function(t){$traceurRuntime.superCall(this,s.prototype,"constructor",[]),this.mediaControl=t,this.addEventListeners()},s=a;$traceurRuntime.createClass(a,{get name(){return"seek_time"},get template(){return r.seek_time},get attributes(){return{"class":"seek-time hidden","data-seek-time":""}},addEventListeners:function(){this.listenTo(this.mediaControl,"mediacontrol:mousemove:seekbar",this.showTime),this.listenTo(this.mediaControl,"mediacontrol:mouseleave:seekbar",this.hideTime)},showTime:function(t){var e=t.pageX-this.mediaControl.$seekBarContainer.offset().left,n=Math.min(100,Math.max(e/this.mediaControl.$seekBarContainer.width()*100,0)),i=t.pageX-this.mediaControl.$el.offset().left-this.$el.width()/2;i=Math.min(Math.max(0,i),this.mediaControl.$el.width()-this.$el.width());var r=n*this.mediaControl.container.getDuration()/100,a={timestamp:r,formattedTime:o(r),pointerPosition:i};this.update(a)},hideTime:function(){this.$el.addClass("hidden"),this.$el.css("left","-100%")},update:function(t){("vod"===this.mediaControl.container.getPlaybackType()||this.mediaControl.container.isDvrInUse())&&(this.$el.find("[data-seek-time]").text(t.formattedTime),this.$el.css("left",t.pointerPosition),this.$el.removeClass("hidden"))},render:function(){var t=i.getStyleFor(this.name);this.$el.html(this.template()),this.$el.append(t),this.mediaControl.$el.append(this.el)}},{},n),e.exports=a},{"../../base/jst":7,"../../base/styler":8,"../../base/utils":9,ui_object:void 0}],23:[function(t,e){(function(n){"use strict";var i=t("playback"),r=t("../../base/styler"),o=t("../../base/jst"),a=t("mediator"),s="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,l=t("jquery"),c=t("browser"),u=t("mousetrap"),d=t("../../base/utils").seekStringToSeconds,h='<object type="application/x-shockwave-flash" id="<%= cid %>" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data-flash-vod=""><param name="movie" value="<%= swfPath %>"> <param name="quality" value="autohigh"> <param name="swliveconnect" value="true"> <param name="allowScriptAccess" value="always"> <param name="bgcolor" value="#001122"> <param name="allowFullScreen" value="false"> <param name="wmode" value="gpu"> <param name="tabindex" value="1"> <param name=FlashVars value="playbackId=<%= playbackId %>" /> </object>',f=function(t){$traceurRuntime.superCall(this,p.prototype,"constructor",[t]),this.src=t.src,this.isRTMP=this.src.indexOf("rtmp")>-1,this.swfPath=t.swfPath||"http://cdn.clappr.io/latest/assets/Player.swf",this.autoPlay=t.autoPlay,this.settings={"default":["seekbar"]},this.isRTMP?(this.settings.left=["playstop"],this.settings.right=["fullscreen","volume"]):(this.settings.left=["playpause","position","duration"],this.settings.right=["fullscreen","volume"],this.settings.seekEnabled=!0),this.isReady=!1,this.addListeners()},p=f;$traceurRuntime.createClass(f,{get name(){return"flash"},get tagName(){return"object"},get template(){return o.flash},bootstrap:function(){this.el.width="100%",this.el.height="100%",this.isReady=!0,"PLAYING"===this.currentState?this.firstPlay():(this.currentState="IDLE",this.autoPlay&&this.play()),l('<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%" />').insertAfter(this.$el),this.trigger("playback:ready",this.name)},getPlaybackType:function(){return this.isRTMP?"live":"vod"},setupFirefox:function(){var t=this.$("embed");t.attr("data-flash",""),this.setElement(t[0])},isHighDefinitionInUse:function(){return!1},updateTime:function(){this.trigger("playback:timeupdate",this.el.getPosition(),this.el.getDuration(),this.name)},addListeners:function(){a.on(this.uniqueId+":progress",this.progress,this),a.on(this.uniqueId+":timeupdate",this.updateTime,this),a.on(this.uniqueId+":statechanged",this.checkState,this),a.on(this.uniqueId+":flashready",this.bootstrap,this),s.each(s.range(1,10),function(t){var e=this;
  u.bind([t.toString()],function(){return e.seek(10*t)})}.bind(this))},stopListening:function(){$traceurRuntime.superCall(this,p.prototype,"stopListening",[]),a.off(this.uniqueId+":progress"),a.off(this.uniqueId+":timeupdate"),a.off(this.uniqueId+":statechanged"),a.off(this.uniqueId+":flashready"),s.each(s.range(1,10),function(t){var e=this;u.unbind([t.toString()],function(){return e.seek(10*t)})}.bind(this))},checkState:function(){"PAUSED"!==this.currentState&&("PLAYING_BUFFERING"!==this.currentState&&"PLAYING_BUFFERING"===this.el.getState()?(this.trigger("playback:buffering",this.name),this.currentState="PLAYING_BUFFERING"):"PLAYING_BUFFERING"===this.currentState&&"PLAYING"===this.el.getState()?(this.trigger("playback:bufferfull",this.name),this.currentState="PLAYING"):"IDLE"===this.el.getState()?this.currentState="IDLE":"ENDED"===this.el.getState()&&(this.trigger("playback:ended",this.name),this.trigger("playback:timeupdate",0,this.el.getDuration(),this.name),this.currentState="ENDED"))},progress:function(){"IDLE"!==this.currentState&&"ENDED"!==this.currentState&&this.trigger("playback:progress",0,this.el.getBytesLoaded(),this.el.getBytesTotal(),this.name)},firstPlay:function(){var t=this;this.currentState="PLAYING",s.isFunction(this.el.playerPlay)&&(this.el.playerPlay(this.src),this.listenToOnce(this,"playback:bufferfull",function(){return t.checkInitialSeek()}))},checkInitialSeek:function(){var t=d(window.location.href);this.seekSeconds(t)},play:function(){"PAUSED"===this.el.getState()||"PLAYING_BUFFERING"===this.el.getState()?(this.currentState="PLAYING",this.el.playerResume()):"PLAYING"!==this.el.getState()&&this.firstPlay(),this.trigger("playback:play",this.name)},volume:function(t){var e=this;this.isReady?this.el.playerVolume(t):this.listenToOnce(this,"playback:bufferfull",function(){return e.volume(t)})},pause:function(){this.currentState="PAUSED",this.el.playerPause()},stop:function(){this.el.playerStop(),this.trigger("playback:timeupdate",0,this.name)},isPlaying:function(){return!(!this.isReady||"PLAYING"!==this.currentState)},getDuration:function(){return this.el.getDuration()},seek:function(t){var e=this.el.getDuration()*(t/100);this.seekSeconds(e)},seekSeconds:function(t){this.el.playerSeek(t),this.trigger("playback:timeupdate",t,this.el.getDuration(),this.name),"PAUSED"===this.currentState&&this.el.playerPause()},destroy:function(){clearInterval(this.bootstrapId),this.stopListening(),this.$el.remove()},setupIE:function(){this.setElement(l(s.template(h)({cid:this.cid,swfPath:this.swfPath,playbackId:this.uniqueId})))},render:function(){var t=r.getStyleFor(this.name);return this.$el.html(this.template({cid:this.cid,swfPath:this.swfPath,playbackId:this.uniqueId})),c.isFirefox?this.setupFirefox():c.isLegacyIE&&this.setupIE(),this.$el.append(t),this}},{},i),f.canPlay=function(t){return t.indexOf("rtmp")>-1?!0:!c.isMobile&&c.isFirefox||c.isLegacyIE?s.isString(t)&&!!t.match(/(.*)\.(mp4|mov|f4v|3gpp|3gp)/):s.isString(t)&&!!t.match(/(.*)\.(mov|f4v|3gpp|3gp)/)},e.exports=f}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/jst":7,"../../base/styler":8,"../../base/utils":9,browser:void 0,jquery:void 0,mediator:void 0,mousetrap:4,playback:void 0}],24:[function(t,e){"use strict";e.exports=t("./flash")},{"./flash":23}],25:[function(t,e){(function(n){"use strict";var i=t("playback"),r=t("../../base/styler"),o=t("../../base/jst"),a="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,s=t("mediator"),l=t("browser"),c='<object type="application/x-shockwave-flash" id="<%= cid %>" class="hls-playback" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data-hls="" width="100%" height="100%"><param name="movie" value="<%= swfPath %>"> <param name="quality" value="autohigh"> <param name="swliveconnect" value="true"> <param name="allowScriptAccess" value="always"> <param name="bgcolor" value="#001122"> <param name="allowFullScreen" value="false"> <param name="wmode" value="transparent"> <param name="tabindex" value="1"> <param name=FlashVars value="playbackId=<%= playbackId %>" /> </object>',u=function(t){$traceurRuntime.superCall(this,d.prototype,"constructor",[t]),this.src=t.src,this.swfPath=t.swfPath||"http://cdn.clappr.io/latest/assets/HLSPlayer.swf",this.flushLiveURLCache=void 0===t.flushLiveURLCache?!0:t.flushLiveURLCache,this.capLevelToStage=void 0===t.capLevelToStage?!1:t.capLevelToStage,this.highDefinition=!1,this.autoPlay=t.autoPlay,this.defaultSettings={left:["playstop"],"default":["seekbar"],right:["fullscreen","volume","hd-indicator"],seekEnabled:!1},this.settings=a.extend({},this.defaultSettings),this.playbackType="live",this.addListeners()},d=u;$traceurRuntime.createClass(u,{get name(){return"hls"},get tagName(){return"object"},get template(){return o.hls},get attributes(){return{"class":"hls-playback","data-hls":"",type:"application/x-shockwave-flash"}},addListeners:function(){var t=this;s.on(this.uniqueId+":flashready",function(){return t.bootstrap()}),s.on(this.uniqueId+":timeupdate",function(){return t.updateTime()}),s.on(this.uniqueId+":playbackstate",function(e){return t.setPlaybackState(e)}),s.on(this.uniqueId+":highdefinition",function(e){return t.updateHighDefinition(e)}),s.on(this.uniqueId+":playbackerror",function(){return t.flashPlaybackError()})},stopListening:function(){$traceurRuntime.superCall(this,d.prototype,"stopListening",[]),s.off(this.uniqueId+":flashready"),s.off(this.uniqueId+":timeupdate"),s.off(this.uniqueId+":playbackstate"),s.off(this.uniqueId+":highdefinition"),s.off(this.uniqueId+":playbackerror")},bootstrap:function(){this.el.width="100%",this.el.height="100%",this.isReady=!0,this.trigger("playback:ready",this.name),this.currentState="IDLE",this.setFlashSettings(),this.autoPlay&&this.play()},setFlashSettings:function(){this.el.globoPlayerSetflushLiveURLCache(this.flushLiveURLCache),this.el.globoPlayerCapLeveltoStage(this.capLevelToStage),this.el.globoPlayerSetmaxBufferLength(0)},updateHighDefinition:function(t){this.highDefinition="true"===t,this.trigger("playback:highdefinitionupdate"),this.trigger("playback:bitrate",{bitrate:this.getCurrentBitrate()})},updateTime:function(){var t=this.getDuration(),e=Math.min(Math.max(this.el.globoGetPosition(),0),t),n=this.dvrEnabled,i="live"===this.playbackType;this.dvrEnabled=i&&t>240,100!==t&&void 0!==i&&(this.dvrEnabled!==n&&(this.updateSettings(),this.trigger("playback:settingsupdate",this.name)),!i||this.dvrEnabled&&this.dvrInUse||(e=t),this.trigger("playback:timeupdate",e,t,this.name))},play:function(){"PAUSED"===this.currentState?this.el.globoPlayerResume():"PLAYING"!==this.currentState&&this.firstPlay(),this.trigger("playback:play",this.name)},getPlaybackType:function(){return this.playbackType?this.playbackType:null},getCurrentBitrate:function(){var t=this.getLevels()[this.el.globoGetLevel()];return t.bitrate},getLastProgramDate:function(){var t=this.el.globoGetLastProgramDate();return t-108e5},isHighDefinitionInUse:function(){return this.highDefinition},getLevels:function(){return this.levels&&0!==this.levels.length||(this.levels=this.el.globoGetLevels()),this.levels},setPlaybackState:function(t){var e=this.el.globoGetbufferLength();"PLAYING_BUFFERING"===t&&1>e?(this.trigger("playback:buffering",this.name),this.updateCurrentState(t)):"PLAYING"===t?a.contains(["PLAYING_BUFFERING","PAUSED","IDLE"],this.currentState)&&(this.trigger("playback:bufferfull",this.name),this.updateCurrentState(t)):"PAUSED"===t?this.updateCurrentState(t):"IDLE"===t&&(this.trigger("playback:ended",this.name),this.trigger("playback:timeupdate",0,this.el.globoGetDuration(),this.name),this.updateCurrentState(t)),this.lastBufferLength=e},updateCurrentState:function(t){this.currentState=t,this.updatePlaybackType()},updatePlaybackType:function(){this.playbackType=this.el.globoGetType(),this.playbackType&&(this.playbackType=this.playbackType.toLowerCase(),"vod"===this.playbackType?this.startReportingProgress():this.stopReportingProgress()),this.trigger("playback:playbackstate")},startReportingProgress:function(){var t=this;this.reportingProgress||(this.reportingProgress=!0,s.on(this.uniqueId+":fragmentloaded",function(){return t.onFragmentLoaded()}))},stopReportingProgress:function(){s.off(this.uniqueId+":fragmentloaded")},onFragmentLoaded:function(){var t=this.el.globoGetPosition()+this.el.globoGetbufferLength();this.trigger("playback:progress",this.el.globoGetPosition(),t,this.getDuration(),this.name)},firstPlay:function(){this.el.globoPlayerLoad(this.src),this.el.globoPlayerPlay()},volume:function(t){var e=this;this.isReady?this.el.globoPlayerVolume(t):this.listenToOnce(this,"playback:bufferfull",function(){return e.volume(t)})},pause:function(){("live"!==this.playbackType||this.dvrEnabled)&&(this.el.globoPlayerPause(),"live"===this.playbackType&&this.dvrEnabled&&this.updateDvr(!0))},stop:function(){this.el.globoPlayerStop(),this.trigger("playback:timeupdate",0,this.name)},isPlaying:function(){return this.currentState?!!this.currentState.match(/playing/i):!1},getDuration:function(){var t=this.el.globoGetDuration();return"live"===this.playbackType&&(t-=10),t},seek:function(t){var e=this.getDuration();if(t>0&&(t=e*t/100),"live"===this.playbackType){var n=t>=0&&e-t>5;n||(t=-1),this.updateDvr(n)}this.el.globoPlayerSeek(t),this.trigger("playback:timeupdate",t,e,this.name)},updateDvr:function(t){var e=!!this.dvrInUse;this.dvrInUse=t,this.dvrInUse!==e&&(this.updateSettings(),this.trigger("playback:dvr",this.dvrInUse),this.trigger("playback:stats:add",{dvr:this.dvrInUse}))},flashPlaybackError:function(){this.trigger("playback:stop")},timeUpdate:function(t,e){this.trigger("playback:timeupdate",t,e,this.name)},destroy:function(){this.stopListening(),this.$el.remove()},setupFirefox:function(){var t=this.$("embed");t.attr("data-hls",""),this.setElement(t)},setupIE:function(){this.setElement($(a.template(c)({cid:this.cid,swfPath:this.swfPath,playbackId:this.uniqueId})))},updateSettings:function(){this.settings=a.extend({},this.defaultSettings),"vod"===this.playbackType||this.dvrInUse?(this.settings.left=["playpause","position","duration"],this.settings.seekEnabled=!0):this.dvrEnabled?(this.settings.left=["playpause"],this.settings.seekEnabled=!0):this.settings.seekEnabled=!1},setElement:function(t){this.$el=t,this.el=t[0]},render:function(){var t=r.getStyleFor(this.name);return l.isLegacyIE?this.setupIE():(this.$el.html(this.template({cid:this.cid,swfPath:this.swfPath,playbackId:this.uniqueId})),l.isFirefox?this.setupFirefox():l.isIE&&this.$("embed").remove()),this.el.id=this.cid,this.$el.append(t),this}},{},i),u.canPlay=function(t){return!!t.match(/^http(.*).m3u8?/)},e.exports=u}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/jst":7,"../../base/styler":8,browser:void 0,mediator:void 0,playback:void 0}],26:[function(t,e){"use strict";e.exports=t("./hls")},{"./hls":25}],27:[function(t,e){"use strict";var n=t("playback"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.el.src=t.src,this.settings={left:["playpause","position","duration"],right:["fullscreen","volume"],"default":["seekbar"]},this.render(),t.autoPlay&&this.play()},r=i;$traceurRuntime.createClass(i,{get name(){return"html5_audio"},get tagName(){return"audio"},get events(){return{timeupdate:"timeUpdated",ended:"ended"}},bindEvents:function(){this.listenTo(this.container,"container:play",this.play),this.listenTo(this.container,"container:pause",this.pause),this.listenTo(this.container,"container:seek",this.seek),this.listenTo(this.container,"container:volume",this.volume),this.listenTo(this.container,"container:stop",this.stop)},getPlaybackType:function(){return"aod"},play:function(){this.el.play(),this.trigger("playback:play")},pause:function(){this.el.pause()},stop:function(){this.pause(),this.el.currentTime=0},volume:function(t){this.el.volume=t/100},mute:function(){this.el.volume=0},unmute:function(){this.el.volume=1},isMuted:function(){return!!this.el.volume},ended:function(){this.trigger("container:timeupdate",0)},seek:function(t){var e=this.el.duration*(t/100);this.el.currentTime=e},getCurrentTime:function(){return this.el.currentTime},getDuration:function(){return this.el.duration},isPlaying:function(){return!this.el.paused&&!this.el.ended},timeUpdated:function(){this.trigger("playback:timeupdate",this.el.currentTime,this.el.duration,this.name)},render:function(){return this}},{},n),i.canPlay=function(t){return!!t.match(/(.*).mp3/)},e.exports=i},{playback:void 0}],28:[function(t,e){"use strict";e.exports=t("./html5_audio")},{"./html5_audio":27}],29:[function(t,e){(function(n,i){"use strict";var r=t("playback"),o=t("../../base/jst"),a=t("../../base/styler"),s=t("browser"),l=t("mousetrap"),c=t("../../base/utils").seekStringToSeconds,u="undefined"!=typeof window?window._:"undefined"!=typeof i?i._:null,d=function(t){$traceurRuntime.superCall(this,h.prototype,"constructor",[t]),this.options=t,this.src=t.src,this.el.src=t.src,this.el.loop=t.loop,this.isHLS=this.src.indexOf("m3u8")>-1,this.settings={"default":["seekbar"]},this.isHLS?(this.settings.left=["playstop"],this.settings.right=["fullscreen","volume"]):(this.settings.left=["playpause","position","duration"],this.settings.right=["fullscreen","volume"],this.settings.seekEnabled=!0),this.bindEvents()},h=d;$traceurRuntime.createClass(d,{get name(){return"html5_video"},get tagName(){return"video"},get template(){return o.html5_video},get attributes(){return{"data-html5-video":""}},get events(){return{timeupdate:"timeUpdated",progress:"progress",ended:"ended",playing:"playing",stalled:"stalled",waiting:"waiting",canplaythrough:"bufferFull",loadedmetadata:"loadedMetadata"}},bindEvents:function(){u.each(u.range(1,10),function(t){var e=this;l.bind([t.toString()],function(){return e.seek(10*t)})}.bind(this))},loadedMetadata:function(t){this.trigger("playback:loadedmetadata",t.target.duration),this.trigger("playback:settingsupdate"),this.checkInitialSeek()},getPlaybackType:function(){return this.isHLS&&u.contains([0,void 0,1/0],this.el.duration)?"live":"vod"},isHighDefinitionInUse:function(){return!1},play:function(){this.el.play(),this.trigger("playback:play"),this.isHLS&&this.trigger("playback:timeupdate",1,1,this.name)},pause:function(){this.el.pause()},stop:function(){this.pause(),0!==this.el.readyState&&(this.el.currentTime=0)},volume:function(t){this.el.volume=t/100},mute:function(){this.el.volume=0},unmute:function(){this.el.volume=1},isMuted:function(){return!!this.el.volume},isPlaying:function(){return!this.el.paused&&!this.el.ended},ended:function(){this.trigger("playback:ended",this.name),this.trigger("playback:timeupdate",0,this.el.duration,this.name)},stalled:function(){"vod"===this.getPlaybackType()&&this.trigger("playback:buffering",this.name)},waiting:function(){this.trigger("playback:buffering",this.name)},bufferFull:function(){this.trigger("playback:bufferfull",this.name)},destroy:function(){this.stop(),this.el.src="",this.$el.remove()},seek:function(t){var e=this.el.duration*(t/100);this.seekSeconds(e)},seekSeconds:function(t){this.el.currentTime=t},checkInitialSeek:function(){var t=c(window.location.href);this.seekSeconds(t)},getCurrentTime:function(){return this.el.currentTime},getDuration:function(){return this.el.duration},timeUpdated:function(){"live"!==this.getPlaybackType()&&this.trigger("playback:timeupdate",this.el.currentTime,this.el.duration,this.name)},progress:function(){if(this.el.buffered.length){for(var t=0,e=0;e<this.el.buffered.length;e++)if(this.el.currentTime>=this.el.buffered.start(e)&&this.el.currentTime<=this.el.buffered.end(e)){t=e;break}this.trigger("playback:progress",this.el.buffered.start(t),this.el.buffered.end(t),this.el.duration,this.name)}},typeFor:function(t){return t.indexOf(".m3u8")>0?"application/vnd.apple.mpegurl":"video/mp4"},render:function(){var t=this,e=a.getStyleFor(this.name);return this.$el.html(this.template({src:this.src,type:this.typeFor(this.src)})),this.$el.append(e),this.trigger("playback:ready",this.name),n.nextTick(function(){return t.options.autoPlay&&t.play()}),this}},{},r),d.canPlay=function(t){return!!t.match(/(.*).mp4/)||s.isSafari||s.isMobile||s.isWin8App},e.exports=d}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/jst":7,"../../base/styler":8,"../../base/utils":9,_process:2,browser:void 0,mousetrap:4,playback:void 0}],30:[function(t,e){"use strict";e.exports=t("./html5_video")},{"./html5_video":29}],31:[function(t,e){"use strict";e.exports=t("./no_op")},{"./no_op":32}],32:[function(t,e){"use strict";var n=t("playback"),i=t("../../base/jst"),r=t("../../base/styler"),o=function(t){$traceurRuntime.superCall(this,a.prototype,"constructor",[t])},a=o;$traceurRuntime.createClass(o,{get name(){return"no_op"},get template(){return i.no_op},get attributes(){return{"data-no-op":""}},render:function(){var t=r.getStyleFor(this.name);return this.$el.html(this.template()),this.$el.append(t),this}},{},n),o.canPlay=function(){return!0},e.exports=o},{"../../base/jst":7,"../../base/styler":8,playback:void 0}],33:[function(t,e){(function(n){"use strict";var i=t("ui_core_plugin"),r=t("../../base/jst"),o=t("../../base/styler"),a=t("browser"),s=t("mediator"),l=t("player_info"),c=function(t){$traceurRuntime.superCall(this,u.prototype,"constructor",[t]),this.core=t,this.settingsUpdate()},u=c;$traceurRuntime.createClass(c,{get template(){return r.background_button},get name(){return"background_button"},get attributes(){return{"class":"background-button","data-background-button":""}},get events(){return{"click .background-button-icon":"click"}},bindEvents:function(){this.listenTo(this.core.mediaControl.container,"container:state:buffering",this.hide),this.listenTo(this.core.mediaControl.container,"container:state:bufferfull",this.show),this.listenTo(this.core.mediaControl,"mediacontrol:rendered",this.settingsUpdate),this.listenTo(this.core.mediaControl,"mediacontrol:show",this.updateSize),this.listenTo(this.core.mediaControl,"mediacontrol:playing",this.playing),this.listenTo(this.core.mediaControl,"mediacontrol:notplaying",this.notplaying),s.on("player:resize",this.updateSize,this)},stopListening:function(){$traceurRuntime.superCall(this,u.prototype,"stopListening",[]),s.off("player:resize",this.updateSize,this)},settingsUpdate:function(){this.stopListening(),this.shouldRender()?(this.render(),this.bindEvents(),this.core.mediaControl.container.isPlaying()?this.playing():this.notplaying()):(this.$el.remove(),this.$playPauseButton.show(),this.$playStopButton.show(),this.listenTo(this.core.mediaControl.container,"container:settingsupdate",this.settingsUpdate),this.listenTo(this.core.mediaControl.container,"container:dvr",this.settingsUpdate),this.listenTo(this.core.mediaControl,"mediacontrol:containerchanged",this.settingsUpdate))},shouldRender:function(){var t=void 0===this.core.options.useBackgroundButton&&a.isMobile||!!this.core.options.useBackgroundButton;return t&&(this.core.mediaControl.$el.find("[data-playstop]").length>0||this.core.mediaControl.$el.find("[data-playpause]").length>0)},click:function(){this.core.mediaControl.show(),this.shouldStop?this.core.mediaControl.togglePlayStop():this.core.mediaControl.togglePlayPause()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")},enable:function(){this.stopListening(),$traceurRuntime.superCall(this,u.prototype,"enable",[]),this.settingsUpdate()},disable:function(){$traceurRuntime.superCall(this,u.prototype,"disable",[]),this.$playPauseButton.show(),this.$playStopButton.show()},playing:function(){this.$buttonIcon.removeClass("notplaying").addClass("playing")},notplaying:function(){this.$buttonIcon.removeClass("playing").addClass("notplaying")},getExternalInterface:function(){},updateSize:function(){if(this.$el){var t=l.currentSize?l.currentSize.height:this.$el.height();this.$el.css({fontSize:t}),this.$buttonWrapper.css({marginTop:-(this.$buttonWrapper.height()/2)})}},render:function(){var t=this,e=o.getStyleFor(this.name);return this.$el.html(this.template()),this.$el.append(e),this.$playPauseButton=this.core.mediaControl.$el.find("[data-playpause]"),this.$playStopButton=this.core.mediaControl.$el.find("[data-playstop]"),this.$buttonWrapper=this.$el.find(".background-button-wrapper[data-background-button]"),this.$buttonIcon=this.$el.find(".background-button-icon[data-background-button]"),this.shouldStop=this.$playStopButton.length>0,this.$el.insertBefore(this.core.mediaControl.$el.find(".media-control-layer[data-controls]")),this.$el.click(function(){return t.click(t.$el)}),n.nextTick(function(){return t.updateSize()}),this.core.options.useBackgroundButton&&(this.$playPauseButton.hide(),this.$playStopButton.hide()),this.shouldStop&&this.$buttonIcon.addClass("playstop"),this.core.mediaControl.isVisible()&&this.show(),this}},{},i),e.exports=c}).call(this,t("_process"))},{"../../base/jst":7,"../../base/styler":8,_process:2,browser:void 0,mediator:void 0,player_info:void 0,ui_core_plugin:void 0}],34:[function(t,e){"use strict";e.exports=t("./background_button")},{"./background_button":33}],35:[function(t,e){"use strict";var n=t("container_plugin"),i=function(){$traceurRuntime.defaultSuperCall(this,r.prototype,arguments)},r=i;$traceurRuntime.createClass(i,{get name(){return"click_to_pause"},bindEvents:function(){this.listenTo(this.container,"container:click",this.click),this.listenTo(this.container,"container:settingsupdate",this.settingsUpdate)},click:function(){("live"!==this.container.getPlaybackType()||this.container.isDvrEnabled())&&(this.container.isPlaying()?this.container.pause():this.container.play())},settingsUpdate:function(){this.container.$el.removeClass("pointer-enabled"),("live"!==this.container.getPlaybackType()||this.container.isDvrEnabled())&&this.container.$el.addClass("pointer-enabled")}},{},n),e.exports=i},{container_plugin:void 0}],36:[function(t,e){"use strict";e.exports=t("./click_to_pause")},{"./click_to_pause":35}],37:[function(t,e){"use strict";var n=t("ui_core_plugin"),i=t("../../base/jst"),r=t("../../base/styler"),o=function(t){$traceurRuntime.superCall(this,a.prototype,"constructor",[t]),this.core=t,this.settingsUpdate()},a=o;$traceurRuntime.createClass(o,{get template(){return i.dvr_controls},get name(){return"dvr_controls"},get events(){return{"click .live-button":"click"}},get attributes(){return{"class":"dvr-controls","data-dvr-controls":""}},bindEvents:function(){this.listenTo(this.core.mediaControl,"mediacontrol:rendered",this.settingsUpdate),this.listenTo(this.core.mediaControl.container,"container:dvr",this.dvrChanged)},dvrChanged:function(t){this.settingsUpdate(),this.core.mediaControl.$el.addClass("live"),t?(this.core.mediaControl.$el.addClass("dvr"),this.core.mediaControl.$el.find(".media-control-indicator[data-position], .media-control-indicator[data-duration]").hide()):this.core.mediaControl.$el.removeClass("dvr")},click:function(){this.core.mediaControl.container.isPlaying()||this.core.mediaControl.container.play(),this.core.mediaControl.$el.hasClass("dvr")&&this.core.mediaControl.container.setCurrentTime(-1)},settingsUpdate:function(){var t=this;this.stopListening(),this.shouldRender()&&(this.render(),this.$el.click(function(){return t.click()})),this.bindEvents()},shouldRender:function(){var t=void 0===this.core.options.useDvrControls||!!this.core.options.useDvrControls;return t&&"live"===this.core.mediaControl.container.getPlaybackType()},render:function(){var t=r.getStyleFor(this.name);return this.$el.html(this.template()),this.$el.append(t),this.shouldRender()&&(this.core.mediaControl.$el.addClass("live"),this.core.mediaControl.$(".media-control-left-panel[data-media-control]").append(this.$el),this.$duration&&this.$duration.remove(),this.$duration=$("<span data-duration></span>"),this.core.mediaControl.seekTime.$el.append(this.$duration)),this}},{},n),e.exports=o},{"../../base/jst":7,"../../base/styler":8,ui_core_plugin:void 0}],38:[function(t,e){"use strict";e.exports=t("./dvr_controls")},{"./dvr_controls":37}],39:[function(t,e){"use strict";var n=t("container_plugin"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),t.gaAccount&&(this.embedScript(),this.account=t.gaAccount,this.trackerName=t.gaTrackerName+"."||"Clappr.",this.currentHDState=void 0)},r=i;$traceurRuntime.createClass(i,{get name(){return"google_analytics"},embedScript:function(){var t=this;if(window._gat)this.addEventListeners();else{var e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("async","async"),e.setAttribute("src","http://www.google-analytics.com/ga.js"),e.onload=function(){return t.addEventListeners()},document.body.appendChild(e)}},addEventListeners:function(){var t=this;this.listenTo(this.container,"container:play",this.onPlay),this.listenTo(this.container,"container:pause",this.onPause),this.listenTo(this.container,"container:stop",this.onStop),this.listenTo(this.container,"container:ended",this.onEnded),this.listenTo(this.container,"container:state:buffering",this.onBuffering),this.listenTo(this.container,"container:state:bufferfull",this.onBufferFull),this.listenTo(this.container,"container:error",this.onError),this.listenTo(this.container,"container:playbackstate",this.onPlaybackChanged),this.listenTo(this.container,"container:volume",function(e){return t.onVolumeChanged(e)}),this.listenTo(this.container,"container:seek",function(e){return t.onSeek(e)}),this.listenTo(this.container,"container:fullscreen",this.onFullscreen),this.listenTo(this.container,"container:highdefinitionupdate",this.onHD),this.listenTo(this.container.playback,"playback:dvr",this.onDVR),_gaq.push([this.trackerName+"_setAccount",this.account])},onPlay:function(){this.push(["Video","Play",this.container.playback.src])},onStop:function(){this.push(["Video","Stop",this.container.playback.src])},onEnded:function(){this.push(["Video","Ended",this.container.playback.src])},onBuffering:function(){this.push(["Video","Buffering",this.container.playback.src])},onBufferFull:function(){this.push(["Video","Bufferfull",this.container.playback.src])},onError:function(){this.push(["Video","Error",this.container.playback.src])},onHD:function(){var t=this.container.isHighDefinitionInUse()?"ON":"OFF";t!==this.currentHDState&&(this.currentHDState=t,this.push(["Video","HD - "+t,this.container.playback.src]))},onPlaybackChanged:function(){var t=this.container.getPlaybackType();null!==t&&this.push(["Video","Playback Type - "+t,this.container.playback.src])},onDVR:function(){var t=this.container.isHighDefinitionInUse();this.push(["Interaction","DVR - "+t,this.container.playback.src])},onPause:function(){this.push(["Video","Pause",this.container.playback.src])},onSeek:function(){this.push(["Video","Seek",this.container.playback.src])},onVolumeChanged:function(){this.push(["Interaction","Volume",this.container.playback.src])},onFullscreen:function(){this.push(["Interaction","Fullscreen",this.container.playback.src])},push:function(t){var e=[this.trackerName+"_trackEvent"].concat(t);_gaq.push(e)}},{},n),e.exports=i},{container_plugin:void 0}],40:[function(t,e){"use strict";e.exports=t("./google_analytics")},{"./google_analytics":39}],41:[function(t,e){"use strict";e.exports=t("./log")},{"./log":42}],42:[function(t,e){(function(n){"use strict";var i=t("mousetrap"),r="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,o=function(){var t=this;i.bind(["ctrl+shift+d"],function(){return t.onOff()}),this.BLACKLIST=["playback:timeupdate","playback:progress","container:hover","container:timeupdate","container:progress"]};$traceurRuntime.createClass(o,{info:function(t,e){this.log(t,"info",e)},warn:function(t,e){this.log(t,"warn",e)},debug:function(t,e){this.log(t,"debug",e)},onOff:function(){window.DEBUG=!window.DEBUG,console.log(window.DEBUG?"log enabled":"log disabled")},log:function(t,e,n){if(window.DEBUG&&!r.contains(this.BLACKLIST,n)){var i;"warn"===e?i="#FF8000":"info"===e?i="#006600":"error"===e&&(i="#FF0000"),console.log("%c ["+t+"] ["+e+"] "+n,"color: "+i)}}},{}),o.getInstance=function(){return void 0===this._instance&&(this._instance=new this),this._instance},e.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{mousetrap:4}],43:[function(t,e){"use strict";e.exports=t("./poster")},{"./poster":44}],44:[function(t,e){(function(n,i){"use strict";var r=t("ui_container_plugin"),o=t("../../base/styler"),a=t("../../base/jst"),s=t("mediator"),l=t("player_info"),c=t("jquery"),u="undefined"!=typeof window?window._:"undefined"!=typeof i?i._:null,d=function(t){$traceurRuntime.superCall(this,h.prototype,"constructor",[t]),this.options=t,u.defaults(this.options,{disableControlsOnPoster:!0}),this.options.disableControlsOnPoster&&this.container.disableMediaControl(),this.render()},h=d;$traceurRuntime.createClass(d,{get name(){return"poster"},get template(){return a.poster},get attributes(){return{"class":"player-poster","data-poster":""}},get events(){return{click:"clicked"}},bindEvents:function(){this.listenTo(this.container,"container:state:buffering",this.onBuffering),this.listenTo(this.container,"container:play",this.onPlay),this.listenTo(this.container,"container:stop",this.onStop),this.listenTo(this.container,"container:ended",this.onStop),s.on("player:resize",this.updateSize,this)},stopListening:function(){$traceurRuntime.superCall(this,h.prototype,"stopListening",[]),s.off("player:resize",this.updateSize,this)},onBuffering:function(){this.hidePlayButton()},onPlay:function(){this.$el.hide(),this.options.disableControlsOnPoster&&this.container.enableMediaControl()},onStop:function(){this.$el.show(),this.options.disableControlsOnPoster&&this.container.disableMediaControl(),this.options.hidePlayButton||this.showPlayButton()},hidePlayButton:function(){this.$playButton.hide()},showPlayButton:function(){this.$playButton.show(),this.updateSize()},clicked:function(){return this.container.play(),!1},updateSize:function(){if(this.$el){var t=l.currentSize?l.currentSize.height:this.$el.height();this.$el.css({fontSize:t}),this.$playWrapper.is(":visible")?(this.$playWrapper.css({marginTop:-(this.$playWrapper.height()/2)}),this.options.hidePlayButton||this.$playButton.show()):this.$playButton.hide()}},render:function(){var t=this,e=o.getStyleFor(this.name);if(this.$el.html(this.template()),this.$el.append(e),this.$playButton=this.$el.find(".poster-icon"),this.$playWrapper=this.$el.find(".play-wrapper"),void 0!==this.options.poster){var i=c('<img data-poster class="poster-background"></img>');i.attr("src",this.options.poster),this.$el.prepend(i)}return this.container.$el.append(this.el),this.options.hidePlayButton&&this.hidePlayButton(),n.nextTick(function(){return t.updateSize()}),this}},{},r),e.exports=d}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../base/jst":7,"../../base/styler":8,_process:2,jquery:void 0,mediator:void 0,player_info:void 0,ui_container_plugin:void 0}],45:[function(t,e){"use strict";e.exports=t("./spinner_three_bounce")},{"./spinner_three_bounce":46}],46:[function(t,e){"use strict";var n=t("ui_container_plugin"),i=t("../../base/styler"),r=t("../../base/jst"),o=function(t){$traceurRuntime.superCall(this,a.prototype,"constructor",[t]),this.template=r.spinner_three_bounce,this.listenTo(this.container,"container:state:buffering",this.onBuffering),this.listenTo(this.container,"container:state:bufferfull",this.onBufferFull),this.listenTo(this.container,"container:stop",this.onStop),this.render()},a=o;$traceurRuntime.createClass(o,{get name(){return"spinner"},get attributes(){return{"data-spinner":"","class":"spinner-three-bounce"}},onBuffering:function(){this.$el.show()},onBufferFull:function(){this.$el.hide()
  },onStop:function(){this.$el.hide()},render:function(){this.$el.html(this.template());var t=i.getStyleFor("spinner_three_bounce");return this.container.$el.append(t),this.container.$el.append(this.$el),this.$el.hide(),this}},{},n),e.exports=o},{"../../base/jst":7,"../../base/styler":8,ui_container_plugin:void 0}],47:[function(t,e){"use strict";e.exports=t("./stats")},{"./stats":48}],48:[function(t,e){"use strict";var n=t("container_plugin"),i=t("jquery"),r=function(t){$traceurRuntime.superCall(this,o.prototype,"constructor",[t]),this.setInitialAttrs(),this.reportInterval=t.reportInterval||5e3,this.state="IDLE"},o=r;$traceurRuntime.createClass(r,{get name(){return"stats"},bindEvents:function(){this.listenTo(this.container.playback,"playback:play",this.onPlay),this.listenTo(this.container,"container:stop",this.onStop),this.listenTo(this.container,"container:destroyed",this.onStop),this.listenTo(this.container,"container:state:buffering",this.onBuffering),this.listenTo(this.container,"container:state:bufferfull",this.onBufferFull),this.listenTo(this.container,"container:stats:add",this.onStatsAdd),this.listenTo(this.container,"container:bitrate",this.onStatsAdd),this.listenTo(this.container.playback,"playback:stats:add",this.onStatsAdd)},setInitialAttrs:function(){this.firstPlay=!0,this.startupTime=0,this.rebufferingTime=0,this.watchingTime=0,this.rebuffers=0,this.externalMetrics={}},onPlay:function(){this.state="PLAYING",this.watchingTimeInit=Date.now(),this.intervalId||(this.intervalId=setInterval(this.report.bind(this),this.reportInterval))},onStop:function(){clearInterval(this.intervalId),this.intervalId=void 0,this.state="STOPPED"},onBuffering:function(){this.firstPlay?this.startupTimeInit=Date.now():this.rebufferingTimeInit=Date.now(),this.state="BUFFERING",this.rebuffers++},onBufferFull:function(){this.firstPlay?(this.firstPlay=!1,this.startupTime=Date.now()-this.startupTimeInit,this.watchingTimeInit=Date.now()):this.rebufferingTimeInit&&(this.rebufferingTime+=this.getRebufferingTime()),this.rebufferingTimeInit=void 0,this.state="PLAYING"},getRebufferingTime:function(){return Date.now()-this.rebufferingTimeInit},getWatchingTime:function(){var t=Date.now()-this.watchingTimeInit;return t-this.rebufferingTime},isRebuffering:function(){return!!this.rebufferingTimeInit},onStatsAdd:function(t){i.extend(this.externalMetrics,t)},getStats:function(){var t={startupTime:this.startupTime,rebuffers:this.rebuffers,rebufferingTime:this.isRebuffering()?this.rebufferingTime+this.getRebufferingTime():this.rebufferingTime,watchingTime:this.isRebuffering()?this.getWatchingTime()-this.getRebufferingTime():this.getWatchingTime()};return i.extend(t,this.externalMetrics),t},report:function(){this.container.statsReport(this.getStats())}},{},n),e.exports=r},{container_plugin:void 0,jquery:void 0}],49:[function(t,e){"use strict";e.exports=t("./watermark")},{"./watermark":50}],50:[function(t,e){"use strict";var n=t("ui_container_plugin"),i=t("../../base/styler"),r=t("../../base/jst"),o=function(t){$traceurRuntime.superCall(this,a.prototype,"constructor",[t]),this.template=r[this.name],this.position=t.position||"bottom-right",t.watermark?(this.imageUrl=t.watermark,this.render()):this.$el.remove()},a=o;$traceurRuntime.createClass(o,{get name(){return"watermark"},bindEvents:function(){this.listenTo(this.container,"container:play",this.onPlay),this.listenTo(this.container,"container:stop",this.onStop)},onPlay:function(){this.hidden||this.$el.show()},onStop:function(){this.$el.hide()},render:function(){this.$el.hide();var t={position:this.position,imageUrl:this.imageUrl};this.$el.html(this.template(t));var e=i.getStyleFor(this.name);return this.container.$el.append(e),this.container.$el.append(this.$el),this}},{},n),e.exports=o},{"../../base/jst":7,"../../base/styler":8,ui_container_plugin:void 0}],base_object:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,r=t("./utils").extend,o=t("./events"),a=["container"],s=function(t){this.uniqueId=i.uniqueId("o"),t||(t={}),i.extend(this,i.pick(t,a))};$traceurRuntime.createClass(s,{},{},o),s.extend=r,e.exports=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./events":6,"./utils":9}],browser:[function(t,e){"use strict";var n=function(){};$traceurRuntime.createClass(n,{},{}),n.isSafari=!!navigator.userAgent.match(/safari/i)&&-1===navigator.userAgent.indexOf("Chrome"),n.isChrome=!!navigator.userAgent.match(/chrome/i),n.isFirefox=!!navigator.userAgent.match(/firefox/i),n.isLegacyIE=!!window.ActiveXObject,n.isIE=n.isLegacyIE||!!navigator.userAgent.match(/trident.*rv:1\d/i),n.isMobile=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone|IEMobile|Opera Mini/i.test(navigator.userAgent),n.isWin8App=!!/MSAppHost/i.test(navigator.userAgent),e.exports=n},{}],container_plugin:[function(t,e){"use strict";var n=t("base_object"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.bindEvents()},r=i;$traceurRuntime.createClass(i,{enable:function(){this.bindEvents()},disable:function(){this.stopListening()},bindEvents:function(){},destroy:function(){this.stopListening()}},{},n),e.exports=i},{base_object:void 0}],core_plugin:[function(t,e){"use strict";var n=t("base_object"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.core=t},r=i;$traceurRuntime.createClass(i,{getExternalInterface:function(){return{}},destroy:function(){}},{},n),e.exports=i},{base_object:void 0}],jquery:[function(t,e){!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=Z.type(t);return"function"===n||Z.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(Z.isFunction(e))return Z.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return Z.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(se.test(e))return Z.filter(e,t,n);e=Z.filter(e,t)}return Z.grep(t,function(t){return G.call(e,t)>=0!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e=pe[t]={};return Z.each(t.match(fe)||[],function(t,n){e[n]=!0}),e}function a(){Q.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1),Z.ready()}function s(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+Math.random()}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(we,"-$1").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ve.test(n)?Z.parseJSON(n):n}catch(r){}ye.set(t,e,n)}else n=void 0;return n}function c(){return!0}function u(){return!1}function d(){try{return Q.activeElement}catch(t){}}function h(t,e){return Z.nodeName(t,"table")&&Z.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function f(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function p(t){var e=Ae.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function m(t,e){for(var n=0,i=t.length;i>n;n++)be.set(t[n],"globalEval",!e||be.get(e[n],"globalEval"))}function g(t,e){var n,i,r,o,a,s,l,c;if(1===e.nodeType){if(be.hasData(t)&&(o=be.access(t),a=be.set(e,o),c=o.events)){delete a.handle,a.events={};for(r in c)for(n=0,i=c[r].length;i>n;n++)Z.event.add(e,r,c[r][n])}ye.hasData(t)&&(s=ye.access(t),l=Z.extend({},s),ye.set(e,l))}}function b(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&Z.nodeName(t,e)?Z.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Te.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function v(e,n){var i,r=Z(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:Z.css(r[0],"display");return r.detach(),o}function w(t){var e=Q,n=Me[t];return n||(n=v(t,e),"none"!==n&&n||(Be=(Be||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Be[0].contentDocument,e.write(),e.close(),n=v(t,e),Be.detach()),Me[t]=n),n}function k(t,e,n){var i,r,o,a,s=t.style;return n=n||Ve(t),n&&(a=n.getPropertyValue(e)||n[e]),n&&(""!==a||Z.contains(t.ownerDocument,t)||(a=Z.style(t,e)),He.test(a)&&qe.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function x(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function C(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,r=Xe.length;r--;)if(e=Xe[r]+n,e in t)return e;return i}function T(t,e,n){var i=Ue.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function S(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=Z.css(t,n+xe[o],!0,r)),i?("content"===n&&(a-=Z.css(t,"padding"+xe[o],!0,r)),"margin"!==n&&(a-=Z.css(t,"border"+xe[o]+"Width",!0,r))):(a+=Z.css(t,"padding"+xe[o],!0,r),"padding"!==n&&(a+=Z.css(t,"border"+xe[o]+"Width",!0,r)));return a}function j(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Ve(t),a="border-box"===Z.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=k(t,e,o),(0>r||null==r)&&(r=t.style[e]),He.test(r))return r;i=a&&(K.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+S(t,e,n||(a?"border":"content"),i,o)+"px"}function P(t,e){for(var n,i,r,o=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(o[a]=be.get(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Ce(i)&&(o[a]=be.access(i,"olddisplay",w(i.nodeName)))):(r=Ce(i),"none"===n&&r||be.set(i,"olddisplay",r?n:Z.css(i,"display"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function E(t,e,n,i,r){return new E.prototype.init(t,e,n,i,r)}function $(){return setTimeout(function(){Ke=void 0}),Ke=Z.now()}function _(t,e){var n,i=0,r={height:t};for(e=e?1:0;4>i;i+=2-e)n=xe[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function O(t,e,n){for(var i,r=(nn[e]||[]).concat(nn["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,e,t))return i}function I(t,e,n){var i,r,o,a,s,l,c,u,d=this,h={},f=t.style,p=t.nodeType&&Ce(t),m=be.get(t,"fxshow");n.queue||(s=Z._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,Z.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=Z.css(t,"display"),u="none"===c?be.get(t,"olddisplay")||w(t.nodeName):c,"inline"===u&&"none"===Z.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],Je.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;p=!0}h[i]=m&&m[i]||Z.style(t,i)}else c=void 0;if(Z.isEmptyObject(h))"inline"===("none"===c?w(t.nodeName):c)&&(f.display=c);else{m?"hidden"in m&&(p=m.hidden):m=be.access(t,"fxshow",{}),o&&(m.hidden=!p),p?Z(t).show():d.done(function(){Z(t).hide()}),d.done(function(){var e;be.remove(t,"fxshow");for(e in h)Z.style(t,e,h[e])});for(i in h)a=O(p?m[i]:0,i,d),i in m||(m[i]=a.start,p&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function R(t,e){var n,i,r,o,a;for(n in t)if(i=Z.camelCase(n),r=e[i],o=t[n],Z.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),a=Z.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function D(t,e,n){var i,r,o=0,a=en.length,s=Z.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Ke||$(),n=Math.max(0,c.startTime+c.duration-e),i=n/c.duration||0,o=1-i,a=0,l=c.tweens.length;l>a;a++)c.tweens[a].run(o);return s.notifyWith(t,[c,o,n]),1>o&&l?n:(s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:Z.extend({},e),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Ke||$(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Z.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)c.tweens[n].run(1);return e?s.resolveWith(t,[c,e]):s.rejectWith(t,[c,e]),this}}),u=c.props;for(R(u,c.opts.specialEasing);a>o;o++)if(i=en[o].call(c,t,u,c.opts))return i;return Z.map(u,O,c),Z.isFunction(c.opts.start)&&c.opts.start.call(t,c),Z.fx.timer(Z.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function N(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(fe)||[];if(Z.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function A(t,e,n,i){function r(s){var l;return o[s]=!0,Z.each(t[s]||[],function(t,s){var c=s(e,n,i);return"string"!=typeof c||a||o[c]?a?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),l}var o={},a=t===xn;return r(e.dataTypes[0])||!o["*"]&&r("*")}function L(t,e){var n,i,r=Z.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&Z.extend(!0,t,i),t}function F(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function B(t,e,n,i){var r,o,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=c[l+" "+o]||c["* "+o],!a)for(r in c)if(s=r.split(" "),s[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[r]:c[r]!==!0&&(o=s[0],u.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function M(t,e,n,i){var r;if(Z.isArray(e))Z.each(e,function(e,r){n||jn.test(t)?i(t,r):M(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==Z.type(e))i(t,e);else for(r in e)M(t+"["+r+"]",e[r],n,i)}function q(t){return Z.isWindow(t)?t:9===t.nodeType&&t.defaultView}var H=[],V=H.slice,z=H.concat,U=H.push,G=H.indexOf,W={},Y=W.toString,X=W.hasOwnProperty,K={},Q=t.document,J="2.1.1",Z=function(t,e){return new Z.fn.init(t,e)},te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ee=/^-ms-/,ne=/-([\da-z])/gi,ie=function(t,e){return e.toUpperCase()};Z.fn=Z.prototype={jquery:J,constructor:Z,selector:"",length:0,toArray:function(){return V.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:V.call(this)},pushStack:function(t){var e=Z.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Z.each(this,t,e)},map:function(t){return this.pushStack(Z.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(V.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:U,sort:H.sort,splice:H.splice},Z.extend=Z.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||Z.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(c&&i&&(Z.isPlainObject(i)||(r=Z.isArray(i)))?(r?(r=!1,o=n&&Z.isArray(n)?n:[]):o=n&&Z.isPlainObject(n)?n:{},a[e]=Z.extend(c,o,i)):void 0!==i&&(a[e]=i));return a},Z.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===Z.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!Z.isArray(t)&&t-parseFloat(t)>=0},isPlainObject:function(t){return"object"!==Z.type(t)||t.nodeType||Z.isWindow(t)?!1:t.constructor&&!X.call(t.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?W[Y.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=Z.trim(t),t&&(1===t.indexOf("use strict")?(e=Q.createElement("script"),e.text=t,Q.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(ee,"ms-").replace(ne,ie)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,a=t.length,s=n(t);if(i){if(s)for(;a>o&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(s)for(;a>o&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(te,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?Z.merge(i,"string"==typeof t?[t]:t):U.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:G.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,a=t.length,s=!n;a>o;o++)i=!e(t[o],o),i!==s&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,a=t.length,s=n(t),l=[];if(s)for(;a>o;o++)r=e(t[o],o,i),null!=r&&l.push(r);else for(o in t)r=e(t[o],o,i),null!=r&&l.push(r);return z.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),Z.isFunction(t)?(i=V.call(arguments,2),r=function(){return t.apply(e||this,i.concat(V.call(arguments)))},r.guid=t.guid=t.guid||Z.guid++,r):void 0},now:Date.now,support:K}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){W["[object "+e+"]"]=e.toLowerCase()});var re=function(t){function e(t,e,n,i){var r,o,a,s,l,c,d,f,p,m;if((e?e.ownerDocument||e:M)!==I&&O(e),e=e||I,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodeType)&&9!==s)return[];if(D&&!i){if(r=ye.exec(t))if(a=r[1]){if(9===s){if(o=e.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&F(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&k.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(a)),n}if(k.qsa&&(!N||!N.test(t))){if(f=d=B,p=e,m=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(c=S(t),(d=e.getAttribute("id"))?f=d.replace(we,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=c.length;l--;)c[l]=f+h(c[l]);p=ve.test(t)&&u(e.parentNode)||e,m=c.join(",")}if(m)try{return Z.apply(n,p.querySelectorAll(m)),n}catch(g){}finally{d||e.removeAttribute("id")}}}return P(t.replace(le,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[B]=!0,t}function r(t){var e=I.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)x.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function u(t){return t&&typeof t.getElementsByTagName!==W&&t}function d(){}function h(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=H++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,c=[q,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[B]||(e[B]={}),(s=l[i])&&s[0]===q&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=t(e,n,a))return!0}}}function p(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[r],i);return i}function g(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,c=null!=e;l>s;s++)(o=t[s])&&(!n||n(o,i,r))&&(a.push(o),c&&e.push(s));return a}function b(t,e,n,r,o,a){return r&&!r[B]&&(r=b(r)),o&&!o[B]&&(o=b(o,a)),i(function(i,a,s,l){var c,u,d,h=[],f=[],p=a.length,b=i||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?b:g(b,h,t,s,l),v=n?o||(i?t:p||r)?[]:a:y;if(n&&n(y,v,s,l),r)for(c=g(v,f),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(y[f[u]]=d));if(i){if(o||t){if(o){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(y[u]=d);o(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=o?ee.call(i,d):h[u])>-1&&(i[c]=!(a[c]=d))}}else v=g(v===a?v.splice(p,v.length):v),o?o(null,a,v,l):Z.apply(a,v)})}function y(t){for(var e,n,i,r=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],s=o?1:0,l=f(function(t){return t===e},a,!0),c=f(function(t){return ee.call(e,t)>-1},a,!0),u=[function(t,n,i){return!o&&(i||n!==E)||((e=n).nodeType?l(t,n,i):c(t,n,i))}];r>s;s++)if(n=x.relative[t[s].type])u=[f(p(u),n)];else{if(n=x.filter[t[s].type].apply(null,t[s].matches),n[B]){for(i=++s;r>i&&!x.relative[t[i].type];i++);return b(s>1&&p(u),s>1&&h(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(le,"$1"),n,i>s&&y(t.slice(s,i)),r>i&&y(t=t.slice(i)),r>i&&h(t))}u.push(n)}return p(u)}function v(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,c){var u,d,h,f=0,p="0",m=i&&[],b=[],y=E,v=i||o&&x.find.TAG("*",c),w=q+=null==y?1:Math.random()||.1,k=v.length;for(c&&(E=a!==I&&a);p!==k&&null!=(u=v[p]);p++){if(o&&u){for(d=0;h=t[d++];)if(h(u,a,s)){l.push(u);break}c&&(q=w)}r&&((u=!h&&u)&&f--,i&&m.push(u))}if(f+=p,r&&p!==f){for(d=0;h=n[d++];)h(m,b,a,s);if(i){if(f>0)for(;p--;)m[p]||b[p]||(b[p]=Q.call(l));b=g(b)}Z.apply(l,b),c&&!i&&b.length>0&&f+n.length>1&&e.uniqueSort(l)}return c&&(q=w,E=y),m};return r?i(a):a}var w,k,x,C,T,S,j,P,E,$,_,O,I,R,D,N,A,L,F,B="sizzle"+-new Date,M=t.document,q=0,H=0,V=n(),z=n(),U=n(),G=function(t,e){return t===e&&(_=!0),0},W="undefined",Y=1<<31,X={}.hasOwnProperty,K=[],Q=K.pop,J=K.push,Z=K.push,te=K.slice,ee=K.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=re.replace("w","w#"),ae="\\["+ie+"*("+re+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+ie+"*\\]",se=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ae+")*)|.*)\\)|)",le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ce=new RegExp("^"+ie+"*,"+ie+"*"),ue=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),he=new RegExp(se),fe=new RegExp("^"+oe+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+ae),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,be=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,we=/'|\\/g,ke=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),xe=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{Z.apply(K=te.call(M.childNodes),M.childNodes),K[M.childNodes.length].nodeType}catch(Ce){Z={apply:K.length?function(t,e){J.apply(t,te.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}k=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},O=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:M,i=n.defaultView;return n!==I&&9===n.nodeType&&n.documentElement?(I=n,R=n.documentElement,D=!T(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){O()},!1):i.attachEvent&&i.attachEvent("onunload",function(){O()})),k.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),k.getElementsByTagName=r(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),k.getElementsByClassName=be.test(n.getElementsByClassName)&&r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),k.getById=r(function(t){return R.appendChild(t).id=B,!n.getElementsByName||!n.getElementsByName(B).length}),k.getById?(x.find.ID=function(t,e){if(typeof e.getElementById!==W&&D){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(ke,xe);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(ke,xe);return function(t){var n=typeof t.getAttributeNode!==W&&t.getAttributeNode("id");return n&&n.value===e}}),x.find.TAG=k.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==W?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=k.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==W&&D?e.getElementsByClassName(t):void 0},A=[],N=[],(k.qsa=be.test(n.querySelectorAll))&&(r(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&N.push("[*^$]="+ie+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+ie+"*(?:value|"+ne+")"),t.querySelectorAll(":checked").length||N.push(":checked")}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+ie+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(k.matchesSelector=be.test(L=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&r(function(t){k.disconnectedMatch=L.call(t,"div"),L.call(t,"[s!='']:x"),A.push("!=",se)}),N=N.length&&new RegExp(N.join("|")),A=A.length&&new RegExp(A.join("|")),e=be.test(R.compareDocumentPosition),F=e||be.test(R.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},G=e?function(t,e){if(t===e)return _=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!k.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===M&&F(M,t)?-1:e===n||e.ownerDocument===M&&F(M,e)?1:$?ee.call($,t)-ee.call($,e):0:4&i?-1:1)}:function(t,e){if(t===e)return _=!0,0;var i,r=0,o=t.parentNode,s=e.parentNode,l=[t],c=[e];if(!o||!s)return t===n?-1:e===n?1:o?-1:s?1:$?ee.call($,t)-ee.call($,e):0;if(o===s)return a(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)c.unshift(i);for(;l[r]===c[r];)r++;return r?a(l[r],c[r]):l[r]===M?-1:c[r]===M?1:0},n):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&O(t),n=n.replace(de,"='$1']"),!(!k.matchesSelector||!D||A&&A.test(n)||N&&N.test(n)))try{var i=L.call(t,n);if(i||k.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&O(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&O(t);var n=x.attrHandle[e.toLowerCase()],i=n&&X.call(x.attrHandle,e.toLowerCase())?n(t,e,!D):void 0;return void 0!==i?i:k.attributes||!D?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(_=!k.detectDuplicates,$=!k.sortStable&&t.slice(0),t.sort(G),_){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return $=null,t},C=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=C(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(ke,xe),t[3]=(t[3]||t[4]||t[5]||"").replace(ke,xe),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pe.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&he.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(ke,xe).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=V[t+" "];return e||(e=new RegExp("(^|"+ie+")"+t+"("+ie+"|$)"))&&V(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==W&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:n?(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n?o===i||o.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,f,p,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,b=s&&e.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=e;d=d[m];)if(s?d.nodeName.toLowerCase()===b:1===d.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(u=g[B]||(g[B]={}),c=u[t]||[],f=c[0]===q&&c[1],h=c[0]===q&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(h=f=0)||p.pop();)if(1===d.nodeType&&++h&&d===e){u[t]=[q,f,h];
  break}}else if(y&&(c=(e[B]||(e[B]={}))[t])&&c[0]===q)h=c[1];else for(;(d=++f&&d&&d[m]||(h=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==b:1!==d.nodeType)||!++h||(y&&((d[B]||(d[B]={}))[t]=[q,h]),d!==e)););return h-=r,h===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var r,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[B]?o(n):o.length>1?(r=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)i=ee.call(t,r[a]),t[i]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=j(t.replace(le,"$1"));return r[B]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||C(e)).indexOf(t)>-1}}),lang:i(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(ke,xe).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===R},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return ge.test(t.nodeName)},input:function(t){return me.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},x.pseudos.nth=x.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})x.pseudos[w]=l(w);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,S=e.tokenize=function(t,n){var i,r,o,a,s,l,c,u=z[t+" "];if(u)return n?0:u.slice(0);for(s=t,l=[],c=x.preFilter;s;){(!i||(r=ce.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ue.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(le," ")}),s=s.slice(i.length));for(a in x.filter)!(r=pe[a].exec(s))||c[a]&&!(r=c[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):z(t,l).slice(0)},j=e.compile=function(t,e){var n,i=[],r=[],o=U[t+" "];if(!o){for(e||(e=S(t)),n=e.length;n--;)o=y(e[n]),o[B]?i.push(o):r.push(o);o=U(t,v(r,i)),o.selector=t}return o},P=e.select=function(t,e,n,i){var r,o,a,s,l,c="function"==typeof t&&t,d=!i&&S(t=c.selector||t);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&k.getById&&9===e.nodeType&&D&&x.relative[o[1].type]){if(e=(x.find.ID(a.matches[0].replace(ke,xe),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=pe.needsContext.test(t)?0:o.length;r--&&(a=o[r],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(ke,xe),ve.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&h(o),!t)return Z.apply(n,i),n;break}}return(c||j(t,d))(i,e,!D,n,ve.test(t)&&u(e.parentNode)||e),n},k.sortStable=B.split("").sort(G).join("")===B,k.detectDuplicates=!!_,O(),k.sortDetached=r(function(t){return 1&t.compareDocumentPosition(I.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),k.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(ne,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);Z.find=re,Z.expr=re.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=re.uniqueSort,Z.text=re.getText,Z.isXMLDoc=re.isXML,Z.contains=re.contains;var oe=Z.expr.match.needsContext,ae=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,se=/^.[^:#\[\.,]*$/;Z.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Z.find.matchesSelector(i,t)?[i]:[]:Z.find.matches(t,Z.grep(e,function(t){return 1===t.nodeType}))},Z.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(Z(t).filter(function(){for(e=0;n>e;e++)if(Z.contains(r[e],this))return!0}));for(e=0;n>e;e++)Z.find(t,r[e],i);return i=this.pushStack(n>1?Z.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&oe.test(t)?Z(t):t||[],!1).length}});var le,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ue=Z.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ce.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||le).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Z?e[0]:e,Z.merge(this,Z.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),ae.test(n[1])&&Z.isPlainObject(e))for(n in e)Z.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return i=Q.getElementById(n[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=Q,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Z.isFunction(t)?"undefined"!=typeof le.ready?le.ready(t):t(Z):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),Z.makeArray(t,this))};ue.prototype=Z.fn,le=Z(Q);var de=/^(?:parents|prev(?:Until|All))/,he={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&Z(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),Z.fn.extend({has:function(t){var e=Z(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(Z.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=oe.test(t)||"string"!=typeof t?Z(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?Z.unique(o):o)},index:function(t){return t?"string"==typeof t?G.call(Z(t),this[0]):G.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Z.unique(Z.merge(this.get(),Z(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Z.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Z.dir(t,"parentNode")},parentsUntil:function(t,e,n){return Z.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return Z.dir(t,"nextSibling")},prevAll:function(t){return Z.dir(t,"previousSibling")},nextUntil:function(t,e,n){return Z.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return Z.dir(t,"previousSibling",n)},siblings:function(t){return Z.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Z.sibling(t.firstChild)},contents:function(t){return t.contentDocument||Z.merge([],t.childNodes)}},function(t,e){Z.fn[t]=function(n,i){var r=Z.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Z.filter(i,r)),this.length>1&&(he[t]||Z.unique(r),de.test(t)&&r.reverse()),this.pushStack(r)}});var fe=/\S+/g,pe={};Z.Callbacks=function(t){t="string"==typeof t?pe[t]||o(t):Z.extend({},t);var e,n,i,r,a,s,l=[],c=!t.once&&[],u=function(o){for(e=t.memory&&o,n=!0,s=r||0,r=0,a=l.length,i=!0;l&&a>s;s++)if(l[s].apply(o[0],o[1])===!1&&t.stopOnFalse){e=!1;break}i=!1,l&&(c?c.length&&u(c.shift()):e?l=[]:d.disable())},d={add:function(){if(l){var n=l.length;!function o(e){Z.each(e,function(e,n){var i=Z.type(n);"function"===i?t.unique&&d.has(n)||l.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),i?a=l.length:e&&(r=n,u(e))}return this},remove:function(){return l&&Z.each(arguments,function(t,e){for(var n;(n=Z.inArray(e,l,n))>-1;)l.splice(n,1),i&&(a>=n&&a--,s>=n&&s--)}),this},has:function(t){return t?Z.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=c=e=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,e||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!l||n&&!c||(e=e||[],e=[t,e.slice?e.slice():e],i?c.push(e):u(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},Z.extend({Deferred:function(t){var e=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return Z.Deferred(function(n){Z.each(e,function(e,o){var a=Z.isFunction(t[e])&&t[e];r[o[1]](function(){var t=a&&a.apply(this,arguments);t&&Z.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?Z.extend(t,i):i}},r={};return i.pipe=i.then,Z.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=V.call(arguments),a=o.length,s=1!==a||t&&Z.isFunction(t.promise)?a:0,l=1===s?t:Z.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?V.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)o[r]&&Z.isFunction(o[r].promise)?o[r].promise().done(c(r,i,o)).fail(l.reject).progress(c(r,n,e)):--s;return s||l.resolveWith(i,o),l.promise()}});var me;Z.fn.ready=function(t){return Z.ready.promise().done(t),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(t){t?Z.readyWait++:Z.ready(!0)},ready:function(t){(t===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,t!==!0&&--Z.readyWait>0||(me.resolveWith(Q,[Z]),Z.fn.triggerHandler&&(Z(Q).triggerHandler("ready"),Z(Q).off("ready"))))}}),Z.ready.promise=function(e){return me||(me=Z.Deferred(),"complete"===Q.readyState?setTimeout(Z.ready):(Q.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1))),me.promise(e)},Z.ready.promise();var ge=Z.access=function(t,e,n,i,r,o,a){var s=0,l=t.length,c=null==n;if("object"===Z.type(n)){r=!0;for(s in n)Z.access(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,Z.isFunction(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(Z(t),n)})),e))for(;l>s;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:c?e.call(t):l?e(t[0],n):o};Z.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},s.uid=1,s.accepts=Z.acceptData,s.prototype={key:function(t){if(!s.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=s.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,Z.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,r=this.key(t),o=this.cache[r];if("string"==typeof e)o[e]=n;else if(Z.isEmptyObject(o))Z.extend(this.cache[r],e);else for(i in e)o[i]=e[i];return o},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,Z.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=this.key(t),a=this.cache[o];if(void 0===e)this.cache[o]={};else{Z.isArray(e)?i=e.concat(e.map(Z.camelCase)):(r=Z.camelCase(e),e in a?i=[e,r]:(i=r,i=i in a?[i]:i.match(fe)||[])),n=i.length;for(;n--;)delete a[i[n]]}},hasData:function(t){return!Z.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var be=new s,ye=new s,ve=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,we=/([A-Z])/g;Z.extend({hasData:function(t){return ye.hasData(t)||be.hasData(t)},data:function(t,e,n){return ye.access(t,e,n)},removeData:function(t,e){ye.remove(t,e)},_data:function(t,e,n){return be.access(t,e,n)},_removeData:function(t,e){be.remove(t,e)}}),Z.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=ye.get(o),1===o.nodeType&&!be.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=Z.camelCase(i.slice(5)),l(o,i,r[i])));be.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){ye.set(this,t)}):ge(this,function(e){var n,i=Z.camelCase(t);if(o&&void 0===e){if(n=ye.get(o,t),void 0!==n)return n;if(n=ye.get(o,i),void 0!==n)return n;if(n=l(o,i,void 0),void 0!==n)return n}else this.each(function(){var n=ye.get(this,i);ye.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&ye.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){ye.remove(this,t)})}}),Z.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=be.get(t,e),n&&(!i||Z.isArray(n)?i=be.access(t,e,Z.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=Z.queue(t,e),i=n.length,r=n.shift(),o=Z._queueHooks(t,e),a=function(){Z.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return be.get(t,n)||be.access(t,n,{empty:Z.Callbacks("once memory").add(function(){be.remove(t,[e+"queue",n])})})}}),Z.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Z.queue(this[0],t):void 0===e?this:this.each(function(){var n=Z.queue(this,t,e);Z._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Z.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Z.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=Z.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=be.get(o[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,xe=["Top","Right","Bottom","Left"],Ce=function(t,e){return t=e||t,"none"===Z.css(t,"display")||!Z.contains(t.ownerDocument,t)},Te=/^(?:checkbox|radio)$/i;!function(){var t=Q.createDocumentFragment(),e=t.appendChild(Q.createElement("div")),n=Q.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),K.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",K.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Se="undefined";K.focusinBubbles="onfocusin"in t;var je=/^key/,Pe=/^(?:mouse|pointer|contextmenu)|click/,Ee=/^(?:focusinfocus|focusoutblur)$/,$e=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,c,u,d,h,f,p,m,g=be.get(t);if(g)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=Z.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return typeof Z!==Se&&Z.event.triggered!==e.type?Z.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(fe)||[""],c=e.length;c--;)s=$e.exec(e[c])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(d=Z.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=Z.event.special[f]||{},u=Z.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Z.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&d.setup.call(t,i,p,a)!==!1||t.addEventListener&&t.addEventListener(f,a,!1)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),Z.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,c,u,d,h,f,p,m,g=be.hasData(t)&&be.get(t);if(g&&(l=g.events)){for(e=(e||"").match(fe)||[""],c=e.length;c--;)if(s=$e.exec(e[c])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){for(d=Z.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));a&&!h.length&&(d.teardown&&d.teardown.call(t,p,g.handle)!==!1||Z.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)Z.event.remove(t,f+e[c],n,i,!0);Z.isEmptyObject(l)&&(delete g.handle,be.remove(t,"events"))}},trigger:function(e,n,i,r){var o,a,s,l,c,u,d,h=[i||Q],f=X.call(e,"type")?e.type:e,p=X.call(e,"namespace")?e.namespace.split("."):[];if(a=s=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!Ee.test(f+Z.event.triggered)&&(f.indexOf(".")>=0&&(p=f.split("."),f=p.shift(),p.sort()),c=f.indexOf(":")<0&&"on"+f,e=e[Z.expando]?e:new Z.Event(f,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:Z.makeArray(n,[e]),d=Z.event.special[f]||{},r||!d.trigger||d.trigger.apply(i,n)!==!1)){if(!r&&!d.noBubble&&!Z.isWindow(i)){for(l=d.delegateType||f,Ee.test(l+f)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(i.ownerDocument||Q)&&h.push(s.defaultView||s.parentWindow||t)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)e.type=o>1?l:d.bindType||f,u=(be.get(a,"events")||{})[e.type]&&be.get(a,"handle"),u&&u.apply(a,n),u=c&&a[c],u&&u.apply&&Z.acceptData(a)&&(e.result=u.apply(a,n),e.result===!1&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||d._default&&d._default.apply(h.pop(),n)!==!1||!Z.acceptData(i)||c&&Z.isFunction(i[f])&&!Z.isWindow(i)&&(s=i[c],s&&(i[c]=null),Z.event.triggered=f,i[f](),Z.event.triggered=void 0,s&&(i[c]=s)),e.result}},dispatch:function(t){t=Z.event.fix(t);var e,n,i,r,o,a=[],s=V.call(arguments),l=(be.get(this,"events")||{})[t.type]||[],c=Z.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(a=Z.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,i=((Z.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==t.type){for(i=[],n=0;s>n;n++)o=e[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?Z(r,this).index(l)>=0:Z.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Q,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[Z.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Pe.test(r)?this.mouseHooks:je.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new Z.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=Q),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==d()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===d()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return Z.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=Z.extend(new Z.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?Z.event.trigger(r,null,e):Z.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},Z.Event=function(t,e){return this instanceof Z.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:u):this.type=t,e&&Z.extend(this,e),this.timeStamp=t&&t.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(t,e)},Z.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Z.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!Z.contains(i,r))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),K.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Z.event.simulate(e,t.target,Z.event.fix(t),!0)};Z.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=be.access(i,e);r||i.addEventListener(t,n,!0),be.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=be.access(i,e)-1;r?be.access(i,e,r):(i.removeEventListener(t,n,!0),be.remove(i,e))}}}),Z.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(a in t)this.on(a,e,n,t[a],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=u;else if(!i)return this;return 1===r&&(o=i,i=function(t){return Z().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=Z.guid++)),this.each(function(){Z.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Z(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=u),this.each(function(){Z.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){Z.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?Z.event.trigger(t,e,n,!0):void 0}});var _e=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Oe=/<([\w:]+)/,Ie=/<|&#?\w+;/,Re=/<(?:script|style|link)/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^$|\/(?:java|ecma)script/i,Ae=/^true\/(.*)/,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Fe={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,"",""]};Fe.optgroup=Fe.option,Fe.tbody=Fe.tfoot=Fe.colgroup=Fe.caption=Fe.thead,Fe.th=Fe.td,Z.extend({clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=Z.contains(t.ownerDocument,t);if(!(K.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Z.isXMLDoc(t)))for(a=b(s),o=b(t),i=0,r=o.length;r>i;i++)y(o[i],a[i]);if(e)if(n)for(o=o||b(t),a=a||b(s),i=0,r=o.length;r>i;i++)g(o[i],a[i]);else g(t,s);return a=b(s,"script"),a.length>0&&m(a,!l&&b(t,"script")),s},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,c,u=e.createDocumentFragment(),d=[],h=0,f=t.length;f>h;h++)if(r=t[h],r||0===r)if("object"===Z.type(r))Z.merge(d,r.nodeType?[r]:r);else if(Ie.test(r)){for(o=o||u.appendChild(e.createElement("div")),a=(Oe.exec(r)||["",""])[1].toLowerCase(),s=Fe[a]||Fe._default,o.innerHTML=s[1]+r.replace(_e,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;Z.merge(d,o.childNodes),o=u.firstChild,o.textContent=""}else d.push(e.createTextNode(r));for(u.textContent="",h=0;r=d[h++];)if((!i||-1===Z.inArray(r,i))&&(l=Z.contains(r.ownerDocument,r),o=b(u.appendChild(r),"script"),l&&m(o),n))for(c=0;r=o[c++];)Ne.test(r.type||"")&&n.push(r);return u},cleanData:function(t){for(var e,n,i,r,o=Z.event.special,a=0;void 0!==(n=t[a]);a++){if(Z.acceptData(n)&&(r=n[be.expando],r&&(e=be.cache[r]))){if(e.events)for(i in e.events)o[i]?Z.event.remove(n,i):Z.removeEvent(n,i,e.handle);be.cache[r]&&delete be.cache[r]}delete ye.cache[n[ye.expando]]}}}),Z.fn.extend({text:function(t){return ge(this,function(t){return void 0===t?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?Z.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||Z.cleanData(b(n)),n.parentNode&&(e&&Z.contains(n.ownerDocument,n)&&m(b(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Z.cleanData(b(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return Z.clone(this,t,e)})},html:function(t){return ge(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Re.test(t)&&!Fe[(Oe.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(_e,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(Z.cleanData(b(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Z.cleanData(b(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=z.apply([],t);var n,i,r,o,a,s,l=0,c=this.length,u=this,d=c-1,h=t[0],m=Z.isFunction(h);if(m||c>1&&"string"==typeof h&&!K.checkClone&&De.test(h))return this.each(function(n){var i=u.eq(n);m&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(c&&(n=Z.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(r=Z.map(b(n,"script"),f),o=r.length;c>l;l++)a=n,l!==d&&(a=Z.clone(a,!0,!0),o&&Z.merge(r,b(a,"script"))),e.call(this[l],a,l);if(o)for(s=r[r.length-1].ownerDocument,Z.map(r,p),l=0;o>l;l++)a=r[l],Ne.test(a.type||"")&&!be.access(a,"globalEval")&&Z.contains(s,a)&&(a.src?Z._evalUrl&&Z._evalUrl(a.src):Z.globalEval(a.textContent.replace(Le,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Z.fn[t]=function(t){for(var n,i=[],r=Z(t),o=r.length-1,a=0;o>=a;a++)n=a===o?this:this.clone(!0),Z(r[a])[e](n),U.apply(i,n.get());return this.pushStack(i)}});var Be,Me={},qe=/^margin/,He=new RegExp("^("+ke+")(?!px)[a-z%]+$","i"),Ve=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)};!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(o);var e=t.getComputedStyle(a,null);n="1%"!==e.top,i="4px"===e.width,r.removeChild(o)}var n,i,r=Q.documentElement,o=Q.createElement("div"),a=Q.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",K.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),t.getComputedStyle&&Z.extend(K,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,n=a.appendChild(Q.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",r.appendChild(o),e=!parseFloat(t.getComputedStyle(n,null).marginRight),r.removeChild(o),e}}))}(),Z.swap=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r};var ze=/^(none|table(?!-c[ea]).+)/,Ue=new RegExp("^("+ke+")(.*)$","i"),Ge=new RegExp("^([+-])=("+ke+")","i"),We={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"},Xe=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=k(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=Z.camelCase(e),l=t.style;
  return e=Z.cssProps[s]||(Z.cssProps[s]=C(l,s)),a=Z.cssHooks[e]||Z.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e]:(o=typeof n,"string"===o&&(r=Ge.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(Z.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||Z.cssNumber[s]||(n+="px"),K.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n)),void 0)}},css:function(t,e,n,i){var r,o,a,s=Z.camelCase(e);return e=Z.cssProps[s]||(Z.cssProps[s]=C(t.style,s)),a=Z.cssHooks[e]||Z.cssHooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=k(t,e,i)),"normal"===r&&e in Ye&&(r=Ye[e]),""===n||n?(o=parseFloat(r),n===!0||Z.isNumeric(o)?o||0:r):r}}),Z.each(["height","width"],function(t,e){Z.cssHooks[e]={get:function(t,n,i){return n?ze.test(Z.css(t,"display"))&&0===t.offsetWidth?Z.swap(t,We,function(){return j(t,e,i)}):j(t,e,i):void 0},set:function(t,n,i){var r=i&&Ve(t);return T(t,n,i?S(t,e,i,"border-box"===Z.css(t,"boxSizing",!1,r),r):0)}}}),Z.cssHooks.marginRight=x(K.reliableMarginRight,function(t,e){return e?Z.swap(t,{display:"inline-block"},k,[t,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(t,e){Z.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+xe[i]+e]=o[i]||o[i-2]||o[0];return r}},qe.test(t)||(Z.cssHooks[t+e].set=T)}),Z.fn.extend({css:function(t,e){return ge(this,function(t,e,n){var i,r,o={},a=0;if(Z.isArray(e)){for(i=Ve(t),r=e.length;r>a;a++)o[e[a]]=Z.css(t,e[a],!1,i);return o}return void 0!==n?Z.style(t,e,n):Z.css(t,e)},t,e,arguments.length>1)},show:function(){return P(this,!0)},hide:function(){return P(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ce(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=E,E.prototype={constructor:E,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var t=E.propHooks[this.prop];return t&&t.get?t.get(this):E.propHooks._default.get(this)},run:function(t){var e,n=E.propHooks[this.prop];return this.pos=e=this.options.duration?Z.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):E.propHooks._default.set(this),this}},E.prototype.init.prototype=E.prototype,E.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Z.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){Z.fx.step[t.prop]?Z.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Z.cssProps[t.prop]]||Z.cssHooks[t.prop])?Z.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},E.propHooks.scrollTop=E.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Z.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Z.fx=E.prototype.init,Z.fx.step={};var Ke,Qe,Je=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+ke+")([a-z%]*)$","i"),tn=/queueHooks$/,en=[I],nn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=Ze.exec(e),o=r&&r[3]||(Z.cssNumber[t]?"":"px"),a=(Z.cssNumber[t]||"px"!==o&&+i)&&Ze.exec(Z.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,Z.style(n.elem,t,a+o);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};Z.Animation=Z.extend(D,{tweener:function(t,e){Z.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],nn[n]=nn[n]||[],nn[n].unshift(e)},prefilter:function(t,e){e?en.unshift(t):en.push(t)}}),Z.speed=function(t,e,n){var i=t&&"object"==typeof t?Z.extend({},t):{complete:n||!n&&e||Z.isFunction(t)&&t,duration:t,easing:n&&e||e&&!Z.isFunction(e)&&e};return i.duration=Z.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Z.fx.speeds?Z.fx.speeds[i.duration]:Z.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){Z.isFunction(i.old)&&i.old.call(this),i.queue&&Z.dequeue(this,i.queue)},i},Z.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ce).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=Z.isEmptyObject(t),o=Z.speed(e,n,i),a=function(){var e=D(this,Z.extend({},t),o);(r||be.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=Z.timers,a=be.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&tn.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&Z.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=be.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=Z.timers,a=i?i.length:0;for(n.finish=!0,Z.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Z.each(["toggle","show","hide"],function(t,e){var n=Z.fn[e];Z.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(_(e,!0),t,i,r)}}),Z.each({slideDown:_("show"),slideUp:_("hide"),slideToggle:_("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Z.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Z.timers=[],Z.fx.tick=function(){var t,e=0,n=Z.timers;for(Ke=Z.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Z.fx.stop(),Ke=void 0},Z.fx.timer=function(t){Z.timers.push(t),t()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Qe||(Qe=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Qe),Qe=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(t,e){return t=Z.fx?Z.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=Q.createElement("input"),e=Q.createElement("select"),n=e.appendChild(Q.createElement("option"));t.type="checkbox",K.checkOn=""!==t.value,K.optSelected=n.selected,e.disabled=!0,K.optDisabled=!n.disabled,t=Q.createElement("input"),t.value="t",t.type="radio",K.radioValue="t"===t.value}();var rn,on,an=Z.expr.attrHandle;Z.fn.extend({attr:function(t,e){return ge(this,Z.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Z.removeAttr(this,t)})}}),Z.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===Se?Z.prop(t,e,n):(1===o&&Z.isXMLDoc(t)||(e=e.toLowerCase(),i=Z.attrHooks[e]||(Z.expr.match.bool.test(e)?on:rn)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=Z.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void Z.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(fe);if(o&&1===t.nodeType)for(;n=o[r++];)i=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!K.radioValue&&"radio"===e&&Z.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),on={set:function(t,e,n){return e===!1?Z.removeAttr(t,n):t.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(t,e){var n=an[e]||Z.find.attr;an[e]=function(t,e,i){var r,o;return i||(o=an[e],an[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,an[e]=o),r}});var sn=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(t,e){return ge(this,Z.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Z.propFix[t]||t]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!Z.isXMLDoc(t),o&&(e=Z.propFix[e]||e,r=Z.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||sn.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),K.optSelected||(Z.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var ln=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(t){var e,n,i,r,o,a,s="string"==typeof t&&t,l=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).addClass(t.call(this,e,this.className))});if(s)for(e=(t||"").match(fe)||[];c>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=Z.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,r,o,a,s=0===arguments.length||"string"==typeof t&&t,l=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).removeClass(t.call(this,e,this.className))});if(s)for(e=(t||"").match(fe)||[];c>l;l++)if(n=this[l],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ln," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=t?Z.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(Z.isFunction(t)?function(n){Z(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,r=Z(this),o=t.match(fe)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===Se||"boolean"===n)&&(this.className&&be.set(this,"__className__",this.className),this.className=this.className||t===!1?"":be.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(ln," ").indexOf(e)>=0)return!0;return!1}});var cn=/\r/g;Z.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=Z.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,Z(this).val()):t,null==r?r="":"number"==typeof r?r+="":Z.isArray(r)&&(r=Z.map(r,function(t){return null==t?"":t+""})),e=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=Z.valHooks[r.type]||Z.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(cn,""):null==n?"":n)}}}),Z.extend({valHooks:{option:{get:function(t){var e=Z.find.attr(t,"value");return null!=e?e:Z.trim(Z.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==r||(K.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&Z.nodeName(n.parentNode,"optgroup"))){if(e=Z(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=Z.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=Z.inArray(i.value,o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(t,e){return Z.isArray(e)?t.checked=Z.inArray(Z(t).val(),e)>=0:void 0}},K.checkOn||(Z.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){Z.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Z.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var un=Z.now(),dn=/\?/;Z.parseJSON=function(t){return JSON.parse(t+"")},Z.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,e=n.parseFromString(t,"text/xml")}catch(i){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+t),e};var hn,fn,pn=/#.*$/,mn=/([?&])_=[^&]*/,gn=/^(.*?):[ \t]*([^\r\n]*)$/gm,bn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yn=/^(?:GET|HEAD)$/,vn=/^\/\//,wn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,kn={},xn={},Cn="*/".concat("*");try{fn=location.href}catch(Tn){fn=Q.createElement("a"),fn.href="",fn=fn.href}hn=wn.exec(fn.toLowerCase())||[],Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fn,type:"GET",isLocal:bn.test(hn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?L(L(t,Z.ajaxSettings),e):L(Z.ajaxSettings,t)},ajaxPrefilter:N(kn),ajaxTransport:N(xn),ajax:function(t,e){function n(t,e,n,a){var l,u,b,y,w,x=e;2!==v&&(v=2,s&&clearTimeout(s),i=void 0,o=a||"",k.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(y=F(d,k,n)),y=B(d,y,k,l),l?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(Z.lastModified[r]=w),w=k.getResponseHeader("etag"),w&&(Z.etag[r]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=y.state,u=y.data,b=y.error,l=!b)):(b=x,(t||!x)&&(x="error",0>t&&(t=0))),k.status=t,k.statusText=(e||x)+"",l?p.resolveWith(h,[u,x,k]):p.rejectWith(h,[k,x,b]),k.statusCode(g),g=void 0,c&&f.trigger(l?"ajaxSuccess":"ajaxError",[k,d,l?u:b]),m.fireWith(h,[k,x]),c&&(f.trigger("ajaxComplete",[k,d]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,s,l,c,u,d=Z.ajaxSetup({},e),h=d.context||d,f=d.context&&(h.nodeType||h.jquery)?Z(h):Z.event,p=Z.Deferred(),m=Z.Callbacks("once memory"),g=d.statusCode||{},b={},y={},v=0,w="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(2===v){if(!a)for(a={};e=gn.exec(o);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===v?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return v||(t=y[n]=y[n]||t,b[t]=e),this},overrideMimeType:function(t){return v||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>v)for(e in t)g[e]=[g[e],t[e]];else k.always(t[k.status]);return this},abort:function(t){var e=t||w;return i&&i.abort(e),n(0,e),this}};if(p.promise(k).complete=m.add,k.success=k.done,k.error=k.fail,d.url=((t||d.url||fn)+"").replace(pn,"").replace(vn,hn[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=Z.trim(d.dataType||"*").toLowerCase().match(fe)||[""],null==d.crossDomain&&(l=wn.exec(d.url.toLowerCase()),d.crossDomain=!(!l||l[1]===hn[1]&&l[2]===hn[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(hn[3]||("http:"===hn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Z.param(d.data,d.traditional)),A(kn,d,e,k),2===v)return k;c=d.global,c&&0===Z.active++&&Z.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!yn.test(d.type),r=d.url,d.hasContent||(d.data&&(r=d.url+=(dn.test(r)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=mn.test(r)?r.replace(mn,"$1_="+un++):r+(dn.test(r)?"&":"?")+"_="+un++)),d.ifModified&&(Z.lastModified[r]&&k.setRequestHeader("If-Modified-Since",Z.lastModified[r]),Z.etag[r]&&k.setRequestHeader("If-None-Match",Z.etag[r])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Cn+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)k.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(h,k,d)===!1||2===v))return k.abort();w="abort";for(u in{success:1,error:1,complete:1})k[u](d[u]);if(i=A(xn,d,e,k)){k.readyState=1,c&&f.trigger("ajaxSend",[k,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){k.abort("timeout")},d.timeout));try{v=1,i.send(b,n)}catch(x){if(!(2>v))throw x;n(-1,x)}}else n(-1,"No Transport");return k},getJSON:function(t,e,n){return Z.get(t,e,n,"json")},getScript:function(t,e){return Z.get(t,void 0,e,"script")}}),Z.each(["get","post"],function(t,e){Z[e]=function(t,n,i,r){return Z.isFunction(n)&&(r=r||i,i=n,n=void 0),Z.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Z.fn[e]=function(t){return this.on(e,t)}}),Z._evalUrl=function(t){return Z.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(t){var e;return Z.isFunction(t)?this.each(function(e){Z(this).wrapAll(t.call(this,e))}):(this[0]&&(e=Z(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(Z.isFunction(t)?function(e){Z(this).wrapInner(t.call(this,e))}:function(){var e=Z(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Z.isFunction(t);return this.each(function(n){Z(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Z.expr.filters.visible=function(t){return!Z.expr.filters.hidden(t)};var Sn=/%20/g,jn=/\[\]$/,Pn=/\r?\n/g,En=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;Z.param=function(t,e){var n,i=[],r=function(t,e){e=Z.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(t)||t.jquery&&!Z.isPlainObject(t))Z.each(t,function(){r(this.name,this.value)});else for(n in t)M(n,t[n],e,r);return i.join("&").replace(Sn,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Z.prop(this,"elements");return t?Z.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Z(this).is(":disabled")&&$n.test(this.nodeName)&&!En.test(t)&&(this.checked||!Te.test(t))}).map(function(t,e){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(t){return{name:e.name,value:t.replace(Pn,"\r\n")}}):{name:e.name,value:n.replace(Pn,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var _n=0,On={},In={0:200,1223:204},Rn=Z.ajaxSettings.xhr();t.ActiveXObject&&Z(t).on("unload",function(){for(var t in On)On[t]()}),K.cors=!!Rn&&"withCredentials"in Rn,K.ajax=Rn=!!Rn,Z.ajaxTransport(function(t){var e;return K.cors||Rn&&!t.crossDomain?{send:function(n,i){var r,o=t.xhr(),a=++_n;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)o.setRequestHeader(r,n[r]);e=function(t){return function(){e&&(delete On[a],e=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?i(o.status,o.statusText):i(In[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=e(),o.onerror=e("error"),e=On[a]=e("abort");try{o.send(t.hasContent&&t.data||null)}catch(s){if(e)throw s}},abort:function(){e&&e()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Z.globalEval(t),t}}}),Z.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Z.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=Z("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),Q.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Dn=[],Nn=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Dn.pop()||Z.expando+"_"+un++;return this[t]=!0,t}}),Z.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,a,s=e.jsonp!==!1&&(Nn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Nn.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=Z.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Nn,"$1"+r):e.jsonp!==!1&&(e.url+=(dn.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||Z.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,Dn.push(r)),a&&Z.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),Z.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Q;var i=ae.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=Z.buildFragment([t],e,r),r&&r.length&&Z(r).remove(),Z.merge([],i.childNodes))};var An=Z.fn.load;Z.fn.load=function(t,e,n){if("string"!=typeof t&&An)return An.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>=0&&(i=Z.trim(t.slice(s)),t=t.slice(0,s)),Z.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&Z.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?Z("<div>").append(Z.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,o||[t.responseText,e,t])}),this},Z.expr.filters.animated=function(t){return Z.grep(Z.timers,function(e){return t===e.elem}).length};var Ln=t.document.documentElement;Z.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,c,u=Z.css(t,"position"),d=Z(t),h={};"static"===u&&(t.style.position="relative"),s=d.offset(),o=Z.css(t,"top"),l=Z.css(t,"left"),c=("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1,c?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),Z.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):d.css(h)}},Z.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Z.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;if(o)return e=o.documentElement,Z.contains(e,i)?(typeof i.getBoundingClientRect!==Se&&(r=i.getBoundingClientRect()),n=q(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===Z.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Z.nodeName(t[0],"html")||(i=t.offset()),i.top+=Z.css(t[0],"borderTopWidth",!0),i.left+=Z.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Z.css(n,"marginTop",!0),left:e.left-i.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Ln;t&&!Z.nodeName(t,"html")&&"static"===Z.css(t,"position");)t=t.offsetParent;return t||Ln})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;Z.fn[e]=function(r){return ge(this,function(e,r,o){var a=q(e);return void 0===o?a?a[n]:e[r]:void(a?a.scrollTo(i?t.pageXOffset:o,i?o:t.pageYOffset):e[r]=o)},e,r,arguments.length,null)}}),Z.each(["top","left"],function(t,e){Z.cssHooks[e]=x(K.pixelPosition,function(t,n){return n?(n=k(t,e),He.test(n)?Z(t).position()[e]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(t,e){Z.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Z.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return ge(this,function(e,n,i){var r;return Z.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?Z.css(e,n,a):Z.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var Fn=t.jQuery,Bn=t.$;return Z.noConflict=function(e){return t.$===Z&&(t.$=Bn),e&&t.jQuery===Z&&(t.jQuery=Fn),Z},typeof e===Se&&(t.jQuery=t.$=Z),Z})},{}],media_control:[function(t,e){"use strict";e.exports=t("./media_control")},{"./media_control":20}],mediator:[function(t,e){"use strict";var n=t("../base/events"),i=new n,r=function(){};$traceurRuntime.createClass(r,{},{}),r.on=function(t,e,n){i.on(t,e,n)},r.once=function(t,e,n){i.once(t,e,n)},r.off=function(t,e,n){i.off(t,e,n)},r.trigger=function(t,e){i.trigger(t,e)},r.stopListening=function(t,e,n){i.stopListening(t,e,n)},e.exports=r},{"../base/events":6}],playback:[function(t,e){"use strict";var n=t("ui_object"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.settings={}},r=i;$traceurRuntime.createClass(i,{play:function(){},pause:function(){},stop:function(){},seek:function(){},getDuration:function(){return 0},isPlaying:function(){return!1},getPlaybackType:function(){return"no_op"},isHighDefinitionInUse:function(){return!1},volume:function(){},destroy:function(){this.$el.remove()}},{},n),i.canPlay=function(){return!1},e.exports=i},{ui_object:void 0}],player_info:[function(t,e){"use strict";var n={options:{},playbackPlugins:[],currentSize:{width:0,height:0}};e.exports=n},{}],ui_container_plugin:[function(t,e){"use strict";var n=t("ui_object"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.enabled=!0,this.bindEvents()},r=i;$traceurRuntime.createClass(i,{enable:function(){this.bindEvents(),this.$el.show(),this.enabled=!0},disable:function(){this.stopListening(),this.$el.hide(),this.enabled=!1},bindEvents:function(){},destroy:function(){this.remove()}},{},n),e.exports=i},{ui_object:void 0}],ui_core_plugin:[function(t,e){"use strict";var n=t("ui_object"),i=function(t){$traceurRuntime.superCall(this,r.prototype,"constructor",[t]),this.core=t,this.enabled=!0,this.bindEvents(),this.render()},r=i;$traceurRuntime.createClass(i,{bindEvents:function(){},getExternalInterface:function(){return{}},enable:function(){this.bindEvents(),this.$el.show(),this.enabled=!0},disable:function(){this.stopListening(),this.$el.hide(),this.enabled=!1},destroy:function(){this.remove()},render:function(){return this.$el.html(this.template()),this.$el.append(this.styler.getStyleFor(this.name)),this.core.$el.append(this.el),this}},{},n),e.exports=i},{ui_object:void 0}],ui_object:[function(t,e){(function(n){"use strict";var i=t("jquery"),r="undefined"!=typeof window?window._:"undefined"!=typeof n?n._:null,o=t("./utils").extend,a=t("base_object"),s=/^(\S+)\s*(.*)$/,l=function(t){$traceurRuntime.superCall(this,c.prototype,"constructor",[t]),this.cid=r.uniqueId("c"),this._ensureElement(),this.delegateEvents()},c=l;$traceurRuntime.createClass(l,{get tagName(){return"div"},$:function(t){return this.$el.find(t)},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,e){return this.$el&&this.undelegateEvents(),this.$el=t instanceof i?t:i(t),this.el=this.$el[0],e!==!1&&this.delegateEvents(),this},delegateEvents:function(t){if(!t&&!(t=r.result(this,"events")))return this;this.undelegateEvents();for(var e in t){var n=t[e];if(r.isFunction(n)||(n=this[t[e]]),n){var i=e.match(s),o=i[1],a=i[2];n=r.bind(n,this),o+=".delegateEvents"+this.cid,""===a?this.$el.on(o,n):this.$el.on(o,a,n)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(r.result(this,"el"),!1);else{var t=r.extend({},r.result(this,"attributes"));this.id&&(t.id=r.result(this,"id")),this.className&&(t["class"]=r.result(this,"className"));var e=i("<"+r.result(this,"tagName")+">").attr(t);this.setElement(e,!1)}}},{},a),l.extend=o,e.exports=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./utils":9,base_object:void 0,jquery:void 0}]},{},[3,1]);