text: (function(){var t,i,n=function(t,i){return function(){return t.apply(i,arguments)}},e=function(t,i){for(var n in i)r.call(i,n)&&(t[n]=i[n]);function e(){this.constructor=t}return e.prototype=i.prototype,t.prototype=new e,t.__super__=i.prototype,t},r={}.hasOwnProperty,s=[].indexOf||function(t){for(var i=0,n=this.length;i<n;i++)if(i in this&&this[i]===t)return i;return-1},o=[].slice;this.DriverFlexslider=function(){function t(i,e,r,s,o){this.container=i,this.config=e,this.onBefore=r,this.onAfter=s,this.onReady=o,this._internOnAfter=n(this._internOnAfter,this),this._internOnBefore=n(this._internOnBefore,this),this._internOnReady=n(this._internOnReady,this),this.index=n(this.index,this),this.goto=n(this.goto,this),this.config=ObjectExtender.extend({},t.config,this.config),this.config.after=this._internOnAfter,this.config.conditionalBefore=this._internOnBefore,this.config.start=this._internOnReady,this.slides=$(this.config.selector,this.container),this.container.flexslider(this.config),this.instance=this.container.data("flexslider")}return t.config={selector:".formslider > .slide",animation:"slide",animationSpeed:200,smoothHeight:!0,useCSS:!0,directionNav:!1,controlNav:!1,slideshow:!1,keyboard:!1,animationLoop:!1},t.prototype.goto=function(t){return this.container.flexslider(t,!0,!0)},t.prototype.index=function(){return this.instance.currentSlide},t.prototype._internOnReady=function(t){return setTimeout((i=this,function(){return $(window).trigger("resize"),i.onReady()}),10);var i},t.prototype._internOnBefore=function(t,i,n){var e;return!1===(e=this.onBefore(t,i,n))?e:this.config.useCSS?this.start=+new Date:void 0},t.prototype._internOnAfter=function(t){if(t.lastSlide!==t.currentSlide)return this.config.useCSS?setTimeout(this.onAfter,this.config.animationSpeed-(+new Date-this.start)):this.onAfter()},t}(),this.AbstractFormsliderPlugin=function(){function t(t,e){this.formslider=t,this.slideById=n(this.slideById,this),this.slideByRole=n(this.slideByRole,this),this.slideByIndex=n(this.slideByIndex,this),this.index=n(this.index,this),this.track=n(this.track,this),this.trigger=n(this.trigger,this),this.isCanceled=n(this.isCanceled,this),this.cancel=n(this.cancel,this),this.off=n(this.off,this),this.on=n(this.on,this),this.configWithDataFrom=n(this.configWithDataFrom,this),this.config=ObjectExtender.extend({},this.constructor.config,e),this.container=this.formslider.container,this.slides=this.formslider.slides,this.events=this.formslider.events,this.logger=new i("jquery.formslider::"+this.constructor.name),this.init()}return t.prototype.init=function(){return null},t.prototype.configWithDataFrom=function(t){var i,n,e,r;n=ObjectExtender.extend({},this.config),i=$(t);for(r in n)n[r],void 0!==(e=i.data(r))&&(n[r]=e);return n},t.prototype.on=function(t,i){return this.events.on(t+"."+this.constructor.name,i)},t.prototype.off=function(t){return this.events.off(t+"."+this.constructor.name)},t.prototype.cancel=function(t){return this.events.cancel(t)},t.prototype.isCanceled=function(t){return this.events.isCanceled(t)},t.prototype.trigger=function(){var t;return(t=this.events).trigger.apply(t,arguments)},t.prototype.track=function(t,i,n){return null==n&&(n=null),this.events.trigger("track",t,i,n)},t.prototype.index=function(){return this.formslider.index()},t.prototype.slideByIndex=function(t){return null==t&&(t=null),null===t&&(t=this.index()),this.slides.get(t)},t.prototype.slideByRole=function(t){return $(".slide-role-"+t,this.container)},t.prototype.slideById=function(t){return $(".slide-id-"+t,this.container)},t}(),this.AnswerClick=function(t){function i(){return this.onAnswerClicked=n(this.onAnswerClicked,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return this.container.on("mouseup",this.config.answerSelector,this.onAnswerClicked)},i.prototype.onAnswerClicked=function(t){var i,n,e,r,s;return t.preventDefault(),e=(i=$(t.currentTarget)).closest(this.config.answersSelector),$(this.config.answerSelector,e).removeClass(this.config.answerSelectedClass),i.addClass(this.config.answerSelectedClass),s=this.slideByIndex(),r=$(this.config.questionSelector,s),n=$("input",i),this.trigger("question-answered",r.prop("id"),n.prop("id"),n.val(),this.index())},i}(AbstractFormsliderPlugin),this.AnswerMemory=function(t){function i(){return this.memorize=n(this.memorize,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return this.on("question-answered",this.memorize),this.memoryByQuestionId={}},i.prototype.memorize=function(t,i,n,e){return this.memoryByQuestionId[i]={id:n,value:e},this.trigger("answer-memory-updated",this.memoryByQuestionId)},i}(AbstractFormsliderPlugin),this.FormSubmission=function(t){function i(){return this.onFail=n(this.onFail,this),this.onDone=n(this.onDone,this),this.onSubmit=n(this.onSubmit,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={submitOnEvents:["validation.valid.contact"],successEventName:"form-submitted",errorEventName:"form-submission-error",loadHiddenFrameOnSuccess:null,formSelector:"form",submitter:{class:"FormSubmitterSubmit"}},i.prototype.init=function(){var t,i,n,e,r;for(this.form=$(this.config.formSelector),n=0,e=(r=this.config.submitOnEvents).length;n<e;n++)i=r[n],this.on(i,this.onSubmit);return t=window[this.config.submitter.class],this.submitter=new t(this,this.config.submitter,this.form)},i.prototype.onSubmit=function(t,i){if(!this.isCanceled(t))return this.submitter.submit(t,i)},i.prototype.onDone=function(){return this.trigger(this.config.successEventName),this.loadHiddenFrameOnSuccess(),this.logger.debug("onDone")},i.prototype.onFail=function(){return this.logger.error("onFail",this.config.errorEventName),this.trigger(this.config.errorEventName)},i.prototype.loadHiddenFrameOnSuccess=function(t){var i;if(null!=(i=this.config)?i.loadHiddenFrameOnSuccess:void 0)return $("<iframe>",{src:this.config.loadHiddenFrameOnSuccess,id:"formslider_conversion_frame",frameborder:0,scrolling:"no"}).css({width:0,height:0}).appendTo("body")},i}(AbstractFormsliderPlugin),this.FormSubmitterAbstract=function(){function t(t,i,e){this.plugin=t,this.config=i,this.form=e,this.supressNaturalFormSubmit=n(this.supressNaturalFormSubmit,this),this.config=ObjectExtender.extend({},this.constructor.config,this.config)}return t.prototype.supressNaturalFormSubmit=function(){return this.form.submit(function(t){return t.preventDefault(),!1})},t}(),this.FormSubmitterAjax=function(t){function i(t,e,r){this.plugin=t,this.config=e,this.form=r,this.submit=n(this.submit,this),i.__super__.constructor.call(this,this.plugin,this.config,this.form),this.supressNaturalFormSubmit()}return e(i,t),i.prototype.submit=function(t,i){return this.form.ajaxSubmit(this.config),this.form.data("jqxhr").done(this.plugin.onDone).fail(this.plugin.onFail)},i}(FormSubmitterAbstract),this.FormSubmitterCollect=function(t){function i(t,e,r){this.plugin=t,this.config=e,this.form=r,this.collectInputs=n(this.collectInputs,this),this.submit=n(this.submit,this),i.__super__.constructor.call(this,this.plugin,this.config,this.form),this.supressNaturalFormSubmit()}return e(i,t),i.config={visitedSlideSelector:".slide-visited"},i.prototype.submit=function(t,i){return $.ajax({cache:!1,url:this.config.endpoint,method:this.config.method,data:this.collectInputs()}).done(this.plugin.onDone).fail(this.plugin.onFail)},i.prototype.collectInputs=function(){var t,i,n,e,r,s,o,a,h;for(h={},r=0,o=(n=$("input.info",t)).length;r<o;r++)e=n[r],h[(i=$(e)).attr("name")]=i.val();for(t=$(this.config.visitedSlideSelector,t),s=0,a=(n=$("input, select, textarea",t)).length;s<a;s++)e=n[s],(i=$(e)).is(":checkbox")||i.is(":radio")?i.is(":checked")&&(h[i.attr("name")]=i.val()):h[i.attr("name")]=i.val();return h},i}(FormSubmitterAbstract),this.FormSubmitterSubmit=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.submit=function(t,i){return this.form.submit()},i}(FormSubmitterAbstract),this.InputFocus=function(t){function i(){return this.onAfter=n(this.onAfter,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:"input:visible",disableOnMobile:!0},i.prototype.init=function(){return this.on("after",this.onAfter)},i.prototype.onAfter=function(t,i,n,e){var r;if(!this.config.disableOnMobile||!FeatureDetector.isMobileDevice()){if((r=$(this.config.selector,i)).length)return r.first().focus();s.call(document,"activeElement")>=0&&document.activeElement.blur()}},i}(AbstractFormsliderPlugin),this.InputForceMaxlength=function(t){function i(){return this.prepareInputs=n(this.prepareInputs,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:"input, textarea",forceMaxLengthJs:"javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"},i.prototype.init=function(){return this.prepareInputs($(this.config.selector))},i.prototype.prepareInputs=function(t){return t.each((i=this,function(t,n){var e;if((e=$(n)).data("force-max-length"))return e.attr("oninput",i.config.forceMaxLengthJs)}));var i},i}(AbstractFormsliderPlugin),this.InputNormalizer=function(t){function i(){return this.mormalizeInputs=n(this.mormalizeInputs,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:"input"},i.prototype.init=function(){return this.mormalizeInputs()},i.prototype.mormalizeInputs=function(){var t;$(this.config.selector,this.container).each((t=this,function(i,n){var e;return e=$(n),t.normalizeRequired(e),t.normalizeAutocomplete(e),t.normalizeInputmode(e),t.normalizeXAttributes(e)}))},i.prototype.normalizeRequired=function(t){if(t.attr("required"))return t.data("required","required"),t.data("aria-required","true")},i.prototype.normalizeAutocomplete=function(t){var i;if((i=t.attr("autocompletetype"))||(i=t.attr("autocomplete")),i)return t.attr("autocompletetype",i),t.attr("autocomplete",i)},i.prototype.normalizeInputmode=function(t){if(!t.attr("inputmode"))switch(t.attr("type")){case"number":return t.attr("inputmode","numeric");case"tel":return t.attr("inputmode","tel");case"email":return t.attr("inputmode","email");case"url":return t.attr("inputmode","url")}},i.prototype.normalizeXAttributes=function(t){var i,n,e,r;for(n=0,e=(r=["inputmode","autocompletetype"]).length;n<e;n++)i=r[n],t.attr(i)&&t.attr("x-"+i,t.attr(i))},i}(AbstractFormsliderPlugin),this.InputSync=function(t){function i(){return this.writeInputs=n(this.writeInputs,this),this.readInputs=n(this.readInputs,this),this.onAfter=n(this.onAfter,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:"input",attribute:"name",syncGlobal:!1},i.prototype.init=function(){return this.storage={},this.on("after",this.onAfter)},i.prototype.onAfter=function(t,i,n,e){var r;return r=this.readInputs(e),this.writeInputs(i,r)},i.prototype.readInputs=function(t){var i;return $(this.config.selector,t).each((i=this,function(t,n){var e;return(e=$(n)).is(":checkbox")||e.is(":radio")?e.is(":checked")?i.storage[e.attr(i.config.attribute)]=e.val():void 0:i.storage[e.attr(i.config.attribute)]=e.val()}))},i.prototype.writeInputs=function(t,i){var n;return(this.config.syncGlobal?$(this.config.selector):$(this.config.selector,t)).not(i).each((n=this,function(t,i){var e,r;if(r=(e=$(i)).attr(n.config.attribute),n.storage[r])return e.is(":checkbox")||e.is(":radio")?e.attr("value")===n.storage[r]?e.attr("checked","checked"):void 0:e.val(n.storage[r])}))},i}(AbstractFormsliderPlugin),this.JqueryInputValidator=function(t){function i(){return this.onNaturalFormSubmit=n(this.onNaturalFormSubmit,this),this.validate=n(this.validate,this),this.onValidate=n(this.onValidate,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selectors:{elements:'input[type!="hidden"], textarea, select',ignore:"[readonly]"},validateOnEvents:["leaving.next"],formSelector:"form",messages:{generic:"invalid",email:"invalid email",tel:"invalid phone number",number:"invalid number",minlength:"to short",maxlength:"to long",required:"required"}},i.prototype.init=function(){var t,i,n,e;for(this.validator=this.container.iValidator(this.config),i=0,n=(e=this.config.validateOnEvents).length;i<n;i++)t=e[i],this.on(t,this.onValidate);if(this.config.formSelector)return this.form=$(this.config.formSelector),this.form.submit(this.onNaturalFormSubmit)},i.prototype.onValidate=function(t,i,n,e){var r,s;if(r=$(i).data("role"),!0!==(s=this.validate(i)))return this.trigger("validation.invalid."+r,i,s),t.canceled=!0,setTimeout(function(){return $(window).trigger("resize")},400);this.trigger("validation.valid."+r,i)},i.prototype.validate=function(t){return this.validator.validate(t)},i.prototype.onNaturalFormSubmit=function(t){if(!0!==this.validator.validate(this.form))return t.preventDefault(),!1},i}(AbstractFormsliderPlugin),this.AddSlideClasses=function(t){function i(){return this.addVisitedClass=n(this.addVisitedClass,this),this._addAnswerCountClasses=n(this._addAnswerCountClasses,this),this._doWithSlide=n(this._doWithSlide,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={slideVisitedClass:"slide-visited"},i.prototype.init=function(){return this.slides.each(this._doWithSlide),this.on("after",this.addVisitedClass)},i.prototype._doWithSlide=function(t,i){var n;return n=$(i),this._addAnswerCountClasses(t,n),this._addSlideNumberClass(t,n),this._addRoleClass(n),this._addSlideIdClass(n)},i.prototype._addAnswerCountClasses=function(t,i){var n;return n=$(this.config.answerSelector,i).length,i.addClass("answer-count-"+n).data("answer-count",n)},i.prototype._addRoleClass=function(t){var i;return i=t.data("role"),t.addClass("slide-role-"+i)},i.prototype._addSlideNumberClass=function(t,i){return i.addClass("slide-number-"+t).data("slide-number",t)},i.prototype._addSlideIdClass=function(t){var i;return void 0===(i=t.data("id"))&&(i=t.data("role")),t.addClass("slide-id-"+i)},i.prototype.addVisitedClass=function(t,i,n,e){return $(e).addClass(this.config.slideVisitedClass),$(i).addClass(this.config.slideVisitedClass)},i}(AbstractFormsliderPlugin),this.DoOnEvent=function(t){function i(){return this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return $.each(this.config,(t=this,function(i,n){if("function"==typeof n)return t.on(i,function(){return n(t)})}));var t},i}(AbstractFormsliderPlugin),this.DoOneTimeOnEvent=function(t){function i(){return this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return $.each(this.config,(t=this,function(i,n){if("function"==typeof n)return t.on(i,function(){return t.off(i),n(t)})}));var t},i}(AbstractFormsliderPlugin),this.AbstractFormsliderLoader=function(t){function i(){return this.stop=n(this.stop,this),this.start=n(this.start,this),this.onLeaving=n(this.onLeaving,this),this.onLoaderStart=n(this.onLoaderStart,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={duration:1e3},i.prototype.init=function(){return this.on("after.loader",this.onLoaderStart),this.on("leaving.loader",this.onLeaving),this.locking=new Locking(!1),this.slide=this.slideByRole("loader")},i.prototype.onLoaderStart=function(t,i,n,e){if(!this.locking.locked)return this.start()},i.prototype.onLeaving=function(t,i,n,e){if(this.locking.locked)return this.cancel(t)},i.prototype.start=function(){var t,i;return!this.locking.locked&&(this.locking.lock(),this.logger.debug("start("+((null!=(t=this.config)?t.duration:void 0)||1e3)+")"),setTimeout(this.doAnimation,(null!=(i=this.config)?i.duration:void 0)||1e3))},i.prototype.doAnimation=function(){},i.prototype.stop=function(){return this.logger.debug("stop()"),this.locking.unlock(),this.formslider.next()},i}(AbstractFormsliderPlugin),this.SimpleLoader=function(t){function i(){return this.doAnimation=n(this.doAnimation,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={duration:1e3},i.prototype.doAnimation=function(){return this.stop()},i}(AbstractFormsliderLoader),this.BrowserHistoryController=function(t){function i(){return this.handleHistoryChange=n(this.handleHistoryChange,this),this.pushCurrentHistoryState=n(this.pushCurrentHistoryState,this),this.onAfter=n(this.onAfter,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={updateHash:!0,resetStatesOnLoad:!0},i.prototype.init=function(){return this.on("after",this.onAfter),this.dontUpdateHistoryNow=!1,this.time=(new Date).getTime(),this.pushCurrentHistoryState(),$(window).bind("popstate",this.handleHistoryChange)},i.prototype.onAfter=function(){if(!this.dontUpdateHistoryNow)return this.pushCurrentHistoryState();this.dontUpdateHistoryNow=!1},i.prototype.pushCurrentHistoryState=function(){var t,i;return i=this.index(),t=null,this.config.updateHash&&(t="#"+i),history.pushState({index:i,time:this.time},"index "+i,t)},i.prototype.handleHistoryChange=function(t){var i,n;if(!this.formslider.locking.locked&&(null!=(i=t.originalEvent)?i.state:void 0)&&(n=t.originalEvent.state,!this.config.resetStatesOnLoad||n.time===this.time))return this.logger.debug("handleHistoryChange",n.index),this.dontUpdateHistoryNow=!0,this.formslider.goto(n.index)},i}(AbstractFormsliderPlugin),this.NativeOrderController=function(t){function i(){return this.prev=n(this.prev,this),this.next=n(this.next,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return this.on("controller.prev",this.prev),this.on("controller.next",this.next)},i.prototype.next=function(t){if(!this.isCanceled(t))return this.cancel(t),this.formslider.goto(this.index()+1)},i.prototype.prev=function(t){if(!this.isCanceled(t))return this.cancel(t),this.formslider.goto(this.index()-1)},i}(AbstractFormsliderPlugin),this.OrderByIdController=function(t){function i(){return this.prev=n(this.prev,this),this.next=n(this.next,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return this.on("controller.prev",this.prev),this.on("controller.next",this.next)},i.prototype.onCalculateLongestPath=function(t){return t.longest_path=42},i.prototype.next=function(t){var i,n,e,r,s;if(!this.isCanceled(t))return i=this.slideByIndex(),n=$(i).data("next-id"),(s=$("."+this.config.answerSelectedClass,i)).length&&void 0!==(e=s.data("next-id"))&&(n=e),void 0!==n?((r=this.slideById(n)).data("prev-id",$(i).data("id")),this.formslider.goto(r.index())):void 0},i.prototype.prev=function(t){var i,n,e;if(!this.isCanceled(t))return i=this.slideByIndex(),void 0!==(e=$(i).data("prev-id"))?(n=this.slideById(e),this.cancel(t),$(i).data("prev-id",void 0),this.formslider.goto(n.index())):void 0},i}(AbstractFormsliderPlugin),this.DirectionPolicyByRole=function(t){function i(){return this.checkPermissions=n(this.checkPermissions,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={},i.prototype.init=function(){return this.on("leaving",this.checkPermissions)},i.prototype.checkPermissions=function(t,i,n,e){var r,o,a;if(r=$(i).data("role"),o=$(e).data("role"),r&&o){if(r in this.config&&"goingTo"in(a=this.config[r])){if(s.call(a.goingTo,"none")>=0)return this.cancel(t);if(s.call(a.goingTo,o)<0)return this.cancel(t)}if(o in this.config&&"commingFrom"in(a=this.config[o])){if(s.call(a.commingFrom,"none")>=0)return this.cancel(t);if(s.call(a.commingFrom,r)<0)return this.cancel(t)}}},i}(AbstractFormsliderPlugin),this.NavigateOnClick=function(t){function i(){return this.onClick=n(this.onClick,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={actions:[{selector:".answer",action:"next",wait:200},{selector:".next-button",action:"next",wait:10},{selector:".prev-button",action:"prev",wait:10}]},i.prototype.init=function(){var t,i,n,e;for(i=0,n=(e=this.config.actions).length;i<n;i++)t=e[i],$(t.selector,this.container).on("mouseup",t,this.onClick)},i.prototype.onClick=function(t,i){if(t.preventDefault(),!this.timeout)return this.timeout=setTimeout((n=this,function(){return n.formslider[t.data.action].call(),n.timeout=null}),t.data.wait);var n},i}(AbstractFormsliderPlugin),this.NavigateOnKey=function(t){function i(){return this.runTimeout=n(this.runTimeout,this),this.onKey=n(this.onKey,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={actions:[{context:document,action:"next",code:39,wait:100},{selector:"input",action:"next",prevent:!0,code:13,wait:100},{context:document,action:"prev",code:37,wait:100}]},i.prototype.init=function(){return $.each(this.config.actions,(t=this,function(i,n){return((null!=n?n.selector:void 0)?$(n.selector,t.container):$(n.context)).on("keydown",n,t.onKey)}));var t},i.prototype.onKey=function(t){var i;if((t.keyCode||t.which)===t.data.code)return this.runTimeout(this.formslider[t.data.action],t.data.wait),(null!=(i=t.data)?i.prevent:void 0)?t.preventDefault():void 0},i.prototype.runTimeout=function(t,i){if(!this.timeout)return this.timeout=setTimeout((n=this,function(){return t(),n.timeout=null}),i);var n},i}(AbstractFormsliderPlugin),this.TabIndexSetter=function(t){function i(){return this.disableTabs=n(this.disableTabs,this),this.enableTabs=n(this.enableTabs,this),this.onAfter=n(this.onAfter,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:"input, a, select, textarea, button, area, object"},i.prototype.init=function(){return this.disableTabs(),this.enableTabs(this.slideByIndex(0)),this.on("after",this.onAfter)},i.prototype.onAfter=function(t,i,n,e){return this.disableTabs(),this.enableTabs(i)},i.prototype.enableTabs=function(t){return $(this.config.selector,t).each(function(t,i){return $(i).attr("tabindex",t+1)})},i.prototype.disableTabs=function(){return $(this.config.selector,this.container).attr("tabindex","-1")},i}(AbstractFormsliderPlugin),this.AbstractFormsliderProgressBar=function(t){function i(){return this.show=n(this.show,this),this.hide=n(this.hide,this),this.shouldBeVisible=n(this.shouldBeVisible,this),this._set=n(this._set,this),this.doUpdate=n(this.doUpdate,this),this.slidesThatCount=n(this.slidesThatCount,this),this.setCountMax=n(this.setCountMax,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selectorWrapper:".progressbar-wrapper",selectorText:".progress-text",selectorProgress:".progress",animationSpeed:300,initialProgress:null,animateHeight:!0,firstSlideCounts:!0,dontCountOnRoles:["loader","contact","confirmation"],hideOnRoles:["zipcode","loader","contact","confirmation"]},i.prototype.init=function(){var t,i,n;return this.on("after.next",(t=this,function(){return t.currentIndex++})),this.on("after.prev",(i=this,function(){return i.currentIndex--})),this.on("after",this.doUpdate),this.on("ready",(n=this,function(){return n.setCountMax(),n._set(n.currentIndex)})),this.visible=!0,this.wrapper=$(this.config.selectorWrapper),this.config=this.configWithDataFrom(this.wrapper),this.progressText=$(this.config.selectorText,this.wrapper),this.bar=$(this.config.selectorProgress,this.wrapper),this.bar.css("transition-duration",this.config.animationSpeed/1e3+"s"),this.currentIndex=0},i.prototype.set=function(t,i){},i.prototype.setCountMax=function(t){var i,n;if(null==t&&(t=null),null!=(n=this.config)?n.dataKeyForMaxLength:void 0){if(null===t&&(t=this.slideByIndex()),i=$(t).data(this.config.dataKeyForMaxLength))return i=parseInt(i,10),this.countMax=i}else this.countMax=this.slidesThatCount()},i.prototype.slidesThatCount=function(){var t,i,n,e,r;for(r=0,t=0,i=(n=this.config.dontCountOnRoles).length;t<i;t++)e=n[t],r+=this.slideByRole(e).length;return this.slides.length-r},i.prototype.doUpdate=function(t,i,n,e){return this.setCountMax(i),this.shouldBeVisible(i)?(this.show(),this._set(this.currentIndex)):(this._set(this.currentIndex),this.hide())},i.prototype._set=function(t){var i;return t>this.countMax-1&&(t=this.countMax-1),t<0&&(t=0),i=this.config.firstSlideCounts?(t+1)/this.countMax*100:t/this.countMax*100,this.config.initialProgress&&0===t&&(i=this.config.initialProgress),this.bar.css("width",i+"%"),this.set(t,i)},i.prototype.shouldBeVisible=function(t){var i;return i=$(t).data("role"),!(s.call(this.config.hideOnRoles,i)>=0)},i.prototype.hide=function(){if(this.visible)return this.visible=!1,this.wrapper.stop().animate({opacity:0,height:0},this.config.animationSpeed)},i.prototype.show=function(){var t,i,n;if(!this.visible)return this.visible=!0,t={opacity:1},this.config.animateHeight&&(n=this.wrapper.height(),i=this.wrapper.css("height","auto").height(),this.wrapper.css("height",n),t.height=i+"px"),this.wrapper.stop().animate(t,this.config.animationSpeed)},i}(AbstractFormsliderPlugin),this.ProgressBarPercent=function(t){function i(){return this._setPercentStepCallback=n(this._setPercentStepCallback,this),this.set=n(this.set,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.set=function(t,i){var n;return n=parseInt(this.progressText.text())||1,$({Counter:n}).animate({Counter:i},{duration:this.config.animationSpeed,queue:!1,easing:"swing",step:this._setPercentStepCallback})},i.prototype._setPercentStepCallback=function(t){return this.progressText.text(Math.ceil(t)+"%")},i}(AbstractFormsliderProgressBar),this.ProgressBarSteps=function(t){function i(){return this.set=n(this.set,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.set=function(t,i){return this.progressText.text(t+1+"/"+this.countMax)},i}(AbstractFormsliderProgressBar),this.TrackSessionInformation=function(t){function i(){return this.inform=n(this.inform,this),this.onFirstInteraction=n(this.onFirstInteraction,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={onReady:null,onReadyInternal:function(t){if(t.inform("url",location.href),t.inform("useragent",navigator.userAgent),t.inform("referer",document.referrer),t.inform("dimension",$(window).width()+"x"+$(window).height()),t.inform("jquery.formslider.version",t.formslider.config.version),t.formslider.plugins.isLoaded("JqueryTracking"))return t.inform("channel",$.tracking.channel()),t.inform("campaign",$.tracking.campaign()),JqueryTrackingGHelper.getClientId(function(i){return t.inform("clientId",i)})},buildHiddenInput:function(t,i){return $("<input>",{type:"hidden",name:"info["+t+"]",class:"info",value:i})}},i.prototype.init=function(){return this.on("first-interaction",this.onFirstInteraction)},i.prototype.onFirstInteraction=function(){if(this.config.onReadyInternal&&this.config.onReadyInternal(this),this.config.onReady)return this.config.onReady(this)},i.prototype.inform=function(t,i){return this.track(t,i,"info"),this.container.append(this.config.buildHiddenInput(t,i))},i}(AbstractFormsliderPlugin),this.TrackUserInteraction=function(t){function i(){return this.setupQuestionAnswerTracking=n(this.setupQuestionAnswerTracking,this),this.setupTransportTracking=n(this.setupTransportTracking,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={questionAnsweredEvent:"question-answered"},i.prototype.init=function(){return this.setupQuestionAnswerTracking(),this.setupTransportTracking()},i.prototype.setupTransportTracking=function(){return this.on("after",(t=this,function(i,n,e,r){var s,o;if(o=$(n).data("role"),s=$(n).data("id"),t.track("slide-"+t.index()+"-entered",e),t.track("slide-role-"+o+"-entered",e),s)return t.track("slide-id-"+s+"-entered",e)}));var t},i.prototype.setupQuestionAnswerTracking=function(){return this.on("question-answered",(t=this,function(i,n,e,r,s){var o;return o=t.config.questionAnsweredEvent,t.track(o,s),t.track(o+"-"+s,r)}));var t},i}(AbstractFormsliderPlugin),this.EqualHeight=function(t){function i(){return this.doEqualize=n(this.doEqualize,this),this.equalizeAll=n(this.equalizeAll,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:".answer .text"},i.prototype.init=function(){return this.on("ready",this.equalizeAll),this.on("resize",this.equalizeAll),this.on("do-equal-height",this.doEqualize)},i.prototype.equalizeAll=function(){var t,i,n;for(t=i=0,n=this.slides.length-1;0<=n?i<=n:i>=n;t=0<=n?++i:--i)this.doEqualize(null,this.slideByIndex(t))},i.prototype.doEqualize=function(t,i){var n,e,r,s,o,a;if((e=$(this.config.selector,i)).length){for(a=0,s=0,o=e.length;s<o;s++)r=e[s],(n=$(r)).css("height","auto"),a=Math.max(a,n.outerHeight());return e.css("height",a)}},i}(AbstractFormsliderPlugin),this.JqueryAnimate=function(t){function i(){return this.doAnimation=n(this.doAnimation,this),this.prepareAnimations=n(this.prepareAnimations,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={dataPrefix:"animate",defaultDuration:600},i.prototype.init=function(){return this.prepareAnimations(this.container)},i.prototype.prepareAnimations=function(t){var i,n,e;if(n=""+this.config.dataPrefix,(i=$("[data-"+n+"]",t)).length)return i.each((e=this,function(t,i){var r,s,o,a,h,c;if(r=$(i),null!=(s=r.data(n))?s.on:void 0)for(a=0,h=(c=s.on.split(",")).length;a<h;a++)o=c[a],e.on(o.trim(),function(t,i,n,a){if(e.doAnimation(r,s),null!=s?s.once:void 0)return e.off(o.trim())})}))},i.prototype.doAnimation=function(t,i){var n,e,r;return t=(null!=i?i.selector:void 0)?$(i.selector):t,e=i.duration||this.config.defaultDuration,(null!=i?i.stop:void 0)&&t.stop(),(null!=i?i.delay:void 0)&&t.delay(i.delay),(null!=i?i.css:void 0)&&t.css(i.css),(null!=i?i.complete:void 0)&&(r=this,n=function(){return r.doAnimation(t,i.complete)}),t.animate(i.animate,e,n)},i}(AbstractFormsliderPlugin),this.LazyLoad=function(t){function i(){return this._loadLazyCallback=n(this._loadLazyCallback,this),this.doLazyLoad=n(this.doLazyLoad,this),this.onBefore=n(this.onBefore,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={lazyClass:"lazy-load",dataKey:"src",waitBeforeLoad:10},i.prototype.init=function(){return this.doLazyLoad(this.slideByIndex(0)),this.on("before",this.onBefore)},i.prototype.onBefore=function(t,i,n,e){return this.doLazyLoad(e)},i.prototype.doLazyLoad=function(t){return setTimeout((i=this,function(){return $("img."+i.config.lazyClass,t).each(i._loadLazyCallback),i.trigger("do-equal-height",t)}),this.config.waitBeforeLoad);var i},i.prototype._loadLazyCallback=function(t,i){var n;return(n=$(i)).attr("src",n.data(this.config.dataKey)).removeData(this.config.dataKey).removeClass(this.config.lazyClass)},i}(AbstractFormsliderPlugin),this.LoadingState=function(t){function i(){return this.onReady=n(this.onReady,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:".progressbar-wrapper, .formslider-wrapper",loadingClass:"loading",loadedClass:"loaded"},i.prototype.init=function(){return this.on("ready",this.onReady)},i.prototype.onReady=function(){return $(this.config.selector).removeClass(this.config.loadingClass).addClass(this.config.loadedClass)},i}(AbstractFormsliderPlugin),this.ScrollUp=function(t){function i(){return this.isOnScreen=n(this.isOnScreen,this),this.onAfter=n(this.onAfter,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.config={selector:".headline",duration:500,tolerance:80,scrollUpOffset:30,scrollTo:function(t,i){return Math.max(0,i.offset().top-t.config.scrollUpOffset)},checkElement:function(t,i){return $(t.config.selector,i)}},i.prototype.init=function(){return this.on("after",this.onAfter),this.window=$(window)},i.prototype.onAfter=function(t,i,n,e){var r;if((r=this.config.checkElement(this,i)).length){if(!this.isOnScreen(r))return $("html, body").animate({scrollTop:this.config.scrollTo(this,r)},this.config.duration)}else this.logger.warn("no element found for selector "+this.config.selector)},i.prototype.isOnScreen=function(t){var i,n;return(n={top:this.window.scrollTop()}).bottom=n.top+this.window.height(),(i=t.offset()).bottom=i.top+t.outerHeight(),!(n.bottom<i.top-this.config.tolerance||n.top>i.bottom-this.config.tolerance)},i}(AbstractFormsliderPlugin),this.SlideVisibility=function(t){function i(){return this.hideOtherSlides=n(this.hideOtherSlides,this),this.showNextSlide=n(this.showNextSlide,this),this.init=n(this.init,this),i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.init=function(){return this.on("before",this.showNextSlide),this.on("after",this.hideOtherSlides),this.hide(this.slides),this.show(this.slideByIndex())},i.prototype.showNextSlide=function(t,i,n,e){return this.show(e)},i.prototype.hideOtherSlides=function(t,i,n,e){return this.hide(this.slides.not(i))},i.prototype.hide=function(t){return $(t).css("opacity",0).data("slide-visibility",0)},i.prototype.show=function(t){return $(t).css("opacity",1).data("slide-visibility",1)},i}(AbstractFormsliderPlugin),t=function(){function t(t){this.logger=t,this.off=n(this.off,this),this.on=n(this.on,this),this.trigger=n(this.trigger,this),this.listener={}}return t.prototype.trigger=function(){var t,i,n,e,r,s,a,h;if(i={type:s=(h=(s=(t=o.call(arguments)).shift()).split(".")).shift(),tags:h,canceled:!1},null==this.listener[s])return i;for(n=0,e=(a=this.listener[s]).length;n<e;n++)(r=a[n]).tags&&!this.allTagsInArray(r.tags,h)||r.callback.apply(r,[i].concat(o.call(t)));return i},t.prototype.on=function(t,i){var n,e,r;return t=(r=t.split(".")).shift(),e=r.pop(),null==(n=this.listener)[t]&&(n[t]=[]),this.listener[t].push({name:t,tags:r,context:e,callback:i})},t.prototype.off=function(t){var i,n,e;if(t=(n=t.split(".")).shift(),i=n.pop(),null!=this.listener[t])return this.listener[t]=this.listener[t].filter((e=this,function(t){return t.context!==i||!e.allTagsInArray(n,t.tags)&&void 0}))},t.prototype.allTagsInArray=function(t,i){var n,e,r;for(n=0,e=t.length;n<e;n++)if(r=t[n],!(s.call(i,r)>=0))return!1;return!0},t.prototype.isCanceled=function(t){return!0===t.canceled},t.prototype.cancel=function(t){return t.canceled=!0,!1},t}(),this.FeatureDetector=function(){function t(){}return t.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t}(),this.Locking=function(){function t(t){null==t&&(t=!0),this.unlock=n(this.unlock,this),this.lock=n(this.lock,this),this.locked=t}return t.prototype.lock=function(){return this.locked=!0},t.prototype.unlock=function(){return this.locked=!1},t}(),i=function(){function t(t){this.namespace=t,this.error=n(this.error,this),this.warn=n(this.warn,this),this.debug=n(this.debug,this),this.info=n(this.info,this),$.debug||"undefined"!=typeof console&&null!==console&&"function"==typeof console.warn&&console.warn("jquery.debug not loaded")}return t.prototype.info=function(){var t;return arguments[0]=this.namespace+"::"+arguments[0],(t=$.debug).info.apply(t,arguments)},t.prototype.debug=function(){var t;return arguments[0]=this.namespace+"::"+arguments[0],(t=$.debug).debug.apply(t,arguments)},t.prototype.warn=function(){var t,i;return arguments[0]=this.namespace+"::"+arguments[0],(null!=(t=$.debug)?t.isEnabled():void 0)?(i=$.debug).warn.apply(i,arguments):"undefined"!=typeof console&&null!==console&&"function"==typeof console.warn?console.warn.apply(console,arguments):void 0},t.prototype.error=function(){var t,i;return arguments[0]=this.namespace+"::"+arguments[0],(null!=(t=$.debug)?t.isEnabled():void 0)?(i=$.debug).error.apply(i,arguments):"undefined"!=typeof console&&null!==console&&"function"==typeof console.error?console.error.apply(console,arguments):void 0},t}(),this.ObjectExtender=function(){function t(){}return t.extend=function(i){return Array.prototype.slice.call(arguments,1).forEach(function(n){var e,r,s,o;if(n){o=[];for(e in n)(null!=(r=n[e])?r.constructor:void 0)===Object?i[e]&&(null!=(s=i[e])?s.constructor:void 0)!==Object?o.push(i[e]=n[e]):(i[e]=i[e]||{},o.push(t.extend(i[e],n[e]))):o.push(i[e]=n[e]);return o}}),i},t}(),this.PluginLoader=function(){function t(t,i){this.formslider=t,this.globalPluginConfig=i,this.get=n(this.get,this),this.isLoaded=n(this.isLoaded,this),this.load=n(this.load,this),this.loadAll=n(this.loadAll,this),this.loaded={}}return t.prototype.loadAll=function(t){var i,n,e;for(i=0,n=t.length;i<n;i++)e=t[i],window[e.class]?this.load(e):this.formslider.logger.warn("loadAll("+e.class+") -> not found")},t.prototype.load=function(t){var i,n,e,r;i=window[t.class],n=null==t.config?this.globalPluginConfig:ObjectExtender.extend({},this.globalPluginConfig,t.config);try{return r=new i(this.formslider,n),this.loaded[t.class]=r,r}catch(i){return e=i,this.formslider.logger.error("loadPlugin("+t.class+") -> error",e)}},t.prototype.isLoaded=function(t){return t in this.loaded},t.prototype.get=function(t){if(this.isLoaded(t))return this.loaded[t]},t}(),this.FormSlider=function(){function e(e,r){this.container=e,this.goto=n(this.goto,this),this.prev=n(this.prev,this),this.next=n(this.next,this),this.index=n(this.index,this),this.onResize=n(this.onResize,this),this.onReady=n(this.onReady,this),this.onAfter=n(this.onAfter,this),this.onBefore=n(this.onBefore,this),this.loadPlugins=n(this.loadPlugins,this),this.setupDriver=n(this.setupDriver,this),this.setupConfig=n(this.setupConfig,this),this.logger=new i("jquery.formslider"),this.container.length?(this.setupConfig(r),this.firstInteraction=!1,this.ready=!1,this.events=new t(this.logger),this.locking=new Locking(!0),this.setupDriver(),this.slides=this.driver.slides,this.loadPlugins(),$(window).resize(this.onResize)):this.logger.error("container is empty")}return e.config=null,e.prototype.setupConfig=function(t){return null!=(null!=t?t.plugins:void 0)&&(e.config.plugins=[]),this.config=ObjectExtender.extend({},e.config,t)},e.prototype.setupDriver=function(){var t;return t=window[this.config.driver.class],this.driver=new t(this.container,this.config.driver,this.onBefore,this.onAfter,this.onReady)},e.prototype.loadPlugins=function(){return this.plugins=new PluginLoader(this,this.config.pluginsGlobalConfig),this.plugins.loadAll(this.config.plugins)},e.prototype.onBefore=function(t,i,n){var e,r,s,a,h,c,u;return t!==n&&(!this.locking.locked&&(this.locking.lock(),e=this.slides.get(t),r=$(e).data("role"),a=this.slides.get(n),h=$(a).data("role"),s=[e,i,a],(c=this.events).trigger.apply(c,["leaving."+r+"."+i].concat(o.call(s))).canceled?(this.locking.unlock(),!1):((u=this.events).trigger.apply(u,["before."+h+"."+i].concat(o.call(s))),this.lastCurrent=e,this.lastNext=a,this.lastCurrentRole=h,this.lastDirection=i)))},e.prototype.onAfter=function(){var t,i,n;if(this.locking.locked)return t=[this.lastNext,this.lastDirection,this.lastCurrent],(i=this.events).trigger.apply(i,["after."+this.lastCurrentRole+"."+this.lastDirection].concat(o.call(t))),this.firstInteraction||(this.firstInteraction=!0,(n=this.events).trigger.apply(n,["first-interaction"].concat(o.call(t)))),setTimeout(this.locking.unlock,this.config.silenceAfterTransition)},e.prototype.onReady=function(){if(!this.ready)return this.ready=!0,this.events.trigger("ready"),this.locking.unlock()},e.prototype.onResize=function(){return this.events.trigger("resize")},e.prototype.index=function(){return this.driver.index()},e.prototype.next=function(){return this.events.trigger("controller.next")},e.prototype.prev=function(){return this.events.trigger("controller.prev")},e.prototype.goto=function(t){if(!this.locking.locked&&!(t<0||t>this.slides.length-1))return this.driver.goto(t)},e}(),this.FormSlider.config={version:1,silenceAfterTransition:500,driver:{class:"DriverFlexslider",selector:".formslider > .slide"},pluginsGlobalConfig:{questionSelector:".question-input",answersSelector:".answers",answerSelector:".answer",answerSelectedClass:"selected"},plugins:[{class:"BrowserHistoryController"},{class:"NativeOrderController"},{class:"SlideVisibility"},{class:"LazyLoad"},{class:"EqualHeight"},{class:"ScrollUp"},{class:"LoadingState"},{class:"JqueryAnimate"},{class:"ProgressBarPercent"},{class:"AnswerMemory"},{class:"AnswerClick"},{class:"JqueryInputValidator"},{class:"TabIndexSetter"},{class:"InputSync"},{class:"InputNormalizer"},{class:"InputFocus"},{class:"FormSubmission"},{class:"InputForceMaxlength"},{class:"NavigateOnClick"},{class:"NavigateOnKey"},{class:"TrackUserInteraction"},{class:"TrackSessionInformation"},{class:"SimpleLoader"},{class:"AddSlideClasses"}]}}).call(this);
  //# sourceMappingURL=maps/formslider.min.js.map
  