function closeMenu(){$("#sidebar-wrapper").removeClass("active")}function setsliderWelcomeHeight(){var i=$(".slider-container"),n=$(window).scrollTop()+$(window).height(),r=i.offset().top,u=$(window).height(),t,f;n=n<u?n:u;t=Math.abs(n-r);t<250&&(t=isMobile?150:800);i.css({height:t});t<800&&(f=$("#slider .hero"),f.each(function(t,i){var u=$(i),f=(n-r)/2;u.css({top:f+"px"})}))}function setHeaderText(){var n=$("#headerImg"),t=$("header .landing-header-content"),i,r;t.length>0&&n.length>0&&(i=n.innerWidth(),r=n.innerHeight(),i>1500&&r>500&&t.length>0&&t.css("padding","8%"))}function cycleToNextImage(){var t=imageIds[currentImageIndex],n;currentImageIndex++;currentImageIndex>=imageIds.length&&(currentImageIndex=0);n={duration:fadeSpeed,queue:!1};$("#"+t).removeClass("active");$("#"+t).fadeOut(n);$("#"+imageIds[currentImageIndex]).fadeIn(n);$("#"+imageIds[currentImageIndex]).addClass("active")}function getAppUrl(){var n=window.location.protocol+"//"+window.location.host+"/";return(location.hostname.indexOf("events.eventact")!=-1||location.hostname.indexOf("beta.eventact")!=-1)&&(n+=window.location.pathname.split("/")[1]+"/"),n[n.length-1]!="/"&&(n=n+"/"),n}var isMobile,currentImageIndex=-1,imageIds=[],fadeSpeed,scalingMode={NONE:0,STRETCH:1,COVER:2,CONTAIN:3},IsLocal,PageUrl;$(document).ready(function(){var n,t,r,i;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)==!1?($(".map iframe").css("pointer-events","none"),$(".map").click(function(){$(".map iframe").css("pointer-events","auto")}),$(".map").mouseleave(function(){$(".map iframe").css("pointer-events","none")}),isMobile=!1):isMobile=!0;window.location.hash&&(n=window.location.hash.replace(/^\//,""),n=n.replace("/",""),t=$(n),t.length&&$("html, body").animate({scrollTop:t.offset().top},1e3));$("#myCarousel").carousel({interval:6e3});$("#myCarousel").carousel("cycle");$("#myCarousel .item:first").addClass("active");$("#header-carousel .item:first").addClass("active");r=$(window).height();$(".events-list").height(r);$(".carousel-linked-nav > li > a").click(function(){return!1});setHeaderText();i=$("#SliderWelcome");i!=undefined&&i.length>0&&setsliderWelcomeHeight();Date.prototype.toISOString||function(){function n(n){return n<10?"0"+n:n}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+n(this.getUTCMonth()+1)+"-"+n(this.getUTCDate())+"T"+n(this.getUTCHours())+":"+n(this.getUTCMinutes())+":"+n(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}();$("#menu-close").click(function(n){n.preventDefault();$("#sidebar-wrapper").removeClass("active")});$("#menu-toggle").click(function(n){n.preventDefault();$("#sidebar-wrapper").addClass("active")})});$.fn.backgroundCycle=function(n){var t=$.extend({duration:5e3,fadeSpeed:1500,backgroundSize:scalingMode.COVER},n);$(".slider-image").hide();fadeSpeed=t.fadeSpeed;var i=this.css("margin-top"),r=this.css("margin-right"),u=this.css("margin-bottom"),f=this.css("margin-left"),e=this,o=this.children();imageIds=[];$.each(o,function(n,e){var h=$(e),s="bgImage"+n,o;e.id=s;switch(t.backgroundSize){default:o=t.backgroundSize;break;case scalingMode.NONE:o="auto";break;case scalingMode.STRETCH:o="100% 100%";break;case scalingMode.COVER:o="cover";break;case scalingMode.CONTAIN:o="contain"}h.css({"background-repeat":"no-repeat","background-size":o,"-moz-background-size":o,"-webkit-background-size":o,position:"absolute",left:f,top:i,right:r,bottom:u,"background-position-y":"center","background-position-x":"center"});imageIds.push(s)});e.css({position:"absolute",left:f,top:i,right:r,bottom:u});this.append(e);$("#"+imageIds[0]).show();$("#"+imageIds[0]).addClass("active");imageIds.length>1&&setInterval(cycleToNextImage,t.duration)},function(){angular.module("EventListApp",["ngSanitize","ea.translation","ea.agenda","eventact.ui.utils","ea.inputs","eaStream.module","ea.storage",]).config(["$sceDelegateProvider",function(n){n.resourceUrlWhitelist(["self","https://static.eventact.com/**","https://api.darksky.net/**"]);n.resourceUrlBlacklist([])}]).directive("renderEnds",function(){return{restrict:"A",link:function(n,t,i){n.$last&&n.$eval(i.renderEnds)}}})}();IsLocal=document.location.hostname==="localhost";PageUrl=window.location.href.split("#")[0],function(){angular.module("EventListApp").factory("ApiFactory",["$http","Constants",function(n,t){var i={},u,r,f;return i.URL={BaseUrl:t.BaseUrl,ApiBaseUrl:t.ApiBaseUrl},r="",f="https://api.darksky.net/forecast/"+t.WeatherAPiKey+"/",i.SetToken=function(n){u=n},i.setCacheMode=function(n){r=n=="refresh"?"?cache=refresh":""},i.GetErrorUrl=function(){return URL.BaseUrl+"Error"},i.GetEventsByParameters=function(i){return n.post(t.LocalApiBaseUrl+"EventListInfo",i)},i.SendMessage=function(i){return n.post(t.LocalApiBaseUrl+"SendMessage",i)},i.GetEventInfo=function(i,r){return n.get(t.LocalApiBaseUrl+"GetEventInfo",{params:{projectID:i,lang:r}})},i.GetEventCulture=function(i,r){return n.get(t.ApiBaseUrl+"GetEventLanguages",{params:{projectID:i,lang:r}})},i.SetCulture=function(i,r){return n.post(t.BaseUrl+"ChangeCulture",{eventid:i,culture:r})},i.GetCity=function(i,r){return n.get(t.LocalApiBaseUrl+"GetCity",{params:{projectID:i,lang:r}})},i.GetTickets=function(i,f){return n.get(t.ApiBaseUrl+"tickets/"+i+"/"+f+"/get"+r,{headers:{"API-Token":u}})},i.GetSpeakers=function(i,f){return n.get(t.ApiBaseUrl+"speakers/"+i+"/"+f+"/general"+r,{headers:{"API-Token":u}})},i.GetAllSpeakers=function(i,f){return n.get(t.ApiBaseUrl+"speakers/"+i+"/"+f+"/all"+r,{headers:{"API-Token":u}})},i.GetKeynoteSpeakers=function(i,f){return n.get(t.ApiBaseUrl+"speakers/"+i+"/"+f+"/keynote"+r,{headers:{"API-Token":u}})},i.GetFeaturedSpeakers=function(i,f){return n.get(t.ApiBaseUrl+"speakers/"+i+"/"+f+"/featured"+r,{headers:{"API-Token":u}})},i.GetOrganizerSpeakers=function(i,f){return n.get(t.ApiBaseUrl+"speakers/"+i+"/"+f+"/organizer"+r,{headers:{"API-Token":u}})},i.GetExhibitors=function(i,f){return n.get(t.ApiBaseUrl+"exhibitors/"+i+"/"+f+"/get"+r,{headers:{"API-Token":u}})},i.GetSponsors=function(i,f){return n.get(t.ApiBaseUrl+"sponsors/"+i+"/"+f+"/get"+r,{headers:{"API-Token":u}})},i.GetGalleryImages=function(i){return n.get(t.ApiBaseUrl+"images/"+i+"/gallery"+r,{headers:{"API-Token":u}})},i.GetTopics=function(i,f){return n.get(t.ApiBaseUrl+"agenda/"+i+"/"+f+"/topics"+r,{headers:{"API-Token":u}})},i.GetEventNewsApi=function(i,f){return n.get(t.ApiBaseUrl+"News/"+i+"/"+f+"/get"+r,{headers:{"API-Token":u}})},i.GetTestimonials=function(i,f){return n.get(t.ApiBaseUrl+"news/"+i+"/"+f+"/testimonials"+r,{headers:{"API-Token":u}})},i.GetFeaturedStories=function(i,f){return n.get(t.ApiBaseUrl+"news/"+i+"/"+f+"/featured"+r,{headers:{"API-Token":u}})},i.GetFeaturedStats=function(i,f){return n.get(t.ApiBaseUrl+"states/"+i+"/"+f+"/featured"+r,{headers:{"API-Token":u}})},i.GetFeaturedLinks=function(i,f){return n.get(t.ApiBaseUrl+"links/"+i+"/"+f+"/featured"+r,{headers:{"API-Token":u}})},i.GetContactUSLinks=function(i,f){return n.get(t.ApiBaseUrl+"links/"+i+"/"+f+"/contactus"+r,{headers:{"API-Token":u}})},i.GetSocialLinks=function(i){return n.get(t.ApiBaseUrl+"links/"+i+"/social"+r,{headers:{"API-Token":u}})},i.GetFAQ=function(i,f){return n.get(t.ApiBaseUrl+"faq/"+i+"/"+f+"/get"+r,{headers:{"API-Token":u}})},i.GetVenueMaps=function(i,f){return n.get(t.ApiBaseUrl+"venues/"+i+"/"+f+"/maps"+r,{headers:{"API-Token":u}})},i.GetUsersCountries=function(i){return n.get(t.ApiBaseUrl+"Participants/"+i+"/UsersCountries",{headers:{"API-Token":u}})},i.GetGeoLocationByName=function(t){return n.get("https://maps.googleapis.com/maps/api/geocode/json?key=AIzaSyBWZPevTJKlmiMuNoD5gg9hPNV4ldZls9U&address=address="+t)},i.GetWeather=function(t,i,r,u){var e=f+t+","+i;return e=u?e+","+u+"?lang="+r+"&units=auto":e+"?lang="+r+"&units=auto",n.jsonp(e,{jsonpCallbackParam:"callback"})},i}])}(),function(){"use strict";angular.module("EventListApp").constant("Constants",{EventID:0,Lang:"",WeatherAPiKey:"0e8a1e5dcc4b9981b51b0e82675e0ff9",SearchTypes:{All:1,ByParameters:2,ByDate:3},ApiBaseUrl:"https://openapi.eventact.com/v1/",LocalApiBaseUrl:getAppUrl()+"Api/EventsApi/",BaseUrl:getAppUrl()+"events/",AppURL:getAppUrl(),Folder:"",Texts:{ShareLinkTxt:" Hi I wanted to share this link with you \n ",ShareLinkTxtHe:"היי רציתי לשתף אותך בלינק הזה \n",Noreplay:"noreplay@eventact.com",EmailSubject:" new Email from "},SiteSections:{Header:1,Description:2,Registration:3,News:4,Weather:5,Counter:6,Location:7,Speakers:8,SpeakersAll:8,Exhibitors:9,Sponsors:10,Abstract:11,Networking:12,ContactUs:13,Share:14,Footer:15,SpeakersKeynote:16,SpeakersFeatured:17,CityInfo:18,Organizers:19,Program:20,SliderWelcome:21,SliderGallery:22,TimeTable:23,Topics:24,ConferenceApp:25,FeaturedStories:26,FeaturedLinks:27,Testimonials:28,FeaturedStats:29,SocialLinks:30,FAQ:31,Raw:32,GeneralInformation:33,VenueMap:34,Seperator:35,Video:36,CountryMap:37},EventListSections:{Counter:"Counter",Description:"Description",Registration:"Registration",News:"News",CityInfo:"CityInfo",Speakers:"Speakers",SpeakersKeynote:"SpeakersKeynote",SpeakersFeatured:"SpeakersFeatured",Exhibitors:"Exhibitors",Sponsors:"Sponsors",Abstract:"Abstract",Organizers:"Organizers",Networking:"Networking",ContactUs:"ContactUs",Weather:"Weather",Share:"Share",Location:"Location",Program:"Program",SliderGallery:"SliderGallery",SliderWelcome:"SliderWelcome",Topics:"Topics",Header:"Header",TimeTable:"TimeTable",ConfrenceApp:"ConfrenceApp",FeaturedStories:"FeaturedStories",FeaturedLinks:"FeaturedLinks",Testimonials:"Testimonials",FeaturedStats:"FeaturedStats",SocialLinks:"SocialLinks",FAQ:"FAQ",Raw:"Raw",GeneralInformation:"GeneralInformation",VenueMap:"VenueMap",SpeakersAll:"SpeakersAll",Seperator:"Seperator",Video:"Video",CountryMap:"CountryMap"}})}(),function(){"use strict";function t(){function t(t){var i=this,r,u;this.configureOptions=function(t){angular.extend(n,t)};i.configOptions=t;i.openModals=[];r=function(n,t){var i=$q.defer();return n?i.resolve(n):t?$templateRequest(t,!0).then(function(n){i.resolve(n)},function(n){i.reject(n)}):i.reject("No template or templateUrl has been specified."),i.promise};u=function(n,t){var i=n.children();return i.length>0?$animate.enter(t,n,i[i.length-1]):$animate.enter(t,n)};i.closeModals=function(n,t){for(t=t||i.configOptions.closeDelay;i.openModals.length;)i.openModals[0].close(n,t),i.openModals.splice(0,1)};var f=function(n){return["$scope","close",function(t,i){t.close=i;t.bindings=n.bindings}]},e=function(n){var t=function(n){var t=function(n,t,i){return[t,i].join("-").toLowerCase()};return n.replace(/([a-z0-9])([A-Z])/g,t)},i=t(n.component),r="<"+i+' close="close"',u=Object.keys(n.bindings||{}),f;return u.length>0&&(f=u.map(function(n){return t(n)+'="bindings.'+n+'"'}),r+=" "+f.join(" ")),r+("><\/"+i+">")},o=function(n){n.controller=f(n);n.template=e(n)};i.showModal=function(n){n.component&&o(n);var f=angular.element($document[0].body),t=$q.defer(),e=n.controller;return e?(r(n.template,n.templateUrl).then(function(r){function d(r){v.resolve(r);n.bodyClass&&f[0].classList.remove(n.bodyClass);$animate.leave(s).then(function(){if(s){w.resolve(r);h.$destroy();for(var n=0;n<i.openModals.length;n++)if(i.openModals[n].modal===e){i.openModals.splice(n,1);break}o.close=null;t=null;v=null;e=null;o=null;s=null;h=null}});c&&c()}var e={},h=(n.scope||$rootScope).$new(),c=null,l=n.locationChangeSuccess,k,s,y,p,a;l===!1?c=angular.noop:angular.isNumber(l)&&l>=0?$timeout(function(){c=$rootScope.$on("$locationChangeSuccess",o.close)},l):$timeout(function(){c=$rootScope.$on("$locationChangeSuccess",o.close)},i.configOptions.closeDelay);var v=$q.defer(),w=$q.defer(),b=!1,o={$scope:h,close:function(t,r){b||(b=!0,r=r||i.configOptions.closeDelay,typeof n.preClose=="function"&&n.preClose(e,t,r),(r===undefined||r===null)&&(r=0),$timeout(function(){d(t)},r))}};n.inputs&&angular.extend(o,n.inputs);k=$compile(r);s=k(h);o.$element=s;y=h[n.controllerAs];p=$controller(n.controller,o,!1,n.controllerAs);n.controllerAs&&y&&angular.extend(p,y);a=f;angular.isString(n.appendElement)?a=angular.element($document[0].querySelector(n.appendElement)):n.appendElement&&(a=n.appendElement);u(a,s);n.bodyClass&&f[0].classList.add(n.bodyClass);e.controller=p;e.scope=h;e.element=s;e.close=v.promise;e.closed=w.promise;angular.isFunction(e.controller.$onInit)&&e.controller.$onInit();t.resolve(e);document.activeElement.blur();i.openModals.push({modal:e,close:o.close})}).then(null,function(n){t.reject(n)}),t.promise):(t.reject("No controller has been specified."),t.promise)}}return new t(n)}angular.module("EventListApp").service("EaModalService",t);t.$inject=["$animate","$document","$compile","$controller","$rootScope","$q","$templateRequest","$timeout"];var n={closeDelay:0}}(),function(){angular.module("EventListApp").factory("SpinnerService",function(){var n={};return{_register:function(t){t.hasOwnProperty("name")||console.log("Spinner must specify a name when registering with the spinner service");n[t.name]=t},_unregister:function(t){n.hasOwnProperty(t)&&delete n[t]},_unregisterGroup:function(t){for(var i in n)n[i].group===t&&delete n[i]},_unregisterAll:function(){for(var t in n)delete n[t]},Show:function(t){var i=n[t];if(!i)return!1;i.show()},Hide:function(t){var i=n[t];if(!i)return!1;i.hide()},ShowGroup:function(t){var r=!1,u,i;for(u in n)i=n[u],i.group===t&&(i.show(),r=!0);if(!r)return console.log("No spinners found with group '"+t+"'."),!1},HideGroup:function(t){var r=!1,u,i;for(u in n)i=n[u],i.group===t&&(i.hide(),r=!0);if(!r)return console.log("No spinners found with group '"+t+"'."),!1},ShowAll:function(){for(var t in n)n[t].show()},HideAll:function(){for(var t in n)n[t].hide()}}})}(),function(){"use strict";function n(n,t,i,r){var o,u,s,e;n.recordTimelimit=100;let f={messageFailed:"messageFailed",messageSuccess:"messageSuccess",connectionError:"connectionError",unsupported:"unsupported",recording:"recording"};Function("/*@cc_on return document.documentMode===10@*/")()?document.documentElement.className+=" ie ie10 ":window.MSInputMethodContext&&document.documentMode===11&&(document.documentElement.className+=" ie ie11 ");n.form={};u=0;i.addTranslation("en",{recording:"recording...",finished:"Message recorded  ",recordMsg:"Record message",finishRec:"Click to finish",reRecord:"Recored again",noMicAccess:"No access to microphone",unsupported:"Your browser is currently unsupported",messageFailed:"Sorry $name, message delivery failed. check your input and try again",messageSuccess:"Your message has been sent.",connectionError:"Sorry $name, it seems that my mail server is not responding. Please try again later!"}).addTranslation("he",{recording:"מקליט...",finished:"הודעה הוקלטה  ",recordMsg:"הקלטת הודעה",finishRec:"סיום הקלטה",noMicAccess:"אין גישה למיקרופון",reRecord:"שינוי הקלטה",unsupported:"הדפדפן שלך אינו נתמך",messageFailed:"סליחה $name, שליחת ההודעה נכשלה. יש לבדוק את הנתונים ולנסות שוב",messageSuccess:"ההודעה שלך נשלחה",connectionError:"אנו מתצלים $name, נראה ששרת ההודעות שלנו לא מגיב. נא לנסות מאוחר יותר"});n.init=function(n,t,i){s=t;e=i;typeof getWebID=="function"&&(u=getWebID());Ea_eventact(n,!1,"",e,u,6)};n.recStart=function(){n.currentTime=0;n.recInProgress=!0;o=t(function(){n.currentTime++},1e3)};n.recEnds=function(){clearInterval(o);n.recInProgress=!1};n.recInProgress=function(t){n.inProgress=t};n.sendMessage=function(){if(n.submitted=!0,n.form.secret=$("#secret").val(),n.contactForm.$invalid||n.contactForm.secret||n.inProgress)return!1;var t=angular.copy(n.form.name);t.indexOf(" ")>=0&&(t=name.split(" ").slice(0,-1).join(" "));n.form.code=s;n.form.lang=e;n.form.webID=u;n.inProgress=!0;r.SendMessage(n.form).then(function(r){r.data.success?(n.result=i.translateAll(f.messageSuccess),n.mailSuccess=!0):n.result=r.data.errorMsg?r.data.errorMsg:i.translateAll(f.messageFailed).replace("$name",t)}).catch(function(){n.mailSuccess=!1;n.result=i.translateAll(f.connectionError).replace("$name",t)}).finally(function(){n.inProgress=!1})}}angular.module("EventListApp").controller("ContactUsCtrl",n);n.$inject=["$scope","$interval","$translation","ApiFactory"]}(),function(){"use strict";function n(n,t,i){n.Lang=[];n.SelectedLang=0;n.eventId=0;n.init=function(t){n.eventId=t};n.setCulture=function(t){if(!t)return!1;i.SetCulture(n.eventId,t).then(function(){window.location.reload()}).catch(function(){alert("error changing language")})}}angular.module("EventListApp").controller("CultureCtrl",n);n.$inject=["$scope","Constants","ApiFactory"]}(),function(){"use strict";function n(n,t,i,r,u,f,e){function v(){if(parent.postMessage){var n=document.getElementById("wrapper").offsetHeight;parent.postMessage({height:n,source:"website"},"*")}}function ht(){n.contactForm.$setPristine();n.contactForm.$setUntouched();n.submitted=!1;n.form={};n.mailSuccess=!1}function b(){if(!y){var t={top:$(window).scrollTop(),height:$(window).height(),bottom:$(window).scrollTop()+$(window).height()};n.allSections.length>0&&$.each(n.allSections,function(n,t){!t.loadedContent&&gt(t)&&lt(t)})}}function ct(n,t,i){var r="";switch(n){case 1:r+="col-sm-6 col-sm-offset-3";break;case 2:r+="col-sm-6";break;case 3:r+="col-sm-6 col-md-4";break;default:r+=i?"col-sm-6":"col-sm-4 col-md-3"}return bt(t,n,r,i)}function bt(n,t,i,r){var u,f,e;if(i==undefined&&(i=""),u=r?2:4,(t<=u||t>u&&n+1===t)&&n+1==t&&u>2&&t>1&&(t%2!=0&&t>=4?i+=" col-sm-offset-4 ":t%3==0&&t%4!=0&&n+1!=t&&(i+=" col-sm-offset-3"),(t<=u||t%2!=0&&n%u>1&&u>2)&&(i+=" col-md-offset-0 ")),f=t%u,n+1>=u&&t%u!=0&&t-n==f&&n%u==0){e=t%u;switch(e){case 3:i+=" col-md-offset-1";break;case 2:i+=" col-sm-offset-3";break;case 1:r==!1&&(i+=" col-md-4 col-sm-offset-3")}}return i}function k(n,t,i){var r="paddingT ";switch(n){case 1:r+="col-sm-6 col-sm-offset-3";break;case 2:r+="col-sm-6";break;case 3:r+="col-sm-4";break;default:r+=i?"col-sm-6":"col-sm-3"}return kt(t,n,r,i)}function kt(n,t,i,r){var u,f;if(i==undefined&&(i=""),u=r?2:4,n+1>=u&&t%u!=0&&n>=t-3&&n%u==0){f=t%u;switch(f){case 3:i+=" col-sm-offset-1";break;case 2:i+=" col-sm-offset-3";break;case 1:r==!1&&(i+=" col-md-2 col-sm-offset-5")}}return i}function dt(t){ht();n.result="";t&&(n.form.message=t);n.mailSuccess=!1;$("#mailModal").modal("show")}function gt(n,t){var u=$("#"+n.id),o=t||!1,i=$(window).scrollTop(),f=i+$(window).height(),r=$(u).offset().top,e=r+$(u).height();return o===!0?i<r&&f>e:r<=f&&e>=i}function ni(){$("a[href*=\\#]:not([href=\\#])").click(function(){var t,i;if((location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")||location.hostname==this.hostname)&&(t=$(this.hash),t=t.length?t:$("[name="+this.hash.slice(1)+"]"),t.length))return y=!0,i=n.allSections.find(function(n){return n.id==t[0].id}),i&&lt(i),$("html,body").animate({scrollTop:t.offset().top},2e3,function(){y=!1}),!1})}function ti(){var t=[],n;if(p.length!=0)return n=0,$("section").each(function(i,r){var u=angular.copy(yt);u.loadSection=r.getAttribute("loadsection");u.loadSection!=null&&(u.id=r.id,u.order=n++,u.loadedContent=!1,u.loadingApiData=!1,n>3&&$("#"+r.id+" .section-body").hide(),u.section=p[r.id]==undefined?0:p[r.id],t.push(u))}),t}function lt(t){var r;if(t.loadedContent||t.loadingApiData||n.EventID==undefined)return!1;t.loadingApiData=!0;switch(t.loadSection){case o.Registration:i.GetTickets(n.EventID,n.lang).then(function(i){i.data!=null&&(n.Tickets=i.data,n.tarifsCount=2,angular.forEach(n.Tickets,function(t){t.tariffs.length>=n.tarifsCount&&(n.tarifsCount=t.tariffs.length+1)}),n.showTariffTimer=!0,h(t.id),s(t))}).catch(function(n){console.log("response: "+n.data)});break;case o.News:i.GetEventNewsApi(n.EventID,n.lang).then(function(i){i.data!=null&&(n.News=i.data,h(t.id));s(t)}).catch(function(n){console.log("response: "+n)});break;case o.SpeakersAll:i.GetAllSpeakers(n.EventID,n.lang).then(function(i){if(i.data){let t=[];t=t.concat(i.data.keynote);t=t.concat(i.data.featured);t=t.concat(i.data.organizer);t=t.concat(i.data.speakers);n.SpeakersAll=t}h(t.id);s(t)}).catch(function(n){console.log("response: "+n)});break;case o.Speakers:i.GetSpeakers(n.EventID,n.lang).then(function(i){i.data!=null&&(i.data.length>0&&(n.Speakers=i.data),h(t.id));s(t)}).catch(function(n){console.log("response: "+n)});break;case o.SpeakersKeynote:i.GetKeynoteSpeakers(n.EventID,n.lang).then(function(i){i.data!=null&&(i.data.length>0&&(n.SpeakersKeynote=i.data),h(t.id));s(t)}).catch(function(n){console.log("response: "+n)}).finally(function(){t.loadedContent=!0});break;case o.SpeakersFeatured:i.GetFeaturedSpeakers(n.EventID,n.lang).then(function(i){i.data!=null&&(i.data.length>0&&(n.SpeakersFeatured=i.data),h(t.id));s(t)}).catch(function(n){console.log("response: "+n)}).finally(function(){t.loadedContent=!0});break;case o.Organizers:i.GetOrganizerSpeakers(n.EventID,n.lang).then(function(i){i.data!=null&&(i.data.length>0&&(n.Organizers=i.data),h(t.id));s(t)},function(n){console.log("response: "+n)});break;case o.Exhibitors:navigator.onLine?i.GetExhibitors(n.EventID,n.lang).then(function(i){i.data!=null&&(e.Save("exhibitors_"+n.EventID,i.data),i.data.length>0&&(n.Exhibitors=i.data),h(t.id));s(t)}).catch(function(n){console.log("response: "+n)}):(r=e.GetNoExpiry("exhibitors_"+n.EventID),n.isEmpty(r)==!1&&(n.Exhibitors=r),h(t.id),s(t));break;case o.Sponsors:navigator.onLine?i.GetSponsors(n.EventID,n.lang).then(function(i){i.data!=null&&(e.Save("sponsors_"+n.EventID,i.data),n.isEmpty(i.data)==!1&&(n.Sponsors=i.data),h(t.id));s(t)}).catch(function(n){console.log("response: "+n)}):(r=e.GetNoExpiry("sponsors_"+n.EventID),n.isEmpty(r)==!1&&(n.Sponsors=r),h(t.id),s(t));break;case o.CityInfo:i.GetCity(n.EventID,n.lang).then(function(i){i.data!=null&&(n.CityInfo=i.data.city,n.Affilliates=i.data.affiliates,h(t.id))}).catch(function(n){console.log("response: "+n)});s(t);break;case o.SliderGallery:i.GetGalleryImages(n.EventID).then(function(i){i.data!=null&&(n.SliderGallery=i.data,h(t.id));s(t)}).catch(function(n){console.log("response: "+n)});break;case o.Topics:i.GetTopics(n.EventID,n.lang).then(function(i){i.data!=null&&(n.Topics=i.data,h(t.id));s(t)}).catch(function(n){console.log("response: "+n)});break;case o.ContactUs:i.GetContactUSLinks(n.EventID,g).then(function(i){n.ContactUSLinks=i.data;h(t.id);s(t)}).catch(function(n){console.log("Gallery Images error: "+n.data)});case o.Program:n.showProgram=!0;s(t);h(t.id);break;case o.TimeTable:n.showTimeTable=!0;h(t.id);s(t);break;case o.Video:n.showHall=!0;h(t.id);s(t);break;case o.Weather:n.showWeather=!0;s(t);h(t.id);break;case o.Counter:ii();h(t.id);s(t);break;case o.FeaturedLinks:i.GetFeaturedLinks(n.EventID,n.lang).then(function(t){n.FeaturedLinks=t.data}).catch(function(n){console.log("GetFeaturedLinks error: ",n.data)});s(t);h(t.id);break;case o.Testimonials:i.GetTestimonials(n.EventID,n.lang).then(function(i){n.Testimonials=i.data;h(t.id);n.owlOptions={items:1,autoplay:!0,loop:!0,autoplayTimeout:3e3,touchDrag:n.Testimonials.length>1,mouseDrag:n.Testimonials.length>1,autoplayHoverPause:!1}}).catch(function(n){console.log("GetTestimonials error: ",n.data)});s(t);break;case o.FeaturedStories:i.GetFeaturedStories(n.EventID,n.lang).then(function(t){n.FeaturedStories=t.data}).catch(function(n){console.log("GetFeaturedStories error: ",n.data)});s(t);h(t.id);break;case o.FeaturedStats:i.GetFeaturedStats(n.EventID,n.lang).then(function(i){n.FeaturedStats=i.data;h(t.id)}).catch(function(n){console.log("GetFeaturedStats error: ",n.data)});s(t);break;case o.SocialLinks:i.GetSocialLinks(n.EventID).then(function(i){n.SocialLinks=i.data;h(t.id)}).catch(function(n){console.log("Get SocialLinks error: ",n.data)});s(t);break;case o.FAQ:i.GetFAQ(n.EventID,n.lang).then(function(i){n.FAQList=i.data;h(t.id)}).catch(function(n){console.log("Get FAQ error: ",n.data)});s(t);break;case o.VenueMap:i.GetVenueMaps(n.EventID,n.lang).then(function(i){n.venueMaps=i.data;h(t.id)}).catch(function(n){console.log("Get venueMaps error: ",n.data)});s(t);break;case o.CountryMap:i.GetUsersCountries(n.EventID,n.lang).then(function(i){n.usersCountries=i.data;h(t.id)}).catch(function(n){console.log("Get users countries error: ",n.data)});s(t);break;case o.Description:case o.Abstract:case o.Networking:case o.SliderWelcome:case o.Header:h(t.id);s(t);break;default:h(t.id);s(t)}}function s(t){if(n.allSections.length>0&&!t.loadedContent)angular.element("#"+t.id+" .section-body").show(),n.allSections[t.order].loadedContent=!0,t.loadedContent=!0}function ii(){angular.element(".countdown").countdown({date:new Date(n.date),offset:n.offset})}function ri(t,i,u,f,e,o){t!=undefined&&(g=t);i!=undefined&&(n.EventID=parseInt(i));u!=undefined&&(n.MailModel.Code=u);n.offset=o;f!=undefined&&(n.date=f);e!=undefined&&(n.lang=e);n.lang==13&&(w=r.Texts.ShareLinkTxtHe+n.pageUrl);n.shareMsg=w}function ui(n){var t=n.css("background-color");return t=="rgb(255, 255, 255)"||t=="rgba(0, 0, 0, 0)"?!0:!1}function fi(){var e=document.documentElement.lang||"en",f=new Date(n.date),o,t,r;!1&&(o=new Date);t=null;f<=o||ei(f,vt)?n.hasSpecificDate=!1:(t=Math.round(f.getTime()/1e3),n.currentIcon=45);r=c.city+"+"+c.country;r=r.replace(" ","+");c.latitude&&c.longitude?i.GetWeather(c.latitude,c.longitude,e,t).then(function(t){var i=t.data;i==undefined?n.weatherError=!0:(n.forecast=i,n.hasSpecificDate&&(n.forecast.currently=n.forecast.daily.data[0]))}).catch(function(t){console.log(t.data);n.weatherError=!0}):i.GetGeoLocationByName(r).then(function(r){r.data.status.toLowerCase()=="ok"?r.data.results.length==1&&(c.latitude=r.data.results[0].geometry.location.lat,c.longitude=r.data.results[0].geometry.location.lng,i.GetWeather(c.latitude,c.longitude,e,t).then(function(t){var i=t.data;i==undefined?n.weatherError=!0:(n.forecast=i,n.hasSpecificDate&&(n.forecast.currently=n.forecast.daily.data[0]),u.Hide("Weather"))}).catch(function(t){console.log(t);n.weatherError=!0})):(n.weatherError=!0,u.Hide("Weather"))}).catch(function(t){console.log(t.data);n.weatherError=!0;u.Hide("Weather")})}function d(n){if(!n)return!1;let t="؀-ۿݐ-ݿﭐ-﷿ﹰ-﻿א-׿",i=new RegExp("["+t+"]","g");return i.test(n)}function ei(n,t){t==undefined&&(t=3);var i=new Date,n=new Date(n).setHours(0,0,0);return new Date(i.getFullYear(),i.getMonth(),i.getDate()+t)>=n?!0:!1}function oi(n,t){var i=parseInt(n)||0,r=parseInt(t)||0;i!=0&&c.latitude==0&&(c.latitude=i);r!=0&&c.longitude==0&&(c.longitude=r)}function si(){n.allowScroll=!0;b()}function h(n){u.Hide(n);n.indexOf("Speakers")==-1&&f(function(){v()},500)}function tt(n,t){var i="";return n.indexOf(t)>-1&&(i=hi(n)[t]),i}function hi(n){var t={},i=n.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(n,i,r){t[i]=r});return t}function ci(n){return window.location.href.indexOf("events.eventact.com")!=-1?n:li(n,"webid",nt)}function li(n,t,i){if(!n)return n;var r=n.indexOf("?")>-1?"&":"?",u=tt(n,t);return u||(n=n+r+t+"="+encodeURIComponent(i)),n}function it(n,t){var u,i,r,f;if(n=ci(n),!t||t.length==0)return n;for(r="",i=0;i<t.length;i++)(u=t[i],r=getCookie("eventlist_"+u),r)&&(f=tt(n,t[i]),f||(n=n+"&"+t[i]+"="+r));return n}function ai(){for(var t,i,n=0;n<l.length;n++)i=l[n],t=tt(window.location.search,i),t&&setCookie("eventlist_"+i,t,null)}function vi(n){return n.indexOf("eventact.com")!=-1?!0:!1}var y,p,w,at,g,ot,st;n.pageUrl=PageUrl;n.form={mailto:"",name:"",message:""};n.letterLimit=30;n.wordLimit=5;n.mailtoOrganizer=!0;n.mailSuccess=!1;n.companyid;n.result="";n.date=(new Date).getDate();n.EventID=0;n.lang=9;n.submitted=!1;y=!1;p=r.SiteSections;n.allowScroll=!0;w=r.Texts.ShareLinkTxt+n.pageUrl;at="";n.Tickets=[];n.FeaturedLinks=[];g=0;n.Sponsors=[];n.Organizers=[];n.Exhibitors=[];n.Speakers=[];n.SpeakersKeynote=[];n.SpeakersFeatured=[];n.FeaturedStories=[];n.SpeakersAll=[];n.Testimonials=[];n.SliderGallery=[];n.News=[];n.ContactUSLinks=[];n.FeaturedStats=[];n.allSections=[];n.CityInfo={};n.Topics=[];n.FAQList=[];n.hasSpecificDate=!0;n.showWeather=!1;n.showProgram=!1;n.showHall=!1;n.weeklyIcon=52;n.currentIcon=60;n.dayIcons=100;n.units="kph";n.skyconColor="black";n.today=t("date")(new Date,"EEE");n.tarifsCount=0;n.showTariffTimer=!1;n.mapConfig={fade:!0,alwaysOn:!0,neverOn:!1,fill:!1,fillColor:"#ffffff",fillOpacity:.1,stroke:!0,strokeColor:"#000000",strokeOpacity:.6,strokeWidth:1,shadow:!0,shadowColor:"#000000",shadowOpacity:.8,shadowRadius:10};var rt=0,ut=0,nt=0,ft=0,l=["utm_source","utm_medium","utm_campaign"];Function("/*@cc_on return document.documentMode===10@*/")()?document.documentElement.className+=" ie ie10 ":window.MSInputMethodContext&&document.documentMode===11&&(document.documentElement.className+=" ie ie11 ");var c={city:"",address:"",country:"",latitude:0,longitude:0},vt=3,et=!1,yt={id:"",top:0,height:0,bottom:0,order:0,loadedContent:!1,loadingApiData:!0,section:0},pt=function(t){n.MailModel.Captcha=t};window.captchaSuccess=pt;n.owlOptions={items:1,autoplay:!0,loop:!0,autoplayTimeout:3e3,touchDrag:!0,mouseDrag:!0,autoplayHoverPause:!1};n.isActiveTab=function(n){return rt==n};n.setActiveTab=function(n){rt=n};n.repeatEnd=function(){f(function(){v()},1200)};n.isActiveMap=function(n){return ut==n};n.setActiveMap=function(n){ut=n};n.MailModel={Code:"",FirstName:"",MessageFrom:"",MessageTo:"",Subject:"",MessageBody:"",Lang:n.lang};var wt=new Date("january 22, 2017"),yi=t("date")(new Date(wt),"yyyy-MM-dd HH : mm "),o=r.EventListSections;IsLocal&&(ot=n.pageUrl.split(window.location.host),st="https://events.eventact.com/",n.pageUrl=st+ot[1]);window.addEventListener?window.addEventListener("load",v,!1):window.attachEvent&&window.attachEvent("onload",v);n.sliderInit=function(){$("#slider").backgroundCycle({fadeSpeed:2e3,duration:6e3,backgroundSize:scalingMode.COVER});setsliderWelcomeHeight()};n.initWeather=function(t,i,r,u){c.city=i;c.country=t;n.skyconColor=$("#Weather").css("color");oi(r,u);fi()};n.getRow=function(n,t){if(n<=4||t%4==0)return"row"};n.init=function(t,r,u,e,o,s,h,c,a,v){var p,y;for(i.SetToken(c),v&&i.setCacheMode(v),ri(t,r,u,e,o,s),ft=a,et=h,ai(),typeof getWebID=="function"&&(nt=getWebID()),Ea_eventact(r,!1,"",o,nt,6),n.allSections=ti(),window.location.hash&&(n.allowScroll=!1,f(si,1e3)),n.allowScroll&&b(),ni(),p=$('a[href^="https://"]'),y=0;y<p.length;y++)vi(p[y].href)&&(p[y].href=it(p[y].href,l));n.$on("$viewContentLoaded",function(){b()})};n.showSpeakerCountry=function(n,t){if(!t)return!1;switch(n){case 0:return!0;case 1:return!1;case 2:return t!=ft}};n.addParamsToLink=function(n){var t=$("#"+n);let i=t.attr("ng-href")||t.attr("href");i&&(t.href=it(i,l))};n.initUrlParam=function(n){n=it(n,l)};n.getColor=function(n){var t=angular.element("#"+n);if(t.length!=0)return ui(t)?"btn-dark":"btn-light"};n.shareByMail=function(){n.mailtoOrganizer=!1;grecaptcha.reset();dt(w)};n.sendMail=function(){var t,u;if(n.submitted=!0,n.contactForm.$invalid||!n.MailModel.Captcha&&!n.mailtoOrganizer)return!1;t=n.form.name;n.MailModel.FirstName=t;n.MailModel.Lang=n.lang;n.mailtoOrganizer?(n.MailModel.Subject=r.Texts.EmailSubject+t,n.MailModel.MessageFrom=n.form.mailto):(n.MailModel.MessageFrom=r.Texts.Noreplay,n.MailModel.MessageTo=n.form.mailto,n.MailModel.Subject=r.Texts.EmailSubject+t);n.MailModel.MessageBody=n.form.message;u=t;u.indexOf(" ")>=0&&(u=t.split(" ").slice(0,-1).join(" "));n.MailModel.MailToOrganizer=n.mailtoOrganizer;n.mailSuccess=!1;i.SendMail(n.MailModel).then(function(t){t.data.success?(n.result="Your message has been sent.",n.mailSuccess=!0):n.result=t.data.errorMsg?t.data.errorMsg:"Sorry "+u+", mail delivery failed , check input and try again!"}).catch(function(){n.mailSuccess=!1;n.result="Sorry "+u+", it seems that my mail server is not responding. Please try again later!";ht()})};n.showSpeaker=function(t){return n.currUser=t,n.currExhibitor=null,d(n.currUser.aboutMe)&&$("#speakersModal .speaker-bio p").css({direction:"rtl"}),d(n.currUser.organization)&&$("#speakersModal .speaker-details").css({direction:"rtl"}),$("#speakersModal").modal("show"),$("#exhibitorModal").modal("hide"),!1};n.showExhibitorModal=function(t){n.currUser=null;$("#speakersModal").modal("hide");n.currExhibitor=t;d(t.aboutMe)&&$(".exhibitor-bio p").css({direction:"rtl"});$("#exhibitorModal").data("y",event.pageY);$("#exhibitorModal").modal("show")};n.showLoading=function(t){var i=n.allSections.filter(function(n){return n.id===t})[0];i!=undefined&&i.loadedContent==!1&&u.Show(t)};n.getStoryURL=function(t){return t.storyURL?t.storyURL:(t.storyURL=r.AppURL+"Articles/"+n.EventID+"/"+t.articleID,t.storyURL)};n.isEmpty=function(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0};n.SpeakersClass=function(n,t,i){return n==0||n==undefined?"":k(n,t,i)};n.storiesClass=function(t){var r=n.FeaturedStories.length,u,i;if(r==0||r==undefined)return"";if(u="",i=r%4,i>0&&t==r-i)switch(i){case 1:u+=" col-lg-offset-4half";break;case 2:u+=" col-lg-offset-3";break;case 3:u+=" col-lg-offset-1half"}if(i=r%3,i>0&&t==r-i)switch(i){case 1:u+=" col-md-offset-4 col-lg-offset-0";break;case 2:u+=" col-md-offset-2 col-lg-offset-0"}return i=r%2,i>0&&t==r-i&&(u+=" col-sm-offset-3 col-md-offset-0"),u};n.SpeakersFeaturedClass=function(n,t){return n==0||n==undefined?"":k(n,t)};n.SpeakersKeynoteClass=function(n,t,i){return n==0||n==undefined?"":k(n,t,i)};n.exhibitorClass=function(n,t,i,r){return n.cssClass?n.cssClass:t==0||t==undefined?"":(n.cssClass=ct(t,i,r),n.cssClass)};n.OrganizersClass=function(n,t){return n==0||n==undefined?"":k(n,t)};n.sponsorClass=function(n,t){return n==0||n==undefined?"":ct(n,t)};n.getEventsBySubject=function(n){var t=IsLocal?r.localUrl:r.BaseUrl;window.location.href=t+"EventList?company="+compid+"&Subject="+n};n.loadMoreIfNeeded=function(){b()};n.hasError=function(t,i){if(n.contactForm[t]!=undefined)return i?n.contactForm[t].$touched&&n.contactForm[t].$error[i]||n.submitted&&n.contactForm[t].$error[i]:n.contactForm[t].$touched&&n.contactForm[t].$invalid||n.submitted&&n.contactForm[t].$invalid};n.getStyle=function(n,t,i,r){if(!t&&!n&&!i)return"";IsLocal&&n&&n.indexOf("http")&&(n="https://images.eventact.com"+n);var u={};return i&&(u.color=i),t?u["background-color"]=t:n&&(u["background-image"]="url("+n+")",u["background-size"]="cover",u["background-position-y"]="center",u["background-position-x"]="center",r&&(u["background-attachment"]="fixed",u["min-height"]="40vh")),u};n.imgError=function(n){$(n).hide();$(n).next().length>0&&$(n).next().removeClass("hg-hide")};n.isRTL=function(n){return d(n)};String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.indexOf(n,t)===t});$("#exhibitorModal").on("show.bs.modal",function(){if(et){var n=$("#exhibitorModal").data("y");$("#exhibitorModal").css("top",n)}});$(window).resize(v)}angular.module("EventListApp").controller("EventCtrl",n);n.$inject=["$scope","$filter","ApiFactory","Constants","SpinnerService","$timeout","$localstorage"]}(),function(){"use strict";angular.module("EventListApp").controller("EventListCtrl",["$scope","Constants","ApiFactory",function(n,t,i){function u(){n.currentType==0&&(n.currentType=t.SearchTypes.All);r(n.currentType)}function r(){n.loadingResult||n.EventList.length>=n.limit||n.SearchModel.CompanyId!=0&&(n.hasResult=!1,n.loadingResult=!0,n.SearchModel.SearchType=n.currentType,i.GetEventsByParameters(n.SearchModel).then(function(t){t.data&&t.data.length>0?(n.EventList=n.EventList.concat(t.data),n.SearchModel.PageIndex++,n.loadingResult=!1,n.hasResult=!0,t.data.length<n.SearchModel.PageSize?n.limit=n.EventList.length:n.limit+=n.SearchModel.PageSize+1):(n.loadingResult=!1,n.EventList.length>0&&(n.limit=n.EventList.length,n.hasResult=!0))},function(){}))}n.pageUrl=PageUrl;n.letterLimit=100;n.limit=150;n.loadingResult=!1;n.title="EventListCtrl";n.currentType=0;n.hasResult=!1;n.searchText="";n.wordLimit=15;n.EventList=[];n.display={ProfDesc:"",Date:""};n.SearchModel={CompanyId:0,PageIndex:1,PageSize:20,SearchText:"",SubjectId:0,FromDate:null,ProfDesc:"",Lang:"he",SearchType:0};n.initList=function(i,r,f,e){n.display.ProfDesc=f;n.SearchModel.CompanyId=i;n.SearchModel.Lang=r;e>0&&(n.SearchModel.SubjectId=subject,scope.SearchModel.ProfDesc=f,n.currentType=t.SearchTypes.ByParameters);u()};n.loadMore=function(){n.hasResult&&r(n.currentType)};n.getEventByProf=function(i,u){n.EventList=[];n.SearchModel.PageIndex=1;n.SearchModel.PageSize=10;n.display.ProfDesc=u;n.currentType=t.SearchTypes.ByParameters;n.SearchModel.SubjectId=parseInt(i);r(n.currentType)};n.getEventByText=function(i){n.EventList=[];n.SearchModel.PageIndex=1;n.currentType=t.SearchTypes.ByParameters;n.SearchModel.SearchText=i;r(n.currentType)};n.getEventByDate=function(i,u){n.EventList=[];n.SearchModel.PageIndex=1;n.SearchModel.PageSize=10;n.currentType=t.SearchTypes.ByParameters;n.SearchModel.FromDate=i;n.display.Date=u;r(n.currentType)}}])}(),function(){"use strict";function n(n){var t=0,i;n.mapConfig={fade:!0,alwaysOn:!0,neverOn:!1,fill:!1,fillColor:"#ffffff",fillOpacity:.1,stroke:!0,strokeColor:"#000000",strokeOpacity:.6,strokeWidth:1,shadow:!0,shadowColor:"#000000",shadowOpacity:.8,shadowRadius:10};n.initVM=function(n,r){t=n;i=r};n.isActiveMap=function(n){return t==n};n.showHall=function(n){n&&n.hallID&&(window.location.href=getAppUrl()+i+"/vm/"+n.hallID)};n.setActiveMap=function(n){t=n}}angular.module("EventListApp").controller("VenueMapCtrl",n);n.$inject=["$scope"]}(),function(){"use strict";angular.module("EventListApp").directive("accordion",function(){return{restrict:"A",scope:{toggleSpeed:"@toggleSpeed",slideUpSpeed:"@slideUpSpeed",toggleEasing:"@toggleEasing",slideUpEasing:"@slideUpEasing"},link:function(n,t){t.find(".accordion-toggle").click(function(){var t=$(this);t.next().slideToggle(n.toggleSpeed,n.toggleEasing);$(".accordion-content").not($(this).next()).slideUp(n.slideUpSpeed,n.slideUpEasing)})}}})}();angular.module("EventListApp").directive("backToTop",function(){return{restrict:"A",link:function(n,t){$(window).scroll(function(){$(window).scrollTop()>=250?t.fadeIn(200):t.fadeOut(200)});t.on("click",function(){$("body,html").animate({scrollTop:0},500)})}}});angular.module("EventListApp").directive("carousel",["$timeout",function(n){var t=!0;return{restrict:"E",replace:!0,scope:{links:"="},link:function(i,r,u){i.sliderId=u.sliderid||"Carousel"+(1+Math.floor(Math.random()*6)).toString();u.play!=null&&u.play!=undefined&&(t=u.play==="true");i.$watchCollection("links.length",function(i){i>0&&t&&n(function(){$(".carousel-indicators li",r).first().addClass("active");$(".carousel-inner .item",r).first().addClass("active");r.children(0).attr("data-ride","carousel")})})},template:'<div id="{{sliderId}}" class="carousel slide carousel-fade ea-carousel"><div class="carousel-inner"><div class="item" ng-repeat="link in links track by $index"><div><img ng-src="{{link.imageUrl}}" alt="{{link.caption}}" class="img-responsive"><div class="col-xs-12 text-center vertical"><h2 class="carousel-caption" ng-show="link.caption">{{link.caption}}<\/h2><\/div><\/div><\/div><a class="left carousel-control" data-target="#{{sliderId}}" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"><\/span><\/a><a class="right carousel-control" data-target="#{{sliderId}}" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"><\/span><\/a><\/div><\/div>'}}]),function(){angular.module("EventListApp").directive("countdown",["Util","$interval",function(n,t){return{restrict:"A",scope:{dateUntil:"@",dateFrom:"@"},link:function(i,r){var u=n.formateDate(i.dateUntil),f=n.formateDate(i.dateFrom),e=(new Date).setHours(0,0,0,0);if(f==undefined||u==undefined||f>e||u<e)return!1;t(function(){var t;return t=Math.floor((u.getTime()-(new Date).getTime())/1e3),r.text(n.dhms(t))},1e3)}}}]).factory("Util",function(){return{formateDate:function(n){var i=n.split("/"),t=new Date(i[2],i[1]-1,i[0]);return Object.prototype.toString.call(t)==="[object Date]"?isNaN(t.getTime())&&(t=undefined):t=undefined,t},dhms:function(n){var t,i,r,u;return t=Math.floor(n/86400),n-=t*86400,i=Math.floor(n/3600)%24,n-=i*3600,r=Math.floor(n/60)%60,n-=r*60,u=n%60,[t+"d",i+"h",r+"m",u+"s"].join(" ")}}})}.call(this);angular.module("EventListApp").directive("countTo",["$timeout",function(n){return{replace:!1,scope:!0,link:function(t,i,r){var h=i[0],u,f,c,e,o,s,l,y=function(){f=30;o=0;t.timoutId=null;s=parseInt(r.countTo)||0;t.value=parseInt(r.value,10)||0;c=parseFloat(r.duration)*1e3||0;e=Math.ceil(c/f);l=(s-t.value)/e;u=t.value},a=function(){t.timoutId=n(function(){u+=l;o++;o>=e?(n.cancel(t.timoutId),u=s,h.textContent=s.toLocaleString()):(h.textContent=Math.round(u).toLocaleString(),a(),o>e-7&&(f+=40))},f)},v=function(){t.timoutId&&n.cancel(t.timoutId);y();a()};return r.$observe("countTo",function(n){n&&v()}),r.$observe("value",function(){v()}),!0}}}]),function(){"use strict";function t(t){function i(n,i){function f(){r=l(s[0]);u=l(e[0])}function h(){return r?r:(r=f(),r||o)}function c(){return u?u:(u=f(),u||o)}function l(n){let t;try{t=window.getComputedStyle(n).getPropertyValue("background-color")}catch(i){console.log(err)}return t}var s=i.prevAll("section").first(),e=i.nextAll("section").first(),o,r,u;e.length==0&&(e=s.prev());o="rgb(255, 255, 255)";f();t(function(){f()},0);n.getGradient=function(){return{"background-image":"linear-gradient("+h()+", "+c()+")"}};n.getPrevColor=function(){return h()};n.getNextColor=function(){return c()}}function r(t){let i;switch(t){case n.Border:i='<div class="ws-divider divider-border"><\/div>';break;case n.ThickBorder:i='<div class="ws-divider divider-border-lg"><\/div>';break;case n.Gradient:i='<div class="ws-divider divider-gradient" ::ng-style="getGradient()"><\/div>';break;case n.Jagged:i='<div class="ws-divider divider-jagged"><div ::ng-style="{\'background-color\':getPrevColor()}"><\/div><\/div>';break;case n.Slant:default:i='<div class="ws-divider" ::ng-style="{\'background-color\':getPrevColor()}"><div class="divider-slant" ::ng-style="{\'background-color\':getNextColor()}"><\/div><\/div>'}return i}return{link:i,scope:{dividerStyle:"="},restrict:"E",replace:!0,template:function(n,t){let i=parseInt(t.dividerStyle)||0;return r(i)}}}angular.module("EventListApp").directive("eaDivider",t);t.$inject=["$timeout","$compile"];var n={Slant:0,Border:1,ThickBorder:2,Gradient:3,Jagged:4}}();angular.module("EventListApp").directive("backImg",function(){return function(n,t,i){i.$observe("backImg",function(n){if(!n)return"";IsLocal&&n.indexOf("http")&&(n="https://events.eventact.com/"+n);t.css({"background-image":"url("+n+")","background-size":"cover","background-position":"center center"})})}}),function(){"use strict";function r(n){var t=u(n);t||f(n)}function u(n){var t,i;if(n){for(t=document.getElementsByTagName("script"),i=t.length;i--;)if(t[i].src==n)return!0;return!1}}function f(n){var i=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript";t.src=n;i.appendChild(t)}function t(t,i,r,u,f,o,s){function it(t){if(!f.isAvailable()||c.isRecording)return!1;n(t,function(){rt(event.target.result)})}function b(n){c.isRecording=!1;let t=function(n){w(n)};t(n);w(null);it(n)}function rt(n){p?k(p,n):o.GetDataURL(h.pid,h.key).then(function(t){t&&t.data?(p=t.data,h.fisecret=t.data.fisecret,k(t.data,n)):alert("An error has occurred")})}function k(n,t){fileuploadsubmit(n);SendFilesToService(t,h.id)}var l={STOPPED:0,PLAYING:1,PAUSED:2},a=function(n){var i=t.$root.$$phase;if(i!=="$apply"&&i!=="$digest")return t.$apply(n)},h=this,y=null,p=null,v="recorded-audio-"+h.id,c={isRecording:!1,playback:l.STOPPED,isDenied:null,isConverting:!1,get isPlaying(){return c.playback===l.PLAYING},get isStopped(){return c.playback===l.STOPPED},get isPaused(){return c.playback===l.PAUSED}};h.timeLimit=h.timeLimit||0;h.status=e(c);h.isAvailable=f.isAvailable();h.elapsedTime=0;h.fisecret;h.id||(h.id=s.generateUuid(),u.attr("id",h.id));f.setController(h.id,this);var d=function(){c.playback=l.STOPPED;h.onPlaybackComplete();a()},g=function(){c.playback=l.PAUSED;h.onPlaybackPause()},nt=function(){c.playback=l.PLAYING;h.onPlaybackStart()},tt=function(){c.playback=l.PLAYING;h.onPlaybackResume()},w=function(t){if(document.getElementById(v)==null){u.append('<audio type="audio/mpeg" id="'+v+'"><\/audio>');var i=document.getElementById(v);h.showPlayer&&i.setAttribute("controls","");i.addEventListener("ended",d);i.addEventListener("pause",function(){this.duration!==this.currentTime&&(g(),a())});i.addEventListener("playing",function(){c.isPaused?tt():nt();a()})}t?n(t,function(n){document.getElementById(v).src=n}):document.getElementById(v).removeAttribute("src")};h.getAudioPlayer=function(){return document.getElementById(v)};h.startRecord=function(){if(f.isAvailable()){c.isPlaying&&(h.playbackPause(),c.playback=l.STOPPED);h.audioModel=null;let u=h.id,n=f.getHandler();var i=function(){if(f.isHtml5){if(!n)return;n.start()}c.isRecording=!0;h.onRecordStart();h.elapsedTime=0;y=r(function(){++h.elapsedTime;h.timeLimit&&h.timeLimit>0&&h.elapsedTime>=h.timeLimit&&h.stopRecord()},1e3)};n?i():c.isDenied||f.showPermission({onDenied:function(){c.isDenied=!0;t.$apply()},onAllowed:function(){c.isDenied=!1;n=f.getHandler();i();a()}})}};h.cancelRecording=function(){};h.stopRecord=function(){var t=h.id,n;if(!f.isAvailable()||!c.isRecording)return!1;r.cancel(y);c.isRecording=!1;n=f.getHandler();f.isHtml5?n.state=="recording"&&n.stop():(n.stopRecording(t),b(n.getBlob(t)))};h.playbackRecording=function(){if(c.isPlaying||!f.isAvailable()||c.isRecording)return!1;h.getAudioPlayer().play()};h.playbackPause=function(){if(!c.isPlaying||!f.isAvailable()||c.isRecording)return!1;h.getAudioPlayer().pause()};h.playbackResume=function(){if(c.isPlaying||!f.isAvailable()||c.isRecording||!h.audioModel)return!1;c.isPaused?h.getAudioPlayer().play():h.paudioRecorderlaybackRecording()};h.isHtml5=function(){return f.isHtml5};h.autoStart&&i(function(){h.startRecord()},1e3);u.on("$destroy",function(){r.cancel(y)});window.addEventListener("imageUploaded",function(n){var t=n.detail;t.clientID==h.id&&(h.audioModel=t.fieldID||h.fisecret,h.onRecordComplete(),a())});window.addEventListener("message",function(n){if(n.data.msg=="dataReady"){let n=f.getBlob();b(n);a()}},!1)}function i(n,t,i){let r={};var u={};return r.setServiceData=function(n){u=n},r.GetDataURL=function(t,r){return n.get(i.LocalApiBaseUrl+"GetRecordingData",{params:{projectID:t,key:r}})},r}window.cancelAnimationFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame;window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;var e=function(n){var i={},t;for(t in n)n.hasOwnProperty(t)&&Object.defineProperty(i,t,{get:function(t){var i=t;return function(){return n[i]}}(t),enumerable:!0,configurable:!0});return i},n=function(n,t){var i=new FileReader;i.onload=function(n){t(n.target.result)};i.readAsDataURL(n)};t.$inject=["$scope","$timeout","$interval","$element","recorderService","recorderAPI","recorderUtils"];angular.module("EventListApp").controller("RecorderCtrl",t);angular.module("EventListApp").directive("ngAudioRecorderAnalyzer",["recorderService","recorderUtils",function(n,t){var i=function(i,r,u,f){function l(){var t,i,n,f,w,a,b;e||(t=r.find("canvas")[0],u.width&&!isNaN(u.width)&&(t.width=u.width),u.height&&!isNaN(u.height)&&(t.height=parseInt(u.height)),o=t.width,s=t.height,e=t.getContext("2d"));var p=3,v=Math.round(o/p),y=new Uint8Array(c.analyserNode.frequencyBinCount);for(c.analyserNode.getByteFrequencyData(y),e.clearRect(0,0,o,s),e.lineCap="round",i=c.analyserNode.frequencyBinCount/v,n=0;n<v;++n){for(f=0,w=Math.floor(n*i),a=0;a<i;a++)f+=y[w+a];f=f/i;b=y[n*i];e.fillStyle=u.waveColor?u.waveColor:"hsl( "+Math.round(n*360/v)+", 100%, 50%)";e.fillRect(n*p,s,1,-f)}h=window.requestAnimationFrame(l)}function a(){window.cancelAnimationFrame(h);h=null}if(!n.isHtml5){i.hide=!0;return}var o,s,h,e,c=n.$html5AudioProps;r.on("$destroy",function(){a()});f.onRecordStart=function(n){return function(){n.apply();l()}}(f.onRecordStart);t.appendActionToCallback(f,"onRecordStart",l,"analyzer");t.appendActionToCallback(f,"onRecordComplete",a,"analyzer")};return{restrict:"E",require:"^ngAudioRecorder",template:'<div ng-if="!hide" class="audioRecorder-analyzer"><canvas class="analyzer" width="1200" height="400" style="max-width: 100%;"><\/canvas><\/div>',link:i}}]);angular.module("EventListApp").directive("eaAudioRecorder",["recorderService","$timeout",function(n,t){return{restrict:"EA",scope:{pid:"@",key:"@",audioModel:"=",id:"@",onRecordStart:"&",onRecordComplete:"&",onPlaybackComplete:"&",onPlaybackStart:"&",onPlaybackPause:"&",onPlaybackResume:"&",onConversionStart:"&",onConversionComplete:"&",showPlayer:"=?",autoStart:"=?",convertMp3:"=?",timeLimit:"=?"},controllerAs:"recorder",bindToController:!0,template:function(n){return'<div class="audioRecorder">'+n.html()+"<\/div>"},controller:"RecorderCtrl",link:function(){r("https://static.eventact.com/ea-scripts/ea-files-v3.js");t(function(){n.isAvailable&&!n.isHtml5},100)}}}]);angular.module("EventListApp").provider("recorderService",function(){var u=null,t={isHtml5:!1,isReady:!1},i={onDenied:null,onClosed:null,onAllow:null},o,n={audioStream:null,audioContext:null,inputPoint:null,audioInput:null,audioRecorder:null,analyserNode:null,audioChunks:[]},r={gotStream:function(r){var f=n.audioContext;n.audioInput=f.createMediaStreamSource(r);n.audioInput.connect(n.inputPoint=f.createGain());n.audioStream=r;n.audioRecorder=new MediaRecorder(r);n.audioRecorder.ondataavailable=function(t){n.audioChunks.push(t.data);postMessage({msg:"dataReady"})};let e=f.createGain();e.gain.value=0;n.inputPoint.connect(e);e.connect(f.destination);t.isReady=!0;u=n.audioRecorder;angular.isFunction(i.onAllowed)&&(window.location.protocol=="https:"&&localStorage.setItem("permission","given"),i.onAllowed())},failStream:function(){angular.isDefined(i.onDenied)&&i.onDenied()},getPermission:function(){navigator.getUserMedia({audio:!0},r.gotStream,r.failStream)},init:function(){t.isHtml5=!0;var i=window.AudioContext||window.webkitAudioContext;i&&!n.audioContext&&(n.audioContext=new i);localStorage.getItem("permission")!==null&&r.getPermission()}},e,f;return navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia,e=function(){navigator.getUserMedia&&r.init()},f={},t.controller=function(n){return f[n]},t.setController=function(n,t){f[n]=t},t.isAvailable=function(){return t.isHtml5},t.getHandler=function(){return u},t.showPermission=function(n){if(!t.isAvailable()){console.warn("HTML5 not supported.");return}n&&angular.extend(i,n);t.isHtml5&&r.getPermission()},t.$html5AudioProps=n,t.getBlob=function(){let t=n.audioChunks,i=t.length>0?t[0].type:"audio/ogg; codecs=opus";return new Blob(t,{type:i})},t.clear=function(){return n.audioChunks=[],u.state=="recording"&&(u.stop(),n.audioStream.getAudioTracks()[0].stop()),this},t.clearStream=function(){return n.audioStream.getAudioTracks()[0].stop(),this},{$get:["recorderUtils",function(n){return o=n,e(),t}]}});angular.module("EventListApp").factory("recorderUtils",[function(){var n={generateUuid:function(){function n(n){var t=(Math.random().toString(16)+"000000000").substr(2,8);return n?"-"+t.substr(0,4)+"-"+t.substr(4,4):t}return n()+n(!0)+n(!0)+n()}};return n.appendActionToCallback=function(n,t,i,r){t.split(/\|/).forEach(function(t){if(!angular.isObject(n)||!angular.isFunction(i)||!(t in n)||!angular.isFunction(n[t]))throw new Error("One or more parameter supplied is not valid");"$$appendTrackers"in n||(n.$$appendTrackers=[]);var u=t+"|"+r;if(n.$$appendTrackers.indexOf(u)>-1){console.log("Already appended: ",u);return}n[t]=function(t){return function(){t.apply(n,arguments);i.apply(n,arguments)}}(n[t]);n.$$appendTrackers.push(u)})},n}]);angular.module("EventListApp").factory("recorderAPI",i);i.$inject=["$http","$q","Constants"]}(),function(){"use strict";function n(n,t){function i(n,i){function h(){t.cancel(s)}function c(){var i=function(){u=e-o;n.timeLeft=l(u);y();a()};i();s=t(function(){o=o+=1;i();u===0&&h()},1e3)}function l(n){const i=Math.floor(n/60);let t=n%60;return t<10&&(t="0"+t),i>0?i+":"+t:t}function a(){let t=f.info.color;u<=f.alert.threshold?t=f.alert.color:u<=f.warning.threshold&&(t=f.warning.color);n.pathColor=t}function v(){let n=u/e;return n-1/e*(1-n)}function y(){n.circleDasharray=(v()*r.FULL).toFixed(0)+" "+r.FULL}let r={FULL:283,WARNING:10,ALERT:5},f={info:{color:"ok"},warning:{color:"warning",threshold:r.WARNING},alert:{color:"alert",threshold:r.ALERT}},e=n.timeLimit||35,o=0,u=e,s=null;n.circleDasharray=r.FULL;n.circleDasharray=r.FULL;c();i.on("$destroy",function(){clearInterval(s)})}return{link:i,replace:!0,scope:{timeLimit:"="},restrict:"EA",template:'<div class="ea-timer"><svg  viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g class="timer-circle"><circle class="time-elapsed" cx="50" cy="50" r="45"><\/circle><path stroke-dasharray="{{circleDasharray}}"class="time-remaining" ng-class="pathColor"  d="M 50, 50m -45, 0a 45,45 0 1,0 90,0a 45,45 0 1,0 -90,0"><\/path><\/g><\/svg><span class="time-display" ng-bind="timeLeft"><\/span><\/div>'}}angular.module("EventListApp").directive("eaTimer",n);n.$inject=["$window","$interval"]}(),function(n,t){typeof define=="function"&&define.amd?define(["jquery"],t):t(n.jQuery)}(this,function(n){var a,t,f,r,e,o,s,h,c,y,l,u,v;if(t=!!document.createElement("canvas").getContext,a=function(){var t=document.createElement("div"),n;return t.innerHTML='<v:shape id="vml_flag1" adj="1" />',n=t.firstChild,n.style.behavior="url(#default#VML)",n?typeof n.adj=="object":!0}(),!(t||a)){n.fn.maphilight=function(){return this};return}t?(h=function(n){return Math.max(0,Math.min(parseInt(n,16),255))},c=function(n,t){return"rgba("+h(n.substr(0,2))+","+h(n.substr(2,2))+","+h(n.substr(4,2))+","+t+")"},f=function(t){var i=n('<canvas style="width:'+n(t).width()+"px;height:"+n(t).height()+'px;"><\/canvas>').get(0);return i.getContext("2d").clearRect(0,0,n(t).width(),n(t).height()),i},u=function(n,t,r,u,f){if(u=u||0,f=f||0,n.beginPath(),t=="rect")n.rect(r[0]+u,r[1]+f,r[2]-r[0],r[3]-r[1]);else if(t=="poly")for(n.moveTo(r[0]+u,r[1]+f),i=2;i<r.length;i+=2)n.lineTo(r[i]+u,r[i+1]+f);else t=="circ"&&n.arc(r[0]+u,r[1]+f,r[2],0,Math.PI*2,!1);n.closePath()},r=function(t,i,r,f){var e=t.getContext("2d"),s,h,o;f.shadow&&(e.save(),f.shadowPosition=="inside"&&(u(e,i,r),e.clip()),s=t.width*100,h=t.height*100,u(e,i,r,s,h),e.shadowOffsetX=f.shadowX-s,e.shadowOffsetY=f.shadowY-h,e.shadowBlur=f.shadowRadius,e.shadowColor=c(f.shadowColor,f.shadowOpacity),o=f.shadowFrom,o||(o=f.shadowPosition=="outside"?"fill":"stroke"),o=="stroke"?(e.strokeStyle="rgba(0,0,0,1)",e.stroke()):o=="fill"&&(e.fillStyle="rgba(0,0,0,1)",e.fill()),e.restore(),f.shadowPosition=="outside"&&(e.save(),u(e,i,r),e.globalCompositeOperation="destination-out",e.fillStyle="rgba(0,0,0,1);",e.fill(),e.restore()));e.save();u(e,i,r);f.fill&&(e.fillStyle=c(f.fillColor,f.fillOpacity),e.fill());f.stroke&&(e.strokeStyle=c(f.strokeColor,f.strokeOpacity),e.lineWidth=f.strokeWidth,e.stroke());e.restore();f.fade&&n(t).css("opacity",0).animate({opacity:1},100)},e=function(n){n.getContext("2d").clearRect(0,0,n.width,n.height)}):(f=function(t){return n('<var style="zoom:1;overflow:hidden;display:block;width:'+t.width+"px;height:"+t.height+'px;"><\/var>').get(0)},r=function(t,i,r,u,f){var h,o,c,e,s;for(s in r)r[s]=parseInt(r[s],10);h='<v:fill color="#'+u.fillColor+'" opacity="'+(u.fill?u.fillOpacity:0)+'" />';o=u.stroke?'strokeweight="'+u.strokeWidth+'" stroked="t" strokecolor="#'+u.strokeColor+'"':'stroked="f"';c='<v:stroke opacity="'+u.strokeOpacity+'"/>';i=="rect"?e=n('<v:rect name="'+f+'" filled="t" '+o+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+r[0]+"px;top:"+r[1]+"px;width:"+(r[2]-r[0])+"px;height:"+(r[3]-r[1])+'px;"><\/v:rect>'):i=="poly"?e=n('<v:shape name="'+f+'" filled="t" '+o+' coordorigin="0,0" coordsize="'+t.width+","+t.height+'" path="m '+r[0]+","+r[1]+" l "+r.join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+t.width+"px;height:"+t.height+'px;"><\/v:shape>'):i=="circ"&&(e=n('<v:oval name="'+f+'" filled="t" '+o+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(r[0]-r[2])+"px;top:"+(r[1]-r[2])+"px;width:"+r[2]*2+"px;height:"+r[2]*2+'px;"><\/v:oval>'));e.get(0).innerHTML=h+c;n(t).append(e)},e=function(t){var i=n("<div>"+t.innerHTML+"<\/div>");i.children("[name=highlighted]").remove();t.innerHTML=i.html()});o=function(n){for(var i=n.getAttribute("coords").split(","),t=0;t<i.length;t++)i[t]=parseFloat(i[t]);return[n.getAttribute("shape").toLowerCase().substr(0,4),i]};l=function(t,i){var r=n(t);return n.extend({},i,n.metadata?r.metadata():!1,r.data("maphilight"))};y=function(n){return n.complete?typeof n.naturalWidth!="undefined"&&n.naturalWidth===0?!1:!0:!1};s={position:"absolute",left:0,top:0,padding:0,border:0};v=!1;n.fn.maphilight=function(i){return i=n.extend({},n.fn.maphilight.defaults,i),t||v||(n(window).ready(function(){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var t=document.createStyleSheet();n.each(["shape","rect","oval","circ","fill","stroke","imagedata","group","textbox"],function(){t.addRule("v\\:"+this,"behavior: url(#default#VML); antialias:true")})}),v=!0),this.each(function(){var u,w,p,v,h,c,b,k;if(u=n(this),!y(this))return window.setTimeout(function(){u.maphilight(i)},200);(p=n.extend({},i,n.metadata?u.metadata():!1,u.data("maphilight")),b=u.get(0).getAttribute("usemap"),b)&&(v=n('map[name="'+b.substr(1)+'"]'),u.is('img,input[type="image"]')&&b&&v.length>0)&&(u.hasClass("maphilighted")&&(k=u.parent(),u.insertBefore(k),k.remove(),n(v).off(".maphilight")),w=n("<div><\/div>").css({display:"block",backgroundImage:'url("'+this.src+'")',backgroundSize:"contain",backgroundRepeat:"no-repeat",position:"relative",padding:0,width:this.width,height:this.height}),p.wrapClass&&(p.wrapClass===!0?w.addClass(n(this).attr("class")):w.addClass(p.wrapClass)),u.before(w).css("opacity",0).css(s).remove(),a&&u.css("filter","Alpha(opacity=0)"),w.append(u),h=f(this),n(h).css(s),h.height=this.height,h.width=this.width,n(v).on("alwaysOn.maphilight",function(){c&&e(c);t||n(h).empty();n(v).find("area[coords]").each(function(){var e,i;i=l(this,p);i.shadow=!1;i.alwaysOn&&(!c&&t&&(c=f(u[0]),n(c).css(s),c.width=u[0].width,c.height=u[0].height,u.before(c)),i.fade=i.alwaysOnFade,e=o(this),t?r(c,e[0],e[1],i,""):r(h,e[0],e[1],i,""))})}).trigger("alwaysOn.maphilight").on("mouseover.maphilight, focus.maphilight",function(i){var e,u,f=i.target,s,c;u=l(f,p);u.stroke=!1;u.false=!1;u.neverOn||(e=o(f),r(h,e[0],e[1],u,"highlighted"),u.groupBy&&(s=/^[a-zA-Z][\-a-zA-Z]+$/.test(u.groupBy)?v.find("area["+u.groupBy+'="'+n(f).attr(u.groupBy)+'"]'):v.find(u.groupBy),c=f,s.each(function(){var n,t;this!=c&&(n=l(this,p),n.neverOn||n.alwaysOn||(t=o(this),r(h,t[0],t[1],n,"highlighted")))})),t||n(h).append("<v:rect><\/v:rect>"))}).bind("mouseout.maphilight, blur.maphilight",function(){e(h)}),u.before(h),u.addClass("maphilighted"),n(window).resize(function(){n(v).trigger("alwaysOn.maphilight")}).trigger("resize"))})};n.fn.maphilight.defaults={fill:!0,fillColor:"000000",fillOpacity:.2,stroke:!0,strokeColor:"ff0000",strokeOpacity:1,strokeWidth:1,fade:!0,alwaysOn:!1,neverOn:!1,groupBy:!1,wrapClass:!0,shadow:!1,shadowX:0,shadowY:0,shadowRadius:6,shadowColor:"000000",shadowOpacity:.8,shadowPosition:"outside",shadowFrom:!1}}),function(){"use strict";function n(n,t){this.GetVenueMap=function(i,r,u,f,e){return n.get(t.ApiBaseUrl+"venues/"+i+"/"+u+"/"+f+"/"+r+"/map",{headers:{"API-Token":e}})};this.GetOnlineHall=function(i,r,u,f,e){return n.get(t.ApiBaseUrl+"venues/"+i+"/"+u+"/"+f+"/onlineHall",{headers:{"API-Token":e}})}}angular.module("EventListApp").service("HallDisplayService",n);n.$inject=["$http","Constants"];angular.module("EventListApp").directive("hallDisplay",["$window","$timeout","$compile","HallDisplayService",function(n,t,i,r){return{restrict:"E",scope:{key:"@",hall:"=",venueMap:"=",event:"@",lang:"@",ngClicked:"&?",hilightConfig:"="},template:'<img id="img_ID" src="{{map.imageURL}}" class="rounded img-responsive" alt="{{map.title}}" /><map id="map_ID"><area shape="rect" ng-click="clicked(area)" coords="{{area.coords}}" href="javascript:;" data-hall="{{area.hallID}}"  title="{{area.title}}" alt="{{area.title}}" ng-repeat="area in map.areas" /><\/map>',link:function(i,u,f){function a(){t(function(){l&&o.find("area").each(function(){var i=$(this),r,n,t,f,e,o;if(i.data("hall")&&i.data("hall")==l.hallID){for(r=i[0].coords.split(","),n=[],t=0;t<r.length;t++)n.push(parseInt(r[t]));f=(n[1]+n[3])/2;e=(n[0]+n[2])/2;$("#marker").length||(o=angular.element(y),u.append(o));$("#marker").css({position:"absolute",top:f,left:e})}})},200)}function v(n){var t,i,r;h&&c||(t=new Image,t.src=e.attr("src"),t.src==undefined&&(t.src=e.attr("ng-src")),h||(h=t.width||e.width()),c||(c=t.height||e.height()));i=$(e).width()/100;r=$(e).height()/100;o.find("area").each(function(){var t=$(this),u,f,n;for(t.data(s)||t.data(s,t.attr(s)),u=t.data(s).split(","),f=new Array(u.length),n=0;n<f.length;++n)f[n]=n%2==0?parseInt(u[n]/h*100*i):parseInt(u[n]/c*100*r);t.attr(s,f.toString())});typeof n=="function"&&n()}function p(){if(i.hilightConfig){var n=angular.copy(i.hilightConfig);n.strokeColor&&n.strokeColor[0]=="#"&&(n.strokeColor=n.strokeColor.substr(1));n.fillColor&&n.fillColor[0]=="#"&&(n.fillColor=n.fillColor.substr(1));n.shadowColor&&n.shadowColor[0]=="#"&&(n.shadowColor=n.shadowColor.substr(1));$(e).maphilight(n)}}var l,w=f.id||"mymap",s="coords",h,c,e=u.find("img"),y='<div id="marker"><div class="pin"><\/div><div class="pulse"><\/div><\/div>',o;$(e).attr("usemap")||$(e).attr("usemap","#"+f.id+".map");o=u.find("map");$(o).attr("name")||($(o).attr("id",f.id+".map"),$(o).attr("name",f.id+".map"));i.clicked=function(n){i.ngClicked?i.ngClicked({hall:n}):(l=n,a())};r.GetVenueMap(i.event,i.lang,i.venueMap,i.hall,i.key).then(function(n){i.map=n.data;t(function(){e=$("#img_ID");h=e.attr("width");c=e.attr("height");v(a);p()},200);for(var r=0;r<i.map.areas.length;r++)if(i.map.areas[r].hallID==i.hall){l=i.map.areas[r];break}});e.on("load",function(){angular.element(n).resize(function(){v(a())}).trigger("resize")})}}}]);angular.module("EventListApp").directive("eaHall",["$window","$timeout","$compile","HallDisplayService",function(n,t,i,r){return{restrict:"E",replace:!0,scope:{key:"@",hall:"=",hc:"=",event:"@",lang:"@"},link:function(n,t){function u(){r.GetOnlineHall(n.event,n.lang,n.hall,n.hc,n.key).then(function(t){n.eahall=t.data;f()})}function f(){t.append(i('<ea-stream stream-url="eahall.mainStream.streamURL" stream-type="eahall.mainStream.streamType" ng-id="hall" ng-position="0" ng-start-at="eahall.mainStream.startTimeOffset" wide-view="true" ng-image-url="eahall.mainStream.streamImageURL" ng-active="true"><\/ea-stream>')(n))}u()}}}])}(),function(){"use strict";angular.module("EventListApp").directive("imgMap",["$window",function(n){return{restrict:"CA",link:function(t,i,r){i.bind("load",function(){function f(){var n;t&&u||(n=new Image,n.src=$(i).attr("src"),n.src==undefined&&(n.src=$(i).attr("ng-src")),t||(t=n.width||i.width()),u||(u=n.height||i.height()));var e=$(i).width()/100,o=$(i).height()/100,s=r.usemap.replace("#",""),f="coords";angular.element('map[name="'+s+'"]').find("area").each(function(){var i=$(this),r,s,n;for(i.data(f)||i.data(f,i.attr(f)),r=i.data(f).split(","),s=new Array(r.length),n=0;n<s.length;++n)s[n]=n%2==0?parseInt(r[n]/t*100*e):parseInt(r[n]/u*100*o);i.attr(f,s.toString())})}var t=$(i).attr("width"),u=$(i).attr("height");angular.element(n).resize(f).trigger("resize")})}}}])}(),function(){"use strict";angular.module("EventListApp").directive("infiniteScroll",["$rootScope","$window","$timeout",function(n,t,i){return{link:function(r,u,f){var o,e,h,s;t=angular.element(t);h=0;f.infiniteScrollDistance!=null&&r.$watch(f.infiniteScrollDistance,function(n){return h=parseInt(n,10)});s=!0;o=!1;f.infiniteScrollDisabled!=null&&r.$watch(f.infiniteScrollDisabled,function(n){return s=!n,s&&o?(o=!1,e()):void 0});e=function(){var e,c,i,l;return(l=t.height()+t.scrollTop(),e=u.offset().top+u.height(),c=e-l,i=c<=t.height()*h,i&&s)?n.$$phase?r.$eval(f.infiniteScroll):r.$apply(f.infiniteScroll):i?o=!0:void 0};t.on("scroll",e);return r.$on("$destroy",function(){return t.off("scroll",e)}),i(function(){if(f.infiniteScrollImmediateCheck){if(r.$eval(f.infiniteScrollImmediateCheck))return e()}else return e()},0)}}}])}();angular.module("EventListApp").directive("owlCarousel",function(){return{restrict:"E",transclude:!1,link:function(n){n.initCarousel=function(t){var r={},u=n.$eval($(t).attr("data-options")),i;for(i in u)r[i]=u[i];$(t).owlCarousel(r)}}}}).directive("owlCarouselItem",["$timeout",function(n){return{restrict:"A",transclude:!1,link:function(t,i){t.$last&&n(function(){t.initCarousel(i.parent())},100)}}}]),function(){"use strict";angular.module("EventListApp").directive("scrollTo",["$timeout",function(n){function t(n){return function(){var i=angular.element(n.container),t=typeof n.scrollTo=="number"?n.scrollTo:angular.element(n.scrollTo),r=typeof t=="number"?t:t.offset().top-n.offset;i.animate({scrollTop:r},n.duration,n.easing,function(){typeof callback=="function"&&callback.call(this)})}}return{restrict:"A",link:function(i,r,u){var f=angular.extend({container:"html, body",scrollTo:angular.element(),offset:150*window.devicePixelRatio,duration:1800,easing:"swing"},u);r.on("click",function(){n(t(f))})}}}])}(),function(){"use strict";angular.module("EventListApp").directive("skycon",function(){return{restrict:"E",replace:!0,scope:{icon:"=",size:"=",animated:"="},link:function(n,t,i){var r=document.createElement("canvas"),f,u;r.className=i.class?i.class:"";f={};f.color=i.color?i.color:"black";u=new Skycons(f);n.$watch("size",function(t){t?(r.height=t,r.width=t):(r.height=n.size||64,r.width=n.size||64)},!0);u.add(r,n.icon);n.$watch("icon",function(){u.set(r,n.icon)},!0);n.animated==="false"||n.animated===!1?u.pause():u.play();t[0].nodeType===8?t.replaceWith(r):t[0].appendChild(r);n.$on("$destroy",function(){u.remove(r);u.list.length===0&&u.pause(r)})}}})}(),function(){"use strict";angular.module("EventListApp").directive("wsSpinner",function(){return{restrict:"EA",replace:!0,scope:{name:"@?",group:"@?",show:"=?",imgSrc:"@?",register:"@?",onLoaded:"&?",onShow:"&?",onHide:"&?"},template:'<div ng-show="show" class="spinner text-center">   <span class="mdi mdi-loading mdi-spin" ><\/span> <span class="sr-only">Loading...<\/span><\/div>',controller:["$scope","SpinnerService",function(n,t){n.register=n.hasOwnProperty("register")?n.register.toLowerCase()==="false"?!1:!0:!0;var i={name:n.name,group:n.group,show:function(){n.show=!0},hide:function(){n.show=!1},toggle:function(){n.show=!n.show}};if(n.register===!0&&t._register(i),(n.onShow||n.onHide)&&n.$watch("show",function(r){if(r&&n.onShow)n.onShow({spinnerService:t,spinnerApi:i});else if(!r&&n.onHide)n.onHide({spinnerService:t,spinnerApi:i})}),n.onLoaded)n.onLoaded({spinnerService:t,spinnerApi:i})}]}})}(),function(){angular.module("EventListApp").directive("validateImage",["$q",function(n){return{link:function(t,i,r){var u=r.errorSrc||"https://images.eventact.com/eventact/participant.png";r.$observe("ngSrc",function(t){var f=n.defer(),e=new Image;return e.onerror=function(){f.resolve(!1);r.hideError!=undefined?i.hide():i.attr("src",u)},e.onload=function(){f.resolve(!0)},e.src=t,f.promise})}}}])}(),function(){angular.module("EventListApp").directive("lazyScroll",["$window",function(n){var t,i=300,r=!0;return{link:function(u,f,e){r;t;i;n=angular.element(n);e.lazyScrollTrigger!=undefined&&e.lazyScrollTrigger>0&&(i=e.lazyScrollTrigger);t=function(){if(e.allowScroll!=null){if(e.allowScroll=="true")return u.$apply(e.lazyScroll)}else return u.$apply(e.lazyScroll)};n.on("scroll",t);u.$on("$destroy",function(){return n.off("scroll",t)})}}}])}(),function(){"use strict";angular.module("EventListApp").filter("ifEmpty",function(){return function(n,t){return angular.isUndefined(n)||n===null||n===""?t:n}})}(),function(){"use strict";angular.module("EventListApp").filter("html",["$sce",function(n){return function(t){return n.trustAsHtml(t)}}])}(),function(){"use strict";angular.module("EventListApp").filter("percent",["$filter",function(n){return function(t,i){return n("number")(t*100,i)+"%"}}])}(),function(){"use strict";angular.module("EventListApp").filter("temp",["$filter",function(n){return function(t,i){i===undefined&&(i=1);var r=n("number");return r(t,i)+"°"}}])}(),function(){"use strict";angular.module("EventListApp").filter("truncateT",function(){return function(n,t,i){if(isNaN(t)&&(t=10),i===undefined&&(i="..."),n)return n.length<=t||n.length-i.length<=t?n:String(n).substring(0,t-i.length)+i}})}(),function(){"use strict";angular.module("EventListApp").filter("truncateW",function(){return function(n,t){if(isNaN(t))return n;if(t<=0)return"";if(n){var i=n.split(/\s+/);i.length>t&&(n=i.slice(0,t).join(" ")+" … ")}return n}})}();var defaultOptions={date:"June 7, 15:03:25",refresh:1e3,offset:0,onEnd:function(){return},render:function(n){this.el.innerHTML="<div class='part'><div class='value'>"+n.days+"<\/div><div class='text'> days <\/div><\/div><div class='part'><div class='value'>"+this.leadingZeros(n.hours)+"<\/div><div class='text'> hours <\/div><\/div> <div class='part'><div class='value'>"+this.leadingZeros(n.min)+"<\/div><div class='text'> minutes <\/div><\/div> <div class='part'><div class='value'>"+this.leadingZeros(n.sec)+"<\/div><div class='text'> seconds <\/div><\/div>"}},Countdown=function(n,t){function r(n,t){let i=new Date(n);var u=(i.getTimezoneOffset()+t*60)*6e4,r=i.getTime()+u,f=Math.floor(r/1e3)%60,e=Math.floor(r/6e4)%60,o=Math.floor(r/36e5);return i.setTime(i.getTime()+u),i}this.el=n;this.options={};this.interval=!1;for(var i in defaultOptions)defaultOptions.hasOwnProperty(i)&&(this.options[i]=typeof t[i]!="undefined"?t[i]:defaultOptions[i],i==="date"&&typeof this.options.date!="object"&&(this.options.date=new Date(this.options.date)),typeof this.options[i]=="function"&&(this.options[i]=this.options[i].bind(this)));this.getDiffDate=function(){let i=r(Date.now(),this.options.offset).getTime();var n=(this.options.date.getTime()-i)/1e3,t={days:0,hours:0,min:0,sec:0,millisec:0};return n<=0?(this.interval&&(this.stop(),this.options.onEnd()),t):(n>=86400&&(t.days=Math.floor(n/86400),n-=t.days*86400),n>=3600&&(t.hours=Math.floor(n/3600),n-=t.hours*3600),n>=60&&(t.min=Math.floor(n/60),n-=t.min*60),t.sec=Math.round(n),t.millisec=n%1*1e3,t)}.bind(this);this.leadingZeros=function(n,t){return(t=t||2,n=String(n),n.length>t)?n:(Array(t+1).join("0")+n).substr(-t)};this.update=function(n){return typeof n!="object"&&(n=new Date(n)),this.options.date=n,this.render(),this}.bind(this);this.stop=function(){return this.interval&&(clearInterval(this.interval),this.interval=!1),this}.bind(this);this.render=function(){return this.options.render(this.getDiffDate()),this}.bind(this);this.start=function(){if(!this.interval)return this.render(),this.options.refresh&&(this.interval=setInterval(this.render,this.options.refresh)),this}.bind(this);this.updateOffset=function(n){return this.options.offset=n,this}.bind(this);this.start()},NAME="countdown",DATA_ATTR="date";$.fn.countdown=function(n){return $.each(this,function(t,i){var r=$(i);r.data(NAME)||(r.data(DATA_ATTR)&&(n.date=r.data(DATA_ATTR)),r.data(NAME,new Countdown(i,n)))})}