var WPFormsBuilderLite=window.WPFormsBuilderLite||((e,i,o)=>{let t={init(){o(t.ready)},ready(){t.bindUIActions()},bindUIActions(){o(e).on("change","#wpforms-panel-field-settings-notification_enable",function(){t.formBuilderNotificationAlert(o(this).is(":checked"))})},formBuilderNotificationAlert(e){!1===e&&o.alert({title:wpforms_builder.heads_up,content:wpforms_builder_lite.disable_notifications,icon:"fa fa-exclamation-circle",type:"orange",buttons:{confirm:{text:wpforms_builder.ok,btnClass:"btn-confirm",keys:["enter"]}}})},initCouponsChoicesJS(){"function"==typeof i.Choices&&o(".wpforms-field-option-row-allowed_coupons select:not(.choices__input)").each(function(){WPForms.Admin.Builder.UndoRedo?.preventRecord(!0);var e=o(this),i=new Choices(e.get(0),{shouldSort:!1,removeItemButton:!0,renderChoicesLimit:5,callbackOnInit(){wpf.showMoreButtonForChoices(this.containerOuter.element),WPForms.Admin.Builder.UndoRedo?.preventRecord("continue")}});e.data("choicesjs",i)})}};return t})(document,window,jQuery);WPFormsBuilderLite.init();