%PDF- %PDF-
Direktori : /var/www/projetos/admin.iigd.com.br/js/vendor/ |
Current File : /var/www/projetos/admin.iigd.com.br/js/vendor/zxcvbn-ts.js.map |
{"version":3,"file":"zxcvbn-ts.js","sources":["../src/helper.ts","../src/data/dateSplits.ts","../src/data/const.ts","../src/matcher/date/matching.ts","../../../../node_modules/fastest-levenshtein/index.js","../src/levenshtein.ts","../src/data/l33tTable.ts","../src/data/translationKeys.ts","../src/Options.ts","../src/matcher/dictionary/variants/matching/reverse.ts","../src/matcher/dictionary/variants/matching/l33t.ts","../src/matcher/dictionary/matching.ts","../src/matcher/regex/matching.ts","../src/scoring/utils.ts","../src/matcher/bruteforce/scoring.ts","../src/matcher/date/scoring.ts","../src/matcher/dictionary/variants/scoring/uppercase.ts","../src/matcher/dictionary/variants/scoring/l33t.ts","../src/matcher/dictionary/scoring.ts","../src/matcher/regex/scoring.ts","../src/matcher/repeat/scoring.ts","../src/matcher/sequence/scoring.ts","../src/matcher/spatial/scoring.ts","../src/scoring/estimate.ts","../src/scoring/index.ts","../src/matcher/repeat/matching.ts","../src/matcher/sequence/matching.ts","../src/matcher/spatial/matching.ts","../src/Matching.ts","../src/TimeEstimates.ts","../src/matcher/bruteforce/feedback.ts","../src/matcher/date/feedback.ts","../src/matcher/dictionary/feedback.ts","../src/matcher/regex/feedback.ts","../src/matcher/repeat/feedback.ts","../src/matcher/sequence/feedback.ts","../src/matcher/spatial/feedback.ts","../src/Feedback.ts","../src/debounce.ts","../src/index.ts"],"sourcesContent":[null,null,null,null,"\"use strict\";\nconst peq = new Uint32Array(0x10000);\nconst myers_32 = (a, b) => {\n const n = a.length;\n const m = b.length;\n const lst = 1 << (n - 1);\n let pv = -1;\n let mv = 0;\n let sc = n;\n let i = n;\n while (i--) {\n peq[a.charCodeAt(i)] |= 1 << i;\n }\n for (i = 0; i < m; i++) {\n let eq = peq[b.charCodeAt(i)];\n const xv = eq | mv;\n eq |= ((eq & pv) + pv) ^ pv;\n mv |= ~(eq | pv);\n pv &= eq;\n if (mv & lst) {\n sc++;\n }\n if (pv & lst) {\n sc--;\n }\n mv = (mv << 1) | 1;\n pv = (pv << 1) | ~(xv | mv);\n mv &= xv;\n }\n i = n;\n while (i--) {\n peq[a.charCodeAt(i)] = 0;\n }\n return sc;\n};\n\nconst myers_x = (a, b) => {\n const n = a.length;\n const m = b.length;\n const mhc = [];\n const phc = [];\n const hsize = Math.ceil(n / 32);\n const vsize = Math.ceil(m / 32);\n let score = m;\n for (let i = 0; i < hsize; i++) {\n phc[i] = -1;\n mhc[i] = 0;\n }\n let j = 0;\n for (; j < vsize - 1; j++) {\n let mv = 0;\n let pv = -1;\n const start = j * 32;\n const end = Math.min(32, m) + start;\n for (let k = start; k < end; k++) {\n peq[b.charCodeAt(k)] |= 1 << k;\n }\n score = m;\n for (let i = 0; i < n; i++) {\n const eq = peq[a.charCodeAt(i)];\n const pb = (phc[(i / 32) | 0] >>> i) & 1;\n const mb = (mhc[(i / 32) | 0] >>> i) & 1;\n const xv = eq | mv;\n const xh = ((((eq | mb) & pv) + pv) ^ pv) | eq | mb;\n let ph = mv | ~(xh | pv);\n let mh = pv & xh;\n if ((ph >>> 31) ^ pb) {\n phc[(i / 32) | 0] ^= 1 << i;\n }\n if ((mh >>> 31) ^ mb) {\n mhc[(i / 32) | 0] ^= 1 << i;\n }\n ph = (ph << 1) | pb;\n mh = (mh << 1) | mb;\n pv = mh | ~(xv | ph);\n mv = ph & xv;\n }\n for (let k = start; k < end; k++) {\n peq[b.charCodeAt(k)] = 0;\n }\n }\n let mv = 0;\n let pv = -1;\n const start = j * 32;\n const end = Math.min(32, m - start) + start;\n for (let k = start; k < end; k++) {\n peq[b.charCodeAt(k)] |= 1 << k;\n }\n score = m;\n for (let i = 0; i < n; i++) {\n const eq = peq[a.charCodeAt(i)];\n const pb = (phc[(i / 32) | 0] >>> i) & 1;\n const mb = (mhc[(i / 32) | 0] >>> i) & 1;\n const xv = eq | mv;\n const xh = ((((eq | mb) & pv) + pv) ^ pv) | eq | mb;\n let ph = mv | ~(xh | pv);\n let mh = pv & xh;\n score += (ph >>> (m - 1)) & 1;\n score -= (mh >>> (m - 1)) & 1;\n if ((ph >>> 31) ^ pb) {\n phc[(i / 32) | 0] ^= 1 << i;\n }\n if ((mh >>> 31) ^ mb) {\n mhc[(i / 32) | 0] ^= 1 << i;\n }\n ph = (ph << 1) | pb;\n mh = (mh << 1) | mb;\n pv = mh | ~(xv | ph);\n mv = ph & xv;\n }\n for (let k = start; k < end; k++) {\n peq[b.charCodeAt(k)] = 0;\n }\n return score;\n};\n\nconst distance = (a, b) => {\n if (a.length > b.length) {\n const tmp = b;\n b = a;\n a = tmp;\n }\n if (a.length === 0) {\n return b.length;\n }\n if (a.length <= 32) {\n return myers_32(a, b);\n }\n return myers_x(a, b);\n};\n\nconst closest = (str, arr) => {\n let min_distance = Infinity;\n let min_index = 0;\n for (let i = 0; i < arr.length; i++) {\n const dist = distance(str, arr[i]);\n if (dist < min_distance) {\n min_distance = dist;\n min_index = i;\n }\n }\n return arr[min_index];\n};\n\nmodule.exports = {\n closest, distance\n}\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["empty","obj","Object","keys","length","extend","listToExtend","list","push","apply","translate","string","chrMap","tempArray","split","map","char","join","sorted","matches","sort","m1","m2","i","j","buildRankedDictionary","orderedList","result","counter","forEach","word","DATE_MAX_YEAR","DATE_MIN_YEAR","DATE_SPLITS","dateSplits","BRUTEFORCE_CARDINALITY","MIN_GUESSES_BEFORE_GROWING_SEQUENCE","MIN_SUBMATCH_GUESSES_SINGLE_CHAR","MIN_SUBMATCH_GUESSES_MULTI_CHAR","MIN_YEAR_SPACE","START_UPPER","END_UPPER","ALL_UPPER","ALL_UPPER_INVERTED","ALL_LOWER","ALL_LOWER_INVERTED","ONE_UPPER","ONE_LOWER","ALPHA_INVERTED","ALL_DIGIT","REFERENCE_YEAR","Date","getFullYear","REGEXEN","recentYear","MatchDate","match","password","getMatchesWithoutSeparator","getMatchesWithSeparator","filteredMatches","filterNoise","maybeDateWithSeparator","Math","abs","token","slice","regexMatch","exec","dmy","mapIntegersToDayMonthYear","parseInt","pattern","separator","year","month","day","maybeDateNoSeparator","metric","candidate","candidates","index","splittedDates","k","l","bestCandidate","minDistance","distance","filter","isSubmatch","matchesLength","o","otherMatch","integers","over12","over31","under1","len1","int","getDayMonth","possibleYearSplits","possibleYearSplitsLength","y","rest","dm","mapIntegersToDayMonth","twoToFourDigitYear","temp","reverse","data","getUsedThreshold","entry","threshold","isPasswordToShort","isThresholdLongerThanPassword","shouldUsePasswordLength","ceil","findLevenshteinDistance","rankedDictionary","foundDistance","found","find","usedThreshold","foundEntryDistance","isInThreshold","levenshteinDistance","levenshteinDistanceEntry","a","b","c","e","g","s","t","x","z","warnings","straightRow","keyPattern","simpleRepeat","extendedRepeat","sequences","recentYears","dates","topTen","topHundred","common","similarToCommon","wordByItself","namesByThemselves","commonNames","userInputs","pwned","suggestions","l33t","reverseWords","allUppercase","capitalization","associatedYears","repeated","longerKeyboardPattern","anotherWord","useWords","noNeed","timeEstimation","ltSecond","second","seconds","minute","minutes","hour","hours","days","months","years","centuries","Options","constructor","l33tTable","translationKeys","setRankedDictionaries","setOptions","options","dictionary","translations","setTranslations","graphs","useLevenshteinDistance","undefined","levenshteinThreshold","checkCustomTranslations","Error","valid","type","translationType","key","rankedDictionaries","name","getRankedDictionary","sanitizedInputs","input","inputType","toString","toLowerCase","extendUserInputsDictionary","addMatcher","matcher","matchers","console","info","zxcvbnOptions","MatchL33t","defaultMatch","passwordReversed","reversed","enumeratedSubs","enumerateL33tSubs","relevantL33tSubtable","sub","subbedPassword","matchedDictionary","matchedWord","matchSub","subbedChr","chr","indexOf","subDisplay","table","passwordChars","subTable","letter","subs","relevantSubs","tableKeys","getSubs","subDict","l33tChr","firstKey","restKeys","nextSubs","dupL33tIndex","subExtension","concat","subAlternative","splice","newSubs","dedup","deduped","members","assoc","label","v","MatchDictionary","L33t","Reverse","passwordLength","passwordLower","dictionaryName","rankedDict","usedPassword","isInDictionary","foundLevenshteinDistance","isFullPassword","isLevenshteinMatch","usedRankPassword","rank","MatchRegex","regexes","regex","lastIndex","regexName","nCk","n","count","coEff","log10","log","log2","factorial","num","rval","guesses","Number","POSITIVE_INFINITY","MAX_VALUE","minGuesses","max","yearSpace","getVariations","cleanedWord","wordArray","upperCaseCount","lowerCaseCount","variations","variationLength","min","utils","replace","commonCases","commonCasesLength","getCounts","subbed","unsubbed","chrs","subbedCount","unsubbedCount","p","possibilities","baseGuesses","uppercaseVariations","uppercaseVariant","l33tVariations","l33tVariant","reversedVariations","calculation","charClassBases","alphaLower","alphaUpper","alpha","alphanumeric","digits","symbols","repeatCount","ascending","firstChr","charAt","startingPoints","includes","calcAverageDegree","graph","average","neighbors","entries","estimatePossiblePatterns","turns","startingPosition","averageDegree","tokenLength","possibleTurns","shiftedCount","unShiftedCount","shiftedVariations","round","getMinGuesses","bruteforce","bruteforceMatcher","date","dateMatcher","dictionaryMatcher","regexMatcher","repeat","repeatMatcher","sequence","sequenceMatcher","spatial","spatialMatcher","getScoring","scoring","extraData","estimationResult","matchGuesses","guessesLog10","scoringHelper","optimal","excludeAdditive","fillArray","size","valueType","value","makeBruteforceMatch","update","sequenceLength","estimatedMatch","estimateGuesses","pi","shouldSkip","competingPatternLength","competingMetricMatch","m","bruteforceUpdate","passwordCharIndex","tmp","lastMatch","unwind","optimalMatchSequence","candidateSequenceLength","candidateMetricMatch","unshift","mostGuessableMatchSequence","matchesByCoordinateJ","optimalSequenceLength","getGuesses","MatchRepeat","omniMatch","greedyMatch","getGreedyMatch","lazyMatch","getLazyMatch","baseToken","setMatchToken","getBaseGuesses","normalizeMatch","hasPromises","some","Promise","all","baseMatch","then","resolvedBaseGuesses","greedy","lazy","lazyAnchored","resolvedMatches","baseAnalysis","MatchSequence","lastDelta","delta","charCodeAt","absoluteDelta","MAX_DELTA","sequenceName","sequenceSpace","getSequence","test","MatchSpatial","graphName","helper","checkIfShifted","SHIFTED_RX","lastDirection","prevChar","adjacents","foundDirection","curDirection","curChar","adjacentsLength","adjacent","adjacentIndex","Matching","promises","Matcher","usedMatcher","response","resolve","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","CENTURY","times","century","TimeEstimates","displayStr","estimateAttackTimes","crackTimesSeconds","onlineThrottling100PerHour","onlineNoThrottling10PerSecond","offlineSlowHashing1e4PerSecond","offlineFastHashing1e10PerSecond","crackTimesDisplay","scenario","displayTime","score","guessesToScore","DELTA","base","timeKeys","foundIndex","findIndex","time","warning","getDictionaryWarningPassword","isSoleMatch","getDictionaryWarningWikipedia","getDictionaryWarningNames","getDictionaryWarning","dictName","isAName","defaultFeedback","Feedback","setDefaultSuggestions","getFeedback","extraFeedback","longestMatch","getLongestMatch","feedback","getMatchFeedback","slicedSequence","func","wait","isImmediate","timeout","debounce","args","context","later","shouldCallNow","clearTimeout","setTimeout","getTime","createReturnValue","start","timeEstimates","matchSequence","calcTime","attackTimes","main","matching","zxcvbn","zxcvbnAsync"],"mappings":";;;;IAEO,MAAMA,KAAK,GAAIC,GAAD,IAAsBC,MAAM,CAACC,IAAP,CAAYF,GAAZ,EAAiBG,MAAjB,KAA4B,CAAhE;IAEA,MAAMC,MAAM,GAAG,CAACC,YAAD,EAAsBC,IAAtB;IAEpBD,YAAY,CAACE,IAAb,CAAkBC,KAAlB,CAAwBH,YAAxB,EAAsCC,IAAtC,CAFK;IAIA,MAAMG,SAAS,GAAG,CAACC,MAAD,EAAiBC,MAAjB;IACvB,QAAMC,SAAS,GAAGF,MAAM,CAACG,KAAP,CAAa,EAAb,CAAlB;IACA,SAAOD,SAAS,CAACE,GAAV,CAAeC,IAAD,IAAUJ,MAAM,CAACI,IAAD,CAAN,IAAgBA,IAAxC,EAA8CC,IAA9C,CAAmD,EAAnD,CAAP;IACD,CAHM;;IASA,MAAMC,MAAM,GAAIC,OAAD,IACpBA,OAAO,CAACC,IAAR,CAAa,CAACC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