").attr("id",k).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",true)},_setupDisabled:function(m){if(g.isArray(m)){if(!m.length){m=false}else{if(m.length===this.anchors.length){m=true}}}for(var l=0,k;(k=this.tabs[l]);l++){if(m===true||g.inArray(l,m)!==-1){g(k).addClass("ui-state-disabled").attr("aria-disabled","true")}else{g(k).removeClass("ui-state-disabled").removeAttr("aria-disabled")}}this.options.disabled=m},_setupEvents:function(l){var k={click:function(m){m.preventDefault()}};if(l){g.each(l.split(" "),function(n,m){k[m]="_eventHandler"})}this._off(this.anchors.add(this.tabs).add(this.panels));this._on(this.anchors,k);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(k){var m,l=this.element.parent();if(k==="fill"){m=l.height();m-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var o=g(this),n=o.css("position");if(n==="absolute"||n==="fixed"){return}m-=o.outerHeight(true)});this.element.children().not(this.panels).each(function(){m-=g(this).outerHeight(true)});this.panels.each(function(){g(this).height(Math.max(0,m-g(this).innerHeight()+g(this).height()))}).css("overflow","auto")}else{if(k==="auto"){m=0;this.panels.each(function(){m=Math.max(m,g(this).height("").height())}).height(m)}}},_eventHandler:function(k){var t=this.options,o=this.active,p=g(k.currentTarget),n=p.closest("li"),r=n[0]===o[0],l=r&&t.collapsible,m=l?g():this._getPanelForTab(n),q=!o.length?g():this._getPanelForTab(o),s={oldTab:o,oldPanel:q,newTab:l?g():n,newPanel:m};k.preventDefault();if(n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||(r&&!t.collapsible)||(this._trigger("beforeActivate",k,s)===false)){return}t.active=l?false:this.tabs.index(n);this.active=r?g():n;if(this.xhr){this.xhr.abort()}if(!q.length&&!m.length){g.error("jQuery UI Tabs: Mismatching fragment identifier.")}if(m.length){this.load(this.tabs.index(n),k)}this._toggle(k,s)},_toggle:function(q,p){var o=this,k=p.newPanel,n=p.oldPanel;this.running=true;function m(){o.running=false;o._trigger("activate",q,p)}function l(){p.newTab.closest("li").addClass("ui-tabs-active ui-state-active");if(k.length&&o.options.show){o._show(k,o.options.show,m)}else{k.show();m()}}if(n.length&&this.options.hide){this._hide(n,this.options.hide,function(){p.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active");l()})}else{p.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active");n.hide();l()}n.attr({"aria-expanded":"false","aria-hidden":"true"});p.oldTab.attr("aria-selected","false");if(k.length&&n.length){p.oldTab.attr("tabIndex",-1)}else{if(k.length){this.tabs.filter(function(){return g(this).attr("tabIndex")===0}).attr("tabIndex",-1)}}k.attr({"aria-expanded":"true","aria-hidden":"false"});p.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(l){var k,m=this._findActive(l);if(m[0]===this.active[0]){return}if(!m.length){m=this.active}k=m.find(".ui-tabs-anchor")[0];this._eventHandler({target:k,currentTarget:k,preventDefault:g.noop})},_findActive:function(k){return k===false?g():this.tabs.eq(k)},_getIndex:function(k){if(typeof k==="string"){k=this.anchors.index(this.anchors.filter("[href$='"+k+"']"))}return k},_destroy:function(){if(this.xhr){this.xhr.abort()}this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible");this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role");this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){if(g.data(this,"ui-tabs-destroy")){g(this).remove()}else{g(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}});this.tabs.each(function(){var k=g(this),l=k.data("ui-tabs-aria-controls");if(l){k.attr("aria-controls",l).removeData("ui-tabs-aria-controls")}else{k.removeAttr("aria-controls")}});this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(k){var l=this.options.disabled;if(l===false){return}if(k===i){l=false}else{k=this._getIndex(k);if(g.isArray(l)){l=g.map(l,function(m){return m!==k?m:null})}else{l=g.map(this.tabs,function(m,n){return n!==k?n:null})}}this._setupDisabled(l)},disable:function(k){var l=this.options.disabled;if(l===true){return}if(k===i){l=true}else{k=this._getIndex(k);if(g.inArray(k,l)!==-1){return}if(g.isArray(l)){l=g.merge([k],l).sort()}else{l=[k]}}this._setupDisabled(l)},load:function(m,q){m=this._getIndex(m);var p=this,n=this.tabs.eq(m),l=n.find(".ui-tabs-anchor"),k=this._getPanelForTab(n),o={tab:n,panel:k};if(f(l[0])){return}this.xhr=g.ajax(this._ajaxSettings(l,q,o));if(this.xhr&&this.xhr.statusText!=="canceled"){n.addClass("ui-tabs-loading");k.attr("aria-busy","true");this.xhr.success(function(r){setTimeout(function(){k.html(r);p._trigger("load",q,o)},1)}).complete(function(s,r){setTimeout(function(){if(r==="abort"){p.panels.stop(false,true)}n.removeClass("ui-tabs-loading");k.removeAttr("aria-busy");if(s===p.xhr){delete p.xhr}},1)})}},_ajaxSettings:function(k,n,m){var l=this;return{url:k.attr("href"),beforeSend:function(p,o){return l._trigger("beforeLoad",n,g.extend({jqXHR:p,ajaxSettings:o},m))}}},_getPanelForTab:function(k){var l=g(k).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+l))}})})(c);(function(e,f){})(c);(function(h,i){h.mobile.iosorientationfixEnabled=true;var f=navigator.userAgent,n,m,l,k,j,e;if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&/OS [1-5]_[0-9_]* like Mac OS X/i.test(f)&&f.indexOf("AppleWebKit")>-1)){h.mobile.iosorientationfixEnabled=false;return}n=h.mobile.zoom;function g(o){m=o.originalEvent;e=m.accelerationIncludingGravity;l=Math.abs(e.x);k=Math.abs(e.y);j=Math.abs(e.z);if(!i.orientation&&(l>7||((j>6&&k<8||j<8&&k>6)&&l>5))){if(n.enabled){n.disable()}}else{if(!n.enabled){n.enable()}}}h.mobile.document.on("mobileinit",function(){if(h.mobile.iosorientationfixEnabled){h.mobile.window.bind("orientationchange.iosorientationfix",n.enable).bind("devicemotion.iosorientationfix",g)}})}(c,this));(function(g,f,j){var e=g("html"),i=g.mobile.window;function h(){e.removeClass("ui-mobile-rendering")}g(f.document).trigger("mobileinit");if(!g.mobile.gradeA()){return}if(g.mobile.ajaxBlacklist){g.mobile.ajaxEnabled=false}e.addClass("ui-mobile ui-mobile-rendering");setTimeout(h,5000);g.extend(g.mobile,{initializePage:function(){var n=g.mobile.path,m=g(":jqmData(role='page'), :jqmData(role='dialog')"),l=n.stripHash(n.stripQueryParams(n.parseLocation().hash)),o=g.mobile.path.parseLocation(),k=l?a.getElementById(l):j;if(!m.length){m=g("body").wrapInner("
").children(0)}m.each(function(){var p=g(this);if(!p[0].getAttribute("data-"+g.mobile.ns+"url")){p.attr("data-"+g.mobile.ns+"url",p.attr("id")||n.convertUrlToDataUrl(o.pathname+o.search))}});g.mobile.firstPage=m.first();g.mobile.pageContainer=g.mobile.firstPage.parent().addClass("ui-mobile-viewport").pagecontainer();g.mobile.navreadyDeferred.resolve();i.trigger("pagecontainercreate");g.mobile.loading("show");h();if(!(g.mobile.hashListeningEnabled&&g.mobile.path.isHashValid(location.hash)&&(g(k).is(":jqmData(role='page')")||g.mobile.path.isPath(l)||l===g.mobile.dialogHashKey))){if(g.event.special.navigate.isPushStateEnabled()){g.mobile.navigate.navigator.squash(n.parseLocation().href)}g.mobile.changePage(g.mobile.firstPage,{transition:"none",reverse:true,changeHash:false,fromHashChange:true})}else{if(!g.event.special.navigate.isPushStateEnabled()){i.trigger("hashchange",[true])}else{g.mobile.navigate.history.stack=[];g.mobile.navigate(g.mobile.path.isPath(location.hash)?location.hash:location.href)}}}});g(function(){g.support.inlineSVG();if(g.mobile.hideUrlBar){f.scrollTo(0,1)}g.mobile.defaultHomeScroll=(!g.support.scrollTop||g.mobile.window.scrollTop()===1)?0:1;if(g.mobile.autoInitializePage){g.mobile.initializePage()}if(g.mobile.hideUrlBar){i.load(g.mobile.silentScroll)}if(!g.support.cssPointerEvents){g.mobile.document.delegate(".ui-state-disabled,.ui-disabled","vclick",function(k){k.preventDefault();k.stopImmediatePropagation()})}})}(c,this))}));