summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors')
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts5
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js34
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts4
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js157
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts8
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js46
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts6
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js93
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts9
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map1
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js112
-rw-r--r--includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map1
20 files changed, 484 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts
new file mode 100644
index 0000000..1bcb31a
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts
@@ -0,0 +1,5 @@
+/**
+ * Aliases are pseudos that are expressed as selectors.
+ */
+export declare const aliases: Record<string, string>;
+//# sourceMappingURL=aliases.d.ts.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map
new file mode 100644
index 0000000..37c9e8c
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"aliases.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwC1C,CAAC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js
new file mode 100644
index 0000000..c259889
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js
@@ -0,0 +1,34 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.aliases = void 0;
+/**
+ * Aliases are pseudos that are expressed as selectors.
+ */
+exports.aliases = {
+ // Links
+ "any-link": ":is(a, area, link)[href]",
+ link: ":any-link:not(:visited)",
+ // Forms
+ // https://html.spec.whatwg.org/multipage/scripting.html#disabled-elements
+ disabled: ":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",
+ enabled: ":not(:disabled)",
+ checked: ":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",
+ required: ":is(input, select, textarea)[required]",
+ optional: ":is(input, select, textarea):not([required])",
+ // JQuery extensions
+ // https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-selectedness
+ selected: "option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",
+ checkbox: "[type=checkbox]",
+ file: "[type=file]",
+ password: "[type=password]",
+ radio: "[type=radio]",
+ reset: "[type=reset]",
+ image: "[type=image]",
+ submit: "[type=submit]",
+ parent: ":not(:empty)",
+ header: ":is(h1, h2, h3, h4, h5, h6)",
+ button: ":is(button, input[type=button])",
+ input: ":is(input, textarea, select, button)",
+ text: "input:is(:not([type!='']), [type=text])",
+};
+//# sourceMappingURL=aliases.js.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map
new file mode 100644
index 0000000..6a82f97
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"aliases.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,OAAO,GAA2B;IAC3C,QAAQ;IAER,UAAU,EAAE,0BAA0B;IACtC,IAAI,EAAE,yBAAyB;IAE/B,QAAQ;IAER,0EAA0E;IAC1E,QAAQ,EAAE,yMAIR;IACF,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EACH,6EAA6E;IACjF,QAAQ,EAAE,wCAAwC;IAClD,QAAQ,EAAE,8CAA8C;IAExD,oBAAoB;IAEpB,wFAAwF;IACxF,QAAQ,EACJ,8FAA8F;IAElG,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IAEvB,MAAM,EAAE,cAAc;IACtB,MAAM,EAAE,6BAA6B;IAErC,MAAM,EAAE,iCAAiC;IACzC,KAAK,EAAE,sCAAsC;IAC7C,IAAI,EAAE,yCAAyC;CAClD,CAAC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts
new file mode 100644
index 0000000..a75d063
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts
@@ -0,0 +1,4 @@
+import type { CompiledQuery, InternalOptions } from "../types.js";
+export declare type Filter = <Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, text: string, options: InternalOptions<Node, ElementNode>, context?: Node[]) => CompiledQuery<ElementNode>;
+export declare const filters: Record<string, Filter>;
+//# sourceMappingURL=filters.d.ts.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map
new file mode 100644
index 0000000..86f1cef
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"filters.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAW,MAAM,aAAa,CAAC;AAE3E,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,KACf,aAAa,CAAC,WAAW,CAAC,CAAC;AAYhC,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2I1C,CAAC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js
new file mode 100644
index 0000000..981ec2f
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js
@@ -0,0 +1,157 @@
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.filters = void 0;
+var nth_check_1 = __importDefault(require("nth-check"));
+var boolbase_1 = __importDefault(require("boolbase"));
+function getChildFunc(next, adapter) {
+ return function (elem) {
+ var parent = adapter.getParent(elem);
+ return parent != null && adapter.isTag(parent) && next(elem);
+ };
+}
+exports.filters = {
+ contains: function (next, text, _a) {
+ var adapter = _a.adapter;
+ return function contains(elem) {
+ return next(elem) && adapter.getText(elem).includes(text);
+ };
+ },
+ icontains: function (next, text, _a) {
+ var adapter = _a.adapter;
+ var itext = text.toLowerCase();
+ return function icontains(elem) {
+ return (next(elem) &&
+ adapter.getText(elem).toLowerCase().includes(itext));
+ };
+ },
+ // Location specific methods
+ "nth-child": function (next, rule, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var func = (0, nth_check_1.default)(rule);
+ if (func === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ if (func === boolbase_1.default.trueFunc)
+ return getChildFunc(next, adapter);
+ return function nthChild(elem) {
+ var siblings = adapter.getSiblings(elem);
+ var pos = 0;
+ for (var i = 0; i < siblings.length; i++) {
+ if (equals(elem, siblings[i]))
+ break;
+ if (adapter.isTag(siblings[i])) {
+ pos++;
+ }
+ }
+ return func(pos) && next(elem);
+ };
+ },
+ "nth-last-child": function (next, rule, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var func = (0, nth_check_1.default)(rule);
+ if (func === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ if (func === boolbase_1.default.trueFunc)
+ return getChildFunc(next, adapter);
+ return function nthLastChild(elem) {
+ var siblings = adapter.getSiblings(elem);
+ var pos = 0;
+ for (var i = siblings.length - 1; i >= 0; i--) {
+ if (equals(elem, siblings[i]))
+ break;
+ if (adapter.isTag(siblings[i])) {
+ pos++;
+ }
+ }
+ return func(pos) && next(elem);
+ };
+ },
+ "nth-of-type": function (next, rule, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var func = (0, nth_check_1.default)(rule);
+ if (func === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ if (func === boolbase_1.default.trueFunc)
+ return getChildFunc(next, adapter);
+ return function nthOfType(elem) {
+ var siblings = adapter.getSiblings(elem);
+ var pos = 0;
+ for (var i = 0; i < siblings.length; i++) {
+ var currentSibling = siblings[i];
+ if (equals(elem, currentSibling))
+ break;
+ if (adapter.isTag(currentSibling) &&
+ adapter.getName(currentSibling) === adapter.getName(elem)) {
+ pos++;
+ }
+ }
+ return func(pos) && next(elem);
+ };
+ },
+ "nth-last-of-type": function (next, rule, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var func = (0, nth_check_1.default)(rule);
+ if (func === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ if (func === boolbase_1.default.trueFunc)
+ return getChildFunc(next, adapter);
+ return function nthLastOfType(elem) {
+ var siblings = adapter.getSiblings(elem);
+ var pos = 0;
+ for (var i = siblings.length - 1; i >= 0; i--) {
+ var currentSibling = siblings[i];
+ if (equals(elem, currentSibling))
+ break;
+ if (adapter.isTag(currentSibling) &&
+ adapter.getName(currentSibling) === adapter.getName(elem)) {
+ pos++;
+ }
+ }
+ return func(pos) && next(elem);
+ };
+ },
+ // TODO determine the actual root element
+ root: function (next, _rule, _a) {
+ var adapter = _a.adapter;
+ return function (elem) {
+ var parent = adapter.getParent(elem);
+ return (parent == null || !adapter.isTag(parent)) && next(elem);
+ };
+ },
+ scope: function (next, rule, options, context) {
+ var equals = options.equals;
+ if (!context || context.length === 0) {
+ // Equivalent to :root
+ return exports.filters["root"](next, rule, options);
+ }
+ if (context.length === 1) {
+ // NOTE: can't be unpacked, as :has uses this for side-effects
+ return function (elem) { return equals(context[0], elem) && next(elem); };
+ }
+ return function (elem) { return context.includes(elem) && next(elem); };
+ },
+ hover: dynamicStatePseudo("isHovered"),
+ visited: dynamicStatePseudo("isVisited"),
+ active: dynamicStatePseudo("isActive"),
+};
+/**
+ * Dynamic state pseudos. These depend on optional Adapter methods.
+ *
+ * @param name The name of the adapter method to call.
+ * @returns Pseudo for the `filters` object.
+ */
+function dynamicStatePseudo(name) {
+ return function dynamicPseudo(next, _rule, _a) {
+ var adapter = _a.adapter;
+ var func = adapter[name];
+ if (typeof func !== "function") {
+ return boolbase_1.default.falseFunc;
+ }
+ return function active(elem) {
+ return func(elem) && next(elem);
+ };
+ };
+}
+//# sourceMappingURL=filters.js.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map
new file mode 100644
index 0000000..5ce5696
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"filters.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"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AC;AACN,CAAC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts
new file mode 100644
index 0000000..2c41913
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts
@@ -0,0 +1,8 @@
+import type { CompiledQuery, InternalOptions, CompileToken } from "../types.js";
+import { PseudoSelector } from "css-what";
+import { filters } from "./filters.js";
+import { pseudos } from "./pseudos.js";
+import { aliases } from "./aliases.js";
+export { filters, pseudos, aliases };
+export declare function compilePseudoSelector<Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, selector: PseudoSelector, options: InternalOptions<Node, ElementNode>, context: Node[] | undefined, compileToken: CompileToken<Node, ElementNode>): CompiledQuery<ElementNode>;
+//# sourceMappingURL=index.d.ts.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map
new file mode 100644
index 0000000..ba14097
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAS,cAAc,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAoB,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAErC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,GAC9C,aAAa,CAAC,WAAW,CAAC,CA4C5B"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js
new file mode 100644
index 0000000..2536786
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js
@@ -0,0 +1,46 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.compilePseudoSelector = exports.aliases = exports.pseudos = exports.filters = void 0;
+var css_what_1 = require("css-what");
+var filters_js_1 = require("./filters.js");
+Object.defineProperty(exports, "filters", { enumerable: true, get: function () { return filters_js_1.filters; } });
+var pseudos_js_1 = require("./pseudos.js");
+Object.defineProperty(exports, "pseudos", { enumerable: true, get: function () { return pseudos_js_1.pseudos; } });
+var aliases_js_1 = require("./aliases.js");
+Object.defineProperty(exports, "aliases", { enumerable: true, get: function () { return aliases_js_1.aliases; } });
+var subselects_js_1 = require("./subselects.js");
+function compilePseudoSelector(next, selector, options, context, compileToken) {
+ var _a;
+ var name = selector.name, data = selector.data;
+ if (Array.isArray(data)) {
+ if (!(name in subselects_js_1.subselects)) {
+ throw new Error("Unknown pseudo-class :".concat(name, "(").concat(data, ")"));
+ }
+ return subselects_js_1.subselects[name](next, data, options, context, compileToken);
+ }
+ var userPseudo = (_a = options.pseudos) === null || _a === void 0 ? void 0 : _a[name];
+ var stringPseudo = typeof userPseudo === "string" ? userPseudo : aliases_js_1.aliases[name];
+ if (typeof stringPseudo === "string") {
+ if (data != null) {
+ throw new Error("Pseudo ".concat(name, " doesn't have any arguments"));
+ }
+ // The alias has to be parsed here, to make sure options are respected.
+ var alias = (0, css_what_1.parse)(stringPseudo);
+ return subselects_js_1.subselects["is"](next, alias, options, context, compileToken);
+ }
+ if (typeof userPseudo === "function") {
+ (0, pseudos_js_1.verifyPseudoArgs)(userPseudo, name, data, 1);
+ return function (elem) { return userPseudo(elem, data) && next(elem); };
+ }
+ if (name in filters_js_1.filters) {
+ return filters_js_1.filters[name](next, data, options, context);
+ }
+ if (name in pseudos_js_1.pseudos) {
+ var pseudo_1 = pseudos_js_1.pseudos[name];
+ (0, pseudos_js_1.verifyPseudoArgs)(pseudo_1, name, data, 2);
+ return function (elem) { return pseudo_1(elem, options, data) && next(elem); };
+ }
+ throw new Error("Unknown pseudo-class :".concat(name));
+}
+exports.compilePseudoSelector = compilePseudoSelector;
+//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map
new file mode 100644
index 0000000..93f6fc8
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":";;;AAeA,qCAAiD;AACjD,2CAAuC;AAK9B,wFALA,oBAAO,OAKA;AAJhB,2CAAyD;AAIvC,wFAJT,oBAAO,OAIS;AAHzB,2CAAuC;AAGZ,wFAHlB,oBAAO,OAGkB;AAFlC,iDAA6C;AAI7C,SAAgB,qBAAqB,CACjC,IAAgC,EAChC,QAAwB,EACxB,OAA2C,EAC3C,OAA2B,EAC3B,YAA6C;;IAErC,IAAA,IAAI,GAAW,QAAQ,KAAnB,EAAE,IAAI,GAAK,QAAQ,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AAC;KAChE;IAED,IAAI,IAAI,IAAI,oBAAO,EAAE;QACjB,IAAM,QAAM,GAAG,oBAAO,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAA,6BAAgB,EAAC,QAAM,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAExC,OAAO,UAAC,IAAI,IAAK,OAAA,QAAM,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAAzC,CAAyC,CAAC;KAC9D;IAED,MAAM,IAAI,KAAK,CAAC,gCAAyB,IAAI,CAAE,CAAC,CAAC;AACrD,CAAC;AAlDD,sDAkDC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts
new file mode 100644
index 0000000..cfcf8d6
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts
@@ -0,0 +1,6 @@
+import type { PseudoSelector } from "css-what";
+import type { InternalOptions } from "../types.js";
+export declare type Pseudo = <Node, ElementNode extends Node>(elem: ElementNode, options: InternalOptions<Node, ElementNode>, subselect?: string | null) => boolean;
+export declare const pseudos: Record<string, Pseudo>;
+export declare function verifyPseudoArgs<T extends Array<unknown>>(func: (...args: T) => boolean, name: string, subselect: PseudoSelector["data"], argIndex: number): void;
+//# sourceMappingURL=pseudos.d.ts.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map
new file mode 100644
index 0000000..b2d1137
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"pseudos.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,KACxB,OAAO,CAAC;AAGb,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkF1C,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,OAAO,CAAC,EACrD,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,EAC7B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,QAAQ,EAAE,MAAM,GACjB,IAAI,CAQN"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js
new file mode 100644
index 0000000..050ac7f
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js
@@ -0,0 +1,93 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.verifyPseudoArgs = exports.pseudos = void 0;
+// While filters are precompiled, pseudos get called when they are needed
+exports.pseudos = {
+ empty: function (elem, _a) {
+ var adapter = _a.adapter;
+ return !adapter.getChildren(elem).some(function (elem) {
+ // FIXME: `getText` call is potentially expensive.
+ return adapter.isTag(elem) || adapter.getText(elem) !== "";
+ });
+ },
+ "first-child": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ if (adapter.prevElementSibling) {
+ return adapter.prevElementSibling(elem) == null;
+ }
+ var firstChild = adapter
+ .getSiblings(elem)
+ .find(function (elem) { return adapter.isTag(elem); });
+ return firstChild != null && equals(elem, firstChild);
+ },
+ "last-child": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var siblings = adapter.getSiblings(elem);
+ for (var i = siblings.length - 1; i >= 0; i--) {
+ if (equals(elem, siblings[i]))
+ return true;
+ if (adapter.isTag(siblings[i]))
+ break;
+ }
+ return false;
+ },
+ "first-of-type": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var siblings = adapter.getSiblings(elem);
+ var elemName = adapter.getName(elem);
+ for (var i = 0; i < siblings.length; i++) {
+ var currentSibling = siblings[i];
+ if (equals(elem, currentSibling))
+ return true;
+ if (adapter.isTag(currentSibling) &&
+ adapter.getName(currentSibling) === elemName) {
+ break;
+ }
+ }
+ return false;
+ },
+ "last-of-type": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var siblings = adapter.getSiblings(elem);
+ var elemName = adapter.getName(elem);
+ for (var i = siblings.length - 1; i >= 0; i--) {
+ var currentSibling = siblings[i];
+ if (equals(elem, currentSibling))
+ return true;
+ if (adapter.isTag(currentSibling) &&
+ adapter.getName(currentSibling) === elemName) {
+ break;
+ }
+ }
+ return false;
+ },
+ "only-of-type": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ var elemName = adapter.getName(elem);
+ return adapter
+ .getSiblings(elem)
+ .every(function (sibling) {
+ return equals(elem, sibling) ||
+ !adapter.isTag(sibling) ||
+ adapter.getName(sibling) !== elemName;
+ });
+ },
+ "only-child": function (elem, _a) {
+ var adapter = _a.adapter, equals = _a.equals;
+ return adapter
+ .getSiblings(elem)
+ .every(function (sibling) { return equals(elem, sibling) || !adapter.isTag(sibling); });
+ },
+};
+function verifyPseudoArgs(func, name, subselect, argIndex) {
+ if (subselect === null) {
+ if (func.length > argIndex) {
+ throw new Error("Pseudo-class :".concat(name, " requires an argument"));
+ }
+ }
+ else if (func.length === argIndex) {
+ throw new Error("Pseudo-class :".concat(name, " doesn't have any arguments"));
+ }
+}
+exports.verifyPseudoArgs = verifyPseudoArgs;
+//# sourceMappingURL=pseudos.js.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map
new file mode 100644
index 0000000..089cc51
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"pseudos.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":";;;AASA,yEAAyE;AAC5D,QAAA,OAAO,GAA2B;IAC3C,KAAK,YAAC,IAAI,EAAE,EAAW;YAAT,OAAO,aAAA;QACjB,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,CAClC,UAAC,IAAI;YACD,kDAAkD;YAClD,OAAA,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE;QAAnD,CAAmD,CAC1D,CAAC;IACN,CAAC;IAED,aAAa,YAAC,IAAI,EAAE,EAAmB;YAAjB,OAAO,aAAA,EAAE,MAAM,YAAA;QACjC,IAAI,OAAO,CAAC,kBAAkB,EAAE;YAC5B,OAAO,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;SACnD;QAED,IAAM,UAAU,GAAG,OAAO;aACrB,WAAW,CAAC,IAAI,CAAC;aACjB,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAnB,CAAmB,CAAC,CAAC;QACzC,OAAO,UAAU,IAAI,IAAI,IAAI,MAAM,CAAC,IAAI,EAA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IAA6B,EAC7B,IAAY,EACZ,SAAiC,EACjC,QAAgB;IAEhB,IAAI,SAAS,KAAK,IAAI,EAAE;QACpB,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,EAAE;YACxB,MAAM,IAAI,KAAK,CAAC,wBAAiB,IAAI,0BAAuB,CAAC,CAAC;SACjE;KACJ;SAAM,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;QACjC,MAAM,IAAI,KAAK,CAAC,wBAAiB,IAAI,gCAA6B,CAAC,CAAC;KACvE;AACL,CAAC;AAbD,4CAaC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts
new file mode 100644
index 0000000..6555ef2
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts
@@ -0,0 +1,9 @@
+import type { Selector } from "css-what";
+import type { CompiledQuery, InternalOptions, CompileToken, Adapter } from "../types.js";
+/** Used as a placeholder for :has. Will be replaced with the actual element. */
+export declare const PLACEHOLDER_ELEMENT: {};
+export declare function ensureIsTag<Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, adapter: Adapter<Node, ElementNode>): CompiledQuery<Node>;
+export declare type Subselect = <Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, subselect: Selector[][], options: InternalOptions<Node, ElementNode>, context: Node[] | undefined, compileToken: CompileToken<Node, ElementNode>) => CompiledQuery<ElementNode>;
+export declare function getNextSiblings<Node, ElementNode extends Node>(elem: Node, adapter: Adapter<Node, ElementNode>): ElementNode[];
+export declare const subselects: Record<string, Subselect>;
+//# sourceMappingURL=subselects.d.ts.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map
new file mode 100644
index 0000000..9950c0c
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"subselects.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,YAAY,EACZ,OAAO,EACV,MAAM,aAAa,CAAC;AAGrB,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,IAAK,CAAC;AAEtC,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACtD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,aAAa,CAAC,IAAI,CAAC,CAGrB;AAED,oBAAY,SAAS,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACnD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,SAAS,EAAE,QAAQ,EAAE,EAAE,EACvB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,KAC5C,aAAa,CAAC,WAAW,CAAC,CAAC;AAEhC,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC1D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,WAAW,EAAE,CAMf;AAiCD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAgEhD,CAAC"} \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js
new file mode 100644
index 0000000..d2f3b1c
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js
@@ -0,0 +1,112 @@
+"use strict";
+var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
+ if (ar || !(i in from)) {
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
+ ar[i] = from[i];
+ }
+ }
+ return to.concat(ar || Array.prototype.slice.call(from));
+};
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.subselects = exports.getNextSiblings = exports.ensureIsTag = exports.PLACEHOLDER_ELEMENT = void 0;
+var boolbase_1 = __importDefault(require("boolbase"));
+var sort_js_1 = require("../sort.js");
+/** Used as a placeholder for :has. Will be replaced with the actual element. */
+exports.PLACEHOLDER_ELEMENT = {};
+function ensureIsTag(next, adapter) {
+ if (next === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ return function (elem) { return adapter.isTag(elem) && next(elem); };
+}
+exports.ensureIsTag = ensureIsTag;
+function getNextSiblings(elem, adapter) {
+ var siblings = adapter.getSiblings(elem);
+ if (siblings.length <= 1)
+ return [];
+ var elemIndex = siblings.indexOf(elem);
+ if (elemIndex < 0 || elemIndex === siblings.length - 1)
+ return [];
+ return siblings.slice(elemIndex + 1).filter(adapter.isTag);
+}
+exports.getNextSiblings = getNextSiblings;
+function copyOptions(options) {
+ // Not copied: context, rootFunc
+ return {
+ xmlMode: !!options.xmlMode,
+ lowerCaseAttributeNames: !!options.lowerCaseAttributeNames,
+ lowerCaseTags: !!options.lowerCaseTags,
+ quirksMode: !!options.quirksMode,
+ cacheResults: !!options.cacheResults,
+ pseudos: options.pseudos,
+ adapter: options.adapter,
+ equals: options.equals,
+ };
+}
+var is = function (next, token, options, context, compileToken) {
+ var func = compileToken(token, copyOptions(options), context);
+ return func === boolbase_1.default.trueFunc
+ ? next
+ : func === boolbase_1.default.falseFunc
+ ? boolbase_1.default.falseFunc
+ : function (elem) { return func(elem) && next(elem); };
+};
+/*
+ * :not, :has, :is, :matches and :where have to compile selectors
+ * doing this in src/pseudos.ts would lead to circular dependencies,
+ * so we add them here
+ */
+exports.subselects = {
+ is: is,
+ /**
+ * `:matches` and `:where` are aliases for `:is`.
+ */
+ matches: is,
+ where: is,
+ not: function (next, token, options, context, compileToken) {
+ var func = compileToken(token, copyOptions(options), context);
+ return func === boolbase_1.default.falseFunc
+ ? next
+ : func === boolbase_1.default.trueFunc
+ ? boolbase_1.default.falseFunc
+ : function (elem) { return !func(elem) && next(elem); };
+ },
+ has: function (next, subselect, options, _context, compileToken) {
+ var adapter = options.adapter;
+ var opts = copyOptions(options);
+ opts.relativeSelector = true;
+ var context = subselect.some(function (s) { return s.some(sort_js_1.isTraversal); })
+ ? // Used as a placeholder. Will be replaced with the actual element.
+ [exports.PLACEHOLDER_ELEMENT]
+ : undefined;
+ var compiled = compileToken(subselect, opts, context);
+ if (compiled === boolbase_1.default.falseFunc)
+ return boolbase_1.default.falseFunc;
+ var hasElement = ensureIsTag(compiled, adapter);
+ // If `compiled` is `trueFunc`, we can skip this.
+ if (context && compiled !== boolbase_1.default.trueFunc) {
+ /*
+ * `shouldTestNextSiblings` will only be true if the query starts with
+ * a traversal (sibling or adjacent). That means we will always have a context.
+ */
+ var _a = compiled.shouldTestNextSiblings, shouldTestNextSiblings_1 = _a === void 0 ? false : _a;
+ return function (elem) {
+ if (!next(elem))
+ return false;
+ context[0] = elem;
+ var childs = adapter.getChildren(elem);
+ var nextElements = shouldTestNextSiblings_1
+ ? __spreadArray(__spreadArray([], childs, true), getNextSiblings(elem, adapter), true) : childs;
+ return adapter.existsOne(hasElement, nextElements);
+ };
+ }
+ return function (elem) {
+ return next(elem) &&
+ adapter.existsOne(hasElement, adapter.getChildren(elem));
+ };
+ },
+};
+//# sourceMappingURL=subselects.js.map \ No newline at end of file
diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map
new file mode 100644
index 0000000..40e0c25
--- /dev/null
+++ b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"subselects.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,sDAAgC;AAOhC,sCAAyC;AAEzC,gFAAgF;AACnE,QAAA,mBAAmB,GAAG,EAAE,CAAC;AAEtC,SAAgB,WAAW,CACvB,IAAgC,EAChC,OAAmC;IAEnC,IAAI,IAAI,KAAK,kBAAQ,CAAC,SAAS;QAAE,OAAO,kBAAQ,CAAC,SAAS,CAAC;IAC3D,OAAO,UAAC,IAAU,IAAK,OAAA,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAAjC,CAAiC,CAAC;AAC7D,CAAC;AAND,kCAMC;AAUD,SAAgB,eAAe,CAC3B,IAAU,EACV,OAAmC;IAEnC,IAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC3C,IAAI,QAAQ,CAAC,MAAM,IAAI,CAAC;QAAE,OAAO,EAAE,CAAC;IACpC,IAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,KAAK,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IAClE,OAAO,QAAQ,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC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