(function (){ 
var GLOBAL_Boolean=Boolean,GLOBAL_undefined=undefined,GLOBAL_encodeURIComponent=encodeURIComponent,GLOBAL_String=String,GLOBAL_window=window,GLOBAL_Object=Object,GLOBAL_document=document,GLOBAL_decodeURIComponent=decodeURIComponent;function SETPROP_toString(a,b){return a.toString=b}function SETPROP_length(a,b){return a.length=b}function SETPROP_currentTarget(a,b){return a.currentTarget=b}function SETPROP_target(a,b){return a.target=b}function SETPROP_coords(a,b){return a.coords=b}
function SETPROP_type(a,b){return a.type=b}function SETPROP_height(a,b){return a.height=b}
var $$PROP_push="push",$$PROP_filter="filter",$$PROP_toString="toString",$$PROP_length="length",$$PROP_prototype="prototype",$$PROP_width="width",$$PROP_replace="replace",$$PROP_split="split",$$PROP_indexOf="indexOf",$$PROP_hasOwnProperty="hasOwnProperty",$$PROP_style="style",$$PROP_target="target",$$PROP_call="call",$$PROP_coords="coords",$$PROP_keyCode="keyCode",$$PROP_forEach="forEach",$$PROP_substring="substring",$$PROP_handleEvent="handleEvent",$$PROP_maxHeight="maxHeight",$$PROP_type="type",
$$PROP_contains="contains",$$PROP_parentNode="parentNode",$$PROP_join="join",$$PROP_toLowerCase="toLowerCase",JSCompiler_extractPrototype,goog=goog||{},goog$global=this,goog$exportPath_=function(name,opt_object,opt_objectToExportTo){var parts=name[$$PROP_split]("."),cur=opt_objectToExportTo||goog$global,part;!(parts[0]in cur)&&cur.execScript&&cur.execScript("var "+parts[0]);for(;parts[$$PROP_length]&&(part=parts.shift());)if(!parts[$$PROP_length]&&goog$isDef(opt_object))cur[part]=opt_object;else cur=
cur[part]?cur[part]:(cur[part]={})},goog$getObjectByName=function(name,opt_obj){var parts=name[$$PROP_split]("."),cur=opt_obj||goog$global,part;for(;part=parts.shift();)if(cur[part])cur=cur[part];else return null;return cur},goog$nullFunction=function(){},goog$typeOf=function(value){var s=typeof value;if(s=="object")if(value){if(value instanceof Array||!(value instanceof GLOBAL_Object)&&GLOBAL_Object[$$PROP_prototype][$$PROP_toString][$$PROP_call](value)=="[object Array]")return"array";if(typeof value[$$PROP_call]!=
"undefined")return"function"}else return"null";else if(s=="function"&&typeof value[$$PROP_call]=="undefined")return"object";return s},goog$isDef=function(val){return typeof val!="undefined"},goog$isArray=function(val){return goog$typeOf(val)=="array"},goog$isArrayLike=function(val){var type=goog$typeOf(val);return type=="array"||type=="object"&&typeof val[$$PROP_length]=="number"},goog$isString=function(val){return typeof val=="string"},goog$isFunction=function(val){return goog$typeOf(val)=="function"},
goog$getHashCode=function(obj){if(obj[$$PROP_hasOwnProperty]&&obj[$$PROP_hasOwnProperty](goog$HASH_CODE_PROPERTY_)){var hashCode=obj[goog$HASH_CODE_PROPERTY_];if(hashCode)return hashCode}obj[goog$HASH_CODE_PROPERTY_]||(obj[goog$HASH_CODE_PROPERTY_]=++goog$hashCodeCounter_);return obj[goog$HASH_CODE_PROPERTY_]},goog$HASH_CODE_PROPERTY_="closure_hashCode_",goog$hashCodeCounter_=0,goog$cloneObject=function(proto){var type=goog$typeOf(proto);if(type=="object"||type=="array"){if(proto.clone)return proto.clone[$$PROP_call](proto);
var clone=type=="array"?[]:{};for(var key in proto)clone[key]=goog$cloneObject(proto[key]);return clone}return proto},goog$now=Date.now||function(){return(new Date).getTime()},goog$exportSymbol=function(publicPath,object,opt_objectToExportTo){goog$exportPath_(publicPath,object,opt_objectToExportTo)},goog$inherits=function(childCtor,parentCtor){function tempCtor(){}tempCtor.prototype=parentCtor[$$PROP_prototype];childCtor.superClass_=parentCtor[$$PROP_prototype];childCtor.prototype=new tempCtor};var goog$array$indexOf=function(arr,obj,opt_fromIndex){if(arr[$$PROP_indexOf])return arr[$$PROP_indexOf](obj,opt_fromIndex);if(Array[$$PROP_indexOf])return Array[$$PROP_indexOf](arr,obj,opt_fromIndex);var i=opt_fromIndex==null?0:opt_fromIndex<0?Math.max(0,arr[$$PROP_length]+opt_fromIndex):opt_fromIndex;for(;i<arr[$$PROP_length];i++)if(i in arr&&arr[i]===obj)return i;return-1},goog$array$forEach=function(arr,f,opt_obj){if(arr[$$PROP_forEach])arr[$$PROP_forEach](f,opt_obj);else if(Array[$$PROP_forEach])Array[$$PROP_forEach](arr,
f,opt_obj);else{var l=arr[$$PROP_length],arr2=goog$isString(arr)?arr[$$PROP_split](""):arr,i=0;for(;i<l;i++)i in arr2&&f[$$PROP_call](opt_obj,arr2[i],i,arr)}},goog$array$filter=function(arr,f,opt_obj){if(arr[$$PROP_filter])return arr[$$PROP_filter](f,opt_obj);if(Array[$$PROP_filter])return Array[$$PROP_filter](arr,f,opt_obj);var l=arr[$$PROP_length],res=[],resLength=0,arr2=goog$isString(arr)?arr[$$PROP_split](""):arr,i=0;for(;i<l;i++)if(i in arr2){var val=arr2[i];if(f[$$PROP_call](opt_obj,val,i,arr))res[resLength++]=
val}return res},goog$array$contains=function(arr,obj){if(arr[$$PROP_contains])return arr[$$PROP_contains](obj);return goog$array$indexOf(arr,obj)>-1},goog$array$remove=function(arr,obj){var i=goog$array$indexOf(arr,obj),rv;if(rv=i!=-1)Array[$$PROP_prototype].splice[$$PROP_call](arr,i,1)[$$PROP_length]==1;return rv};
var goog$array$clone=function(arr){if(goog$isArray(arr))return arr.concat();else{var rv=[],i=0,len=arr[$$PROP_length];for(;i<len;i++)rv[i]=arr[i];return rv}},goog$array$toArray=function(object){if(goog$isArray(object))return object.concat();return goog$array$clone(object)},goog$array$extend=function(arr1){var i=1;for(;i<arguments[$$PROP_length];i++){var arr2=arguments[i];if(goog$isArrayLike(arr2)){arr2=goog$array$toArray(arr2);arr1[$$PROP_push].apply(arr1,arr2)}else arr1[$$PROP_push](arr2)}},goog$array$splice=
function(arr){return Array[$$PROP_prototype].splice.apply(arr,goog$array$slice(arguments,1))},goog$array$slice=function(arr,start,opt_end){return arguments[$$PROP_length]<=2?Array[$$PROP_prototype].slice[$$PROP_call](arr,start):Array[$$PROP_prototype].slice[$$PROP_call](arr,start,opt_end)};var goog$dom$defaultDomHelper_,goog$dom$classes$get=function(element){var className=element.className;return className&&typeof className[$$PROP_split]=="function"?className[$$PROP_split](" "):[]},goog$dom$classes$add=function(element){var classes=goog$dom$classes$get(element),rv=1,i=1;for(;i<arguments[$$PROP_length];i++)if(goog$array$contains(classes,arguments[i]))rv&=0;else{classes[$$PROP_push](arguments[i]);rv&=1}element.className=classes[$$PROP_join](" ");return GLOBAL_Boolean(rv)},goog$dom$classes$remove=
function(element){var classes=goog$dom$classes$get(element),args=goog$array$slice(arguments,1),rv=0,i=0;for(;i<classes[$$PROP_length];i++)if(goog$array$contains(args,classes[i])){goog$array$splice(classes,i--,1);rv++}element.className=classes[$$PROP_join](" ");return rv==args[$$PROP_length]};var goog$math$Coordinate=function(opt_x,opt_y){this.x=goog$isDef(opt_x)?opt_x:0;this.y=goog$isDef(opt_y)?opt_y:0};goog$math$Coordinate[$$PROP_prototype].clone=function(){return new goog$math$Coordinate(this.x,this.y)};SETPROP_toString(goog$math$Coordinate[$$PROP_prototype],function(){return"("+this.x+", "+this.y+")"});var goog$math$Size=function(width,height){this.width=width;SETPROP_height(this,height)};goog$math$Size[$$PROP_prototype].clone=function(){return new goog$math$Size(this[$$PROP_width],this.height)};SETPROP_toString(goog$math$Size[$$PROP_prototype],function(){return"("+this[$$PROP_width]+" x "+this.height+")"});goog$math$Size[$$PROP_prototype].round=function(){this.width=Math.round(this[$$PROP_width]);SETPROP_height(this,Math.round(this.height));return this};var goog$object$forEach=function(obj,f,opt_obj){for(var key in obj)f[$$PROP_call](opt_obj,obj[key],key,obj)},goog$object$getValues=function(obj){var res=[],i=0;for(var key in obj)res[i++]=obj[key];return res},goog$object$getKeys=function(obj){var res=[],i=0;for(var key in obj)res[i++]=key;return res},goog$object$isEmpty=function(obj){for(var key in obj)return false;return true},goog$object$PROTOTYPE_FIELDS_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString",
"valueOf"],goog$object$extend=function(target){var key,source,i=1;for(;i<arguments[$$PROP_length];i++){source=arguments[i];for(key in source)target[key]=source[key];var j=0;for(;j<goog$object$PROTOTYPE_FIELDS_[$$PROP_length];j++){key=goog$object$PROTOTYPE_FIELDS_[j];if(GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty][$$PROP_call](source,key))target[key]=source[key]}}};var goog$string$trim=function(str){return str[$$PROP_replace](/^[\s\xa0]+|[\s\xa0]+$/g,"")},goog$string$encodeUriRegExp_=/^[a-zA-Z0-9\-_.!~*'()]*$/,goog$string$urlEncode=function(str){str=GLOBAL_String(str);if(!goog$string$encodeUriRegExp_.test(str))return GLOBAL_encodeURIComponent(str);return str};
var goog$string$buildString=function(){return Array[$$PROP_prototype][$$PROP_join][$$PROP_call](arguments,"")},goog$string$compareVersions=function(version1,version2){var order=0,v1Subs=goog$string$trim(GLOBAL_String(version1))[$$PROP_split]("."),v2Subs=goog$string$trim(GLOBAL_String(version2))[$$PROP_split]("."),subCount=Math.max(v1Subs[$$PROP_length],v2Subs[$$PROP_length]),subIdx=0;for(;order==0&&subIdx<subCount;subIdx++){var v1Sub=v1Subs[subIdx]||"",v2Sub=v2Subs[subIdx]||"",v1CompParser=new RegExp("(\\d*)(\\D*)",
"g"),v2CompParser=new RegExp("(\\d*)(\\D*)","g");do{var v1Comp=v1CompParser.exec(v1Sub)||["","",""],v2Comp=v2CompParser.exec(v2Sub)||["","",""];if(v1Comp[0][$$PROP_length]==0&&v2Comp[0][$$PROP_length]==0)break;var v1CompNum=v1Comp[1][$$PROP_length]==0?0:parseInt(v1Comp[1],10),v2CompNum=v2Comp[1][$$PROP_length]==0?0:parseInt(v2Comp[1],10);order=goog$string$compareElements_(v1CompNum,v2CompNum)||goog$string$compareElements_(v1Comp[2][$$PROP_length]==0,v2Comp[2][$$PROP_length]==0)||goog$string$compareElements_(v1Comp[2],
v2Comp[2])}while(order==0)}return order},goog$string$compareElements_=function(left,right){if(left<right)return-1;else if(left>right)return 1;return 0};var goog$userAgent$detectedOpera_,goog$userAgent$detectedIe_,goog$userAgent$detectedWebkit_,goog$userAgent$detectedMobile_,goog$userAgent$detectedGecko_,goog$userAgent$detectedCamino_,goog$userAgent$detectedMac_,goog$userAgent$detectedWindows_,goog$userAgent$detectedLinux_,goog$userAgent$getUserAgentString=function(){return goog$global.navigator?goog$global.navigator.userAgent:null};
(function(){goog$userAgent$detectedCamino_=goog$userAgent$detectedGecko_=goog$userAgent$detectedMobile_=goog$userAgent$detectedWebkit_=goog$userAgent$detectedIe_=goog$userAgent$detectedOpera_=false;var ua;if(ua=goog$userAgent$getUserAgentString()){var navigator=goog$global.navigator;goog$userAgent$detectedOpera_=ua[$$PROP_indexOf]("Opera")==0;goog$userAgent$detectedIe_=!goog$userAgent$detectedOpera_&&ua[$$PROP_indexOf]("MSIE")!=-1;goog$userAgent$detectedMobile_=(goog$userAgent$detectedWebkit_=!goog$userAgent$detectedOpera_&&
ua[$$PROP_indexOf]("WebKit")!=-1)&&ua[$$PROP_indexOf]("Mobile")!=-1;goog$userAgent$detectedCamino_=(goog$userAgent$detectedGecko_=!goog$userAgent$detectedOpera_&&!goog$userAgent$detectedWebkit_&&navigator.product=="Gecko")&&navigator.vendor=="Camino"}})();
var goog$userAgent$OPERA=goog$userAgent$detectedOpera_,goog$userAgent$IE=goog$userAgent$detectedIe_,goog$userAgent$GECKO=goog$userAgent$detectedGecko_,goog$userAgent$WEBKIT=goog$userAgent$detectedWebkit_,goog$userAgent$PLATFORM=(function(){var navigator=goog$global.navigator;return navigator&&navigator.platform||""})();
(function(){goog$userAgent$detectedMac_=goog$userAgent$PLATFORM[$$PROP_indexOf]("Mac")!=-1;goog$userAgent$detectedWindows_=goog$userAgent$PLATFORM[$$PROP_indexOf]("Win")!=-1;goog$userAgent$detectedLinux_=goog$userAgent$PLATFORM[$$PROP_indexOf]("Linux")!=-1})();
var goog$userAgent$VERSION=(function(){var version="",re;if(goog$userAgent$OPERA&&goog$global.opera){var operaVersion=goog$global.opera.version;version=typeof operaVersion=="function"?operaVersion():operaVersion}else{if(goog$userAgent$GECKO)re=/rv\:([^\);]+)(\)|;)/;else if(goog$userAgent$IE)re=/MSIE\s+([^\);]+)(\)|;)/;else if(goog$userAgent$WEBKIT)re=/WebKit\/(\S+)/;if(re){var arr=re.exec(goog$userAgent$getUserAgentString());version=arr?arr[1]:""}}return version})();var goog$dom$$$=function(opt_tag,opt_class,opt_el){return(goog$dom$defaultDomHelper_||(goog$dom$defaultDomHelper_=new goog$dom$DomHelper)).getElementsByTagNameAndClass(opt_tag,opt_class,opt_el)},goog$dom$appendChild=function(parent,child){parent.appendChild(child)},goog$dom$BAD_CONTAINS_WEBKIT_=goog$userAgent$WEBKIT&&goog$string$compareVersions(goog$userAgent$VERSION,"521")<=0,goog$dom$contains=function(parent,descendant){if(typeof parent[$$PROP_contains]!="undefined"&&!goog$dom$BAD_CONTAINS_WEBKIT_&&
descendant.nodeType==1)return parent==descendant||parent[$$PROP_contains](descendant);if(typeof parent.compareDocumentPosition!="undefined")return parent==descendant||GLOBAL_Boolean(parent.compareDocumentPosition(descendant)&16);for(;descendant&&parent!=descendant;)descendant=descendant[$$PROP_parentNode];return descendant==parent},goog$dom$DomHelper=function(opt_document){this.document_=opt_document||goog$global.document||GLOBAL_document};JSCompiler_extractPrototype=goog$dom$DomHelper[$$PROP_prototype];
JSCompiler_extractPrototype.getElementsByTagNameAndClass=function(opt_tag,opt_class,opt_el){var parent=opt_el||this.document_,tagName=opt_tag&&opt_tag!="*"?opt_tag[$$PROP_toLowerCase]():"";if(parent.querySelectorAll&&(tagName||opt_class)&&(!goog$userAgent$WEBKIT||this.isCss1CompatMode()||goog$string$compareVersions(goog$userAgent$VERSION,"528")>=0)){var nodeList=parent.querySelectorAll(tagName+(opt_class?"."+opt_class:""));return goog$userAgent$IE&&goog$string$compareVersions(goog$userAgent$VERSION,
"8")>=0?goog$array$toArray(nodeList):nodeList}if(opt_class&&parent.getElementsByClassName){var els=parent.getElementsByClassName(opt_class);if(tagName){var rv=[],i=0,el;for(;el=els[i];i++)tagName==el.nodeName[$$PROP_toLowerCase]()&&rv[$$PROP_push](el);return rv}else return els}var els=parent.getElementsByTagName(tagName||"*");if(opt_class){var rv=[],i=0,el;for(;el=els[i];i++){var className=el.className;typeof className[$$PROP_split]=="function"&&goog$array$contains(className[$$PROP_split](" "),opt_class)&&
rv[$$PROP_push](el)}return rv}else return els};JSCompiler_extractPrototype.createElement=function(name){return this.document_.createElement(name)};JSCompiler_extractPrototype.isCss1CompatMode=function(){var doc=this.document_;if(doc.compatMode)return doc.compatMode=="CSS1Compat";if(goog$userAgent$WEBKIT){var el=doc.createElement("div");el[$$PROP_style].cssText="position:absolute;width:0;height:0;width:1";return(doc.compatMode=el[$$PROP_style][$$PROP_width]=="1px"?"BackCompat":"CSS1Compat")=="CSS1Compat"}return false};
JSCompiler_extractPrototype.appendChild=goog$dom$appendChild;JSCompiler_extractPrototype.contains=goog$dom$contains;var goog$Disposable=function(){};goog$Disposable[$$PROP_prototype].disposed_=false;goog$Disposable[$$PROP_prototype].dispose=function(){if(!this.disposed_){this.disposed_=true;this.disposeInternal()}};goog$Disposable[$$PROP_prototype].disposeInternal=function(){};var goog$structs$SimplePool=function(initialCount,maxCount){goog$Disposable[$$PROP_call](this);this.maxCount_=maxCount;this.freeQueue_=[];this.createInitial_(initialCount)};goog$inherits(goog$structs$SimplePool,goog$Disposable);JSCompiler_extractPrototype=goog$structs$SimplePool[$$PROP_prototype];JSCompiler_extractPrototype.createObjectFn_=null;JSCompiler_extractPrototype.disposeObjectFn_=null;JSCompiler_extractPrototype.setCreateObjectFn=function(createObjectFn){this.createObjectFn_=createObjectFn};
JSCompiler_extractPrototype.setDisposeObjectFn=function(disposeObjectFn){this.disposeObjectFn_=disposeObjectFn};JSCompiler_extractPrototype.getObject=function(){if(this.freeQueue_[$$PROP_length])return this.freeQueue_.pop();return this.createObject()};JSCompiler_extractPrototype.releaseObject=function(obj){this.freeQueue_[$$PROP_length]<this.maxCount_?this.freeQueue_[$$PROP_push](obj):this.disposeObject(obj)};
JSCompiler_extractPrototype.createInitial_=function(initialCount){if(initialCount>this.maxCount_)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");var i=0;for(;i<initialCount;i++)this.freeQueue_[$$PROP_push](this.createObject())};JSCompiler_extractPrototype.createObject=function(){return this.createObjectFn_?this.createObjectFn_():{}};
JSCompiler_extractPrototype.disposeObject=function(obj){if(this.disposeObjectFn_)this.disposeObjectFn_(obj);else if(goog$isFunction(obj.dispose))obj.dispose();else for(var i in obj)delete obj[i]};JSCompiler_extractPrototype.disposeInternal=function(){goog$structs$SimplePool.superClass_.disposeInternal[$$PROP_call](this);var freeQueue=this.freeQueue_;for(;freeQueue[$$PROP_length];)this.disposeObject(freeQueue.pop());delete this.freeQueue_};var goog$events$Event=function(type,opt_target){SETPROP_type(this,type);SETPROP_target(this,opt_target);SETPROP_currentTarget(this,this[$$PROP_target])};goog$inherits(goog$events$Event,goog$Disposable);goog$events$Event[$$PROP_prototype].disposeInternal=function(){delete this[$$PROP_type];delete this[$$PROP_target];delete this.currentTarget};goog$events$Event[$$PROP_prototype].propagationStopped_=false;goog$events$Event[$$PROP_prototype].returnValue_=true;var goog$events$BrowserEvent=function(opt_e,opt_currentTarget){opt_e&&this.init(opt_e,opt_currentTarget)};goog$inherits(goog$events$BrowserEvent,goog$events$Event);JSCompiler_extractPrototype=goog$events$BrowserEvent[$$PROP_prototype];SETPROP_type(JSCompiler_extractPrototype,null);SETPROP_target(JSCompiler_extractPrototype,null);JSCompiler_extractPrototype.relatedTarget=null;JSCompiler_extractPrototype.offsetX=0;JSCompiler_extractPrototype.offsetY=0;JSCompiler_extractPrototype.clientX=0;
JSCompiler_extractPrototype.clientY=0;JSCompiler_extractPrototype.screenX=0;JSCompiler_extractPrototype.screenY=0;JSCompiler_extractPrototype.button=0;JSCompiler_extractPrototype.keyCode=0;JSCompiler_extractPrototype.charCode=0;JSCompiler_extractPrototype.ctrlKey=false;JSCompiler_extractPrototype.altKey=false;JSCompiler_extractPrototype.shiftKey=false;JSCompiler_extractPrototype.metaKey=false;JSCompiler_extractPrototype.event_=null;
JSCompiler_extractPrototype.init=function(e,opt_currentTarget){SETPROP_type(this,e[$$PROP_type]);SETPROP_target(this,e[$$PROP_target]||e.srcElement);SETPROP_currentTarget(this,opt_currentTarget);this.relatedTarget=e.relatedTarget?e.relatedTarget:this[$$PROP_type]=="mouseover"?e.fromElement:this[$$PROP_type]=="mouseout"?e.toElement:null;this.offsetX=typeof e.layerX=="number"?e.layerX:e.offsetX;this.offsetY=typeof e.layerY=="number"?e.layerY:e.offsetY;this.clientX=typeof e.clientX=="number"?e.clientX:
e.pageX;this.clientY=typeof e.clientY=="number"?e.clientY:e.pageY;this.screenX=e.screenX||0;this.screenY=e.screenY||0;this.button=e.button;this.keyCode=e[$$PROP_keyCode]||0;this.charCode=e.charCode||(this[$$PROP_type]=="keypress"?e[$$PROP_keyCode]:0);this.ctrlKey=e.ctrlKey;this.altKey=e.altKey;this.shiftKey=e.shiftKey;this.metaKey=e.metaKey;this.event_=e;delete this.returnValue_;delete this.propagationStopped_};
JSCompiler_extractPrototype.disposeInternal=function(){goog$events$BrowserEvent.superClass_.disposeInternal[$$PROP_call](this);this.event_=null};var goog$events$Listener=function(){},goog$events$Listener$counter_=0;JSCompiler_extractPrototype=goog$events$Listener[$$PROP_prototype];JSCompiler_extractPrototype.isFunctionListener_=null;JSCompiler_extractPrototype.listener=null;JSCompiler_extractPrototype.proxy=null;JSCompiler_extractPrototype.src=null;SETPROP_type(JSCompiler_extractPrototype,null);JSCompiler_extractPrototype.capture=null;JSCompiler_extractPrototype.handler=null;JSCompiler_extractPrototype.key=0;
JSCompiler_extractPrototype.removed=false;JSCompiler_extractPrototype.callOnce=false;
JSCompiler_extractPrototype.init=function(listener,proxy,src,type,capture,handler){if(goog$isFunction(listener))this.isFunctionListener_=true;else if(listener&&listener[$$PROP_handleEvent]&&goog$isFunction(listener[$$PROP_handleEvent]))this.isFunctionListener_=false;else throw Error("Invalid listener argument");this.listener=listener;this.proxy=proxy;this.src=src;SETPROP_type(this,type);this.capture=!!capture;this.handler=handler;this.callOnce=false;this.key=++goog$events$Listener$counter_;this.removed=
false};JSCompiler_extractPrototype.handleEvent=function(eventObject){if(this.isFunctionListener_)return this.listener[$$PROP_call](this.handler||this.src,eventObject);return this.listener[$$PROP_handleEvent][$$PROP_call](this.listener,eventObject)};var goog$events$listeners_={},goog$events$listenerTree_={},goog$events$sources_={},goog$events$objectPool_=new goog$structs$SimplePool(0,600);goog$events$objectPool_.setCreateObjectFn(function(){return{count_:0}});goog$events$objectPool_.setDisposeObjectFn(function(obj){obj.count_=0});var goog$events$arrayPool_=new goog$structs$SimplePool(0,600);goog$events$arrayPool_.setCreateObjectFn(function(){return[]});
goog$events$arrayPool_.setDisposeObjectFn(function(obj){SETPROP_length(obj,0);delete obj.locked_;delete obj.needsCleanup_});var goog$events$handleEventProxyPool_=new goog$structs$SimplePool(0,600);goog$events$handleEventProxyPool_.setCreateObjectFn(function(){var f=function(eventObject){return goog$events$handleBrowserEvent_[$$PROP_call](f.src,f.key,eventObject)};return f});
var goog$events$createListenerFunction_=function(){return new goog$events$Listener},goog$events$listenerPool_=new goog$structs$SimplePool(0,600);goog$events$listenerPool_.setCreateObjectFn(goog$events$createListenerFunction_);
var goog$events$createEventFunction_=function(){return new goog$events$BrowserEvent},goog$events$eventPool_=(function(){var eventPool=null;if(goog$userAgent$IE){eventPool=new goog$structs$SimplePool(0,600);eventPool.setCreateObjectFn(goog$events$createEventFunction_)}return eventPool})(),goog$events$onStringMap_={},goog$events$listen=function(src,type,listener,opt_capt,opt_handler){if(type)if(goog$isArray(type)){var i=0;for(;i<type[$$PROP_length];i++)goog$events$listen(src,type[i],listener,opt_capt,
opt_handler);return null}else{var capture=!!opt_capt,map=goog$events$listenerTree_;type in map||(map[type]=goog$events$objectPool_.getObject());map=map[type];if(!(capture in map)){map[capture]=goog$events$objectPool_.getObject();map.count_++}map=map[capture];var srcHashCode=goog$getHashCode(src),listenerArray,listenerObj;if(map[srcHashCode]){listenerArray=map[srcHashCode];var i=0;for(;i<listenerArray[$$PROP_length];i++){listenerObj=listenerArray[i];if(listenerObj.listener==listener&&listenerObj.handler==
opt_handler){if(listenerObj.removed)break;return listenerArray[i].key}}}else{listenerArray=map[srcHashCode]=goog$events$arrayPool_.getObject();map.count_++}var proxy=goog$events$handleEventProxyPool_.getObject();proxy.src=src;listenerObj=goog$events$listenerPool_.getObject();listenerObj.init(listener,proxy,src,type,capture,opt_handler);var key=listenerObj.key;proxy.key=key;listenerArray[$$PROP_push](listenerObj);goog$events$listeners_[key]=listenerObj;goog$events$sources_[srcHashCode]||(goog$events$sources_[srcHashCode]=
goog$events$arrayPool_.getObject());goog$events$sources_[srcHashCode][$$PROP_push](listenerObj);if(src.addEventListener){if(src==goog$global||!src.customEvent_)src.addEventListener(type,proxy,capture)}else src.attachEvent(goog$events$getOnString_(type),proxy);return key}else throw Error("Invalid event type");},goog$events$listenOnce=function(src,type,listener,opt_capt,opt_handler){if(goog$isArray(type)){var i=0;for(;i<type[$$PROP_length];i++)goog$events$listenOnce(src,type[i],listener,opt_capt,opt_handler);
return null}var key=goog$events$listen(src,type,listener,opt_capt,opt_handler);goog$events$listeners_[key].callOnce=true;return key},goog$events$unlisten=function(src,type,listener,opt_capt,opt_handler){if(goog$isArray(type)){var i=0;for(;i<type[$$PROP_length];i++)goog$events$unlisten(src,type[i],listener,opt_capt,opt_handler);return null}var capture=!!opt_capt,listenerArray=goog$events$getListeners_(src,type,capture);if(!listenerArray)return false;var i=0;for(;i<listenerArray[$$PROP_length];i++)if(listenerArray[i].listener==
listener&&listenerArray[i].capture==capture&&listenerArray[i].handler==opt_handler)return goog$events$unlistenByKey(listenerArray[i].key);return false},goog$events$unlistenByKey=function(key){if(!goog$events$listeners_[key])return false;var listener=goog$events$listeners_[key];if(listener.removed)return false;var src=listener.src,type=listener[$$PROP_type],proxy=listener.proxy,capture=listener.capture;if(src.removeEventListener){if(src==goog$global||!src.customEvent_)src.removeEventListener(type,
proxy,capture)}else src.detachEvent&&src.detachEvent(goog$events$getOnString_(type),proxy);var srcHashCode=goog$getHashCode(src),listenerArray=goog$events$listenerTree_[type][capture][srcHashCode];if(goog$events$sources_[srcHashCode]){var sourcesArray=goog$events$sources_[srcHashCode];goog$array$remove(sourcesArray,listener);sourcesArray[$$PROP_length]==0&&delete goog$events$sources_[srcHashCode]}listener.removed=true;listenerArray.needsCleanup_=true;goog$events$cleanUp_(type,capture,srcHashCode,
listenerArray);delete goog$events$listeners_[key];return true},goog$events$cleanUp_=function(type,capture,srcHashCode,listenerArray){if(!listenerArray.locked_)if(listenerArray.needsCleanup_){var oldIndex=0,newIndex=0;for(;oldIndex<listenerArray[$$PROP_length];oldIndex++)if(listenerArray[oldIndex].removed)goog$events$listenerPool_.releaseObject(listenerArray[oldIndex]);else{if(oldIndex!=newIndex)listenerArray[newIndex]=listenerArray[oldIndex];newIndex++}SETPROP_length(listenerArray,newIndex);listenerArray.needsCleanup_=
false;if(newIndex==0){goog$events$arrayPool_.releaseObject(listenerArray);delete goog$events$listenerTree_[type][capture][srcHashCode];goog$events$listenerTree_[type][capture].count_--;if(goog$events$listenerTree_[type][capture].count_==0){goog$events$objectPool_.releaseObject(goog$events$listenerTree_[type][capture]);delete goog$events$listenerTree_[type][capture];goog$events$listenerTree_[type].count_--}if(goog$events$listenerTree_[type].count_==0){goog$events$objectPool_.releaseObject(goog$events$listenerTree_[type]);
delete goog$events$listenerTree_[type]}}}},goog$events$removeAll=function(opt_obj,opt_type,opt_capt){var count=0,noObj=opt_obj==null,noType=opt_type==null,noCapt=opt_capt==null;opt_capt=!!opt_capt;if(noObj)goog$object$forEach(goog$events$sources_,function(listeners){var i=listeners[$$PROP_length]-1;for(;i>=0;i--){var listener=listeners[i];if((noType||opt_type==listener[$$PROP_type])&&(noCapt||opt_capt==listener.capture)){goog$events$unlistenByKey(listener.key);count++}}});else{var srcHashCode=goog$getHashCode(opt_obj);
if(goog$events$sources_[srcHashCode]){var sourcesArray=goog$events$sources_[srcHashCode],i=sourcesArray[$$PROP_length]-1;for(;i>=0;i--){var listener=sourcesArray[i];if((noType||opt_type==listener[$$PROP_type])&&(noCapt||opt_capt==listener.capture)){goog$events$unlistenByKey(listener.key);count++}}}}return count},goog$events$getListeners_=function(obj,type,capture){var map=goog$events$listenerTree_;if(type in map){map=map[type];if(capture in map){map=map[capture];var objHashCode=goog$getHashCode(obj);
if(map[objHashCode])return map[objHashCode]}}return null},goog$events$getOnString_=function(type){if(type in goog$events$onStringMap_)return goog$events$onStringMap_[type];return goog$events$onStringMap_[type]="on"+type},goog$events$fireListeners=function(obj,type,capture,eventObject){var retval=1,map=goog$events$listenerTree_;if(type in map){map=map[type];if(capture in map){map=map[capture];var objHashCode=goog$getHashCode(obj);if(map[objHashCode]){var listenerArray=map[objHashCode];if(listenerArray.locked_)listenerArray.locked_++;
else listenerArray.locked_=1;try{var length=listenerArray[$$PROP_length],i=0;for(;i<length;i++){var listener=listenerArray[i];if(listener&&!listener.removed)retval&=goog$events$fireListener(listener,eventObject)!==false}}finally{listenerArray.locked_--;goog$events$cleanUp_(type,capture,objHashCode,listenerArray)}}}}return GLOBAL_Boolean(retval)},goog$events$fireListener=function(listener,eventObject){var rv=listener[$$PROP_handleEvent](eventObject);listener.callOnce&&goog$events$unlistenByKey(listener.key);
return rv},goog$events$dispatchEvent=function(src,e){if(goog$isString(e))e=new goog$events$Event(e,src);else if(e instanceof goog$events$Event)SETPROP_target(e,e[$$PROP_target]||src);else{var oldEvent=e;e=new goog$events$Event(e[$$PROP_type],src);goog$object$extend(e,oldEvent)}var rv=1,ancestors,type=e[$$PROP_type],map=goog$events$listenerTree_;if(!(type in map))return true;map=map[type];var hasCapture=true in map,hasBubble=false in map;if(hasCapture){ancestors=[];var parent=src;for(;parent;parent=
parent.parentEventTarget_)ancestors[$$PROP_push](parent);var i=ancestors[$$PROP_length]-1;for(;!e.propagationStopped_&&i>=0;i--){SETPROP_currentTarget(e,ancestors[i]);rv&=goog$events$fireListeners(ancestors[i],e[$$PROP_type],true,e)&&e.returnValue_!=false}}if(hasBubble)if(hasCapture){var i=0;for(;!e.propagationStopped_&&i<ancestors[$$PROP_length];i++){SETPROP_currentTarget(e,ancestors[i]);rv&=goog$events$fireListeners(ancestors[i],e[$$PROP_type],false,e)&&e.returnValue_!=false}}else{var current=src;
for(;!e.propagationStopped_&&current;current=current.parentEventTarget_){SETPROP_currentTarget(e,current);rv&=goog$events$fireListeners(current,e[$$PROP_type],false,e)&&e.returnValue_!=false}}return GLOBAL_Boolean(rv)},goog$events$handleBrowserEvent_=function(key,opt_evt){if(!goog$events$listeners_[key])return true;var listener=goog$events$listeners_[key],type=listener[$$PROP_type],map=goog$events$listenerTree_;if(!(type in map))return true;map=map[type];var retval;if(goog$userAgent$IE){var ieEvent=
opt_evt||goog$getObjectByName("window.event"),hasCapture=true in map;if(hasCapture){if(ieEvent[$$PROP_keyCode]<0||ieEvent.returnValue!=GLOBAL_undefined)return true;goog$events$markIeEvent_(ieEvent)}goog$getHashCode(listener.src);var evt=goog$events$eventPool_.getObject();evt.init(ieEvent,this);retval=true;try{if(hasCapture){var ancestors=goog$events$arrayPool_.getObject(),parent=evt.currentTarget;for(;parent;parent=parent[$$PROP_parentNode])ancestors[$$PROP_push](parent);var i=ancestors[$$PROP_length]-
1;for(;!evt.propagationStopped_&&i>=0;i--){SETPROP_currentTarget(evt,ancestors[i]);retval&=goog$events$fireListeners(ancestors[i],type,true,evt)}var i=0;for(;!evt.propagationStopped_&&i<ancestors[$$PROP_length];i++){SETPROP_currentTarget(evt,ancestors[i]);retval&=goog$events$fireListeners(ancestors[i],type,false,evt)}}else retval=goog$events$fireListener(listener,evt)}finally{if(ancestors){SETPROP_length(ancestors,0);goog$events$arrayPool_.releaseObject(ancestors)}evt.dispose();goog$events$eventPool_.releaseObject(evt)}return retval}var be=
new goog$events$BrowserEvent(opt_evt,this);try{retval=goog$events$fireListener(listener,be)}finally{be.dispose()}return retval},goog$events$markIeEvent_=function(e){var useReturnValue=false;if(e[$$PROP_keyCode]==0)try{e.keyCode=-1;return}catch(ex){useReturnValue=true}if(useReturnValue||e.returnValue==GLOBAL_undefined)e.returnValue=true};if("StopIteration"in goog$global)var goog$iter$StopIteration=goog$global.StopIteration;else goog$iter$StopIteration=Error("StopIteration");var goog$iter$Iterator=function(){};goog$iter$Iterator[$$PROP_prototype].next=function(){throw goog$iter$StopIteration;};goog$iter$Iterator[$$PROP_prototype].__iterator__=function(){return this};var goog$structs$getValues=function(col){if(typeof col.getValues=="function")return col.getValues();if(goog$isString(col))return col[$$PROP_split]("");if(goog$isArrayLike(col)){var rv=[],l=col[$$PROP_length],i=0;for(;i<l;i++)rv[$$PROP_push](col[i]);return rv}return goog$object$getValues(col)},goog$structs$getKeys=function(col){if(typeof col.getKeys=="function")return col.getKeys();if(typeof col.getValues=="function")return GLOBAL_undefined;if(goog$isArrayLike(col)||goog$isString(col)){var rv=[],l=
col[$$PROP_length],i=0;for(;i<l;i++)rv[$$PROP_push](i);return rv}return goog$object$getKeys(col)},goog$structs$forEach=function(col,f,opt_obj){if(typeof col[$$PROP_forEach]=="function")col[$$PROP_forEach](f,opt_obj);else if(goog$isArrayLike(col)||goog$isString(col))goog$array$forEach(col,f,opt_obj);else{var keys=goog$structs$getKeys(col),values=goog$structs$getValues(col),l=values[$$PROP_length],i=0;for(;i<l;i++)f[$$PROP_call](opt_obj,values[i],keys&&keys[i],col)}};var goog$structs$Map=function(opt_map){this.map_={};this.keys_=[];var argLength=arguments[$$PROP_length];if(argLength>1){if(argLength%2)throw Error("Uneven number of arguments");var i=0;for(;i<argLength;i+=2)this.set(arguments[i],arguments[i+1])}else opt_map&&this.addAll(opt_map)};JSCompiler_extractPrototype=goog$structs$Map[$$PROP_prototype];JSCompiler_extractPrototype.count_=0;JSCompiler_extractPrototype.version_=0;
JSCompiler_extractPrototype.getValues=function(){this.cleanupKeysArray_();var rv=[],i=0;for(;i<this.keys_[$$PROP_length];i++)rv[$$PROP_push](this.map_[this.keys_[i]]);return rv};JSCompiler_extractPrototype.getKeys=function(){this.cleanupKeysArray_();return this.keys_.concat()};JSCompiler_extractPrototype.containsKey=function(key){return goog$structs$Map$hasKey_(this.map_,key)};
JSCompiler_extractPrototype.remove=function(key){if(goog$structs$Map$hasKey_(this.map_,key)){delete this.map_[key];this.count_--;this.version_++;this.keys_[$$PROP_length]>2*this.count_&&this.cleanupKeysArray_();return true}return false};
JSCompiler_extractPrototype.cleanupKeysArray_=function(){if(this.count_!=this.keys_[$$PROP_length]){var srcIndex=0,destIndex=0;for(;srcIndex<this.keys_[$$PROP_length];){var key=this.keys_[srcIndex];if(goog$structs$Map$hasKey_(this.map_,key))this.keys_[destIndex++]=key;srcIndex++}SETPROP_length(this.keys_,destIndex)}if(this.count_!=this.keys_[$$PROP_length]){var seen={},srcIndex=0,destIndex=0;for(;srcIndex<this.keys_[$$PROP_length];){var key=this.keys_[srcIndex];if(!goog$structs$Map$hasKey_(seen,key)){this.keys_[destIndex++]=
key;seen[key]=1}srcIndex++}SETPROP_length(this.keys_,destIndex)}};JSCompiler_extractPrototype.get=function(key,opt_val){if(goog$structs$Map$hasKey_(this.map_,key))return this.map_[key];return opt_val};JSCompiler_extractPrototype.set=function(key,value){if(!goog$structs$Map$hasKey_(this.map_,key)){this.count_++;this.keys_[$$PROP_push](key);this.version_++}this.map_[key]=value};
JSCompiler_extractPrototype.addAll=function(map){var keys,values;if(map instanceof goog$structs$Map){keys=map.getKeys();values=map.getValues()}else{keys=goog$object$getKeys(map);values=goog$object$getValues(map)}var i=0;for(;i<keys[$$PROP_length];i++)this.set(keys[i],values[i])};JSCompiler_extractPrototype.clone=function(){return new goog$structs$Map(this)};
JSCompiler_extractPrototype.__iterator__=function(opt_keys){this.cleanupKeysArray_();var i=0,keys=this.keys_,map=this.map_,version=this.version_,selfObj=this,newIter=new goog$iter$Iterator;newIter.next=function(){for(;true;){if(version!=selfObj.version_)throw Error("The map has changed since the iterator was created");if(i>=keys[$$PROP_length])throw goog$iter$StopIteration;var key=keys[i++];return opt_keys?key:map[key]}};return newIter};
if(GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty])var goog$structs$Map$hasKey_=function(obj,key){return GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty][$$PROP_call](obj,key)};else goog$structs$Map$hasKey_=function(obj,key){return key in obj&&obj[key]!==GLOBAL_Object[$$PROP_prototype][key]};var goog$uri$utils$splitRe_=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,goog$uri$utils$split=function(uri){return uri.match(goog$uri$utils$splitRe_)};var goog$Uri=function(opt_uri,opt_ignoreCase){var m;if(opt_uri instanceof goog$Uri){this.setIgnoreCase(opt_ignoreCase==null?opt_uri.ignoreCase_:opt_ignoreCase);this.setScheme(opt_uri.scheme_);this.setUserInfo(opt_uri.userInfo_);this.setDomain(opt_uri.domain_);this.setPort(opt_uri.port_);this.setPath(opt_uri.path_);this.setQueryData(opt_uri.queryData_.clone());this.setFragment(opt_uri.fragment_)}else if(opt_uri&&(m=goog$uri$utils$split(GLOBAL_String(opt_uri)))){this.setIgnoreCase(!!opt_ignoreCase);
this.setScheme(m[1],true);this.setUserInfo(m[2],true);this.setDomain(m[3],true);this.setPort(m[4]);this.setPath(m[5],true);this.setQueryData(m[6]);this.setFragment(m[7],true)}else{this.setIgnoreCase(!!opt_ignoreCase);this.queryData_=new goog$Uri$QueryData(null,this,this.ignoreCase_)}};JSCompiler_extractPrototype=goog$Uri[$$PROP_prototype];JSCompiler_extractPrototype.scheme_="";JSCompiler_extractPrototype.userInfo_="";JSCompiler_extractPrototype.domain_="";JSCompiler_extractPrototype.port_=null;
JSCompiler_extractPrototype.path_="";JSCompiler_extractPrototype.fragment_="";JSCompiler_extractPrototype.isReadOnly_=false;JSCompiler_extractPrototype.ignoreCase_=false;
SETPROP_toString(JSCompiler_extractPrototype,function(){if(this.cachedToString_)return this.cachedToString_;var out=[];this.scheme_&&out[$$PROP_push](goog$Uri$encodeSpecialChars_(this.scheme_,goog$Uri$reDisallowedInSchemeOrUserInfo_),":");if(this.domain_){out[$$PROP_push]("//");this.userInfo_&&out[$$PROP_push](goog$Uri$encodeSpecialChars_(this.userInfo_,goog$Uri$reDisallowedInSchemeOrUserInfo_),"@");out[$$PROP_push](goog$Uri$encodeString_(this.domain_));this.port_!=null&&out[$$PROP_push](":",GLOBAL_String(this.port_))}this.path_&&
out[$$PROP_push](goog$Uri$encodeSpecialChars_(this.path_,goog$Uri$reDisallowedInPath_));var query=GLOBAL_String(this.queryData_);query&&out[$$PROP_push]("?",query);this.fragment_&&out[$$PROP_push]("#",goog$Uri$encodeSpecialChars_(this.fragment_,goog$Uri$reDisallowedInFragment_));return this.cachedToString_=out[$$PROP_join]("")});
JSCompiler_extractPrototype.clone=function(){return goog$Uri$create(this.scheme_,this.userInfo_,this.domain_,this.port_,this.path_,this.queryData_.clone(),this.fragment_,this.ignoreCase_)};JSCompiler_extractPrototype.setScheme=function(newScheme,opt_decode){this.enforceReadOnly();delete this.cachedToString_;if(this.scheme_=opt_decode?newScheme?GLOBAL_decodeURIComponent(newScheme):"":newScheme)this.scheme_=this.scheme_[$$PROP_replace](/:$/,"");return this};
JSCompiler_extractPrototype.setUserInfo=function(newUserInfo,opt_decode){this.enforceReadOnly();delete this.cachedToString_;this.userInfo_=opt_decode?newUserInfo?GLOBAL_decodeURIComponent(newUserInfo):"":newUserInfo;return this};JSCompiler_extractPrototype.setDomain=function(newDomain,opt_decode){this.enforceReadOnly();delete this.cachedToString_;this.domain_=opt_decode?newDomain?GLOBAL_decodeURIComponent(newDomain):"":newDomain;return this};
JSCompiler_extractPrototype.setPort=function(newPort){this.enforceReadOnly();delete this.cachedToString_;if(newPort){newPort=Number(newPort);if(isNaN(newPort)||newPort<0)throw Error("Bad port number "+newPort);this.port_=newPort}else this.port_=null;return this};JSCompiler_extractPrototype.setPath=function(newPath,opt_decode){this.enforceReadOnly();delete this.cachedToString_;this.path_=opt_decode?newPath?GLOBAL_decodeURIComponent(newPath):"":newPath;return this};
JSCompiler_extractPrototype.setQueryData=function(queryData){this.enforceReadOnly();delete this.cachedToString_;if(queryData instanceof goog$Uri$QueryData){this.queryData_=queryData;this.queryData_.uri_=this;this.queryData_.setIgnoreCase(this.ignoreCase_)}else this.queryData_=new goog$Uri$QueryData(queryData,this,this.ignoreCase_);return this};JSCompiler_extractPrototype.setParameterValue=function(key,value){this.enforceReadOnly();delete this.cachedToString_;this.queryData_.set(key,value);return this};
JSCompiler_extractPrototype.setFragment=function(newFragment,opt_decode){this.enforceReadOnly();delete this.cachedToString_;this.fragment_=opt_decode?newFragment?GLOBAL_decodeURIComponent(newFragment):"":newFragment;return this};JSCompiler_extractPrototype.enforceReadOnly=function(){if(this.isReadOnly_)throw Error("Tried to modify a read-only Uri");};JSCompiler_extractPrototype.setIgnoreCase=function(ignoreCase){this.ignoreCase_=ignoreCase;this.queryData_&&this.queryData_.setIgnoreCase(ignoreCase)};
var goog$Uri$create=function(opt_scheme,opt_userInfo,opt_domain,opt_port,opt_path,opt_query,opt_fragment,opt_ignoreCase){var uri=new goog$Uri(null,opt_ignoreCase);opt_scheme&&uri.setScheme(opt_scheme);opt_userInfo&&uri.setUserInfo(opt_userInfo);opt_domain&&uri.setDomain(opt_domain);opt_port&&uri.setPort(opt_port);opt_path&&uri.setPath(opt_path);opt_query&&uri.setQueryData(opt_query);opt_fragment&&uri.setFragment(opt_fragment);return uri};
var goog$Uri$encodeString_=function(unescapedPart){if(goog$isString(unescapedPart))return GLOBAL_encodeURIComponent(unescapedPart);return null},goog$Uri$encodeSpecialRegExp_=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,goog$Uri$encodeSpecialChars_=function(unescapedPart,extra){var ret=null;if(goog$isString(unescapedPart)){ret=unescapedPart;goog$Uri$encodeSpecialRegExp_.test(ret)||(ret=encodeURI(unescapedPart));if(ret.search(extra)>=0)ret=ret[$$PROP_replace](extra,goog$Uri$encodeChar_)}return ret},goog$Uri$encodeChar_=
function(ch){var n=ch.charCodeAt(0);return"%"+(n>>4&15)[$$PROP_toString](16)+(n&15)[$$PROP_toString](16)},goog$Uri$reDisallowedInSchemeOrUserInfo_=/[#\/\?@]/g,goog$Uri$reDisallowedInPath_=/[\#\?]/g,goog$Uri$reDisallowedInFragment_=/#/g,goog$Uri$QueryData=function(opt_query,opt_uri,opt_ignoreCase){this.keyMap_=new goog$structs$Map;this.uri_=opt_uri||null;this.ignoreCase_=!!opt_ignoreCase;if(opt_query){var pairs=opt_query[$$PROP_split]("&"),i=0;for(;i<pairs[$$PROP_length];i++){var indexOfEquals=pairs[i][$$PROP_indexOf]("="),
name=null,value=null;if(indexOfEquals>=0){name=pairs[i][$$PROP_substring](0,indexOfEquals);value=pairs[i][$$PROP_substring](indexOfEquals+1)}else name=pairs[i];name=GLOBAL_decodeURIComponent(name[$$PROP_replace](/\+/g," "));name=this.getKeyName_(name);this.add(name,value?GLOBAL_decodeURIComponent(value[$$PROP_replace](/\+/g," ")):"")}}};JSCompiler_extractPrototype=goog$Uri$QueryData[$$PROP_prototype];JSCompiler_extractPrototype.count_=0;
JSCompiler_extractPrototype.add=function(key,value){this.invalidateCache_();key=this.getKeyName_(key);if(this.containsKey(key)){var current=this.keyMap_.get(key);goog$isArray(current)?current[$$PROP_push](value):this.keyMap_.set(key,[current,value])}else this.keyMap_.set(key,value);this.count_++;return this};
JSCompiler_extractPrototype.remove=function(key){key=this.getKeyName_(key);if(this.keyMap_.containsKey(key)){this.invalidateCache_();var old=this.keyMap_.get(key);if(goog$isArray(old))this.count_-=old[$$PROP_length];else this.count_--;return this.keyMap_.remove(key)}return false};JSCompiler_extractPrototype.containsKey=function(key){key=this.getKeyName_(key);return this.keyMap_.containsKey(key)};
JSCompiler_extractPrototype.getKeys=function(){var vals=this.keyMap_.getValues(),keys=this.keyMap_.getKeys(),rv=[],i=0;for(;i<keys[$$PROP_length];i++){var val=vals[i];if(goog$isArray(val)){var j=0;for(;j<val[$$PROP_length];j++)rv[$$PROP_push](keys[i])}else rv[$$PROP_push](keys[i])}return rv};
JSCompiler_extractPrototype.getValues=function(opt_key){var rv;if(opt_key){var key=this.getKeyName_(opt_key);if(this.containsKey(key)){var value=this.keyMap_.get(key);if(goog$isArray(value))return value;else{rv=[];rv[$$PROP_push](value)}}else rv=[]}else{var vals=this.keyMap_.getValues();rv=[];var i=0;for(;i<vals[$$PROP_length];i++){var val=vals[i];goog$isArray(val)?goog$array$extend(rv,val):rv[$$PROP_push](val)}}return rv};
JSCompiler_extractPrototype.set=function(key,value){this.invalidateCache_();key=this.getKeyName_(key);if(this.containsKey(key)){var old=this.keyMap_.get(key);if(goog$isArray(old))this.count_-=old[$$PROP_length];else this.count_--}this.keyMap_.set(key,value);this.count_++;return this};JSCompiler_extractPrototype.get=function(key,opt_default){key=this.getKeyName_(key);if(this.containsKey(key)){var val=this.keyMap_.get(key);return goog$isArray(val)?val[0]:val}else return opt_default};
SETPROP_toString(JSCompiler_extractPrototype,function(){if(this.cachedToString_)return this.cachedToString_;var sb=[],count=0,keys=this.keyMap_.getKeys(),i=0;for(;i<keys[$$PROP_length];i++){var key=keys[i],encodedKey=goog$string$urlEncode(key),val=this.keyMap_.get(key);if(goog$isArray(val)){var j=0;for(;j<val[$$PROP_length];j++){count>0&&sb[$$PROP_push]("&");sb[$$PROP_push](encodedKey,"=",goog$string$urlEncode(val[j]));count++}}else{count>0&&sb[$$PROP_push]("&");sb[$$PROP_push](encodedKey,"=",goog$string$urlEncode(val));
count++}}return this.cachedToString_=sb[$$PROP_join]("")});JSCompiler_extractPrototype.invalidateCache_=function(){delete this.cachedToString_;this.uri_&&delete this.uri_.cachedToString_};JSCompiler_extractPrototype.clone=function(){var rv=new goog$Uri$QueryData;rv.keyMap_=this.keyMap_.clone();return rv};JSCompiler_extractPrototype.getKeyName_=function(arg){var keyName=GLOBAL_String(arg);if(this.ignoreCase_)keyName=keyName[$$PROP_toLowerCase]();return keyName};
JSCompiler_extractPrototype.setIgnoreCase=function(ignoreCase){if(ignoreCase&&!this.ignoreCase_){this.invalidateCache_();goog$structs$forEach(this.keyMap_,function(value,key){var lowerCase=key[$$PROP_toLowerCase]();if(key!=lowerCase){this.remove(key);this.add(lowerCase,value)}},this)}this.ignoreCase_=ignoreCase};if(GLOBAL_window.jstiming){GLOBAL_window.jstiming.beaconImageReferences_={};GLOBAL_window.jstiming.nextImageId_=1;GLOBAL_window.jstiming.report=function(timer,opt_extraParams,opt_reportUri){var extra="";if(GLOBAL_window.jstiming.pt){extra+="&srt="+GLOBAL_window.jstiming.pt;delete GLOBAL_window.jstiming.pt}try{extra+="&tran="+GLOBAL_window.external.tran}catch(e){}var ticks=timer.t,start=ticks.start;delete ticks.start;var rt=[],it=[];for(var label in ticks)if(!(label[$$PROP_indexOf]("_")==0)){var relative_label=
ticks[label][1];if(relative_label)ticks[relative_label]&&it[$$PROP_push](label+"."+(ticks[label][0]-ticks[relative_label][0]));else start&&rt[$$PROP_push](label+"."+(ticks[label][0]-start[0]))}if(opt_extraParams)for(var arg in opt_extraParams)extra+="&"+arg+"="+opt_extraParams[arg];var img=new Image,id=GLOBAL_window.jstiming.nextImageId_++;GLOBAL_window.jstiming.beaconImageReferences_[id]=img;img.onload=img.onerror=function(){delete GLOBAL_window.jstiming.beaconImageReferences_[id]};img.src=[opt_reportUri?
opt_reportUri:"http://csi.gstatic.com/csi","?v=3","&s=news&action=",timer.name,it[$$PROP_length]?"&it="+it[$$PROP_join](",")+extra:extra,"&rt=",rt[$$PROP_join](",")][$$PROP_join]("")}};var news$liteutil$containedInClass=function(el,className){for(;el;){if(goog$array$contains(goog$dom$classes$get(el),className))return el;el=el[$$PROP_parentNode]}return null},news$liteutil$containedInTag=function(el,tag){for(;el;){if(el.tagName==tag)return el;el=el[$$PROP_parentNode]}return null},news$liteutil$extractClassWithPrefix=function(link,prefix){var classes=goog$dom$classes$get(link),i=0;for(;i<classes[$$PROP_length];i++)if(classes[i][$$PROP_indexOf](prefix)==0)return classes[i][$$PROP_substring](prefix[$$PROP_length]);
return null},news$liteutil$logError=function(error,msg){var url="/news/xhr/log_error?ned="+news$lite$ned+"&error="+GLOBAL_encodeURIComponent("A Javascript error occured:\n"+msg+"\n"+error.name+": "+error.message+"\n"+error.stack+"\n"+GLOBAL_window.location+"\n"+navigator.userAgent);(new Image).src=url};
goog$exportSymbol("NEWS_csi",function(experiments){var numSmallImages=0,imgs=GLOBAL_document.getElementsByTagName("img"),i=0;for(;i<imgs[$$PROP_length];i++){var img=imgs[i];img.src[$$PROP_substring](img.src[$$PROP_length]-9)[$$PROP_substring](0,8)!="imgtype="||numSmallImages++}var pageCounts=[0,numSmallImages,0,0][$$PROP_join]("_"),params={};params.e=experiments;params.npl=[news$lite$ned,pageCounts][$$PROP_join]("/");GLOBAL_window.jstiming.report(GLOBAL_window.jstiming.load,params)});var news$ui$UseJsImageFetchTracking,news$ui$LinkRewriter=function(){this.section=goog$dom$$$("div","section",null)[0];if(!this.section)throw new Error("no section el");goog$events$listen(this.section,"mousedown",this.handleClickInSection,false,this);this.eventId=(goog$isString("p-ei")?GLOBAL_document.getElementById("p-ei"):"p-ei").value};
news$ui$LinkRewriter[$$PROP_prototype].handleClickInSection=function(e){try{var target=e[$$PROP_target],link=news$liteutil$containedInTag(target,"A");if(link==null)return;if(goog$array$contains(goog$dom$classes$get(link),"_tracked"))return;news$liteutil$extractClassWithPrefix(link,"usg-")&&this.rewriteHeadlineLink(link,target.tagName=="IMG")}catch(e){news$liteutil$logError(e,"In handleTracking")}};
news$ui$LinkRewriter[$$PROP_prototype].rewriteHeadlineLink=function(link,isImg){var story=news$liteutil$containedInClass(link,"story"),stories=goog$dom$$$("div","story",null);if(stories[$$PROP_length]==0)stories=goog$dom$$$("div","quote-story",null);var storyIndex=goog$array$indexOf(stories,story);if(news$liteutil$containedInClass(link,"ivi-story"))storyIndex-=stories[$$PROP_length]/2;if(isImg)this.rewriteLink(link[$$PROP_parentNode],storyIndex,0,"i");else{var linkType;linkType=news$liteutil$containedInClass(link,
"additional-article")?"aa":news$liteutil$containedInClass(link,"source-link")?"as":news$liteutil$containedInClass(link,"title")?"t":"a";var links=goog$dom$$$("a",null,story);links=goog$array$filter(links,function(e){return!news$liteutil$containedInClass(e,"thumbnail")&&news$liteutil$extractClassWithPrefix(e,"usg-")});var linkIndex=goog$array$indexOf(links,link);if(links[$$PROP_length]>1){var hasThumbnail=goog$array$contains(goog$dom$classes$get(links[1][$$PROP_parentNode]),"thumbnail");linkIndex>
0&&hasThumbnail&&linkIndex--}this.rewriteLink(link[$$PROP_parentNode],storyIndex,linkIndex,linkType)}};
news$ui$LinkRewriter[$$PROP_prototype].rewriteLink=function(containingEl,storyIndex,articleIndex,articleType){var link=goog$dom$$$("a",null,containingEl)[0],position=[0,0,"s",storyIndex,articleIndex,articleType][$$PROP_join]("_"),ct2=[news$lite$ned,position][$$PROP_join]("/"),usg=news$liteutil$extractClassWithPrefix(link,"usg-");if(!usg)throw new Error("Clicktracking missing USG during rewrite");var kansasSignature=news$liteutil$extractClassWithPrefix(link,"sig2-"),cid=news$ui$LinkRewriter$extractCID(link);
if(!cid)throw new Error("Clicktracking missing CID during rewrite");var newRedirectUrl=new goog$Uri("/news/url");newRedirectUrl.setParameterValue("sa","t");newRedirectUrl.setParameterValue("ct2",ct2);newRedirectUrl.setParameterValue("usg",usg);kansasSignature&&newRedirectUrl.setParameterValue("sig2",kansasSignature);newRedirectUrl.setParameterValue("cid",cid);newRedirectUrl.setParameterValue("ei",this.eventId);newRedirectUrl.setParameterValue("url",link.href);if(news$ui$UseJsImageFetchTracking){newRedirectUrl.setParameterValue("sa",
"T");(new Image).src=newRedirectUrl[$$PROP_toString]()}else link.href=newRedirectUrl[$$PROP_toString]();goog$dom$classes$add(link,"_tracked")};var news$ui$LinkRewriter$extractCID=function(link){var story=news$liteutil$containedInClass(link,"story");if(!story)return null;var cid=news$liteutil$extractClassWithPrefix(story,"cid-");if(!cid)return null;return cid};var goog$events$EventHandler=function(opt_handler){this.handler_=opt_handler};goog$inherits(goog$events$EventHandler,goog$Disposable);var goog$events$EventHandler$keyPool_=new goog$structs$SimplePool(0,100);goog$events$EventHandler[$$PROP_prototype].removeAll=function(){if(this.keys_){for(var key in this.keys_){goog$events$unlistenByKey(key);delete this.keys_[key]}goog$events$EventHandler$keyPool_.releaseObject(this.keys_);this.keys_=null}else this.key_&&goog$events$unlistenByKey(this.key_)};
goog$events$EventHandler[$$PROP_prototype].disposeInternal=function(){goog$events$EventHandler.superClass_.disposeInternal[$$PROP_call](this);this.removeAll()};goog$events$EventHandler[$$PROP_prototype].handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var goog$userAgent$product$detectedFirefox_,goog$userAgent$product$detectedCamino_,goog$userAgent$product$detectedIphone_,goog$userAgent$product$detectedAndroid_,goog$userAgent$product$detectedChrome_,goog$userAgent$product$detectedSafari_;
(function(){goog$userAgent$product$detectedSafari_=goog$userAgent$product$detectedChrome_=goog$userAgent$product$detectedAndroid_=goog$userAgent$product$detectedIphone_=goog$userAgent$product$detectedCamino_=goog$userAgent$product$detectedFirefox_=false;var ua=goog$userAgent$getUserAgentString();if(!!ua)if(ua[$$PROP_indexOf]("Firefox")!=-1)goog$userAgent$product$detectedFirefox_=true;else if(ua[$$PROP_indexOf]("Camino")!=-1)goog$userAgent$product$detectedCamino_=true;else if(ua[$$PROP_indexOf]("iPhone")!=
-1||ua[$$PROP_indexOf]("iPod")!=-1)goog$userAgent$product$detectedIphone_=true;else if(ua[$$PROP_indexOf]("Android")!=-1)goog$userAgent$product$detectedAndroid_=true;else if(ua[$$PROP_indexOf]("Chrome")!=-1)goog$userAgent$product$detectedChrome_=true;else if(ua[$$PROP_indexOf]("Safari")!=-1)goog$userAgent$product$detectedSafari_=true})();var goog$events$EventTarget=function(){};goog$inherits(goog$events$EventTarget,goog$Disposable);JSCompiler_extractPrototype=goog$events$EventTarget[$$PROP_prototype];JSCompiler_extractPrototype.customEvent_=true;JSCompiler_extractPrototype.parentEventTarget_=null;JSCompiler_extractPrototype.addEventListener=function(type,handler,opt_capture,opt_handlerScope){goog$events$listen(this,type,handler,opt_capture,opt_handlerScope)};
JSCompiler_extractPrototype.removeEventListener=function(type,handler,opt_capture,opt_handlerScope){goog$events$unlisten(this,type,handler,opt_capture,opt_handlerScope)};JSCompiler_extractPrototype.dispatchEvent=function(e){return goog$events$dispatchEvent(this,e)};JSCompiler_extractPrototype.disposeInternal=function(){goog$events$EventTarget.superClass_.disposeInternal[$$PROP_call](this);goog$events$removeAll(this);this.parentEventTarget_=null};var goog$Timer$defaultTimerObject=goog$global.window;var goog$fx$Animation=function(start,end,duration,opt_acc){goog$events$EventTarget[$$PROP_call](this);if(!goog$isArray(start)||!goog$isArray(end))throw Error("Start and end parameters must be arrays");if(start[$$PROP_length]!=end[$$PROP_length])throw Error("Start and end points must be the same length");this.startPoint=start;this.endPoint=end;this.duration=duration;this.accel=opt_acc;SETPROP_coords(this,[])};goog$inherits(goog$fx$Animation,goog$events$EventTarget);
var goog$fx$Animation$activeAnimations_={},goog$fx$Animation$globalTimer_=null,goog$fx$Animation$cycleAnimations_=function(){goog$Timer$defaultTimerObject.clearTimeout(goog$fx$Animation$globalTimer_);var now=goog$now();for(var hc in goog$fx$Animation$activeAnimations_)goog$fx$Animation$activeAnimations_[hc].cycle(now);goog$fx$Animation$globalTimer_=goog$object$isEmpty(goog$fx$Animation$activeAnimations_)?null:goog$Timer$defaultTimerObject.setTimeout(goog$fx$Animation$cycleAnimations_,20)},goog$fx$Animation$registerAnimation=
function(animation){var hc=goog$getHashCode(animation);hc in goog$fx$Animation$activeAnimations_||(goog$fx$Animation$activeAnimations_[hc]=animation);goog$fx$Animation$globalTimer_||(goog$fx$Animation$globalTimer_=goog$Timer$defaultTimerObject.setTimeout(goog$fx$Animation$cycleAnimations_,20))},goog$fx$Animation$unregisterAnimation=function(animation){var hc=goog$getHashCode(animation);delete goog$fx$Animation$activeAnimations_[hc];if(goog$fx$Animation$globalTimer_&&goog$object$isEmpty(goog$fx$Animation$activeAnimations_)){goog$Timer$defaultTimerObject.clearTimeout(goog$fx$Animation$globalTimer_);
goog$fx$Animation$globalTimer_=null}};JSCompiler_extractPrototype=goog$fx$Animation[$$PROP_prototype];JSCompiler_extractPrototype.state_=0;JSCompiler_extractPrototype.fps_=0;JSCompiler_extractPrototype.progress=0;JSCompiler_extractPrototype.startTime=null;JSCompiler_extractPrototype.endTime=null;JSCompiler_extractPrototype.lastFrame=null;
JSCompiler_extractPrototype.play=function(opt_restart){if(opt_restart||this.state_==0){this.progress=0;SETPROP_coords(this,this.startPoint)}else if(this.state_==1)return false;goog$fx$Animation$unregisterAnimation(this);this.startTime=goog$now();if(this.state_==-1)this.startTime-=this.duration*this.progress;this.endTime=this.startTime+this.duration;this.lastFrame=this.startTime;this.progress||this.onBegin();this.onPlay();this.state_==-1&&this.onResume();this.state_=1;goog$fx$Animation$registerAnimation(this);
this.cycle(this.startTime);return true};JSCompiler_extractPrototype.stop=function(gotoEnd){goog$fx$Animation$unregisterAnimation(this);this.state_=0;if(gotoEnd)this.progress=1;this.updateCoords_(this.progress);this.onStop();this.onEnd()};JSCompiler_extractPrototype.disposeInternal=function(){this.state_!=0&&this.stop(false);this.onDestroy();goog$fx$Animation.superClass_.disposeInternal[$$PROP_call](this)};
JSCompiler_extractPrototype.cycle=function(now){this.progress=(now-this.startTime)/(this.endTime-this.startTime);if(this.progress>=1)this.progress=1;this.fps_=1000/(now-this.lastFrame);this.lastFrame=now;goog$isFunction(this.accel)?this.updateCoords_(this.accel(this.progress)):this.updateCoords_(this.progress);if(this.progress==1){this.state_=0;goog$fx$Animation$unregisterAnimation(this);this.onFinish();this.onEnd()}else this.state_==1&&this.onAnimate()};
JSCompiler_extractPrototype.updateCoords_=function(t){SETPROP_coords(this,new Array(this.startPoint[$$PROP_length]));var i=0;for(;i<this.startPoint[$$PROP_length];i++)this[$$PROP_coords][i]=(this.endPoint[i]-this.startPoint[i])*t+this.startPoint[i]};JSCompiler_extractPrototype.onAnimate=function(){this.dispatchAnimationEvent_("animate")};JSCompiler_extractPrototype.onBegin=function(){this.dispatchAnimationEvent_("begin")};JSCompiler_extractPrototype.onDestroy=function(){this.dispatchAnimationEvent_("destroy")};
JSCompiler_extractPrototype.onEnd=function(){this.dispatchAnimationEvent_("end")};JSCompiler_extractPrototype.onFinish=function(){this.dispatchAnimationEvent_("finish")};JSCompiler_extractPrototype.onPlay=function(){this.dispatchAnimationEvent_("play")};JSCompiler_extractPrototype.onResume=function(){this.dispatchAnimationEvent_("resume")};JSCompiler_extractPrototype.onStop=function(){this.dispatchAnimationEvent_("stop")};
JSCompiler_extractPrototype.dispatchAnimationEvent_=function(type){this.dispatchEvent(new goog$fx$AnimationEvent(type,this))};var goog$fx$AnimationEvent=function(type,anim){goog$events$Event[$$PROP_call](this,type);SETPROP_coords(this,anim[$$PROP_coords]);this.x=anim[$$PROP_coords][0];this.y=anim[$$PROP_coords][1];this.z=anim[$$PROP_coords][2];this.duration=anim.duration;this.progress=anim.progress;this.fps=anim.fps_;this.state=anim.state_;this.anim=anim};goog$inherits(goog$fx$AnimationEvent,goog$events$Event);var goog$fx$dom$PredefinedEffect=function(element,start,end,time,opt_acc){goog$fx$Animation[$$PROP_call](this,start,end,time,opt_acc);this.element=element};goog$inherits(goog$fx$dom$PredefinedEffect,goog$fx$Animation);goog$fx$dom$PredefinedEffect[$$PROP_prototype].updateStyle=goog$nullFunction;goog$fx$dom$PredefinedEffect[$$PROP_prototype].onAnimate=function(){this.updateStyle();goog$fx$dom$PredefinedEffect.superClass_.onAnimate[$$PROP_call](this)};
goog$fx$dom$PredefinedEffect[$$PROP_prototype].onEnd=function(){this.updateStyle();goog$fx$dom$PredefinedEffect.superClass_.onEnd[$$PROP_call](this)};goog$fx$dom$PredefinedEffect[$$PROP_prototype].onBegin=function(){this.updateStyle();goog$fx$dom$PredefinedEffect.superClass_.onBegin[$$PROP_call](this)};var goog$fx$dom$ResizeHeight=function(element,start,end,time,opt_acc){goog$fx$dom$PredefinedEffect[$$PROP_call](this,element,[start],[end],time,opt_acc)};goog$inherits(goog$fx$dom$ResizeHeight,goog$fx$dom$PredefinedEffect);
goog$fx$dom$ResizeHeight[$$PROP_prototype].updateStyle=function(){SETPROP_height(this.element[$$PROP_style],Math.round(this[$$PROP_coords][0])+"px")};var news$ui$Video=function(el){this.handler_=new goog$events$EventHandler(this);this.el=el;this.toggle=goog$dom$$$(null,"toggle",el)[0];this.contentBox=goog$dom$$$(null,"video-box",el)[0];this.videoId=this.toggle.id;this.collapsed=true;this.maxHeight=355;this.maxWidth=425;goog$events$listen(this.toggle,"click",this.handleClick,false,this)};JSCompiler_extractPrototype=news$ui$Video[$$PROP_prototype];
JSCompiler_extractPrototype.handleClick=function(){this.animation&&this.animation.stop();this.contentBox[$$PROP_style].display="block";this.updateWidth();this.updateMaxHeight();if(this.collapsed==true){this.animation=new goog$fx$dom$ResizeHeight(this.contentBox,1,this[$$PROP_maxHeight],200);goog$events$listenOnce(this.animation,"play",this.videoOpenStarted,false,this);goog$events$listenOnce(this.animation,"end",this.videoOpenComplete,false,this)}else{this.animation=new goog$fx$dom$ResizeHeight(this.contentBox,
this[$$PROP_maxHeight],1,200);goog$events$listenOnce(this.animation,"play",this.videoCloseStarted,false,this);goog$events$listenOnce(this.animation,"end",this.videoCloseComplete,false,this)}this.collapsed=!this.collapsed;this.animation.play()};JSCompiler_extractPrototype.videoCloseStarted=function(){this.contentBox.innerHTML=""};
JSCompiler_extractPrototype.videoCloseComplete=function(){goog$dom$classes$remove(this.toggle,"goog-zippy-expanded");this.contentBox[$$PROP_style].display="none";goog$events$unlisten(GLOBAL_window,"resize",this.updateOpenedVideoHeight,false,this)};JSCompiler_extractPrototype.videoOpenStarted=function(){goog$dom$classes$add(this.toggle,"goog-zippy-expanded")};
JSCompiler_extractPrototype.videoOpenComplete=function(){var url="http://www.youtube.com/v/"+this.videoId,videoHtml="";videoHtml=goog$string$buildString("<div>",'<object class="video-embed-object"','<param name="movie" value="',url,'"></param>','<param name="wmode" value="transparent"></param>','<embed src="',url,'&amp;autoplay=1"',' type="application/x-shockwave-flash"',' wmode="transparent"',' class="video-embed-object"',"</embed>","</object></div>");this.contentBox.innerHTML=videoHtml;this.updateOpenedVideoHeight();
this.startResizingVideo()};JSCompiler_extractPrototype.startResizingVideo=function(){goog$events$listen(GLOBAL_window,"resize",this.updateOpenedVideoHeight,false,this)};JSCompiler_extractPrototype.updateOpenedVideoHeight=function(){this.updateWidth();this.updateMaxHeight();SETPROP_height(this.contentBox[$$PROP_style],this[$$PROP_maxHeight]);var objects=this.contentBox.getElementsByTagName("object");if(objects[$$PROP_length]>0)SETPROP_height(objects[0][$$PROP_style],this[$$PROP_maxHeight])};
JSCompiler_extractPrototype.updateWidth=function(){this.contentBox[$$PROP_style].width=this.el.offsetWidth<=this.maxWidth?"100%":this.maxWidth+"px"};JSCompiler_extractPrototype.updateMaxHeight=function(){var width=this.contentBox.clientWidth;width=Math.min(width,this.maxWidth);this.maxHeight=width*0.75+25};goog$exportSymbol("Video",news$ui$Video);var NEWS_puppetReady=[];goog$exportSymbol("NEWS_puppetReady",NEWS_puppetReady);var news$lite$ned,NEWS_xhrPathPrefix;
goog$exportSymbol("setup",function(useJsImageFetchTracking,xhrPathPrefix){news$ui$UseJsImageFetchTracking=useJsImageFetchTracking;news$lite$ned=(goog$isString("p-ned")?GLOBAL_document.getElementById("p-ned"):"p-ned").value;NEWS_xhrPathPrefix=xhrPathPrefix;try{new news$ui$LinkRewriter}catch(e){news$liteutil$logError(e,"In Tracking init")}try{var videos=goog$dom$$$("div","additional-video",null),i=0;for(;i<videos[$$PROP_length];i++)new news$ui$Video(videos[i])}catch(e){news$liteutil$logError(e,"In Video init")}goog$events$listen(GLOBAL_window,
"unload",function(){goog$events$removeAll()});NEWS_puppetReady[0]="ready"});
 })()
