!function(a){formintorjs.define(["text!tpl/appearance.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(a(e).find("#appearance-section-pagination-tpl").html()),className:"wpmudev-box-body",initialize:function(a){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_pagination_header(),this.render_pagination_footer()},render_pagination_header:function(){var a=new Forminator.Settings.RadioContainer({model:this.model,id:"pagination-header-design",name:"pagination-header-design",default_value:"off",containerClass:"wpmudev-is_gray",values:[{value:"off",label:Forminator.l10n.appearance.pagination_none},{value:"bar",label:Forminator.l10n.appearance.pagination_bar},{value:"nav",label:Forminator.l10n.appearance.pagination_nav}]}),e='<label class="wpmudev-label--info"><span>'+Forminator.l10n.appearance.pagination_off_label+"</span></label>",n='<label class="wpmudev-label--info"><span>'+Forminator.l10n.appearance.pagination_bar_label+"</span></label>",t=new Forminator.Settings.Text({model:this.model,id:"pagination-step-label",name:"pagination-step-label",hide_label:!1,label:Forminator.l10n.appearance.last_step_label,placeholder:Forminator.l10n.appearance.last_step_placeholder});this.$el.find(".pagination-settings-header").append(a.el),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-off").append(e),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-bar").append(n),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-nav").append(t.el)},render_pagination_footer:function(){var a=new Forminator.Settings.ToggleContainer({model:this.model,id:"pagination-footer-button",name:"pagination-footer-button",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.last_page_button}]}),e=new Forminator.Settings.Text({model:this.model,id:"pagination-footer-button-text",name:"pagination-footer-button-text",hide_label:!0,placeholder:Forminator.l10n.appearance.last_page_placeholder});this.$el.find("#pagination-settings-footer").append(a.el),this.$el.find("#pagination-footer-button .wpmudev-toggle--box").append(e.el)}})})}(jQuery);