@depict-ai/utilishared 2.0.8 → 2.0.9

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.
package/ES10/index.cjs CHANGED
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
274
274
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
275
275
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
276
276
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
277
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.8";
277
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.9";
278
278
  const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
279
279
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
280
280
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
package/ES10/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.7";
2
+ export const version = "2.0.9";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/ES10/index.js CHANGED
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
16
16
  function $parcel$interopDefault(a) {
17
17
  return a && a.__esModule ? a.default : a;
18
18
  }
19
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.8";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.9";
20
20
  const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
21
21
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
22
22
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
package/latest/index.cjs CHANGED
@@ -271,7 +271,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
271
271
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
272
272
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
273
273
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
274
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.8";
274
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.9";
275
275
  const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
276
276
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
277
277
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
package/latest/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.7";
2
+ export const version = "2.0.9";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
package/latest/index.js CHANGED
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
13
13
  function $parcel$interopDefault(a) {
14
14
  return a && a.__esModule ? a.default : a;
15
15
  }
16
- const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.8";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.9";
17
17
  const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
18
18
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
19
19
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -154,7 +154,7 @@
154
154
  "@babel/runtime": "latest",
155
155
  "@babel/runtime-corejs3": "latest",
156
156
  "@sentry/browser": "^7.75.1",
157
- "solid-js": "^1.8.1"
157
+ "solid-js": "^1.8.7"
158
158
  },
159
159
  "type": "module",
160
160
  "main": "ES10/index.cjs",
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
274
274
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
275
275
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
276
276
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
277
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.8";
277
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.9";
278
278
  const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
279
279
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
280
280
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -5805,7 +5805,7 @@ function $12a8c4258d1dd80f$export$f8913c8a18f7ca21(iterables) {
5805
5805
  }
5806
5806
  let $0c2e69f971c62390$var$_Symbol$iterator, $0c2e69f971c62390$var$_Symbol$toPrimitive;
5807
5807
  const $0c2e69f971c62390$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5808
- $0c2e69f971c62390$var$_tmpl$2 = ["<div", ' class="', '">', "</div>"];
5808
+ $0c2e69f971c62390$var$_tmpl$2 = ["<div", ">", "</div>"];
5809
5809
  const $0c2e69f971c62390$export$717f13d9ba00ca19 = (min, max) => "@media ".concat(min ? "(min-width:".concat(min, ")") : "").concat(min && max ? " and " : "").concat(max ? "(max-width:".concat(max, ")") : "");
5810
5810
  async function $0c2e69f971c62390$export$c84671f46d6a1ca(_ref) {
5811
5811
  let {
@@ -5866,7 +5866,7 @@ async function $0c2e69f971c62390$export$c84671f46d6a1ca(_ref) {
5866
5866
  });
5867
5867
  if (button) {
5868
5868
  button_class = $a13f25507f352177$export$a6db784f019668ba();
5869
- const button_container = $lMD39$solidjsweb.ssr($0c2e69f971c62390$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey(), "load-more-container " + $lMD39$solidjsweb.escape(button_class, true), $lMD39$solidjsweb.escape($51b78ec2cb40f07e$export$f63fcc839cb0f734("click", () => {
5869
+ const button_container = $lMD39$solidjsweb.ssr($0c2e69f971c62390$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey() + $lMD39$solidjsweb.ssrAttribute("class", "load-more-container " + $lMD39$solidjsweb.escape(button_class, true), false), $lMD39$solidjsweb.escape($51b78ec2cb40f07e$export$f63fcc839cb0f734("click", () => {
5870
5870
  var _rows_or_empty_object;
5871
5871
  return ipns(ipns.state + ((_rows_or_empty_object = rows_or_empty_object.rows_per_click) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1));
5872
5872
  }, button)));
@@ -8154,7 +8154,7 @@ async function $b99c603a5341f0ae$export$8a0e4d6f6abf7e90(_ref) {
8154
8154
  };
8155
8155
  }
8156
8156
  const $468dbae10b24d59f$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
8157
- $468dbae10b24d59f$var$_tmpl$2 = ["<button", ' type="button" class="', '"><span class="size">', "</span><!--$-->", "<!--/--></button>"],
8157
+ $468dbae10b24d59f$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
8158
8158
  $468dbae10b24d59f$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
8159
8159
  async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
8160
8160
  let {
@@ -8178,7 +8178,7 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
8178
8178
  is_available_: is_available_,
8179
8179
  id_: id_
8180
8180
  } = _ref2;
8181
- const button = $lMD39$solidjsweb.ssr($468dbae10b24d59f$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey(), "option" + (is_available_ ? " available" : ""), $lMD39$solidjsweb.escape(size_name_), !is_available_ && $lMD39$solidjsweb.ssr($468dbae10b24d59f$var$_tmpl$3, $lMD39$solidjsweb.ssrHydrationKey(), $lMD39$solidjsweb.escape($fbf41b4abc726dbe$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
8181
+ const button = $lMD39$solidjsweb.ssr($468dbae10b24d59f$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey(), $lMD39$solidjsweb.ssrAttribute("class", "option" + (is_available_ ? " available" : ""), false), $lMD39$solidjsweb.escape(size_name_), !is_available_ && $lMD39$solidjsweb.ssr($468dbae10b24d59f$var$_tmpl$3, $lMD39$solidjsweb.ssrHydrationKey(), $lMD39$solidjsweb.escape($fbf41b4abc726dbe$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
8182
8182
  if (!is_available_) button.disabled = true;
8183
8183
  return button;
8184
8184
  })))]
@@ -8542,7 +8542,7 @@ function $b42b9f62e8b6cb2d$var$optimized_img_url_generator(format, url, width) {
8542
8542
  return "".concat($b42b9f62e8b6cb2d$export$3d13beba9b52c947, "?format=").concat(format, "&url=").concat(encodeURIComponent(url), "&width=").concat(width);
8543
8543
  }
8544
8544
  const $dfce76a4aeb41067$var$_tmpl$ = ["<div", ' style="', '"></div>'],
8545
- $dfce76a4aeb41067$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler" width="', '" height="3000"></canvas>'],
8545
+ $dfce76a4aeb41067$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
8546
8546
  $dfce76a4aeb41067$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
8547
8547
  const $dfce76a4aeb41067$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
8548
8548
  // Add nolazy to placeholders to avoid errors with the stupid lazyfier
@@ -8599,7 +8599,7 @@ function $dfce76a4aeb41067$var$CompatibleImage(_ref3) {
8599
8599
  srcset_opts: srcset_opts,
8600
8600
  ...image_options
8601
8601
  } = _ref3;
8602
- const canvas = $lMD39$solidjsweb.ssr($dfce76a4aeb41067$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey(), 3000 * $lMD39$solidjsweb.escape(aspect_ratio, true));
8602
+ const canvas = $lMD39$solidjsweb.ssr($dfce76a4aeb41067$var$_tmpl$2, $lMD39$solidjsweb.ssrHydrationKey(), $lMD39$solidjsweb.ssrAttribute("width", 3000 * $lMD39$solidjsweb.escape(aspect_ratio, true), false));
8603
8603
  const sourceset_component = $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options, srcset_opts, canvas);
8604
8604
  const IMG_tag = (_image_options$src2 = image_options.src) !== null && _image_options$src2 !== void 0 && _image_options$src2.startsWith("data:") || !sourceset_component ? "img" : sourceset_component;
8605
8605
  return $lMD39$solidjsweb.ssr($dfce76a4aeb41067$var$_tmpl$3, $lMD39$solidjsweb.ssrHydrationKey(), $lMD39$solidjsweb.escape($lMD39$solidjsweb.createComponent(IMG_tag, $lMD39$solidjsweb.mergeProps({
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.7";
2
+ export const version = "2.0.9";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -2,7 +2,7 @@ import { onCleanup as $hrhbO$onCleanup, createEffect as $hrhbO$createEffect, cre
2
2
  import $hrhbO$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import $hrhbO$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
4
4
  import $hrhbO$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
5
- import { ssr as $hrhbO$ssr, ssrHydrationKey as $hrhbO$ssrHydrationKey, escape as $hrhbO$escape, ssrElement as $hrhbO$ssrElement, mergeProps as $hrhbO$mergeProps, createComponent as $hrhbO$createComponent, ssrAttribute as $hrhbO$ssrAttribute, ssrStyle as $hrhbO$ssrStyle } from "solid-js/web";
5
+ import { ssr as $hrhbO$ssr, ssrHydrationKey as $hrhbO$ssrHydrationKey, escape as $hrhbO$escape, ssrAttribute as $hrhbO$ssrAttribute, ssrElement as $hrhbO$ssrElement, mergeProps as $hrhbO$mergeProps, createComponent as $hrhbO$createComponent, ssrStyle as $hrhbO$ssrStyle } from "solid-js/web";
6
6
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
7
7
  register_es_version("utilishared", "ES10");
8
8
  function $parcel$export(e, n, v, s) {
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
16
16
  function $parcel$interopDefault(a) {
17
17
  return a && a.__esModule ? a.default : a;
18
18
  }
19
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.8";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.9";
20
20
  const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
21
21
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
22
22
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
@@ -5547,7 +5547,7 @@ function $07beada135e5f5e8$export$f8913c8a18f7ca21(iterables) {
5547
5547
  }
5548
5548
  let $df6d080cba513381$var$_Symbol$iterator, $df6d080cba513381$var$_Symbol$toPrimitive;
5549
5549
  const $df6d080cba513381$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5550
- $df6d080cba513381$var$_tmpl$2 = ["<div", ' class="', '">', "</div>"];
5550
+ $df6d080cba513381$var$_tmpl$2 = ["<div", ">", "</div>"];
5551
5551
  const $df6d080cba513381$export$717f13d9ba00ca19 = (min, max) => "@media ".concat(min ? "(min-width:".concat(min, ")") : "").concat(min && max ? " and " : "").concat(max ? "(max-width:".concat(max, ")") : "");
5552
5552
  async function $df6d080cba513381$export$c84671f46d6a1ca(_ref) {
5553
5553
  let {
@@ -5608,7 +5608,7 @@ async function $df6d080cba513381$export$c84671f46d6a1ca(_ref) {
5608
5608
  });
5609
5609
  if (button) {
5610
5610
  button_class = $6cb4d83127e468ea$export$a6db784f019668ba();
5611
- const button_container = $hrhbO$ssr($df6d080cba513381$var$_tmpl$2, $hrhbO$ssrHydrationKey(), "load-more-container " + $hrhbO$escape(button_class, true), $hrhbO$escape($a285401a927e4306$export$f63fcc839cb0f734("click", () => {
5611
+ const button_container = $hrhbO$ssr($df6d080cba513381$var$_tmpl$2, $hrhbO$ssrHydrationKey() + $hrhbO$ssrAttribute("class", "load-more-container " + $hrhbO$escape(button_class, true), false), $hrhbO$escape($a285401a927e4306$export$f63fcc839cb0f734("click", () => {
5612
5612
  var _rows_or_empty_object;
5613
5613
  return ipns(ipns.state + ((_rows_or_empty_object = rows_or_empty_object.rows_per_click) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1));
5614
5614
  }, button)));
@@ -7896,7 +7896,7 @@ async function $a59cde169150d10b$export$8a0e4d6f6abf7e90(_ref) {
7896
7896
  };
7897
7897
  }
7898
7898
  const $24f3fd73864991c0$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7899
- $24f3fd73864991c0$var$_tmpl$2 = ["<button", ' type="button" class="', '"><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7899
+ $24f3fd73864991c0$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7900
7900
  $24f3fd73864991c0$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7901
7901
  async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
7902
7902
  let {
@@ -7920,7 +7920,7 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
7920
7920
  is_available_: is_available_,
7921
7921
  id_: id_
7922
7922
  } = _ref2;
7923
- const button = $hrhbO$ssr($24f3fd73864991c0$var$_tmpl$2, $hrhbO$ssrHydrationKey(), "option" + (is_available_ ? " available" : ""), $hrhbO$escape(size_name_), !is_available_ && $hrhbO$ssr($24f3fd73864991c0$var$_tmpl$3, $hrhbO$ssrHydrationKey(), $hrhbO$escape($332ef338faf216a4$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7923
+ const button = $hrhbO$ssr($24f3fd73864991c0$var$_tmpl$2, $hrhbO$ssrHydrationKey(), $hrhbO$ssrAttribute("class", "option" + (is_available_ ? " available" : ""), false), $hrhbO$escape(size_name_), !is_available_ && $hrhbO$ssr($24f3fd73864991c0$var$_tmpl$3, $hrhbO$ssrHydrationKey(), $hrhbO$escape($332ef338faf216a4$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7924
7924
  if (!is_available_) button.disabled = true;
7925
7925
  return button;
7926
7926
  })))]
@@ -8284,7 +8284,7 @@ function $9ef5ce4804a3b61b$var$optimized_img_url_generator(format, url, width) {
8284
8284
  return "".concat($9ef5ce4804a3b61b$export$3d13beba9b52c947, "?format=").concat(format, "&url=").concat(encodeURIComponent(url), "&width=").concat(width);
8285
8285
  }
8286
8286
  const $c987460cedc0d7ec$var$_tmpl$ = ["<div", ' style="', '"></div>'],
8287
- $c987460cedc0d7ec$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler" width="', '" height="3000"></canvas>'],
8287
+ $c987460cedc0d7ec$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
8288
8288
  $c987460cedc0d7ec$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
8289
8289
  const $c987460cedc0d7ec$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
8290
8290
  // Add nolazy to placeholders to avoid errors with the stupid lazyfier
@@ -8341,7 +8341,7 @@ function $c987460cedc0d7ec$var$CompatibleImage(_ref3) {
8341
8341
  srcset_opts: srcset_opts,
8342
8342
  ...image_options
8343
8343
  } = _ref3;
8344
- const canvas = $hrhbO$ssr($c987460cedc0d7ec$var$_tmpl$2, $hrhbO$ssrHydrationKey(), 3000 * $hrhbO$escape(aspect_ratio, true));
8344
+ const canvas = $hrhbO$ssr($c987460cedc0d7ec$var$_tmpl$2, $hrhbO$ssrHydrationKey(), $hrhbO$ssrAttribute("width", 3000 * $hrhbO$escape(aspect_ratio, true), false));
8345
8345
  const sourceset_component = $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options, srcset_opts, canvas);
8346
8346
  const IMG_tag = (_image_options$src2 = image_options.src) !== null && _image_options$src2 !== void 0 && _image_options$src2.startsWith("data:") || !sourceset_component ? "img" : sourceset_component;
8347
8347
  return $hrhbO$ssr($c987460cedc0d7ec$var$_tmpl$3, $hrhbO$ssrHydrationKey(), $hrhbO$escape($hrhbO$createComponent(IMG_tag, $hrhbO$mergeProps({
@@ -271,7 +271,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
271
271
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
272
272
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
273
273
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
274
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.8";
274
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.9";
275
275
  const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
276
276
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
277
277
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -5302,7 +5302,7 @@ function $ef237c2bba47492f$export$f8913c8a18f7ca21(iterables) {
5302
5302
  return ourselves;
5303
5303
  }
5304
5304
  const $1cc2444a0f1b992e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5305
- $1cc2444a0f1b992e$var$_tmpl$2 = ["<div", ' class="', '">', "</div>"];
5305
+ $1cc2444a0f1b992e$var$_tmpl$2 = ["<div", ">", "</div>"];
5306
5306
  const $1cc2444a0f1b992e$export$717f13d9ba00ca19 = (min, max) => `@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
5307
5307
  async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({
5308
5308
  rows: rows,
@@ -5360,7 +5360,7 @@ async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({
5360
5360
  });
5361
5361
  if (button) {
5362
5362
  button_class = $650b64c1b384c895$export$a6db784f019668ba();
5363
- const button_container = $jVDDb$solidjsweb.ssr($1cc2444a0f1b992e$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), "load-more-container " + $jVDDb$solidjsweb.escape(button_class, true), $jVDDb$solidjsweb.escape($90e0b983530610e7$export$f63fcc839cb0f734("click", () => ipns(ipns.state + (rows_or_empty_object.rows_per_click ?? 1)), button)));
5363
+ const button_container = $jVDDb$solidjsweb.ssr($1cc2444a0f1b992e$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey() + $jVDDb$solidjsweb.ssrAttribute("class", "load-more-container " + $jVDDb$solidjsweb.escape(button_class, true), false), $jVDDb$solidjsweb.escape($90e0b983530610e7$export$f63fcc839cb0f734("click", () => ipns(ipns.state + (rows_or_empty_object.rows_per_click ?? 1)), button)));
5364
5364
  container_element.after(button_container);
5365
5365
  }
5366
5366
  (0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).oncreation(container_element, async () => {
@@ -7558,7 +7558,7 @@ async function $a7550e9f97f84465$export$8a0e4d6f6abf7e90({
7558
7558
  };
7559
7559
  }
7560
7560
  const $bd0fccdac6624b01$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7561
- $bd0fccdac6624b01$var$_tmpl$2 = ["<button", ' type="button" class="', '"><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7561
+ $bd0fccdac6624b01$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7562
7562
  $bd0fccdac6624b01$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7563
7563
  async function $bd0fccdac6624b01$export$c068ad5361be7646({
7564
7564
  title_: title_,
@@ -7580,7 +7580,7 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
7580
7580
  is_available_: is_available_,
7581
7581
  id_: id_
7582
7582
  }) => {
7583
- const button = $jVDDb$solidjsweb.ssr($bd0fccdac6624b01$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), "option" + (is_available_ ? " available" : ""), $jVDDb$solidjsweb.escape(size_name_), !is_available_ && $jVDDb$solidjsweb.ssr($bd0fccdac6624b01$var$_tmpl$3, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.escape($374ca311b64f260b$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7583
+ const button = $jVDDb$solidjsweb.ssr($bd0fccdac6624b01$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.ssrAttribute("class", "option" + (is_available_ ? " available" : ""), false), $jVDDb$solidjsweb.escape(size_name_), !is_available_ && $jVDDb$solidjsweb.ssr($bd0fccdac6624b01$var$_tmpl$3, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.escape($374ca311b64f260b$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7584
7584
  if (!is_available_) button.disabled = true;
7585
7585
  return button;
7586
7586
  })))]
@@ -7920,7 +7920,7 @@ function $ff973b2032639b5f$var$optimized_img_url_generator(format, url, width) {
7920
7920
  return `${$ff973b2032639b5f$export$3d13beba9b52c947}?format=${format}&url=${encodeURIComponent(url)}&width=${width}`;
7921
7921
  }
7922
7922
  const $a312bccd722ac9e4$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7923
- $a312bccd722ac9e4$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler" width="', '" height="3000"></canvas>'],
7923
+ $a312bccd722ac9e4$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
7924
7924
  $a312bccd722ac9e4$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
7925
7925
  const $a312bccd722ac9e4$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
7926
7926
  // Add nolazy to placeholders to avoid errors with the stupid lazyfier
@@ -7972,7 +7972,7 @@ function $a312bccd722ac9e4$var$CompatibleImage({
7972
7972
  srcset_opts: srcset_opts,
7973
7973
  ...image_options
7974
7974
  }) {
7975
- const canvas = $jVDDb$solidjsweb.ssr($a312bccd722ac9e4$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), 3000 * $jVDDb$solidjsweb.escape(aspect_ratio, true));
7975
+ const canvas = $jVDDb$solidjsweb.ssr($a312bccd722ac9e4$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.ssrAttribute("width", 3000 * $jVDDb$solidjsweb.escape(aspect_ratio, true), false));
7976
7976
  const sourceset_component = $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, srcset_opts, canvas);
7977
7977
  const IMG_tag = image_options.src?.startsWith("data:") || !sourceset_component ? "img" : sourceset_component;
7978
7978
  return $jVDDb$solidjsweb.ssr($a312bccd722ac9e4$var$_tmpl$3, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.escape($jVDDb$solidjsweb.createComponent(IMG_tag, $jVDDb$solidjsweb.mergeProps({
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.7";
2
+ export const version = "2.0.9";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -1,5 +1,5 @@
1
1
  import { onCleanup as $f3g9l$onCleanup, createEffect as $f3g9l$createEffect, createSignal as $f3g9l$createSignal } from "solid-js";
2
- import { ssr as $f3g9l$ssr, ssrHydrationKey as $f3g9l$ssrHydrationKey, escape as $f3g9l$escape, ssrElement as $f3g9l$ssrElement, mergeProps as $f3g9l$mergeProps, createComponent as $f3g9l$createComponent, ssrAttribute as $f3g9l$ssrAttribute, ssrStyle as $f3g9l$ssrStyle } from "solid-js/web";
2
+ import { ssr as $f3g9l$ssr, ssrHydrationKey as $f3g9l$ssrHydrationKey, escape as $f3g9l$escape, ssrAttribute as $f3g9l$ssrAttribute, ssrElement as $f3g9l$ssrElement, mergeProps as $f3g9l$mergeProps, createComponent as $f3g9l$createComponent, ssrStyle as $f3g9l$ssrStyle } from "solid-js/web";
3
3
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
4
4
  register_es_version("utilishared", "latest");
5
5
  function $parcel$export(e, n, v, s) {
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
13
13
  function $parcel$interopDefault(a) {
14
14
  return a && a.__esModule ? a.default : a;
15
15
  }
16
- const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.8";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.9";
17
17
  const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
18
18
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
19
19
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
@@ -5044,7 +5044,7 @@ function $693e2a1517bef984$export$f8913c8a18f7ca21(iterables) {
5044
5044
  return ourselves;
5045
5045
  }
5046
5046
  const $30e801eaa3dc319e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5047
- $30e801eaa3dc319e$var$_tmpl$2 = ["<div", ' class="', '">', "</div>"];
5047
+ $30e801eaa3dc319e$var$_tmpl$2 = ["<div", ">", "</div>"];
5048
5048
  const $30e801eaa3dc319e$export$717f13d9ba00ca19 = (min, max) => `@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
5049
5049
  async function $30e801eaa3dc319e$export$c84671f46d6a1ca({
5050
5050
  rows: rows,
@@ -5102,7 +5102,7 @@ async function $30e801eaa3dc319e$export$c84671f46d6a1ca({
5102
5102
  });
5103
5103
  if (button) {
5104
5104
  button_class = $460df8550f9d084d$export$a6db784f019668ba();
5105
- const button_container = $f3g9l$ssr($30e801eaa3dc319e$var$_tmpl$2, $f3g9l$ssrHydrationKey(), "load-more-container " + $f3g9l$escape(button_class, true), $f3g9l$escape($b9b0dba897847b2a$export$f63fcc839cb0f734("click", () => ipns(ipns.state + (rows_or_empty_object.rows_per_click ?? 1)), button)));
5105
+ const button_container = $f3g9l$ssr($30e801eaa3dc319e$var$_tmpl$2, $f3g9l$ssrHydrationKey() + $f3g9l$ssrAttribute("class", "load-more-container " + $f3g9l$escape(button_class, true), false), $f3g9l$escape($b9b0dba897847b2a$export$f63fcc839cb0f734("click", () => ipns(ipns.state + (rows_or_empty_object.rows_per_click ?? 1)), button)));
5106
5106
  container_element.after(button_container);
5107
5107
  }
5108
5108
  (0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).oncreation(container_element, async () => {
@@ -7300,7 +7300,7 @@ async function $cf7ca80454d7b4c0$export$8a0e4d6f6abf7e90({
7300
7300
  };
7301
7301
  }
7302
7302
  const $72d170fd5c7cb3fe$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7303
- $72d170fd5c7cb3fe$var$_tmpl$2 = ["<button", ' type="button" class="', '"><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7303
+ $72d170fd5c7cb3fe$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7304
7304
  $72d170fd5c7cb3fe$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7305
7305
  async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
7306
7306
  title_: title_,
@@ -7322,7 +7322,7 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
7322
7322
  is_available_: is_available_,
7323
7323
  id_: id_
7324
7324
  }) => {
7325
- const button = $f3g9l$ssr($72d170fd5c7cb3fe$var$_tmpl$2, $f3g9l$ssrHydrationKey(), "option" + (is_available_ ? " available" : ""), $f3g9l$escape(size_name_), !is_available_ && $f3g9l$ssr($72d170fd5c7cb3fe$var$_tmpl$3, $f3g9l$ssrHydrationKey(), $f3g9l$escape($8c97019b5f7b0d0e$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7325
+ const button = $f3g9l$ssr($72d170fd5c7cb3fe$var$_tmpl$2, $f3g9l$ssrHydrationKey(), $f3g9l$ssrAttribute("class", "option" + (is_available_ ? " available" : ""), false), $f3g9l$escape(size_name_), !is_available_ && $f3g9l$ssr($72d170fd5c7cb3fe$var$_tmpl$3, $f3g9l$ssrHydrationKey(), $f3g9l$escape($8c97019b5f7b0d0e$export$7c081fdbc65b6a2a(exitable_oos_iterator))));
7326
7326
  if (!is_available_) button.disabled = true;
7327
7327
  return button;
7328
7328
  })))]
@@ -7662,7 +7662,7 @@ function $45af9e834781a9bc$var$optimized_img_url_generator(format, url, width) {
7662
7662
  return `${$45af9e834781a9bc$export$3d13beba9b52c947}?format=${format}&url=${encodeURIComponent(url)}&width=${width}`;
7663
7663
  }
7664
7664
  const $914971fb43986a16$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7665
- $914971fb43986a16$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler" width="', '" height="3000"></canvas>'],
7665
+ $914971fb43986a16$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
7666
7666
  $914971fb43986a16$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
7667
7667
  const $914971fb43986a16$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
7668
7668
  // Add nolazy to placeholders to avoid errors with the stupid lazyfier
@@ -7714,7 +7714,7 @@ function $914971fb43986a16$var$CompatibleImage({
7714
7714
  srcset_opts: srcset_opts,
7715
7715
  ...image_options
7716
7716
  }) {
7717
- const canvas = $f3g9l$ssr($914971fb43986a16$var$_tmpl$2, $f3g9l$ssrHydrationKey(), 3000 * $f3g9l$escape(aspect_ratio, true));
7717
+ const canvas = $f3g9l$ssr($914971fb43986a16$var$_tmpl$2, $f3g9l$ssrHydrationKey(), $f3g9l$ssrAttribute("width", 3000 * $f3g9l$escape(aspect_ratio, true), false));
7718
7718
  const sourceset_component = $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, srcset_opts, canvas);
7719
7719
  const IMG_tag = image_options.src?.startsWith("data:") || !sourceset_component ? "img" : sourceset_component;
7720
7720
  return $f3g9l$ssr($914971fb43986a16$var$_tmpl$3, $f3g9l$ssrHydrationKey(), $f3g9l$escape($f3g9l$createComponent(IMG_tag, $f3g9l$mergeProps({