text: /*! 
   * jQuery Steps v1.0.1 - 08/23/2013
   * Copyright (c) 2013 Rafael Staib (http://www.jquery-steps.com)
   * Licensed under MIT http://www.opensource.org/licenses/MIT
   */
  !function(a,b){function c(a,b){m(a).push(b)}function d(d,e,f){var g=d.children(e.headerTag),h=d.children(e.bodyTag);g.length>h.length?P(X,"contents"):g.length<h.length&&P(X,"titles");var i=e.startIndex;if(f.stepCount=g.length,e.saveState&&a.cookie){var j=a.cookie(S+o(d)),k=parseInt(j,0);!isNaN(k)&&k<f.stepCount&&(i=k)}f.currentIndex=i,g.each(function(e){var f=a(this),g=h.eq(e),i=g.data("mode"),j=null==i?Y.html:p(Y,/^\s*$/.test(i)||isNaN(i)?i:parseInt(i,0)),k=j===Y.html||g.data("url")===b?"":g.data("url"),l=j!==Y.html&&"1"===g.data("loaded"),m=a.extend({},_,{title:f.html(),content:j===Y.html?g.html():"",contentUrl:k,contentMode:j,contentLoaded:l});c(d,m)})}function e(a,b){return a.currentIndex-b}function f(a,b){var c=a.find(".steps li").eq(b.currentIndex);a.triggerHandler("finishing",[b.currentIndex])?(c.addClass("done").removeClass("error"),a.triggerHandler("finished",[b.currentIndex])):c.addClass("error")}function g(a){for(var b=1;b<arguments.length;b++){var c=b-1,d=new RegExp("\\{"+c+"\\}","gm");a=a.replace(d,arguments[b])}return a}function h(a,b){var c=o(a);return a.find("#"+c+T+b)}function i(a,b){var c=o(a);return a.find("#"+c+U+b)}function j(a,b){var c=o(a);return a.find("#"+c+V+b)}function k(a){return a.data("options")}function l(a){return a.data("state")}function m(a){return a.data("steps")}function n(a,b){var c=m(a);return(0>b||b>=c.length)&&P(W),c[b]}function o(a){var b=a.data("uid");return null==b&&(b="steps-uid-".concat(++R),a.data("uid",b)),b}function p(a,c){if(Q("enumType",a),Q("keyOrValue",c),"string"==typeof c){var d=a[c];return d===b&&P("The enum key '{0}' does not exist.",c),d}if("number"==typeof c){for(var e in a)if(a[e]===c)return c;P("Invalid enum value '{0}'.",c)}else P("Invalid key or value type.")}function q(a,b,c){return z(a,b,c,t(c,1))}function r(a,b,c){return z(a,b,c,e(c,1))}function s(a,b,c,d){if((0>d||d>=c.stepCount)&&P(W),!(b.forceMoveForward&&d<c.currentIndex)){var e=c.currentIndex;return a.triggerHandler("stepChanging",[c.currentIndex,d])?(c.currentIndex=d,M(a,b,c),C(a,b,c,e),B(a,b,c),y(a,b,c),N(a,b,c,d,e),a.triggerHandler("stepChanged",[d,e])):a.find(".steps li").eq(e).addClass("error"),!0}}function t(a,b){return a.currentIndex+b}function u(b){var c=a.extend(!0,{},ab,b);return this.each(function(){var b=a(this),e={currentIndex:c.startIndex,currentStep:null,stepCount:0,transitionElement:null};b.data("options",c),b.data("state",e),b.data("steps",[]),d(b,c,e),H(b,c,e),E(b,c),c.autoFocus&&0===R&&h(b,c.startIndex).focus()})}function v(b,c,d,e,f){(0>e||e>d.stepCount)&&P(W),f=a.extend({},_,f),w(b,e,f),d.currentIndex>=e&&(d.currentIndex++,M(b,c,d)),d.stepCount++;var h=b.find(".content"),j=a(g("<{0}>{1}</{0}>",c.headerTag,f.title)),k=a(g("<{0}></{0}>",c.bodyTag));return(null==f.contentMode||f.contentMode===Y.html)&&k.html(f.content),0===e?h.prepend(k).prepend(j):i(b,e-1).after(k).after(j),I(b,k,e),L(b,c,d,j,e),D(b,c,d,e),B(b,c,d),b}function w(a,b,c){m(a).splice(b,0,c)}function x(b){var c=a(this),d=k(c),e=l(c);if(d.suppressPaginationOnFocus&&c.find(":focus").is(":input"))return b.preventDefault(),!1;var f={left:37,right:39};b.keyCode===f.left?(b.preventDefault(),r(c,d,e)):b.keyCode===f.right&&(b.preventDefault(),q(c,d,e))}function y(b,c,d){if(d.stepCount>0){var e=n(b,d.currentIndex);if(!c.enableContentCache||!e.contentLoaded)switch(p(Y,e.contentMode)){case Y.iframe:b.find(".content > .body").eq(d.currentIndex).empty().html('<iframe src="'+e.contentUrl+'" frameborder="0" scrolling="no" />').data("loaded","1");break;case Y.async:var f=i(b,d.currentIndex)._aria("busy","true").empty().append(K(c.loadingTemplate,{text:c.labels.loading}));a.ajax({url:e.contentUrl,cache:!1}).done(function(a){f.empty().html(a)._aria("busy","false").data("loaded","1")})}}}function z(a,b,c,d){var e=c.currentIndex;if(d>=0&&d<c.stepCount&&!(b.forceMoveForward&&d<c.currentIndex)){var f=h(a,d),g=f.parent(),i=g.hasClass("disabled");return g._enableAria(),f.click(),e===c.currentIndex&&i?(g._disableAria(),!1):!0}return!1}function A(b){b.preventDefault();var c=a(this),d=c.parent().parent().parent().parent(),e=k(d),g=l(d),h=c.attr("href");switch(h.substring(h.lastIndexOf("#"))){case"#finish":f(d,e,g);break;case"#next":q(d,e,g);break;case"#previous":r(d,e,g)}}function B(a,b,c){if(b.enablePagination){var d=a.find(".actions a[href$='#finish']").parent(),e=a.find(".actions a[href$='#next']").parent();if(!b.forceMoveForward){var f=a.find(".actions a[href$='#previous']").parent();c.currentIndex>0?f._enableAria():f._disableAria()}b.enableFinishButton&&b.showFinishButtonAlways?0===c.stepCount?(d._disableAria(),e._disableAria()):c.stepCount>1&&c.stepCount>c.currentIndex+1?(d._enableAria(),e._enableAria()):(d._enableAria(),e._disableAria()):0===c.stepCount?(d._hideAria(),e._showAria()._disableAria()):c.stepCount>c.currentIndex+1?(d._hideAria(),e._showAria()._enableAria()):b.enableFinishButton?(d._showAria(),e._hideAria()):e._disableAria()}}function C(b,c,d,e){var f=h(b,d.currentIndex),g=a('<span class="current-info audible">'+c.labels.current+" </span>"),i=b.find(".content > .title");if(null!=e){var j=h(b,e);j.parent().addClass("done").removeClass("error")._deselectAria(),i.eq(e).removeClass("current").next(".body").removeClass("current"),g=j.find(".current-info"),f.focus()}f.prepend(g).parent()._selectAria().removeClass("done")._enableAria(),i.eq(d.currentIndex).addClass("current").next(".body").addClass("current")}function D(a,b,c,d){for(var e=o(a),f=d;f<c.stepCount;f++){var g=e+T+f,h=e+U+f,i=e+V+f,j=a.find(".title").eq(f)._setId(i);a.find(".steps a").eq(f)._setId(g)._aria("controls",h).attr("href","#"+i).html(K(b.titleTemplate,{index:f+1,title:j.html()})),a.find(".body").eq(f)._setId(h)._aria("labelledby",i)}}function E(a,b){a.bind("finishing.steps",b.onFinishing),a.bind("finished.steps",b.onFinished),a.bind("stepChanging.steps",b.onStepChanging),a.bind("stepChanged.steps",b.onStepChanged),b.enableKeyNavigation&&a.bind("keyup.steps",x),a.find(".actions a").bind("click.steps",A)}function F(a,b,c,d){return 0>d||d>=c.stepCount||c.currentIndex===d?!1:(G(a,d),c.currentIndex>d&&(c.currentIndex--,M(a,b,c)),c.stepCount--,j(a,d).remove(),i(a,d).remove(),h(a,d).parent().remove(),0===d&&a.find(".steps li").first().addClass("first"),d===c.stepCount&&a.find(".steps li").eq(d).addClass("last"),D(a,b,c,d),B(a,b,c),!0)}function G(a,b){m(a).splice(b,1)}function H(b,c,d){var e='<{0} class="{1}">{2}</{0}>',f=p(Z,c.stepsOrientation),h=f===Z.vertical?" vertical":"",i=a(g(e,c.contentContainerTag,"content "+c.clearFixCssClass,b.html())),j=a(g(e,c.stepsContainerTag,"steps "+c.clearFixCssClass,'<ul role="tablist"></ul>')),k=i.children(c.headerTag),l=i.children(c.bodyTag);b.attr("role","application").empty().append(j).append(i).addClass(c.cssClass+" "+c.clearFixCssClass+h),l.each(function(c){I(b,a(this),c)}),l.eq(d.currentIndex)._showAria(),k.each(function(e){L(b,c,d,a(this),e)}),C(b,c,d),J(b,c,d)}function I(a,b,c){var d=o(a),e=d+U+c,f=d+V+c;b._setId(e).attr("role","tabpanel")._aria("labelledby",f).addClass("body")._hideAria()}function J(a,b,c){if(b.enablePagination){var d='<{0} class="actions {1}"><ul role="menu" aria-label="{2}">{3}</ul></{0}>',e='<li><a href="#{0}" role="menuitem">{1}</a></li>',f="";b.forceMoveForward||(f+=g(e,"previous",b.labels.previous)),f+=g(e,"next",b.labels.next),b.enableFinishButton&&(f+=g(e,"finish",b.labels.finish)),a.append(g(d,b.actionContainerTag,b.clearFixCssClass,b.labels.pagination,f)),B(a,b,c),y(a,b,c)}}function K(a,c){for(var d=a.match(/#([a-z]*)#/gi),e=0;e<d.length;e++){var f=d[e],g=f.substring(1,f.length-1);c[g]===b&&P("The key '{0}' does not exist in the substitute collection!",g),a=a.replace(f,c[g])}return a}function L(b,c,d,e,f){var g=o(b),h=g+T+f,i=g+U+f,j=g+V+f,k=b.find(".steps > ul"),l=K(c.titleTemplate,{index:f+1,title:e.html()}),m=a('<li role="tab"><a id="'+h+'" href="#'+j+'" aria-controls="'+i+'">'+l+"</a></li>");c.enableAllSteps||m._disableAria(),d.currentIndex>f&&m._enableAria().addClass("done"),e._setId(j).attr("tabindex","-1").addClass("title"),0===f?k.prepend(m):k.find("li").eq(f-1).after(m),0===f&&k.find("li").removeClass("first").eq(f).addClass("first"),f===d.stepCount-1&&k.find("li").removeClass("last").eq(f).addClass("last"),m.children("a").bind("click.steps",O)}function M(b,c,d){c.saveState&&a.cookie&&a.cookie(S+o(b),d.currentIndex)}function N(b,c,d,e,f){var g=b.find(".content > .body"),h=p($,c.transitionEffect),i=c.transitionEffectSpeed,j=g.eq(e),k=g.eq(f);switch(h){case $.fade:case $.slide:var m=h===$.fade?"fadeOut":"slideUp",n=h===$.fade?"fadeIn":"slideDown";d.transitionElement=j,k[m](i,function(){var b=a(this)._hideAria().parent().parent(),c=l(b);c.transitionElement&&(c.transitionElement[n](i,function(){a(this)._showAria()}),c.transitionElement=null)}).promise();break;case $.slideLeft:var o=k.outerWidth(!0),q=e>f?-o:o,r=e>f?o:-o;k.animate({left:q},i,function(){a(this)._hideAria()}).promise(),j.css("left",r+"px")._showAria().animate({left:0},i).promise();break;default:k._hideAria(),j._showAria()}}function O(b){b.preventDefault();var c=a(this),d=c.parent().parent().parent().parent(),e=k(d),f=l(d),g=f.currentIndex;if(c.parent().is(":not(.disabled):not(.current)")){var i=c.attr("href"),j=parseInt(i.substring(i.lastIndexOf("-")+1),0);s(d,e,f,j)}return g===f.currentIndex?(h(d,g).focus(),!1):void 0}function P(a){throw arguments.length>1&&(a=g.apply(this,arguments)),new Error(a)}function Q(a,b){null==b&&P("The argument '{0}' is null or undefined.",a)}var R=0,S="jQu3ry_5teps_St@te_",T="-t-",U="-p-",V="-h-",W="Index out of range.",X="One or more corresponding step {0} are missing.";a.fn.steps=function(b){return a.fn.steps[b]?a.fn.steps[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?(a.error("Method "+b+" does not exist on jQuery.steps"),void 0):u.apply(this,arguments)},a.fn.steps.add=function(a){var b=k(this),c=l(this);return v(this,b,c,c.stepCount,a)},a.fn.steps.finish=function(){var a=l(this);f(this,a)},a.fn.steps.getCurrentIndex=function(){return l(this).currentIndex},a.fn.steps.getCurrentStep=function(){return n(this,l(this).currentIndex)},a.fn.steps.getStep=function(a){return n(this,a)},a.fn.steps.insert=function(a,b){var c=k(this),d=l(this);return v(this,c,d,a,b)},a.fn.steps.next=function(){var a=k(this),b=l(this);return q(this,a,b)},a.fn.steps.previous=function(){var a=k(this),b=l(this);return r(this,a,b)},a.fn.steps.remove=function(a){var b=k(this),c=l(this);return F(this,b,c,a)},a.fn.steps.setStep=function(){throw new Error("Not yet implemented!")},a.fn.steps.skip=function(){throw new Error("Not yet implemented!")};var Y=a.fn.steps.contentMode={html:0,iframe:1,async:2},Z=a.fn.steps.stepsOrientation={horizontal:0,vertical:1},$=a.fn.steps.transitionEffect={none:0,fade:1,slide:2,slideLeft:3},_=a.fn.steps.stepModel={title:"",content:"",contentUrl:"",contentMode:Y.html,contentLoaded:!1},ab=a.fn.steps.defaults={headerTag:"h1",bodyTag:"div",contentContainerTag:"div",actionContainerTag:"div",stepsContainerTag:"div",cssClass:"wizard",clearFixCssClass:"clearfix",stepsOrientation:Z.horizontal,titleTemplate:'<span class="number">#index#.</span> #title#',loadingTemplate:'<span class="spinner"></span> #text#',autoFocus:!1,enableAllSteps:!1,enableKeyNavigation:!0,enablePagination:!0,suppressPaginationOnFocus:!0,enableContentCache:!0,enableFinishButton:!0,preloadContent:!1,showFinishButtonAlways:!1,forceMoveForward:!1,saveState:!1,startIndex:0,transitionEffect:$.none,transitionEffectSpeed:200,onStepChanging:function(){return!0},onStepChanged:function(){},onFinishing:function(){return!0},onFinished:function(){},labels:{current:"current step:",pagination:"Pagination",finish:"Finish",next:"Next",previous:"Previous",loading:"Loading ..."}};a.fn.extend({_aria:function(a,b){return this.attr("aria-"+a,b)},_removeAria:function(a){return this.removeAttr("aria-"+a)},_enableAria:function(){return this.removeClass("disabled")._aria("disabled","false")},_disableAria:function(){return this.addClass("disabled")._aria("disabled","true")},_hideAria:function(){return this.hide()._aria("hidden","true")},_showAria:function(){return this.show()._aria("hidden","false")},_selectAria:function(){return this.addClass("current")._aria("selected","true")},_deselectAria:function(){return this.removeClass("current")._aria("selected","false")},_setId:function(a){return this.attr("id",a)}})}(jQuery);