(function fpa_scope($,Drupal,window,document){"use strict";var Fpa=function(context,settings){this.init(context,settings);return this};Fpa.prototype.selector={form:"#user-admin-permissions",table:"#permissions"};Fpa.prototype.init=function(context,settings){this.drupal_html_class_cache={};this.dom={};this.attr=settings.attr;this.filter_timeout=null;this.filter_timeout_time=0;this.module_match="*=";this.filter_selector_cache={"*=":{},"~=":{}};this.selector.table_base_selector=".fpa-table-wrapper tr["+this.attr.module+"]";this.selector.list_counter_selector=".fpa-perm-counter";this.selector.list_base_selector=".fpa-left-section li["+this.attr.module+"]";if(this.select(context)){this.prepare();this.authenticated_role_behavior()}};Fpa.prototype.styles={module_active_style:"{margin-right:-1px; background-color: white; border-right: solid 1px transparent;}"};Fpa.prototype.select=function(context){this.dom.context=$(context);this.dom.form=this.dom.context.find(this.selector.form);if(this.dom.form.length===0){return false}this.dom.container=this.dom.form.find(".fpa-container");this.dom.perm_style=this.dom.container.find(".fpa-perm-styles style").get(0);this.dom.role_style=this.dom.container.find(".fpa-role-styles style").get(0);this.dom.section_left=this.dom.container.find(".fpa-left-section");this.dom.section_right=this.dom.container.find(".fpa-right-section");this.dom.table_wrapper=this.dom.section_right.find(".fpa-table-wrapper");this.dom.table=this.dom.table_wrapper.find(this.selector.table);this.dom.module_list=this.dom.section_left.find("ul");this.dom.filter_form=this.dom.container.find(".fpa-filter-form");this.dom.filter=this.dom.filter_form.find('input[type="text"]');this.dom.role_select=this.dom.filter_form.find("select");this.dom.checked_status=this.dom.filter_form.find('input[type="checkbox"]');return true};Fpa.prototype.drupal_clean_css_identifier=function(str){return str.replace(/[ _\/\[]/g,"-").replace(/\]/g,"").replace(/[^\u002D\u0030-\u0039\u0041-\u005A\u005F\u0061-\u007A\u00A1-\uFFFF]/,"")};Fpa.prototype.drupal_html_class=function(str){if(this.drupal_html_class_cache[str]===undefined){this.drupal_html_class_cache[str]=this.drupal_clean_css_identifier(str.toLowerCase())}return this.drupal_html_class_cache[str]};Fpa.prototype.set_style=function(){if($('