@depict-ai/utilishared 2.6.1 → 2.6.3
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.3";
|
|
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 $99ca81e1ba6207c9$exports = {};
|
|
1571
|
+
$99ca81e1ba6207c9$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($99ca81e1ba6207c9$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 $1d65b2433be03961$exports = {};
|
|
5836
|
+
$1d65b2433be03961$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($1d65b2433be03961$exports)));
|
|
5850
5850
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5851
5851
|
}
|
|
5852
5852
|
return (() => {
|
|
@@ -6090,8 +6090,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
6090
6090
|
collapse: collapse
|
|
6091
6091
|
};
|
|
6092
6092
|
};
|
|
6093
|
-
var $
|
|
6094
|
-
$
|
|
6093
|
+
var $a89651adb1d138c1$exports = {};
|
|
6094
|
+
$a89651adb1d138c1$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";
|
|
6095
6095
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<img>`),
|
|
6096
6096
|
$b42b9f62e8b6cb2d$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<source sizes=0px>`),
|
|
6097
6097
|
$b42b9f62e8b6cb2d$var$_tmpl$3 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<picture>`);
|
|
@@ -6272,7 +6272,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6272
6272
|
} = _ref;
|
|
6273
6273
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6274
6274
|
// Insert styling on first import
|
|
6275
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6275
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a89651adb1d138c1$exports)));
|
|
6276
6276
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6277
6277
|
}
|
|
6278
6278
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6363,8 +6363,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6363
6363
|
}
|
|
6364
6364
|
return sourceset_component;
|
|
6365
6365
|
}
|
|
6366
|
-
var $
|
|
6367
|
-
$
|
|
6366
|
+
var $7c27cc26a0ade1c3$exports = {};
|
|
6367
|
+
$7c27cc26a0ade1c3$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";
|
|
6368
6368
|
var $8928a1027461fba4$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6369
6369
|
$8928a1027461fba4$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=second-image-container>`);
|
|
6370
6370
|
// Saving bytez
|
|
@@ -6499,7 +6499,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6499
6499
|
...options
|
|
6500
6500
|
} = _ref;
|
|
6501
6501
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6502
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6502
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($7c27cc26a0ade1c3$exports)));
|
|
6503
6503
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6504
6504
|
}
|
|
6505
6505
|
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.3";
|
|
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 $0f7a1c063ac160c5$exports = {};
|
|
1372
|
+
$0f7a1c063ac160c5$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($0f7a1c063ac160c5$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 $cf555a386961fbf4$exports = {};
|
|
5637
|
+
$cf555a386961fbf4$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($cf555a386961fbf4$exports)));
|
|
5651
5651
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5652
5652
|
}
|
|
5653
5653
|
return (() => {
|
|
@@ -5891,8 +5891,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5891
5891
|
collapse: collapse
|
|
5892
5892
|
};
|
|
5893
5893
|
};
|
|
5894
|
-
var $
|
|
5895
|
-
$
|
|
5894
|
+
var $5786e5227428e0a9$exports = {};
|
|
5895
|
+
$5786e5227428e0a9$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";
|
|
5896
5896
|
var $9ef5ce4804a3b61b$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<img>`),
|
|
5897
5897
|
$9ef5ce4804a3b61b$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<source sizes=0px>`),
|
|
5898
5898
|
$9ef5ce4804a3b61b$var$_tmpl$3 = /*#__PURE__*/$76EG6$template(`<picture>`);
|
|
@@ -6073,7 +6073,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
6073
6073
|
} = _ref;
|
|
6074
6074
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
6075
6075
|
// Insert styling on first import
|
|
6076
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6076
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5786e5227428e0a9$exports)));
|
|
6077
6077
|
$c987460cedc0d7ec$var$inserted = true;
|
|
6078
6078
|
}
|
|
6079
6079
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6164,8 +6164,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6164
6164
|
}
|
|
6165
6165
|
return sourceset_component;
|
|
6166
6166
|
}
|
|
6167
|
-
var $
|
|
6168
|
-
$
|
|
6167
|
+
var $a3e5b9eb19a5a930$exports = {};
|
|
6168
|
+
$a3e5b9eb19a5a930$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";
|
|
6169
6169
|
var $73f0a7e385687d5d$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6170
6170
|
$73f0a7e385687d5d$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<div class=second-image-container>`);
|
|
6171
6171
|
// Saving bytez
|
|
@@ -6300,7 +6300,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6300
6300
|
...options
|
|
6301
6301
|
} = _ref;
|
|
6302
6302
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6303
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6303
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a3e5b9eb19a5a930$exports)));
|
|
6304
6304
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6305
6305
|
}
|
|
6306
6306
|
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.3";
|
|
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 $5511b7a85dfd2513$exports = {};
|
|
1406
|
+
$5511b7a85dfd2513$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($5511b7a85dfd2513$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 $32d59e0a3b1df969$exports = {};
|
|
5343
|
+
$32d59e0a3b1df969$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($32d59e0a3b1df969$exports)));
|
|
5356
5356
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5357
5357
|
}
|
|
5358
5358
|
return (() => {
|
|
@@ -5579,8 +5579,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5579
5579
|
collapse: collapse
|
|
5580
5580
|
};
|
|
5581
5581
|
};
|
|
5582
|
-
var $
|
|
5583
|
-
$
|
|
5582
|
+
var $35c9f1ebe12f9a64$exports = {};
|
|
5583
|
+
$35c9f1ebe12f9a64$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";
|
|
5584
5584
|
var $ff973b2032639b5f$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<img>`),
|
|
5585
5585
|
$ff973b2032639b5f$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<source sizes=0px>`),
|
|
5586
5586
|
$ff973b2032639b5f$var$_tmpl$3 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<picture>`);
|
|
@@ -5751,7 +5751,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5751
5751
|
}) => {
|
|
5752
5752
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5753
5753
|
// Insert styling on first import
|
|
5754
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5754
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($35c9f1ebe12f9a64$exports)));
|
|
5755
5755
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5756
5756
|
}
|
|
5757
5757
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5835,8 +5835,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5835
5835
|
}
|
|
5836
5836
|
return sourceset_component;
|
|
5837
5837
|
}
|
|
5838
|
-
var $
|
|
5839
|
-
$
|
|
5838
|
+
var $5b367163fde37fa9$exports = {};
|
|
5839
|
+
$5b367163fde37fa9$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";
|
|
5840
5840
|
var $a656daa2fa8c279a$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5841
5841
|
$a656daa2fa8c279a$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=second-image-container>`);
|
|
5842
5842
|
// Saving bytez
|
|
@@ -5965,7 +5965,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5965
5965
|
...options
|
|
5966
5966
|
}) => {
|
|
5967
5967
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5968
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5968
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5b367163fde37fa9$exports)));
|
|
5969
5969
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5970
5970
|
}
|
|
5971
5971
|
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.3";
|
|
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 $df53fa48eb952087$exports = {};
|
|
1207
|
+
$df53fa48eb952087$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($df53fa48eb952087$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 $dafb5acaef48b99b$exports = {};
|
|
5144
|
+
$dafb5acaef48b99b$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($dafb5acaef48b99b$exports)));
|
|
5157
5157
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5158
5158
|
}
|
|
5159
5159
|
return (() => {
|
|
@@ -5380,8 +5380,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5380
5380
|
collapse: collapse
|
|
5381
5381
|
};
|
|
5382
5382
|
};
|
|
5383
|
-
var $
|
|
5384
|
-
$
|
|
5383
|
+
var $62cc182e25269720$exports = {};
|
|
5384
|
+
$62cc182e25269720$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";
|
|
5385
5385
|
var $45af9e834781a9bc$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<img>`),
|
|
5386
5386
|
$45af9e834781a9bc$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<source sizes=0px>`),
|
|
5387
5387
|
$45af9e834781a9bc$var$_tmpl$3 = /*#__PURE__*/$qgKv4$template(`<picture>`);
|
|
@@ -5552,7 +5552,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5552
5552
|
}) => {
|
|
5553
5553
|
if (!$914971fb43986a16$var$inserted) {
|
|
5554
5554
|
// Insert styling on first import
|
|
5555
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5555
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($62cc182e25269720$exports)));
|
|
5556
5556
|
$914971fb43986a16$var$inserted = true;
|
|
5557
5557
|
}
|
|
5558
5558
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5636,8 +5636,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5636
5636
|
}
|
|
5637
5637
|
return sourceset_component;
|
|
5638
5638
|
}
|
|
5639
|
-
var $
|
|
5640
|
-
$
|
|
5639
|
+
var $5c965a640a67fb60$exports = {};
|
|
5640
|
+
$5c965a640a67fb60$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";
|
|
5641
5641
|
var $8483d1d9fcee52ec$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5642
5642
|
$8483d1d9fcee52ec$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<div class=second-image-container>`);
|
|
5643
5643
|
// Saving bytez
|
|
@@ -5766,7 +5766,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5766
5766
|
...options
|
|
5767
5767
|
}) => {
|
|
5768
5768
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5769
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5769
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5c965a640a67fb60$exports)));
|
|
5770
5770
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5771
5771
|
}
|
|
5772
5772
|
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.3",
|
|
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.3",
|
|
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.3";
|
|
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 $99ca81e1ba6207c9$exports = {};
|
|
1571
|
+
$99ca81e1ba6207c9$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($99ca81e1ba6207c9$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 $1d65b2433be03961$exports = {};
|
|
5769
|
+
$1d65b2433be03961$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($1d65b2433be03961$exports)));
|
|
5782
5782
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5783
5783
|
}
|
|
5784
5784
|
return $lMD39$solidjsweb.ssrElement("div", $lMD39$solidjsweb.mergeProps({
|
|
@@ -5974,8 +5974,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
5974
5974
|
collapse: collapse
|
|
5975
5975
|
};
|
|
5976
5976
|
};
|
|
5977
|
-
var $
|
|
5978
|
-
$
|
|
5977
|
+
var $a89651adb1d138c1$exports = {};
|
|
5978
|
+
$a89651adb1d138c1$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";
|
|
5979
5979
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5980
5980
|
const $b42b9f62e8b6cb2d$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5981
5981
|
const $b42b9f62e8b6cb2d$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -6137,7 +6137,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6137
6137
|
} = _ref;
|
|
6138
6138
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6139
6139
|
// Insert styling on first import
|
|
6140
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6140
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a89651adb1d138c1$exports)));
|
|
6141
6141
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6142
6142
|
}
|
|
6143
6143
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6212,8 +6212,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6212
6212
|
}
|
|
6213
6213
|
return sourceset_component;
|
|
6214
6214
|
}
|
|
6215
|
-
var $
|
|
6216
|
-
$
|
|
6215
|
+
var $7c27cc26a0ade1c3$exports = {};
|
|
6216
|
+
$7c27cc26a0ade1c3$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";
|
|
6217
6217
|
var $8928a1027461fba4$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6218
6218
|
$8928a1027461fba4$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6219
6219
|
// Saving bytez
|
|
@@ -6348,7 +6348,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6348
6348
|
...options
|
|
6349
6349
|
} = _ref;
|
|
6350
6350
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6351
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6351
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($7c27cc26a0ade1c3$exports)));
|
|
6352
6352
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6353
6353
|
}
|
|
6354
6354
|
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.3";
|
|
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 $0f7a1c063ac160c5$exports = {};
|
|
1372
|
+
$0f7a1c063ac160c5$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($0f7a1c063ac160c5$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 $cf555a386961fbf4$exports = {};
|
|
5570
|
+
$cf555a386961fbf4$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($cf555a386961fbf4$exports)));
|
|
5583
5583
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5584
5584
|
}
|
|
5585
5585
|
return $hrhbO$ssrElement("div", $hrhbO$mergeProps({
|
|
@@ -5775,8 +5775,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5775
5775
|
collapse: collapse
|
|
5776
5776
|
};
|
|
5777
5777
|
};
|
|
5778
|
-
var $
|
|
5779
|
-
$
|
|
5778
|
+
var $5786e5227428e0a9$exports = {};
|
|
5779
|
+
$5786e5227428e0a9$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";
|
|
5780
5780
|
var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5781
5781
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5782
5782
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5938,7 +5938,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
5938
5938
|
} = _ref;
|
|
5939
5939
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
5940
5940
|
// Insert styling on first import
|
|
5941
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5941
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5786e5227428e0a9$exports)));
|
|
5942
5942
|
$c987460cedc0d7ec$var$inserted = true;
|
|
5943
5943
|
}
|
|
5944
5944
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6013,8 +6013,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6013
6013
|
}
|
|
6014
6014
|
return sourceset_component;
|
|
6015
6015
|
}
|
|
6016
|
-
var $
|
|
6017
|
-
$
|
|
6016
|
+
var $a3e5b9eb19a5a930$exports = {};
|
|
6017
|
+
$a3e5b9eb19a5a930$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";
|
|
6018
6018
|
var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6019
6019
|
$73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6020
6020
|
// Saving bytez
|
|
@@ -6149,7 +6149,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6149
6149
|
...options
|
|
6150
6150
|
} = _ref;
|
|
6151
6151
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6152
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6152
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a3e5b9eb19a5a930$exports)));
|
|
6153
6153
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6154
6154
|
}
|
|
6155
6155
|
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.3";
|
|
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 $5511b7a85dfd2513$exports = {};
|
|
1406
|
+
$5511b7a85dfd2513$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($5511b7a85dfd2513$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 $32d59e0a3b1df969$exports = {};
|
|
5276
|
+
$32d59e0a3b1df969$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($32d59e0a3b1df969$exports)));
|
|
5288
5288
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5289
5289
|
}
|
|
5290
5290
|
return $jVDDb$solidjsweb.ssrElement("div", $jVDDb$solidjsweb.mergeProps({
|
|
@@ -5463,8 +5463,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5463
5463
|
collapse: collapse
|
|
5464
5464
|
};
|
|
5465
5465
|
};
|
|
5466
|
-
var $
|
|
5467
|
-
$
|
|
5466
|
+
var $35c9f1ebe12f9a64$exports = {};
|
|
5467
|
+
$35c9f1ebe12f9a64$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";
|
|
5468
5468
|
var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5469
5469
|
const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5470
5470
|
const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5616,7 +5616,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5616
5616
|
}) => {
|
|
5617
5617
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5618
5618
|
// Insert styling on first import
|
|
5619
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5619
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($35c9f1ebe12f9a64$exports)));
|
|
5620
5620
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5621
5621
|
}
|
|
5622
5622
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5684,8 +5684,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5684
5684
|
}
|
|
5685
5685
|
return sourceset_component;
|
|
5686
5686
|
}
|
|
5687
|
-
var $
|
|
5688
|
-
$
|
|
5687
|
+
var $5b367163fde37fa9$exports = {};
|
|
5688
|
+
$5b367163fde37fa9$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";
|
|
5689
5689
|
var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5690
5690
|
$a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5691
5691
|
// Saving bytez
|
|
@@ -5814,7 +5814,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5814
5814
|
...options
|
|
5815
5815
|
}) => {
|
|
5816
5816
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5817
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5817
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5b367163fde37fa9$exports)));
|
|
5818
5818
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5819
5819
|
}
|
|
5820
5820
|
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.3";
|
|
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 $df53fa48eb952087$exports = {};
|
|
1207
|
+
$df53fa48eb952087$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($df53fa48eb952087$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 $dafb5acaef48b99b$exports = {};
|
|
5077
|
+
$dafb5acaef48b99b$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($dafb5acaef48b99b$exports)));
|
|
5089
5089
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5090
5090
|
}
|
|
5091
5091
|
return $f3g9l$ssrElement("div", $f3g9l$mergeProps({
|
|
@@ -5264,8 +5264,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5264
5264
|
collapse: collapse
|
|
5265
5265
|
};
|
|
5266
5266
|
};
|
|
5267
|
-
var $
|
|
5268
|
-
$
|
|
5267
|
+
var $62cc182e25269720$exports = {};
|
|
5268
|
+
$62cc182e25269720$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";
|
|
5269
5269
|
var $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5270
5270
|
const $45af9e834781a9bc$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5271
5271
|
const $45af9e834781a9bc$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5417,7 +5417,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5417
5417
|
}) => {
|
|
5418
5418
|
if (!$914971fb43986a16$var$inserted) {
|
|
5419
5419
|
// Insert styling on first import
|
|
5420
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5420
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($62cc182e25269720$exports)));
|
|
5421
5421
|
$914971fb43986a16$var$inserted = true;
|
|
5422
5422
|
}
|
|
5423
5423
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5485,8 +5485,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5485
5485
|
}
|
|
5486
5486
|
return sourceset_component;
|
|
5487
5487
|
}
|
|
5488
|
-
var $
|
|
5489
|
-
$
|
|
5488
|
+
var $5c965a640a67fb60$exports = {};
|
|
5489
|
+
$5c965a640a67fb60$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";
|
|
5490
5490
|
var $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5491
5491
|
$8483d1d9fcee52ec$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5492
5492
|
// Saving bytez
|
|
@@ -5615,7 +5615,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5615
5615
|
...options
|
|
5616
5616
|
}) => {
|
|
5617
5617
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5618
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5618
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5c965a640a67fb60$exports)));
|
|
5619
5619
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5620
5620
|
}
|
|
5621
5621
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|