!function(v,o){v.fn.extend({_aria:function(e,t){return this.attr("aria-"+e,t)},_removeAria:function(e){return this.removeAttr("aria-"+e)},_enableAria:function(e){return null==e||e?this.removeClass("disabled")._aria("disabled","false"):this.addClass("disabled")._aria("disabled","true")},_showAria:function(e){return null==e||e?this.show()._aria("hidden","false"):this.hide()._aria("hidden","true")},_selectAria:function(e){return null==e||e?this.addClass("current")._aria("selected","true"):this.removeClass("current")._aria("selected","false")},_id:function(e){return e?this.attr("id",e):this.attr("id")}}),String.prototype.format||(String.prototype.format=function(){for(var e=1===arguments.length&&v.isArray(arguments[0])?arguments[0]:arguments,t=this,n=0;ns.length?M(l,"contents"):n.length=e.length)&&M(C),e[t]}function y(e){var t=e.data("uid");return null==t&&(null==(t=e._id())&&(t="steps-uid-".concat(c),e._id(t)),c++,e.data("uid",t)),t}function I(e,t){var n;if(N("enumType",e),N("keyOrValue",t),"string"==typeof t)return(n=e[t])===o&&M("The enum key '{0}' does not exist.",t),n;if("number"==typeof t){for(var a in e)if(e[a]===t)return t;M("Invalid enum value '{0}'.",t)}else M("Invalid key or value type.")}function _(e,t,n){return a(e,t,n,(e=1,n.currentIndex+e))}function A(e,t,n){return a(e,t,n,(e=1,n.currentIndex-e))}function P(e,t,n,a){if((a<0||a>=n.stepCount)&&M(C),!(t.forceMoveForward&&a .body"),d=I(B,t.transitionEffect),c=t.transitionEffectSpeed,u=n.eq(s),f=n.eq(o);switch(d){case B.fade:case B.slide:var p=d===B.fade?"fadeOut":"slideUp",h=d===B.fade?"fadeIn":"slideDown";i.transitionElement=u,f[p](c,function(){var e=b(v(this)._showAria(!1).parent().parent());e.transitionElement&&(e.transitionElement[h](c,function(){v(this)._showAria()}).promise().done(l),e.transitionElement=null)});break;case B.slideLeft:var p=f.outerWidth(!0),m=o{2}',s=I(O,(n=d).stepsOrientation)===O.vertical?" vertical":"",i=v(r.format(n.contentContainerTag,"content "+n.clearFixCssClass,t.html())),r=v(r.format(n.stepsContainerTag,"steps "+n.clearFixCssClass,'
    ')),l=i.children(n.headerTag),o=i.children(n.bodyTag),t.attr("role","application").empty().append(r).append(i).addClass(n.cssClass+" "+n.clearFixCssClass+s),o.each(function(e){S(t,a,v(this),e)}),l.each(function(e){D(t,n,a,v(this),e)}),T(t,n,a),t),i=n,s=a,o=(i.enablePagination&&(o='
  • {1}
  • ',l="",i.forceMoveForward||(l+=o.format("previous",i.labels.previous)),l+=o.format("next",i.labels.next),i.enableFinishButton&&(l+=o.format("finish",i.labels.finish)),i.enableCancelButton&&(l+=o.format("cancel",i.labels.cancel)),r.append('<{0} class="actions {1}">
      {3}
    '.format(i.actionContainerTag,i.clearFixCssClass,i.labels.pagination,l)),F(r,i,s),w(r,i,s)),e),l=d,r=h(o);o.bind("canceled"+r,l.onCanceled),o.bind("contentLoaded"+r,l.onContentLoaded),o.bind("finishing"+r,l.onFinishing),o.bind("finished"+r,l.onFinished),o.bind("init"+r,l.onInit),o.bind("stepChanging"+r,l.onStepChanging),o.bind("stepChanged"+r,l.onStepChanged),l.enableKeyNavigation&&o.bind("keyup"+r,j),o.find(".actions a").bind("click"+r,U),d.autoFocus&&0===c&&m(e,d.startIndex).focus(),e.triggerHandler("init",[d.startIndex])})}function n(e,t,n,a,r){(a<0||a>n.stepCount)&&M(C),r=v.extend({},Q,r),i=a,s=r,g(e).splice(i,0,s),n.currentIndex!==n.stepCount&&n.currentIndex>=a&&(n.currentIndex++,E(e,t,n)),n.stepCount++;var i=e.find(".content"),s=v("<{0}>{1}".format(t.headerTag,r.title)),o=v("<{0}>".format(t.bodyTag));return null!=r.contentMode&&r.contentMode!==L.html||o.html(r.content),0===a?i.prepend(o).prepend(s):d(e,a-1).after(o).after(s),S(e,n,o,a),D(e,t,n,s,a),k(e,t,n,a),a===n.currentIndex&&T(e,t,n),F(e,t,n),e}function j(e){var t=v(this),n=s(t),a=b(t);if(n.suppressPaginationOnFocus&&t.find(":focus").is(":input"))return e.preventDefault(),!1;var r=37,i=39;e.keyCode===r?(e.preventDefault(),A(t,n,a)):e.keyCode===i&&(e.preventDefault(),_(t,n,a))}function w(t,e,n){if(0 .body").eq(n.currentIndex).empty().html('