"+'"},clearCols:function(){jQuery(".lb-col").html("")},trigger:function(t,e){var i;switch(this.log("Trigger: "+t,"info"),t){case"reload":this.load();break;case"refresh":this.refresh();break;case"replayPlay":this.replayStart();break;case"replayStop":this.replayStop();break;case"replayRewind":this.replayRewind();break;case"setSelector":e.key&&e.container&&(this.subSelectorState[e.container]=e.key,this.options.autoFollow=!1,this.renderContainers(e.container),jQuery(".resultsboard-"+this.options.globalObjectName+" .list-option-buttons").html(this.renderMainButtons()));break;case"autoFollow":e?(this.options.autoFollow=!0,this.subSelectorState={}):this.options.autoFollow=!1,this.addToRenderQueue("list"),this.renderFromQueue(),jQuery(".resultsboard-"+this.options.globalObjectName+" .list-option-buttons").html(this.renderMainButtons());break;case"showDetails":this.data.global.options.show_details=!!e,this.addToRenderQueue("favorites"),this.renderFromQueue();break;case"openFavoriteDetails":this.openFavoriteDetails(e.id_favorite,e);break;case"closeFavoriteDetails":this.closeFavoriteDetails(e.id_favorite,e);break;case"addFavorite":"none"!=this.data.global.options.favorites_mode&&-1==this.favorites.indexOf(e.id)&&(this.favorites.push(e.id),this.options_submit.command={name:"addFavorite",id:e.id},this.addToRenderQueue("list"),this.addToRenderQueue("map"),this.load());break;case"removeFavorite":if("none"!=this.data.global.options.favorites_mode)if(o=[],-1!=(i=this.favorites.indexOf(e.id))){for(r in this.favorites)this.favorites.hasOwnProperty(r)&&this.favorites[r]!=e.id&&o.push(this.favorites[r]);this.favorites=o,this.options_submit.command={name:"removeFavorite",id:e.id},this.addToRenderQueue("list"),this.addToRenderQueue("map"),this.load()}break;case"clearFavorites":this.favorites=[],this.options_submit.command={name:"clearFavorites",id:e.id},this.load(),this.renderContainers();break;case"selectFavoriteToggle":-1!=(i=this.favorites.indexOf(e.id))&&(-1!=this.favoritesSelected.indexOf(e.id)?this.trigger("deselectFavorite",{id:e.id}):this.trigger("selectFavorite",{id:e.id}));break;case"selectFavorite":-1!==(i=this.favorites.indexOf(e.id))&&this.favoritesSelected.push(e.id);break;case"deselectFavorite":if(-1!==(i=this.favorites.indexOf(e.id))){var s=this.favorites[i],o=[];for(r in this.favoritesSelected)this.favoritesSelected.hasOwnProperty(r)&&s!=this.favoritesSelected[r]&&o.push(this.favoritesSelected[r]);this.favoritesSelected=o}break;case"submitOptions":var o=[],a=(jQuery(".resultsboard-"+this.options.globalObjectName+" form").each(function(t,e){"lb"==e.name&&(o=jQuery(this).serializeArray())}),{});for(r in o)o.hasOwnProperty(r)&&("field_"==o[r].name.substr(0,6)&&(a[o[r].name.substr(6)]=o[r].value),"option_"==o[r].name.substr(0,7))&&(a[o[r].name.substr(7)]=o[r].value);this.replay_time_max=0,this.replay_time=0,this.replay_speed=0,this.options_submit.option_bar=a,this.load();break;case"centerMap":this.mapAutoZoom=!1,this.mapCenter(e.container);break;case"switchFullscreen":this.switchFullscreen();break;case"switchControls":jQuery(".resultsboard-"+this.options.globalObjectName+".list").hasClass("hide-on")?jQuery(".resultsboard-"+this.options.globalObjectName+".list").removeClass("hide-on"):jQuery(".resultsboard-"+this.options.globalObjectName+".list").addClass("hide-on");break;case"switchControlsExtended":jQuery(".resultsboard-"+this.options.globalObjectName+".list").hasClass("hide-on")?(jQuery(".resultsboard-"+this.options.globalObjectName+".list").removeClass("hide-on"),jQuery(".resultsboard-"+this.options.globalObjectName+".list").removeClass("hide-on-extended")):(jQuery(".resultsboard-"+this.options.globalObjectName+".list").addClass("hide-on"),jQuery(".resultsboard-"+this.options.globalObjectName+".list").addClass("hide-on-extended"));break;case"switchAutoZoom":for(var r in this.mapAutoZoom?(this.mapAutoZoom=!1,jQuery(".resultsboard-"+this.options.globalObjectName+" .button-map-autozoom").removeClass("button-active")):(this.mapAutoZoom=!0,jQuery(".resultsboard-"+this.options.globalObjectName+" .button-map-autozoom").addClass("button-active")),this.data.containers)this.data.containers.hasOwnProperty(r)&&"map"==this.data.containers[r].type&&this.mapUpdate(r);break;case"switchOverlayMenu":(p=jQuery(".resultsboard-"+this.options.globalObjectName+" .overlayMenu")).css({display:"block"});var n=p.position(),l=p.offset(),d=n.top+(e.top-l.top),h=n.left+(e.left-l.left);p.css({display:"block",left:h+"px",top:d+"px"});break;case"switchOverlay":if(-1!==this.mapOverlays.indexOf(e.overlayId)){o=[];for(r in this.mapOverlays)this.mapOverlays.hasOwnProperty(r)&&this.mapOverlays[r]!=e.overlayId&&o.push(this.mapOverlays[r]);this.mapOverlays=o,jQuery(".overlayMenu #overlayButton-"+e.overlayId).removeClass("active")}else this.mapOverlays.push(e.overlayId),jQuery(".overlayMenu #overlayButton-"+e.overlayId).addClass("active");window.setTimeout(this.options.globalObjectName+'.trigger("closeOverlayMenu")',350);break;case"closeOverlayMenu":for(r in(p=jQuery(".resultsboard-"+this.options.globalObjectName+" .overlayMenu")).css({display:"none"}),this.data.containers)this.data.containers.hasOwnProperty(r)&&"map"==this.data.containers[r].type&&this.mapUpdateOverlays(r);break;case"openInfoWindow":(p=jQuery(".resultsboard-"+this.options.globalObjectName+" .mapInfoWindow")).css({display:"block"});var p,n=p.position(),l=p.offset(),d=e.top,h=e.left;p.css({display:"block",left:h+"px",top:d+"px"}),p.html(e.html);break;case"closeInfoWindow":(p=jQuery(".resultsboard-"+this.options.globalObjectName+" .mapInfoWindow")).css({display:"none"})}},render:function(){jQuery(this.targetElement).html(this.renderMain()),this.renderContainers()},renderFromQueue:function(){for(var t in this.renderQueue)if(this.renderQueue.hasOwnProperty(t))for(var e in this.data.containers)this.data.containers.hasOwnProperty(e)&&this.data.containers[e].type==this.renderQueue[t]&&this.renderContainers(e);this.clearRenderQueue()},renderContainers:function(t){for(var e in this.data.containers)if(this.data.containers.hasOwnProperty(e)&&!(t&&e!=t||"map"!=this.data.containers[e].type&&"favorites"!=this.data.containers[e].type&&"list"!=this.data.containers[e].type&&"overlays"!=this.data.containers[e].type)){if(this.data.containers[e].state,"overlays"!=this.data.containers[e].type)if(jQuery(".resultsboard-"+this.options.globalObjectName+" .lb-container.container-id-"+e).length)if("favorites"==this.data.containers[e].type){var i=jQuery(".favorite-boxes .favorite-wrap").length,s=0;if(void 0!==this.data.containers[e].data.rows)for(var o in this.data.containers[e].data.rows)s++;i!=s?jQuery(".resultsboard-"+this.options.globalObjectName+" .lb-container.container-id-"+e).html(this.renderContainer(e,!0)):this.updateContainerContentTypeFavorites(e)}else jQuery(".resultsboard-"+this.options.globalObjectName+" .lb-container.container-id-"+e).html(this.renderContainer(e,!0));else{i=this.renderContainer(e,!1);jQuery(".resultsboard-"+this.options.globalObjectName+" .lb-col.col-id-"+this.data.containers[e].col).append(i)}if("map"==this.data.containers[e].type&&this.mapInit(e),"favorites"==this.data.containers[e].type)for(var a in this.data.containers)this.data.containers.hasOwnProperty(a)&&"map"==this.data.containers[a].type&&this.mapUpdate(a);if("overlays"==this.data.containers[e].type)for(var a in this.data.containers)this.data.containers.hasOwnProperty(a)&&"map"==this.data.containers[a].type&&this.mapUpdateOverlays(a)}var r,n="";for(r in this.data.global.options.cols)this.data.global.options.cols.hasOwnProperty(r)&&(n+=".lb-col.col-id-"+this.data.global.options.cols[r].id,r+1'+this.data.settings.global_event_official_string+"
"},renderContainerContentTypeList:function(t){var e,i,s,o=this.data.containers[t],a="",r="",n="",l="",d="",h=!1,p=void 0!==o.data.sub_selector?(a+=this.renderSubSelector(t),o.data.rows[this.subSelectorState[t]]):o.data.rows,c=!1;for(i in this.data.containers)if(this.data.containers.hasOwnProperty(i)&&"favorites"==this.data.containers[i].type){c=this.data.containers[i];break}if(c){var u,g=[];for(i in c.data.rows)c.data.rows.hasOwnProperty(i)&&(u=c.data.rows[i]).id&&g.push(u.id)}else g=this.favorites;if(a+="","jqm"===this.options.theme)a+='
');var m=0;for(i in o.data.fields.data)o.data.fields.data.hasOwnProperty(i)&&m++;var f=0;for(i in o.data.fields.data)o.data.fields.data.hasOwnProperty(i)&&((e=o.data.fields.data[i]).width||(e.width="auto"),r="",e.class&&(r+=e.class),f+1==m&&(r+=" last"),a+="
'),0),n=0;for(s in e)!e.hasOwnProperty(s)||(d=e[s]).active&&!d.split&&-1==d.field.search("time_finish_")&&(-1!=d.field.search("place")?o.push(d):i.collapsible&&!d.primary||d.hide||n++);for(s in e)if(e.hasOwnProperty(s)){var l,d=e[s];if(d.active&&!d.split&&-1==d.field.search("time_finish_"))if(-1!=d.field.search("place"))o.push(d);else if((!i.collapsible||d.primary)&&!d.hide){if((i.divide_fields||0!=r)&&r%i.divide_fields!=0||(a+='
'),null==t[d.field]&&(t[d.field]=""),"position_info"==d.type&&(l=this.getPersonInfoStrings(t),t[d.field]=l.title),"diff_time"==d.type){var h=!1;for(p in t.split_groups)t.split_groups[p].active&&(h=t.split_groups[p]);if(!h)for(p in t.split_groups){h=t.split_groups[p];break}t[d.field]=h.diff_time_string}if("current_group"==d.type){h=!1;for(p in t.split_groups)t.split_groups[p].active&&(h=t.split_groups[p]);if(!h)for(p in t.split_groups){h=t.split_groups[p];break}t[d.field]=h.title}if("diff_km"==d.type){var p,h=!1;for(p in t.split_groups)t.split_groups[p].active&&(h=t.split_groups[p]);if(!h)for(p in t.split_groups){h=t.split_groups[p];break}t[d.field]=h.diff_km_string}a+='
';a+="";for(s in e)e.hasOwnProperty(s)&&(!(o=e[s]).active||o.split||-1!=o.field.search("time_finish_")||-1!=o.field.search("place")||i.collapsible&&o.primary||o.hide||(null==t[o.field]&&(t[o.field]=""),a+='
'+o.name+'
'+t[o.field]+"
",0));return a=a+""+"
"},renderFavoritesSplits:function(t,e,i){var s,o,a,r,n,l=0,d="";for(n in t.splits)if(t.splits.hasOwnProperty(n)){if(!i.divide_splits&&0==l||l%i.divide_splits==0){for(a in d=(d+='
')+""+"
",s=0,e)e.hasOwnProperty(a)&&e[a].active&&e[a].split&&s++;for(a in r=0,e)e.hasOwnProperty(a)&&e[a].active&&e[a].split&&(o="",0==r&&(o+=" desc"),r+1==s&&(o+=" last"),e[a].class&&(o+=" "+e[a].class),d+="
'),s=s+this.renderOverlayMenu()+''},renderOverlayMenu:function(){var t,e=this.getContainerByType("overlays"),i="",s="",o=this.options.globalObjectName;if(e){for(var a in i=i+'
",g.update_on_duplicates){h=!1;for(p in y)if(y[p]==s.id){x.push({id:s.id,content:j}),h=!0;break}h||(M.push(j),w+=j)}else M.push(j),w+=j;if(y.push(s.id),g.close_on_duplicates&&is_close)for(var p in y)y[p]==s.id&&delete y[p]})):w=(w+='
')+'
'+this.config.strings.no_results+"
"),t||(w+='
'),this.options_submit.last_seq){if(void 0!==g&&"overview"==g.mode)for(var a in S)if(jQuery("#"+this.options.target+" .index-"+S[a]).replaceWith(M[a]).length)jQuery("#"+this.options.target+" .index-"+S[a]).removeClass("newentry"),jQuery("#"+this.options.target+" .index-"+S[a]).addClass("updated");else{var r=[];if(jQuery("#"+this.options.target+" .tfd-row").each(function(t){var e=jQuery(this).attr("class"),e=(e=e.substr(e.indexOf("index-")+6)).replace(" updated","");r.push(e)}),r.length){var n,l=r;for(n in l.push(S[a]),isNaN(l[0])?l.sort():l.sort(function(t,e){return t-e}),l)l[n]==S[a]&&(0<(n=parseInt(n))?jQuery("#"+this.options.target+" .index-"+l[n-1]).after(M[a]):jQuery("#"+this.options.target+" .index-"+l[n+1]).before(M[a]),jQuery("#"+this.options.target+" .index-"+S[a]).addClass("updated"))}else jQuery("#"+this.options.target+" #tfd-content").append(M[a])}else if(jQuery("#"+this.options.target+" #tfd-content").prepend(M.join("")),jQuery("#"+this.options.target+" #tfd-content div.tfd-row").length>this.result.max_entries)for(a=0;a<_;a++)jQuery("#"+this.options.target+" #tfd-content .tfd-row:last").remove();if(this.config.sound.active&&this.sound)for(a in b)void 0!==this.config.sound["url_"+a]&&this.config.sound["url_"+a]&&jQuery.playSound(a)}else(t?jQuery("#"+this.options.target+" #tfd-content"):jQuery("#"+this.options.target)).html(w);for(e in C&&jQuery("#"+this.options.target+" .tfd-legend-row").html(C),void 0!==g&&void 0!==g.highlight_animations&&void 0!==g.highlight_animations.created&&(o=g.highlight_animations.created,jQuery("#"+h.target+" .tfd-row.created .field.message").animate({width:"show"},{duration:5e3,complete:function(){jQuery(this).animate({color:o.color},{duration:o.speed})}})),v)for(var d in v[e].options)switch(d){case"start_clock":v[e].options[d]&&this.clockStartForId(e,v[e].field);break;case"stop_clock":v[e].options[d]&&this.clockStopForId(e,v[e].field);break;case"call_trigger":s=!this.result.from_seq,this.callTrigger(v[e].options[d],e,{init:s});break;case"timer":s=this.result.from_seq?"false":"true",v[e].options[d].call_trigger&&v[e].options[d].timeout&&(this.timer["timer_"+e]=window.setTimeout(this.options.obj+".callTrigger('"+v[e].options[d].call_trigger+"', '"+e+"', {init:"+s+"});",v[e].options[d].timeout))}for(a in x)jQuery("#"+this.options.target+" #id-"+x[a].id).replaceWith(x[a].content);this.config.animation_speed&&("customTrigger"!==this.config.animation&&(jQuery("#"+this.options.target+" .newentry").slideDown(this.config.animation_speed),jQuery("#"+this.options.target+" .closed").hide()),this.config.highlight_animations)&&!(o=void 0!==this.config.highlight_animations.updated?this.config.highlight_animations.updated:this.config.highlight_animations.default).disabled&&jQuery("#"+this.options.target+" .updated").css({display:"block"}).effect("highlight",{color:o.color},o.speed),jQuery("#"+this.options.target+" .newentry").removeClass("newentry"),jQuery("#"+this.options.target+" .updated").removeClass("updated"),t||jQuery("#"+this.options.target+" #tfd-status-buttons").html(this.renderStatusButtons());var h=!1;jQuery("#"+this.options.target+" .status-container").length||(h=!0),this.hash_filters!=this.result.filters_hash&&(this.updateFilterStatus(),this.hash_filters=this.result.filters_hash),h&&this.updateFilterStatus(),this.reloadAckFavoritesMark(),MikaResultsRenderTrigger()},callTrigger:function(t,e,i){switch(t){case"open":this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.opened?this.config.highlight_animations.opened:this.config.highlight_animations.default,o=this.options.obj,i.init||jQuery("#"+this.options.target+" #id-"+e).animate({width:"show"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).effect("highlight",{color:s.color,duration:s.speed})}}));break;case"update1":this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.update1?this.config.highlight_animations.update1:this.config.highlight_animations.default,o=this.options.obj,i.init||jQuery("#"+this.options.target+" #id-"+e).animate({width:"show"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).effect("highlight",{color:s.color,duration:s.speed})}}));break;case"update2":this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.update2?this.config.highlight_animations.update2:this.config.highlight_animations.default,o=this.options.obj,i.init||jQuery("#"+this.options.target+" #id-"+e).animate({width:"show"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).effect("highlight",{color:s.color,duration:s.speed})}}));break;case"update3":this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.update3?this.config.highlight_animations.update3:this.config.highlight_animations.default,o=this.options.obj,i.init||jQuery("#"+this.options.target+" #id-"+e).animate({width:"show"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).effect("highlight",{color:s.color,duration:s.speed})}}));break;case"close":this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.closed?this.config.highlight_animations.closed:this.config.highlight_animations.default,o=this.options.obj,i.init?jQuery("#"+this.options.target+" #id-"+e).remove():jQuery("#"+this.options.target+" #id-"+e).effect("highlight",{color:s.color,duration:s.speed,complete:function(){jQuery(this).animate({width:"hide"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).remove()}})}}));break;case"close_timeout":var s,o;this.config.highlight_animations&&(s=void 0!==this.config.highlight_animations.closed_timeout?this.config.highlight_animations.closed_timeout:this.config.highlight_animations.default,o=this.options.obj,i.init?jQuery("#"+this.options.target+" #id-"+e).remove():jQuery("#"+this.options.target+" #id-"+e).effect("highlight",{color:s.color,duration:s.speed,complete:function(){jQuery(this).animate({width:"hide"},{duration:window[o].config.animation_speed,complete:function(){jQuery(this).remove()}})}}))}},clockStartForId:function(t,e){this.clocks[t]={field:e,time:0},this.clockUpdate(t),void 0!==this.timer[t]&&window.clearInterval(this.timer[t]),this.timer[t]=window.setInterval(this.options.obj+".clockUpdate('"+t+"')",100)},clockStopForId:function(t){delete this.clocks[t],window.clearInterval(this.timer[t]),delete this.timer[t]},clockUpdate:function(t){var e,i,s;void 0!==this.clocks[t]&&((e=jQuery("#"+this.options.target+" #id-"+t+" .field."+this.clocks[t].field)).length?(this.clocks[t].time+=100,(i=this.parseSeconds(this.clocks[t].time,!0)).hours<10&&(i.hours="0"+i.hours),i.minutes<10&&(i.minutes="0"+i.minutes),i.seconds<10&&(i.seconds="0"+i.seconds),i.milliseconds=i.milliseconds/10,0==i.milliseconds&&(i.milliseconds="00"),s="",s=(s=(s=(s+=i.hours+":")+i.minutes+":")+i.seconds+".")+i.milliseconds/10,e.html(s)):this.clockStopForId(t))},clockClearTimers:function(){for(var t in this.clocks)window.clearInterval(this.timer[t]),delete this.timer[t];this.clocks=[]},setOptions:function(t){this.options=t},parseSeconds:function(t,e){var i={},e=(e||(t*=1e3),i.days=Math.floor(t/864e5),t%864e5);return i.hours=Math.floor(e/36e5),e%=36e5,i.minutes=Math.floor(e/6e4),e%=6e4,i.seconds=Math.floor(e/1e3),i.milliseconds=e%1e3,i}},MikaResultsSearch.prototype={jq:{},options:{},requester:{},data:{},targetElement:{},strings:{},timer:{},options_submit:{},branches:{},setOptions:function(t){this.options=t},setJQ:function(t){this.jq=t},createSearchFields:function(t){if("function"!=typeof this.jq&&"function"==typeof jQuery)this.jq=jQuery.noConflict();else if("function"!=typeof this.jq)return void console.log("no jQuery found!");this.reload()},makeRequest:function(t,e,i){this.requester[t]=this.jq.ajax({type:"GET",url:"index.php",data:{content:"ajax2",func:t,options:e},success:i,complete:function(){res2.unlockForm()}})},load:function(){var e=new this.jq.Deferred;return this.options_submit.lang=this.options.lang,this.options_submit.pid=this.options.pid,this.makeRequest("getSearchFields",this.options_submit,function(t){res2.setData(t),e.resolve()}),e.promise()},reload:function(t,e,i,s){var o,a=new this.jq.Deferred;if(this.options_submit.b={},t&&"event_main_group"==t.attr("name"))for(var e in this.options.mapping)for(var r in this.options.mapping[e]){var n=this.options.mapping[e][r],l=this.jq(n.parent+" "+n.element);"event"!=n.field&&"event_main_group"!=n.field&&"%"!=l.val()&&""!=l.val()&&(l.is("select")?l.val("%"):l.val(""))}for(o in this.options.mapping){for(var r in this.options_submit.b[o]={},this.options.mapping[o]){n=this.options.mapping[o][r];if(e==o||!i||i==n.parent){l=this.jq(n.parent+" "+n.element);if("%"!=l.val()&&""!=l.val()){if("event_main_group"==n.field&&t&&"event_main_group"==t.attr("name"))for(var d in this.options.mapping)for(var h in this.options.mapping[d]){var h=this.options.mapping[d][h];"event_main_group"==h.field&&0<(h=this.jq(h.parent+" "+h.element)).find('option[value="'+s.value+'"]').length&&h.val(s.value)}"event"==n.field&&t&&"event_main_group"==t.attr("name")?this.options_submit.b[o][n.field]="":this.options_submit.b[o][n.field]=l.val()}}}this.lockForm(o)}return this.load().then(function(){a.resolve()}),a.promise()},setData:function(t){this.branches=t.branches,this.strings=t.strings,this.render()},render:function(){for(var t in this.options.mapping)if(this.options.mapping.hasOwnProperty(t))for(var e in this.options.mapping[t]){var i,s;this.options.mapping[t].hasOwnProperty(e)&&(e=this.options.mapping[t][e],i=this.jq(e.parent+" "+e.element),"ok"==(s=this.branches[t].fields[e.field]).state&&s.data.length?this.generateSelectFromField(i,s.data,i.val(),e,t):this.generateField(i,i.val()),1==this.branches[t].fields[e.field].data.length)&&this.branches[t].fields[e.field].data[0].v[0]}},lockForm:function(t){for(var e in this.options.mapping)if(this.options.mapping.hasOwnProperty(e)){for(var i in this.options.mapping[e]){i=this.options.mapping[e][i];this.jq(i.parent+" "+i.element).attr("disabled","disabled")}window.clearTimeout(res2.timer[t]),res2.timer[t]=window.setTimeout("res2.showIndicator('"+t+"')",400)}},showIndicator:function(t){jQuery(".branch-"+t+" .box-content");jQuery(".panel-loading").css("display","block")},unlockForm:function(){for(var t in jQuery(".panel-loading").css("display","none"),res2.timer)window.clearTimeout(res2.timer[t])},generateSelectFromField:function(t,e,i,s,o){t.attr("placeholder")||t.attr("placeholder","");var a,r=this.jq("");for(a in r.attr({placeholder:t.attr("placeholder"),class:t.attr("class"),name:t.attr("name"),id:t.attr("id")}),i=i||"%",e){var n,l="object"==typeof e[a].v?(n=e[a].v[0],1!=e[a].n&&e[a].n&&null!=e[a].n?e[a].v[1]+" ("+e[a].n+")":e[a].v[1]):(n=e[a].v,1!=e[a].n&&e[a].n&&null!=e[a].n?e[a].v+" ("+e[a].n+")":e[a].v),d=this.jq("