steal.loading('ods/ods.js','ods/models/models.js','ods/ui/welcome/welcome.js','ods/ui/nav/nav.js','jquery/lang/observe/delegate/delegate.js','ods/fixtures/fixtures.js','jquery/model/model.js','ods/models/servers.js','ods/models/cluster.js','ods/models/progress.js','jquery/class/class.js','jquery/lang/string/string.js','jquery/jquery.js','jquery/controller/controller.js','jquery/view/ejs/ejs.js','jquery/controller/view/view.js','jquery/event/destroyed/destroyed.js','jquery/event/event.js','jquery/view/view.js','jquery/lang/string/rsplit/rsplit.js','ods/ui/welcome/views/init.ejs','ods/ui/features/features.js','ods/ui/servers/servers.js','ods/ui/security/security.js','ods/ui/networking/networking.js','ods/ui/host_config/host_config.js','ods/ui/install_review/install_review.js','ods/ui/nav/views/init.ejs','ods/ui/features/views/init.ejs','ods/ui/features/views/before_begin.ejs','ods/ui/servers/views/init.ejs','lib/jquery.dataTables.js','ods/ui/servers/views/switch_row.ejs','ods/ui/security/views/init.ejs','ods/ui/networking/views/init.ejs','lib/jquery-ui-1.10.3.custom.js','ods/ui/host_config/views/init.ejs','ods/ui/host_config/views/server_row.ejs','lib/jquery.numeric.js','ods/ui/install_review/views/init.ejs','ods/ui/install_review/views/install.ejs','ods/ui/install_review/views/progress_row.ejs','jquery/lang/observe/observe.js','jquery/dom/fixture/fixture.js','jquery/dom/dom.js','jquery/lang/object/object.js'); steal({src: 'ods/production.css', has: ['ods/ui/servers/servers.css','ods/ui/networking/networking.css','lib/jquery-ui-1.10.3.custom.css','ods/ui/host_config/host_config.css','ods/ui/install_review/install_review.css','ods/ui/install_review/install.css']}); steal("./models/models.js","./ui/welcome/welcome.js","./ui/nav/nav.js","jquery/lang/observe/delegate","./fixtures/fixtures.js",function(){var b=$("div.main-box"),a=new $.Observe({networking:null,servers:[],servers_config:[],cluster_id:null,security:null,partition:null,feature:null});$("#nav").ods_ui_nav({mainBox:b,odsState:a});b.ods_ui_welcome({nav:$("#nav").controller(),mainBox:b,odsState:a});if(window.location.host){b={};if(window.location.search){a=window.location.search.slice(1).split("&");for(var k= 0;k200&&b("#content").height(a)},"{window} resize":function(){this.fixupContentSize()}, show:function(){this.element.show()},hide:function(){this.element.hide()}})});steal.loaded("ods/ui/nav/nav.js"); steal("jquery/lang/observe",function(){var b=function(k,d){for(var e=k.length,h=0,c=[],f;h1)I=this.attr(t.attr)!==undefined}if(J&&I){t=d.replace(J+".","");if(k.batchNum)p.batchNum=k.batchNum;if(p.event==="change"){arguments[1]=t;k.curAttr=J;p.callback.apply(this.attr(J),$.makeArray(arguments))}else if(p.event===e)p.callback.apply(this.attr(J),[k,h,c,t]);else p.event==="set"&&e=="add"&&p.callback.apply(this.attr(J),[k,h,c,t])}}};$.extend($.Observe.prototype, {delegate:function(k,d,e){k=$.trim(k);var h=$.data(this,"_observe_delegates")||$.data(this,"_observe_delegates",[]),c=[];k.replace(/([^\s=]+)=?([^\s]+)?/g,function(f,l,p){c.push({attr:l,parts:l.split("."),value:p})});h.push({selector:k,attrs:c,callback:e,event:d});h.length===1&&this.bind("change",a);return this},undelegate:function(k,d,e){k=$.trim(k);d=0;var h=$.data(this,"_observe_delegates")||[],c;if(k)for(;d100)b.percentage=100;var k="Configuring Net Management";k=b.percentage<30?"Configuring Net Management":b.percentage<45?"Installing OpenStack":b.percentage<65? "Configuring Core Visualization":b.percentage<80?"Finalizing OpenStack Installation":b.percentage<100?"Configuring API Database":"Completed!";return{status:"OK",_data:{state:"",hostname:a,percentage:b.percentage,message:k,severity:"INFO"},type:"progress"}});$.fixture("GET /api/dashboardlinks/",function(a,k){console.log("original: ",a);console.log("settings: ",k);return{status:"OK",type:"clusterlinks",_data:{"os-single-controller":"http://10.145.88.232"}}})});steal.loaded("ods/fixtures/fixtures.js"); steal("jquery/class","jquery/lang/string",function(){var b=$.String,a=b.getObject,k=b.underscore,d=b.classize,e=$.isArray,h=$.makeArray,c=$.extend,f=$.each,l=function(w,H,M){$.event.trigger(H,M,w,true)},p=function(w,H,M,U,R,S,N){if(typeof w=="string"){var W=w.indexOf(" ");w=W>-1?{url:w.substr(W+1),type:w.substr(0,W)}:{url:w}}w.data=typeof H=="object"&&!e(H)?c(w.data||{},H):H;w.url=b.sub(w.url,w.data,true);return $.ajax(c({type:S||"post",dataType:N||"json",fixture:R,success:M,error:U},w))},t=function(w, H,M){var U=k(w.shortName),R="-"+U+(H||"");return $.fixture&&$.fixture[R]?R:M||"//"+k(w.fullName).replace(/\.models\..*/,"").replace(/\./g,"/")+"/fixtures/"+U+(H||"")+".json"},B=function(w,H,M){H=H||{};w=w.id;if(H[w]&&H[w]!==M){H["new"+b.capitalize(M)]=H[w];delete H[w]}H[w]=M;return H},J=function(w){return new (w||$.Model.List||Array)},I=function(w){return w[w.constructor.id]},V=function(w){var H=[];f(w,function(M,U){if(!U["__u Nique"]){H.push(U);U["__u Nique"]=1}});return f(H,function(M,U){delete U["__u Nique"]})}, y=function(w,H,M,U,R){var S=$.Deferred(),N=[w.serialize(),function(qa){w[R||H+"d"](qa);S.resolveWith(w,[w,qa,H])},function(qa){S.rejectWith(w,[qa])}],W=w.constructor,Z,ka=S.promise();H=="destroy"&&N.shift();H!=="create"&&N.unshift(I(w));S.then(M);S.fail(U);if((Z=W[H].apply(W,N))&&Z.abort)ka.abort=function(){Z.abort()};return ka},x=function(w){return typeof w==="object"&&w!==null&&w},A=function(w){return function(){return $.fn[w].apply($([this]),arguments)}},G=A("bind");A=A("unbind");ajaxMethods={create:function(w){return function(H, M,U){return p(w||this._shortName,H,M,U,t(this,"Create","-restCreate"))}},update:function(w){return function(H,M,U,R){return p(w||this._shortName+"/{"+this.id+"}",B(this,M,H),U,R,t(this,"Update","-restUpdate"),"put")}},destroy:function(w){return function(H,M,U){var R={};R[this.id]=H;return p(w||this._shortName+"/{"+this.id+"}",R,M,U,t(this,"Destroy","-restDestroy"),"delete")}},findAll:function(w){return function(H,M,U){return p(w||this._shortName,H,M,U,t(this,"s"),"get","json "+this._shortName+".models")}}, findOne:function(w){return function(H,M,U){return p(w||this._shortName+"/{"+this.id+"}",H,M,U,t(this),"get","json "+this._shortName+".model")}}};jQuery.Class("jQuery.Model",{setup:function(w){var H=this,M=this.fullName;f(["attributes","validations"],function(R,S){if(!H[S]||w[S]===H[S])H[S]={}});f(["convert","serialize"],function(R,S){if(w[S]!=H[S])H[S]=c({},w[S],H[S])});this._fullName=k(M.replace(/\./g,"_"));this._shortName=k(this.shortName);if(M.indexOf("jQuery")!=0){if(this.listType)this.list=new this.listType([]); f(ajaxMethods,function(R,S){var N=H[R];if(typeof N!=="function")H[R]=S(N)});M={};var U="* "+this._shortName+".model";M[U+"s"]=this.proxy("models");M[U]=this.proxy("model");$.ajaxSetup({converters:M})}},attributes:{},model:function(w){if(!w)return null;if(w instanceof this)w=w.serialize();return new this(x(w[this._shortName])||x(w.data)||x(w.attributes)||w)},models:function(w){if(!w)return null;var H=J(this.List),M=e(w),U=$.Model.List;U=U&&w instanceof U;for(var R=(U=M?w:U?w.serialize():w.data)?U.length: null,S=0;S=0){M=M.substring(0,M.lastIndexOf(".")); U=a(M)}return typeof H=="function"?H.call(U,w):w}},serialize:{"default":function(w){return x(w)&&w.serialize?w.serialize():w},date:function(w){return w&&w.getTime()}},bind:G,unbind:A,_ajax:p},{setup:function(w){this._init=true;this.attrs(c({},this.constructor.defaults,w));delete this._init},update:function(w,H,M){this.attrs(w);return this.save(H,M)},errors:function(w){if(w)w=e(w)?w:h(arguments);var H={},M=this,U=function(S,N){f(N,function(W,Z){if(W=Z.call(M)){H[S]||(H[S]=[]);H[S].push(W)}})},R=this.constructor.validations; f(w||R||{},function(S,N){if(typeof S=="number"){S=N;N=R[S]}U(S,N||[])});return $.isEmptyObject(H)?null:H},attr:function(w,H,M,U){var R=d(w),S="get"+R;if(H!==undefined){R="set"+R;S=this[w];var N=this,W=function(Z){U&&U.call(N,Z);l(N,"error."+w,Z)};if(this[R]&&(H=this[R](H,this.proxy("_updateProperty",w,H,S,M,W),W))===undefined)return;this._updateProperty(w,H,S,M,W);return this}return this[S]?this[S]():this[w]},bind:G,unbind:A,_updateProperty:function(w,H,M,U,R){var S=this.constructor,N=S.attributes[w]|| S.addAttr(w,"string"),W=S.convert[N]||S.convert["default"],Z=null,ka="",qa="updated.";U=U;var ua=S.list;H=this[w]=H===null?null:W.call(S,H,function(){},N);this._init||(Z=this.errors(w));N=[H];W=[w,H,M];if(Z){ka=qa="error.";U=R;W.splice(1,0,Z);N.unshift(Z)}if(M!==H&&!this._init){!Z&&l(this,ka+w,N);l(this,qa+"attr",W)}U&&U.apply(this,N);if(w===S.id&&H!==null&&ua)if(M){if(M!=H){ua.remove(M);ua.push(this)}}else ua.push(this)},removeAttr:function(w){var H=this[w],M=false,U=this.constructor.attributes; this[w]&&delete this[w];if(U[w]){delete U[w];M=true}!this._init&&M&&H&&l(this,"updated.attr",[w,null,H])},attrs:function(w){var H,M=this.constructor,U=M.attributes;if(w){M=M.id;for(H in w)H!=M&&this.attr(H,w[H]);M in w&&this.attr(M,w[M])}else{w={};for(H in U)if(U.hasOwnProperty(H))w[H]=this.attr(H)}return w},serialize:function(){var w=this.constructor,H=w.attributes,M,U,R={},S;attributes={};for(S in H)if(H.hasOwnProperty(S)){M=H[S];U=w.serialize[M]||w.serialize["default"];R[S]=U.call(w,this[S],M)}return R}, isNew:function(){var w=I(this);return w===undefined||w===null||w===""},save:function(w,H){return y(this,this.isNew()?"create":"update",w,H)},destroy:function(w,H){return y(this,"destroy",w,H,"destroyed")},identity:function(){var w=I(this),H=this.constructor;return(H._fullName+"_"+(H.escapeIdentity?encodeURIComponent(w):w)).replace(/ /g,"_")},elements:function(w){var H=this.identity();if(this.constructor.escapeIdentity)H=H.replace(/([ #;&,.+*~\'%:"!^$[\]()=>|\/])/g,"\\$1");return $("."+H,w)},hookup:function(w){var H= this.constructor._shortName,M=$.data(w,"models")||$.data(w,"models",{});$(w).addClass(H+" "+this.identity());M[H]=this}});f(["created","updated","destroyed"],function(w,H){$.Model.prototype[H]=function(M){var U=this.constructor;H==="destroyed"&&U.list&&U.list.remove(I(this));M&&typeof M=="object"&&this.attrs(M.attrs?M.attrs():M);l(this,H);l(U,H,this);return[this].concat(h(arguments))}});$.fn.models=function(){var w=[],H,M;this.each(function(){f($.data(this,"models")||{},function(U,R){H=H===undefined? R.constructor.List||null:R.constructor.List===H?H:null;w.push(R)})});M=J(H);M.push.apply(M,V(w));return M};$.fn.model=function(w){if(w&&w instanceof $.Model){w.hookup(this[0]);return this}else return this.models.apply(this,arguments)[0]}});steal.loaded("jquery/model/model.js");steal("jquery/model",function(){$.Model("Ods.Switch",{findOne:"GET /api/switches/{id}/",create:"POST /api/switches/"},{});$.Model("Ods.Server",{findAll:"GET /api/machines/"},{})});steal.loaded("ods/models/servers.js"); steal("jquery/model",function(){$.Model("Ods.Cluster",{create:"POST /api/clusters/",action:function(b,a,k){$.ajax({url:"/api/clusters/"+b+"/action",type:"post",dataType:"json",data:a,success:k})},update:function(b,a,k){$.ajax({url:"/api/clusters/"+b+"/"+a.type,type:"put",dataType:"json",data:a.data,success:k})}},{});$.Model("Ods.ClusterHost",{update:"PUT /api/cluster_hosts/{id}"},{});$.Model("Ods.DashboardLink",{findOne:function(b,a){$.ajax({url:"/api/dashboardlinks/",type:"get",dataType:"json",data:{cluster_id:b}, success:a})}},{})});steal.loaded("ods/models/cluster.js");steal("jquery/model",function(){$.Model("Ods.Progress",{findOne:"GET /api/progress/"},{});$.Model("Ods.TriggerInstall",{create:"POST /api/triggerinstall/"},{})});steal.loaded("ods/models/progress.js"); steal("jquery","jquery/lang/string",function(b){var a=false,k=b.makeArray,d=b.isFunction,e=b.isArray,h=b.extend,c=b.String.getObject,f=function(t,B){return t.concat(k(B))},l=/xyz/.test(function(){})?/\b_super\b/:/.*/,p=function(t,B,J){J=J||t;for(var I in t)J[I]=d(t[I])&&d(B[I])&&l.test(t[I])?function(V,y){return function(){var x=this._super,A;this._super=B[V];A=y.apply(this,arguments);this._super=x;return A}}(I,t[I]):t[I]};clss=b.Class=function(){if(arguments.length)return clss.extend.apply(clss, arguments)};h(clss,{proxy:function(t){var B=k(arguments),J;t=B.shift();e(t)||(t=[t]);J=this;return function(){for(var I=f(B,arguments),V,y=t.length,x=0,A;x=0===q})}function t(j){var m=Gb.split("|");j=j.createDocumentFragment();if(j.createElement)for(;m.length;)j.createElement(m.pop());return j}function B(j){return o.nodeName(j,"table")?j.getElementsByTagName("tbody")[0]||j.appendChild(j.ownerDocument.createElement("tbody")):j}function J(j,m){if(!(m.nodeType!== 1||!o.hasData(j))){var q,s,v;s=o._data(j);j=o._data(m,s);var D=s.events;if(D){delete j.handle;j.events={};for(q in D){s=0;for(v=D[q].length;s0){if(q!=="border")for(;D").appendTo(m),s=q.css("display");q.remove();if(s==="none"||s===""){if(!kb){kb=ea.createElement("iframe");kb.frameBorder=kb.width=kb.height=0}m.appendChild(kb);if(!ub||!kb.createElement){ub=(kb.contentWindow||kb.contentDocument).document;ub.write((ea.compatMode==="CSS1Compat"?"":"")+"");ub.close()}q= ub.createElement(j);ub.body.appendChild(q);s=o.css(q,"display");m.removeChild(kb)}fc[j]=s}return fc[j]}function Ma(j){return o.isWindow(j)?j:j.nodeType===9?j.defaultView||j.parentWindow:false}var ea=b.document,Da=b.navigator,Aa=b.location,o=function(){function j(){if(!m.isReady){try{ea.documentElement.doScroll("left")}catch(Q){setTimeout(j,1);return}m.ready()}}var m=function(Q,da){return new m.fn.init(Q,da,v)},q=b.jQuery,s=b.$,v,D=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,L=/\S/,O=/^\s+/,P=/\s+$/, X=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ia=/^[\],:{}\s]*$/,ba=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,la=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ha=/(?:^|:|,)(?:\s*\[)+/g,sa=/(webkit)[ \/]([\w.]+)/,Ka=/(opera)(?:.*version)?[ \/]([\w.]+)/,Na=/(msie) ([\w.]+)/,La=/(mozilla)(?:.*? rv:([\w.]+))?/,ob=/-([a-z]|[0-9])/ig,wa=/^-ms-/,lb=function(Q,da){return(da+"").toUpperCase()},gb=Da.userAgent,E,K,Y=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ca=Array.prototype.push,ga=Array.prototype.slice, ma=String.prototype.trim,pa=Array.prototype.indexOf,za={};m.fn=m.prototype={constructor:m,init:function(Q,da,na){var ja;if(!Q)return this;if(Q.nodeType){this.context=this[0]=Q;this.length=1;return this}if(Q==="body"&&!da&&ea.body){this.context=ea;this[0]=ea.body;this.selector=Q;this.length=1;return this}if(typeof Q==="string")if((ja=Q.charAt(0)==="<"&&Q.charAt(Q.length-1)===">"&&Q.length>=3?[null,Q,null]:D.exec(Q))&&(ja[1]||!da))if(ja[1]){na=(da=da instanceof m?da[0]:da)?da.ownerDocument||da:ea;if(Q= X.exec(Q))if(m.isPlainObject(da)){Q=[ea.createElement(Q[1])];m.fn.attr.call(Q,da,true)}else Q=[na.createElement(Q[1])];else{Q=m.buildFragment([ja[1]],[na]);Q=(Q.cacheable?m.clone(Q.fragment):Q.fragment).childNodes}return m.merge(this,Q)}else{if((da=ea.getElementById(ja[2]))&&da.parentNode){if(da.id!==ja[2])return na.find(Q);this.length=1;this[0]=da}this.context=ea;this.selector=Q;return this}else return!da||da.jquery?(da||na).find(Q):this.constructor(da).find(Q);else if(m.isFunction(Q))return na.ready(Q); if(Q.selector!==a){this.selector=Q.selector;this.context=Q.context}return m.makeArray(Q,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return ga.call(this,0)},get:function(Q){return Q==null?this.toArray():Q<0?this[this.length+Q]:this[Q]},pushStack:function(Q,da,na){var ja=this.constructor();m.isArray(Q)?ca.apply(ja,Q):m.merge(ja,Q);ja.prevObject=this;ja.context=this.context;if(da==="find")ja.selector=this.selector+(this.selector?" ":"")+na;else if(da)ja.selector= this.selector+"."+da+"("+na+")";return ja},each:function(Q,da){return m.each(this,Q,da)},ready:function(Q){m.bindReady();E.add(Q);return this},eq:function(Q){Q=+Q;return Q===-1?this.slice(Q):this.slice(Q,Q+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ga.apply(this,arguments),"slice",ga.call(arguments).join(","))},map:function(Q){return this.pushStack(m.map(this,function(da,na){return Q.call(da,na,da)}))},end:function(){return this.prevObject|| this.constructor(null)},push:ca,sort:[].sort,splice:[].splice};m.fn.init.prototype=m.fn;m.extend=m.fn.extend=function(){var Q,da,na,ja,Ca,xa=arguments[0]||{},Oa=1,Pa=arguments.length,gc=false;if(typeof xa==="boolean"){gc=xa;xa=arguments[1]||{};Oa=2}if(typeof xa!=="object"&&!m.isFunction(xa))xa={};if(Pa===Oa){xa=this;--Oa}for(;Oa0)){E.fireWith(ea,[m]);m.fn.trigger&&m(ea).trigger("ready").off("ready")}}}, bindReady:function(){if(!E){E=m.Callbacks("once memory");if(ea.readyState==="complete")return setTimeout(m.ready,1);if(ea.addEventListener){ea.addEventListener("DOMContentLoaded",K,false);b.addEventListener("load",m.ready,false)}else if(ea.attachEvent){ea.attachEvent("onreadystatechange",K);b.attachEvent("onload",m.ready);var Q=false;try{Q=b.frameElement==null}catch(da){}ea.documentElement.doScroll&&Q&&j()}}},isFunction:function(Q){return m.type(Q)==="function"},isArray:Array.isArray||function(Q){return m.type(Q)=== "array"},isWindow:function(Q){return Q&&typeof Q==="object"&&"setInterval"in Q},isNumeric:function(Q){return!isNaN(parseFloat(Q))&&isFinite(Q)},type:function(Q){return Q==null?String(Q):za[Y.call(Q)]||"object"},isPlainObject:function(Q){if(!Q||m.type(Q)!=="object"||Q.nodeType||m.isWindow(Q))return false;try{if(Q.constructor&&!aa.call(Q,"constructor")&&!aa.call(Q.constructor.prototype,"isPrototypeOf"))return false}catch(da){return false}var na;for(na in Q);return na===a||aa.call(Q,na)},isEmptyObject:function(Q){for(var da in Q)return false; return true},error:function(Q){throw new Error(Q);},parseJSON:function(Q){if(typeof Q!=="string"||!Q)return null;Q=m.trim(Q);if(b.JSON&&b.JSON.parse)return b.JSON.parse(Q);if(ia.test(Q.replace(ba,"@").replace(la,"]").replace(ha,"")))return(new Function("return "+Q))();m.error("Invalid JSON: "+Q)},parseXML:function(Q){var da,na;try{if(b.DOMParser){na=new DOMParser;da=na.parseFromString(Q,"text/xml")}else{da=new ActiveXObject("Microsoft.XMLDOM");da.async="false";da.loadXML(Q)}}catch(ja){da=a}if(!da|| !da.documentElement||da.getElementsByTagName("parsererror").length)m.error("Invalid XML: "+Q);return da},noop:function(){},globalEval:function(Q){if(Q&&L.test(Q))(b.execScript||function(da){b.eval.call(b,da)})(Q)},camelCase:function(Q){return Q.replace(wa,"ms-").replace(ob,lb)},nodeName:function(Q,da){return Q.nodeName&&Q.nodeName.toUpperCase()===da.toUpperCase()},each:function(Q,da,na){var ja,Ca=0,xa=Q.length,Oa=xa===a||m.isFunction(Q);if(na)if(Oa)for(ja in Q){if(da.apply(Q[ja],na)===false)break}else for(;Ca< xa;){if(da.apply(Q[Ca++],na)===false)break}else if(Oa)for(ja in Q){if(da.call(Q[ja],ja,Q[ja])===false)break}else for(;Ca0&&Q[0]&&Q[Pa-1]||Pa===0||m.isArray(Q)))for(;Oa1?$a.call(arguments,0):ba;--O||P.resolveWith(P,s)}}function q(ia){return function(ba){L[ia]=arguments.length>1?$a.call(arguments,0):ba;P.notifyWith(X,L)}}var s=$a.call(arguments,0),v=0,D=s.length,L=new Array(D),O=D, P=D<=1&&j&&o.isFunction(j.promise)?j:o.Deferred(),X=P.promise();if(D>1){for(;v
a";m=P.getElementsByTagName("*"); q=P.getElementsByTagName("a")[0];if(!m||!m.length||!q)return{};s=ea.createElement("select");v=s.appendChild(ea.createElement("option"));m=P.getElementsByTagName("input")[0];j={leadingWhitespace:P.firstChild.nodeType===3,tbody:!P.getElementsByTagName("tbody").length,htmlSerialize:!!P.getElementsByTagName("link").length,style:/top/.test(q.getAttribute("style")),hrefNormalized:q.getAttribute("href")==="/a",opacity:/^0.55/.test(q.style.opacity),cssFloat:!!q.style.cssFloat,checkOn:m.value==="on",optSelected:v.selected, getSetAttribute:P.className!=="t",enctype:!!ea.createElement("form").enctype,html5Clone:ea.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};m.checked=true;j.noCloneChecked=m.cloneNode(true).checked;s.disabled=true;j.optDisabled=!v.disabled;try{delete P.test}catch(X){j.deleteExpando=false}if(!P.addEventListener&& P.attachEvent&&P.fireEvent){P.attachEvent("onclick",function(){j.noCloneEvent=false});P.cloneNode(true).fireEvent("onclick")}m=ea.createElement("input");m.value="t";m.setAttribute("type","radio");j.radioValue=m.value==="t";m.setAttribute("checked","checked");P.appendChild(m);q=ea.createDocumentFragment();q.appendChild(P.lastChild);j.checkClone=q.cloneNode(true).cloneNode(true).lastChild.checked;j.appendChecked=m.checked;q.removeChild(m);q.appendChild(P);P.innerHTML="";if(b.getComputedStyle){m=ea.createElement("div"); m.style.width="0";m.style.marginRight="0";P.style.width="2px";P.appendChild(m);j.reliableMarginRight=(parseInt((b.getComputedStyle(m,null)||{marginRight:0}).marginRight,10)||0)===0}if(P.attachEvent)for(L in{submit:1,change:1,focusin:1}){m="on"+L;O=m in P;if(!O){P.setAttribute(m,"return;");O=typeof P[m]==="function"}j[L+"Bubbles"]=O}q.removeChild(P);q=s=v=m=P=m=null;o(function(){var ia,ba,la,ha,sa=ea.getElementsByTagName("body")[0];if(sa){ia=ea.createElement("div");ia.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px"; sa.insertBefore(ia,sa.firstChild);P=ea.createElement("div");ia.appendChild(P);P.innerHTML="
t
";D=P.getElementsByTagName("td");O=D[0].offsetHeight===0;D[0].style.display="";D[1].style.display="none";j.reliableHiddenOffsets=O&&D[0].offsetHeight===0;P.innerHTML="";P.style.width=P.style.paddingLeft="1px";o.boxModel=j.boxModel=P.offsetWidth===2;if(typeof P.style.zoom!=="undefined"){P.style.display="inline";P.style.zoom=1; j.inlineBlockNeedsLayout=P.offsetWidth===2;P.style.display="";P.innerHTML="
";j.shrinkWrapBlocks=P.offsetWidth!==2}P.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";P.innerHTML="
"; ba=P.firstChild;la=ba.firstChild;ha={doesNotAddBorder:la.offsetTop!==5,doesAddBorderForTableAndCells:ba.nextSibling.firstChild.firstChild.offsetTop===5};la.style.position="fixed";la.style.top="20px";ha.fixedPosition=la.offsetTop===20||la.offsetTop===15;la.style.position=la.style.top="";ba.style.overflow="hidden";ba.style.position="relative";ha.subtractsBorderForOverflowNotVisible=la.offsetTop===-5;ha.doesNotIncludeMarginInBodyOffset=sa.offsetTop!==1;sa.removeChild(ia);P=null;o.extend(j,ha)}});return j}(); var Za=/^(?:\{.*\}|\[.*\])$/,Ua=/([A-Z])/g;o.extend({cache:{},uuid:0,expando:"jQuery"+(o.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(j){j=j.nodeType?o.cache[j[o.expando]]:j[o.expando];return!!j&&!e(j)},data:function(j,m,q,s){if(o.acceptData(j)){var v;v=o.expando;var D=typeof m==="string",L=j.nodeType,O=L?o.cache:j,P=L?j[v]:j[v]&&v,X=m==="events";if(!((!P||!O[P]||!X&&!s&&!O[P].data)&&D&&q===a)){if(!P)if(L)j[v]= P=++o.uuid;else P=v;if(!O[P]){O[P]={};if(!L)O[P].toJSON=o.noop}if(typeof m==="object"||typeof m==="function")if(s)O[P]=o.extend(O[P],m);else O[P].data=o.extend(O[P].data,m);v=j=O[P];if(!s){if(!j.data)j.data={};j=j.data}if(q!==a)j[o.camelCase(m)]=q;if(X&&!j[m])return v.events;if(D){q=j[m];if(q==null)q=j[o.camelCase(m)]}else q=j;return q}}},removeData:function(j,m,q){if(o.acceptData(j)){var s,v,D,L=o.expando,O=j.nodeType,P=O?o.cache:j,X=O?j[L]:L;if(P[X]){if(m)if(s=q?P[X]:P[X].data){if(!o.isArray(m))if(m in s)m=[m];else{m=o.camelCase(m);m=m in s?[m]:m.split(" ")}v=0;for(D=m.length;v-1)return true;return false},val:function(j){var m,q,s, v=this[0];if(arguments.length){s=o.isFunction(j);return this.each(function(D){var L=o(this);if(this.nodeType===1){D=s?j.call(this,D,L.val()):j;if(D==null)D="";else if(typeof D==="number")D+="";else if(o.isArray(D))D=o.map(D,function(O){return O==null?"":O+""});m=o.valHooks[this.nodeName.toLowerCase()]||o.valHooks[this.type];if(!m||!("set"in m)||m.set(this,D,"value")===a)this.value=D}})}else if(v){if((m=o.valHooks[v.nodeName.toLowerCase()]||o.valHooks[v.type])&&"get"in m&&(q=m.get(v,"value"))!==a)return q; q=v.value;return typeof q==="string"?q.replace(ab,""):q==null?"":q}}});o.extend({valHooks:{option:{get:function(j){var m=j.attributes.value;return!m||m.specified?j.value:j.text}},select:{get:function(j){var m,q,s=j.selectedIndex,v=[],D=j.options,L=j.type==="select-one";if(s<0)return null;j=L?s:0;for(q=L?s+1:D.length;j=0});if(!q.length)j.selectedIndex=-1;return q}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(j,m,q,s){var v,D,L=j.nodeType;if(!(!j||L===3||L===8||L===2)){if(s&&m in o.attrFn)return o(j)[m](q);if(typeof j.getAttribute==="undefined")return o.prop(j,m,q);if(s= L!==1||!o.isXMLDoc(j)){m=m.toLowerCase();D=o.attrHooks[m]||(vb.test(m)?Hb:cb)}if(q!==a)if(q===null)o.removeAttr(j,m);else if(D&&"set"in D&&s&&(v=D.set(j,q,m))!==a)return v;else{j.setAttribute(m,""+q);return q}else if(D&&"get"in D&&s&&(v=D.get(j,m))!==null)return v;else{v=j.getAttribute(m);return v===null?a:v}}},removeAttr:function(j,m){var q,s,v,D=0;if(m&&j.nodeType===1){q=m.toLowerCase().split(Fa);for(v=q.length;D=0}})});var yb=/^(?:textarea|input|select)$/i,Ib=/^([^\.]*)?(?:\.(.+))?$/,Jb=/\bhover(\.\S+)?\b/,zb=/^key/,Ab=/^(?:mouse|contextmenu)|click/,Bb=/^(?:focusinfocus|focusoutblur)$/,Xb=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/, Sa=function(j){if(j=Xb.exec(j)){j[1]=(j[1]||"").toLowerCase();j[3]=j[3]&&new RegExp("(?:^|\\s)"+j[3]+"(?:\\s|$)")}return j},Yb=function(j,m){var q=j.attributes||{};return(!m[1]||j.nodeName.toLowerCase()===m[1])&&(!m[2]||(q.id||{}).value===m[2])&&(!m[3]||m[3].test((q["class"]||{}).value))},Cb=function(j){return o.event.special.hover?j:j.replace(Jb,"mouseenter$1 mouseleave$1")};o.event={add:function(j,m,q,s,v){var D,L,O,P,X,ia,ba,la,ha;if(!(j.nodeType===3||j.nodeType===8||!m||!q||!(D=o._data(j)))){if(q.handler){ba= q;q=ba.handler}if(!q.guid)q.guid=o.guid++;O=D.events;if(!O)D.events=O={};L=D.handle;if(!L){D.handle=L=function(sa){return typeof o!=="undefined"&&(!sa||o.event.triggered!==sa.type)?o.event.dispatch.apply(L.elem,arguments):a};L.elem=j}m=o.trim(Cb(m)).split(" ");for(D=0;D=0){v=v.slice(0,-1);L=true}if(v.indexOf(".")>= 0){D=v.split(".");v=D.shift();D.sort()}if(!((!q||o.event.customEvent[v])&&!o.event.global[v])){j=typeof j==="object"?j[o.expando]?j:new o.Event(v,j):new o.Event(v);j.type=v;j.isTrigger=true;j.exclusive=L;j.namespace=D.join(".");j.namespace_re=j.namespace?new RegExp("(^|\\.)"+D.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;L=v.indexOf(":")<0?"on"+v:"";if(q){j.result=a;if(!j.target)j.target=q;m=m!=null?o.makeArray(m):[];m.unshift(j);P=o.event.special[v]||{};if(!(P.trigger&&P.trigger.apply(q,m)===false)){ia= [[q,P.bindType||v]];if(!s&&!P.noBubble&&!o.isWindow(q)){X=P.delegateType||v;D=Bb.test(X+v)?q:q.parentNode;for(O=null;D;D=D.parentNode){ia.push([D,X]);O=D}if(O&&O===q.ownerDocument)ia.push([O.defaultView||O.parentWindow||b,X])}for(O=0;Oq&&D.push({elem:this,matches:m.slice(q)});for(L=0;L0?this.on(m,null,q,s):this.trigger(m)};if(o.attrFn)o.attrFn[m]=true;if(zb.test(m))o.event.fixHooks[m]=o.event.keyHooks;if(Ab.test(m))o.event.fixHooks[m]=o.event.mouseHooks});(function(){function j(E,K,Y,aa,ca,ga){ca=0;for(var ma=aa.length;ca0){za=pa;break}}pa=pa[E]}aa[ca]=za}}}var q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,s="sizcache"+(Math.random()+"").replace(".", ""),v=0,D=Object.prototype.toString,L=false,O=true,P=/\\/g,X=/\r\n/g,ia=/\W/;[0,0].sort(function(){O=false;return 0});var ba=function(E,K,Y,aa){Y=Y||[];var ca=K=K||ea;if(K.nodeType!==1&&K.nodeType!==9)return[];if(!E||typeof E!=="string")return Y;var ga,ma,pa,za,Q,da=true,na=ba.isXML(K),ja=[],Ca=E;do{q.exec("");if(ga=q.exec(Ca)){Ca=ga[3];ja.push(ga[1]);if(ga[2]){za=ga[3];break}}}while(ga);if(ja.length>1&&sa.exec(E))if(ja.length===2&&ha.relative[ja[0]])ma=gb(ja[0]+ja[1],K,aa);else for(ma=ha.relative[ja[0]]? [K]:ba(ja.shift(),K);ja.length;){E=ja.shift();if(ha.relative[E])E+=ja.shift();ma=gb(E,ma,aa)}else{if(!aa&&ja.length>1&&K.nodeType===9&&!na&&ha.match.ID.test(ja[0])&&!ha.match.ID.test(ja[ja.length-1])){ga=ba.find(ja.shift(),K,na);K=ga.expr?ba.filter(ga.expr,ga.set)[0]:ga.set[0]}if(K){ga=aa?{expr:ja.pop(),set:La(aa)}:ba.find(ja.pop(),ja.length===1&&(ja[0]==="~"||ja[0]==="+")&&K.parentNode?K.parentNode:K,na);ma=ga.expr?ba.filter(ga.expr,ga.set):ga.set;if(ja.length>0)pa=La(ma);else da=false;for(;ja.length;){ga= Q=ja.pop();if(ha.relative[Q])ga=ja.pop();else Q="";if(ga==null)ga=K;ha.relative[Q](pa,ga,na)}}else pa=[]}pa||(pa=ma);pa||ba.error(Q||E);if(D.call(pa)==="[object Array]")if(da)if(K&&K.nodeType===1)for(E=0;pa[E]!=null;E++){if(pa[E]&&(pa[E]===true||pa[E].nodeType===1&&ba.contains(K,pa[E])))Y.push(ma[E])}else for(E=0;pa[E]!=null;E++)pa[E]&&pa[E].nodeType===1&&Y.push(ma[E]);else Y.push.apply(Y,pa);else La(pa,Y);if(za){ba(za,ca,Y,aa);ba.uniqueSort(Y)}return Y};ba.uniqueSort=function(E){if(wa){L=O;E.sort(wa); if(L)for(var K=1;K0};ba.find=function(E,K,Y){var aa,ca,ga,ma,pa,za;if(!E)return[];ca=0;for(ga=ha.order.length;ca":function(E,K){var Y,aa=typeof K==="string",ca=0,ga=E.length;if(aa&&!ia.test(K))for(K=K.toLowerCase();ca=0))Y||aa.push(ma);else if(Y)K[ga]=false;return false},ID:function(E){return E[1].replace(P, "")},TAG:function(E){return E[1].replace(P,"").toLowerCase()},CHILD:function(E){if(E[1]==="nth"){E[2]||ba.error(E[0]);E[2]=E[2].replace(/^\+|\s*/g,"");var K=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(E[2]==="even"&&"2n"||E[2]==="odd"&&"2n+1"||!/\D/.test(E[2])&&"0n+"+E[2]||E[2]);E[2]=K[1]+(K[2]||1)-0;E[3]=K[3]-0}else E[2]&&ba.error(E[0]);E[0]=v++;return E},ATTR:function(E,K,Y,aa,ca,ga){K=E[1]=E[1].replace(P,"");if(!ga&&ha.attrMap[K])E[1]=ha.attrMap[K];E[4]=(E[4]||E[5]||"").replace(P,"");if(E[2]==="~=")E[4]= " "+E[4]+" ";return E},PSEUDO:function(E,K,Y,aa,ca){if(E[1]==="not")if((q.exec(E[3])||"").length>1||/^\w/.test(E[3]))E[3]=ba(E[3],null,null,K);else{E=ba.filter(E[3],K,Y,true^ca);Y||aa.push.apply(aa,E);return false}else if(ha.match.POS.test(E[0])||ha.match.CHILD.test(E[0]))return true;return E},POS:function(E){E.unshift(true);return E}},filters:{enabled:function(E){return E.disabled===false&&E.type!=="hidden"},disabled:function(E){return E.disabled===true},checked:function(E){return E.checked===true}, selected:function(E){return E.selected===true},parent:function(E){return!!E.firstChild},empty:function(E){return!E.firstChild},has:function(E,K,Y){return!!ba(Y[3],E).length},header:function(E){return/h\d/i.test(E.nodeName)},text:function(E){var K=E.getAttribute("type"),Y=E.type;return E.nodeName.toLowerCase()==="input"&&"text"===Y&&(K===Y||K===null)},radio:function(E){return E.nodeName.toLowerCase()==="input"&&"radio"===E.type},checkbox:function(E){return E.nodeName.toLowerCase()==="input"&&"checkbox"=== E.type},file:function(E){return E.nodeName.toLowerCase()==="input"&&"file"===E.type},password:function(E){return E.nodeName.toLowerCase()==="input"&&"password"===E.type},submit:function(E){var K=E.nodeName.toLowerCase();return(K==="input"||K==="button")&&"submit"===E.type},image:function(E){return E.nodeName.toLowerCase()==="input"&&"image"===E.type},reset:function(E){var K=E.nodeName.toLowerCase();return(K==="input"||K==="button")&&"reset"===E.type},button:function(E){var K=E.nodeName.toLowerCase(); return K==="input"&&"button"===E.type||K==="button"},input:function(E){return/input|select|textarea|button/i.test(E.nodeName)},focus:function(E){return E===E.ownerDocument.activeElement}},setFilters:{first:function(E,K){return K===0},last:function(E,K,Y,aa){return K===aa.length-1},even:function(E,K){return K%2===0},odd:function(E,K){return K%2===1},lt:function(E,K,Y){return KY[3]-0},nth:function(E,K,Y){return Y[3]-0===K},eq:function(E,K,Y){return Y[3]-0===K}}, filter:{PSEUDO:function(E,K,Y,aa){var ca=K[1],ga=ha.filters[ca];if(ga)return ga(E,Y,K,aa);else if(ca==="contains")return(E.textContent||E.innerText||la([E])||"").indexOf(K[3])>=0;else if(ca==="not"){K=K[3];Y=0;for(aa=K.length;Y=0}},ID:function(E,K){return E.nodeType===1&&E.getAttribute("id")===K},TAG:function(E,K){return K==="*"&&E.nodeType===1||!!E.nodeName&&E.nodeName.toLowerCase()===K},CLASS:function(E,K){return(" "+(E.className||E.getAttribute("class"))+ " ").indexOf(K)>-1},ATTR:function(E,K){var Y=K[1];E=ba.attr?ba.attr(E,Y):ha.attrHandle[Y]?ha.attrHandle[Y](E):E[Y]!=null?E[Y]:E.getAttribute(Y);Y=E+"";var aa=K[2];K=K[4];return E==null?aa==="!=":!aa&&ba.attr?E!=null:aa==="="?Y===K:aa==="*="?Y.indexOf(K)>=0:aa==="~="?(" "+Y+" ").indexOf(K)>=0:!K?Y&&E!==false:aa==="!="?Y!==K:aa==="^="?Y.indexOf(K)===0:aa==="$="?Y.substr(Y.length-K.length)===K:aa==="|="?Y===K||Y.substr(0,K.length+1)===K+"-":false},POS:function(E,K,Y,aa){var ca=ha.setFilters[K[2]];if(ca)return ca(E, Y,K,aa)}}},sa=ha.match.POS,Ka=function(E,K){return"\\"+(K-0+1)};for(var Na in ha.match){ha.match[Na]=new RegExp(ha.match[Na].source+/(?![^\[]*\])(?![^\(]*\))/.source);ha.leftMatch[Na]=new RegExp(/(^(?:.|\r|\n)*?)/.source+ha.match[Na].source.replace(/\\(\d+)/g,Ka))}var La=function(E,K){E=Array.prototype.slice.call(E,0);if(K){K.push.apply(K,E);return K}return E};try{Array.prototype.slice.call(ea.documentElement.childNodes,0)}catch(ob){La=function(E,K){var Y=0;K=K||[];if(D.call(E)==="[object Array]")Array.prototype.push.apply(K, E);else if(typeof E.length==="number")for(var aa=E.length;Y";Y.insertBefore(E,Y.firstChild);if(ea.getElementById(K)){ha.find.ID=function(aa,ca,ga){if(typeof ca.getElementById!=="undefined"&&!ga)return(ca=ca.getElementById(aa[1]))?ca.id===aa[1]||typeof ca.getAttributeNode!=="undefined"&&ca.getAttributeNode("id").nodeValue===aa[1]?[ca]:a:[]};ha.filter.ID=function(aa,ca){var ga=typeof aa.getAttributeNode!=="undefined"&&aa.getAttributeNode("id");return aa.nodeType===1&&ga&&ga.nodeValue===ca}}Y.removeChild(E); Y=E=null})();(function(){var E=ea.createElement("div");E.appendChild(ea.createComment(""));if(E.getElementsByTagName("*").length>0)ha.find.TAG=function(K,Y){Y=Y.getElementsByTagName(K[1]);if(K[1]==="*"){K=[];for(var aa=0;Y[aa];aa++)Y[aa].nodeType===1&&K.push(Y[aa]);Y=K}return Y};E.innerHTML="";if(E.firstChild&&typeof E.firstChild.getAttribute!=="undefined"&&E.firstChild.getAttribute("href")!=="#")ha.attrHandle.href=function(K){return K.getAttribute("href",2)};E=null})();ea.querySelectorAll&& function(){var E=ba,K=ea.createElement("div");K.innerHTML="

";if(!(K.querySelectorAll&&K.querySelectorAll(".TEST").length===0)){ba=function(aa,ca,ga,ma){ca=ca||ea;if(!ma&&!ba.isXML(ca)){var pa=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(aa);if(pa&&(ca.nodeType===1||ca.nodeType===9))if(pa[1])return La(ca.getElementsByTagName(aa),ga);else if(pa[2]&&ha.find.CLASS&&ca.getElementsByClassName)return La(ca.getElementsByClassName(pa[2]),ga);if(ca.nodeType===9){if(aa==="body"&&ca.body)return La([ca.body], ga);else if(pa&&pa[3]){var za=ca.getElementById(pa[3]);if(za&&za.parentNode){if(za.id===pa[3])return La([za],ga)}else return La([],ga)}try{return La(ca.querySelectorAll(aa),ga)}catch(Q){}}else if(ca.nodeType===1&&ca.nodeName.toLowerCase()!=="object"){pa=ca;var da=(za=ca.getAttribute("id"))||"__sizzle__",na=ca.parentNode,ja=/^\s*[+~]/.test(aa);if(za)da=da.replace(/'/g,"\\$&");else ca.setAttribute("id",da);if(ja&&na)ca=ca.parentNode;try{if(!ja||na)return La(ca.querySelectorAll("[id='"+da+"'] "+aa), ga)}catch(Ca){}finally{za||pa.removeAttribute("id")}}}return E(aa,ca,ga,ma)};for(var Y in E)ba[Y]=E[Y];K=null}}();(function(){var E=ea.documentElement,K=E.matchesSelector||E.mozMatchesSelector||E.webkitMatchesSelector||E.msMatchesSelector;if(K){var Y=!K.call(ea.createElement("div"),"div"),aa=false;try{K.call(ea.documentElement,"[test!='']:sizzle")}catch(ca){aa=true}ba.matchesSelector=function(ga,ma){ma=ma.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!ba.isXML(ga))try{if(aa||!ha.match.PSEUDO.test(ma)&& !/!=/.test(ma)){var pa=K.call(ga,ma);if(pa||!Y||ga.document&&ga.document.nodeType!==11)return pa}}catch(za){}return ba(ma,null,null,[ga]).length>0}}})();(function(){var E=ea.createElement("div");E.innerHTML="
";if(!(!E.getElementsByClassName||E.getElementsByClassName("e").length===0)){E.lastChild.className="e";if(E.getElementsByClassName("e").length!==1){ha.order.splice(1,0,"CLASS");ha.find.CLASS=function(K,Y,aa){if(typeof Y.getElementsByClassName!== "undefined"&&!aa)return Y.getElementsByClassName(K[1])};E=null}}})();ba.contains=ea.documentElement.contains?function(E,K){return E!==K&&(E.contains?E.contains(K):true)}:ea.documentElement.compareDocumentPosition?function(E,K){return!!(E.compareDocumentPosition(K)&16)}:function(){return false};ba.isXML=function(E){return(E=(E?E.ownerDocument||E:0).documentElement)?E.nodeName!=="HTML":false};var gb=function(E,K,Y){var aa,ca=[],ga="";for(K=K.nodeType?[K]:K;aa=ha.match.PSEUDO.exec(E);){ga+=aa[0];E=E.replace(ha.match.PSEUDO, "")}E=ha.relative[E]?E+"*":E;aa=0;for(var ma=K.length;aa0)for(L=D;L=0:o.filter(j,this).length>0:this.filter(j).length>0)},closest:function(j,m){var q=[],s,v,D=this[0];if(o.isArray(j)){for(v=1;D&&D.ownerDocument&&D!==m;){for(s=0;s-1:o.find.matchesSelector(D,j)){q.push(D);break}else{D=D.parentNode;if(!D||!D.ownerDocument||D===m||D.nodeType===11)break}q=q.length>1?o.unique(q):q;return this.pushStack(q,"closest",j)},index:function(j){if(!j)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof j==="string")return o.inArray(this[0],o(j));return o.inArray(j.jquery?j[0]:j,this)},add:function(j,m){j=typeof j==="string"?o(j,m):o.makeArray(j&&j.nodeType?[j]:j);m=o.merge(this.get(), j);return this.pushStack(l(j[0])||l(m[0])?m:o.unique(m))},andSelf:function(){return this.add(this.prevObject)}});o.each({parent:function(j){return(j=j.parentNode)&&j.nodeType!==11?j:null},parents:function(j){return o.dir(j,"parentNode")},parentsUntil:function(j,m,q){return o.dir(j,"parentNode",q)},next:function(j){return o.nth(j,2,"nextSibling")},prev:function(j){return o.nth(j,2,"previousSibling")},nextAll:function(j){return o.dir(j,"nextSibling")},prevAll:function(j){return o.dir(j,"previousSibling")}, nextUntil:function(j,m,q){return o.dir(j,"nextSibling",q)},prevUntil:function(j,m,q){return o.dir(j,"previousSibling",q)},siblings:function(j){return o.sibling(j.parentNode.firstChild,j)},children:function(j){return o.sibling(j.firstChild)},contents:function(j){return o.nodeName(j,"iframe")?j.contentDocument||j.contentWindow.document:o.makeArray(j.childNodes)}},function(j,m){o.fn[j]=function(q,s){var v=o.map(this,m,q);Zb.test(j)||(s=q);if(s&&typeof s==="string")v=o.filter(s,v);v=this.length>1&&!Lb[j]? o.unique(v):v;if((this.length>1||$b.test(s))&&fb.test(j))v=v.reverse();return this.pushStack(v,j,db.call(arguments).join(","))}});o.extend({filter:function(j,m,q){if(q)j=":not("+j+")";return m.length===1?o.find.matchesSelector(m[0],j)?[m[0]]:[]:o.find.matches(j,m)},dir:function(j,m,q){var s=[];for(j=j[m];j&&j.nodeType!==9&&(q===a||j.nodeType!==1||!o(j).is(q));){j.nodeType===1&&s.push(j);j=j[m]}return s},nth:function(j,m,q){m=m||1;for(var s=0;j;j=j[q])if(j.nodeType===1&&++s===m)break;return j},sibling:function(j, m){for(var q=[];j;j=j.nextSibling)j.nodeType===1&&j!==m&&q.push(j);return q}});var Gb="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ac=/ jQuery\d+="(?:\d+|null)"/g,Db=/^\s+/,ta=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Mb=/<([\w:]+)/,pb=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},jb=t(ea);Qa.optgroup=Qa.option;Qa.tbody=Qa.tfoot=Qa.colgroup=Qa.caption=Qa.thead;Qa.th=Qa.td;if(!o.support.htmlSerialize)Qa._default= [1,"div
","
"];o.fn.extend({text:function(j){if(o.isFunction(j))return this.each(function(m){var q=o(this);q.text(j.call(this,m,q.text()))});if(typeof j!=="object"&&j!==a)return this.empty().append((this[0]&&this[0].ownerDocument||ea).createTextNode(j));return o.text(this)},wrapAll:function(j){if(o.isFunction(j))return this.each(function(q){o(this).wrapAll(j.call(this,q))});if(this[0]){var m=o(j,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&m.insertBefore(this[0]);m.map(function(){for(var q= this;q.firstChild&&q.firstChild.nodeType===1;)q=q.firstChild;return q}).append(this)}return this},wrapInner:function(j){if(o.isFunction(j))return this.each(function(m){o(this).wrapInner(j.call(this,m))});return this.each(function(){var m=o(this),q=m.contents();q.length?q.wrapAll(j):m.append(j)})},wrap:function(j){var m=o.isFunction(j);return this.each(function(q){o(this).wrapAll(m?j.call(this,q):j)})},unwrap:function(){return this.parent().each(function(){o.nodeName(this,"body")||o(this).replaceWith(this.childNodes)}).end()}, append:function(){return this.domManip(arguments,true,function(j){this.nodeType===1&&this.appendChild(j)})},prepend:function(){return this.domManip(arguments,true,function(j){this.nodeType===1&&this.insertBefore(j,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(m){this.parentNode.insertBefore(m,this)});else if(arguments.length){var j=o.clean(arguments);j.push.apply(j,this.toArray());return this.pushStack(j,"before",arguments)}},after:function(){if(this[0]&& this[0].parentNode)return this.domManip(arguments,false,function(m){this.parentNode.insertBefore(m,this.nextSibling)});else if(arguments.length){var j=this.pushStack(this,"after",arguments);j.push.apply(j,o.clean(arguments));return j}},remove:function(j,m){for(var q=0,s;(s=this[q])!=null;q++)if(!j||o.filter(j,[s]).length){if(!m&&s.nodeType===1){o.cleanData(s.getElementsByTagName("*"));o.cleanData([s])}s.parentNode&&s.parentNode.removeChild(s)}return this},empty:function(){for(var j=0,m;(m=this[j])!= null;j++)for(m.nodeType===1&&o.cleanData(m.getElementsByTagName("*"));m.firstChild;)m.removeChild(m.firstChild);return this},clone:function(j,m){j=j==null?false:j;m=m==null?j:m;return this.map(function(){return o.clone(this,j,m)})},html:function(j){if(j===a)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ac,""):null;else if(typeof j==="string"&&!qb.test(j)&&(o.support.leadingWhitespace||!Db.test(j))&&!Qa[(Mb.exec(j)||["",""])[1].toLowerCase()]){j=j.replace(ta,"<$1>");try{for(var m= 0,q=this.length;m1&&P0?this.clone(true):this).get();o(q[v])[m](L);s=s.concat(L)}return this.pushStack(s,j,q.selector)}}});o.extend({clone:function(j,m,q){var s,v,D,L=o.support.html5Clone||!Pb.test("<"+j.nodeName)?j.cloneNode(true):A(j);if((!o.support.noCloneEvent||!o.support.noCloneChecked)&&(j.nodeType===1||j.nodeType=== 11)&&!o.isXMLDoc(j)){I(j,L);s=V(j);v=V(L);for(D=0;s[D];++D)v[D]&&I(s[D],v[D])}if(m){J(j,L);if(q){s=V(j);v=V(L);for(D=0;s[D];++D)J(s[D],v[D])}}return L},clean:function(j,m,q,s){m=m||ea;if(typeof m.createElement==="undefined")m=m.ownerDocument||m[0]&&m[0].ownerDocument||ea;for(var v=[],D,L=0,O;(O=j[L])!=null;L++){if(typeof O==="number")O+="";if(O){if(typeof O==="string")if(Nb.test(O)){O=O.replace(ta,"<$1>");D=(Mb.exec(O)||["",""])[1].toLowerCase();var P=Qa[D]||Qa._default,X=P[0],ia=m.createElement("div"); m===ea?jb.appendChild(ia):t(m).appendChild(ia);for(ia.innerHTML=P[1]+O+P[2];X--;)ia=ia.lastChild;if(!o.support.tbody){X=pb.test(O);P=D==="table"&&!X?ia.firstChild&&ia.firstChild.childNodes:P[1]===""&&!X?ia.childNodes:[];for(D=P.length-1;D>=0;--D)o.nodeName(P[D],"tbody")&&!P[D].childNodes.length&&P[D].parentNode.removeChild(P[D])}!o.support.leadingWhitespace&&Db.test(O)&&ia.insertBefore(m.createTextNode(Db.exec(O)[0]),ia.firstChild);O=ia.childNodes}else O=m.createTextNode(O);var ba;if(!o.support.appendChecked)if(O[0]&& typeof(ba=O.length)==="number")for(D=0;D=0)return s+"px"}else return s}}});if(!o.support.opacity)o.cssHooks.opacity={get:function(j,m){return ra.test((m&&j.currentStyle?j.currentStyle.filter:j.style.filter)||"")?parseFloat(RegExp.$1)/100+"":m?"1":""},set:function(j,m){var q=j.style;j=j.currentStyle;var s=o.isNumeric(m)?"alpha(opacity="+m*100+")":"",v=j&&j.filter||q.filter||"";q.zoom=1;if(m>=1&&o.trim(v.replace(bb,""))===""){q.removeAttribute("filter");if(j&&!j.filter)return}q.filter= bb.test(v)?v.replace(bb,s):v+" "+s}};o(function(){if(!o.support.reliableMarginRight)o.cssHooks.marginRight={get:function(j,m){var q;o.swap(j,{display:"inline-block"},function(){q=m?nb(j,"margin-right","marginRight"):j.style.marginRight});return q}}});if(ea.defaultView&&ea.defaultView.getComputedStyle)Eb=function(j,m){var q,s,v;m=m.replace(cc,"-$1").toLowerCase();if((s=j.ownerDocument.defaultView)&&(v=s.getComputedStyle(j,null))){q=v.getPropertyValue(m);if(q===""&&!o.contains(j.ownerDocument.documentElement, j))q=o.style(j,m)}return q};if(ea.documentElement.currentStyle)tb=function(j,m){var q,s,v=j.currentStyle&&j.currentStyle[m],D=j.style;if(v===null&&D&&(q=D[m]))v=q;if(!Qb.test(v)&&Ta.test(v)){q=D.left;if(s=j.runtimeStyle&&j.runtimeStyle.left)j.runtimeStyle.left=j.currentStyle.left;D.left=m==="fontSize"?"1em":v||0;v=D.pixelLeft+"px";D.left=q;if(s)j.runtimeStyle.left=s}return v===""?"auto":v};nb=Eb||tb;if(o.expr&&o.expr.filters){o.expr.filters.hidden=function(j){var m=j.offsetHeight;return j.offsetWidth=== 0&&m===0||!o.support.reliableHiddenOffsets&&(j.style&&j.style.display||o.css(j,"display"))==="none"};o.expr.filters.visible=function(j){return!o.expr.filters.hidden(j)}}var g=/%20/g,n=/\[\]$/,r=/\r?\n/g,u=/#.*$/,z=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,C=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,F=/^(?:GET|HEAD)$/,T=/^\/\//,fa=/\?/,oa=/)<[^<]*)*<\/script>/gi,va=/^(?:select|textarea)/i,Ba=/\s+/,Ea=/([?&])_=[^&]*/, Ha=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,hb=o.fn.load,Va={},Xa={},eb,Ya,Ga=["*/"]+["*"];try{eb=Aa.href}catch(ib){eb=ea.createElement("a");eb.href="";eb=eb.href}Ya=Ha.exec(eb.toLowerCase())||[];o.fn.extend({load:function(j,m,q){if(typeof j!=="string"&&hb)return hb.apply(this,arguments);else if(!this.length)return this;var s=j.indexOf(" ");if(s>=0){var v=j.slice(s,j.length);j=j.slice(0,s)}s="GET";if(m)if(o.isFunction(m)){q=m;m=a}else if(typeof m==="object"){m=o.param(m,o.ajaxSettings.traditional); s="POST"}var D=this;o.ajax({url:j,type:s,dataType:"html",data:m,complete:function(L,O,P){P=L.responseText;if(L.isResolved()){L.done(function(X){P=X});D.html(v?o("
").append(P.replace(oa,"")).find(v):P)}q&&D.each(q,[P,O,L])}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||va.test(this.nodeName)|| C.test(this.type))}).map(function(j,m){j=o(this).val();return j==null?null:o.isArray(j)?o.map(j,function(q){return{name:m.name,value:q.replace(r,"\r\n")}}):{name:m.name,value:j.replace(r,"\r\n")}}).get()}});o.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(j,m){o.fn[m]=function(q){return this.on(m,q)}});o.each(["get","post"],function(j,m){o[m]=function(q,s,v,D){if(o.isFunction(s)){D=D||v;v=s;s=a}return o.ajax({type:m,url:q,data:s,success:v,dataType:D})}}); o.extend({getScript:function(j,m){return o.get(j,a,m,"script")},getJSON:function(j,m,q){return o.get(j,m,q,"json")},ajaxSetup:function(j,m){if(m)U(j,o.ajaxSettings);else{m=j;j=o.ajaxSettings}U(j,m);return j},ajaxSettings:{url:eb,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Ya[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript", "*":Ga},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":b.String,"text html":true,"text json":o.parseJSON,"text xml":o.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:H(Va),ajaxTransport:H(Xa),ajax:function(j,m){function q(E,K,Y,aa){if(Na!==2){Na=2;Ka&&clearTimeout(Ka);sa=a;la=aa||"";wa.readyState=E>0?4:0;var ca,ga,ma;aa=K;Y=Y?S(s,wa,Y):a;var pa;if(E>=200&&E<300||E===304){if(s.ifModified){if(pa=wa.getResponseHeader("Last-Modified"))o.lastModified[X]= pa;if(pa=wa.getResponseHeader("Etag"))o.etag[X]=pa}if(E===304){aa="notmodified";ca=true}else try{ga=N(s,Y);aa="success";ca=true}catch(za){aa="parsererror";ma=za}}else{ma=aa;if(!aa||E){aa="error";if(E<0)E=0}}wa.status=E;wa.statusText=""+(K||aa);ca?L.resolveWith(v,[ga,aa,wa]):L.rejectWith(v,[wa,aa,ma]);wa.statusCode(P);P=a;if(La)D.trigger("ajax"+(ca?"Success":"Error"),[wa,s,ca?ga:ma]);O.fireWith(v,[wa,aa]);if(La){D.trigger("ajaxComplete",[wa,s]);--o.active||o.event.trigger("ajaxStop")}}}if(typeof j=== "object"){m=j;j=a}m=m||{};var s=o.ajaxSetup({},m),v=s.context||s,D=v!==s&&(v.nodeType||v instanceof o)?o(v):o.event,L=o.Deferred(),O=o.Callbacks("once memory"),P=s.statusCode||{},X,ia={},ba={},la,ha,sa,Ka,Na=0,La,ob,wa={readyState:0,setRequestHeader:function(E,K){if(!Na){var Y=E.toLowerCase();E=ba[Y]=ba[Y]||E;ia[E]=K}return this},getAllResponseHeaders:function(){return Na===2?la:null},getResponseHeader:function(E){var K;if(Na===2){if(!ha)for(ha={};K=z.exec(la);)ha[K[1].toLowerCase()]=K[2];K=ha[E.toLowerCase()]}return K=== a?null:K},overrideMimeType:function(E){if(!Na)s.mimeType=E;return this},abort:function(E){E=E||"abort";sa&&sa.abort(E);q(0,E);return this}};L.promise(wa);wa.success=wa.done;wa.error=wa.fail;wa.complete=O.add;wa.statusCode=function(E){if(E){var K;if(Na<2)for(K in E)P[K]=[P[K],E[K]];else{K=E[wa.status];wa.then(K,K)}}return this};s.url=((j||s.url)+"").replace(u,"").replace(T,Ya[1]+"//");s.dataTypes=o.trim(s.dataType||"*").toLowerCase().split(Ba);if(s.crossDomain==null){j=Ha.exec(s.url.toLowerCase()); s.crossDomain=!!(j&&(j[1]!=Ya[1]||j[2]!=Ya[2]||(j[3]||(j[1]==="http:"?80:443))!=(Ya[3]||(Ya[1]==="http:"?80:443))))}if(s.data&&s.processData&&typeof s.data!=="string")s.data=o.param(s.data,s.traditional);M(Va,s,m,wa);if(Na===2)return false;La=s.global;s.type=s.type.toUpperCase();s.hasContent=!F.test(s.type);La&&o.active++===0&&o.event.trigger("ajaxStart");if(!s.hasContent){if(s.data){s.url+=(fa.test(s.url)?"&":"?")+s.data;delete s.data}X=s.url;if(s.cache===false){j=o.now();var lb=s.url.replace(Ea, "$1_="+j);s.url=lb+(lb===s.url?(fa.test(s.url)?"&":"?")+"_="+j:"")}}if(s.data&&s.hasContent&&s.contentType!==false||m.contentType)wa.setRequestHeader("Content-Type",s.contentType);if(s.ifModified){X=X||s.url;o.lastModified[X]&&wa.setRequestHeader("If-Modified-Since",o.lastModified[X]);o.etag[X]&&wa.setRequestHeader("If-None-Match",o.etag[X])}wa.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+(s.dataTypes[0]!=="*"?", "+Ga+"; q=0.01":""):s.accepts["*"]); for(ob in s.headers)wa.setRequestHeader(ob,s.headers[ob]);if(s.beforeSend&&(s.beforeSend.call(v,wa,s)===false||Na===2)){wa.abort();return false}for(ob in{success:1,error:1,complete:1})wa[ob](s[ob]);if(sa=M(Xa,s,m,wa)){wa.readyState=1;La&&D.trigger("ajaxSend",[wa,s]);if(s.async&&s.timeout>0)Ka=setTimeout(function(){wa.abort("timeout")},s.timeout);try{Na=1;sa.send(ia,q)}catch(gb){if(Na<2)q(-1,gb);else throw gb;}}else q(-1,"No Transport");return wa},param:function(j,m){var q=[],s=function(D,L){L=o.isFunction(L)? L():L;q[q.length]=encodeURIComponent(D)+"="+encodeURIComponent(L)};if(m===a)m=o.ajaxSettings.traditional;if(o.isArray(j)||j.jquery&&!o.isPlainObject(j))o.each(j,function(){s(this.name,this.value)});else for(var v in j)R(v,j[v],m,s);return q.join("&").replace(g,"+")}});o.extend({active:0,lastModified:{},etag:{}});var rb=o.now(),mb=/(\=)\?(&|$)|\?\?/i;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return o.expando+"_"+rb++}});o.ajaxPrefilter("json jsonp",function(j,m,q){m=j.contentType==="application/x-www-form-urlencoded"&& typeof j.data==="string";if(j.dataTypes[0]==="jsonp"||j.jsonp!==false&&(mb.test(j.url)||m&&mb.test(j.data))){var s,v=j.jsonpCallback=o.isFunction(j.jsonpCallback)?j.jsonpCallback():j.jsonpCallback,D=b[v],L=j.url,O=j.data,P="$1"+v+"$2";if(j.jsonp!==false){L=L.replace(mb,P);if(j.url===L){if(m)O=O.replace(mb,P);if(j.data===O)L+=(/\?/.test(L)?"&":"?")+j.jsonp+"="+v}}j.url=L;j.data=O;b[v]=function(X){s=[X]};q.always(function(){b[v]=D;s&&o.isFunction(D)&&b[v](s[0])});j.converters["script json"]=function(){s|| o.error(v+" was not called");return s[0]};j.dataTypes[0]="json";return"script"}});o.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(j){o.globalEval(j);return j}}});o.ajaxPrefilter("script",function(j){if(j.cache===a)j.cache=false;if(j.crossDomain){j.type="GET";j.global=false}});o.ajaxTransport("script",function(j){if(j.crossDomain){var m,q=ea.head||ea.getElementsByTagName("head")[0]|| ea.documentElement;return{send:function(s,v){m=ea.createElement("script");m.async="async";if(j.scriptCharset)m.charset=j.scriptCharset;m.src=j.url;m.onload=m.onreadystatechange=function(D,L){if(L||!m.readyState||/loaded|complete/.test(m.readyState)){m.onload=m.onreadystatechange=null;q&&m.parentNode&&q.removeChild(m);m=a;L||v(200,"success")}};q.insertBefore(m,q.firstChild)},abort:function(){m&&m.onload(0,1)}}}});var ic=b.ActiveXObject?function(){for(var j in Fb)Fb[j](0,1)}:false,lc=0,Fb;o.ajaxSettings.xhr= b.ActiveXObject?function(){return!this.isLocal&&W()||Z()}:W;(function(j){o.extend(o.support,{ajax:!!j,cors:!!j&&"withCredentials"in j})})(o.ajaxSettings.xhr());o.support.ajax&&o.ajaxTransport(function(j){if(!j.crossDomain||o.support.cors){var m;return{send:function(q,s){var v=j.xhr(),D,L;j.username?v.open(j.type,j.url,j.async,j.username,j.password):v.open(j.type,j.url,j.async);if(j.xhrFields)for(L in j.xhrFields)v[L]=j.xhrFields[L];j.mimeType&&v.overrideMimeType&&v.overrideMimeType(j.mimeType);if(!j.crossDomain&& !q["X-Requested-With"])q["X-Requested-With"]="XMLHttpRequest";try{for(L in q)v.setRequestHeader(L,q[L])}catch(O){}v.send(j.hasContent&&j.data||null);m=function(P,X){var ia,ba,la,ha,sa;try{if(m&&(X||v.readyState===4)){m=a;if(D){v.onreadystatechange=o.noop;ic&&delete Fb[D]}if(X)v.readyState!==4&&v.abort();else{ia=v.status;la=v.getAllResponseHeaders();ha={};if((sa=v.responseXML)&&sa.documentElement)ha.xml=sa;ha.text=v.responseText;try{ba=v.statusText}catch(Ka){ba=""}if(!ia&&j.isLocal&&!j.crossDomain)ia= ha.text?200:404;else if(ia===1223)ia=204}}}catch(Na){X||s(-1,Na)}ha&&s(ia,ba,ha,la)};if(!j.async||v.readyState===4)m();else{D=++lc;if(ic){if(!Fb){Fb={};o(b).unload(ic)}Fb[D]=m}v.onreadystatechange=m}},abort:function(){m&&m(0,1)}}}});var fc={},kb,ub,mc=/^(?:toggle|show|hide)$/,nc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ec,jc=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Tb;o.fn.extend({show:function(j,m, q){if(j||j===0)return this.animate(ua("show",3),j,m,q);else{q=0;for(var s=this.length;q=D.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();D.animatedProperties[this.prop]=true;for(m in D.animatedProperties)if(D.animatedProperties[m]!==true)s=false;if(s){D.overflow!=null&&!o.support.shrinkWrapBlocks&&o.each(["","X","Y"], function(L,O){v.style["overflow"+O]=D.overflow[L]});D.hide&&o(v).hide();if(D.hide||D.show)for(m in D.animatedProperties){o.style(v,m,D.orig[m]);o.removeData(v,"fxshow"+m,true);o.removeData(v,"toggle"+m,true)}if(j=D.complete){D.complete=false;j.call(v)}}return false}else{if(D.duration==Infinity)this.now=q;else{j=q-this.startTime;this.state=j/D.duration;this.pos=o.easing[D.animatedProperties[this.prop]](this.state,j,0,1,D.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}}; o.extend(o.fx,{tick:function(){for(var j,m=o.timers,q=0;q-1){X=v.position();s=X.top;O=X.left}else{s=parseFloat(L)||0;O=parseFloat(O)||0}if(o.isFunction(m))m=m.call(j,q,D);if(m.top!=null)P.top= m.top-D.top+s;if(m.left!=null)P.left=m.left-D.left+O;"using"in m?m.using.call(j,P):v.css(P)}};o.fn.extend({position:function(){if(!this[0])return null;var j=this[0],m=this.offsetParent(),q=this.offset(),s=kc.test(m[0].nodeName)?{top:0,left:0}:m.offset();q.top-=parseFloat(o.css(j,"marginTop"))||0;q.left-=parseFloat(o.css(j,"marginLeft"))||0;s.top+=parseFloat(o.css(m[0],"borderTopWidth"))||0;s.left+=parseFloat(o.css(m[0],"borderLeftWidth"))||0;return{top:q.top-s.top,left:q.left-s.left}},offsetParent:function(){return this.map(function(){for(var j= this.offsetParent||ea.body;j&&!kc.test(j.nodeName)&&o.css(j,"position")==="static";)j=j.offsetParent;return j})}});o.each(["Left","Top"],function(j,m){var q="scroll"+m;o.fn[q]=function(s){var v,D;if(s===a){v=this[0];if(!v)return null;return(D=Ma(v))?"pageXOffset"in D?D[j?"pageYOffset":"pageXOffset"]:o.support.boxModel&&D.document.documentElement[q]||D.document.body[q]:v[q]}return this.each(function(){if(D=Ma(this))D.scrollTo(!j?s:o(D).scrollLeft(),j?s:o(D).scrollTop());else this[q]=s})}});o.each(["Height", "Width"],function(j,m){var q=m.toLowerCase();o.fn["inner"+m]=function(){var s=this[0];return s?s.style?parseFloat(o.css(s,q,"padding")):this[q]():null};o.fn["outer"+m]=function(s){var v=this[0];return v?v.style?parseFloat(o.css(v,q,s?"margin":"border")):this[q]():null};o.fn[q]=function(s){var v=this[0];if(!v)return s==null?null:this;if(o.isFunction(s))return this.each(function(O){var P=o(this);P[q](s.call(this,O,P[q]()))});if(o.isWindow(v)){var D=v.document.documentElement["client"+m],L=v.document.body; return v.document.compatMode==="CSS1Compat"&&D||L&&L["client"+m]||D}else if(v.nodeType===9)return Math.max(v.documentElement["client"+m],v.body["scroll"+m],v.documentElement["scroll"+m],v.body["offset"+m],v.documentElement["offset"+m]);else if(s===a){v=o.css(v,q);D=parseFloat(v);return o.isNumeric(D)?D:v}else return this.css(q,typeof s==="string"?s:s+"px")}});b.jQuery=b.$=o;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return o})})(window);steal.loaded("jquery/jquery.js"); steal("jquery/class","jquery/lang/string","jquery/event/destroyed",function(b){var a=function(R,S,N){var W,Z=R.bind&&R.unbind?R:b(e(R)?[R]:R);if(S.indexOf(">")===0){S=S.substr(1);W=function(ka){ka.target===R&&N.apply(this,arguments)}}Z.bind(S,W||N);return function(){Z.unbind(S,W||N);R=S=N=W=null}},k=b.makeArray,d=b.isArray,e=b.isFunction,h=b.extend,c=b.String,f=b.each,l=Array.prototype.slice,p=function(R,S,N,W){var Z=R.delegate&&R.undelegate?R:b(e(R)?[R]:R);Z.delegate(S,N,W);return function(){Z.undelegate(S, N,W);Z=R=N=W=S=null}},t=function(R,S,N,W){return W?p(R,W,S,N):a(R,S,N)},B=function(R,S){var N=typeof S=="string"?R[S]:S;return function(){R.called=S;return N.apply(R,[this.nodeName?b(this):this].concat(l.call(arguments,0)))}},J=/\./g,I=/_?controllers?/ig,V=function(R){return c.underscore(R.replace("jQuery.","").replace(J,"_").replace(I,""))},y=/[^\w]/,x=/\{([^\}]+)\}/g,A=/^(?:(.*?)\s)?([\w\.\:>]+)$/,G,w=function(R,S){return b.data(R,"controllers",S)};b.Class("jQuery.Controller",{setup:function(){this._super.apply(this, arguments);if(!(!this.shortName||this.fullName=="jQuery.Controller")){this._fullName=V(this.fullName);this._shortName=V(this.shortName);var R=this,S=this.pluginName||this._fullName,N;b.fn[S]||(b.fn[S]=function(W){var Z=k(arguments),ka=typeof W=="string"&&e(R.prototype[W]),qa=Z[0];return this.each(function(){var ua=w(this);if(ua=ua&&ua[S])ka?ua[qa].apply(ua,Z.slice(1)):ua.update.apply(ua,Z);else R.newInstance.apply(R,[this].concat(Z))})});this.actions={};for(N in this.prototype)if(!(N=="constructor"|| !e(this.prototype[N])))if(this._isAction(N))this.actions[N]=this._action(N)}},hookup:function(R){return new this(R)},_isAction:function(R){return y.test(R)?true:b.inArray(R,this.listensTo)>-1||b.event.special[R]||H[R]},_action:function(R,S){x.lastIndex=0;if(!S&&x.test(R))return null;R=S?c.sub(R,[S,window]):R;S=d(R);var N=(S?R[1]:R).match(A);return{processor:H[N[2]]||G,parts:N,delegate:S?R[0]:undefined}},processors:{},listensTo:[],defaults:{}},{setup:function(R,S){var N=this.constructor;R=(typeof R== "string"?b(R):R.jquery?R:[R])[0];var W=N.pluginName||N._fullName;this.element=b(R).addClass(W);(w(R)||w(R,{}))[W]=this;this.options=h(h(true,{},N.defaults),S);this.called="init";this.bind();return[this.element,this.options].concat(k(arguments).slice(2))},bind:function(R,S,N){if(R===undefined){this._bindings=[];R=this.constructor;S=this._bindings;N=R.actions;var W=this.element;for(funcName in N)if(N.hasOwnProperty(funcName)){ready=N[funcName]||R._action(funcName,this.options);S.push(ready.processor(ready.delegate|| W,ready.parts[2],ready.parts[1],funcName,this))}var Z=B(this,"destroy");W.bind("destroyed",Z);S.push(function(ka){b(ka).unbind("destroyed",Z)});return S.length}if(typeof R=="string"){N=S;S=R;R=this.element}return this._binder(R,S,N)},_binder:function(R,S,N,W){if(typeof N=="string")N=B(this,N);this._bindings.push(t(R,S,N,W));return this._bindings.length},_unbind:function(){var R=this.element[0];f(this._bindings,function(S,N){N(R)});this._bindings=[]},delegate:function(R,S,N,W){if(typeof R=="string"){W= N;N=S;S=R;R=this.element}return this._binder(R,N,W,S)},update:function(R){h(this.options,R);this._unbind();this.bind()},destroy:function(){if(this._destroyed)throw this.constructor.shortName+" controller already deleted";var R=this.constructor.pluginName||this.constructor._fullName;this._destroyed=true;this.element.removeClass(R);this._unbind();delete this._actions;delete this.element.data("controllers")[R];b(this).triggerHandler("destroyed");this.element=null},find:function(R){return this.element.find(R)}, _set_called:true});var H=b.Controller.processors;G=function(R,S,N,W,Z){return t(R,S,B(Z,W),N)};f("change click contextmenu dblclick keydown keyup keypress mousedown mousemove mouseout mouseover mouseup reset resize scroll select submit focusin focusout mouseenter mouseleave".split(" "),function(R,S){H[S]=G});var M,U=function(R,S){for(M=0;M([^\n]*)/,x=function(N){return N.replace(p,"\\\\").replace(f,"\\n").replace(t,'\\"').replace(J,"\\t")},A=function(N){return N.replace(/&/g,"&").replace(//g,">").replace(t,""").replace(B,"'")},G=b.View,w=function(N){var W=N.match(I); N=N.match(V);return(W?W.length:0)-(N?N.length:0)},H=function(N){if(this.constructor!=H){var W=new H(N);return function(Z,ka){return W.render(Z,ka)}}if(typeof N=="function")this.template={fn:N};else{d(this,H.options,N);this.template=S(this.text,this.type,this.name)}};window.jQuery&&(jQuery.EJS=H);H.prototype.render=function(N,W){N=N||{};this._extra_helpers=W;W=new H.Helpers(N,W||{});return this.template.fn.call(N,N,W)};d(H,{text:function(N){if(typeof N=="string")return N;if(N===null||N===undefined)return""; var W=N.hookup&&function(Z,ka){N.hookup.call(N,Z,ka)}||typeof N=="function"&&N||e(N)&&function(Z,ka){for(var qa=0;qa"),N||"",function(Da,Aa){if(Ja===null)switch(Da){case "\n":qa+="\n";ua(qa);ka.cr();Ma();break;case Aa.left:case Aa.eLeft:case Aa.eeLeft:case Aa.cmnt:Ja=Da;qa.length>0&&ua(qa);Ma();break;case Aa.dLeft:qa+=Aa.left;break;default:qa+=Da;break}else switch(Da){case Aa.right:switch(Ja){case Aa.left:Da=w(qa);Aa=ea.length&&Da==-1?ea.pop():";";Aa==="));"&&ka.push("return ___v1ew.join('')");ka.push(qa,Aa);Da===1&&ea.push(";");break;case Aa.eLeft:(Da= w(qa))&&ea.push("));");if(y.test(qa)){Aa=qa.match(y);qa="function(__){var "+Aa[1]+"=$(__);"+Aa[2]+"}"}ka.push("___v1ew.push(","jQuery.EJS.clean(",qa,Da?"var ___v1ew = [];":"));");break;case Aa.eeLeft:(Da=w(qa))&&ea.push("));");ka.push("___v1ew.push(","jQuery.EJS.text(",qa,Da?"var ___v1ew = [];":"));");break}Ja=null;Ma();break;case Aa.dRight:qa+=Aa.right;break;default:qa+=Da;break}});qa.length>0&&ka.push("___v1ew.push(",'"',x(qa)+'");');N={out:"try { with(_VIEW) { with (_CONTEXT) {"+ka.close()+" return ___v1ew.join('')}}}catch(e){e.lineNumber=null;throw e;}"}; a.call(N,"this.fn = (function(_CONTEXT,_VIEW){"+N.out+'});\r\n//@ sourceURL="'+Z+'.js"');return N};H.Buffer=function(N,W){this.line=[];this.script=[];this.post=W;this.push.apply(this,N)};H.Buffer.prototype={push:function(){this.line.push.apply(this.line,arguments)},cr:function(){this.script.push(this.line.join(""),"\n");this.line=[]},close:function(){if(this.line.length>0){this.script.push(this.line.join(""));this.line=[]}this.post.length&&this.push.apply(this,this.post);this.script.push(";");return this.script.join("")}}; H.Helpers=function(N,W){this._data=N;this._extras=W;d(this,W)};H.Helpers.prototype={plugin:function(){var N=b.makeArray(arguments),W=N.shift();return function(Z){Z=b(Z);Z[W].apply(Z,N)}},view:function(N,W,Z){Z=Z||this._extras;W=W||this._data;return G(N,W,Z)}};G.register({suffix:"ejs",script:function(N,W){return"jQuery.EJS(function(_CONTEXT,_VIEW) { "+(new H({text:W,name:N})).template.out+" })"},renderer:function(N,W){return H({text:W,name:N})}})});steal.loaded("jquery/view/ejs/ejs.js"); steal("jquery/controller","jquery/view").then(function(){var b=steal.URI||steal.File;jQuery.Controller.getFolder=function(){return jQuery.String.underscore(this.fullName.replace(/\./g,"/")).replace("/Controllers","")};jQuery.Controller._calculatePosition=function(k,d,e){var h=k.fullName.split("."),c=h.slice(0);c.splice(0,2);c.join("/");h=(k=h.length>2&&h[1]=="Controllers")?jQuery.String.underscore(h[0]):jQuery.String.underscore(h.join("/"));c=jQuery.String.underscore(c.join("/")).toLowerCase();var f= typeof d=="string"&&/\.[\w\d]+$/.test(d)?"":jQuery.View.ext;if(typeof d=="string"){if(d.substr(0,2)!="//")d="//"+b(h).join("views/"+(d.indexOf("/")!==-1?d:(k?c+"/":"")+d))+f}else d||(d="//"+b(h).join("views/"+(k?c+"/":"")+e.replace(/\.|#/g,"").replace(/ /g,"_"))+f);return d};var a=function(k){var d={};if(k)if(jQuery.isArray(k))for(var e=0;e"&&G.length>=3}else return false};y=function(G){return typeof G[3]==="function"?3:typeof G[2]==="function"&&2};x=function(G,w){var H,M=0,U,R;G=G.filter(function(){return this.nodeType!=3});G=G.add("[data-view-id]",G);for(H=G.length;MWelcome to Compass\n");a.push("\n");a.push('
\n');a.push("

This wizard will help you deploy a complete set of OpenStack services and software onto\n");a.push(" any set of servers you choose. After answering a few simple questions, Compass\n");a.push(" will deploy software and configure your servers to provide you with a fully working OpenStack\n"); a.push(" system.

\n");a.push(" \n");a.push("

When you're ready to begin, click the Get Started button below.

\n");a.push(" \n");a.push('
\n');a.push("
\n");a.push(' Get Started\n');a.push("
\n");a.push("
\n");a.push("
\n");a.push("\n");a.push('
\n');a.push(' \n'); a.push("
\n");return a.join("")}}catch(d){d.lineNumber=null;throw d;}}))});steal.loaded("ods/ui/welcome/views/init.ejs"); steal("jquery/controller","jquery/view/ejs","jquery/controller/view").then("./views/init.ejs","./views/before_begin.ejs").then(function(b){b.Controller("Ods.Ui.features",{},{init:function(){this.element.html(this.view("init"))},"a.btn_continue click":function(a,k){k.preventDefault();if(a.data("step")==="before_begin")this.options.nav.gotoStep("2");else{k=a=0;if(b("#lm").is(":checked"))a=1;if(b("#ha").is(":checked"))k=1;this.options.odsState.feature={live_migration:a,high_availability:k};this.element.html(this.view("before_begin"))}}, show:function(){this.element.show()},hide:function(){this.element.hide()}})});steal.loaded("ods/ui/features/features.js"); steal("jquery/controller","jquery/view/ejs","jquery/controller/view").then("./servers.css","./views/init.ejs","lib/jquery.dataTables.js","./views/switch_row.ejs","ods/models/servers.js","ods/models/cluster.js").then(function(b){b.Controller("Ods.Ui.servers",{},{init:function(){this.element.html(this.view("init"));this.switchList=[];this.queryCount=0;this.initServerTable();this.checked_num=0},initServerTable:function(){this.dataTable=b("#tb_server_select").dataTable({sScrollY:"200px",bPaginate:false, bScrollCollapse:true,aoColumns:[{mData:"id",mRender:function(a){return''}},{mData:"mac"},{mData:"switch_ip"},{mData:"vlan"},{mData:"port"}],aoColumnDefs:[{bSortable:false,aTargets:[0,1,3]}],aaSorting:[[2,"asc"],[4,"asc"]]});b(".dataTables_info").remove();b(".dataTables_filter input").addClass("serverFilter");b(".dataTables_filter input").addClass("rounded")},"#useSNMP click":function(){if(b("#useSNMP:checked").val()){b("#snmpTitle").html("SNMP Version"); b("#communityTitle").html("Community");b(".snmp").show();b(".community").show();b(".username").hide();b(".password").hide()}else{b("#snmpTitle").html("Username");b("#communityTitle").html("Password");b(".snmp").hide();b(".community").hide();b(".username").show();b(".password").show()}},"a.btn_continue click":function(a,k){k.preventDefault();b("#continuing").css("opacity",1);this.checked_num==0?alert("Please select at least one server"):(new Ods.Cluster({name:""})).save(this.proxy("onClusterCreated"))}, onClusterCreated:function(a){a=a._data.id;for(var k=[],d=0;d10){b(".switchesErr").show();b("#finding-servers").css("opacity",0)}else{this.pendingCount=this.switchList.length;var a=this.switchList;this.switchList=[];for(var k=this.pendingCount,d=0;dPlease enter a username.");e=true}else if(d.length<4){a.addClass("error");k.html("Username should have at least 4 characters."); e=true}if(e==false){a.removeClass("error");k.html("")}},"#server_uname keyup":function(){this.usernameCheck(b("#server_uname"),b("#server_uname_err"))},"#service_uname keyup":function(){this.usernameCheck(b("#service_uname"),b("#service_uname_err"))},"#console_uname keyup":function(){this.usernameCheck(b("#console_uname"),b("#console_uname_err"))},passwordCheck:function(a,k,d){var e=a.val(),h=k.val(),c=false;if(e==""){a.addClass("error");d.html("Please enter a password."); c=true}else if(e.length<4){a.addClass("error");d.html("Password should have at least 4 characters.");c=true}else if(h==""){k.addClass("error");a.removeClass("error");d.html("Please re-enter your password.");c=true}else if(e!=h){k.addClass("error");a.removeClass("error");d.html("Passwords do not match.");c=true}if(c==false){a.removeClass("error");k.removeClass("error");d.html("")}}, "#server_pwd keyup":function(){this.usernameCheck(b("#server_uname"),b("#server_uname_err"));this.passwordCheck(b("#server_pwd"),b("#server_confirm"),b("#server_pwd_err"))},"#server_confirm keyup":function(){this.usernameCheck(b("#server_uname"),b("#server_uname_err"));this.passwordCheck(b("#server_pwd"),b("#server_confirm"),b("#server_pwd_err"))},"#service_pwd keyup":function(){this.usernameCheck(b("#service_uname"),b("#service_uname_err"));this.passwordCheck(b("#service_pwd"),b("#service_confirm"), b("#service_pwd_err"))},"#service_confirm keyup":function(){this.usernameCheck(b("#service_uname"),b("#service_uname_err"));this.passwordCheck(b("#service_pwd"),b("#service_confirm"),b("#service_pwd_err"))},"#console_pwd keyup":function(){this.usernameCheck(b("#console_uname"),b("#console_uname_err"));this.passwordCheck(b("#console_pwd"),b("#console_confirm"),b("#console_pwd_err"))},"#console_confirm keyup":function(){this.usernameCheck(b("#console_uname"),b("#console_uname_err"));this.passwordCheck(b("#console_pwd"), b("#console_confirm"),b("#console_pwd_err"))},show:function(){this.element.show()},hide:function(){this.element.hide()}})});steal.loaded("ods/ui/security/security.js"); steal("jquery/controller","jquery/view/ejs","jquery/controller/view").then("./networking.css","./views/init.ejs","lib/jquery-ui-1.10.3.custom.css","lib/jquery-ui-1.10.3.custom.js").then(function(b){b.Controller("Ods.Ui.networking",{},{init:function(){this.element.html(this.view("init"));this.initAccordion();this.nicErr=0},initAccordion:function(){this.accordion=b("#accordion").accordion({collapsible:true,heightStyle:"content"});b("#tabs").tabs().addClass("ui-tabs-vertical ui-helper-clearfix");b("#tabs li").removeClass("ui-corner-top").addClass("ui-corner-left")}, "a.btn_continue click":function(a,k){k.preventDefault();b("#continuing").css("opacity",1);a=b("#mgt_ip_start").val();k=b("#mgt_ip_end").val();var d=b("#mgt_netmask").val(),e=b("#mgt_gateway").val(),h=b("#mgt_vlan").val(),c=b("#mgt_nic").val(),f=b("#vnw_ip_start").val(),l=b("#vnw_ip_end").val(),p=b("#vnw_netmask").val(),t=b("#vnw_gateway").val(),B=b("#vnw_vlan").val(),J=b("#vnw_nic").val(),I=b("#float_ip_start").val(),V=b("#float_ip_end").val(),y=b("#float_netmask").val(),x=b("#float_gateway").val(), A=b("#float_vlan").val(),G=b("#float_nic").val(),w=b("#storage_ip_start").val(),H=b("#storage_ip_end").val(),M=b("#storage_netmask").val(),U=b("#storage_gateway").val(),R=b("#storage_vlan").val(),S=b("#storage_nic").val();if(!b(".ipaddress").hasClass("error")&&this.nicErr==0){this.verifyIpRange(a,k,this.options.odsState.servers.length);if(this.ipRangeValid){var N=this.options.odsState.servers.length;this.serverData=[];for(var W=0;WThis eth is used by another network.")}else b("#mgt_nic_err").html(""); if(k[1]==1){this.nicErr=1;b("#vnw_nic_err").html("This eth is used by another network.")}else b("#vnw_nic_err").html("");if(k[2]==1){this.nicErr=1;b("#float_nic_err").html("This eth is used by another network.")}else b("#float_nic_err").html("");if(k[3]==1){this.nicErr=1;b("#storage_nic_err").html("This eth is used by another network.")}else b("#storage_nic_err").html("")}, "#mgt_ip_end focus":function(a,k){k.preventDefault();this.autofillIpRange(b("#mgt_ip_start"),b("#mgt_ip_end"))},"#vnw_ip_end focus":function(a,k){k.preventDefault();this.autofillIpRange(b("#vnw_ip_start"),b("#vnw_ip_end"))},"#float_ip_end focus":function(a,k){k.preventDefault();this.autofillIpRange(b("#float_ip_start"),b("#float_ip_end"))},"#storage_ip_end focus":function(a,k){k.preventDefault();this.autofillIpRange(b("#storage_ip_start"),b("#storage_ip_end"))},autofillIpRange:function(a,k){var d= a.val().lastIndexOf(".");a=a.val().substring(0,d+1)+"255";k.val(a);k[0].setSelectionRange(d+1,a.length)},verifyIpRange:function(a,k,d){this.ipRangeValid=false;var e=a.lastIndexOf(".")+1;this.startPrefix=a.substring(0,e);this.endPrefix=k.substring(0,e);this.startLastDigit=a.substring(e);this.endLastDigit=k.substring(e);this.ipRangeValid=this.startPrefix!=this.endPrefix?false:parseInt(this.endLastDigit)-parseInt(this.startLastDigit)Switch IP: Use the IP address and port for the switch to which the host is attached
Switch alias: Use the switch alias for the switch and port to which the host is attached
Server: Auto-increment integer value based on the last generated value
"}}); b(".integer").numeric(false,function(){this.value="";this.focus()});this.filloutTabs()},fillHostnameBySwitchIp:function(){var a=this.options.odsState.servers_config;this.server_count=0;for(var k in a)for(var d=a[k],e=0;e'+k+"
");this.tabSelected(b(".switch-navs .tab_nav:first-child"))},tabSelected:function(a){b("#tab1 table tbody tr").remove();b(".tab_nav_active").removeClass("tab_nav_active");a.addClass("tab_nav_active");a=this.options.odsState.servers_config[a.data("switchip")];for(var k=0;k100)a.percentage=100;b('rect[name="'+a.hostname+'"]').attr("width",imgWidth*a.percentage/100);b('text[name="'+a.hostname+'"]').text(a.message)}},updateListBar:function(a){var k= b('div[data-hostname="'+a.hostname+'"]'),d=k.children(".progress-label"),e=k.find(".ui-progressbar-value");if(k.is(":visible")){e.css({width:a.percentage/100*k.width()});d.text(a.message);e.css({opacity:"0.8"});if(a.severity=="WARNING")e.css({background:"#FAA732"});else a.severity=="ERROR"?e.css({background:"#BD362F"}):e.css({background:"#49AFCD"});if(a.percentage==100){d.text("Completed!");k.progressbar("value",100);e.css({background:"#5BB75B"})}}},updateTotalBar:function(a){this.totalProgress+= parseInt(a.percentage);if(this.progressbarPendingCount==0){this.totalProgress/=this.serverCount;if(this.totalProgress>100)this.totalProgress=100;this.totalProgressbarValue.css({background:"#0000ff",opacity:0.5});this.totalProgressLabel.text(this.totalProgress+"%");this.totalProgressbarValue.css({width:this.totalProgress/100*this.totalProgressbar.width()});if(this.totalProgress<100){this.totalProgress=0;setTimeout(this.proxy("getProgressData"),3E3)}else{this.totalProgressbar.progressbar("value",100); Ods.DashboardLink.findOne(this.options.odsState.cluster_id,this.proxy("onDashboardLinkGotten"))}}},onDashboardLinkGotten:function(a){if(a.status=="OK"){b(".dashboard-link").attr("href",a._data["os-single-controller"]);b(".dashboard-link").attr("target","_blank");b(".dashboard-link").removeClass("disabled")}},updateProgressBar:function(a){a=a._data;this.progressbarPendingCount--;for(var k in this.serverTreeJson.children){var d=this.serverTreeJson.children[k]._children;if(d==null)d=this.serverTreeJson.children[k].children; for(var e=0;e\n");a.push('
  • Welcome
  • \n');a.push('
  • 1. Features
  • \n');a.push('
  • 2. Servers
  • \n');a.push('
  • 3. Security
  • \n');a.push('
  • 4. Networking
  • \n'); a.push('
  • 5. Host Configuration
  • \n');a.push('
  • 6. Deploy
  • \n');a.push(" ");return a.join("")}}catch(d){d.lineNumber=null;throw d;}}))});steal.loaded("ods/ui/nav/views/init.ejs"); steal("jquery/view/ejs").then(function(b){b.View.preload("ods_ui_features_views_init_ejs",jQuery.EJS(function(a,k){try{with(k)with(a){a=[];a.push("

    Select the Compass features you want to deploy and configure

    \n");a.push("\n");a.push('
    \n');a.push('
    \n');a.push('

      OpenStack Virtualization

    \n');a.push("\n");a.push('

    Create and run KVM virtual machines. This feature is the core of OpenStack, and is a required part of the Openstack deployment.

    \n'); a.push(" \n");a.push('

    Live Migration of Virtual Machines

    \n');a.push('

    Live Migration allows virtual machines to be moved from one compute server to another without powering them down.

    \n');a.push(" \n");a.push('

    High Availability (HA)

    \n');a.push('

    High Availability automatically restarts a virtual machine on a different compute server in the event of its being accidentally powered off due to a compute server failure.

    \n'); a.push('
    \n');a.push(' Continue\n');a.push("
    \n");a.push("
    \n");a.push("
    \n");a.push("\n");a.push('
    \n');a.push(' \n');a.push("
    ");return a.join("")}}catch(d){d.lineNumber=null;throw d;}}))});steal.loaded("ods/ui/features/views/init.ejs"); steal("jquery/view/ejs").then(function(b){b.View.preload("ods_ui_features_views_before_begin_ejs",jQuery.EJS(function(a,k){try{with(k)with(a){a=[];a.push("

    Welcome to Compass

    \n");a.push('
    \n');a.push("

    Before you begin the deployment of the OpenStack software, you need to make sure that the servers and networking are deployed properly. Compass requires the following configuration:

    \n");a.push("
      \n");a.push('
    • All servers must have at least two 1 Gbps network ports
    • \n'); a.push('
    • One server must have three 1 Gbps network ports
    • \n');a.push("
    • Server NICs must be connected to the same subnet
    • \n");a.push("
    \n");a.push("

    When you have configured the servers as described above, and shown in the picture to the right, you can begin the OpenStack Deployment by clicking the Continue button. At the next screen you will be asked to identify the switch to which the servers are connected to begin the process.

    \n"); a.push("

    When you're ready to begin, click the Continue button below.

    \n");a.push('

    Print these instructions

    \n');a.push('
    \n');a.push(' Continue\n');a.push("
    \n");a.push("
    \n");a.push('
    \n');a.push(' \n'); a.push("
    \n");return a.join("")}}catch(d){d.lineNumber=null;throw d;}}))});steal.loaded("ods/ui/features/views/before_begin.ejs"); steal("jquery/view/ejs").then(function(b){b.View.preload("ods_ui_servers_views_init_ejs",jQuery.EJS(function(a,k){try{with(k)with(a){a=[];a.push("

    Select the servers you want to use for OpenStack

    \n");a.push("\n");a.push('
    \n');a.push('
    \n');a.push("

    To begin, search for available servers

    \n");a.push("\n");a.push('
    \n');a.push(" Enter the IP address or host name for the network switches on which the servers are connected. Enter as many switches as needed and then click Find Servers.\n"); a.push('
    \n');a.push(" \n");a.push(" \n");a.push(" \n");a.push(' \n');a.push(' \n');a.push(' \n');a.push(" \n");a.push(" \n");a.push(" \n");a.push(' \n');a.push(' \n'); a.push(' \n");a.push(" \n");a.push(' \n');a.push(" \n");a.push(" \n");a.push("
    Switch IPSNMP VersionCommunity Use SNMP
    \n');a.push(' \n");a.push(' \n');a.push(" \n");a.push(' \n'); a.push(' \n');a.push("
    \n");a.push('
    \n');a.push("
    \n");a.push(' Find Servers \n'); a.push(' \n');a.push("
    \n");a.push(' \n");a.push("\n");a.push("
    \n");a.push(" \n");a.push(" \n");a.push("\n");a.push("\n");a.push('