!function(e){formintorjs.define(["text!tpl/appearance.html"],function(a){return Backbone.View.extend({mainTpl:Forminator.Utils.template(e(a).find("#appearance-section-pagination-tpl").html()),className:"wpmudev-box-body",initialize:function(e){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_pagination_header(),this.render_pagination_footer()},render_pagination_header:function(){var e=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:"nav",label:Forminator.l10n.appearance.pagination_nav}]}),a='<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(e.el),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-off").append(a),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 e=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}]}),a=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(e.el),this.$el.find("#pagination-footer-button .wpmudev-toggle--box").append(a.el)}})})}(jQuery);