@depict-ai/utilishared 2.3.0 → 2.3.1
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.3.
|
|
210
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $22c667835a3196a9$exports = {};
|
|
1571
|
+
$22c667835a3196a9$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");
|
|
@@ -3186,7 +3186,7 @@ class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$ex
|
|
|
3186
3186
|
function $3f49f9b73bfc2a38$export$f1b8b9fd75ddcab1(slider) {
|
|
3187
3187
|
const style_elem = document.createElement("style");
|
|
3188
3188
|
style_elem.type = "text/css";
|
|
3189
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
3189
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($22c667835a3196a9$exports)));
|
|
3190
3190
|
slider.container.appendChild(style_elem);
|
|
3191
3191
|
}
|
|
3192
3192
|
|
|
@@ -5833,8 +5833,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
5833
5833
|
}));
|
|
5834
5834
|
}
|
|
5835
5835
|
$bBfCy$solidjsweb.delegateEvents(["click"]);
|
|
5836
|
-
var $
|
|
5837
|
-
$
|
|
5836
|
+
var $46b697935d651c75$exports = {};
|
|
5837
|
+
$46b697935d651c75$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";
|
|
5838
5838
|
var $ba9b4cd7e24de87e$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div>`);
|
|
5839
5839
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
5840
5840
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
@@ -5847,7 +5847,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
5847
5847
|
} = _ref;
|
|
5848
5848
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
5849
5849
|
// Insert styling on first import
|
|
5850
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5850
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($46b697935d651c75$exports)));
|
|
5851
5851
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5852
5852
|
}
|
|
5853
5853
|
return (() => {
|
|
@@ -6091,8 +6091,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
6091
6091
|
collapse: collapse
|
|
6092
6092
|
};
|
|
6093
6093
|
};
|
|
6094
|
-
var $
|
|
6095
|
-
$
|
|
6094
|
+
var $40bc83c42fbfc3cd$exports = {};
|
|
6095
|
+
$40bc83c42fbfc3cd$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";
|
|
6096
6096
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<img>`),
|
|
6097
6097
|
$b42b9f62e8b6cb2d$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<source sizes=0px>`),
|
|
6098
6098
|
$b42b9f62e8b6cb2d$var$_tmpl$3 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<picture>`);
|
|
@@ -6273,7 +6273,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6273
6273
|
} = _ref;
|
|
6274
6274
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6275
6275
|
// Insert styling on first import
|
|
6276
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6276
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($40bc83c42fbfc3cd$exports)));
|
|
6277
6277
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6278
6278
|
}
|
|
6279
6279
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6364,8 +6364,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6364
6364
|
}
|
|
6365
6365
|
return sourceset_component;
|
|
6366
6366
|
}
|
|
6367
|
-
var $
|
|
6368
|
-
$
|
|
6367
|
+
var $f90bbaa8a24d72ca$exports = {};
|
|
6368
|
+
$f90bbaa8a24d72ca$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";
|
|
6369
6369
|
var $8928a1027461fba4$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6370
6370
|
$8928a1027461fba4$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=second-image-container>`);
|
|
6371
6371
|
// Saving bytez
|
|
@@ -6500,7 +6500,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6500
6500
|
...options
|
|
6501
6501
|
} = _ref;
|
|
6502
6502
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6503
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6503
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f90bbaa8a24d72ca$exports)));
|
|
6504
6504
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6505
6505
|
}
|
|
6506
6506
|
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.3.
|
|
11
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $bb2bb8f189a68651$exports = {};
|
|
1372
|
+
$bb2bb8f189a68651$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");
|
|
@@ -2987,7 +2987,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
2987
2987
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
2988
2988
|
const style_elem = document.createElement("style");
|
|
2989
2989
|
style_elem.type = "text/css";
|
|
2990
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2990
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($bb2bb8f189a68651$exports)));
|
|
2991
2991
|
slider.container.appendChild(style_elem);
|
|
2992
2992
|
}
|
|
2993
2993
|
|
|
@@ -5634,8 +5634,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
5634
5634
|
}));
|
|
5635
5635
|
}
|
|
5636
5636
|
$76EG6$delegateEvents(["click"]);
|
|
5637
|
-
var $
|
|
5638
|
-
$
|
|
5637
|
+
var $5304b1a97f5cc360$exports = {};
|
|
5638
|
+
$5304b1a97f5cc360$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";
|
|
5639
5639
|
var $adc0bb548fdb574f$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div>`);
|
|
5640
5640
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
5641
5641
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
@@ -5648,7 +5648,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
5648
5648
|
} = _ref;
|
|
5649
5649
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
5650
5650
|
// Insert styling on first import
|
|
5651
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5651
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5304b1a97f5cc360$exports)));
|
|
5652
5652
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5653
5653
|
}
|
|
5654
5654
|
return (() => {
|
|
@@ -5892,8 +5892,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5892
5892
|
collapse: collapse
|
|
5893
5893
|
};
|
|
5894
5894
|
};
|
|
5895
|
-
var $
|
|
5896
|
-
$
|
|
5895
|
+
var $3acba1df0fdbf811$exports = {};
|
|
5896
|
+
$3acba1df0fdbf811$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";
|
|
5897
5897
|
var $9ef5ce4804a3b61b$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<img>`),
|
|
5898
5898
|
$9ef5ce4804a3b61b$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<source sizes=0px>`),
|
|
5899
5899
|
$9ef5ce4804a3b61b$var$_tmpl$3 = /*#__PURE__*/$76EG6$template(`<picture>`);
|
|
@@ -6074,7 +6074,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
6074
6074
|
} = _ref;
|
|
6075
6075
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
6076
6076
|
// Insert styling on first import
|
|
6077
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6077
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($3acba1df0fdbf811$exports)));
|
|
6078
6078
|
$c987460cedc0d7ec$var$inserted = true;
|
|
6079
6079
|
}
|
|
6080
6080
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6165,8 +6165,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6165
6165
|
}
|
|
6166
6166
|
return sourceset_component;
|
|
6167
6167
|
}
|
|
6168
|
-
var $
|
|
6169
|
-
$
|
|
6168
|
+
var $2dbcf35ce5cd16e6$exports = {};
|
|
6169
|
+
$2dbcf35ce5cd16e6$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";
|
|
6170
6170
|
var $73f0a7e385687d5d$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
6171
6171
|
$73f0a7e385687d5d$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<div class=second-image-container>`);
|
|
6172
6172
|
// Saving bytez
|
|
@@ -6301,7 +6301,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6301
6301
|
...options
|
|
6302
6302
|
} = _ref;
|
|
6303
6303
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6304
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6304
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($2dbcf35ce5cd16e6$exports)));
|
|
6305
6305
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6306
6306
|
}
|
|
6307
6307
|
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.3.
|
|
207
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $1286e6ce2079bdeb$exports = {};
|
|
1406
|
+
$1286e6ce2079bdeb$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($1286e6ce2079bdeb$exports)));
|
|
2799
2799
|
slider.container.appendChild(style_elem);
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
@@ -5336,8 +5336,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
5336
5336
|
}));
|
|
5337
5337
|
}
|
|
5338
5338
|
$z0IcO$solidjsweb.delegateEvents(["click"]);
|
|
5339
|
-
var $
|
|
5340
|
-
$
|
|
5339
|
+
var $adc99c8c4278ad03$exports = {};
|
|
5340
|
+
$adc99c8c4278ad03$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";
|
|
5341
5341
|
var $e587cb3b31b82f43$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div>`);
|
|
5342
5342
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
5343
5343
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
@@ -5349,7 +5349,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
5349
5349
|
}) => {
|
|
5350
5350
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
5351
5351
|
// Insert styling on first import
|
|
5352
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5352
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($adc99c8c4278ad03$exports)));
|
|
5353
5353
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5354
5354
|
}
|
|
5355
5355
|
return (() => {
|
|
@@ -5576,8 +5576,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5576
5576
|
collapse: collapse
|
|
5577
5577
|
};
|
|
5578
5578
|
};
|
|
5579
|
-
var $
|
|
5580
|
-
$
|
|
5579
|
+
var $9b2faeca6842dc4b$exports = {};
|
|
5580
|
+
$9b2faeca6842dc4b$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";
|
|
5581
5581
|
var $ff973b2032639b5f$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<img>`),
|
|
5582
5582
|
$ff973b2032639b5f$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<source sizes=0px>`),
|
|
5583
5583
|
$ff973b2032639b5f$var$_tmpl$3 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<picture>`);
|
|
@@ -5748,7 +5748,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5748
5748
|
}) => {
|
|
5749
5749
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5750
5750
|
// Insert styling on first import
|
|
5751
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5751
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9b2faeca6842dc4b$exports)));
|
|
5752
5752
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5753
5753
|
}
|
|
5754
5754
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5832,8 +5832,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5832
5832
|
}
|
|
5833
5833
|
return sourceset_component;
|
|
5834
5834
|
}
|
|
5835
|
-
var $
|
|
5836
|
-
$
|
|
5835
|
+
var $da6327fdb5e3fda6$exports = {};
|
|
5836
|
+
$da6327fdb5e3fda6$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";
|
|
5837
5837
|
var $a656daa2fa8c279a$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5838
5838
|
$a656daa2fa8c279a$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=second-image-container>`);
|
|
5839
5839
|
// Saving bytez
|
|
@@ -5962,7 +5962,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5962
5962
|
...options
|
|
5963
5963
|
}) => {
|
|
5964
5964
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5965
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5965
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da6327fdb5e3fda6$exports)));
|
|
5966
5966
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5967
5967
|
}
|
|
5968
5968
|
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.3.
|
|
8
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $a1c62fc52d40cabb$exports = {};
|
|
1207
|
+
$a1c62fc52d40cabb$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($a1c62fc52d40cabb$exports)));
|
|
2600
2600
|
slider.container.appendChild(style_elem);
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
@@ -5137,8 +5137,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
5137
5137
|
}));
|
|
5138
5138
|
}
|
|
5139
5139
|
$qgKv4$delegateEvents(["click"]);
|
|
5140
|
-
var $
|
|
5141
|
-
$
|
|
5140
|
+
var $97e49e6362cc0f5e$exports = {};
|
|
5141
|
+
$97e49e6362cc0f5e$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";
|
|
5142
5142
|
var $ad592d9ddbcffe72$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div>`);
|
|
5143
5143
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
5144
5144
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
@@ -5150,7 +5150,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
5150
5150
|
}) => {
|
|
5151
5151
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
5152
5152
|
// Insert styling on first import
|
|
5153
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5153
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($97e49e6362cc0f5e$exports)));
|
|
5154
5154
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5155
5155
|
}
|
|
5156
5156
|
return (() => {
|
|
@@ -5377,8 +5377,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5377
5377
|
collapse: collapse
|
|
5378
5378
|
};
|
|
5379
5379
|
};
|
|
5380
|
-
var $
|
|
5381
|
-
$
|
|
5380
|
+
var $8dc995f9c379e0e7$exports = {};
|
|
5381
|
+
$8dc995f9c379e0e7$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";
|
|
5382
5382
|
var $45af9e834781a9bc$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<img>`),
|
|
5383
5383
|
$45af9e834781a9bc$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<source sizes=0px>`),
|
|
5384
5384
|
$45af9e834781a9bc$var$_tmpl$3 = /*#__PURE__*/$qgKv4$template(`<picture>`);
|
|
@@ -5549,7 +5549,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5549
5549
|
}) => {
|
|
5550
5550
|
if (!$914971fb43986a16$var$inserted) {
|
|
5551
5551
|
// Insert styling on first import
|
|
5552
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5552
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8dc995f9c379e0e7$exports)));
|
|
5553
5553
|
$914971fb43986a16$var$inserted = true;
|
|
5554
5554
|
}
|
|
5555
5555
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5633,8 +5633,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5633
5633
|
}
|
|
5634
5634
|
return sourceset_component;
|
|
5635
5635
|
}
|
|
5636
|
-
var $
|
|
5637
|
-
$
|
|
5636
|
+
var $534c383471d24ff6$exports = {};
|
|
5637
|
+
$534c383471d24ff6$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";
|
|
5638
5638
|
var $8483d1d9fcee52ec$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
5639
5639
|
$8483d1d9fcee52ec$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<div class=second-image-container>`);
|
|
5640
5640
|
// Saving bytez
|
|
@@ -5763,7 +5763,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5763
5763
|
...options
|
|
5764
5764
|
}) => {
|
|
5765
5765
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5766
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5766
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($534c383471d24ff6$exports)));
|
|
5767
5767
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5768
5768
|
}
|
|
5769
5769
|
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.3.
|
|
3
|
+
"version": "2.3.1",
|
|
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.3.
|
|
142
|
+
"@depict-ai/types": "^5.3.1",
|
|
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.3.
|
|
210
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $22c667835a3196a9$exports = {};
|
|
1571
|
+
$22c667835a3196a9$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");
|
|
@@ -3186,7 +3186,7 @@ class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$ex
|
|
|
3186
3186
|
function $3f49f9b73bfc2a38$export$f1b8b9fd75ddcab1(slider) {
|
|
3187
3187
|
const style_elem = document.createElement("style");
|
|
3188
3188
|
style_elem.type = "text/css";
|
|
3189
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
3189
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($22c667835a3196a9$exports)));
|
|
3190
3190
|
slider.container.appendChild(style_elem);
|
|
3191
3191
|
}
|
|
3192
3192
|
|
|
@@ -5766,8 +5766,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
5766
5766
|
on_close_(exit_oos_iterator);
|
|
5767
5767
|
}));
|
|
5768
5768
|
}
|
|
5769
|
-
var $
|
|
5770
|
-
$
|
|
5769
|
+
var $46b697935d651c75$exports = {};
|
|
5770
|
+
$46b697935d651c75$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";
|
|
5771
5771
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
5772
5772
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
5773
5773
|
let {
|
|
@@ -5779,7 +5779,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
5779
5779
|
} = _ref;
|
|
5780
5780
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
5781
5781
|
// Insert styling on first import
|
|
5782
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5782
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($46b697935d651c75$exports)));
|
|
5783
5783
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
5784
5784
|
}
|
|
5785
5785
|
return $lMD39$solidjsweb.ssrElement("div", $lMD39$solidjsweb.mergeProps({
|
|
@@ -5975,8 +5975,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
5975
5975
|
collapse: collapse
|
|
5976
5976
|
};
|
|
5977
5977
|
};
|
|
5978
|
-
var $
|
|
5979
|
-
$
|
|
5978
|
+
var $40bc83c42fbfc3cd$exports = {};
|
|
5979
|
+
$40bc83c42fbfc3cd$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";
|
|
5980
5980
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5981
5981
|
const $b42b9f62e8b6cb2d$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5982
5982
|
const $b42b9f62e8b6cb2d$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -6138,7 +6138,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
6138
6138
|
} = _ref;
|
|
6139
6139
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
6140
6140
|
// Insert styling on first import
|
|
6141
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6141
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($40bc83c42fbfc3cd$exports)));
|
|
6142
6142
|
$dfce76a4aeb41067$var$inserted = true;
|
|
6143
6143
|
}
|
|
6144
6144
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -6213,8 +6213,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6213
6213
|
}
|
|
6214
6214
|
return sourceset_component;
|
|
6215
6215
|
}
|
|
6216
|
-
var $
|
|
6217
|
-
$
|
|
6216
|
+
var $f90bbaa8a24d72ca$exports = {};
|
|
6217
|
+
$f90bbaa8a24d72ca$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";
|
|
6218
6218
|
var $8928a1027461fba4$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6219
6219
|
$8928a1027461fba4$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6220
6220
|
// Saving bytez
|
|
@@ -6349,7 +6349,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
6349
6349
|
...options
|
|
6350
6350
|
} = _ref;
|
|
6351
6351
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
6352
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6352
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f90bbaa8a24d72ca$exports)));
|
|
6353
6353
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
6354
6354
|
}
|
|
6355
6355
|
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.3.
|
|
11
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $bb2bb8f189a68651$exports = {};
|
|
1372
|
+
$bb2bb8f189a68651$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");
|
|
@@ -2987,7 +2987,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
2987
2987
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
2988
2988
|
const style_elem = document.createElement("style");
|
|
2989
2989
|
style_elem.type = "text/css";
|
|
2990
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
2990
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($bb2bb8f189a68651$exports)));
|
|
2991
2991
|
slider.container.appendChild(style_elem);
|
|
2992
2992
|
}
|
|
2993
2993
|
|
|
@@ -5567,8 +5567,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
5567
5567
|
on_close_(exit_oos_iterator);
|
|
5568
5568
|
}));
|
|
5569
5569
|
}
|
|
5570
|
-
var $
|
|
5571
|
-
$
|
|
5570
|
+
var $5304b1a97f5cc360$exports = {};
|
|
5571
|
+
$5304b1a97f5cc360$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";
|
|
5572
5572
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
5573
5573
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
5574
5574
|
let {
|
|
@@ -5580,7 +5580,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
5580
5580
|
} = _ref;
|
|
5581
5581
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
5582
5582
|
// Insert styling on first import
|
|
5583
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5583
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5304b1a97f5cc360$exports)));
|
|
5584
5584
|
$adc0bb548fdb574f$var$inserted = true;
|
|
5585
5585
|
}
|
|
5586
5586
|
return $hrhbO$ssrElement("div", $hrhbO$mergeProps({
|
|
@@ -5776,8 +5776,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
5776
5776
|
collapse: collapse
|
|
5777
5777
|
};
|
|
5778
5778
|
};
|
|
5779
|
-
var $
|
|
5780
|
-
$
|
|
5779
|
+
var $3acba1df0fdbf811$exports = {};
|
|
5780
|
+
$3acba1df0fdbf811$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";
|
|
5781
5781
|
var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5782
5782
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5783
5783
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5939,7 +5939,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
5939
5939
|
} = _ref;
|
|
5940
5940
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
5941
5941
|
// Insert styling on first import
|
|
5942
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5942
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($3acba1df0fdbf811$exports)));
|
|
5943
5943
|
$c987460cedc0d7ec$var$inserted = true;
|
|
5944
5944
|
}
|
|
5945
5945
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -6014,8 +6014,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
6014
6014
|
}
|
|
6015
6015
|
return sourceset_component;
|
|
6016
6016
|
}
|
|
6017
|
-
var $
|
|
6018
|
-
$
|
|
6017
|
+
var $2dbcf35ce5cd16e6$exports = {};
|
|
6018
|
+
$2dbcf35ce5cd16e6$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";
|
|
6019
6019
|
var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
6020
6020
|
$73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
6021
6021
|
// Saving bytez
|
|
@@ -6150,7 +6150,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
6150
6150
|
...options
|
|
6151
6151
|
} = _ref;
|
|
6152
6152
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
6153
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6153
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($2dbcf35ce5cd16e6$exports)));
|
|
6154
6154
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
6155
6155
|
}
|
|
6156
6156
|
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.3.
|
|
207
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $1286e6ce2079bdeb$exports = {};
|
|
1406
|
+
$1286e6ce2079bdeb$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($1286e6ce2079bdeb$exports)));
|
|
2799
2799
|
slider.container.appendChild(style_elem);
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
@@ -5269,8 +5269,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
5269
5269
|
on_close_(exit_oos_iterator);
|
|
5270
5270
|
}));
|
|
5271
5271
|
}
|
|
5272
|
-
var $
|
|
5273
|
-
$
|
|
5272
|
+
var $adc99c8c4278ad03$exports = {};
|
|
5273
|
+
$adc99c8c4278ad03$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";
|
|
5274
5274
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
5275
5275
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
5276
5276
|
width: width,
|
|
@@ -5281,7 +5281,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
5281
5281
|
}) => {
|
|
5282
5282
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
5283
5283
|
// Insert styling on first import
|
|
5284
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5284
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($adc99c8c4278ad03$exports)));
|
|
5285
5285
|
$e587cb3b31b82f43$var$inserted = true;
|
|
5286
5286
|
}
|
|
5287
5287
|
return $jVDDb$solidjsweb.ssrElement("div", $jVDDb$solidjsweb.mergeProps({
|
|
@@ -5460,8 +5460,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
5460
5460
|
collapse: collapse
|
|
5461
5461
|
};
|
|
5462
5462
|
};
|
|
5463
|
-
var $
|
|
5464
|
-
$
|
|
5463
|
+
var $9b2faeca6842dc4b$exports = {};
|
|
5464
|
+
$9b2faeca6842dc4b$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";
|
|
5465
5465
|
var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5466
5466
|
const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5467
5467
|
const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5613,7 +5613,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
5613
5613
|
}) => {
|
|
5614
5614
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
5615
5615
|
// Insert styling on first import
|
|
5616
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5616
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9b2faeca6842dc4b$exports)));
|
|
5617
5617
|
$a312bccd722ac9e4$var$inserted = true;
|
|
5618
5618
|
}
|
|
5619
5619
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -5681,8 +5681,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5681
5681
|
}
|
|
5682
5682
|
return sourceset_component;
|
|
5683
5683
|
}
|
|
5684
|
-
var $
|
|
5685
|
-
$
|
|
5684
|
+
var $da6327fdb5e3fda6$exports = {};
|
|
5685
|
+
$da6327fdb5e3fda6$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";
|
|
5686
5686
|
var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5687
5687
|
$a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5688
5688
|
// Saving bytez
|
|
@@ -5811,7 +5811,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
5811
5811
|
...options
|
|
5812
5812
|
}) => {
|
|
5813
5813
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
5814
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5814
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da6327fdb5e3fda6$exports)));
|
|
5815
5815
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
5816
5816
|
}
|
|
5817
5817
|
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.3.
|
|
8
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.3.1";
|
|
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 $a1c62fc52d40cabb$exports = {};
|
|
1207
|
+
$a1c62fc52d40cabb$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($a1c62fc52d40cabb$exports)));
|
|
2600
2600
|
slider.container.appendChild(style_elem);
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
@@ -5070,8 +5070,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
5070
5070
|
on_close_(exit_oos_iterator);
|
|
5071
5071
|
}));
|
|
5072
5072
|
}
|
|
5073
|
-
var $
|
|
5074
|
-
$
|
|
5073
|
+
var $97e49e6362cc0f5e$exports = {};
|
|
5074
|
+
$97e49e6362cc0f5e$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";
|
|
5075
5075
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
5076
5076
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
5077
5077
|
width: width,
|
|
@@ -5082,7 +5082,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
5082
5082
|
}) => {
|
|
5083
5083
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
5084
5084
|
// Insert styling on first import
|
|
5085
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5085
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($97e49e6362cc0f5e$exports)));
|
|
5086
5086
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
5087
5087
|
}
|
|
5088
5088
|
return $f3g9l$ssrElement("div", $f3g9l$mergeProps({
|
|
@@ -5261,8 +5261,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
5261
5261
|
collapse: collapse
|
|
5262
5262
|
};
|
|
5263
5263
|
};
|
|
5264
|
-
var $
|
|
5265
|
-
$
|
|
5264
|
+
var $8dc995f9c379e0e7$exports = {};
|
|
5265
|
+
$8dc995f9c379e0e7$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";
|
|
5266
5266
|
var $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
5267
5267
|
const $45af9e834781a9bc$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
5268
5268
|
const $45af9e834781a9bc$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -5414,7 +5414,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
5414
5414
|
}) => {
|
|
5415
5415
|
if (!$914971fb43986a16$var$inserted) {
|
|
5416
5416
|
// Insert styling on first import
|
|
5417
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5417
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8dc995f9c379e0e7$exports)));
|
|
5418
5418
|
$914971fb43986a16$var$inserted = true;
|
|
5419
5419
|
}
|
|
5420
5420
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -5482,8 +5482,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
5482
5482
|
}
|
|
5483
5483
|
return sourceset_component;
|
|
5484
5484
|
}
|
|
5485
|
-
var $
|
|
5486
|
-
$
|
|
5485
|
+
var $534c383471d24ff6$exports = {};
|
|
5486
|
+
$534c383471d24ff6$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";
|
|
5487
5487
|
var $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
5488
5488
|
$8483d1d9fcee52ec$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
5489
5489
|
// Saving bytez
|
|
@@ -5612,7 +5612,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
5612
5612
|
...options
|
|
5613
5613
|
}) => {
|
|
5614
5614
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
5615
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5615
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($534c383471d24ff6$exports)));
|
|
5616
5616
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
5617
5617
|
}
|
|
5618
5618
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|