"use strict";var App=angular.module("app",["ngSanitize","ngResource","ui.router","oc.modal","angular-carousel"]).config(["$stateProvider","$locationProvider","$urlRouterProvider",function(t,e,r){return e.hashPrefix("!"),r.otherwise("/home"),t.state("home",{url:"/home",views:{mainView:{templateUrl:"partials/home.html",controller:"MainCtrl"}}}).state("accepted-papers", {url:"/accepted-papers", views:{mainView:{templateUrl:"partials/accepted-papers.html"}}}).state("policy",{url:"/policy",views:{mainView:{templateUrl:"partials/policy.html"}}}).state("committee",{url:"/committee",views:{mainView:{templateUrl:"partials/committee.html"}}}).state("cfp",{url:"/cfp",views:{mainView:{templateUrl:"partials/cfp.html"}}}).state("posterprogram",{url:"/posterprogram",views:{mainView:{templateUrl:"partials/posterprogram.html"}}}).state("posters",{url:"/posters",views:{mainView:{templateUrl:"partials/posters.html"}}}).state("cfw",{url:"/cfw",views:{mainView:{templateUrl:"partials/cfw.html"}}}).state("workshop-bigdama",{url:"/workshop-bigdama",views:{mainView:{templateUrl:"partials/workshop-bigdama.html"}}}).state("epiqprogram",{url:"/epiqprogram",views:{mainView:{templateUrl:"partials/epiqprogram.html"}}}).state("em5gprogram",{url:"/em5gprogram",views:{mainView:{templateUrl:"partials/em5gprogram.html"}}}).state("studentprogram",{url:"/studentprogram",views:{mainView:{templateUrl:"partials/studentprogram.html"}}}).state("studentworkshop",{url:"/studentworkshop",views:{mainView:{templateUrl:"partials/studentworkshop.html"}}}).state("workshop-epiq",{url:"/workshop-epiq", views:{mainView:{templateUrl:"partials/workshop-epiq.html"}}}).state("studentposters",{url:"/studentposters",views:{mainView:{templateUrl:"partials/studentposters.html"}}}).state("travelgrants",{url:"/travelgrants",views:{mainView:{templateUrl:"partials/travelgrants.html"}}}).state("keynote",{url:"/keynote",views:{mainView:{templateUrl:"partials/keynote.html"}}}).state("visa",{url:"/visa",views:{mainView:{templateUrl:"partials/visa.html"}}}).state("camera-ready",{url:"/camera-ready",views:{mainView:{templateUrl:"partials/camera-ready.html"}}}).state("registration",{url:"/registration",views:{mainView:{templateUrl:"partials/registration.html"}}}).state("socialdinner", {url:"/socialdinner",views:{mainView:{templateUrl:"partials/socialdinner.html"}}}).state("reception",{url:"/reception",views:{mainView:{templateUrl:"partials/reception.html"}}}).state("program",{url:"/program",views:{mainView:{templateUrl:"partials/program.html"}}}).state("programatglance",{url:"/programatglance",views:{mainView:{templateUrl:"partials/programatglance.html"}}}).state("workshopatglance",{url:"/workshopatglance",views:{mainView:{templateUrl:"partials/workshopatglance.html"}}}).state("submission",{url:"/submission",views:{mainView:{templateUrl:"partials/submission.html",controller:"MainCtrl"}}}).state("roomshare", {url:"/roomshare",views:{mainView:{templateUrl:"partials/roomshare.html"}}}).state("accomodation",{url:"/accomodation",views:{mainView:{templateUrl:"partials/accommodation.html"}}}).state("accommodation",{url:"/accommodation",views:{mainView:{templateUrl:"partials/accommodation.html"}}}).state("venue",{url:"/venue",views:{mainView:{templateUrl:"partials/venue.html"}}}),e.html5Mode(!1)}]);App.controller("AppCtrl",["$scope","$location","$resource","$rootScope",function(t,e){return t.$location=e,t.$watch("$location.path()",function(e){return t.activeNavId=e||"/"}),t.getClass=function(e){return t.activeNavId.substring(0,e.length)===e?"active":""}}]),App.controller("ModalCtrl",["$scope",function(){console.log("modal ctrl")}]),App.controller("MyCtrl",["$scope",function(){}]),App.controller("MainCtrl",["$scope","$location","$anchorScroll",function(t,e,r){t.scrollTo=function(t){var a=e.hash();e.hash(t),r(),e.hash(a)}}]),App.directive("appVersion",["version",function(t){return function(e,r){return r.text(t)}}]),App.filter("interpolate",["version",function(t){return function(e){return String(e).replace(/\%VERSION\%/gm,t)}}]),App.factory("version",function(){return"0.6.0"});var app = angular.module('myApp', []); 
function toggle_program(){
  if ($('.collapse.in').length == 0){
    $('.panel-collapse').collapse('show');
    $('a#btn_toggle').text('Hide talks');
  }
  else{
    $('.panel-collapse').collapse('hide');
    $('a#btn_toggle').text('Show talks');
  }
}

