{"version":3,"sources":["master.js","InFlight.xamarin.js","getApps.js","jquery-compare-passwords.js","jquery-password-strength.js","smartResize.js","tableFilter.js"],"names":["commonCleanUp","errorInputs","document","querySelectorAll","errorText","$","html","i","length","addClass","initHeaderWithBreadCrumb","title","attr","show","text","initDatePickers","each","$this","this","datepicker","orientation","autoclose","dateVal","val","initCollapsiblePanels","off","on","id","removeClass","optionCleanUp","$select","closest","data","outerHTML","remove","optionReset","optionTemplate","prepend","goToCase","thisCaseID","isnum","test","window","location","initResponsiveTables","table","find","j","$th","hasClass","t","replace","getMobileOperatingSystem","userAgent","navigator","vendor","opera","MSStream","addSessionSetting","sessionKey","sessionVal","sessionStorage","setItem","showAppLinkIfBrowser","InFlight","xamarin","isXamarinReady","then","os","$popOver","append","slideDown","e","preventDefault","slideUp","getQueryParameterByName","name","url","href","regex","RegExp","results","exec","decodeURIComponent","htmlTrim","str","processPartialContent","conditionalObject","ignoreKeys","ignoreHiddenKeys","CaptureResults","JSON","stringify","Object","keys","cachedFullResponse","parse","getItem","partialKeys","key","indexOf","ihkObject","Properties","hidden","captureResponse","formContainsMarkup","hasMarkup","parent","modal","appAvailable","pollingInterval","pollingTimeout","awaitingLoginResponse","_isLegacyApp","_legacyNativeCall","Promise","resolve","reject","timeSpent","interval","setInterval","xamarinAllCallbacksReady","clearInterval","handlePrinting","print","xamarinPrintPage","login","user","pass","xamarinLogin","encodeURIComponent","awaitLoginSuccess","loginSuccess","status","undefined","xamarinLoginSuccess","loginReady","xamarinLoginReady","showInViewer","path","xamarinFileViewer","openExternal","application","xamarinOpenExternal","hasBioAuth","xamarinHasBioAuth","resetBioAuth","xamarinResetBioAuth","sendAppLink","description","xid","xamarinAppLink","payload","isAppAvailable","isAndroid","jQuery","priorityNavList","_getAppsOnSrcPage","psp","baseUrlProp","uri","src","content","fn","targetUrl","NLX","Cfg","Customer","getAppsUrl","myconfig","targetVerb","followProposedTemplate","showLoading","manualRequestObj","Lbl","Src","Data","Children","callback","menuItems","element","push","InFlightDC","init","_getAppsOnSrcPages","srcPages","srcPageRequestsCompleted","enabledAppsOnSrcPages","srcPage","merge","_isItemEnabledOnSrcPage","item","appsEnabledOnSrcPage","priorityNav","_getAppsThatAreEnabled","apps","app","items","grep","deferred","getApps","_callback","sessionStorageKey","loggedIn","result","tmp","removeItem","cachedResult","parsedResult","getJSON","getAppsJson","done","_resultHelper","adminCenterApps","countPSA","nonPSAItems","index","psa","appsEnabledOnSrcPages","fail","passwordStatus","password_Compare","compareNewAndConfirmPasswords","password","comparePassword","checkPassword","textbox","container","confirmPasswordRequiredField","newPasswordId","passwordVal","css","display","msg","password_compare","confirmPassword","metReq","after","keyup","password_Strength","countRegExp","regx","match","String","prototype","hasSpecifiedUniqueChars","specifiedUniqueCount","temp","uniqueCount","c","substr","getStrengthInfo","len","pStrength","numberRequirements","inValidChars","allowableSpecialChars","password_settings","specialChars","nums","lowers","uppers","specials","spaces","minLength","numberLength","specialLength","upperLength","lowerLength","maxLength","barWidth","barColor","fourUniqueCharsExpr","metRequirement","useMultipleColors","password_strength","newPasswordRequiredField","passIndi","msgNstrength","msgNstrength_array","split","strengthPercent","parseInt","className","lastIndexOf","substring","NLXFramed","checkDocumentHeight","newHeight","timer","lastHeight","outerHeight","run","setTimeout","support","cors","ajaxSetup","cache","isLoggedIn","hide","IFT","navbar","before","aside","sticky","context","link","template","class","icon","sidebar","scrollLock","closable","transition","dimPage","onHide","onVisible","accordion","exclusive","p","pathname","parents","prev","self","top","sendSizeMsg","$errorInputs","first","focus","setDefaults","getNLXDefaults","$special","resizeTimeout","$event","event","special","debouncedresize","setup","handler","teardown","execAsap","args","arguments","dispatch","type","apply","clearTimeout","threshold","extend","filterTable","search","toLowerCase","target","$target","$rows","size","col_count","no_results","tooltip"],"mappings":"AA4GA,QAAAA,iBAKA,IAAA,GAHAC,GAAAC,SAAAC,iBAAA,sBACAC,EAAAC,EAAA,gBAAAC,OAEAC,GADAH,GAAAA,EAAAI,OAAA,EACA,GAAAD,EAAAN,EA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AnT,KAAA,SAAAwB,OAAA+R,WAOAhW,EAAA,0BAAAwV,eACAlM,QAEAtJ,EAAA,WAEAA,EAAA,0BAAAwV,cAaAxV,EAAA,2BAAAiW","file":"app.min.js","sourcesContent":["var NLXFramed = false;\n\n\n$(function () {\n $.support.cors = true;\n $.ajaxSetup({ cache: true });\n\n InFlight.NLX.Cfg.Customer.getApps(function (data) {\n\n if (!sessionStorage.isLoggedIn || sessionStorage.isLoggedIn == \"false\") {\n $(\"#loadingContainer\").show();\n $(\"#header\").hide();\n }\n\n $(\"#header\").html(IFT.navbar(data));\n $(\"#loading\").before(IFT.aside(data));\n $(\".sticky\").sticky({\n context: 'body'\n });\n\n //iOS (specifically safari) has issues with focused items misplacing fixed position elements\n //this sets those elements to absolute until the focus is removed \n if (getMobileOperatingSystem() === \"iOS\") {\n $('body').off('focus', 'input, select, textarea').on('focus', 'input, select, textarea', function () {\n $(\"#navbar\").addClass(\"input-focus-fix\");\n });\n\n $('body').off('blur', 'input, select, textarea').on('blur', 'input, select, textarea', function () {\n $(\"#navbar\").removeClass(\"input-focus-fix\");\n });\n }\n\n if (data && data.priorityNav) {\n $.each(data.priorityNav, function (index, item) {\n var link = $(\"\", {\n href: item.template,\n class: \"theme item orange padding-left-15 padding-right-15\",\n html: \"\"\n });\n\n $(\"#navbar .right.menu\").prepend(link);\n });\n }\n\n });\n\n $(document).on('click', '#launch', function () {\n $('.ui.sidebar').sidebar({\n scrollLock: true,\n closable: true,\n transition: 'overlay',\n dimPage: false,\n onHide: function () {\n $('#hamburgerToggle').removeClass(\"is-active\");\n },\n onVisible: function () {\n $('#hamburgerToggle').addClass(\"is-active\");\n }\n })\n .sidebar('toggle');\n $('aside .ui.accordion').accordion({\n exclusive: true\n });\n var p = window.location.pathname;\n p = p.replace(\"#\", \"\");\n $('aside .accordion .menu .item[href=\"' + p + '\"]').addClass('active');\n $('aside .accordion .menu .item[href=\"' + p + '\"]').parent().css('opacity', '1');\n $('aside .accordion .menu .item[href=\"' + p + '\"]').parents('.content').addClass('active');\n $('aside .accordion .menu .item[href=\"' + p + '\"]').parents('.content').prev().addClass('active');\n $(\".sticky\").sticky({\n context: 'body'\n })\n .sticky('refresh');\n });\n\n //added to autodetect if in a frame or not.\n if (window.self !== window.top) {\n $(\"hostType\").attr(\"data-if-framed\", \"true\")\n NLXFramed = true;\n }\n\n if ($(\"#hostType\").attr(\"data-if-framed\") == \"true\") {\n $(\".frameswitch\").css(\"display\", \"none\");\n checkDocumentHeight(sendSizeMsg);\n }\n\n function checkDocumentHeight(callback) {\n var lastHeight = $(\"body\").outerHeight(), newHeight, timer;\n (function run() {\n newHeight = $(\"body\").outerHeight();\n if (lastHeight != newHeight)\n callback(newHeight);\n lastHeight = newHeight;\n timer = setTimeout(run, 100);\n })();\n }\n\n $(\"#popupMessageModal\").on(\"hidden.bs.modal\", function () {\n $(\"#popupMessageTitle,#popupMessageContent\").text('');\n var $errorInputs = $(\".PSERROR\");\n if ($errorInputs.length) {\n $errorInputs.first().focus();\n }\n });\n\n InFlight.NLX.Cfg.setDefaults(InFlight.NLX.Cfg.Customer.getNLXDefaults());\n});\n\nfunction commonCleanUp() {\n //add error className to inputs to outline them in red\n var errorInputs = document.querySelectorAll(\"[tmpclass=PSERROR]\");\n var errorText = $(\"#error_items\").html();\n var isError = (errorText && errorText.length > 0);\n for (var i = 0; i < errorInputs.length; i++) {\n $(errorInputs[i]).addClass(\"PSERROR\");\n }\n}\n\nfunction initHeaderWithBreadCrumb(title) {\n // set up navigation depending if in iframe\n if ($(\"#hostType\").attr(\"data-if-framed\") != \"true\") {\n $(\"#header\").show();\n $(\"#breadcrumb\").html(title);\n $(\".breadcrumb .active\").text(title);\n $(\".breadcrumb\").show();\n }\n}\n\nfunction initDatePickers() {\n $(\"input[data-bstype=date]\").each(function () {\n var $this = $(this);\n $this.datepicker({ orientation: 'auto', autoclose: true });\n var dateVal = $this.val();\n if (dateVal) {\n $this.datepicker('update', dateVal);\n }\n });\n}\n\nfunction initCollapsiblePanels() {\n //handles collapsable panels chevron position\n $('.collapse').off('hide.bs.collapse').on('hide.bs.collapse', function () {\n var id = $(this).attr(\"id\");\n $(\"[aria-controls='\" + id + \"'] i\").removeClass('fa-chevron-up').addClass('fa-chevron-down');\n }).off('show.bs.collapse').on('show.bs.collapse', function () {\n var id = $(this).attr(\"id\");\n $(\"[aria-controls='\" + id + \"'] i\").addClass('fa-chevron-up').removeClass('fa-chevron-down');\n });\n}\n\nfunction optionCleanUp() {\n //remove hidden options (for IE and iOS, which render them anyway)\n $('option.if-hide').each(function () {\n $this = $(this);\n $select = $this.closest('select');\n\n $select.data(\"if-option-template\", $this[0].outerHTML);\n $this.remove();\n });\n}\n\nfunction optionReset() {\n $('select').each(function () {\n var $this = $(this);\n var optionTemplate = $this.data('if-option-template');\n if (optionTemplate) {\n $this.prepend(optionTemplate);\n }\n });\n}\n\n\nfunction goToCase(thisCaseID) {\n var isnum = /^\\d+$/.test(thisCaseID);\n\n if (thisCaseID.length == 0) {\n return 'Please enter a Case ID';\n } else if (thisCaseID.length > 15) {\n return 'The Case ID you entered is incorrect.';\n } else if (isnum == false) {\n return 'The Case ID you entered is incorrect.
Case ID must be a numeric value.';\n } else {\n window.location = \"/pages/CaseSearch-BS3/manage-case.aspx?CASE_ID=\" + thisCaseID;\n }\n return false;\n}\n\n// we need to initialize the responsive table labels\nfunction initResponsiveTables() {\n // add the data-label attribute to all td using the text value of the associated th\n $('table.table-responsive').each(function (i) {\n var table = $(this);\n $(this).find('th').each(function (j) {\n var $th = $(this);\n if ($th.hasClass('show-mobile')) {\n var t = $th.text();\n t = t.replace(\"
\", \" \").replace(/ /gi, '');\n table.find('tr:not(.if-hide) td:nth-child(' + (j + 1) + ')').attr('data-label', t);\n }\n });\n });\n}\n\nfunction getMobileOperatingSystem() {\n var userAgent = navigator.userAgent || navigator.vendor || window.opera;\n\n // Windows Phone must come first because its UA also contains \"Android\"\n if (/windows phone/i.test(userAgent)) {\n return \"Windows Phone\";\n }\n\n if (/android/i.test(userAgent)) {\n return \"Android\";\n }\n\n if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {\n return \"iOS\";\n }\n\n return \"unknown\";\n}\n\n// Allows native application to set session variables\nfunction addSessionSetting(sessionKey, sessionVal) {\n if (sessionKey && sessionVal) {\n sessionStorage.setItem(sessionKey, sessionVal);\n }\n}\n\nfunction showAppLinkIfBrowser() {\n\n InFlight.xamarin.isXamarinReady().then(function () {\n // success\n }, function () {\n var os = getMobileOperatingSystem();\n if (os != \"Android\" && os != \"iOS\") {\n return;\n }\n var html = '
' +\n '
' +\n '' +\n 'Click the icon to download or launch the app' +\n '
' +\n '×' +\n '
';\n var $popOver = $(html);\n\n $(\".container\").append($popOver);\n $popOver.slideDown(300);\n $(document).off().on(\"click\", \".app-close\", function (e) {\n e.preventDefault();\n $popOver.slideUp(300);\n });\n });\n\n}\n\nfunction getQueryParameterByName(name, url) {\n if (!url) url = window.location.href;\n name = name.replace(/[\\[\\]]/g, \"\\\\$&\");\n var regex = new RegExp(\"[?&]\" + name + \"(=([^&#]*)|&|#|$)\"),\n results = regex.exec(url);\n if (!results) return null;\n if (!results[2]) return '';\n return decodeURIComponent(results[2].replace(/\\+/g, \" \"));\n}\n\nfunction htmlTrim(str) {\n return str.replace(/(?: |\\s)/g, '');\n}\n\nfunction processPartialContent(data, sessionKey,conditionalObject, ignoreKeys, ignoreHiddenKeys) {\n if (data && data.CaptureResults && sessionKey) {\n if (conditionalObject) {\n sessionStorage.setItem(sessionKey, JSON.stringify(data.CaptureResults));\n } else if (Object.keys(data.CaptureResults).length) {\n var cachedFullResponse = JSON.parse(sessionStorage.getItem(sessionKey));\n var partialKeys = Object.keys(data.CaptureResults);\n for (var i in partialKeys) {\n var key = partialKeys[i];\n if (ignoreKeys && ignoreKeys.indexOf(key) > -1) {\n continue;\n } else if (ignoreHiddenKeys && ignoreHiddenKeys.indexOf(key) > -1) {\n var ihkObject = data.CaptureResults[key];\n if (ihkObject[0].Properties.hidden) {\n continue;\n }\n }\n var captureResponse = data.CaptureResults[key];\n cachedFullResponse[key] = captureResponse;\n }\n data.CaptureResults = cachedFullResponse;\n sessionStorage.setItem(sessionKey, JSON.stringify(data.CaptureResults));\n }\n }\n return data;\n};\n\nfunction formContainsMarkup() {\n var hasMarkup = false;\n $(\"input:text, textarea\").each(function () {\n if (/<[a-z/][\\s\\S]*>/i.test($(this).val())) {\n // we have some sort of markup in this field\n $(this).parent().addClass(\"has-error markup-error\");\n $(\"#popupMessageContent\").html(\"HTML markup is not allowed. If you need to include markup, please consider using an attachment.

Remove HTML markup to continue.\")\n $('#popupMessageModal').modal(\"show\");\n hasMarkup = true;\n } else {\n $(this).parent('.markup-error').removeClass(\"has-error markup-error\");\n }\n });\n return hasMarkup;\n}\n","var InFlight = InFlight || {};\n\nInFlight.xamarin = (function () {\n // Polling settings (in milliseconds) for when verifying if the xamarin app exists in isXamarinAvailable\n var pollingInterval = 100;\n var pollingTimeout = 4500;\n\n var appAvailable;\n var awaitingLoginResponse = false;\n\n var _isLegacyApp = function () {\n return !!sessionStorage.getItem('supportApp');\n }\n\n var _legacyNativeCall = function (url) {\n window.location.href = url;\n }\n\n var isXamarinReady = function () {\n return new Promise(function (resolve, reject) {\n var timeSpent = 0;\n var interval = setInterval(function() {\n timeSpent += pollingInterval;\n if (typeof window.xamarinAllCallbacksReady === \"function\" || _isLegacyApp()) {\n appAvailable = true;\n clearInterval(interval);\n resolve();\n }\n else if (timeSpent >= pollingTimeout) {\n appAvailable = false;\n clearInterval(interval);\n reject();\n }\n }, pollingInterval);\n }); \n }\n\n var handlePrinting = function () {\n isXamarinReady().then(function () {\n window.print = function () {\n if (typeof window.xamarinPrintPage === \"function\") {\n window.xamarinPrintPage();\n } else if (_isLegacyApp()) {\n _legacyNativeCall(\"jhasupport://printpage.cmd\");\n }\n return;\n }\n });\n }\n\n var login = function(user, pass) {\n if (typeof window.xamarinLogin === \"function\") {\n window.xamarinLogin(JSON.stringify({\n user: user,\n pass: pass\n }));\n awaitingLoginResponse = true;\n } else if (_isLegacyApp()) {\n user = encodeURIComponent(user);\n pass = encodeURIComponent(pass);\n _legacyNativeCall(\"jhasupport://logincred.cmd?user=\"+user+\"&pass=\"+pass);\n }\n } \n\n var awaitLoginSuccess = function() {\n if (awaitingLoginResponse) {\n loginSuccess(true, '', '');\n awaitingLoginResponse = false;\n }\n }\n\n var loginSuccess = function(status, user, pass) {\n user = (user === undefined) ? '' : user;\n pass = (pass === undefined) ? '' : pass;\n if (typeof window.xamarinLoginSuccess === \"function\") {\n window.xamarinLoginSuccess(JSON.stringify({\n user: user,\n pass: pass,\n status: status\n }));\n } else if (_isLegacyApp()) {\n _legacyNativeCall(\"jhasupport://loginstatus.cmd?success=\"+status);\n }\n } \n\n var loginReady = function() {\n if (typeof window.xamarinLoginReady === \"function\") {\n window.xamarinLoginReady('true');\n } else if (_isLegacyApp()) {\n _legacyNativeCall(\"jhasupport://loginready.cmd\"); \n }\n }\n\n var showInViewer = function(path) {\n if (typeof window.xamarinFileViewer === \"function\" && path) {\n window.xamarinFileViewer(path);\n }\n }\n\n var openExternal = function(url, application) {\n if (typeof window.xamarinOpenExternal === \"function\" && url) {\n if (!application) {\n application = 'browser';\n }\n window.xamarinOpenExternal(JSON.stringify({\n url: url,\n application: application\n }));\n } \n } \n \n var hasBioAuth = function() {\n if (typeof window.xamarinHasBioAuth === \"function\") {\n return true;\n } else if (sessionStorage.getItem(\"availFingerprintAuthentication\")) {\n return true;\n } else {\n return false;\n }\n }\n\n var resetBioAuth = function() {\n if (typeof window.xamarinResetBioAuth === \"function\") {\n window.xamarinResetBioAuth(\"true\");\n } else if (_isLegacyApp()) {\n _legacyNativeCall(\"jhasupport://resetfingerauth.cmd\");\n }\n } \n\n var sendAppLink = function(title, description, xid) {\n if (typeof window.xamarinAppLink === \"function\") {\n var payload = {\n title: title,\n description: description,\n xid: xid,\n url: window.location.href\n };\n window.xamarinAppLink(JSON.stringify(payload));\n }\n } \n\n var isAppAvailable = function() {\n if (appAvailable !== undefined) {\n return appAvailable;\n } else {\n return (typeof window.xamarinAllCallbacksReady === \"function\");\n }\n }\n\n var isAndroid = function () {\n var userAgent = navigator.userAgent || navigator.vendor || window.opera;\n if (/android/i.test(userAgent)) {\n return true;\n }\n return false; \n }\n\n return {\n isXamarinReady: isXamarinReady,\n login: login,\n loginSuccess: loginSuccess,\n awaitLoginSuccess: awaitLoginSuccess,\n loginReady: loginReady,\n showInViewer: showInViewer,\n openExternal: openExternal,\n hasBioAuth: hasBioAuth,\n resetBioAuth: resetBioAuth,\n sendAppLink: sendAppLink,\n handlePrinting: handlePrinting,\n isAppAvailable: isAppAvailable,\n isAndroid: isAndroid\n };\n})();\n","(function (jQuery) {\n \"use strict\";\n\n var $ = jQuery;\n var priorityNavList = [];\n\n var _getAppsOnSrcPage = function (psp, baseUrlProp, uri, src, content, fn) {\n var targetUrl = InFlight.NLX.Cfg.Customer.getAppsUrl(baseUrlProp) + uri;\n targetUrl = (psp) ? targetUrl.replace(\"psc\", \"psp\") : targetUrl;\n var myconfig = {\n targetUrl: targetUrl,\n targetVerb: \"GET\",\n followProposedTemplate: false,\n showLoading: false,\n manualRequestObj: [\n { \"Lbl\": \"menuItems\", \"Src\": src, \"Data\": content, \"Children\": [] }\n ],\n callback: function (data) {\n if (!data || !data.CaptureResults || !data.CaptureResults.menuItems || !data.CaptureResults.menuItems.length) {\n fn([]);\n } else {\n var keys = [];\n $.each(data.CaptureResults.menuItems, function (i, element) {\n if(element.Properties.key) {\n keys.push(element.Properties.key);\n }\n });\n fn(keys);\n }\n }\n };\n\n InFlightDC.init(myconfig);\n };\n\n var _getAppsOnSrcPages = function (srcPages, fn) {\n var srcPageRequestsCompleted = 0;\n var enabledAppsOnSrcPages = [];\n $.each(srcPages, function (i, srcPage) {\n _getAppsOnSrcPage(srcPage.psp, srcPage.baseUrlProp, srcPage.uri, srcPage.src, srcPage.content, function (keys) {\n srcPageRequestsCompleted++;\n //flatten the list for easier searching later\n $.merge(enabledAppsOnSrcPages, keys);\n\n if (srcPageRequestsCompleted === srcPages.length) {\n fn(enabledAppsOnSrcPages);\n }\n });\n });\n };\n\n var _isItemEnabledOnSrcPage = function (item, appsEnabledOnSrcPage) {\n for (var i = 0; i < appsEnabledOnSrcPage.length; i++) {\n if (appsEnabledOnSrcPage[i].indexOf(item.key) > -1 || item.pass) {\n if (item.priorityNav) {\n priorityNavList.push(item);\n }\n return true;\n }\n }\n return false;\n };\n\n var _getAppsThatAreEnabled = function (apps, appsEnabledOnSrcPage) {\n $.each(apps, function (i, app) {\n app.items = $.grep(app.items, function (item, i) {\n return _isItemEnabledOnSrcPage(item, appsEnabledOnSrcPage);\n });\n });\n\n apps = $.grep(apps, function (app, i) {\n return app.items && app.items.length > 0;\n });\n\n return apps;\n };\n\n var deferred = [];\n\n InFlight.NLX.Cfg.Customer.getApps = function (_callback) {\n var sessionStorageKey = \"__getAppsResult__\";\n var loggedIn = (sessionStorage.getItem(\"isLoggedIn\") === \"true\");\n\n var callback = function (result) {\n var tmp = deferred;\n deferred = [];\n $.each(tmp, function (i, fn) {\n fn(result);\n });\n };\n\n deferred.push(_callback);\n if (deferred.length > 1) {\n return;\n }\n\n if (!loggedIn) {\n void 0;\n sessionStorage.removeItem(sessionStorageKey);\n callback(null);\n return;\n } \n\n var cachedResult = sessionStorage.getItem(sessionStorageKey);\n\n if (cachedResult) {\n var parsedResult = JSON.parse(cachedResult);\n if (parsedResult !== null) {\n void 0;\n callback(parsedResult);\n return;\n }\n }\n $.getJSON(InFlight.NLX.Cfg.Customer.getAppsJson())\n .done(function (data) {\n var _resultHelper = function (result) {\n //jha specific cleanup of product support authorizations\n //hides product support authorization section if both components are\n //not available.\n if (result && result.apps && result.apps.length > 1) {\n var adminCenterApps = result.apps[1];\n if (adminCenterApps.items) {\n var countPSA = 0;\n var nonPSAItems = [];\n $.each(adminCenterApps.items, function (index, item) {\n if (item.psa === true) {\n countPSA++;\n } else {\n nonPSAItems.push(item);\n }\n });\n if (countPSA < 2) {\n adminCenterApps.items = nonPSAItems;\n }\n } \n\n result.priorityNav = priorityNavList;\n }\n\n \n sessionStorage.setItem(sessionStorageKey, JSON.stringify(result));\n\n callback(result);\n };\n\n if (!data.srcPages || !data.srcPages.length) {\n void 0;\n _resultHelper(data);\n return;\n }\n\n _getAppsOnSrcPages(data.srcPages, function (appsEnabledOnSrcPages) {\n var result = { \"apps\": _getAppsThatAreEnabled(data.apps, appsEnabledOnSrcPages) };\n void 0;\n _resultHelper(result);\n });\n })\n .fail(function (data) {\n void 0;\n sessionStorage.removeItem(sessionStorageKey);\n callback(null);\n });\n };\n})(jQuery);\n","(function ($) {\n\n var passwordStatus = false;\n\n var password_Compare = new function () {\n\n this.compareNewAndConfirmPasswords = function (password, comparePassword) {\n\n if (password != comparePassword)\n return \"New and Confirm passwords do not match\";\n else\n return \"\";\n }\n\n this.checkPassword = function (textbox, container, confirmPasswordRequiredField, newPasswordId) {\n\n var passwordVal = textbox.val(); //get textbox value\n\n if (passwordVal.length > 0) {\n\n // hide required field validator\n confirmPasswordRequiredField.css({ display: 'none' });\n\n var msg = password_Compare.compareNewAndConfirmPasswords(passwordVal, newPasswordId.val());\n container.html(\"\" + msg + \"\");\n container.css(\"display\", \"inline-block\"); //show\n passwordStatus = msg.length == 0;\n }\n else {\n container.html('');\n container.css(\"display\", \"none\"); //hide\n }\n }\n }\n \n $.fn.password_compare = function (confirmPassword, newPasswordId, confirmPasswordRequiredField) {\n\n //check if passwords matched\n this.metReq = function () {\n\n // we can assume the control is already there\n var container = $(\"#compareNewAndConfirmPasswords\");\n\n password_Compare.checkPassword(confirmPassword, container, confirmPasswordRequiredField, newPasswordId);\n\n return passwordStatus;\n }\n \n return this.each(function () {\n \n //password indicator text container\n var container = $(\"#compareNewAndConfirmPasswords\");\n\n if (container.length == 0) {\n container = $('');\n }\n \n //add the container next to textbox\n $(this).after(container);\n\n $(this).keyup(function () {\n password_Compare.checkPassword($(this), container, confirmPasswordRequiredField, newPasswordId);\n });\n });\n };\n\n})(jQuery);","/*\nPassword Strength Indicator using jQuery and XML\n\nBy: Bryian Tan (bryian.tan at ysatech.com)\n01122011 - v01.01.00\n\nResources:\nhttp://fyneworks.blogspot.com/2007/04/dynamic-regular-expressions-in.html\nhttp://projects.sharkmediallc.com/pass/\nhttp://docs.jquery.com/Plugins/Authoring\nhttp://stackoverflow.com/questions/1034306/public-functions-from-within-a-jquery-plugin\n*/\n/*\nThis was modified extensively, but is based on the above author's implementation\n*/\n\n(function ($) {\n\n var password_Strength = new function () {\n\n //return count that match the regular expression\n this.countRegExp = function (passwordVal, regx) {\n var match = passwordVal.match(regx);\n return match ? match.length : 0;\n }\n\n /*\n This method will check to see if the string has the amount of unique characters specified\n */\n String.prototype.hasSpecifiedUniqueChars = function (specifiedUniqueCount) {\n var temp = '';\n var uniqueCount = 0;\n\n for (var index = 0; index < this.length; index++) {\n var c = this.substr(index, 1);\n if (temp.indexOf(c) > -1) {\n uniqueCount--;\n }\n else {\n uniqueCount++;\n temp += c;\n }\n //if (uniqueCount >= specifiedUniqueCount) break;\n }\n\n return (uniqueCount >= specifiedUniqueCount);\n }\n\n /*\n This method will compare (in groups of 3 characters) the username with the password.\n If we have a match of 4 chars, then we need to tell the user because this isn't\n compliant with our password rules in AD\n */\n //this.doesPasswordContainUserID = function (password) {\n // var username = $(\"#ContentPlaceHolder1_userID\").text();\n // var consecutiveCharLength = 3;\n\n // if (password.length >= consecutiveCharLength) {\n // for (var userIndex = 0; userIndex <= (username.length - consecutiveCharLength); userIndex++) {\n // var userSegment = username.substr(userIndex, consecutiveCharLength);\n // for (var pwdIndex = 0; pwdIndex <= (password.length - consecutiveCharLength); pwdIndex++) {\n // var pwdSegment = password.substr(pwdIndex, consecutiveCharLength);\n // if (userSegment.toLowerCase() == pwdSegment.toLowerCase()) {\n // return true;\n // }\n // }\n // }\n // }\n // return false;\n //}\n\n this.getStrengthInfo = function (passwordVal) {\n var len = passwordVal.length;\n var pStrength = 0; //password strength\n var numberRequirements = 0; //3 of four category requirements needed\n //var hasUniqueChars = true;\n var msg = \"\", inValidChars = \"\"; //message\n\n //get special characters from xml file\n var allowableSpecialChars = new RegExp(\"[\" + password_settings.specialChars + \"]\", \"g\")\n\n var nums = this.countRegExp(passwordVal, /\\d/g), //numbers\n\t\t\tlowers = this.countRegExp(passwordVal, /[a-z]/g), //lower case\n\t\t\tuppers = this.countRegExp(passwordVal, /[A-Z]/g), //upper case\n\t\t\tspecials = this.countRegExp(passwordVal, allowableSpecialChars), //special characters\n\t\t\tspaces = this.countRegExp(passwordVal, /\\s/g);\n\n //check for invalid characters\n inValidChars = passwordVal.replace(/[a-z]/gi, \"\") + inValidChars.replace(/\\d/g, \"\");\n inValidChars = inValidChars.replace(/\\d/g, \"\");\n inValidChars = inValidChars.replace(allowableSpecialChars, \"\");\n\n //check space\n if (spaces > 0) {\n return \"No spaces!\";\n }\n\n //invalid characters\n if (inValidChars !== '') {\n return \"Invalid character: \" + inValidChars;\n }\n\n //check cataegory requirements (need 3 of 4)\n if (nums > 0) { numberRequirements += 1; }\n if (lowers > 0) { numberRequirements += 1; }\n if (uppers > 0) { numberRequirements += 1; }\n if (specials > 0) { numberRequirements += 1; }\n\n //Must start with a letter\n //var firstChar = passwordVal.length > 0 ? passwordVal.substr(0, 1) : '';\n //if ((nums > 0 && this.countRegExp(firstChar, /\\d/g) > 0) || (specials > 0 && this.countRegExp(firstChar, allowableSpecialChars) > 0)) {\n // return \"Must start with a letter\";\n //}\n\n //check against userid\n //if (this.doesPasswordContainUserID(passwordVal)) {\n // return \"Cannot contain more than 3 consecutive characters within your user name\";\n //}\n\n\n //must contain at least 4 unique characters\n //if ((specials + uppers + nums + lowers) > 3 && !passwordVal.hasSpecifiedUniqueChars(4)) {\n // return \"Must have at least 4 unique characters\";\n //\thasUniqueChars = false;\n //}\n\n msg += \"Remaining: \";\n\n //GET NUMBER OF CHARACTERS left\n if ((specials + uppers + nums + lowers) < password_settings.minLength) {\n msg += password_settings.minLength - (specials + uppers + nums + lowers) + \" character(s), \";\n }\n\n //GET NUMBERS\n if ((nums >= password_settings.numberLength) || (numberRequirements >= 3)) {\n nums = password_settings.numberLength;\n }\n else {\n msg += (password_settings.numberLength - nums) + \" number, \";\n }\n\n //special characters\n if ((specials >= password_settings.specialLength) || (numberRequirements >= 3)) {\n specials = password_settings.specialLength\n }\n else {\n msg += (password_settings.specialLength - specials) + \" symbol, \";\n }\n\n //upper case letter\n if ((uppers >= password_settings.upperLength) || (numberRequirements >= 3)) {\n uppers = password_settings.upperLength\n }\n else {\n msg += (password_settings.upperLength - uppers) + \" Upper case character, \";\n }\n\n //lower case letter\n if ((lowers >= password_settings.lowerLength) || (numberRequirements >= 3)) {\n lowers = password_settings.lowerLength\n }\n else {\n msg += (password_settings.lowerLength - lowers) + \" Lower case character, \";\n }\n\n //strength for length\n if ((len - (uppers + lowers + specials + nums)) >= (password_settings.minLength - password_settings.numberLength - password_settings.specialLength - password_settings.upperLength - password_settings.lowerLength)) {\n pStrength += (password_settings.minLength - password_settings.numberLength - password_settings.specialLength - password_settings.upperLength - password_settings.lowerLength);\n }\n else {\n pStrength += (len - (uppers + lowers + specials + nums));\n }\n\n //password strength\n pStrength += uppers + lowers + specials + nums;\n\n //detect missing lower case character\n //if (lowers === 0) {\n // if (pStrength > 1) {\n // pStrength -= 1; //Reduce 1\n // }\n // msg += \"1 lower case character, \";\n //}\n\n //strong password\n if (pStrength == password_settings.minLength && numberRequirements >= 3) {\n msg = \"Password requirements met\";\n }\n\n return msg + ';' + pStrength;\n }\n }\n\n //default setting\n var password_settings = {\n minLength: 8,\n maxLength: 16,\n specialLength: 1,\n upperLength: 1,\n lowerLength: 1,\n numberLength: 1,\n barWidth: 220,\n barColor: 'green',\n specialChars: \"!@#$%)(_+^}{:?.~',;*\", //allowable special characters\n fourUniqueCharsExpr: '',\n metRequirement: false,\n useMultipleColors: 1\n };\n\n //password strength plugin \n $.fn.password_strength = function (newPasswordRequiredField) {\n\n //check if password met requirement\n this.metReq = function () {\n return password_settings.metRequirement;\n }\n\n return this.each(function () {\n\n //bar border and indicator div\n var passIndi = $('
');\n\n //add the boder and div\n $(this).after(passIndi);\n\n var container = $(\"#strengthContainer\");\n\n $(this).keyup(function () {\n\n var passwordVal = $(this).val(); //get textbox value\n\n //set met requirement to false\n password_settings.metRequirement = false;\n\n if (passwordVal.length > 0) {\n\n // hide required field validator\n newPasswordRequiredField.css({ display: 'none' });\n\n var msgNstrength = password_Strength.getStrengthInfo(passwordVal);\n\n var msgNstrength_array = msgNstrength.split(\";\"), strengthPercent = 0,\n barWidth = password_settings.barWidth, backColor = password_settings.barColor;\n\n //calculate the bar indicator length\n if (msgNstrength_array.length > 1) {\n strengthPercent = (msgNstrength_array[1] / password_settings.minLength) * barWidth;\n }\n\n $(\"#PasswordStrengthBorder\").css('display', 'inline-block');\n\n //use multiple colors\n if (password_settings.useMultipleColors == 1) {\n //first 33% is red\n if (parseInt(strengthPercent) >= 0 && parseInt(strengthPercent) <= (barWidth * .33)) {\n className = \"WeakPassword\";\n }\n //33% to 66% is blue\n else if (parseInt(strengthPercent) >= (barWidth * .33) && parseInt(strengthPercent) <= (barWidth * .67)) {\n className = \"MediumPassword\";\n }\n else {\n className = \"StrongPassword\";\n }\n }\n\n $(\"#PasswordStrengthBar\").css('width', strengthPercent);\n $(\"#PasswordStrengthBar\").attr(\"class\", className);\n\n //remove last \",\" character\n if (msgNstrength_array[0].lastIndexOf(\",\") !== -1) {\n container.html(\"\" + msgNstrength_array[0].substring(0, msgNstrength_array[0].length - 2) + \"\");\n }\n else {\n container.html(\"\" + msgNstrength_array[0] + \"\");\n }\n\n if (strengthPercent == barWidth) {\n password_settings.metRequirement = true;\n }\n }\n else {\n container.html('');\n $(\"#PasswordStrengthBorder\").css(\"display\", \"none\"); //hide\n }\n });\n });\n };\n\n})(jQuery);","/*\n * debouncedresize: special jQuery event that happens once after a window resize\n *\n * latest version and complete README available on Github:\n * https://github.com/louisremi/jquery-smartresize\n *\n * Copyright 2012 @louis_remi\n * Licensed under the MIT license.\n *\n * This saved you an hour of work? \n * Send me music http://www.amazon.co.uk/wishlist/HNTU0468LQON\n */\n(function($) {\n\nvar $event = $.event,\n\t$special,\n\tresizeTimeout;\n\n$special = $event.special.debouncedresize = {\n\tsetup: function() {\n\t\t$( this ).on( \"resize\", $special.handler );\n\t},\n\tteardown: function() {\n\t\t$( this ).off( \"resize\", $special.handler );\n\t},\n\thandler: function( event, execAsap ) {\n\t\t// Save the context\n\t\tvar context = this,\n\t\t\targs = arguments,\n\t\t\tdispatch = function() {\n\t\t\t\t// set correct event type\n\t\t\t\tevent.type = \"debouncedresize\";\n\t\t\t\t$event.dispatch.apply( context, args );\n\t\t\t};\n\n\t\tif ( resizeTimeout ) {\n\t\t\tclearTimeout( resizeTimeout );\n\t\t}\n\n\t\texecAsap ?\n\t\t\tdispatch() :\n\t\t\tresizeTimeout = setTimeout( dispatch, $special.threshold );\n\t},\n\tthreshold: 150\n};\n\n})(jQuery);","/**\n* I don't recommend using this plugin on large tables, I just wrote it to make the demo useable. It will work fine for smaller tables \n* but will likely encounter performance issues on larger tables.\n*\n*\t\t\n*\t\t$(input-element).filterTable()\n*\t\t\n*\tThe important attributes are 'data-action=\"filter\"' and 'data-filters=\"#table-selector\"'\n*/\n(function(){\n 'use strict';\n\tvar $ = jQuery;\n\t$.fn.extend({\n\t\tfilterTable: function(){\n\t\t\treturn this.each(function(){\n\t\t\t\t$(this).on('keyup', function(e){\n\t\t\t\t\t$('.filterTable_no_results').remove();\n\t\t\t\t\tvar $this = $(this), search = $this.val().toLowerCase(), target = $this.attr('data-filters'), $target = $(target), $rows = $target.find('tbody tr');\n\t\t\t\t\tif(search == '') {\n\t\t\t\t\t\t$rows.show();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$rows.each(function(){\n\t\t\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\t\t\t$this.text().toLowerCase().indexOf(search) === -1 ? $this.hide() : $this.show();\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif($target.find('tbody tr:visible').size() === 0) {\n\t\t\t\t\t\t\tvar col_count = $target.find('tr').first().find('td').size();\n\t\t\t\t\t\t\tvar no_results = $('No results found')\n\t\t\t\t\t\t\t$target.find('tbody').append(no_results);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t});\n\t$('[data-action=\"filter\"]').filterTable();\n})(jQuery);\n\n$(function(){\n // attach table filter plugin to inputs\n\t$('[data-action=\"filter\"]').filterTable();\n\n/*\t\n\t$('.container').on('click', '.panel-heading span.filter', function(e){\n\t\tvar $this = $(this), \n\t\t\t\t$panel = $this.parents('.panel');\n\t\t\n\t\t$panel.find('.panel-body').slideToggle();\n\t\tif($this.css('display') != 'none') {\n\t\t\t$panel.find('.panel-body input').focus();\n\t\t}\n\t});\n*/\t\n\t$('[data-toggle=\"tooltip\"]').tooltip();\n}) "]}