@depict-ai/utilishared 2.6.6 → 2.6.7
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 +13 -13
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +13 -13
- package/latest/index.cjs +13 -13
- package/latest/index.d.ts +1 -1
- package/latest/index.js +13 -13
- package/package.json +2 -2
- package/server/ES10/index.cjs +13 -13
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +13 -13
- package/server/latest/index.cjs +13 -13
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +13 -13
package/ES10/index.cjs
CHANGED
|
@@ -207,7 +207,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
|
|
|
207
207
|
$parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
|
|
208
208
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
209
209
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
210
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.6.
|
|
210
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.6.7";
|
|
211
211
|
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"))();
|
|
212
212
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
213
213
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
|
@@ -1567,8 +1567,8 @@ function $628cae9fd43bb48b$var$switch_elements(from, to) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
// @ts-ignore
|
|
1570
|
-
var $
|
|
1571
|
-
$
|
|
1570
|
+
var $2f465f430f869c0d$exports = {};
|
|
1571
|
+
$2f465f430f869c0d$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1572
1572
|
let $5e0fc3a8b68f26c7$var$has_queued_microtask = false;
|
|
1573
1573
|
const $5e0fc3a8b68f26c7$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1574
1574
|
const $5e0fc3a8b68f26c7$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$3b52ccc10510b32a$export$b3bbfd758f11cfa9($5e0fc3a8b68f26c7$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -3182,7 +3182,7 @@ class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$ex
|
|
|
3182
3182
|
function $3f49f9b73bfc2a38$export$f1b8b9fd75ddcab1(slider) {
|
|
3183
3183
|
const style_elem = document.createElement("style");
|
|
3184
3184
|
style_elem.type = "text/css";
|
|
3185
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
3185
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($2f465f430f869c0d$exports)));
|
|
3186
3186
|
slider.container.appendChild(style_elem);
|
|
3187
3187
|
}
|
|
3188
3188
|
|
|
@@ -5832,8 +5832,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
5832
5832
|
}));
|
|
5833
5833
|
}
|
|
5834
5834
|
$bBfCy$solidjsweb.delegateEvents(["click"]);
|
|
5835
|
-
var $
|
|
5836
|
-
$
|
|
5835
|
+
var $8ec3b528e8be97ec$exports = {};
|
|
5836
|
+
$8ec3b528e8be97ec$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5837
5837
|
var $ba9b4cd7e24de87e$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div>`);
|
|
5838
5838
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
5839
5839
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
@@ -5846,7 +5846,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
5846
5846
|
} = _ref;
|
|
5847
5847
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
5848
5848
|
// Insert styling on first import
|
|
5849
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5849
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8ec3b528e8be97ec$exports)));
|
|
5850
5850
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5851
5851
|
}
|
|
5852
5852
|
return (() => {
|
|
@@ -6095,8 +6095,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
6095
6095
|
collapse: collapse
|
|
6096
6096
|
};
|
|
6097
6097
|
};
|
|
6098
|
-
var $
|
|
6099
|
-
$
|
|
6098
|
+
var $da5fd94ae5530c89$exports = {};
|
|
6099
|
+
$da5fd94ae5530c89$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";
|
|
6100
6100
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<img>`),
|
|
6101
6101
|
$b42b9f62e8b6cb2d$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<source sizes=0px>`),
|
|
6102
6102
|
$b42b9f62e8b6cb2d$var$_tmpl$3 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<picture>`);
|
|
@@ -6277,7 +6277,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6277
6277
|
} = _ref;
|
|
6278
6278
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6279
6279
|
// Insert styling on first import
|
|
6280
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6280
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da5fd94ae5530c89$exports)));
|
|
6281
6281
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6282
6282
|
}
|
|
6283
6283
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6368,8 +6368,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6368
6368
|
}
|
|
6369
6369
|
return sourceset_component;
|
|
6370
6370
|
}
|
|
6371
|
-
var $
|
|
6372
|
-
$
|
|
6371
|
+
var $325b8ad5f99b77f2$exports = {};
|
|
6372
|
+
$325b8ad5f99b77f2$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";
|
|
6373
6373
|
var $8928a1027461fba4$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6374
6374
|
$8928a1027461fba4$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=second-image-container>`);
|
|
6375
6375
|
// Saving bytez
|
|
@@ -6504,7 +6504,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6504
6504
|
...options
|
|
6505
6505
|
} = _ref;
|
|
6506
6506
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6507
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6507
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($325b8ad5f99b77f2$exports)));
|
|
6508
6508
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6509
6509
|
}
|
|
6510
6510
|
const main_image = $dfce76a4aeb41067$export$788756b42446dc2d({
|
package/ES10/index.d.ts
CHANGED
package/ES10/index.js
CHANGED
|
@@ -8,7 +8,7 @@ register_es_version("utilishared", "ES10");
|
|
|
8
8
|
function $parcel$interopDefault(a) {
|
|
9
9
|
return a && a.__esModule ? a.default : a;
|
|
10
10
|
}
|
|
11
|
-
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.6.
|
|
11
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.6.7";
|
|
12
12
|
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"))();
|
|
13
13
|
const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
|
|
14
14
|
let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
|
|
@@ -1368,8 +1368,8 @@ function $e64690bc3a7de2b1$var$switch_elements(from, to) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
|
|
1370
1370
|
// @ts-ignore
|
|
1371
|
-
var $
|
|
1372
|
-
$
|
|
1371
|
+
var $6615ea0f10acc1ca$exports = {};
|
|
1372
|
+
$6615ea0f10acc1ca$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1373
1373
|
let $2c3b8e0102339cd6$var$has_queued_microtask = false;
|
|
1374
1374
|
const $2c3b8e0102339cd6$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1375
1375
|
const $2c3b8e0102339cd6$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9($2c3b8e0102339cd6$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2983,7 +2983,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
2983
2983
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
2984
2984
|
const style_elem = document.createElement("style");
|
|
2985
2985
|
style_elem.type = "text/css";
|
|
2986
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2986
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($6615ea0f10acc1ca$exports)));
|
|
2987
2987
|
slider.container.appendChild(style_elem);
|
|
2988
2988
|
}
|
|
2989
2989
|
|
|
@@ -5633,8 +5633,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
5633
5633
|
}));
|
|
5634
5634
|
}
|
|
5635
5635
|
$76EG6$delegateEvents(["click"]);
|
|
5636
|
-
var $
|
|
5637
|
-
$
|
|
5636
|
+
var $d0530f5ba1783df5$exports = {};
|
|
5637
|
+
$d0530f5ba1783df5$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5638
5638
|
var $adc0bb548fdb574f$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div>`);
|
|
5639
5639
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
5640
5640
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
@@ -5647,7 +5647,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
5647
5647
|
} = _ref;
|
|
5648
5648
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
5649
5649
|
// Insert styling on first import
|
|
5650
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5650
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($d0530f5ba1783df5$exports)));
|
|
5651
5651
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5652
5652
|
}
|
|
5653
5653
|
return (() => {
|
|
@@ -5896,8 +5896,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5896
5896
|
collapse: collapse
|
|
5897
5897
|
};
|
|
5898
5898
|
};
|
|
5899
|
-
var $
|
|
5900
|
-
$
|
|
5899
|
+
var $cfed91e172251794$exports = {};
|
|
5900
|
+
$cfed91e172251794$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";
|
|
5901
5901
|
var $9ef5ce4804a3b61b$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<img>`),
|
|
5902
5902
|
$9ef5ce4804a3b61b$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<source sizes=0px>`),
|
|
5903
5903
|
$9ef5ce4804a3b61b$var$_tmpl$3 = /*#__PURE__*/$76EG6$template(`<picture>`);
|
|
@@ -6078,7 +6078,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
6078
6078
|
} = _ref;
|
|
6079
6079
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
6080
6080
|
// Insert styling on first import
|
|
6081
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6081
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($cfed91e172251794$exports)));
|
|
6082
6082
|
$c987460cedc0d7ec$var$inserted = true;
|
|
6083
6083
|
}
|
|
6084
6084
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6169,8 +6169,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6169
6169
|
}
|
|
6170
6170
|
return sourceset_component;
|
|
6171
6171
|
}
|
|
6172
|
-
var $
|
|
6173
|
-
$
|
|
6172
|
+
var $440fc016116c125a$exports = {};
|
|
6173
|
+
$440fc016116c125a$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";
|
|
6174
6174
|
var $73f0a7e385687d5d$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6175
6175
|
$73f0a7e385687d5d$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<div class=second-image-container>`);
|
|
6176
6176
|
// Saving bytez
|
|
@@ -6305,7 +6305,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6305
6305
|
...options
|
|
6306
6306
|
} = _ref;
|
|
6307
6307
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6308
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6308
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($440fc016116c125a$exports)));
|
|
6309
6309
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6310
6310
|
}
|
|
6311
6311
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
package/latest/index.cjs
CHANGED
|
@@ -204,7 +204,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
204
204
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
205
205
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
206
206
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
207
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.6.
|
|
207
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.6.7";
|
|
208
208
|
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"))();
|
|
209
209
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
210
210
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -1402,8 +1402,8 @@ function $807b852d8decb547$var$switch_elements(from, to) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
// @ts-ignore
|
|
1405
|
-
var $
|
|
1406
|
-
$
|
|
1405
|
+
var $0139d8b58227a4e8$exports = {};
|
|
1406
|
+
$0139d8b58227a4e8$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1407
1407
|
let $55595fc7bb226f61$var$has_queued_microtask = false;
|
|
1408
1408
|
const $55595fc7bb226f61$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1409
1409
|
const $55595fc7bb226f61$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9($55595fc7bb226f61$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2795,7 +2795,7 @@ class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$ex
|
|
|
2795
2795
|
function $e090b20cef3f0516$export$f1b8b9fd75ddcab1(slider) {
|
|
2796
2796
|
const style_elem = document.createElement("style");
|
|
2797
2797
|
style_elem.type = "text/css";
|
|
2798
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2798
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($0139d8b58227a4e8$exports)));
|
|
2799
2799
|
slider.container.appendChild(style_elem);
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
@@ -5339,8 +5339,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
5339
5339
|
}));
|
|
5340
5340
|
}
|
|
5341
5341
|
$z0IcO$solidjsweb.delegateEvents(["click"]);
|
|
5342
|
-
var $
|
|
5343
|
-
$
|
|
5342
|
+
var $b8ccf9564f9fa117$exports = {};
|
|
5343
|
+
$b8ccf9564f9fa117$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5344
5344
|
var $e587cb3b31b82f43$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div>`);
|
|
5345
5345
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
5346
5346
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
@@ -5352,7 +5352,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
5352
5352
|
}) => {
|
|
5353
5353
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
5354
5354
|
// Insert styling on first import
|
|
5355
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5355
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b8ccf9564f9fa117$exports)));
|
|
5356
5356
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5357
5357
|
}
|
|
5358
5358
|
return (() => {
|
|
@@ -5584,8 +5584,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5584
5584
|
collapse: collapse
|
|
5585
5585
|
};
|
|
5586
5586
|
};
|
|
5587
|
-
var $
|
|
5588
|
-
$
|
|
5587
|
+
var $657f8785a80c4871$exports = {};
|
|
5588
|
+
$657f8785a80c4871$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";
|
|
5589
5589
|
var $ff973b2032639b5f$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<img>`),
|
|
5590
5590
|
$ff973b2032639b5f$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<source sizes=0px>`),
|
|
5591
5591
|
$ff973b2032639b5f$var$_tmpl$3 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<picture>`);
|
|
@@ -5756,7 +5756,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5756
5756
|
}) => {
|
|
5757
5757
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5758
5758
|
// Insert styling on first import
|
|
5759
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5759
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($657f8785a80c4871$exports)));
|
|
5760
5760
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5761
5761
|
}
|
|
5762
5762
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5840,8 +5840,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5840
5840
|
}
|
|
5841
5841
|
return sourceset_component;
|
|
5842
5842
|
}
|
|
5843
|
-
var $
|
|
5844
|
-
$
|
|
5843
|
+
var $34cbf0d8a0bb1754$exports = {};
|
|
5844
|
+
$34cbf0d8a0bb1754$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";
|
|
5845
5845
|
var $a656daa2fa8c279a$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5846
5846
|
$a656daa2fa8c279a$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=second-image-container>`);
|
|
5847
5847
|
// Saving bytez
|
|
@@ -5970,7 +5970,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5970
5970
|
...options
|
|
5971
5971
|
}) => {
|
|
5972
5972
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5973
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5973
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($34cbf0d8a0bb1754$exports)));
|
|
5974
5974
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5975
5975
|
}
|
|
5976
5976
|
const main_image = $a312bccd722ac9e4$export$788756b42446dc2d({
|
package/latest/index.d.ts
CHANGED
package/latest/index.js
CHANGED
|
@@ -5,7 +5,7 @@ register_es_version("utilishared", "latest");
|
|
|
5
5
|
function $parcel$interopDefault(a) {
|
|
6
6
|
return a && a.__esModule ? a.default : a;
|
|
7
7
|
}
|
|
8
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.6.
|
|
8
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.6.7";
|
|
9
9
|
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"))();
|
|
10
10
|
const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
|
|
11
11
|
let $649f456f663da9fc$var$browser_prefix = "[Depict]";
|
|
@@ -1203,8 +1203,8 @@ function $e867e2f1fb3bcc09$var$switch_elements(from, to) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
// @ts-ignore
|
|
1206
|
-
var $
|
|
1207
|
-
$
|
|
1206
|
+
var $2dbaa3779d78a2ba$exports = {};
|
|
1207
|
+
$2dbaa3779d78a2ba$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1208
1208
|
let $8be08add28592faf$var$has_queued_microtask = false;
|
|
1209
1209
|
const $8be08add28592faf$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1210
1210
|
const $8be08add28592faf$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9($8be08add28592faf$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2596,7 +2596,7 @@ class $762a881271a51d1b$export$4d41c6499d53639c extends (0, $c33c6faf8acc7442$ex
|
|
|
2596
2596
|
function $762a881271a51d1b$export$f1b8b9fd75ddcab1(slider) {
|
|
2597
2597
|
const style_elem = document.createElement("style");
|
|
2598
2598
|
style_elem.type = "text/css";
|
|
2599
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2599
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($2dbaa3779d78a2ba$exports)));
|
|
2600
2600
|
slider.container.appendChild(style_elem);
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
@@ -5140,8 +5140,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
5140
5140
|
}));
|
|
5141
5141
|
}
|
|
5142
5142
|
$qgKv4$delegateEvents(["click"]);
|
|
5143
|
-
var $
|
|
5144
|
-
$
|
|
5143
|
+
var $b7686c1e245d4f6d$exports = {};
|
|
5144
|
+
$b7686c1e245d4f6d$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5145
5145
|
var $ad592d9ddbcffe72$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div>`);
|
|
5146
5146
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
5147
5147
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
@@ -5153,7 +5153,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
5153
5153
|
}) => {
|
|
5154
5154
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
5155
5155
|
// Insert styling on first import
|
|
5156
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5156
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b7686c1e245d4f6d$exports)));
|
|
5157
5157
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5158
5158
|
}
|
|
5159
5159
|
return (() => {
|
|
@@ -5385,8 +5385,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5385
5385
|
collapse: collapse
|
|
5386
5386
|
};
|
|
5387
5387
|
};
|
|
5388
|
-
var $
|
|
5389
|
-
$
|
|
5388
|
+
var $c470475705ac68bf$exports = {};
|
|
5389
|
+
$c470475705ac68bf$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";
|
|
5390
5390
|
var $45af9e834781a9bc$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<img>`),
|
|
5391
5391
|
$45af9e834781a9bc$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<source sizes=0px>`),
|
|
5392
5392
|
$45af9e834781a9bc$var$_tmpl$3 = /*#__PURE__*/$qgKv4$template(`<picture>`);
|
|
@@ -5557,7 +5557,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5557
5557
|
}) => {
|
|
5558
5558
|
if (!$914971fb43986a16$var$inserted) {
|
|
5559
5559
|
// Insert styling on first import
|
|
5560
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5560
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($c470475705ac68bf$exports)));
|
|
5561
5561
|
$914971fb43986a16$var$inserted = true;
|
|
5562
5562
|
}
|
|
5563
5563
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5641,8 +5641,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5641
5641
|
}
|
|
5642
5642
|
return sourceset_component;
|
|
5643
5643
|
}
|
|
5644
|
-
var $
|
|
5645
|
-
$
|
|
5644
|
+
var $deeea48979b9c564$exports = {};
|
|
5645
|
+
$deeea48979b9c564$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";
|
|
5646
5646
|
var $8483d1d9fcee52ec$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5647
5647
|
$8483d1d9fcee52ec$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<div class=second-image-container>`);
|
|
5648
5648
|
// Saving bytez
|
|
@@ -5771,7 +5771,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5771
5771
|
...options
|
|
5772
5772
|
}) => {
|
|
5773
5773
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5774
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5774
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($deeea48979b9c564$exports)));
|
|
5775
5775
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5776
5776
|
}
|
|
5777
5777
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.7",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
],
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/core": "latest",
|
|
142
|
-
"@depict-ai/types": "^5.6.
|
|
142
|
+
"@depict-ai/types": "^5.6.7",
|
|
143
143
|
"@parcel/resolver-default": "^2.10.3",
|
|
144
144
|
"@sentry/cli": "^2.21.2",
|
|
145
145
|
"@sentry/types": "^7.75.1",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -207,7 +207,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
|
|
|
207
207
|
$parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
|
|
208
208
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
209
209
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
210
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.6.
|
|
210
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.6.7";
|
|
211
211
|
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"))();
|
|
212
212
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
213
213
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
|
@@ -1567,8 +1567,8 @@ function $628cae9fd43bb48b$var$switch_elements(from, to) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
// @ts-ignore
|
|
1570
|
-
var $
|
|
1571
|
-
$
|
|
1570
|
+
var $2f465f430f869c0d$exports = {};
|
|
1571
|
+
$2f465f430f869c0d$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1572
1572
|
let $5e0fc3a8b68f26c7$var$has_queued_microtask = false;
|
|
1573
1573
|
const $5e0fc3a8b68f26c7$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1574
1574
|
const $5e0fc3a8b68f26c7$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$3b52ccc10510b32a$export$b3bbfd758f11cfa9($5e0fc3a8b68f26c7$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -3182,7 +3182,7 @@ class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$ex
|
|
|
3182
3182
|
function $3f49f9b73bfc2a38$export$f1b8b9fd75ddcab1(slider) {
|
|
3183
3183
|
const style_elem = document.createElement("style");
|
|
3184
3184
|
style_elem.type = "text/css";
|
|
3185
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
3185
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($2f465f430f869c0d$exports)));
|
|
3186
3186
|
slider.container.appendChild(style_elem);
|
|
3187
3187
|
}
|
|
3188
3188
|
|
|
@@ -5765,8 +5765,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
5765
5765
|
on_close_(exit_oos_iterator);
|
|
5766
5766
|
}));
|
|
5767
5767
|
}
|
|
5768
|
-
var $
|
|
5769
|
-
$
|
|
5768
|
+
var $8ec3b528e8be97ec$exports = {};
|
|
5769
|
+
$8ec3b528e8be97ec$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5770
5770
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
5771
5771
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
5772
5772
|
let {
|
|
@@ -5778,7 +5778,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
5778
5778
|
} = _ref;
|
|
5779
5779
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
5780
5780
|
// Insert styling on first import
|
|
5781
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5781
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8ec3b528e8be97ec$exports)));
|
|
5782
5782
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5783
5783
|
}
|
|
5784
5784
|
return $lMD39$solidjsweb.ssrElement("div", $lMD39$solidjsweb.mergeProps({
|
|
@@ -5979,8 +5979,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
5979
5979
|
collapse: collapse
|
|
5980
5980
|
};
|
|
5981
5981
|
};
|
|
5982
|
-
var $
|
|
5983
|
-
$
|
|
5982
|
+
var $da5fd94ae5530c89$exports = {};
|
|
5983
|
+
$da5fd94ae5530c89$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";
|
|
5984
5984
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5985
5985
|
const $b42b9f62e8b6cb2d$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5986
5986
|
const $b42b9f62e8b6cb2d$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -6142,7 +6142,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6142
6142
|
} = _ref;
|
|
6143
6143
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6144
6144
|
// Insert styling on first import
|
|
6145
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6145
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da5fd94ae5530c89$exports)));
|
|
6146
6146
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6147
6147
|
}
|
|
6148
6148
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6217,8 +6217,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6217
6217
|
}
|
|
6218
6218
|
return sourceset_component;
|
|
6219
6219
|
}
|
|
6220
|
-
var $
|
|
6221
|
-
$
|
|
6220
|
+
var $325b8ad5f99b77f2$exports = {};
|
|
6221
|
+
$325b8ad5f99b77f2$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";
|
|
6222
6222
|
var $8928a1027461fba4$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6223
6223
|
$8928a1027461fba4$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6224
6224
|
// Saving bytez
|
|
@@ -6353,7 +6353,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6353
6353
|
...options
|
|
6354
6354
|
} = _ref;
|
|
6355
6355
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6356
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6356
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($325b8ad5f99b77f2$exports)));
|
|
6357
6357
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6358
6358
|
}
|
|
6359
6359
|
const main_image = $dfce76a4aeb41067$export$788756b42446dc2d({
|
package/server/ES10/index.d.ts
CHANGED
package/server/ES10/index.js
CHANGED
|
@@ -8,7 +8,7 @@ register_es_version("utilishared", "ES10");
|
|
|
8
8
|
function $parcel$interopDefault(a) {
|
|
9
9
|
return a && a.__esModule ? a.default : a;
|
|
10
10
|
}
|
|
11
|
-
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.6.
|
|
11
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.6.7";
|
|
12
12
|
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"))();
|
|
13
13
|
const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
|
|
14
14
|
let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
|
|
@@ -1368,8 +1368,8 @@ function $e64690bc3a7de2b1$var$switch_elements(from, to) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
|
|
1370
1370
|
// @ts-ignore
|
|
1371
|
-
var $
|
|
1372
|
-
$
|
|
1371
|
+
var $6615ea0f10acc1ca$exports = {};
|
|
1372
|
+
$6615ea0f10acc1ca$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1373
1373
|
let $2c3b8e0102339cd6$var$has_queued_microtask = false;
|
|
1374
1374
|
const $2c3b8e0102339cd6$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1375
1375
|
const $2c3b8e0102339cd6$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9($2c3b8e0102339cd6$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2983,7 +2983,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
2983
2983
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
2984
2984
|
const style_elem = document.createElement("style");
|
|
2985
2985
|
style_elem.type = "text/css";
|
|
2986
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2986
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($6615ea0f10acc1ca$exports)));
|
|
2987
2987
|
slider.container.appendChild(style_elem);
|
|
2988
2988
|
}
|
|
2989
2989
|
|
|
@@ -5566,8 +5566,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
5566
5566
|
on_close_(exit_oos_iterator);
|
|
5567
5567
|
}));
|
|
5568
5568
|
}
|
|
5569
|
-
var $
|
|
5570
|
-
$
|
|
5569
|
+
var $d0530f5ba1783df5$exports = {};
|
|
5570
|
+
$d0530f5ba1783df5$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5571
5571
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
5572
5572
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
5573
5573
|
let {
|
|
@@ -5579,7 +5579,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
5579
5579
|
} = _ref;
|
|
5580
5580
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
5581
5581
|
// Insert styling on first import
|
|
5582
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5582
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($d0530f5ba1783df5$exports)));
|
|
5583
5583
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5584
5584
|
}
|
|
5585
5585
|
return $hrhbO$ssrElement("div", $hrhbO$mergeProps({
|
|
@@ -5780,8 +5780,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5780
5780
|
collapse: collapse
|
|
5781
5781
|
};
|
|
5782
5782
|
};
|
|
5783
|
-
var $
|
|
5784
|
-
$
|
|
5783
|
+
var $cfed91e172251794$exports = {};
|
|
5784
|
+
$cfed91e172251794$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";
|
|
5785
5785
|
var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5786
5786
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5787
5787
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5943,7 +5943,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
5943
5943
|
} = _ref;
|
|
5944
5944
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
5945
5945
|
// Insert styling on first import
|
|
5946
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5946
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($cfed91e172251794$exports)));
|
|
5947
5947
|
$c987460cedc0d7ec$var$inserted = true;
|
|
5948
5948
|
}
|
|
5949
5949
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6018,8 +6018,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6018
6018
|
}
|
|
6019
6019
|
return sourceset_component;
|
|
6020
6020
|
}
|
|
6021
|
-
var $
|
|
6022
|
-
$
|
|
6021
|
+
var $440fc016116c125a$exports = {};
|
|
6022
|
+
$440fc016116c125a$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";
|
|
6023
6023
|
var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6024
6024
|
$73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6025
6025
|
// Saving bytez
|
|
@@ -6154,7 +6154,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6154
6154
|
...options
|
|
6155
6155
|
} = _ref;
|
|
6156
6156
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6157
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6157
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($440fc016116c125a$exports)));
|
|
6158
6158
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6159
6159
|
}
|
|
6160
6160
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
package/server/latest/index.cjs
CHANGED
|
@@ -204,7 +204,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
204
204
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
205
205
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
206
206
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
207
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.6.
|
|
207
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.6.7";
|
|
208
208
|
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"))();
|
|
209
209
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
210
210
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -1402,8 +1402,8 @@ function $807b852d8decb547$var$switch_elements(from, to) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
// @ts-ignore
|
|
1405
|
-
var $
|
|
1406
|
-
$
|
|
1405
|
+
var $0139d8b58227a4e8$exports = {};
|
|
1406
|
+
$0139d8b58227a4e8$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1407
1407
|
let $55595fc7bb226f61$var$has_queued_microtask = false;
|
|
1408
1408
|
const $55595fc7bb226f61$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1409
1409
|
const $55595fc7bb226f61$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9($55595fc7bb226f61$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2795,7 +2795,7 @@ class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$ex
|
|
|
2795
2795
|
function $e090b20cef3f0516$export$f1b8b9fd75ddcab1(slider) {
|
|
2796
2796
|
const style_elem = document.createElement("style");
|
|
2797
2797
|
style_elem.type = "text/css";
|
|
2798
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2798
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($0139d8b58227a4e8$exports)));
|
|
2799
2799
|
slider.container.appendChild(style_elem);
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
@@ -5272,8 +5272,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
5272
5272
|
on_close_(exit_oos_iterator);
|
|
5273
5273
|
}));
|
|
5274
5274
|
}
|
|
5275
|
-
var $
|
|
5276
|
-
$
|
|
5275
|
+
var $b8ccf9564f9fa117$exports = {};
|
|
5276
|
+
$b8ccf9564f9fa117$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5277
5277
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
5278
5278
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
5279
5279
|
width: width,
|
|
@@ -5284,7 +5284,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
5284
5284
|
}) => {
|
|
5285
5285
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
5286
5286
|
// Insert styling on first import
|
|
5287
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5287
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b8ccf9564f9fa117$exports)));
|
|
5288
5288
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5289
5289
|
}
|
|
5290
5290
|
return $jVDDb$solidjsweb.ssrElement("div", $jVDDb$solidjsweb.mergeProps({
|
|
@@ -5468,8 +5468,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5468
5468
|
collapse: collapse
|
|
5469
5469
|
};
|
|
5470
5470
|
};
|
|
5471
|
-
var $
|
|
5472
|
-
$
|
|
5471
|
+
var $657f8785a80c4871$exports = {};
|
|
5472
|
+
$657f8785a80c4871$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";
|
|
5473
5473
|
var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5474
5474
|
const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5475
5475
|
const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5621,7 +5621,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5621
5621
|
}) => {
|
|
5622
5622
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5623
5623
|
// Insert styling on first import
|
|
5624
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5624
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($657f8785a80c4871$exports)));
|
|
5625
5625
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5626
5626
|
}
|
|
5627
5627
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5689,8 +5689,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5689
5689
|
}
|
|
5690
5690
|
return sourceset_component;
|
|
5691
5691
|
}
|
|
5692
|
-
var $
|
|
5693
|
-
$
|
|
5692
|
+
var $34cbf0d8a0bb1754$exports = {};
|
|
5693
|
+
$34cbf0d8a0bb1754$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";
|
|
5694
5694
|
var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5695
5695
|
$a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5696
5696
|
// Saving bytez
|
|
@@ -5819,7 +5819,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5819
5819
|
...options
|
|
5820
5820
|
}) => {
|
|
5821
5821
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5822
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5822
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($34cbf0d8a0bb1754$exports)));
|
|
5823
5823
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5824
5824
|
}
|
|
5825
5825
|
const main_image = $a312bccd722ac9e4$export$788756b42446dc2d({
|
package/server/latest/index.d.ts
CHANGED
package/server/latest/index.js
CHANGED
|
@@ -5,7 +5,7 @@ register_es_version("utilishared", "latest");
|
|
|
5
5
|
function $parcel$interopDefault(a) {
|
|
6
6
|
return a && a.__esModule ? a.default : a;
|
|
7
7
|
}
|
|
8
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.6.
|
|
8
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.6.7";
|
|
9
9
|
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"))();
|
|
10
10
|
const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
|
|
11
11
|
let $649f456f663da9fc$var$browser_prefix = "[Depict]";
|
|
@@ -1203,8 +1203,8 @@ function $e867e2f1fb3bcc09$var$switch_elements(from, to) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
// @ts-ignore
|
|
1206
|
-
var $
|
|
1207
|
-
$
|
|
1206
|
+
var $2dbaa3779d78a2ba$exports = {};
|
|
1207
|
+
$2dbaa3779d78a2ba$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
1208
1208
|
let $8be08add28592faf$var$has_queued_microtask = false;
|
|
1209
1209
|
const $8be08add28592faf$var$queued_callbacks = /*@__PURE__*/new Map();
|
|
1210
1210
|
const $8be08add28592faf$var$catchified_deduplicate_and_dispatch = /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9($8be08add28592faf$var$deduplicate_and_dispatch, "error in observer event processing", "error");
|
|
@@ -2596,7 +2596,7 @@ class $762a881271a51d1b$export$4d41c6499d53639c extends (0, $c33c6faf8acc7442$ex
|
|
|
2596
2596
|
function $762a881271a51d1b$export$f1b8b9fd75ddcab1(slider) {
|
|
2597
2597
|
const style_elem = document.createElement("style");
|
|
2598
2598
|
style_elem.type = "text/css";
|
|
2599
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2599
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($2dbaa3779d78a2ba$exports)));
|
|
2600
2600
|
slider.container.appendChild(style_elem);
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
@@ -5073,8 +5073,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
5073
5073
|
on_close_(exit_oos_iterator);
|
|
5074
5074
|
}));
|
|
5075
5075
|
}
|
|
5076
|
-
var $
|
|
5077
|
-
$
|
|
5076
|
+
var $b7686c1e245d4f6d$exports = {};
|
|
5077
|
+
$b7686c1e245d4f6d$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
5078
5078
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
5079
5079
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
5080
5080
|
width: width,
|
|
@@ -5085,7 +5085,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
5085
5085
|
}) => {
|
|
5086
5086
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
5087
5087
|
// Insert styling on first import
|
|
5088
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5088
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b7686c1e245d4f6d$exports)));
|
|
5089
5089
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5090
5090
|
}
|
|
5091
5091
|
return $f3g9l$ssrElement("div", $f3g9l$mergeProps({
|
|
@@ -5269,8 +5269,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5269
5269
|
collapse: collapse
|
|
5270
5270
|
};
|
|
5271
5271
|
};
|
|
5272
|
-
var $
|
|
5273
|
-
$
|
|
5272
|
+
var $c470475705ac68bf$exports = {};
|
|
5273
|
+
$c470475705ac68bf$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";
|
|
5274
5274
|
var $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5275
5275
|
const $45af9e834781a9bc$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5276
5276
|
const $45af9e834781a9bc$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5422,7 +5422,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5422
5422
|
}) => {
|
|
5423
5423
|
if (!$914971fb43986a16$var$inserted) {
|
|
5424
5424
|
// Insert styling on first import
|
|
5425
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5425
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($c470475705ac68bf$exports)));
|
|
5426
5426
|
$914971fb43986a16$var$inserted = true;
|
|
5427
5427
|
}
|
|
5428
5428
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5490,8 +5490,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5490
5490
|
}
|
|
5491
5491
|
return sourceset_component;
|
|
5492
5492
|
}
|
|
5493
|
-
var $
|
|
5494
|
-
$
|
|
5493
|
+
var $deeea48979b9c564$exports = {};
|
|
5494
|
+
$deeea48979b9c564$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";
|
|
5495
5495
|
var $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5496
5496
|
$8483d1d9fcee52ec$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5497
5497
|
// Saving bytez
|
|
@@ -5620,7 +5620,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5620
5620
|
...options
|
|
5621
5621
|
}) => {
|
|
5622
5622
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5623
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5623
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($deeea48979b9c564$exports)));
|
|
5624
5624
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5625
5625
|
}
|
|
5626
5626
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|