text: /**
   * @license ngWizard 0.1.10
   * (c) 2010-2017 Deroldo, Inc. http://deroldo.com.br
   * License: MIT
   */
  !function(){"use strict";angular.module("ngWizard",[])}(),function(){"use strict";angular.module("ngWizard").directive("wizard",["$q","util","validaForm",function(t,s,e){return{restrict:"E",require:"?ngModel",scope:{wizardConfig:"=?",ngModel:"="},template:'<style>.step-wizard ul.sw-container{position: relative;}.step-wizard ul li.sw-item{float: left; position: relative; margin-right: 20px; font-size: 16px; float: left;color: #F5F5F5; line-height: 60px; color: #F5F5F5; height: 60px; line-height: 60px; padding: 0 45px; border-radius: 3px; background: #c1c1c1;}.step-wizard ul li.sw-item.active{background: #48a3b0;}.step-wizard ul li.sw-item.passed{background: #25575b;}.step-wizard .btn-nav{background: #3d4750; padding-left: 50px;}</style><form name="stepForm" class="step-wizard step-wizard-validation ng-pristine ng-valid" novalidate="novalidate" role="form"> <div class="row m-b-20"> <div class="col-md-12"> <ul class="sw-container  p-l-0"> <li class="sw-item {{$index==step ? \'active\' : $index < step ? \'passed\' : \'\'}}" ng-repeat="s in steps"> <span style="padding-left: 35px;">{{s.title}}</span> <div style="position: absolute; left: 12px; top: 0; font-size: 96px; font-weight: 700; overflow: hidden;"> <span style="font-size: 96px;font-weight: 700;">{{$index+1}}</span> </div><div></div></li></ul> </div></div><div class="row"> <div class="col-md-12"> <div ng-include="steps[step].templateUrl" onload="onFinishLoading()"></div></div></div><div class="row m-t-20"> <div class="col-md-6"> <button ng-show="!isFirst();" class="btn btn-lg btn-dark" style="float: left;" ng-click="clickPrev(stepForm);"> <span class="fa fa-chevron-left"></span> Anterior </button> </div><div class="col-md-6 text-right"> <button ng-show="isLast();" class="btn btn-lg btn-dark" style="float: right;" ng-click="clickNext(stepForm);"> Finalizar <span class="fa fa-chevron-right"></span> </button> <button ng-show="!isLast();" class="btn btn-lg btn-dark" style="float: right;" ng-click="clickNext(stepForm);"> Próximo <span class="fa fa-chevron-right"></span> </button> </div></div></form>',link:function(n,i,o,a){function r(){setTimeout(function(){},1)}function l(){"function"==typeof d.onFinish&&d.onFinish()}function c(s){return t(function(t,e){"function"==typeof d.steps[s].funcao?d.steps[s].funcao().then(function(s){t(s)}):t(!0)})}var d=n.wizardConfig;n.vm=n.ngModel,n.step=0,n.stepLoaded=!1,n.steps=d.steps,n.getIndex=function(){return n.step+1},n.isFirst=function(){return 0===n.step},n.isLast=function(){return n.step===d.steps.length-1},n.clickNext=function(t){return!!t.$valid&&void(n.step<n.steps.length-1?c(n.step).then(function(s){s&&("function"==typeof d.onStepNext&&d.onStepNext(),n.step=n.step+1,r(),t.$setPristine())}):n.step===n.steps.length-1&&(void 0!==d.finishConfirm?s.modal({titulo:"<strong>Confirmação</strong>",mensagem:d.finishConfirm,type:"fullsize",option:"slideleft",ButtonText1:"OK",callback1:function(){l()}}):l(),t.$setPristine()))},n.clickPrev=function(){n.step>0&&("function"==typeof d.onStepPrev&&d.onStepPrev(),n.step=n.step-1,r())},n.onFinishLoading=function(){"function"==typeof d.steps[n.step].onInit&&d.steps[n.step].onInit()};var p=d;return p=angular.extend(p,{formClass:".step-wizard-validation"}),e(p),r(),n}}}]).factory("validaForm",["$q","$localStorage","$http",function(t,s,e){return function(t){$(t.formClass).each(function(){void 0===t.rules&&(t.rules=[]),t.rules.push({email:{required:{depends:function(){return $(this).val($.trim($(this).val())),!0}},customemail:!0}}),$(this).validate({success:"valid",submitHandler:function(){return!0},errorClass:"form-error",validClass:"form-success",errorElement:"div",ignore:[],rules:t.rules,messages:t.messages,highlight:function(t,s,e){$(t).closest(".form-control").addClass(s).removeClass(e)},unhighlight:function(t,s,e){$(t).closest(".form-control").removeClass(s).addClass(e)},errorPlacement:function(t,s){s.hasClass("custom-file")||s.hasClass("checkbox-type")||s.hasClass("language")?s.closest(".option-group").after(t):s.is(":radio")||s.is(":checkbox")?s.closest(".option-group").after(t):s.parent().hasClass("input-group")?s.parent().after(t):t.insertAfter(s)},invalidHandler:function(t,s){s.numberOfInvalids()}})})}}])}();