@depict-ai/react-ui 1.0.10 → 1.0.12
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/README.md +2 -2
- package/dist/index.d.ts +489 -505
- package/dist/main.js +29 -70
- package/dist/module.js +32 -73
- package/dist/styles/plain-css-fallback-styling.css +1 -1
- package/dist-server/index.d.ts +54 -59
- package/dist-server/main.js +7 -42
- package/dist-server/module.js +8 -43
- package/locales/index.d.ts +2 -2
- package/locales/index.js +1 -1
- package/locales/require.js +1 -1
- package/package.json +6 -6
package/dist/main.js
CHANGED
|
@@ -8,7 +8,6 @@ var $4GYXz$reactjsxruntime = require("react/jsx-runtime");
|
|
|
8
8
|
var $4GYXz$reactdom = require("react-dom");
|
|
9
9
|
var $4GYXz$solidjsstore = require("solid-js/store");
|
|
10
10
|
var $4GYXz$depictaidpc = require("@depict-ai/dpc");
|
|
11
|
-
var $4GYXz$depictaiuissr = require("@depict-ai/ui/ssr");
|
|
12
11
|
|
|
13
12
|
function $parcel$export(e, n, v, s) {
|
|
14
13
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
@@ -32,7 +31,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
32
31
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
33
32
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
34
33
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
35
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.
|
|
34
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.12";
|
|
36
35
|
|
|
37
36
|
|
|
38
37
|
|
|
@@ -107,7 +106,7 @@ function $b4d0d98857ed9934$export$74f3924c5027fe1d(cb) {
|
|
|
107
106
|
}));
|
|
108
107
|
const $b4d0d98857ed9934$export$775e6b3892b5ad52 = (url = location)=>url.pathname == (0, $4GYXz$solidjs.untrack)((0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search_page_path_[0]); // might have changed therefore get it from globalState
|
|
109
108
|
const $b4d0d98857ed9934$export$30c8a12df09be0e4 = (url = location)=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).known_category_paths.has(url.pathname);
|
|
110
|
-
function $b4d0d98857ed9934$export$f6e64e17bd69eeef(
|
|
109
|
+
function $b4d0d98857ed9934$export$f6e64e17bd69eeef(solid_component, props, wrapper_type = "div", wrapper_style = {}) {
|
|
111
110
|
const [portals, set_portals] = (0, $4GYXz$react.useState)([]);
|
|
112
111
|
const wrapper_element_ref = (0, $4GYXz$react.useRef)();
|
|
113
112
|
const [[store, write_store]] = (0, $4GYXz$react.useState)(()=>(0, $4GYXz$solidjsstore.createStore)(props));
|
|
@@ -115,23 +114,13 @@ function $b4d0d98857ed9934$export$f6e64e17bd69eeef({ solid_component: solid_comp
|
|
|
115
114
|
write_store((0, $4GYXz$solidjsstore.reconcile)(props));
|
|
116
115
|
(0, $4GYXz$react.useEffect)(()=>{
|
|
117
116
|
const wrapper_element = wrapper_element_ref.current;
|
|
118
|
-
|
|
119
|
-
// This can happen for HMR or when SSR capable components are only rendered on the client
|
|
120
|
-
const render_function = hydrate_function_when_ssr && wrapper_element.childNodes.length ? hydrate_function_when_ssr : (0, $4GYXz$solidjsweb.render);
|
|
121
|
-
const dispose = render_function(()=>solid_component(store, set_portals), wrapper_element);
|
|
117
|
+
const dispose = (0, $4GYXz$solidjsweb.render)(()=>solid_component(store, set_portals), wrapper_element);
|
|
122
118
|
return dispose;
|
|
123
119
|
}, []);
|
|
124
|
-
return (0, $4GYXz$react.createElement)(
|
|
120
|
+
return (0, $4GYXz$react.createElement)(wrapper_type, {
|
|
125
121
|
ref: wrapper_element_ref,
|
|
126
|
-
style: wrapper_style
|
|
127
|
-
|
|
128
|
-
// We need this because on the server we put the solid SSR rendered string into html but it won't match on the client, luckily we can just suppress it
|
|
129
|
-
suppressHydrationWarning: true,
|
|
130
|
-
dangerouslySetInnerHTML: {
|
|
131
|
-
__html: ""
|
|
132
|
-
}
|
|
133
|
-
} : {}
|
|
134
|
-
}), ...portals);
|
|
122
|
+
style: wrapper_style
|
|
123
|
+
}, portals);
|
|
135
124
|
}
|
|
136
125
|
function $b4d0d98857ed9934$export$e5139bbbb9a05035(component, is_set = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).required_state_set_[0]) {
|
|
137
126
|
return (...args)=>{
|
|
@@ -246,9 +235,9 @@ function $6319748b4f0426f0$export$6453cbc34515a94d() {
|
|
|
246
235
|
});
|
|
247
236
|
}));
|
|
248
237
|
}
|
|
249
|
-
/*
|
|
250
|
-
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
251
|
-
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
238
|
+
/*
|
|
239
|
+
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
240
|
+
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
252
241
|
*/ function $6319748b4f0426f0$var$addLotsOfPadding() {
|
|
253
242
|
if ($6319748b4f0426f0$var$padding_animation) return; // We're already showing a bunch of padding
|
|
254
243
|
$6319748b4f0426f0$var$padding_animation = document.body.animate({
|
|
@@ -413,10 +402,7 @@ const $883a881f7926405d$export$80e99ee6b29cadd2 = /*#__PURE__*/ (0, $4GYXz$react
|
|
|
413
402
|
|
|
414
403
|
|
|
415
404
|
function $7ad7a3d0011b7b1b$export$a54ec244c8863715(props) {
|
|
416
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
417
|
-
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($7ad7a3d0011b7b1b$var$SolidSearchPage),
|
|
418
|
-
props: props
|
|
419
|
-
});
|
|
405
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($7ad7a3d0011b7b1b$var$SolidSearchPage), props);
|
|
420
406
|
}
|
|
421
407
|
function $7ad7a3d0011b7b1b$var$SolidSearchPage(props, set_portals) {
|
|
422
408
|
const depict_search = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search;
|
|
@@ -459,13 +445,8 @@ function $7ad7a3d0011b7b1b$var$SolidSearchPage(props, set_portals) {
|
|
|
459
445
|
|
|
460
446
|
|
|
461
447
|
function $5aa5fcb9f8a2bebc$export$f7d2f673fc2f091d(props) {
|
|
462
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
463
|
-
|
|
464
|
-
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($5aa5fcb9f8a2bebc$var$SolidCategoryPage),
|
|
465
|
-
props: props,
|
|
466
|
-
wrapper_type: "div",
|
|
467
|
-
wrapper_style: {}
|
|
468
|
-
});
|
|
448
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(// @ts-ignore
|
|
449
|
+
(0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($5aa5fcb9f8a2bebc$var$SolidCategoryPage), props, "div", {});
|
|
469
450
|
}
|
|
470
451
|
function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
471
452
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -506,10 +487,7 @@ function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
|
506
487
|
|
|
507
488
|
|
|
508
489
|
function $d88e98b11c182b8e$export$5646050d516e06bc() {
|
|
509
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
510
|
-
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($d88e98b11c182b8e$var$vanilla_breadcrumbs),
|
|
511
|
-
props: undefined
|
|
512
|
-
});
|
|
490
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($d88e98b11c182b8e$var$vanilla_breadcrumbs), undefined);
|
|
513
491
|
}
|
|
514
492
|
function $d88e98b11c182b8e$var$vanilla_breadcrumbs() {
|
|
515
493
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -524,10 +502,7 @@ function $d88e98b11c182b8e$var$vanilla_breadcrumbs() {
|
|
|
524
502
|
|
|
525
503
|
|
|
526
504
|
function $f16af0e861aff3d0$export$466cdc317043f6cb() {
|
|
527
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
528
|
-
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($f16af0e861aff3d0$var$vanilla_quick_links),
|
|
529
|
-
props: {}
|
|
530
|
-
});
|
|
505
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($f16af0e861aff3d0$var$vanilla_quick_links), {});
|
|
531
506
|
}
|
|
532
507
|
function $f16af0e861aff3d0$var$vanilla_quick_links() {
|
|
533
508
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -541,36 +516,23 @@ function $f16af0e861aff3d0$var$vanilla_quick_links() {
|
|
|
541
516
|
|
|
542
517
|
|
|
543
518
|
|
|
544
|
-
const $df522c8a81ed5a01$export$3f37af283f8fb843 = (
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
550
|
-
solid_component: (props_store)=>(0, $4GYXz$depictaiuissr.ImagePlaceholder)(props_store),
|
|
551
|
-
props: react_props,
|
|
552
|
-
wrapper_type: "span",
|
|
553
|
-
hydrate_function_when_ssr: (0, $4GYXz$solidjsweb.hydrate)
|
|
519
|
+
const $df522c8a81ed5a01$export$3f37af283f8fb843 = (props)=>{
|
|
520
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((solid_props_store)=>(0, $4GYXz$solidjs.createMemo)(()=>(0, $4GYXz$depictaiutilishared.ContainedPlaceholderImage)({
|
|
521
|
+
aspect_ratio: solid_props_store.aspectRatio
|
|
522
|
+
})), props, "div", {
|
|
523
|
+
"height": "100%"
|
|
554
524
|
});
|
|
555
525
|
};
|
|
556
526
|
|
|
557
527
|
|
|
558
528
|
|
|
559
529
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
567
|
-
solid_component: (props_store)=>(0, $4GYXz$depictaiuissr.TextPlaceholder)(props_store),
|
|
568
|
-
props: react_props,
|
|
569
|
-
wrapper_type: "span",
|
|
570
|
-
hydrate_function_when_ssr: (0, $4GYXz$solidjsweb.hydrate),
|
|
571
|
-
wrapper_style: {
|
|
572
|
-
"height": "100%"
|
|
573
|
-
}
|
|
530
|
+
const $7c8b440edc188ad5$export$89c6019e4baa40b1 = ({ width: width , height: height })=>{
|
|
531
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(()=>(0, $4GYXz$depictaiutilishared.Placeholder)({
|
|
532
|
+
width: width,
|
|
533
|
+
height: height
|
|
534
|
+
}), {}, "div", {
|
|
535
|
+
"height": "100%"
|
|
574
536
|
});
|
|
575
537
|
};
|
|
576
538
|
|
|
@@ -614,13 +576,10 @@ function $ae73b15c325f1b21$export$912994940e660d32(params = {}) {
|
|
|
614
576
|
|
|
615
577
|
const $cd591d0e4ce29df7$export$bde46b5bb6287cea = (props)=>{
|
|
616
578
|
const ReactSearchField = ()=>{
|
|
617
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
})),
|
|
622
|
-
props: {}
|
|
623
|
-
});
|
|
579
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)(()=>(0, $4GYXz$depictaiui.SearchField)({
|
|
580
|
+
depict_search: (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search,
|
|
581
|
+
aligner_ref: props?.alignerRef?.current
|
|
582
|
+
})), {});
|
|
624
583
|
};
|
|
625
584
|
return ReactSearchField;
|
|
626
585
|
};
|
package/dist/module.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, queueMacroTask as $TZSbU$queueMacroTask, instant_exec_on_suspect_history_change as $TZSbU$instant_exec_on_suspect_history_change} from "@depict-ai/utilishared";
|
|
1
|
+
import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, queueMacroTask as $TZSbU$queueMacroTask, instant_exec_on_suspect_history_change as $TZSbU$instant_exec_on_suspect_history_change, ContainedPlaceholderImage as $TZSbU$ContainedPlaceholderImage, Placeholder as $TZSbU$Placeholder} from "@depict-ai/utilishared";
|
|
2
2
|
import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictAPI as $TZSbU$DepictAPI, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, ProductCardError as $TZSbU$ProductCardError, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, defaultColsAtSize as $TZSbU$defaultColsAtSize, defaultGridSpacing as $TZSbU$defaultGridSpacing, CategoryPage as $TZSbU$CategoryPage, defaultCategoryTitlePlugin as $TZSbU$defaultCategoryTitlePlugin, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, open_modal_with_alignment as $TZSbU$open_modal_with_alignment, SearchField as $TZSbU$SearchField, fetchDepictRecommendations as $TZSbU$fetchDepictRecommendations} from "@depict-ai/ui";
|
|
3
|
-
import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createEffect as $TZSbU$createEffect, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, getOwner as $TZSbU$getOwner, runWithOwner as $TZSbU$runWithOwner, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed} from "solid-js";
|
|
3
|
+
import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createEffect as $TZSbU$createEffect, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, getOwner as $TZSbU$getOwner, runWithOwner as $TZSbU$runWithOwner, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed, createMemo as $TZSbU$createMemo} from "solid-js";
|
|
4
4
|
import {createElement as $TZSbU$createElement, Fragment as $TZSbU$Fragment, useState as $TZSbU$useState, useRef as $TZSbU$useRef, useEffect as $TZSbU$useEffect, Component as $TZSbU$Component, forwardRef as $TZSbU$forwardRef} from "react";
|
|
5
5
|
import {defaultLocale as $TZSbU$defaultLocale} from "@depict-ai/ui/locales";
|
|
6
|
-
import {render as $TZSbU$render
|
|
6
|
+
import {render as $TZSbU$render} from "solid-js/web";
|
|
7
7
|
import {jsx as $TZSbU$jsx} from "react/jsx-runtime";
|
|
8
8
|
import {createPortal as $TZSbU$createPortal} from "react-dom";
|
|
9
9
|
import {createStore as $TZSbU$createStore, reconcile as $TZSbU$reconcile} from "solid-js/store";
|
|
10
10
|
import {DPC as $TZSbU$DPC} from "@depict-ai/dpc";
|
|
11
|
-
import {ImagePlaceholder as $TZSbU$ImagePlaceholder, TextPlaceholder as $TZSbU$TextPlaceholder} from "@depict-ai/ui/ssr";
|
|
12
11
|
|
|
13
12
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
14
13
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
15
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.
|
|
14
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.12";
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
|
|
@@ -87,7 +86,7 @@ function $c83ba9ab79386687$export$74f3924c5027fe1d(cb) {
|
|
|
87
86
|
}));
|
|
88
87
|
const $c83ba9ab79386687$export$775e6b3892b5ad52 = (url = location)=>url.pathname == (0, $TZSbU$untrack)((0, $42858f023ef23dab$export$8e769ad4338a911e).search_page_path_[0]); // might have changed therefore get it from globalState
|
|
89
88
|
const $c83ba9ab79386687$export$30c8a12df09be0e4 = (url = location)=>(0, $42858f023ef23dab$export$8e769ad4338a911e).known_category_paths.has(url.pathname);
|
|
90
|
-
function $c83ba9ab79386687$export$f6e64e17bd69eeef(
|
|
89
|
+
function $c83ba9ab79386687$export$f6e64e17bd69eeef(solid_component, props, wrapper_type = "div", wrapper_style = {}) {
|
|
91
90
|
const [portals, set_portals] = (0, $TZSbU$useState)([]);
|
|
92
91
|
const wrapper_element_ref = (0, $TZSbU$useRef)();
|
|
93
92
|
const [[store, write_store]] = (0, $TZSbU$useState)(()=>(0, $TZSbU$createStore)(props));
|
|
@@ -95,23 +94,13 @@ function $c83ba9ab79386687$export$f6e64e17bd69eeef({ solid_component: solid_comp
|
|
|
95
94
|
write_store((0, $TZSbU$reconcile)(props));
|
|
96
95
|
(0, $TZSbU$useEffect)(()=>{
|
|
97
96
|
const wrapper_element = wrapper_element_ref.current;
|
|
98
|
-
|
|
99
|
-
// This can happen for HMR or when SSR capable components are only rendered on the client
|
|
100
|
-
const render_function = hydrate_function_when_ssr && wrapper_element.childNodes.length ? hydrate_function_when_ssr : (0, $TZSbU$render);
|
|
101
|
-
const dispose = render_function(()=>solid_component(store, set_portals), wrapper_element);
|
|
97
|
+
const dispose = (0, $TZSbU$render)(()=>solid_component(store, set_portals), wrapper_element);
|
|
102
98
|
return dispose;
|
|
103
99
|
}, []);
|
|
104
|
-
return (0, $TZSbU$createElement)(
|
|
100
|
+
return (0, $TZSbU$createElement)(wrapper_type, {
|
|
105
101
|
ref: wrapper_element_ref,
|
|
106
|
-
style: wrapper_style
|
|
107
|
-
|
|
108
|
-
// We need this because on the server we put the solid SSR rendered string into html but it won't match on the client, luckily we can just suppress it
|
|
109
|
-
suppressHydrationWarning: true,
|
|
110
|
-
dangerouslySetInnerHTML: {
|
|
111
|
-
__html: ""
|
|
112
|
-
}
|
|
113
|
-
} : {}
|
|
114
|
-
}), ...portals);
|
|
102
|
+
style: wrapper_style
|
|
103
|
+
}, portals);
|
|
115
104
|
}
|
|
116
105
|
function $c83ba9ab79386687$export$e5139bbbb9a05035(component, is_set = (0, $42858f023ef23dab$export$8e769ad4338a911e).required_state_set_[0]) {
|
|
117
106
|
return (...args)=>{
|
|
@@ -226,9 +215,9 @@ function $8071251ee4e9ffa1$export$6453cbc34515a94d() {
|
|
|
226
215
|
});
|
|
227
216
|
}));
|
|
228
217
|
}
|
|
229
|
-
/*
|
|
230
|
-
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
231
|
-
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
218
|
+
/*
|
|
219
|
+
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
220
|
+
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
232
221
|
*/ function $8071251ee4e9ffa1$var$addLotsOfPadding() {
|
|
233
222
|
if ($8071251ee4e9ffa1$var$padding_animation) return; // We're already showing a bunch of padding
|
|
234
223
|
$8071251ee4e9ffa1$var$padding_animation = document.body.animate({
|
|
@@ -393,10 +382,7 @@ const $421f32789b6f111f$export$80e99ee6b29cadd2 = /*#__PURE__*/ (0, $TZSbU$forwa
|
|
|
393
382
|
|
|
394
383
|
|
|
395
384
|
function $4a678f0c87b12e78$export$a54ec244c8863715(props) {
|
|
396
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
397
|
-
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($4a678f0c87b12e78$var$SolidSearchPage),
|
|
398
|
-
props: props
|
|
399
|
-
});
|
|
385
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((0, $c83ba9ab79386687$export$e5139bbbb9a05035)($4a678f0c87b12e78$var$SolidSearchPage), props);
|
|
400
386
|
}
|
|
401
387
|
function $4a678f0c87b12e78$var$SolidSearchPage(props, set_portals) {
|
|
402
388
|
const depict_search = (0, $42858f023ef23dab$export$8e769ad4338a911e).search;
|
|
@@ -439,13 +425,8 @@ function $4a678f0c87b12e78$var$SolidSearchPage(props, set_portals) {
|
|
|
439
425
|
|
|
440
426
|
|
|
441
427
|
function $48d7f568740a317d$export$f7d2f673fc2f091d(props) {
|
|
442
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
443
|
-
|
|
444
|
-
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($48d7f568740a317d$var$SolidCategoryPage),
|
|
445
|
-
props: props,
|
|
446
|
-
wrapper_type: "div",
|
|
447
|
-
wrapper_style: {}
|
|
448
|
-
});
|
|
428
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(// @ts-ignore
|
|
429
|
+
(0, $c83ba9ab79386687$export$e5139bbbb9a05035)($48d7f568740a317d$var$SolidCategoryPage), props, "div", {});
|
|
449
430
|
}
|
|
450
431
|
function $48d7f568740a317d$var$SolidCategoryPage(props, set_portals) {
|
|
451
432
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -486,10 +467,7 @@ function $48d7f568740a317d$var$SolidCategoryPage(props, set_portals) {
|
|
|
486
467
|
|
|
487
468
|
|
|
488
469
|
function $f866f7ed9f751af4$export$5646050d516e06bc() {
|
|
489
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
490
|
-
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($f866f7ed9f751af4$var$vanilla_breadcrumbs),
|
|
491
|
-
props: undefined
|
|
492
|
-
});
|
|
470
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((0, $c83ba9ab79386687$export$e5139bbbb9a05035)($f866f7ed9f751af4$var$vanilla_breadcrumbs), undefined);
|
|
493
471
|
}
|
|
494
472
|
function $f866f7ed9f751af4$var$vanilla_breadcrumbs() {
|
|
495
473
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -504,10 +482,7 @@ function $f866f7ed9f751af4$var$vanilla_breadcrumbs() {
|
|
|
504
482
|
|
|
505
483
|
|
|
506
484
|
function $b68a14248b7ef667$export$466cdc317043f6cb() {
|
|
507
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
508
|
-
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($b68a14248b7ef667$var$vanilla_quick_links),
|
|
509
|
-
props: {}
|
|
510
|
-
});
|
|
485
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((0, $c83ba9ab79386687$export$e5139bbbb9a05035)($b68a14248b7ef667$var$vanilla_quick_links), {});
|
|
511
486
|
}
|
|
512
487
|
function $b68a14248b7ef667$var$vanilla_quick_links() {
|
|
513
488
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -521,36 +496,23 @@ function $b68a14248b7ef667$var$vanilla_quick_links() {
|
|
|
521
496
|
|
|
522
497
|
|
|
523
498
|
|
|
524
|
-
const $f446a84f85ba06f6$export$3f37af283f8fb843 = (
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
530
|
-
solid_component: (props_store)=>(0, $TZSbU$ImagePlaceholder)(props_store),
|
|
531
|
-
props: react_props,
|
|
532
|
-
wrapper_type: "span",
|
|
533
|
-
hydrate_function_when_ssr: (0, $TZSbU$hydrate)
|
|
499
|
+
const $f446a84f85ba06f6$export$3f37af283f8fb843 = (props)=>{
|
|
500
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((solid_props_store)=>(0, $TZSbU$createMemo)(()=>(0, $TZSbU$ContainedPlaceholderImage)({
|
|
501
|
+
aspect_ratio: solid_props_store.aspectRatio
|
|
502
|
+
})), props, "div", {
|
|
503
|
+
"height": "100%"
|
|
534
504
|
});
|
|
535
505
|
};
|
|
536
506
|
|
|
537
507
|
|
|
538
508
|
|
|
539
509
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
547
|
-
solid_component: (props_store)=>(0, $TZSbU$TextPlaceholder)(props_store),
|
|
548
|
-
props: react_props,
|
|
549
|
-
wrapper_type: "span",
|
|
550
|
-
hydrate_function_when_ssr: (0, $TZSbU$hydrate),
|
|
551
|
-
wrapper_style: {
|
|
552
|
-
"height": "100%"
|
|
553
|
-
}
|
|
510
|
+
const $cbd250061abf11cb$export$89c6019e4baa40b1 = ({ width: width , height: height })=>{
|
|
511
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(()=>(0, $TZSbU$Placeholder)({
|
|
512
|
+
width: width,
|
|
513
|
+
height: height
|
|
514
|
+
}), {}, "div", {
|
|
515
|
+
"height": "100%"
|
|
554
516
|
});
|
|
555
517
|
};
|
|
556
518
|
|
|
@@ -594,13 +556,10 @@ function $70344e5e0d0fea06$export$912994940e660d32(params = {}) {
|
|
|
594
556
|
|
|
595
557
|
const $cdd7408b22d1586a$export$bde46b5bb6287cea = (props)=>{
|
|
596
558
|
const ReactSearchField = ()=>{
|
|
597
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
})),
|
|
602
|
-
props: {}
|
|
603
|
-
});
|
|
559
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((0, $c83ba9ab79386687$export$e5139bbbb9a05035)(()=>(0, $TZSbU$SearchField)({
|
|
560
|
+
depict_search: (0, $42858f023ef23dab$export$8e769ad4338a911e).search,
|
|
561
|
+
aligner_ref: props?.alignerRef?.current
|
|
562
|
+
})), {});
|
|
604
563
|
};
|
|
605
564
|
return ReactSearchField;
|
|
606
565
|
};
|