@symbo.ls/scratch 2.11.125 → 2.11.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,9 +143,9 @@ var require_env = __commonJS({
143
143
  }
144
144
  });
145
145
 
146
- // ../../node_modules/@domql/tags/dist/cjs/htmlTags.js
147
- var require_htmlTags = __commonJS({
148
- "../../node_modules/@domql/tags/dist/cjs/htmlTags.js"(exports, module2) {
146
+ // ../../node_modules/@domql/utils/dist/cjs/globals.js
147
+ var require_globals = __commonJS({
148
+ "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
149
149
  "use strict";
150
150
  var __defProp2 = Object.defineProperty;
151
151
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -164,169 +164,18 @@ var require_htmlTags = __commonJS({
164
164
  return to;
165
165
  };
166
166
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
167
- var htmlTags_exports = {};
168
- __export2(htmlTags_exports, {
169
- HTML_TAGS: () => HTML_TAGS
167
+ var globals_exports = {};
168
+ __export2(globals_exports, {
169
+ document: () => document3,
170
+ global: () => global,
171
+ self: () => self,
172
+ window: () => window2
170
173
  });
171
- module2.exports = __toCommonJS2(htmlTags_exports);
172
- var HTML_TAGS = {
173
- root: [
174
- "body",
175
- "html"
176
- ],
177
- head: [
178
- "title",
179
- "base",
180
- "meta",
181
- "style"
182
- ],
183
- body: [
184
- "string",
185
- "fragment",
186
- "a",
187
- "abbr",
188
- "acronym",
189
- "address",
190
- "applet",
191
- "area",
192
- "article",
193
- "aside",
194
- "audio",
195
- "b",
196
- "basefont",
197
- "bdi",
198
- "bdo",
199
- "big",
200
- "blockquote",
201
- "br",
202
- "button",
203
- "canvas",
204
- "caption",
205
- "center",
206
- "cite",
207
- "code",
208
- "col",
209
- "colgroup",
210
- "data",
211
- "datalist",
212
- "dd",
213
- "del",
214
- "details",
215
- "dfn",
216
- "dialog",
217
- "dir",
218
- "div",
219
- "dl",
220
- "dt",
221
- "em",
222
- "embed",
223
- "fieldset",
224
- "figcaption",
225
- "figure",
226
- "font",
227
- "footer",
228
- "form",
229
- "frame",
230
- "frameset",
231
- "h1",
232
- "h2",
233
- "h3",
234
- "h4",
235
- "h5",
236
- "h6",
237
- "head",
238
- "header",
239
- "hr",
240
- "i",
241
- "iframe",
242
- "img",
243
- "input",
244
- "ins",
245
- "kbd",
246
- "label",
247
- "legend",
248
- "li",
249
- "link",
250
- "main",
251
- "map",
252
- "mark",
253
- "meter",
254
- "nav",
255
- "noframes",
256
- "noscript",
257
- "object",
258
- "ol",
259
- "optgroup",
260
- "option",
261
- "output",
262
- "p",
263
- "param",
264
- "picture",
265
- "pre",
266
- "progress",
267
- "q",
268
- "rp",
269
- "rt",
270
- "ruby",
271
- "s",
272
- "samp",
273
- "script",
274
- "section",
275
- "select",
276
- "small",
277
- "source",
278
- "span",
279
- "strike",
280
- "strong",
281
- "sub",
282
- "summary",
283
- "sup",
284
- "table",
285
- "tbody",
286
- "td",
287
- "template",
288
- "textarea",
289
- "tfoot",
290
- "th",
291
- "thead",
292
- "time",
293
- "tr",
294
- "track",
295
- "tt",
296
- "u",
297
- "ul",
298
- "var",
299
- "video",
300
- "wbr",
301
- // SVG
302
- "svg",
303
- "path"
304
- ]
305
- };
306
- }
307
- });
308
-
309
- // ../../node_modules/@domql/tags/dist/cjs/index.js
310
- var require_cjs2 = __commonJS({
311
- "../../node_modules/@domql/tags/dist/cjs/index.js"(exports, module2) {
312
- "use strict";
313
- var __defProp2 = Object.defineProperty;
314
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
315
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
316
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
317
- var __copyProps2 = (to, from, except, desc) => {
318
- if (from && typeof from === "object" || typeof from === "function") {
319
- for (let key of __getOwnPropNames2(from))
320
- if (!__hasOwnProp2.call(to, key) && key !== except)
321
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
322
- }
323
- return to;
324
- };
325
- var __reExport = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
326
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
327
- var tags_exports = {};
328
- module2.exports = __toCommonJS2(tags_exports);
329
- __reExport(tags_exports, require_htmlTags(), module2.exports);
174
+ module2.exports = __toCommonJS2(globals_exports);
175
+ var global = globalThis;
176
+ var self = globalThis;
177
+ var window2 = globalThis;
178
+ var document3 = window2.document;
330
179
  }
331
180
  });
332
181
 
@@ -357,7 +206,7 @@ var require_node = __commonJS({
357
206
  isNode: () => isNode
358
207
  });
359
208
  module2.exports = __toCommonJS2(node_exports);
360
- var import_globals2 = require_cjs();
209
+ var import_globals2 = require_globals();
361
210
  var isNode = (obj) => {
362
211
  return (typeof Node === "object" ? obj instanceof import_globals2.window.Node : obj && typeof obj === "object" && typeof obj.nodeType === "number" && typeof obj.nodeName === "string") || false;
363
212
  };
@@ -402,13 +251,10 @@ var require_types = __commonJS({
402
251
  isObject: () => isObject4,
403
252
  isObjectLike: () => isObjectLike2,
404
253
  isString: () => isString5,
405
- isUndefined: () => isUndefined,
406
- isValidHtmlTag: () => isValidHtmlTag
254
+ isUndefined: () => isUndefined
407
255
  });
408
256
  module2.exports = __toCommonJS2(types_exports);
409
- var import_tags = require_cjs2();
410
257
  var import_node = require_node();
411
- var isValidHtmlTag = (arg) => import_tags.HTML_TAGS.body.includes(arg);
412
258
  var isObject4 = (arg) => {
413
259
  if (arg === null)
414
260
  return false;
@@ -664,7 +510,7 @@ var require_object = __commonJS({
664
510
  stringToObject: () => stringToObject
665
511
  });
666
512
  module2.exports = __toCommonJS2(object_exports);
667
- var import_globals2 = require_cjs();
513
+ var import_globals2 = require_globals();
668
514
  var import_types = require_types();
669
515
  var import_array = require_array();
670
516
  var import_string = require_string();
@@ -1129,42 +975,6 @@ var require_log = __commonJS({
1129
975
  }
1130
976
  });
1131
977
 
1132
- // ../../node_modules/@domql/utils/dist/cjs/globals.js
1133
- var require_globals = __commonJS({
1134
- "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
1135
- "use strict";
1136
- var __defProp2 = Object.defineProperty;
1137
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1138
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
1139
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1140
- var __export2 = (target, all) => {
1141
- for (var name in all)
1142
- __defProp2(target, name, { get: all[name], enumerable: true });
1143
- };
1144
- var __copyProps2 = (to, from, except, desc) => {
1145
- if (from && typeof from === "object" || typeof from === "function") {
1146
- for (let key of __getOwnPropNames2(from))
1147
- if (!__hasOwnProp2.call(to, key) && key !== except)
1148
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1149
- }
1150
- return to;
1151
- };
1152
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1153
- var globals_exports = {};
1154
- __export2(globals_exports, {
1155
- document: () => document3,
1156
- global: () => global,
1157
- self: () => self,
1158
- window: () => window2
1159
- });
1160
- module2.exports = __toCommonJS2(globals_exports);
1161
- var global = globalThis;
1162
- var self = globalThis;
1163
- var window2 = globalThis;
1164
- var document3 = window2.document;
1165
- }
1166
- });
1167
-
1168
978
  // ../../node_modules/@domql/utils/dist/cjs/cookie.js
1169
979
  var require_cookie = __commonJS({
1170
980
  "../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports, module2) {
@@ -1221,8 +1031,173 @@ var require_cookie = __commonJS({
1221
1031
  }
1222
1032
  });
1223
1033
 
1034
+ // ../../node_modules/@domql/utils/dist/cjs/tags.js
1035
+ var require_tags = __commonJS({
1036
+ "../../node_modules/@domql/utils/dist/cjs/tags.js"(exports, module2) {
1037
+ "use strict";
1038
+ var __defProp2 = Object.defineProperty;
1039
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1040
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
1041
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1042
+ var __export2 = (target, all) => {
1043
+ for (var name in all)
1044
+ __defProp2(target, name, { get: all[name], enumerable: true });
1045
+ };
1046
+ var __copyProps2 = (to, from, except, desc) => {
1047
+ if (from && typeof from === "object" || typeof from === "function") {
1048
+ for (let key of __getOwnPropNames2(from))
1049
+ if (!__hasOwnProp2.call(to, key) && key !== except)
1050
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
1051
+ }
1052
+ return to;
1053
+ };
1054
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
1055
+ var tags_exports = {};
1056
+ __export2(tags_exports, {
1057
+ HTML_TAGS: () => HTML_TAGS,
1058
+ isValidHtmlTag: () => isValidHtmlTag
1059
+ });
1060
+ module2.exports = __toCommonJS2(tags_exports);
1061
+ var HTML_TAGS = {
1062
+ root: [
1063
+ "body",
1064
+ "html"
1065
+ ],
1066
+ head: [
1067
+ "title",
1068
+ "base",
1069
+ "meta",
1070
+ "style"
1071
+ ],
1072
+ body: [
1073
+ "string",
1074
+ "fragment",
1075
+ "a",
1076
+ "abbr",
1077
+ "acronym",
1078
+ "address",
1079
+ "applet",
1080
+ "area",
1081
+ "article",
1082
+ "aside",
1083
+ "audio",
1084
+ "b",
1085
+ "basefont",
1086
+ "bdi",
1087
+ "bdo",
1088
+ "big",
1089
+ "blockquote",
1090
+ "br",
1091
+ "button",
1092
+ "canvas",
1093
+ "caption",
1094
+ "center",
1095
+ "cite",
1096
+ "code",
1097
+ "col",
1098
+ "colgroup",
1099
+ "data",
1100
+ "datalist",
1101
+ "dd",
1102
+ "del",
1103
+ "details",
1104
+ "dfn",
1105
+ "dialog",
1106
+ "dir",
1107
+ "div",
1108
+ "dl",
1109
+ "dt",
1110
+ "em",
1111
+ "embed",
1112
+ "fieldset",
1113
+ "figcaption",
1114
+ "figure",
1115
+ "font",
1116
+ "footer",
1117
+ "form",
1118
+ "frame",
1119
+ "frameset",
1120
+ "h1",
1121
+ "h2",
1122
+ "h3",
1123
+ "h4",
1124
+ "h5",
1125
+ "h6",
1126
+ "head",
1127
+ "header",
1128
+ "hr",
1129
+ "i",
1130
+ "iframe",
1131
+ "img",
1132
+ "input",
1133
+ "ins",
1134
+ "kbd",
1135
+ "label",
1136
+ "legend",
1137
+ "li",
1138
+ "link",
1139
+ "main",
1140
+ "map",
1141
+ "mark",
1142
+ "meter",
1143
+ "nav",
1144
+ "noframes",
1145
+ "noscript",
1146
+ "object",
1147
+ "ol",
1148
+ "optgroup",
1149
+ "option",
1150
+ "output",
1151
+ "p",
1152
+ "param",
1153
+ "picture",
1154
+ "pre",
1155
+ "progress",
1156
+ "q",
1157
+ "rp",
1158
+ "rt",
1159
+ "ruby",
1160
+ "s",
1161
+ "samp",
1162
+ "script",
1163
+ "section",
1164
+ "select",
1165
+ "small",
1166
+ "source",
1167
+ "span",
1168
+ "strike",
1169
+ "strong",
1170
+ "sub",
1171
+ "summary",
1172
+ "sup",
1173
+ "table",
1174
+ "tbody",
1175
+ "td",
1176
+ "template",
1177
+ "textarea",
1178
+ "tfoot",
1179
+ "th",
1180
+ "thead",
1181
+ "time",
1182
+ "tr",
1183
+ "track",
1184
+ "tt",
1185
+ "u",
1186
+ "ul",
1187
+ "var",
1188
+ "video",
1189
+ "wbr",
1190
+ // SVG
1191
+ "svg",
1192
+ "path"
1193
+ ]
1194
+ };
1195
+ var isValidHtmlTag = (arg) => HTML_TAGS.body.includes(arg);
1196
+ }
1197
+ });
1198
+
1224
1199
  // ../../node_modules/@domql/utils/dist/cjs/index.js
1225
- var require_cjs3 = __commonJS({
1200
+ var require_cjs2 = __commonJS({
1226
1201
  "../../node_modules/@domql/utils/dist/cjs/index.js"(exports, module2) {
1227
1202
  "use strict";
1228
1203
  var __defProp2 = Object.defineProperty;
@@ -1252,6 +1227,7 @@ var require_cjs3 = __commonJS({
1252
1227
  __reExport(utils_exports2, require_string(), module2.exports);
1253
1228
  __reExport(utils_exports2, require_globals(), module2.exports);
1254
1229
  __reExport(utils_exports2, require_cookie(), module2.exports);
1230
+ __reExport(utils_exports2, require_tags(), module2.exports);
1255
1231
  }
1256
1232
  });
1257
1233
 
@@ -1299,7 +1275,7 @@ module.exports = __toCommonJS(utils_exports);
1299
1275
 
1300
1276
  // src/utils/color.js
1301
1277
  var import_globals = __toESM(require_cjs(), 1);
1302
- var import_utils = __toESM(require_cjs3(), 1);
1278
+ var import_utils = __toESM(require_cjs2(), 1);
1303
1279
  var ENV = "development";
1304
1280
  var colorStringToRgbaArray = (color) => {
1305
1281
  if (color === "")
@@ -1498,19 +1474,19 @@ var getFontFaceString = (LIBRARY) => {
1498
1474
  };
1499
1475
 
1500
1476
  // src/utils/sequence.js
1501
- var import_utils5 = __toESM(require_cjs3(), 1);
1477
+ var import_utils5 = __toESM(require_cjs2(), 1);
1502
1478
 
1503
1479
  // ../utils/src/index.js
1504
- var import_utils3 = __toESM(require_cjs3());
1480
+ var import_utils3 = __toESM(require_cjs2());
1505
1481
 
1506
1482
  // ../utils/src/scaling.js
1507
- var import_utils2 = __toESM(require_cjs3());
1483
+ var import_utils2 = __toESM(require_cjs2());
1508
1484
 
1509
1485
  // ../utils/src/index.js
1510
1486
  var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
1511
1487
 
1512
1488
  // src/factory.js
1513
- var import_utils4 = __toESM(require_cjs3(), 1);
1489
+ var import_utils4 = __toESM(require_cjs2(), 1);
1514
1490
 
1515
1491
  // src/defaultConfig/index.js
1516
1492
  var defaultConfig_exports = {};
@@ -1902,7 +1878,7 @@ var findHeadings = (propertyNames) => {
1902
1878
  };
1903
1879
 
1904
1880
  // src/utils/var.js
1905
- var import_utils7 = __toESM(require_cjs3(), 1);
1881
+ var import_utils7 = __toESM(require_cjs2(), 1);
1906
1882
  var setVariables = (result, key) => {
1907
1883
  const CONFIG2 = getActiveConfig();
1908
1884
  const { CSS_VARS: CSS_VARS2 } = CONFIG2;
@@ -1942,7 +1918,7 @@ var applySequenceVars = (props, mediaName, options = {}) => {
1942
1918
  };
1943
1919
 
1944
1920
  // src/utils/sprite.js
1945
- var import_utils8 = __toESM(require_cjs3(), 1);
1921
+ var import_utils8 = __toESM(require_cjs2(), 1);
1946
1922
  var generateSprite = (icons) => {
1947
1923
  const CONFIG2 = getActiveConfig();
1948
1924
  let sprite = "";