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QAAuB,MAAb9H,EAAE8H,QAAkBhG,EAAIkB,MAAMC,QAAQjD,EAAE8H,SAAW,IAAI9H,EAAE8H,QAAShG,GAAK,CAAC9B,EAAE8H,QAAShG,EACjG,CACAO,EAAE+B,IAAI5C,GAAuB,OAAjBI,EAAIS,EAAEgC,IAAI7C,KAAeI,EAAEgF,OAAO5G,GAAKqC,EAAEyC,IAAItD,EAAG,IAAI,EAAEA,EAAGxB,GAAG,C","sources":["webpack://ouvidoria/./node_modules/parse-srcset/src/parse-srcset.js","webpack://ouvidoria/./node_modules/picocolors/picocolors.browser.js","webpack://ouvidoria/./node_modules/nanoid/non-secure/index.cjs","webpack://ouvidoria/./node_modules/maska/dist/maska.mjs","webpack://ouvidoria/./node_modules/maska/dist/vue.mjs"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup \n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n","var x=String;\nvar create=function() {return {isColorSupported:false,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x,blackBright:x,redBright:x,greenBright:x,yellowBright:x,blueBright:x,magentaBright:x,cyanBright:x,whiteBright:x,bgBlackBright:x,bgRedBright:x,bgGreenBright:x,bgYellowBright:x,bgBlueBright:x,bgMagentaBright:x,bgCyanBright:x,bgWhiteBright:x}};\nmodule.exports=create();\nmodule.exports.createColors = create;\n","// This alphabet uses `A-Za-z0-9_-` symbols.\n// The order of characters is optimized for better gzip and brotli compression.\n// References to the same file (works both for gzip and brotli):\n// `'use`, `andom`, and `rict'`\n// References to the brotli default dictionary:\n// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`\nlet urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\n\nlet customAlphabet = (alphabet, defaultSize = 21) => {\n return (size = defaultSize) => {\n let id = ''\n // A compact alternative for `for (var i = 0; i < step; i++)`.\n let i = size | 0\n while (i--) {\n // `| 0` is more compact and faster than `Math.floor()`.\n id += alphabet[(Math.random() * alphabet.length) | 0]\n }\n return id\n }\n}\n\nlet nanoid = (size = 21) => {\n let id = ''\n // A compact alternative for `for (var i = 0; i < step; i++)`.\n let i = size | 0\n while (i--) {\n // `| 0` is more compact and faster than `Math.floor()`.\n id += urlAlphabet[(Math.random() * 64) | 0]\n }\n return id\n}\n\nmodule.exports = { nanoid, customAlphabet }\n","var I = Object.defineProperty;\nvar S = (n, s, t) => s in n ? I(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t;\nvar b = (n, s, t) => S(n, typeof s != \"symbol\" ? s + \"\" : s, t);\nconst N = {\n \"#\": { pattern: /[0-9]/ },\n \"@\": { pattern: /[a-zA-Z]/ },\n \"*\": { pattern: /[a-zA-Z0-9]/ }\n}, R = (n, s, t) => n.replaceAll(s, \"\").replace(t, \".\").replace(\"..\", \".\").replace(/[^.\\d]/g, \"\"), C = (n, s, t) => {\n var e;\n return new Intl.NumberFormat(((e = t.number) == null ? void 0 : e.locale) ?? \"en\", {\n minimumFractionDigits: n,\n maximumFractionDigits: s,\n roundingMode: \"trunc\"\n });\n}, P = (n, s = !0, t) => {\n var A, y, g, d;\n const e = ((A = t.number) == null ? void 0 : A.unsigned) !== !0 && n.startsWith(\"-\") ? \"-\" : \"\", a = ((y = t.number) == null ? void 0 : y.fraction) ?? 0;\n let r = C(0, a, t);\n const h = r.formatToParts(1000.12), u = ((g = h.find((o) => o.type === \"group\")) == null ? void 0 : g.value) ?? \" \", f = ((d = h.find((o) => o.type === \"decimal\")) == null ? void 0 : d.value) ?? \".\", i = R(n, u, f);\n if (Number.isNaN(parseFloat(i))) return e;\n const p = i.split(\".\");\n if (p[1] != null && p[1].length >= 1) {\n const o = p[1].length <= a ? p[1].length : a;\n r = C(o, a, t);\n }\n let l = r.format(parseFloat(i));\n return s ? a > 0 && i.endsWith(\".\") && !i.slice(0, -1).includes(\".\") && (l += f) : l = R(l, u, f), e + l;\n};\nclass F {\n constructor(s = {}) {\n b(this, \"opts\", {});\n b(this, \"memo\", /* @__PURE__ */ new Map());\n const t = { ...s };\n if (t.tokens != null) {\n t.tokens = t.tokensReplace ? { ...t.tokens } : { ...N, ...t.tokens };\n for (const e of Object.values(t.tokens))\n typeof e.pattern == \"string\" && (e.pattern = new RegExp(e.pattern));\n } else\n t.tokens = N;\n Array.isArray(t.mask) && (t.mask.length > 1 ? t.mask = [...t.mask].sort((e, a) => e.length - a.length) : t.mask = t.mask[0] ?? \"\"), t.mask === \"\" && (t.mask = null), this.opts = t;\n }\n masked(s) {\n return this.process(String(s), this.findMask(String(s)));\n }\n unmasked(s) {\n return this.process(String(s), this.findMask(String(s)), !1);\n }\n isEager() {\n return this.opts.eager === !0;\n }\n isReversed() {\n return this.opts.reversed === !0;\n }\n completed(s) {\n const t = this.findMask(String(s));\n if (this.opts.mask == null || t == null) return !1;\n const e = this.process(String(s), t).length;\n return typeof this.opts.mask == \"string\" ? e >= this.opts.mask.length : e >= t.length;\n }\n findMask(s) {\n const t = this.opts.mask;\n if (t == null)\n return null;\n if (typeof t == \"string\")\n return t;\n if (typeof t == \"function\")\n return t(s);\n const e = this.process(s, t.slice(-1).pop() ?? \"\", !1);\n return t.find((a) => this.process(s, a, !1).length >= e.length) ?? \"\";\n }\n escapeMask(s) {\n const t = [], e = [];\n return s.split(\"\").forEach((a, r) => {\n a === \"!\" && s[r - 1] !== \"!\" ? e.push(r - e.length) : t.push(a);\n }), { mask: t.join(\"\"), escaped: e };\n }\n process(s, t, e = !0) {\n if (this.opts.number != null) return P(s, e, this.opts);\n if (t == null) return s;\n const a = `v=${s},mr=${t},m=${e ? 1 : 0}`;\n if (this.memo.has(a)) return this.memo.get(a);\n const { mask: r, escaped: h } = this.escapeMask(t), u = [], f = this.opts.tokens != null ? this.opts.tokens : {}, i = this.isReversed() ? -1 : 1, p = this.isReversed() ? \"unshift\" : \"push\", l = this.isReversed() ? 0 : r.length - 1, A = this.isReversed() ? () => o > -1 && c > -1 : () => o < r.length && c < s.length, y = (k) => !this.isReversed() && k <= l || this.isReversed() && k >= l;\n let g, d = -1, o = this.isReversed() ? r.length - 1 : 0, c = this.isReversed() ? s.length - 1 : 0, E = !1;\n for (; A(); ) {\n const k = r.charAt(o), m = f[k], M = (m == null ? void 0 : m.transform) != null ? m.transform(s.charAt(c)) : s.charAt(c);\n if (!h.includes(o) && m != null ? (M.match(m.pattern) != null ? (u[p](M), m.repeated ? (d === -1 ? d = o : o === l && o !== d && (o = d - i), l === d && (o -= i)) : m.multiple && (E = !0, o -= i), o += i) : m.multiple ? E && (o += i, c -= i, E = !1) : M === g ? g = void 0 : m.optional && (o += i, c -= i), c += i) : (e && !this.isEager() && u[p](k), M === k && !this.isEager() ? c += i : g = k, this.isEager() || (o += i)), this.isEager())\n for (; y(o) && (f[r.charAt(o)] == null || h.includes(o)); ) {\n if (e) {\n if (u[p](r.charAt(o)), s.charAt(c) === r.charAt(o)) {\n o += i, c += i;\n continue;\n }\n } else r.charAt(o) === s.charAt(c) && (c += i);\n o += i;\n }\n }\n return this.memo.set(a, u.join(\"\")), this.memo.get(a);\n }\n}\nconst w = (n) => JSON.parse(n.replaceAll(\"'\", '\"')), T = (n, s = {}) => {\n const t = { ...s };\n n.dataset.maska != null && n.dataset.maska !== \"\" && (t.mask = x(n.dataset.maska)), n.dataset.maskaEager != null && (t.eager = v(n.dataset.maskaEager)), n.dataset.maskaReversed != null && (t.reversed = v(n.dataset.maskaReversed)), n.dataset.maskaTokensReplace != null && (t.tokensReplace = v(n.dataset.maskaTokensReplace)), n.dataset.maskaTokens != null && (t.tokens = W(n.dataset.maskaTokens));\n const e = {};\n return n.dataset.maskaNumberLocale != null && (e.locale = n.dataset.maskaNumberLocale), n.dataset.maskaNumberFraction != null && (e.fraction = parseInt(n.dataset.maskaNumberFraction)), n.dataset.maskaNumberUnsigned != null && (e.unsigned = v(n.dataset.maskaNumberUnsigned)), (n.dataset.maskaNumber != null || Object.values(e).length > 0) && (t.number = e), t;\n}, v = (n) => n !== \"\" ? !!JSON.parse(n) : !0, x = (n) => n.startsWith(\"[\") && n.endsWith(\"]\") ? w(n) : n, W = (n) => {\n if (n.startsWith(\"{\") && n.endsWith(\"}\"))\n return w(n);\n const s = {};\n return n.split(\"|\").forEach((t) => {\n const e = t.split(\":\");\n s[e[0]] = {\n pattern: new RegExp(e[1]),\n optional: e[2] === \"optional\",\n multiple: e[2] === \"multiple\",\n repeated: e[2] === \"repeated\"\n };\n }), s;\n};\nclass V {\n constructor(s, t = {}) {\n b(this, \"items\", /* @__PURE__ */ new Map());\n b(this, \"eventAbortController\");\n b(this, \"onInput\", (s) => {\n if (s instanceof CustomEvent && s.type === \"input\" && !s.isTrusted && !s.bubbles)\n return;\n const t = s.target, e = this.items.get(t), a = \"inputType\" in s && s.inputType.startsWith(\"delete\"), r = e.isEager(), h = a && r && e.unmasked(t.value) === \"\" ? \"\" : t.value;\n this.fixCursor(t, a, () => this.setValue(t, h));\n });\n this.options = t, this.eventAbortController = new AbortController(), this.init(this.getInputs(s));\n }\n update(s = {}) {\n this.options = { ...s }, this.init(Array.from(this.items.keys()));\n }\n updateValue(s) {\n s.value !== \"\" && s.value !== this.processInput(s).masked && this.setValue(s, s.value);\n }\n destroy() {\n this.eventAbortController.abort(), this.items.clear();\n }\n init(s) {\n const t = this.getOptions(this.options);\n for (const e of s) {\n if (!this.items.has(e)) {\n const { signal: r } = this.eventAbortController;\n e.addEventListener(\"input\", this.onInput, { capture: !0, signal: r });\n }\n const a = new F(T(e, t));\n this.items.set(e, a), queueMicrotask(() => this.updateValue(e)), e.selectionStart === null && a.isEager() && console.warn(\"Maska: input of `%s` type is not supported\", e.type);\n }\n }\n getInputs(s) {\n return typeof s == \"string\" ? Array.from(document.querySelectorAll(s)) : \"length\" in s ? Array.from(s) : [s];\n }\n getOptions(s) {\n const { onMaska: t, preProcess: e, postProcess: a, ...r } = s;\n return r;\n }\n fixCursor(s, t, e) {\n const a = s.selectionStart, r = s.value;\n if (e(), a === null || a === r.length && !t) return;\n const h = s.value, u = r.slice(0, a), f = h.slice(0, a), i = this.processInput(s, u).unmasked, p = this.processInput(s, f).unmasked;\n let l = a;\n u !== f && (l += t ? h.length - r.length : i.length - p.length), s.setSelectionRange(l, l);\n }\n setValue(s, t) {\n const e = this.processInput(s, t);\n s.value = e.masked, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((a) => a(e)) : this.options.onMaska(e)), s.dispatchEvent(new CustomEvent(\"maska\", { detail: e })), s.dispatchEvent(new CustomEvent(\"input\", { detail: e.masked }));\n }\n processInput(s, t) {\n const e = this.items.get(s);\n let a = t ?? s.value;\n this.options.preProcess != null && (a = this.options.preProcess(a));\n let r = e.masked(a);\n return this.options.postProcess != null && (r = this.options.postProcess(r)), {\n masked: r,\n unmasked: e.unmasked(a),\n completed: e.completed(a)\n };\n }\n}\nexport {\n F as Mask,\n V as MaskInput,\n N as tokens\n};\n","import { MaskInput as n } from \"./maska.mjs\";\nconst l = /* @__PURE__ */ new WeakMap(), c = (e, s) => {\n if (e.arg == null || e.instance == null) return;\n const a = \"setup\" in e.instance.$.type;\n e.arg in e.instance ? e.instance[e.arg] = s : a && console.warn(\"Maska: please expose `%s` using defineExpose\", e.arg);\n}, k = (e, s) => {\n var u;\n const a = e instanceof HTMLInputElement ? e : e.querySelector(\"input\");\n if (a == null || (a == null ? void 0 : a.type) === \"file\") return;\n let t = {};\n if (s.value != null && (t = typeof s.value == \"string\" ? { mask: s.value } : { ...s.value }), s.arg != null) {\n const o = (r) => {\n const p = s.modifiers.unmasked ? r.unmasked : s.modifiers.completed ? r.completed : r.masked;\n c(s, p);\n };\n t.onMaska = t.onMaska == null ? o : Array.isArray(t.onMaska) ? [...t.onMaska, o] : [t.onMaska, o];\n }\n l.has(a) ? (u = l.get(a)) == null || u.update(t) : l.set(a, new n(a, t));\n};\nexport {\n k as vMaska\n};\n"],"names":["root","factory","this","input","isSpace","c","collectCharacters","regEx","chars","match","exec","substring","pos","length","url","descriptors","currentDescriptor","state","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","candidates","slice","replace","parseDescriptors","tokenize","charAt","push","w","d","h","i","desc","lastChar","value","intVal","floatVal","pError","candidate","parseInt","parseFloat","test","console","log","x","String","create","isColorSupported","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","black","red","green","yellow","blue","magenta","cyan","white","gray","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","module","exports","createColors","urlAlphabet","customAlphabet","alphabet","defaultSize","size","id","Math","random","nanoid","I","Object","defineProperty","S","n","s","t","enumerable","configurable","writable","b","N","pattern","R","replaceAll","C","e","Intl","NumberFormat","number","locale","minimumFractionDigits","maximumFractionDigits","roundingMode","P","A","y","g","unsigned","startsWith","a","fraction","r","formatToParts","u","find","o","type","f","Number","isNaN","p","split","l","format","endsWith","includes","F","constructor","Map","tokens","tokensReplace","values","RegExp","Array","isArray","mask","sort","opts","masked","process","findMask","unmasked","isEager","eager","isReversed","reversed","completed","pop","escapeMask","forEach","join","escaped","memo","has","get","k","E","m","M","transform","repeated","multiple","optional","set","JSON","parse","T","dataset","maska","maskaEager","v","maskaReversed","maskaTokensReplace","maskaTokens","W","maskaNumberLocale","maskaNumberFraction","maskaNumberUnsigned","maskaNumber","V","CustomEvent","isTrusted","bubbles","target","items","inputType","fixCursor","setValue","options","eventAbortController","AbortController","init","getInputs","update","from","keys","updateValue","processInput","destroy","abort","clear","getOptions","signal","addEventListener","onInput","capture","queueMicrotask","selectionStart","warn","document","querySelectorAll","onMaska","preProcess","postProcess","setSelectionRange","dispatchEvent","detail","WeakMap","arg","instance","$","HTMLInputElement","querySelector","modifiers"],"sourceRoot":""}