text: (function(g){g(document).ready(function(){g(window).load(function(){g("#st-container").removeClass("disable-scrolling");g("#loading-animation").fadeOut();g("#preloader").delay(350).fadeOut(800);d();equalheight(".same-height")});if(g(window).width()>1500){g(".effect-wrapper").addClass("col-lg-3")}if(g(window).width()<768){g(".animated").removeClass("animated").removeClass("hiding");g(".stat span").removeClass("timer");g(".timeslot-label").addClass("stick-label")}if(g(window).height()<512){g("#bottom-navlinks").removeClass("bottom-navlinks").addClass("bottom-navlinks-small")}if(g(window).scrollTop()>=100){g("#top-header").addClass("after-scroll");g("#logo-header .logo").removeClass("logo-light").addClass("logo-dark")}g(window).scroll(function(){var p=g(this).scrollTop();var t=g("#top-header");var s=g("#logo-header .logo");var q=g(".right-nav-button");var r=t.height()+g(".track-header").height();if(p>=100){t.addClass("after-scroll");s.removeClass("logo-light").addClass("logo-dark")}else{t.removeClass("after-scroll");s.removeClass("logo-dark").addClass("logo-light")}if(p>=g(".top-section").height()&&g(window).width()>767){q.removeClass("right-nav-button-hidden")}else{if(p<g(".top-section").height()&&g(window).width()>767){q.addClass("right-nav-button-hidden")}}g(".slot").each(function(){var v=g(this).offset().top-p;var u=r+g(this).find(".slot-title").height();if(v<=u&&v>=0){g(".track-header.sticky").find(".slot-detail").html(g(this).data("slotDetail"))}})});g(window).resize(function(){if(g(window).width()>1500){g(".effect-wrapper").addClass("col-lg-3")}else{g(".effect-wrapper").removeClass("col-lg-3")}if(g(window).width()<768){g(".same-height").css("height","100%");g(".timeslot-label").addClass("stick-label")}else{g(".timeslot-label").removeClass("stick-label");if(m.hasClass("st-menu-open")){m.removeClass("st-menu-open");g("body").css("overflow","auto")}equalheight(".same-height")}if(g(window).height()<512){g(".st-menu").addClass("scrollable");g("#bottom-navlinks").removeClass("bottom-navlinks").addClass("bottom-navlinks-small")}else{g(".st-menu").removeClass("scrollable");g("#bottom-navlinks").removeClass("bottom-navlinks-small").addClass("bottom-navlinks")}});g(function(){g("a[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var p=g(this.hash);p=p.length?p:g("[name="+this.hash.slice(1)+"]");if(p.length){g("html,body").animate({scrollTop:p.offset().top},1000);return false}}})});g(function(){g("a[href=#]").click(function(){event.preventDefault()})});g(function(){if(window.location.href.indexOf("schedule")>-1&&window.location.hash){var p=window.location.hash;g(p).click()}});g(function(){var s,q,r,v,u,p,t;t=g(".appear-animation");for(u=0,p=t.length;u<p;u++){r=t[u];v=r.offsetLeft+r.offsetTop;q=v/1000;g(r).css("transition-delay",""+(q*0.47)+"s");g(r).css("transition-duration",""+0.2+"s")}});g(".appear-animation-trigger").appear(function(){setTimeout(function(){g(".appear-animation-trigger").parent("div").find(".appear-animation").addClass("visible")},1000)});g(".animated").appear(function(){var q=g(this);var r=q.data("animation");var p=q.data("delay");if(p){setTimeout(function(){q.addClass(r+" visible");q.removeClass("hiding");if(q.hasClass("counter")){q.find(".timer").countTo()}},p)}else{q.addClass(r+" visible");q.removeClass("hiding");if(q.hasClass("counter")){q.find(".timer").countTo()}}},{accY:-150});equalheight=function(q){var p=0,r=0,u=new Array(),t,s=0;g(q).each(function(){t=g(this);g(t).height("auto");topPostion=t.position().top;if(r!=topPostion){for(currentDiv=0;currentDiv<u.length;currentDiv++){u[currentDiv].height(p)}u.length=0;r=topPostion;p=t.height();u.push(t)}else{u.push(t);p=(p<t.height())?(t.height()):(p)}for(currentDiv=0;currentDiv<u.length;currentDiv++){u[currentDiv].height(p)}})};var m=g(".st-container");g("#menu-trigger").click(function(p){p.stopPropagation();m.toggleClass("st-menu-open")});g(".st-pusher").click(function(){if(m.hasClass("st-menu-open")){m.removeClass("st-menu-open")}});g(".track-header").each(function(){var q=g(this).closest(".schedule-table").find(".slot").first();var p;while(p===undefined){p=q.data("slotDetail");q=q.next()}g(this).find(".slot-detail").html(p)});g("#post-section .post-body p").each(function(){if(g(this).find(".feature-image").length){var p=g(this).find(".feature-image").prop("src");g("#top-section").css("background-image","url("+p+")").addClass("enable-overlay")}});g(".slider").each(function(){g(this).find(".slider-item").first().addClass("slider-current-item").removeClass("hidden");if(g(this).find(".slider-item").length>1){g(this).closest(".speaker-item").find(".slider-next-item").removeClass("hidden")}});g(".slider-next-item").click(function(){var q=g(this).closest("div");var p=q.find(".slider-current-item").next();if(p.length){p.addClass("slider-current-item").removeClass("hidden");q.find(".slider-current-item").first().removeClass("slider-current-item").addClass("hidden")}else{q.find(".slider-item").first().addClass("slider-current-item").removeClass("hidden");q.find(".slider-current-item").last().removeClass("slider-current-item").addClass("hidden")}});g(".modal").on("hidden.bs.modal",function(){var p=g(this).find("iframe");p.attr("src",p.attr("src"))});g(".slot").click(function(){location.hash=g(this).attr("id")});if(typeof twitterFeedUrl!=="undefined"){g.getJSON(twitterFeedUrl,function(p){g.each(p,function(r,q){var s='<div class="tweet animated fadeInUp hidden"><p class="tweet-text">'+n(q.text)+'</p><p class="tweet-meta">by <a href="https://twitter.com/'+q.user.screen_name+'" target="_blank">@'+q.user.screen_name+"</a></p></div>";g("#tweets").append(s)});o()});function n(u){var r,q,p,t,s;q=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim;r=u.replace(q,'<a href="$1" target="_blank">$1</a>');p=/(^|[^\/])(www\.[\S]+(\b|$))/gim;r=r.replace(p,'$1<a href="http://$2" target="_blank">$2</a>');t=/#(\S*)/g;r=r.replace(t,'<a href="https://twitter.com/search?q=%23$1" target="_blank">#$1</a>');s=/\B@([\w-]+)/gm;r=r.replace(s,'<a href="https://twitter.com/$1" target="_blank">@$1</a>');return r}function o(){var p=g("#tweets").find(".tweet"),r=0;g(p.get(0)).removeClass("hidden");function s(){var t=(++r%p.length);g(p.get(t-1)).addClass("hidden");g(p.get(t)).removeClass("hidden")}var q=setInterval(s,5000)}}});function d(){var m=document.createElement("script");m.type="text/javascript";m.async=true;m.src="https://apis.google.com/js/platform.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(m,n)}if(typeof staticGoogleMaps!=="undefined"){g("#canvas-map").addClass("image-section").css("background-image","url(http://maps.googleapis.com/maps/api/staticmap?zoom=17&center="+mobileCenterMapCoordinates+"&size="+g(window).width()+"x700&scale=2&language=en&markers=icon:"+icon+"|"+eventPlaceCoordinates+"&maptype=roadmap&style=visibility:on|lightness:40|gamma:1.1|weight:0.9&style=element:labels|visibility:off&style=feature:water|hue:0x0066ff&style=feature:road|visibility:on&style=feature:road|element:labels|saturation:-30)")}if(typeof googleMaps!=="undefined"){var a,b,l,c,j,k;var e=[];var i=new google.maps.DirectionsService();var h="custom_style";function f(){l=new google.maps.DirectionsRenderer({suppressMarkers:true});c=new google.maps.Geocoder();j=new google.maps.Polyline({strokeColor:"#03a9f4",strokeOpacity:1,strokeWeight:2});var y=[{stylers:[{lightness:40},{visibility:"on"},{gamma:0.9},{weight:0.4}]},{elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"water",stylers:[{color:"#5dc7ff"}]},{featureType:"road",stylers:[{visibility:"off"}]}];var z=[{stylers:[{lightness:40},{visibility:"on"},{gamma:1.1},{weight:0.9}]},{elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"water",stylers:[{color:"#5dc7ff"}]},{featureType:"road",stylers:[{visibility:"on"}]},{featureType:"road",elementType:"labels",stylers:[{saturation:-30}]}];var o={zoom:17,minZoom:2,scrollwheel:false,panControl:false,draggable:true,zoomControl:false,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},scaleControl:false,mapTypeControl:false,streetViewControl:false,center:centerMap,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,h]},mapTypeId:h};if(g(window).width()<768){o.center=mobileCenterMap}if(googleMaps=="logistics"){o.zoom=5;o.zoomControl=true}a=new google.maps.Map(document.getElementById("canvas-map"),o);var p=new google.maps.Marker({position:eventPlace,animation:google.maps.Animation.DROP,icon:icon,map:a});e.push(p);var q={name:"Default Style"};var t={name:"Zoomed Style"};var s=new google.maps.StyledMapType(y,q);var r=new google.maps.StyledMapType(z,t);a.mapTypes.set("default",s);a.mapTypes.set("zoomed",r);if(googleMaps==="logistics"){a.setMapTypeId("default");var x=(document.getElementById("location-input"));b=new google.maps.places.Autocomplete(x);google.maps.event.addListener(b,"place_changed",function(){p.setVisible(false);var D=b.getPlace();if(D.geometry=="undefined"||!D.geometry){return}var C="";if(D.address_components){C=[(D.address_components[0]&&D.address_components[0].short_name||""),(D.address_components[1]&&D.address_components[1].short_name||""),(D.address_components[2]&&D.address_components[2].short_name||"")].join(" ")}c.geocode({address:C},function(F,E){if(E==google.maps.GeocoderStatus.OK){k=F[0].geometry.location;B(k,"TRANSIT")}else{alert("Geocode was not successful for the following reason: "+E)}})})}else{a.setMapTypeId("zoomed")}function B(C,E){var D={origin:C,destination:eventPlace,travelMode:google.maps.TravelMode[E]};i.route(D,function(G,F){if(F==google.maps.DirectionsStatus.OK){a.setMapTypeId("zoomed");l.setMap(a);l.setDirections(G);var J=G.routes[0].legs[0];m(J.start_location);m(J.end_location);g("#distance").text(J.distance.text);g("#estimateTime").text(J.duration.text);g("#mode-select").val(E);g("#mode").removeClass("hidden");var I=g("#mode-icon use").attr("xlink:href");I=I.substring(0,I.indexOf("#")+1)+"icon-"+E.toLowerCase();g("#mode-icon use").attr("xlink:href",I)}else{if(F!=google.maps.DirectionsStatus.OK&&E!="DRIVING"){B(C,"DRIVING")}else{var K=j.getPath();K.push(C);K.push(eventPlace);m(C);m(eventPlace);var H=new google.maps.LatLngBounds();H.extend(C);H.extend(eventPlace);a.fitBounds(H);j.setMap(a);var L=Math.round(google.maps.geometry.spherical.computeDistanceBetween(C,eventPlace)/1000);g("#distance").text(L+" km");g("#estimateTime").text("");g("#find-flight").removeClass("hidden");g("#mode").addClass("hidden")}}});A();g("#find-way").addClass("location-active");v(C);g("#find-way h3").removeClass("fadeInUp").addClass("fadeOutDown")}function n(){if(navigator.geolocation){navigator.geolocation.getCurrentPosition(function(C){k=new google.maps.LatLng(C.coords.latitude,C.coords.longitude);B(k,"TRANSIT")})}}function m(C){var D=new google.maps.Marker({position:C,map:a,icon:icon});e.push(D)}function w(D){var C=new google.maps.Marker({position:D,map:a});e.push(C)}function A(){for(var C=0;C<e.length;C++){e[C].setMap(null)}e=[]}function u(H){var E=a.getZoom(),G=50;var C=Math.abs(H-E);var F=(H>E)?1:-1;for(var D=0;D<C;D++){setTimeout(function(){E+=F;a.setZoom(E)},(D+1)*G)}}function v(C){c.geocode({latLng:C},function(F,E){if(E==google.maps.GeocoderStatus.OK&&F[1]){var D=F[1].address_components;g.each(D,function(G,H){if(H.types[0]=="locality"){g("#result-name").text(H.long_name);return false}})}})}g("#mode-select").change(function(){var C=g(this).val();B(k,C)});g("#direction-locate").click(n);g("#direction-cancel").click(function(){g("#find-way").removeClass("location-active");g("#location-input").val("");g("#find-flight").addClass("hidden");A();l.setMap(null);j.setMap(null);a.setMapTypeId("default");a.panTo(eventPlace);if(g(window).width()<768){a.setCenter(mobileCenterMap)}else{a.setCenter(centerMap)}m(eventPlace);u(5);g("#find-way h3").removeClass("fadeOutDown").addClass("fadeInUp")});if(typeof autoDirectionEnabled!=="undefined"&&autoDirectionEnabled==true){n()}}google.maps.event.addDomListener(window,"load",f)}})(jQuery);