diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-11-17 23:25:29 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-11-17 23:25:29 +0100 |
commit | 953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch) | |
tree | 8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/external/addressbook/node_modules/cheerio-select/lib/esm | |
parent | 62a9199846b0c07c03218703b33e8385764f42d9 (diff) | |
download | pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2 pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip |
Updated 30 files and deleted 2976 files (automated)
Diffstat (limited to 'includes/external/addressbook/node_modules/cheerio-select/lib/esm')
13 files changed, 0 insertions, 342 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts deleted file mode 100644 index 13dba26..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { AnyNode } from "domhandler"; -import type { Selector } from "css-what"; -export declare function getDocumentRoot(node: AnyNode): AnyNode; -export declare function groupSelectors(selectors: Selector[][]): [plain: Selector[][], filtered: Selector[][]]; -//# sourceMappingURL=helpers.d.ts.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts.map deleted file mode 100644 index 689bf8d..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.d.ts","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAGtD;AAED,wBAAgB,cAAc,CAC1B,SAAS,EAAE,QAAQ,EAAE,EAAE,GACxB,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,CAAC,CAa/C"}
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js deleted file mode 100644 index 1e5c8d5..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js +++ /dev/null @@ -1,20 +0,0 @@ -import { isFilter } from "./positionals.js"; -export function getDocumentRoot(node) { - while (node.parent) - node = node.parent; - return node; -} -export function groupSelectors(selectors) { - const filteredSelectors = []; - const plainSelectors = []; - for (const selector of selectors) { - if (selector.some(isFilter)) { - filteredSelectors.push(selector); - } - else { - plainSelectors.push(selector); - } - } - return [plainSelectors, filteredSelectors]; -} -//# sourceMappingURL=helpers.js.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js.map deleted file mode 100644 index 2ad294d..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/helpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"helpers.js","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,UAAU,eAAe,CAAC,IAAa;IACzC,OAAO,IAAI,CAAC,MAAM;QAAE,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACvC,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,cAAc,CAC1B,SAAuB;IAEvB,MAAM,iBAAiB,GAAiB,EAAE,CAAC;IAC3C,MAAM,cAAc,GAAiB,EAAE,CAAC;IAExC,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE;QAC9B,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YACzB,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SACpC;aAAM;YACH,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SACjC;KACJ;IAED,OAAO,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;AAC/C,CAAC"}
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts deleted file mode 100644 index 9b6baff..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { type Options as CSSSelectOptions } from "css-select"; -import type { Element, AnyNode, Document } from "domhandler"; -export { filters, pseudos, aliases } from "css-select"; -export interface Options extends CSSSelectOptions<AnyNode, Element> { - /** Optional reference to the root of the document. If not set, this will be computed when needed. */ - root?: Document; -} -export declare function is(element: Element, selector: string | ((el: Element) => boolean), options?: Options): boolean; -export declare function some(elements: Element[], selector: string | ((el: Element) => boolean), options?: Options): boolean; -export declare function filter(selector: string, elements: AnyNode[], options?: Options): Element[]; -export declare function select(selector: string | ((el: Element) => boolean), root: AnyNode | AnyNode[], options?: Options, limit?: number): Element[]; -//# sourceMappingURL=index.d.ts.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts.map deleted file mode 100644 index 4127f83..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,KAAK,OAAO,IAAI,gBAAgB,EAEnC,MAAM,YAAY,CAAC;AAGpB,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAU7D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAYvD,MAAM,WAAW,OAAQ,SAAQ,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC;IAC/D,qGAAqG;IACrG,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB;AAED,wBAAgB,EAAE,CACd,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC,EAC7C,OAAO,GAAE,OAAY,GACtB,OAAO,CAET;AAED,wBAAgB,IAAI,CAChB,QAAQ,EAAE,OAAO,EAAE,EACnB,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC,EAC7C,OAAO,GAAE,OAAY,GACtB,OAAO,CAWT;AAsCD,wBAAgB,MAAM,CAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,OAAO,EAAE,EACnB,OAAO,GAAE,OAAY,GACtB,OAAO,EAAE,CAEX;AAoGD,wBAAgB,MAAM,CAClB,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC,EAC7C,IAAI,EAAE,OAAO,GAAG,OAAO,EAAE,EACzB,OAAO,GAAE,OAAY,EACrB,KAAK,SAAW,GACjB,OAAO,EAAE,CA2BX"}
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js deleted file mode 100644 index ea6c7f0..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js +++ /dev/null @@ -1,241 +0,0 @@ -import { parse, SelectorType, isTraversal } from "css-what"; -import { _compileToken as compileToken, prepareContext, } from "css-select"; -import * as DomUtils from "domutils"; -import * as boolbase from "boolbase"; -import { getDocumentRoot, groupSelectors } from "./helpers.js"; -import { isFilter, getLimit, } from "./positionals.js"; -// Re-export pseudo extension points -export { filters, pseudos, aliases } from "css-select"; -const UNIVERSAL_SELECTOR = { - type: SelectorType.Universal, - namespace: null, -}; -const SCOPE_PSEUDO = { - type: SelectorType.Pseudo, - name: "scope", - data: null, -}; -export function is(element, selector, options = {}) { - return some([element], selector, options); -} -export function some(elements, selector, options = {}) { - if (typeof selector === "function") - return elements.some(selector); - const [plain, filtered] = groupSelectors(parse(selector)); - return ((plain.length > 0 && elements.some(compileToken(plain, options))) || - filtered.some((sel) => filterBySelector(sel, elements, options).length > 0)); -} -function filterByPosition(filter, elems, data, options) { - const num = typeof data === "string" ? parseInt(data, 10) : NaN; - switch (filter) { - case "first": - case "lt": - // Already done in `getLimit` - return elems; - case "last": - return elems.length > 0 ? [elems[elems.length - 1]] : elems; - case "nth": - case "eq": - return isFinite(num) && Math.abs(num) < elems.length - ? [num < 0 ? elems[elems.length + num] : elems[num]] - : []; - case "gt": - return isFinite(num) ? elems.slice(num + 1) : []; - case "even": - return elems.filter((_, i) => i % 2 === 0); - case "odd": - return elems.filter((_, i) => i % 2 === 1); - case "not": { - const filtered = new Set(filterParsed(data, elems, options)); - return elems.filter((e) => !filtered.has(e)); - } - } -} -export function filter(selector, elements, options = {}) { - return filterParsed(parse(selector), elements, options); -} -/** - * Filter a set of elements by a selector. - * - * Will return elements in the original order. - * - * @param selector Selector to filter by. - * @param elements Elements to filter. - * @param options Options for selector. - */ -function filterParsed(selector, elements, options) { - if (elements.length === 0) - return []; - const [plainSelectors, filteredSelectors] = groupSelectors(selector); - let found; - if (plainSelectors.length) { - const filtered = filterElements(elements, plainSelectors, options); - // If there are no filters, just return - if (filteredSelectors.length === 0) { - return filtered; - } - // Otherwise, we have to do some filtering - if (filtered.length) { - found = new Set(filtered); - } - } - for (let i = 0; i < filteredSelectors.length && (found === null || found === void 0 ? void 0 : found.size) !== elements.length; i++) { - const filteredSelector = filteredSelectors[i]; - const missing = found - ? elements.filter((e) => DomUtils.isTag(e) && !found.has(e)) - : elements; - if (missing.length === 0) - break; - const filtered = filterBySelector(filteredSelector, elements, options); - if (filtered.length) { - if (!found) { - /* - * If we haven't found anything before the last selector, - * just return what we found now. - */ - if (i === filteredSelectors.length - 1) { - return filtered; - } - found = new Set(filtered); - } - else { - filtered.forEach((el) => found.add(el)); - } - } - } - return typeof found !== "undefined" - ? (found.size === elements.length - ? elements - : // Filter elements to preserve order - elements.filter((el) => found.has(el))) - : []; -} -function filterBySelector(selector, elements, options) { - var _a; - if (selector.some(isTraversal)) { - /* - * Get root node, run selector with the scope - * set to all of our nodes. - */ - const root = (_a = options.root) !== null && _a !== void 0 ? _a : getDocumentRoot(elements[0]); - const opts = { ...options, context: elements, relativeSelector: false }; - selector.push(SCOPE_PSEUDO); - return findFilterElements(root, selector, opts, true, elements.length); - } - // Performance optimization: If we don't have to traverse, just filter set. - return findFilterElements(elements, selector, options, false, elements.length); -} -export function select(selector, root, options = {}, limit = Infinity) { - if (typeof selector === "function") { - return find(root, selector); - } - const [plain, filtered] = groupSelectors(parse(selector)); - const results = filtered.map((sel) => findFilterElements(root, sel, options, true, limit)); - // Plain selectors can be queried in a single go - if (plain.length) { - results.push(findElements(root, plain, options, limit)); - } - if (results.length === 0) { - return []; - } - // If there was only a single selector, just return the result - if (results.length === 1) { - return results[0]; - } - // Sort results, filtering for duplicates - return DomUtils.uniqueSort(results.reduce((a, b) => [...a, ...b])); -} -/** - * - * @param root Element(s) to search from. - * @param selector Selector to look for. - * @param options Options for querying. - * @param queryForSelector Query multiple levels deep for the initial selector, even if it doesn't contain a traversal. - */ -function findFilterElements(root, selector, options, queryForSelector, totalLimit) { - const filterIndex = selector.findIndex(isFilter); - const sub = selector.slice(0, filterIndex); - const filter = selector[filterIndex]; - // If we are at the end of the selector, we can limit the number of elements to retrieve. - const partLimit = selector.length - 1 === filterIndex ? totalLimit : Infinity; - /* - * Set the number of elements to retrieve. - * Eg. for :first, we only have to get a single element. - */ - const limit = getLimit(filter.name, filter.data, partLimit); - if (limit === 0) - return []; - /* - * Skip `findElements` call if our selector starts with a positional - * pseudo. - */ - const elemsNoLimit = sub.length === 0 && !Array.isArray(root) - ? DomUtils.getChildren(root).filter(DomUtils.isTag) - : sub.length === 0 - ? (Array.isArray(root) ? root : [root]).filter(DomUtils.isTag) - : queryForSelector || sub.some(isTraversal) - ? findElements(root, [sub], options, limit) - : filterElements(root, [sub], options); - const elems = elemsNoLimit.slice(0, limit); - let result = filterByPosition(filter.name, elems, filter.data, options); - if (result.length === 0 || selector.length === filterIndex + 1) { - return result; - } - const remainingSelector = selector.slice(filterIndex + 1); - const remainingHasTraversal = remainingSelector.some(isTraversal); - if (remainingHasTraversal) { - if (isTraversal(remainingSelector[0])) { - const { type } = remainingSelector[0]; - if (type === SelectorType.Sibling || - type === SelectorType.Adjacent) { - // If we have a sibling traversal, we need to also look at the siblings. - result = prepareContext(result, DomUtils, true); - } - // Avoid a traversal-first selector error. - remainingSelector.unshift(UNIVERSAL_SELECTOR); - } - options = { - ...options, - // Avoid absolutizing the selector - relativeSelector: false, - /* - * Add a custom root func, to make sure traversals don't match elements - * that aren't a part of the considered tree. - */ - rootFunc: (el) => result.includes(el), - }; - } - else if (options.rootFunc && options.rootFunc !== boolbase.trueFunc) { - options = { ...options, rootFunc: boolbase.trueFunc }; - } - /* - * If we have another filter, recursively call `findFilterElements`, - * with the `recursive` flag disabled. We only have to look for more - * elements when we see a traversal. - * - * Otherwise, - */ - return remainingSelector.some(isFilter) - ? findFilterElements(result, remainingSelector, options, false, totalLimit) - : remainingHasTraversal - ? // Query existing elements to resolve traversal. - findElements(result, [remainingSelector], options, totalLimit) - : // If we don't have any more traversals, simply filter elements. - filterElements(result, [remainingSelector], options); -} -function findElements(root, sel, options, limit) { - const query = compileToken(sel, options, root); - return find(root, query, limit); -} -function find(root, query, limit = Infinity) { - const elems = prepareContext(root, DomUtils, query.shouldTestNextSiblings); - return DomUtils.find((node) => DomUtils.isTag(node) && query(node), elems, true, limit); -} -function filterElements(elements, sel, options) { - const els = (Array.isArray(elements) ? elements : [elements]).filter(DomUtils.isTag); - if (els.length === 0) - return els; - const query = compileToken(sel, options); - return query === boolbase.trueFunc ? els : els.filter(query); -} -//# sourceMappingURL=index.js.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js.map deleted file mode 100644 index ed9f158..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAiB,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EACH,aAAa,IAAI,YAAY,EAE7B,cAAc,GACjB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAEH,QAAQ,EAER,QAAQ,GACX,MAAM,kBAAkB,CAAC;AAE1B,oCAAoC;AACpC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAEvD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CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAChE,QAAQ,CAAC,KAAK,CACjB,CAAC;IAEF,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,GAAG,CAAC;IAEjC,MAAM,KAAK,GAAG,YAAY,CAAmB,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3D,OAAO,KAAK,KAAK,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACjE,CAAC"}
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/package.json b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/package.json deleted file mode 100644 index 089153b..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type":"module"} diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts deleted file mode 100644 index 5315dd3..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { Selector, PseudoSelector } from "css-what"; -export declare type Filter = "first" | "last" | "eq" | "nth" | "gt" | "lt" | "even" | "odd" | "not"; -export declare const filterNames: Set<string>; -export interface CheerioSelector extends PseudoSelector { - name: Filter; - data: string | null; -} -export declare function isFilter(s: Selector): s is CheerioSelector; -export declare function getLimit(filter: Filter, data: string | null, partLimit: number): number; -//# sourceMappingURL=positionals.d.ts.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts.map deleted file mode 100644 index 0e0db37..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"positionals.d.ts","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["positionals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzD,oBAAY,MAAM,GACZ,OAAO,GACP,MAAM,GACN,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,KAAK,GACL,KAAK,CAAC;AACZ,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,MAAM,CASlC,CAAC;AAEH,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,QAAQ,GAAG,CAAC,IAAI,eAAe,CAS1D;AAED,wBAAgB,QAAQ,CACpB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,SAAS,EAAE,MAAM,GAClB,MAAM,CAyBR"}
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js deleted file mode 100644 index 61f5d6e..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js +++ /dev/null @@ -1,47 +0,0 @@ -export const filterNames = new Set([ - "first", - "last", - "eq", - "gt", - "nth", - "lt", - "even", - "odd", -]); -export function isFilter(s) { - if (s.type !== "pseudo") - return false; - if (filterNames.has(s.name)) - return true; - if (s.name === "not" && Array.isArray(s.data)) { - // Only consider `:not` with embedded filters - return s.data.some((s) => s.some(isFilter)); - } - return false; -} -export function getLimit(filter, data, partLimit) { - const num = data != null ? parseInt(data, 10) : NaN; - switch (filter) { - case "first": - return 1; - case "nth": - case "eq": - return isFinite(num) ? (num >= 0 ? num + 1 : Infinity) : 0; - case "lt": - return isFinite(num) - ? num >= 0 - ? Math.min(num, partLimit) - : Infinity - : 0; - case "gt": - return isFinite(num) ? Infinity : 0; - case "odd": - return 2 * partLimit; - case "even": - return 2 * partLimit - 1; - case "last": - case "not": - return Infinity; - } -} -//# sourceMappingURL=positionals.js.map
\ No newline at end of file diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js.map b/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js.map deleted file mode 100644 index 0b26c24..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/esm/positionals.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"positionals.js","sourceRoot":"https://raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/","sources":["positionals.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,WAAW,GAAgB,IAAI,GAAG,CAAS;IACpD,OAAO;IACP,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IACN,KAAK;CACR,CAAC,CAAC;AAOH,MAAM,UAAU,QAAQ,CAAC,CAAW;IAChC,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACtC,IAAI,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACzC,IAAI,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE;QAC3C,6CAA6C;QAC7C,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC/C;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,QAAQ,CACpB,MAAc,EACd,IAAmB,EACnB,SAAiB;IAEjB,MAAM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