jQuery(function(e){e("#namenewlist").attr("disabled","disabled"),e("#blocknewlist").hide(),e("#namenewlist").focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)}),e("#list0").click(function(){this.checked?(e("#namenewlist").removeAttr("disabled"),e("#blocknewlist").fadeIn().prev().find("span").hide()):(e("#namenewlist").attr("disabled","disabled"),e("#blocknewlist").fadeOut().prev().find("span").show())}),e(".create_extra").change(function(){var t=e(this).attr("id").replace("column-match-","column-match-date-wrap-");-1!=this.value.indexOf("new_field|date")?(e(e(this).attr("class").split(" ")).each(function(){""!==this&&-1!=this.indexOf("row-")&&e("span."+this).fadeIn()}),e("#"+t).fadeIn()):null!=e("#"+t)&&(e(e(this).attr("class").split(" ")).each(function(){""!==this&&-1!=this.indexOf("row-")&&e("span."+this).fadeOut()}),e("#"+t).fadeOut())}),jQuery(".match-dropdown select").matchColumn({defaultValue:"nomatch",showConfirmation:!0,confirmationMessage:wysijatrans.subscribers_import_match_confirmation_1+"\n"+wysijatrans.subscribers_import_match_confirmation_2,beforeResetColumn:function(t,e){"undefined"!=typeof jQuery.userStatusMapping&&"status"===t&&jQuery.userStatusMapping.changeFromUserStatus(e)},beforeChange:function(t,e){"undefined"!=typeof jQuery.userStatusMapping&&"status"===t&&jQuery.userStatusMapping.changeFromUserStatus(e)}}),"undefined"!=typeof wysijatrans.userStatuses&&jQuery(".match-dropdown select").userStatusMapping({defaultValue:"status",dataElement:".imported-field",statuses:wysijatrans.userStatuses})});