@depict-ai/utilishared 2.0.11 → 2.0.15

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.
@@ -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.11";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.15";
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]";
@@ -4157,7 +4157,7 @@ function $5f31622ffb78bc10$export$e4741190ccada479(element, selector) {
4157
4157
  }
4158
4158
  return result;
4159
4159
  }
4160
- const $be288a83d9eabf2a$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
4160
+ var $be288a83d9eabf2a$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
4161
4161
  $be288a83d9eabf2a$var$_tmpl$2 = ["<div", ' class="sliding"></div>'],
4162
4162
  $be288a83d9eabf2a$var$_tmpl$3 = ["<button", ' aria-label="Scroll left" class="left d-navbutton" type="button"></button>'],
4163
4163
  $be288a83d9eabf2a$var$_tmpl$4 = ["<button", ' aria-label="Scroll right" class="right d-navbutton" type="button"></button>'];
@@ -5222,7 +5222,7 @@ async function $b7b39b38d6e695e9$export$cd12721587f4f16d(t, rendering_options, o
5222
5222
  elements: container ? container : [slider.container]
5223
5223
  };
5224
5224
  }
5225
- const $193ee64f5599f8a8$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
5225
+ var $193ee64f5599f8a8$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
5226
5226
  async function $193ee64f5599f8a8$export$30933c637c977eef(_ref) {
5227
5227
  var _template_tool$data;
5228
5228
  let {
@@ -5517,7 +5517,7 @@ const $0f650018c3cbc373$export$ffb0004e005737fa = (_ref2, _unknown) => {
5517
5517
  $0f650018c3cbc373$var$appendChild(df, children);
5518
5518
  return df;
5519
5519
  };
5520
- const $c755e2b0d4b18501$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5520
+ var $c755e2b0d4b18501$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5521
5521
  $c755e2b0d4b18501$var$_tmpl$2 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
5522
5522
  const $c755e2b0d4b18501$export$dc84183312f0c201 = /*@__PURE__*/(() => $hrhbO$ssr($c755e2b0d4b18501$var$_tmpl$, $hrhbO$ssrHydrationKey()))();
5523
5523
  const $c755e2b0d4b18501$export$6038895ac52bd044 = /*@__PURE__*/(() => $hrhbO$ssr($c755e2b0d4b18501$var$_tmpl$2, $hrhbO$ssrHydrationKey()))();
@@ -5558,7 +5558,7 @@ function $07beada135e5f5e8$export$f8913c8a18f7ca21(iterables) {
5558
5558
  return ourselves;
5559
5559
  }
5560
5560
  let $df6d080cba513381$var$_Symbol$iterator, $df6d080cba513381$var$_Symbol$toPrimitive;
5561
- const $df6d080cba513381$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5561
+ var $df6d080cba513381$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5562
5562
  $df6d080cba513381$var$_tmpl$2 = ["<div", ">", "</div>"];
5563
5563
  const $df6d080cba513381$export$717f13d9ba00ca19 = (min, max) => "@media ".concat(min ? "(min-width:".concat(min, ")") : "").concat(min && max ? " and " : "").concat(max ? "(max-width:".concat(max, ")") : "");
5564
5564
  async function $df6d080cba513381$export$c84671f46d6a1ca(_ref) {
@@ -5924,7 +5924,7 @@ function $090af64928922937$export$80039a49055269fb() {
5924
5924
  };
5925
5925
  return Object.fromEntries(["left", "right"].map(side => [side, [new_arrowimage()]]));
5926
5926
  }
5927
- const $66c5b496f7887c00$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5927
+ var $66c5b496f7887c00$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5928
5928
  function $66c5b496f7887c00$export$af88b4929c2dc86() {
5929
5929
  const img = $hrhbO$ssr($66c5b496f7887c00$var$_tmpl$, $hrhbO$ssrHydrationKey());
5930
5930
  return {
@@ -5932,7 +5932,7 @@ function $66c5b496f7887c00$export$af88b4929c2dc86() {
5932
5932
  right: [img.cloneNode()]
5933
5933
  };
5934
5934
  }
5935
- const $d3c54fdf1bfb087a$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5935
+ var $d3c54fdf1bfb087a$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5936
5936
  function $d3c54fdf1bfb087a$export$1d17a045bcc711b1(_ref) {
5937
5937
  let {
5938
5938
  t: t,
@@ -6219,7 +6219,7 @@ function $0cbf24ae3e670238$export$5723caf9a8335aa6(_t) {
6219
6219
  mutation_plugin: mutation_plugin
6220
6220
  };
6221
6221
  }
6222
- const $4837ebe61ecec421$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
6222
+ var $4837ebe61ecec421$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
6223
6223
  $4837ebe61ecec421$var$_tmpl$2 = ["<div", ' class="depict_slider_scroll_container"></div>'];
6224
6224
  function $4837ebe61ecec421$export$93223e488e7ee078(options) {
6225
6225
  function constructor_plugin(_slider_options) {
@@ -6252,7 +6252,7 @@ function $4837ebe61ecec421$export$93223e488e7ee078(options) {
6252
6252
  mutation_plugin: mutation_plugin
6253
6253
  };
6254
6254
  }
6255
- const $ff905d87817a07f4$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
6255
+ var $ff905d87817a07f4$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
6256
6256
  function $ff905d87817a07f4$export$b36d2489a5a16728(_t) {
6257
6257
  let {
6258
6258
  snapEvery: snapEvery,
@@ -7861,7 +7861,7 @@ function $c40fc6dc2c22b3c4$export$4a3043e508dd72f0(_ref) {
7861
7861
  button.classList.add("show-more");
7862
7862
  return button;
7863
7863
  }
7864
- const $a59cde169150d10b$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7864
+ var $a59cde169150d10b$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7865
7865
  $a59cde169150d10b$var$_tmpl$2 = ["<div", ' class="slidein"><div class="header"><span class="title">', '</span><button class="close">', '</button></div><div class="body">', "</div></div>"],
7866
7866
  $a59cde169150d10b$var$_tmpl$3 = ["<div", ' class="depict"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
7867
7867
  async function $a59cde169150d10b$export$8a0e4d6f6abf7e90(_ref) {
@@ -7927,7 +7927,7 @@ async function $a59cde169150d10b$export$8a0e4d6f6abf7e90(_ref) {
7927
7927
  on_close_: fn => closing_handlers.push(fn)
7928
7928
  };
7929
7929
  }
7930
- const $24f3fd73864991c0$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7930
+ var $24f3fd73864991c0$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7931
7931
  $24f3fd73864991c0$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7932
7932
  $24f3fd73864991c0$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7933
7933
  async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
@@ -7991,17 +7991,17 @@ const $adc0bb548fdb574f$export$d613f5b6d0a331a8 = _ref2 => {
7991
7991
  style: "position:relative;width:100%;padding-bottom:".concat(1 / aspect_ratio * 100, "%")
7992
7992
  }, attributes));
7993
7993
  };
7994
- const $2e6ca552eb0e0b2b$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7994
+ var $2e6ca552eb0e0b2b$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7995
7995
  $2e6ca552eb0e0b2b$var$_tmpl$2 = ["<h4", ' class="recs_header">', "</h4>"];
7996
7996
  const $2e6ca552eb0e0b2b$export$97f31f44c68c1d5 = function (title) {
7997
7997
  let surface_classes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
7998
7998
  return $a285401a927e4306$export$eb0b9ed911409b57(e => e.classList.add(...surface_classes), $hrhbO$ssr($2e6ca552eb0e0b2b$var$_tmpl$, $hrhbO$ssrHydrationKey(), title && typeof title === "string" ? $hrhbO$ssr($2e6ca552eb0e0b2b$var$_tmpl$2, $hrhbO$ssrHydrationKey(), $hrhbO$escape(title)) : $hrhbO$escape(title)));
7999
7999
  };
8000
- const $ad0b2591dac160be$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
8000
+ var $ad0b2591dac160be$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
8001
8001
  $ad0b2591dac160be$var$_tmpl$2 = ["<svg", ' viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
8002
8002
  const $ad0b2591dac160be$export$32a55d57d151bc5a = () => $hrhbO$ssr($ad0b2591dac160be$var$_tmpl$, $hrhbO$ssrHydrationKey());
8003
8003
  const $ad0b2591dac160be$export$ddd70fdae1b350e6 = () => $hrhbO$ssr($ad0b2591dac160be$var$_tmpl$2, $hrhbO$ssrHydrationKey());
8004
- const $9a74c17d1ef21fdf$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
8004
+ var $9a74c17d1ef21fdf$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
8005
8005
  $9a74c17d1ef21fdf$var$_tmpl$2 = ["<div", ' class="color-picker" role="form" aria-label="Color picker">', "</div>"];
8006
8006
  /**
8007
8007
  * Internal color circle used in ColorPicker
@@ -8087,7 +8087,7 @@ function $9a74c17d1ef21fdf$export$590326cc34f49e2d(_ref2) {
8087
8087
  }
8088
8088
  };
8089
8089
  }
8090
- const $0f55c2bc0a7b363b$var$_tmpl$ = ["<div", ">", "</div>"],
8090
+ var $0f55c2bc0a7b363b$var$_tmpl$ = ["<div", ">", "</div>"],
8091
8091
  $0f55c2bc0a7b363b$var$_tmpl$2 = ["<div", ' style="', '" aria-hidden="true">', "</div>"];
8092
8092
  const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
8093
8093
  let {
@@ -8172,7 +8172,7 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
8172
8172
  };
8173
8173
  var $5305cfbbfffd9dc8$exports = {};
8174
8174
  $5305cfbbfffd9dc8$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n";
8175
- const $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
8175
+ var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
8176
8176
  const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
8177
8177
  const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
8178
8178
  function $9ef5ce4804a3b61b$export$f39a7d0667e924a(what_to_watch) {
@@ -8315,7 +8315,7 @@ function $9ef5ce4804a3b61b$var$optimized_img_url_generator(format, url, width) {
8315
8315
  // using make_url_with_query_params takes ~100ms on CDON with 2 surfaces and hover images, we can't afford that when it could be essentially free
8316
8316
  return "".concat($9ef5ce4804a3b61b$export$3d13beba9b52c947, "?format=").concat(format, "&url=").concat(encodeURIComponent(url), "&width=").concat(width);
8317
8317
  }
8318
- const $c987460cedc0d7ec$var$_tmpl$ = ["<div", ' style="', '"></div>'],
8318
+ var $c987460cedc0d7ec$var$_tmpl$ = ["<div", ' style="', '"></div>'],
8319
8319
  $c987460cedc0d7ec$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
8320
8320
  $c987460cedc0d7ec$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
8321
8321
  const $c987460cedc0d7ec$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
@@ -8406,7 +8406,7 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
8406
8406
  }
8407
8407
  var $8254bab8001eaa15$exports = {};
8408
8408
  $8254bab8001eaa15$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
8409
- const $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
8409
+ var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
8410
8410
  $73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
8411
8411
  // Saving bytez
8412
8412
  // Maybe? @Daniel
@@ -272,7 +272,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
272
272
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
273
273
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
274
274
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
275
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.11";
275
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.15";
276
276
  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"))();
277
277
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
278
278
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -4011,7 +4011,7 @@ function $1da560af170fb839$export$e4741190ccada479(element, selector) {
4011
4011
  }
4012
4012
  return result;
4013
4013
  }
4014
- const $1683d0164abd7c1d$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
4014
+ var $1683d0164abd7c1d$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
4015
4015
  $1683d0164abd7c1d$var$_tmpl$2 = ["<div", ' class="sliding"></div>'],
4016
4016
  $1683d0164abd7c1d$var$_tmpl$3 = ["<button", ' aria-label="Scroll left" class="left d-navbutton" type="button"></button>'],
4017
4017
  $1683d0164abd7c1d$var$_tmpl$4 = ["<button", ' aria-label="Scroll right" class="right d-navbutton" type="button"></button>'];
@@ -4989,7 +4989,7 @@ async function $7af744346f17bf99$export$cd12721587f4f16d(t, rendering_options, o
4989
4989
  elements: container ? container : [slider.container]
4990
4990
  };
4991
4991
  }
4992
- const $66a2a93dfa520bc6$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
4992
+ var $66a2a93dfa520bc6$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
4993
4993
  async function $66a2a93dfa520bc6$export$30933c637c977eef({
4994
4994
  t: t,
4995
4995
  recs: recs,
@@ -5275,7 +5275,7 @@ const $107a74aa4ea5902d$export$ffb0004e005737fa = ({
5275
5275
  $107a74aa4ea5902d$var$appendChild(df, children);
5276
5276
  return df;
5277
5277
  };
5278
- const $c3af1bfb402a8820$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5278
+ var $c3af1bfb402a8820$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5279
5279
  $c3af1bfb402a8820$var$_tmpl$2 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
5280
5280
  const $c3af1bfb402a8820$export$dc84183312f0c201 = /*@__PURE__*/(() => $jVDDb$solidjsweb.ssr($c3af1bfb402a8820$var$_tmpl$, $jVDDb$solidjsweb.ssrHydrationKey()))();
5281
5281
  const $c3af1bfb402a8820$export$6038895ac52bd044 = /*@__PURE__*/(() => $jVDDb$solidjsweb.ssr($c3af1bfb402a8820$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey()))();
@@ -5314,7 +5314,7 @@ function $ef237c2bba47492f$export$f8913c8a18f7ca21(iterables) {
5314
5314
  }))).then($268cbd9e4ade92db$export$b3bbfd758f11cfa9(ourselves.exit));
5315
5315
  return ourselves;
5316
5316
  }
5317
- const $1cc2444a0f1b992e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5317
+ var $1cc2444a0f1b992e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5318
5318
  $1cc2444a0f1b992e$var$_tmpl$2 = ["<div", ">", "</div>"];
5319
5319
  const $1cc2444a0f1b992e$export$717f13d9ba00ca19 = (min, max) => `@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
5320
5320
  async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({
@@ -5669,7 +5669,7 @@ function $a8a0385b88626561$export$80039a49055269fb() {
5669
5669
  };
5670
5670
  return Object.fromEntries(["left", "right"].map(side => [side, [new_arrowimage()]]));
5671
5671
  }
5672
- const $edc9fe0b09e00df6$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5672
+ var $edc9fe0b09e00df6$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5673
5673
  function $edc9fe0b09e00df6$export$af88b4929c2dc86() {
5674
5674
  const img = $jVDDb$solidjsweb.ssr($edc9fe0b09e00df6$var$_tmpl$, $jVDDb$solidjsweb.ssrHydrationKey());
5675
5675
  return {
@@ -5677,7 +5677,7 @@ function $edc9fe0b09e00df6$export$af88b4929c2dc86() {
5677
5677
  right: [img.cloneNode()]
5678
5678
  };
5679
5679
  }
5680
- const $158313c0231e6555$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5680
+ var $158313c0231e6555$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5681
5681
  function $158313c0231e6555$export$1d17a045bcc711b1({
5682
5682
  t: t,
5683
5683
  navcont_insertion_fn: navcont_insertion_fn,
@@ -5954,7 +5954,7 @@ function $91f7baba008bce7d$export$5723caf9a8335aa6(_t, fraction = 1, max_steps,
5954
5954
  mutation_plugin: mutation_plugin
5955
5955
  };
5956
5956
  }
5957
- const $1942530ef27e571b$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
5957
+ var $1942530ef27e571b$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
5958
5958
  $1942530ef27e571b$var$_tmpl$2 = ["<div", ' class="depict_slider_scroll_container"></div>'];
5959
5959
  function $1942530ef27e571b$export$93223e488e7ee078(options) {
5960
5960
  function constructor_plugin(_slider_options) {
@@ -5986,7 +5986,7 @@ function $1942530ef27e571b$export$93223e488e7ee078(options) {
5986
5986
  mutation_plugin: mutation_plugin
5987
5987
  };
5988
5988
  }
5989
- const $6af20338fcad1911$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
5989
+ var $6af20338fcad1911$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
5990
5990
  function $6af20338fcad1911$export$b36d2489a5a16728(_t, {
5991
5991
  snapEvery: snapEvery,
5992
5992
  align: align
@@ -7526,7 +7526,7 @@ function $dba3e72fb3e5c53d$export$4a3043e508dd72f0({
7526
7526
  button.classList.add("show-more");
7527
7527
  return button;
7528
7528
  }
7529
- const $a7550e9f97f84465$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7529
+ var $a7550e9f97f84465$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7530
7530
  $a7550e9f97f84465$var$_tmpl$2 = ["<div", ' class="slidein"><div class="header"><span class="title">', '</span><button class="close">', '</button></div><div class="body">', "</div></div>"],
7531
7531
  $a7550e9f97f84465$var$_tmpl$3 = ["<div", ' class="depict"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
7532
7532
  async function $a7550e9f97f84465$export$8a0e4d6f6abf7e90({
@@ -7590,7 +7590,7 @@ async function $a7550e9f97f84465$export$8a0e4d6f6abf7e90({
7590
7590
  on_close_: fn => closing_handlers.push(fn)
7591
7591
  };
7592
7592
  }
7593
- const $bd0fccdac6624b01$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7593
+ var $bd0fccdac6624b01$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7594
7594
  $bd0fccdac6624b01$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7595
7595
  $bd0fccdac6624b01$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7596
7596
  async function $bd0fccdac6624b01$export$c068ad5361be7646({
@@ -7650,14 +7650,14 @@ const $e587cb3b31b82f43$export$d613f5b6d0a331a8 = ({
7650
7650
  style: `position:relative;width:100%;padding-bottom:${1 / aspect_ratio * 100}%`
7651
7651
  }, attributes));
7652
7652
  };
7653
- const $b9c0746e4d18273a$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7653
+ var $b9c0746e4d18273a$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7654
7654
  $b9c0746e4d18273a$var$_tmpl$2 = ["<h4", ' class="recs_header">', "</h4>"];
7655
7655
  const $b9c0746e4d18273a$export$97f31f44c68c1d5 = (title, surface_classes = []) => $90e0b983530610e7$export$eb0b9ed911409b57(e => e.classList.add(...surface_classes), $jVDDb$solidjsweb.ssr($b9c0746e4d18273a$var$_tmpl$, $jVDDb$solidjsweb.ssrHydrationKey(), title && typeof title === "string" ? $jVDDb$solidjsweb.ssr($b9c0746e4d18273a$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey(), $jVDDb$solidjsweb.escape(title)) : $jVDDb$solidjsweb.escape(title)));
7656
- const $69accc27bcbd6972$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
7656
+ var $69accc27bcbd6972$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
7657
7657
  $69accc27bcbd6972$var$_tmpl$2 = ["<svg", ' viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
7658
7658
  const $69accc27bcbd6972$export$32a55d57d151bc5a = () => $jVDDb$solidjsweb.ssr($69accc27bcbd6972$var$_tmpl$, $jVDDb$solidjsweb.ssrHydrationKey());
7659
7659
  const $69accc27bcbd6972$export$ddd70fdae1b350e6 = () => $jVDDb$solidjsweb.ssr($69accc27bcbd6972$var$_tmpl$2, $jVDDb$solidjsweb.ssrHydrationKey());
7660
- const $af92e61c7dfccf01$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
7660
+ var $af92e61c7dfccf01$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
7661
7661
  $af92e61c7dfccf01$var$_tmpl$2 = ["<div", ' class="color-picker" role="form" aria-label="Color picker">', "</div>"];
7662
7662
  /**
7663
7663
  * Internal color circle used in ColorPicker
@@ -7738,7 +7738,7 @@ function $af92e61c7dfccf01$export$590326cc34f49e2d({
7738
7738
  }
7739
7739
  };
7740
7740
  }
7741
- const $b25f388f0fe2f1b3$var$_tmpl$ = ["<div", ">", "</div>"],
7741
+ var $b25f388f0fe2f1b3$var$_tmpl$ = ["<div", ">", "</div>"],
7742
7742
  $b25f388f0fe2f1b3$var$_tmpl$2 = ["<div", ' style="', '" aria-hidden="true">', "</div>"];
7743
7743
  const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
7744
7744
  duration = 500,
@@ -7815,7 +7815,7 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
7815
7815
  };
7816
7816
  var $aa123ed8001baa5e$exports = {};
7817
7817
  $aa123ed8001baa5e$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n inset: 0;\n}\n\n";
7818
- const $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
7818
+ var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
7819
7819
  const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
7820
7820
  const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
7821
7821
  function $ff973b2032639b5f$export$f39a7d0667e924a(what_to_watch, sizes_communicator = $9a42a570de51ea3d$export$e806c6c1615a59ae(), resolution_factor = 1) {
@@ -7952,7 +7952,7 @@ function $ff973b2032639b5f$var$optimized_img_url_generator(format, url, width) {
7952
7952
  // using make_url_with_query_params takes ~100ms on CDON with 2 surfaces and hover images, we can't afford that when it could be essentially free
7953
7953
  return `${$ff973b2032639b5f$export$3d13beba9b52c947}?format=${format}&url=${encodeURIComponent(url)}&width=${width}`;
7954
7954
  }
7955
- const $a312bccd722ac9e4$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7955
+ var $a312bccd722ac9e4$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7956
7956
  $a312bccd722ac9e4$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
7957
7957
  $a312bccd722ac9e4$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
7958
7958
  const $a312bccd722ac9e4$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
@@ -8035,7 +8035,7 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
8035
8035
  }
8036
8036
  var $db57c943efeaebed$exports = {};
8037
8037
  $db57c943efeaebed$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
8038
- const $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
8038
+ var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
8039
8039
  $a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
8040
8040
  // Saving bytez
8041
8041
  // Maybe? @Daniel
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.11";
2
+ export const version = "2.0.15";
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]`.
@@ -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.11";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.15";
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]";
@@ -3752,7 +3752,7 @@ function $b83068cbd26dcc41$export$e4741190ccada479(element, selector) {
3752
3752
  }
3753
3753
  return result;
3754
3754
  }
3755
- const $ef9394fafebd5eab$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
3755
+ var $ef9394fafebd5eab$var$_tmpl$ = ["<div", ' class="depict-slider depict"></div>'],
3756
3756
  $ef9394fafebd5eab$var$_tmpl$2 = ["<div", ' class="sliding"></div>'],
3757
3757
  $ef9394fafebd5eab$var$_tmpl$3 = ["<button", ' aria-label="Scroll left" class="left d-navbutton" type="button"></button>'],
3758
3758
  $ef9394fafebd5eab$var$_tmpl$4 = ["<button", ' aria-label="Scroll right" class="right d-navbutton" type="button"></button>'];
@@ -4730,7 +4730,7 @@ async function $e61f371a9bcdeb2f$export$cd12721587f4f16d(t, rendering_options, o
4730
4730
  elements: container ? container : [slider.container]
4731
4731
  };
4732
4732
  }
4733
- const $d352a8202024de5c$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
4733
+ var $d352a8202024de5c$var$_tmpl$ = ["<button", ' class="load_more">', "</button>"];
4734
4734
  async function $d352a8202024de5c$export$30933c637c977eef({
4735
4735
  t: t,
4736
4736
  recs: recs,
@@ -5016,7 +5016,7 @@ const $63cbb5de51d11596$export$ffb0004e005737fa = ({
5016
5016
  $63cbb5de51d11596$var$appendChild(df, children);
5017
5017
  return df;
5018
5018
  };
5019
- const $ca66c9553e84df02$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5019
+ var $ca66c9553e84df02$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
5020
5020
  $ca66c9553e84df02$var$_tmpl$2 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
5021
5021
  const $ca66c9553e84df02$export$dc84183312f0c201 = /*@__PURE__*/(() => $f3g9l$ssr($ca66c9553e84df02$var$_tmpl$, $f3g9l$ssrHydrationKey()))();
5022
5022
  const $ca66c9553e84df02$export$6038895ac52bd044 = /*@__PURE__*/(() => $f3g9l$ssr($ca66c9553e84df02$var$_tmpl$2, $f3g9l$ssrHydrationKey()))();
@@ -5055,7 +5055,7 @@ function $693e2a1517bef984$export$f8913c8a18f7ca21(iterables) {
5055
5055
  }))).then($b04e44fad5ea42c7$export$b3bbfd758f11cfa9(ourselves.exit));
5056
5056
  return ourselves;
5057
5057
  }
5058
- const $30e801eaa3dc319e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5058
+ var $30e801eaa3dc319e$var$_tmpl$ = ["<style", ' type="text/css"></style>'],
5059
5059
  $30e801eaa3dc319e$var$_tmpl$2 = ["<div", ">", "</div>"];
5060
5060
  const $30e801eaa3dc319e$export$717f13d9ba00ca19 = (min, max) => `@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
5061
5061
  async function $30e801eaa3dc319e$export$c84671f46d6a1ca({
@@ -5410,7 +5410,7 @@ function $d31b48b85102c1ec$export$80039a49055269fb() {
5410
5410
  };
5411
5411
  return Object.fromEntries(["left", "right"].map(side => [side, [new_arrowimage()]]));
5412
5412
  }
5413
- const $a75adf1478c4522f$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5413
+ var $a75adf1478c4522f$var$_tmpl$ = ["<img", ' src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgOCAxNSI+PHBhdGggc3R5bGU9ImZpbGw6IHJnYigwLCAwLCAwKTsiIGQ9Ik0uNjI5LjAwMWMuMTUuMDA4LjI5My4wNzIuMzk4LjE4bDYuNzkyIDYuODlhLjYwMS42MDEgMCAwIDEgMCAuODZsLTYuNzkyIDYuODg4YS41ODYuNTg2IDAgMCAxLS44NDYgMCAuNjAxLjYwMSAwIDAgMSAwLS44Nkw2LjU1NCA3LjUuMjExIDEuMDAxYS42MDEuNjAxIDAgMCAxIDAtLjg2Yy4xMTUtLjEuMjY2LS4xNS40MTgtLjE0Ij48L3BhdGg+PC9zdmc+">'];
5414
5414
  function $a75adf1478c4522f$export$af88b4929c2dc86() {
5415
5415
  const img = $f3g9l$ssr($a75adf1478c4522f$var$_tmpl$, $f3g9l$ssrHydrationKey());
5416
5416
  return {
@@ -5418,7 +5418,7 @@ function $a75adf1478c4522f$export$af88b4929c2dc86() {
5418
5418
  right: [img.cloneNode()]
5419
5419
  };
5420
5420
  }
5421
- const $2436f68ea927d4a8$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5421
+ var $2436f68ea927d4a8$var$_tmpl$ = ["<label", ' class="checkbox_container"><input type="radio" name="', '"><span class="checkmark"></span></label>'];
5422
5422
  function $2436f68ea927d4a8$export$1d17a045bcc711b1({
5423
5423
  t: t,
5424
5424
  navcont_insertion_fn: navcont_insertion_fn,
@@ -5695,7 +5695,7 @@ function $52292921bc0fc31f$export$5723caf9a8335aa6(_t, fraction = 1, max_steps,
5695
5695
  mutation_plugin: mutation_plugin
5696
5696
  };
5697
5697
  }
5698
- const $f78bc6a06402a6cf$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
5698
+ var $f78bc6a06402a6cf$var$_tmpl$ = ["<div", ' class="depict_slider_scroll_bar"></div>'],
5699
5699
  $f78bc6a06402a6cf$var$_tmpl$2 = ["<div", ' class="depict_slider_scroll_container"></div>'];
5700
5700
  function $f78bc6a06402a6cf$export$93223e488e7ee078(options) {
5701
5701
  function constructor_plugin(_slider_options) {
@@ -5727,7 +5727,7 @@ function $f78bc6a06402a6cf$export$93223e488e7ee078(options) {
5727
5727
  mutation_plugin: mutation_plugin
5728
5728
  };
5729
5729
  }
5730
- const $06fe260f91efff62$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
5730
+ var $06fe260f91efff62$var$_tmpl$ = ["<div", ' style="position:absolute;width:1em;overflow:scroll;scroll-snap-type:x mandatory;"><div style="scroll-snap-align:start;color:transparent;">test</div></div>'];
5731
5731
  function $06fe260f91efff62$export$b36d2489a5a16728(_t, {
5732
5732
  snapEvery: snapEvery,
5733
5733
  align: align
@@ -7267,7 +7267,7 @@ function $769ce417b39aa7d3$export$4a3043e508dd72f0({
7267
7267
  button.classList.add("show-more");
7268
7268
  return button;
7269
7269
  }
7270
- const $cf7ca80454d7b4c0$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7270
+ var $cf7ca80454d7b4c0$var$_tmpl$ = ["<div", ' class="slidein-backdrop"></div>'],
7271
7271
  $cf7ca80454d7b4c0$var$_tmpl$2 = ["<div", ' class="slidein"><div class="header"><span class="title">', '</span><button class="close">', '</button></div><div class="body">', "</div></div>"],
7272
7272
  $cf7ca80454d7b4c0$var$_tmpl$3 = ["<div", ' class="depict"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
7273
7273
  async function $cf7ca80454d7b4c0$export$8a0e4d6f6abf7e90({
@@ -7331,7 +7331,7 @@ async function $cf7ca80454d7b4c0$export$8a0e4d6f6abf7e90({
7331
7331
  on_close_: fn => closing_handlers.push(fn)
7332
7332
  };
7333
7333
  }
7334
- const $72d170fd5c7cb3fe$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7334
+ var $72d170fd5c7cb3fe$var$_tmpl$ = ["<div", ' class="option-list">', "</div>"],
7335
7335
  $72d170fd5c7cb3fe$var$_tmpl$2 = ["<button", ' type="button"', '><span class="size">', "</span><!--$-->", "<!--/--></button>"],
7336
7336
  $72d170fd5c7cb3fe$var$_tmpl$3 = ["<span", ' class="sold-out">', "</span>"];
7337
7337
  async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
@@ -7391,14 +7391,14 @@ const $ad592d9ddbcffe72$export$d613f5b6d0a331a8 = ({
7391
7391
  style: `position:relative;width:100%;padding-bottom:${1 / aspect_ratio * 100}%`
7392
7392
  }, attributes));
7393
7393
  };
7394
- const $fbe64cf2cf408e4f$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7394
+ var $fbe64cf2cf408e4f$var$_tmpl$ = ["<div", ' class="depict recommendation_container"><!--$-->', '<!--/--><div class="grid"></div></div>'],
7395
7395
  $fbe64cf2cf408e4f$var$_tmpl$2 = ["<h4", ' class="recs_header">', "</h4>"];
7396
7396
  const $fbe64cf2cf408e4f$export$97f31f44c68c1d5 = (title, surface_classes = []) => $b9b0dba897847b2a$export$eb0b9ed911409b57(e => e.classList.add(...surface_classes), $f3g9l$ssr($fbe64cf2cf408e4f$var$_tmpl$, $f3g9l$ssrHydrationKey(), title && typeof title === "string" ? $f3g9l$ssr($fbe64cf2cf408e4f$var$_tmpl$2, $f3g9l$ssrHydrationKey(), $f3g9l$escape(title)) : $f3g9l$escape(title)));
7397
- const $7693290d077384da$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
7397
+ var $7693290d077384da$var$_tmpl$ = ["<svg", ' viewBox="0 0 320 512"><desc>Right arrow</desc><path d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],
7398
7398
  $7693290d077384da$var$_tmpl$2 = ["<svg", ' viewBox="0 0 320 512"><desc>Left arrow</desc><path d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>'];
7399
7399
  const $7693290d077384da$export$32a55d57d151bc5a = () => $f3g9l$ssr($7693290d077384da$var$_tmpl$, $f3g9l$ssrHydrationKey());
7400
7400
  const $7693290d077384da$export$ddd70fdae1b350e6 = () => $f3g9l$ssr($7693290d077384da$var$_tmpl$2, $f3g9l$ssrHydrationKey());
7401
- const $6f1582c15e13f2f0$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
7401
+ var $6f1582c15e13f2f0$var$_tmpl$ = ["<button", ' class="color-circle-container"', '><div class="outer-circle" style="', '"><div class="inner-circle" style="', '"></div></div></button>'],
7402
7402
  $6f1582c15e13f2f0$var$_tmpl$2 = ["<div", ' class="color-picker" role="form" aria-label="Color picker">', "</div>"];
7403
7403
  /**
7404
7404
  * Internal color circle used in ColorPicker
@@ -7479,7 +7479,7 @@ function $6f1582c15e13f2f0$export$590326cc34f49e2d({
7479
7479
  }
7480
7480
  };
7481
7481
  }
7482
- const $7f57d546b5d5b3d6$var$_tmpl$ = ["<div", ">", "</div>"],
7482
+ var $7f57d546b5d5b3d6$var$_tmpl$ = ["<div", ">", "</div>"],
7483
7483
  $7f57d546b5d5b3d6$var$_tmpl$2 = ["<div", ' style="', '" aria-hidden="true">', "</div>"];
7484
7484
  const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
7485
7485
  duration = 500,
@@ -7556,7 +7556,7 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
7556
7556
  };
7557
7557
  var $0ffb759867ae20fc$exports = {};
7558
7558
  $0ffb759867ae20fc$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n inset: 0;\n}\n\n";
7559
- const $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
7559
+ var $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
7560
7560
  const $45af9e834781a9bc$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
7561
7561
  const $45af9e834781a9bc$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
7562
7562
  function $45af9e834781a9bc$export$f39a7d0667e924a(what_to_watch, sizes_communicator = $607fc90221d440a6$export$e806c6c1615a59ae(), resolution_factor = 1) {
@@ -7693,7 +7693,7 @@ function $45af9e834781a9bc$var$optimized_img_url_generator(format, url, width) {
7693
7693
  // using make_url_with_query_params takes ~100ms on CDON with 2 surfaces and hover images, we can't afford that when it could be essentially free
7694
7694
  return `${$45af9e834781a9bc$export$3d13beba9b52c947}?format=${format}&url=${encodeURIComponent(url)}&width=${width}`;
7695
7695
  }
7696
- const $914971fb43986a16$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7696
+ var $914971fb43986a16$var$_tmpl$ = ["<div", ' style="', '"></div>'],
7697
7697
  $914971fb43986a16$var$_tmpl$2 = ["<canvas", ' class="depict-img-filler"', ' height="3000"></canvas>'],
7698
7698
  $914971fb43986a16$var$_tmpl$3 = ["<div", ' style="position:relative"><div class="depict-img-cont">', "</div><!--$-->", "<!--/--></div>"];
7699
7699
  const $914971fb43986a16$var$rendering_options_to_sourceset_component = /*@__PURE__*/new WeakMap();
@@ -7776,7 +7776,7 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
7776
7776
  }
7777
7777
  var $504e2aac6aea7baf$exports = {};
7778
7778
  $504e2aac6aea7baf$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
7779
- const $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
7779
+ var $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
7780
7780
  $8483d1d9fcee52ec$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
7781
7781
  // Saving bytez
7782
7782
  // Maybe? @Daniel