:"timeline",touch:!1,maptype:"toner",preload:4,current_slide:0,hash_bookmark:!1,start_at_end:!1,start_at_slide:0,start_zoom_adjust:0,start_page:!1,api_keys:{google:"",flickr:"",twitter:""},interval:10,something:0,width:960,height:540,spacing:15,loaded:{slider:!1,timenav:!1,percentloaded:0},nav:{start_page:!1,interval_width:200,density:4,minor_width:0,minor_left:0,constraint:{left:0,right:0,right_min:0,right_max:0},zoom:{adjust:0},multiplier:{current:6,min:.1,max:50},rows:[1,1,1],width:960,height:200,marker:{width:150,height:50}},feature:{width:960,height:540},slider:{width:720,height:400,content:{width:720,height:400,padding:130},nav:{width:100,height:200}},ease:"easeInOutExpo",duration:1e3,language:VMM.Language};if(e!=null&&e!=""){p.width=e;d=!0}if(t!=null&&t!=""){p.height=t;v=!0}if(window.location.hash){vary=window.location.hash.substring(1);isNaN(y)||(p.current_slide=parseInt(y))}window.onhashchange=function(){vare=window.location.hash.substring(1);p.hash_bookmark?g?A(parseInt(e)):g=!1:A(parseInt(e))};varb=function(e){if(typeoftimeline_config=="object"){trace("HAS TIMELINE CONFIG");vart;for(tintimeline_config)Object.prototype.hasOwnProperty.call(timeline_config,t)&&(p[t]=timeline_config[t])}elseif(typeofe=="object"){vart;for(tine)Object.prototype.hasOwnProperty.call(e,t)&&(p[t]=e[t])}if(VMM.Browser.device=="mobile"||VMM.Browser.device=="tablet")p.touch=!0;p.nav.width=p.width;p.nav.height=200;p.feature.width=p.width;p.feature.height=p.height-p.nav.height;p.nav.zoom.adjust=parseInt(p.start_zoom_adjust,10);VMM.Timeline.Config=p;VMM.master_config.Timeline=VMM.Timeline.Config;this.events=p.events},w=function(e,t){i=VMM.getElement(f);VMM.Lib.addClass(f,"vmm-timeline");p.touch?VMM.Lib.addClass(f,"vmm-touch"):VMM.Lib.addClass(f,"vmm-notouch");s=VMM.appendAndGetElement(i,"<div>","feedback","");o=newVMM.Slider(f+" div.slider",p);u=newVMM.Timeline.TimeNav(f+" div.navigation");d?VMM.Lib.width(i,p.width):p.width=VMM.Lib.width(i);v?VMM.Lib.height(i,p.height):p.height=VMM.Lib.height(i)},A=function(e){if(e<=h.length-1&&e>=0){p.current_slide=e;o.setSlide(p.current_slide);u.setMarker(p.current_slide,p.ease,p.duration)}};this.init=function(n,r,o){type.of(r)=="string"&&(r.match("#")?f=r:f="#"+r);b(o);w(e,t);trace("TIMELINE INIT");VMM.Date.setLanguage(VMM.Timeline.Config.language);VMM.master_config.language=VMM.Timeline.Config.language;s=VMM.appendAndGetElement(i,"<div>","feedback","");VMM.bindEvent(global,E,p.events.data_ready);VMM.bindEvent(global,_,p.events.messege);VMM.fireEvent(global,p.events.messege,VMM.master_config.language.messages.loading_timeline);(VMM.Browser.browser=="Explorer"||VMM.Browser.browser=="MSIE")&&parseInt(VMM.Browser.version,10)<=7&&(m=!0);type.of(n)=="string"||type.of(n)=="object"?VMM.Timeline.DataObj.getData(n):VMM.Timeline.DataObj.getData(VMM.getElement(f))};this.iframeLoaded=function(){trace("iframeLoaded")};this.reload=function(e){trace("loadNewDates"+e);VMM.fireEvent(global,p.events.messege,VMM.master_config.language.messages.loading_timeline);c={};VMM.Timeline.DataObj.getData(e)};varM=function(e){VMM.getJSON(e,function(e){c=VMM.Timeline.DataObj.getData(e);VMM.fireEvent(global,p.events.data_ready)})},_=function(e,t){trace("showMessege "+t);VMM.attachElement(s,VMM.MediaElement.loadingmessage(t))},D=function(){VMM.Lib.animate(s,p.duration,p.ease*4,{opacity:0},P)},P=function(){VMM.Lib.detach(s)},H=function(){parseInt(p.start_at_slide)>0&&p.current_slide==0&&(p.current_slide=parseInt(p.start_at_slide));p.start_at_end&&p.current_slide==0&&(p.current_slide=h.length-1);if(m){m=!0;VMM.fireEvent(global,p.events.messege,"Internet Explorer "+VMM.Browser.version+" is not supported by TimelineJS. Please update your browser to version 8 or higher.")}else{VMM.attachElement(i,"");VMM.appendElement(i,"<div class='container main'><div class='feature'><div class='slider'></div></div><div class='navigation'></div></div>");x();VMM.bindEvent("div.slider",T,"LOADED");VMM.bindEvent("div.navigation",C,"LOADED");VMM.bindEvent("div.slider",k,"UPDATE");VMM.bindEvent("div.navigation",L,"UPDATE");o.init(h);u.init(h,c.era
r.gsx$tag!="undefined"&&(s.tag=r.gsx$tag.$t);t.timeline.era.push(s)}else{varo={type:"google spreadsheet",startDate:r.gsx$startdate.$t,endDate:r.gsx$enddate.$t,headline:r.gsx$headline.$t,text:r.gsx$text.$t,asset:{media:r.gsx$media.$t,credit:r.gsx$mediacredit.$t,caption:r.gsx$mediacaption.$t},tag:""};typeofr.gsx$tag!="undefined"&&(o.tag=r.gsx$tag.$t);t.timeline.date.push(o)}}VMM.fireEvent(global,VMM.Timeline.Config.events.data_ready,t)}},storify:{getData:function(e){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Loading Storify...");vart=e.split("storify.com/")[1],n="http://api.storify.com/v1/stories/"+t+"?per_page=300&callback=?",r=setTimeout(function(){trace("STORIFY timeout");VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Storify is not responding")},6e3);VMM.getJSON(n,VMM.Timeline.DataObj.model.storify.buildData).error(function(e,t,n){trace("STORIFY error");trace("STORIFY ERROR: "+t+" "+e.responseText)}).success(function(e){clearTimeout(r)})},buildData:function(e){VMM.fireEvent(global,VMM.Timeline.Config.events.messege,"Parsing Data");vart=VMM.Timeline.DataObj.data_template_obj;t.timeline.startDate=newDate(e.content.date.created);t.timeline.headline=e.content.title;trace(e);varn="",r=e.content.author.username,i="";if(typeofe.content.author.name!="undefined"){r=e.content.author.name;i=e.content.author.username+" "}typeofe.content.description!="undefined"&&e.content.description!=null&&(n+=e.content.description);n+="<div class='storify'>";n+="<div class='vcard author'><a class='screen-name url' href='"+e.content.author.permalink+"' target='_blank'>";n+="<span class='avatar'><img src='"+e.content.author.avatar+"' style='max-width: 32px; max-height: 32px;'></span>";n+="<span class='fn'>"+r+"</span>";n+="<span class='nickname'>"+i+"<span class='thumbnail-inline'></span></span>";n+="</a>";n+="</div>";n+="</div>";t.timeline.text=n;t.timeline.asset.media=e.content.thumbnail;t.timeline.type="storify";for(vars=0;s<e.content.elements.length;s++){varo=e.content.elements[s],u=!1,a=newDate(o.posted_at);trace(o.type);varf={type:"storify",startDate:o.posted_at,endDate:o.posted_at,headline:" ",slug:"",text:"",asset:{media:"",credit:"",caption:""}};if(o.type=="image"){if(typeofo.source.name!="undefined")if(o.source.name=="flickr"){f.asset.media="http://flickr.com/photos/"+o.meta.pathalias+"/"+o.meta.id+"/";f.asset.credit="<a href='"+f.asset.media+"'>"+o.attribution.name+"</a>";f.asset.credit+=" on <a href='"+o.source.href+"'>"+o.source.name+"</a>"}elseif(o.source.name=="instagram"){f.asset.media=o.permalink;f.asset.credit="<a href='"+o.permalink+"'>"+o.attribution.name+"</a>";f.asset.credit+=" on <a href='"+o.source.href+"'>"+o.source.name+"</a>"}else{f.asset.credit="<a href='"+o.permalink+"'>"+o.attribution.name+"</a>";typeofo.source.href!="undefined"&&(f.asset.credit+=" on <a href='"+o.source.href+"'>"+o.source.name+"</a>");f.asset.media=o.data.image.src}else{f.asset.credit="<a href='"+o.permalink+"'>"+o.attribution.name+"</a>";f.asset.media=o.data.image.src}f.slug=o.attribution.name;if(typeofo.data.image.caption!="undefined"&&o.data.image.caption!="undefined"){f.asset.caption=o.data.image.caption;f.slug=o.data.image.caption}}elseif(o.type=="quote"){if(o.permalink.match("twitter")){f.asset.media=o.permalink;f.slug=VMM.Util.untagify(o.data.quote.text)}elseif(o.permalink.match("storify")){u=!0;f.asset.media="<blockquote>"+o.data.quote.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"</blockquote>"}}elseif(o.type=="link"){f.headline=o.data.link.title;f.text=o.data.link.description;o.data.link.thumbnail!="undefined"&&o.data.link.thumbnail!=""?f.asset.media=o.data.link.thumbnail:f.asset.media=o.permalink;f.asset.caption="<a href='"+o.permalink+"' target='_blank'>"+o.data.link.title+"</a>";f.slug=o.data.link.title}elseif(o.type=="text"){if(o.permalink.match("storify")){u=!0;varl=e.content.author.username,c="";if(typeofo.attribution.name!="undefined"){r=o.attribution.name;i=o.attribution.username+" "}varh="<div class='storify'>";h+="<blockquote><p>"+o.data.text.replace(/<\s*\/?\s*b\s*.*?>/g,"")+"</