@searchcraft/javascript-sdk 0.6.0 → 0.7.0
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 +53 -55
- package/dist/cjs/{index-b3b77ea2.js → index-d4b4a45e.js} +233 -130
- package/dist/cjs/index-d4b4a45e.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/searchcraft-base-search-result.cjs.entry.js +14 -18
- package/dist/cjs/searchcraft-base-search-result.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-base-search-results.cjs.entry.js +20 -7
- package/dist/cjs/searchcraft-base-search-results.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-button_3.cjs.entry.js +16 -7
- package/dist/cjs/searchcraft-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-facet-list_3.cjs.entry.js +26 -24
- package/dist/cjs/searchcraft-facet-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-filter-panel.cjs.entry.js +6 -5
- package/dist/cjs/searchcraft-filter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-input-form_2.cjs.entry.js +28 -17
- package/dist/cjs/searchcraft-input-form_2.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-javascript-sdk.cjs.js +2 -2
- package/dist/cjs/searchcraft-javascript-sdk.cjs.js.map +1 -1
- package/dist/cjs/searchcraft-popover-button.cjs.entry.js +2 -2
- package/dist/cjs/searchcraft-popover-form.cjs.entry.js +23 -16
- package/dist/cjs/searchcraft-popover-form.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-popover-list-item.cjs.entry.js +1 -7
- package/dist/cjs/searchcraft-popover-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/searchcraft-results-info.cjs.entry.js +2 -2
- package/dist/cjs/searchcraft-results-info.cjs.entry.js.map +1 -1
- package/dist/cjs/{store-d7ebcf7a.js → store-abe47006.js} +608 -98
- package/dist/cjs/store-abe47006.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/searchcraft-base-search-result/searchcraft-base-search-result.js +44 -16
- package/dist/collection/components/searchcraft-base-search-result/searchcraft-base-search-result.js.map +1 -1
- package/dist/collection/components/searchcraft-base-search-results/searchcraft-base-search-results.js +41 -6
- package/dist/collection/components/searchcraft-base-search-results/searchcraft-base-search-results.js.map +1 -1
- package/dist/collection/components/searchcraft-button/searchcraft-button.js +21 -5
- package/dist/collection/components/searchcraft-button/searchcraft-button.js.map +1 -1
- package/dist/collection/components/searchcraft-error-message/searchcraft-error-message.js +2 -3
- package/dist/collection/components/searchcraft-error-message/searchcraft-error-message.js.map +1 -1
- package/dist/collection/components/searchcraft-facet-list/searchcraft-facet-list.js +4 -10
- package/dist/collection/components/searchcraft-facet-list/searchcraft-facet-list.js.map +1 -1
- package/dist/collection/components/searchcraft-filter-panel/searchcraft-filter-panel.js +6 -3
- package/dist/collection/components/searchcraft-filter-panel/searchcraft-filter-panel.js.map +1 -1
- package/dist/collection/components/searchcraft-input-form/searchcraft-input-form.js +40 -12
- package/dist/collection/components/searchcraft-input-form/searchcraft-input-form.js.map +1 -1
- package/dist/collection/components/searchcraft-input-label/searchcraft-input-label.js +7 -1
- package/dist/collection/components/searchcraft-input-label/searchcraft-input-label.js.map +1 -1
- package/dist/collection/components/searchcraft-popover-form/searchcraft-popover-form.js +33 -16
- package/dist/collection/components/searchcraft-popover-form/searchcraft-popover-form.js.map +1 -1
- package/dist/collection/components/searchcraft-popover-list-item/searchcraft-popover-list-item.js +12 -8
- package/dist/collection/components/searchcraft-popover-list-item/searchcraft-popover-list-item.js.map +1 -1
- package/dist/collection/components/searchcraft-popover-list-view/searchcraft-popover-list-view.js +6 -6
- package/dist/collection/components/searchcraft-popover-list-view/searchcraft-popover-list-view.js.map +1 -1
- package/dist/collection/components/searchcraft-results-info/searchcraft-results-info.js.map +1 -1
- package/dist/collection/components/searchcraft-slider/searchcraft-slider.js +25 -7
- package/dist/collection/components/searchcraft-slider/searchcraft-slider.js.map +1 -1
- package/dist/collection/components/searchcraft-toggle-button/searchcraft-toggle-button.js +9 -5
- package/dist/collection/components/searchcraft-toggle-button/searchcraft-toggle-button.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-d6a88eed.js → p-01dc5b3b.js} +608 -98
- package/dist/components/p-01dc5b3b.js.map +1 -0
- package/dist/components/{p-cf4ced92.js → p-1ae87308.js} +2 -8
- package/dist/components/p-1ae87308.js.map +1 -0
- package/dist/components/{p-a248ad69.js → p-649654b5.js} +5 -13
- package/dist/components/p-649654b5.js.map +1 -0
- package/dist/components/{p-4c45ef80.js → p-662cb490.js} +8 -8
- package/dist/components/p-662cb490.js.map +1 -0
- package/dist/components/{p-e4846fa2.js → p-6cafd48d.js} +189 -112
- package/dist/components/p-6cafd48d.js.map +1 -0
- package/dist/components/{p-04c46179.js → p-87d1611b.js} +15 -19
- package/dist/components/p-87d1611b.js.map +1 -0
- package/dist/components/{p-a9bd1872.js → p-c273e43d.js} +5 -3
- package/dist/components/p-c273e43d.js.map +1 -0
- package/dist/components/{p-0e38a723.js → p-cc9f8c61.js} +19 -9
- package/dist/components/p-cc9f8c61.js.map +1 -0
- package/dist/components/{p-f9d778b3.js → p-cf096782.js} +14 -6
- package/dist/components/p-cf096782.js.map +1 -0
- package/dist/components/{p-02a16e53.js → p-da5b92ef.js} +32 -19
- package/dist/components/p-da5b92ef.js.map +1 -0
- package/dist/components/{p-85765b81.js → p-e1cf5f9d.js} +3 -5
- package/dist/components/p-e1cf5f9d.js.map +1 -0
- package/dist/components/{p-953f4238.js → p-f5a06210.js} +2 -3
- package/dist/components/p-f5a06210.js.map +1 -0
- package/dist/components/searchcraft-base-search-result.js +1 -1
- package/dist/components/searchcraft-base-search-results.js +22 -9
- package/dist/components/searchcraft-base-search-results.js.map +1 -1
- package/dist/components/searchcraft-button.js +1 -1
- package/dist/components/searchcraft-error-message.js +1 -1
- package/dist/components/searchcraft-facet-list.js +1 -1
- package/dist/components/searchcraft-filter-panel.js +9 -8
- package/dist/components/searchcraft-filter-panel.js.map +1 -1
- package/dist/components/searchcraft-input-form.js +1 -1
- package/dist/components/searchcraft-input-label.js +1 -1
- package/dist/components/searchcraft-popover-button.js +2 -2
- package/dist/components/searchcraft-popover-form.js +29 -22
- package/dist/components/searchcraft-popover-form.js.map +1 -1
- package/dist/components/searchcraft-popover-list-item.js +1 -1
- package/dist/components/searchcraft-popover-list-view.js +1 -1
- package/dist/components/searchcraft-results-info.js +2 -2
- package/dist/components/searchcraft-results-info.js.map +1 -1
- package/dist/components/searchcraft-slider.js +1 -1
- package/dist/components/searchcraft-toggle-button.js +1 -1
- package/dist/esm/{index-11551663.js → index-56b713de.js} +233 -130
- package/dist/esm/index-56b713de.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/searchcraft-base-search-result.entry.js +14 -18
- package/dist/esm/searchcraft-base-search-result.entry.js.map +1 -1
- package/dist/esm/searchcraft-base-search-results.entry.js +20 -7
- package/dist/esm/searchcraft-base-search-results.entry.js.map +1 -1
- package/dist/esm/searchcraft-button_3.entry.js +16 -7
- package/dist/esm/searchcraft-button_3.entry.js.map +1 -1
- package/dist/esm/searchcraft-facet-list_3.entry.js +26 -24
- package/dist/esm/searchcraft-facet-list_3.entry.js.map +1 -1
- package/dist/esm/searchcraft-filter-panel.entry.js +6 -5
- package/dist/esm/searchcraft-filter-panel.entry.js.map +1 -1
- package/dist/esm/searchcraft-input-form_2.entry.js +28 -17
- package/dist/esm/searchcraft-input-form_2.entry.js.map +1 -1
- package/dist/esm/searchcraft-javascript-sdk.js +3 -3
- package/dist/esm/searchcraft-javascript-sdk.js.map +1 -1
- package/dist/esm/searchcraft-popover-button.entry.js +2 -2
- package/dist/esm/searchcraft-popover-form.entry.js +23 -16
- package/dist/esm/searchcraft-popover-form.entry.js.map +1 -1
- package/dist/esm/searchcraft-popover-list-item.entry.js +1 -7
- package/dist/esm/searchcraft-popover-list-item.entry.js.map +1 -1
- package/dist/esm/searchcraft-results-info.entry.js +2 -2
- package/dist/esm/searchcraft-results-info.entry.js.map +1 -1
- package/dist/esm/{store-1058f7b0.js → store-712f0586.js} +608 -98
- package/dist/esm/store-712f0586.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/index.esm.js +1 -1
- package/dist/searchcraft-javascript-sdk/p-01dc5b3b.js +11 -0
- package/dist/searchcraft-javascript-sdk/p-01dc5b3b.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/p-117fcdd3.entry.js +2 -0
- package/dist/searchcraft-javascript-sdk/p-117fcdd3.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/p-129e6f2c.js +3 -0
- package/dist/searchcraft-javascript-sdk/p-129e6f2c.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-8e539d62.entry.js → p-27cb401c.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/p-27cb401c.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/p-4df4a29e.entry.js +2 -0
- package/dist/searchcraft-javascript-sdk/p-4df4a29e.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-98640a6a.entry.js → p-54248dd8.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/{p-98640a6a.entry.js.map → p-54248dd8.entry.js.map} +1 -1
- package/dist/searchcraft-javascript-sdk/{p-cd852b84.entry.js → p-69430dbf.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/p-69430dbf.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-e042deb9.entry.js → p-a460755d.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/p-a460755d.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-7049b93d.entry.js → p-bc2c4259.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/p-bc2c4259.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/p-caecdcda.entry.js +2 -0
- package/dist/searchcraft-javascript-sdk/p-caecdcda.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-c27a3673.entry.js → p-f8129731.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/p-f8129731.entry.js.map +1 -0
- package/dist/searchcraft-javascript-sdk/{p-b8bd53ce.entry.js → p-f839b682.entry.js} +2 -2
- package/dist/searchcraft-javascript-sdk/searchcraft-javascript-sdk.esm.js +1 -1
- package/dist/searchcraft-javascript-sdk/searchcraft-javascript-sdk.esm.js.map +1 -1
- package/package.json +4 -3
- package/dist/cjs/index-b3b77ea2.js.map +0 -1
- package/dist/cjs/store-d7ebcf7a.js.map +0 -1
- package/dist/components/p-02a16e53.js.map +0 -1
- package/dist/components/p-04c46179.js.map +0 -1
- package/dist/components/p-0e38a723.js.map +0 -1
- package/dist/components/p-4c45ef80.js.map +0 -1
- package/dist/components/p-85765b81.js.map +0 -1
- package/dist/components/p-953f4238.js.map +0 -1
- package/dist/components/p-a248ad69.js.map +0 -1
- package/dist/components/p-a9bd1872.js.map +0 -1
- package/dist/components/p-cf4ced92.js.map +0 -1
- package/dist/components/p-d6a88eed.js.map +0 -1
- package/dist/components/p-e4846fa2.js.map +0 -1
- package/dist/components/p-f9d778b3.js.map +0 -1
- package/dist/esm/index-11551663.js.map +0 -1
- package/dist/esm/store-1058f7b0.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-4580e8a4.entry.js +0 -2
- package/dist/searchcraft-javascript-sdk/p-4580e8a4.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-7049b93d.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-8e539d62.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-9d0f5c89.entry.js +0 -2
- package/dist/searchcraft-javascript-sdk/p-9d0f5c89.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-c27a3673.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-cd852b84.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-d6a88eed.js +0 -11
- package/dist/searchcraft-javascript-sdk/p-d6a88eed.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-e042deb9.entry.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-e0be53df.js +0 -3
- package/dist/searchcraft-javascript-sdk/p-e0be53df.js.map +0 -1
- package/dist/searchcraft-javascript-sdk/p-efab9f3c.entry.js +0 -2
- package/dist/searchcraft-javascript-sdk/p-efab9f3c.entry.js.map +0 -1
- /package/dist/searchcraft-javascript-sdk/{p-b8bd53ce.entry.js.map → p-f839b682.entry.js.map} +0 -0
|
@@ -31,37 +31,547 @@ var react$1 = {};
|
|
|
31
31
|
|
|
32
32
|
var react = {exports: {}};
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var react_production = {};
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
|
-
* react.production.
|
|
38
|
+
* react.production.js
|
|
39
39
|
*
|
|
40
|
-
* Copyright (c)
|
|
40
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
41
41
|
*
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
45
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
46
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
47
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
48
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
49
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
50
|
+
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
51
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
52
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
53
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
54
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
55
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
56
|
+
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
57
|
+
function getIteratorFn(maybeIterable) {
|
|
58
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
59
|
+
maybeIterable =
|
|
60
|
+
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
|
61
|
+
maybeIterable["@@iterator"];
|
|
62
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
63
|
+
}
|
|
64
|
+
var ReactNoopUpdateQueue = {
|
|
65
|
+
isMounted: function () {
|
|
66
|
+
return !1;
|
|
67
|
+
},
|
|
68
|
+
enqueueForceUpdate: function () {},
|
|
69
|
+
enqueueReplaceState: function () {},
|
|
70
|
+
enqueueSetState: function () {}
|
|
71
|
+
},
|
|
72
|
+
assign = Object.assign,
|
|
73
|
+
emptyObject = {};
|
|
74
|
+
function Component(props, context, updater) {
|
|
75
|
+
this.props = props;
|
|
76
|
+
this.context = context;
|
|
77
|
+
this.refs = emptyObject;
|
|
78
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
79
|
+
}
|
|
80
|
+
Component.prototype.isReactComponent = {};
|
|
81
|
+
Component.prototype.setState = function (partialState, callback) {
|
|
82
|
+
if (
|
|
83
|
+
"object" !== typeof partialState &&
|
|
84
|
+
"function" !== typeof partialState &&
|
|
85
|
+
null != partialState
|
|
86
|
+
)
|
|
87
|
+
throw Error(
|
|
88
|
+
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
89
|
+
);
|
|
90
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
91
|
+
};
|
|
92
|
+
Component.prototype.forceUpdate = function (callback) {
|
|
93
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
94
|
+
};
|
|
95
|
+
function ComponentDummy() {}
|
|
96
|
+
ComponentDummy.prototype = Component.prototype;
|
|
97
|
+
function PureComponent(props, context, updater) {
|
|
98
|
+
this.props = props;
|
|
99
|
+
this.context = context;
|
|
100
|
+
this.refs = emptyObject;
|
|
101
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
102
|
+
}
|
|
103
|
+
var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
|
|
104
|
+
pureComponentPrototype.constructor = PureComponent;
|
|
105
|
+
assign(pureComponentPrototype, Component.prototype);
|
|
106
|
+
pureComponentPrototype.isPureReactComponent = !0;
|
|
107
|
+
var isArrayImpl = Array.isArray,
|
|
108
|
+
ReactSharedInternals = { H: null, A: null, T: null, S: null },
|
|
109
|
+
hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
110
|
+
function ReactElement(type, key, self, source, owner, props) {
|
|
111
|
+
self = props.ref;
|
|
112
|
+
return {
|
|
113
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
114
|
+
type: type,
|
|
115
|
+
key: key,
|
|
116
|
+
ref: void 0 !== self ? self : null,
|
|
117
|
+
props: props
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
121
|
+
return ReactElement(
|
|
122
|
+
oldElement.type,
|
|
123
|
+
newKey,
|
|
124
|
+
void 0,
|
|
125
|
+
void 0,
|
|
126
|
+
void 0,
|
|
127
|
+
oldElement.props
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
function isValidElement(object) {
|
|
131
|
+
return (
|
|
132
|
+
"object" === typeof object &&
|
|
133
|
+
null !== object &&
|
|
134
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
function escape(key) {
|
|
138
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
139
|
+
return (
|
|
140
|
+
"$" +
|
|
141
|
+
key.replace(/[=:]/g, function (match) {
|
|
142
|
+
return escaperLookup[match];
|
|
143
|
+
})
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
147
|
+
function getElementKey(element, index) {
|
|
148
|
+
return "object" === typeof element && null !== element && null != element.key
|
|
149
|
+
? escape("" + element.key)
|
|
150
|
+
: index.toString(36);
|
|
151
|
+
}
|
|
152
|
+
function noop$1() {}
|
|
153
|
+
function resolveThenable(thenable) {
|
|
154
|
+
switch (thenable.status) {
|
|
155
|
+
case "fulfilled":
|
|
156
|
+
return thenable.value;
|
|
157
|
+
case "rejected":
|
|
158
|
+
throw thenable.reason;
|
|
159
|
+
default:
|
|
160
|
+
switch (
|
|
161
|
+
("string" === typeof thenable.status
|
|
162
|
+
? thenable.then(noop$1, noop$1)
|
|
163
|
+
: ((thenable.status = "pending"),
|
|
164
|
+
thenable.then(
|
|
165
|
+
function (fulfilledValue) {
|
|
166
|
+
"pending" === thenable.status &&
|
|
167
|
+
((thenable.status = "fulfilled"),
|
|
168
|
+
(thenable.value = fulfilledValue));
|
|
169
|
+
},
|
|
170
|
+
function (error) {
|
|
171
|
+
"pending" === thenable.status &&
|
|
172
|
+
((thenable.status = "rejected"), (thenable.reason = error));
|
|
173
|
+
}
|
|
174
|
+
)),
|
|
175
|
+
thenable.status)
|
|
176
|
+
) {
|
|
177
|
+
case "fulfilled":
|
|
178
|
+
return thenable.value;
|
|
179
|
+
case "rejected":
|
|
180
|
+
throw thenable.reason;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
throw thenable;
|
|
184
|
+
}
|
|
185
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
186
|
+
var type = typeof children;
|
|
187
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
188
|
+
var invokeCallback = !1;
|
|
189
|
+
if (null === children) invokeCallback = !0;
|
|
190
|
+
else
|
|
191
|
+
switch (type) {
|
|
192
|
+
case "bigint":
|
|
193
|
+
case "string":
|
|
194
|
+
case "number":
|
|
195
|
+
invokeCallback = !0;
|
|
196
|
+
break;
|
|
197
|
+
case "object":
|
|
198
|
+
switch (children.$$typeof) {
|
|
199
|
+
case REACT_ELEMENT_TYPE:
|
|
200
|
+
case REACT_PORTAL_TYPE:
|
|
201
|
+
invokeCallback = !0;
|
|
202
|
+
break;
|
|
203
|
+
case REACT_LAZY_TYPE:
|
|
204
|
+
return (
|
|
205
|
+
(invokeCallback = children._init),
|
|
206
|
+
mapIntoArray(
|
|
207
|
+
invokeCallback(children._payload),
|
|
208
|
+
array,
|
|
209
|
+
escapedPrefix,
|
|
210
|
+
nameSoFar,
|
|
211
|
+
callback
|
|
212
|
+
)
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
if (invokeCallback)
|
|
217
|
+
return (
|
|
218
|
+
(callback = callback(children)),
|
|
219
|
+
(invokeCallback =
|
|
220
|
+
"" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
|
|
221
|
+
isArrayImpl(callback)
|
|
222
|
+
? ((escapedPrefix = ""),
|
|
223
|
+
null != invokeCallback &&
|
|
224
|
+
(escapedPrefix =
|
|
225
|
+
invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
|
|
226
|
+
mapIntoArray(callback, array, escapedPrefix, "", function (c) {
|
|
227
|
+
return c;
|
|
228
|
+
}))
|
|
229
|
+
: null != callback &&
|
|
230
|
+
(isValidElement(callback) &&
|
|
231
|
+
(callback = cloneAndReplaceKey(
|
|
232
|
+
callback,
|
|
233
|
+
escapedPrefix +
|
|
234
|
+
(null == callback.key ||
|
|
235
|
+
(children && children.key === callback.key)
|
|
236
|
+
? ""
|
|
237
|
+
: ("" + callback.key).replace(
|
|
238
|
+
userProvidedKeyEscapeRegex,
|
|
239
|
+
"$&/"
|
|
240
|
+
) + "/") +
|
|
241
|
+
invokeCallback
|
|
242
|
+
)),
|
|
243
|
+
array.push(callback)),
|
|
244
|
+
1
|
|
245
|
+
);
|
|
246
|
+
invokeCallback = 0;
|
|
247
|
+
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
248
|
+
if (isArrayImpl(children))
|
|
249
|
+
for (var i = 0; i < children.length; i++)
|
|
250
|
+
(nameSoFar = children[i]),
|
|
251
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i)),
|
|
252
|
+
(invokeCallback += mapIntoArray(
|
|
253
|
+
nameSoFar,
|
|
254
|
+
array,
|
|
255
|
+
escapedPrefix,
|
|
256
|
+
type,
|
|
257
|
+
callback
|
|
258
|
+
));
|
|
259
|
+
else if (((i = getIteratorFn(children)), "function" === typeof i))
|
|
260
|
+
for (
|
|
261
|
+
children = i.call(children), i = 0;
|
|
262
|
+
!(nameSoFar = children.next()).done;
|
|
263
|
+
|
|
264
|
+
)
|
|
265
|
+
(nameSoFar = nameSoFar.value),
|
|
266
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i++)),
|
|
267
|
+
(invokeCallback += mapIntoArray(
|
|
268
|
+
nameSoFar,
|
|
269
|
+
array,
|
|
270
|
+
escapedPrefix,
|
|
271
|
+
type,
|
|
272
|
+
callback
|
|
273
|
+
));
|
|
274
|
+
else if ("object" === type) {
|
|
275
|
+
if ("function" === typeof children.then)
|
|
276
|
+
return mapIntoArray(
|
|
277
|
+
resolveThenable(children),
|
|
278
|
+
array,
|
|
279
|
+
escapedPrefix,
|
|
280
|
+
nameSoFar,
|
|
281
|
+
callback
|
|
282
|
+
);
|
|
283
|
+
array = String(children);
|
|
284
|
+
throw Error(
|
|
285
|
+
"Objects are not valid as a React child (found: " +
|
|
286
|
+
("[object Object]" === array
|
|
287
|
+
? "object with keys {" + Object.keys(children).join(", ") + "}"
|
|
288
|
+
: array) +
|
|
289
|
+
"). If you meant to render a collection of children, use an array instead."
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
return invokeCallback;
|
|
293
|
+
}
|
|
294
|
+
function mapChildren(children, func, context) {
|
|
295
|
+
if (null == children) return children;
|
|
296
|
+
var result = [],
|
|
297
|
+
count = 0;
|
|
298
|
+
mapIntoArray(children, result, "", "", function (child) {
|
|
299
|
+
return func.call(context, child, count++);
|
|
300
|
+
});
|
|
301
|
+
return result;
|
|
302
|
+
}
|
|
303
|
+
function lazyInitializer(payload) {
|
|
304
|
+
if (-1 === payload._status) {
|
|
305
|
+
var ctor = payload._result;
|
|
306
|
+
ctor = ctor();
|
|
307
|
+
ctor.then(
|
|
308
|
+
function (moduleObject) {
|
|
309
|
+
if (0 === payload._status || -1 === payload._status)
|
|
310
|
+
(payload._status = 1), (payload._result = moduleObject);
|
|
311
|
+
},
|
|
312
|
+
function (error) {
|
|
313
|
+
if (0 === payload._status || -1 === payload._status)
|
|
314
|
+
(payload._status = 2), (payload._result = error);
|
|
315
|
+
}
|
|
316
|
+
);
|
|
317
|
+
-1 === payload._status && ((payload._status = 0), (payload._result = ctor));
|
|
318
|
+
}
|
|
319
|
+
if (1 === payload._status) return payload._result.default;
|
|
320
|
+
throw payload._result;
|
|
321
|
+
}
|
|
322
|
+
var reportGlobalError =
|
|
323
|
+
"function" === typeof reportError
|
|
324
|
+
? reportError
|
|
325
|
+
: function (error) {
|
|
326
|
+
if (
|
|
327
|
+
"object" === typeof window &&
|
|
328
|
+
"function" === typeof window.ErrorEvent
|
|
329
|
+
) {
|
|
330
|
+
var event = new window.ErrorEvent("error", {
|
|
331
|
+
bubbles: !0,
|
|
332
|
+
cancelable: !0,
|
|
333
|
+
message:
|
|
334
|
+
"object" === typeof error &&
|
|
335
|
+
null !== error &&
|
|
336
|
+
"string" === typeof error.message
|
|
337
|
+
? String(error.message)
|
|
338
|
+
: String(error),
|
|
339
|
+
error: error
|
|
340
|
+
});
|
|
341
|
+
if (!window.dispatchEvent(event)) return;
|
|
342
|
+
} else if (
|
|
343
|
+
"object" === typeof process &&
|
|
344
|
+
"function" === typeof process.emit
|
|
345
|
+
) {
|
|
346
|
+
process.emit("uncaughtException", error);
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
console.error(error);
|
|
350
|
+
};
|
|
351
|
+
function noop() {}
|
|
352
|
+
react_production.Children = {
|
|
353
|
+
map: mapChildren,
|
|
354
|
+
forEach: function (children, forEachFunc, forEachContext) {
|
|
355
|
+
mapChildren(
|
|
356
|
+
children,
|
|
357
|
+
function () {
|
|
358
|
+
forEachFunc.apply(this, arguments);
|
|
359
|
+
},
|
|
360
|
+
forEachContext
|
|
361
|
+
);
|
|
362
|
+
},
|
|
363
|
+
count: function (children) {
|
|
364
|
+
var n = 0;
|
|
365
|
+
mapChildren(children, function () {
|
|
366
|
+
n++;
|
|
367
|
+
});
|
|
368
|
+
return n;
|
|
369
|
+
},
|
|
370
|
+
toArray: function (children) {
|
|
371
|
+
return (
|
|
372
|
+
mapChildren(children, function (child) {
|
|
373
|
+
return child;
|
|
374
|
+
}) || []
|
|
375
|
+
);
|
|
376
|
+
},
|
|
377
|
+
only: function (children) {
|
|
378
|
+
if (!isValidElement(children))
|
|
379
|
+
throw Error(
|
|
380
|
+
"React.Children.only expected to receive a single React element child."
|
|
381
|
+
);
|
|
382
|
+
return children;
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
react_production.Component = Component;
|
|
386
|
+
react_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
387
|
+
react_production.Profiler = REACT_PROFILER_TYPE;
|
|
388
|
+
react_production.PureComponent = PureComponent;
|
|
389
|
+
react_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
390
|
+
react_production.Suspense = REACT_SUSPENSE_TYPE;
|
|
391
|
+
react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
392
|
+
ReactSharedInternals;
|
|
393
|
+
react_production.act = function () {
|
|
394
|
+
throw Error("act(...) is not supported in production builds of React.");
|
|
395
|
+
};
|
|
396
|
+
react_production.cache = function (fn) {
|
|
397
|
+
return function () {
|
|
398
|
+
return fn.apply(null, arguments);
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
react_production.cloneElement = function (element, config, children) {
|
|
402
|
+
if (null === element || void 0 === element)
|
|
403
|
+
throw Error(
|
|
404
|
+
"The argument must be a React element, but you passed " + element + "."
|
|
405
|
+
);
|
|
406
|
+
var props = assign({}, element.props),
|
|
407
|
+
key = element.key,
|
|
408
|
+
owner = void 0;
|
|
409
|
+
if (null != config)
|
|
410
|
+
for (propName in (void 0 !== config.ref && (owner = void 0),
|
|
411
|
+
void 0 !== config.key && (key = "" + config.key),
|
|
412
|
+
config))
|
|
413
|
+
!hasOwnProperty.call(config, propName) ||
|
|
414
|
+
"key" === propName ||
|
|
415
|
+
"__self" === propName ||
|
|
416
|
+
"__source" === propName ||
|
|
417
|
+
("ref" === propName && void 0 === config.ref) ||
|
|
418
|
+
(props[propName] = config[propName]);
|
|
419
|
+
var propName = arguments.length - 2;
|
|
420
|
+
if (1 === propName) props.children = children;
|
|
421
|
+
else if (1 < propName) {
|
|
422
|
+
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
423
|
+
childArray[i] = arguments[i + 2];
|
|
424
|
+
props.children = childArray;
|
|
425
|
+
}
|
|
426
|
+
return ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
427
|
+
};
|
|
428
|
+
react_production.createContext = function (defaultValue) {
|
|
429
|
+
defaultValue = {
|
|
430
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
431
|
+
_currentValue: defaultValue,
|
|
432
|
+
_currentValue2: defaultValue,
|
|
433
|
+
_threadCount: 0,
|
|
434
|
+
Provider: null,
|
|
435
|
+
Consumer: null
|
|
436
|
+
};
|
|
437
|
+
defaultValue.Provider = defaultValue;
|
|
438
|
+
defaultValue.Consumer = {
|
|
439
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
440
|
+
_context: defaultValue
|
|
441
|
+
};
|
|
442
|
+
return defaultValue;
|
|
443
|
+
};
|
|
444
|
+
react_production.createElement = function (type, config, children) {
|
|
445
|
+
var propName,
|
|
446
|
+
props = {},
|
|
447
|
+
key = null;
|
|
448
|
+
if (null != config)
|
|
449
|
+
for (propName in (void 0 !== config.key && (key = "" + config.key), config))
|
|
450
|
+
hasOwnProperty.call(config, propName) &&
|
|
451
|
+
"key" !== propName &&
|
|
452
|
+
"__self" !== propName &&
|
|
453
|
+
"__source" !== propName &&
|
|
454
|
+
(props[propName] = config[propName]);
|
|
455
|
+
var childrenLength = arguments.length - 2;
|
|
456
|
+
if (1 === childrenLength) props.children = children;
|
|
457
|
+
else if (1 < childrenLength) {
|
|
458
|
+
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
459
|
+
childArray[i] = arguments[i + 2];
|
|
460
|
+
props.children = childArray;
|
|
461
|
+
}
|
|
462
|
+
if (type && type.defaultProps)
|
|
463
|
+
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
464
|
+
void 0 === props[propName] &&
|
|
465
|
+
(props[propName] = childrenLength[propName]);
|
|
466
|
+
return ReactElement(type, key, void 0, void 0, null, props);
|
|
467
|
+
};
|
|
468
|
+
react_production.createRef = function () {
|
|
469
|
+
return { current: null };
|
|
470
|
+
};
|
|
471
|
+
react_production.forwardRef = function (render) {
|
|
472
|
+
return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
|
|
473
|
+
};
|
|
474
|
+
react_production.isValidElement = isValidElement;
|
|
475
|
+
react_production.lazy = function (ctor) {
|
|
476
|
+
return {
|
|
477
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
478
|
+
_payload: { _status: -1, _result: ctor },
|
|
479
|
+
_init: lazyInitializer
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
react_production.memo = function (type, compare) {
|
|
483
|
+
return {
|
|
484
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
485
|
+
type: type,
|
|
486
|
+
compare: void 0 === compare ? null : compare
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
react_production.startTransition = function (scope) {
|
|
490
|
+
var prevTransition = ReactSharedInternals.T,
|
|
491
|
+
currentTransition = {};
|
|
492
|
+
ReactSharedInternals.T = currentTransition;
|
|
493
|
+
try {
|
|
494
|
+
var returnValue = scope(),
|
|
495
|
+
onStartTransitionFinish = ReactSharedInternals.S;
|
|
496
|
+
null !== onStartTransitionFinish &&
|
|
497
|
+
onStartTransitionFinish(currentTransition, returnValue);
|
|
498
|
+
"object" === typeof returnValue &&
|
|
499
|
+
null !== returnValue &&
|
|
500
|
+
"function" === typeof returnValue.then &&
|
|
501
|
+
returnValue.then(noop, reportGlobalError);
|
|
502
|
+
} catch (error) {
|
|
503
|
+
reportGlobalError(error);
|
|
504
|
+
} finally {
|
|
505
|
+
ReactSharedInternals.T = prevTransition;
|
|
506
|
+
}
|
|
507
|
+
};
|
|
508
|
+
react_production.unstable_useCacheRefresh = function () {
|
|
509
|
+
return ReactSharedInternals.H.useCacheRefresh();
|
|
510
|
+
};
|
|
511
|
+
react_production.use = function (usable) {
|
|
512
|
+
return ReactSharedInternals.H.use(usable);
|
|
513
|
+
};
|
|
514
|
+
react_production.useActionState = function (action, initialState, permalink) {
|
|
515
|
+
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
516
|
+
};
|
|
517
|
+
react_production.useCallback = function (callback, deps) {
|
|
518
|
+
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
519
|
+
};
|
|
520
|
+
react_production.useContext = function (Context) {
|
|
521
|
+
return ReactSharedInternals.H.useContext(Context);
|
|
522
|
+
};
|
|
523
|
+
react_production.useDebugValue = function () {};
|
|
524
|
+
react_production.useDeferredValue = function (value, initialValue) {
|
|
525
|
+
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
526
|
+
};
|
|
527
|
+
react_production.useEffect = function (create, deps) {
|
|
528
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
529
|
+
};
|
|
530
|
+
react_production.useId = function () {
|
|
531
|
+
return ReactSharedInternals.H.useId();
|
|
532
|
+
};
|
|
533
|
+
react_production.useImperativeHandle = function (ref, create, deps) {
|
|
534
|
+
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
535
|
+
};
|
|
536
|
+
react_production.useInsertionEffect = function (create, deps) {
|
|
537
|
+
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
538
|
+
};
|
|
539
|
+
react_production.useLayoutEffect = function (create, deps) {
|
|
540
|
+
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
541
|
+
};
|
|
542
|
+
react_production.useMemo = function (create, deps) {
|
|
543
|
+
return ReactSharedInternals.H.useMemo(create, deps);
|
|
544
|
+
};
|
|
545
|
+
react_production.useOptimistic = function (passthrough, reducer) {
|
|
546
|
+
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
547
|
+
};
|
|
548
|
+
react_production.useReducer = function (reducer, initialArg, init) {
|
|
549
|
+
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
550
|
+
};
|
|
551
|
+
react_production.useRef = function (initialValue) {
|
|
552
|
+
return ReactSharedInternals.H.useRef(initialValue);
|
|
553
|
+
};
|
|
554
|
+
react_production.useState = function (initialState) {
|
|
555
|
+
return ReactSharedInternals.H.useState(initialState);
|
|
556
|
+
};
|
|
557
|
+
react_production.useSyncExternalStore = function (
|
|
558
|
+
subscribe,
|
|
559
|
+
getSnapshot,
|
|
560
|
+
getServerSnapshot
|
|
561
|
+
) {
|
|
562
|
+
return ReactSharedInternals.H.useSyncExternalStore(
|
|
563
|
+
subscribe,
|
|
564
|
+
getSnapshot,
|
|
565
|
+
getServerSnapshot
|
|
566
|
+
);
|
|
567
|
+
};
|
|
568
|
+
react_production.useTransition = function () {
|
|
569
|
+
return ReactSharedInternals.H.useTransition();
|
|
570
|
+
};
|
|
571
|
+
react_production.version = "19.0.0";
|
|
62
572
|
|
|
63
573
|
{
|
|
64
|
-
react.exports =
|
|
574
|
+
react.exports = react_production;
|
|
65
575
|
}
|
|
66
576
|
|
|
67
577
|
var React = react.exports;
|
|
@@ -123,25 +633,25 @@ function w(n, t, r, i) {
|
|
|
123
633
|
return new (r || (r = Promise))(function(s, o) {
|
|
124
634
|
function e(u) {
|
|
125
635
|
try {
|
|
126
|
-
|
|
636
|
+
l(i.next(u));
|
|
127
637
|
} catch (a) {
|
|
128
638
|
o(a);
|
|
129
639
|
}
|
|
130
640
|
}
|
|
131
641
|
function c(u) {
|
|
132
642
|
try {
|
|
133
|
-
|
|
643
|
+
l(i.throw(u));
|
|
134
644
|
} catch (a) {
|
|
135
645
|
o(a);
|
|
136
646
|
}
|
|
137
647
|
}
|
|
138
|
-
function
|
|
648
|
+
function l(u) {
|
|
139
649
|
var a;
|
|
140
|
-
u.done ? s(u.value) : (a = u.value, a instanceof r ? a : new r(function(
|
|
141
|
-
|
|
650
|
+
u.done ? s(u.value) : (a = u.value, a instanceof r ? a : new r(function(p) {
|
|
651
|
+
p(a);
|
|
142
652
|
})).then(e, c);
|
|
143
653
|
}
|
|
144
|
-
|
|
654
|
+
l((i = i.apply(n, [])).next());
|
|
145
655
|
});
|
|
146
656
|
}
|
|
147
657
|
function y(n, t) {
|
|
@@ -152,7 +662,7 @@ function y(n, t) {
|
|
|
152
662
|
return o = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
|
|
153
663
|
return this;
|
|
154
664
|
}), o;
|
|
155
|
-
function c(
|
|
665
|
+
function c(l) {
|
|
156
666
|
return function(u) {
|
|
157
667
|
return function(a) {
|
|
158
668
|
if (r) throw new TypeError("Generator is already executing.");
|
|
@@ -192,18 +702,18 @@ function y(n, t) {
|
|
|
192
702
|
continue;
|
|
193
703
|
}
|
|
194
704
|
a = t.call(n, e);
|
|
195
|
-
} catch (
|
|
196
|
-
a = [6,
|
|
705
|
+
} catch (p) {
|
|
706
|
+
a = [6, p], i = 0;
|
|
197
707
|
} finally {
|
|
198
708
|
r = s = 0;
|
|
199
709
|
}
|
|
200
710
|
if (5 & a[0]) throw a[1];
|
|
201
711
|
return { value: a[0] ? a[1] : void 0, done: !0 };
|
|
202
|
-
}([
|
|
712
|
+
}([l, u]);
|
|
203
713
|
};
|
|
204
714
|
}
|
|
205
715
|
}
|
|
206
|
-
var b = { exclude: [] }, P = {}, N = { timeout: "true" },
|
|
716
|
+
var b = { exclude: [] }, P = {}, N = { timeout: "true" }, v = function(n, t) {
|
|
207
717
|
typeof window < "u" && (P[n] = t);
|
|
208
718
|
}, j = function() {
|
|
209
719
|
return Object.fromEntries(Object.entries(P).filter(function(n) {
|
|
@@ -216,7 +726,7 @@ var b = { exclude: [] }, P = {}, N = { timeout: "true" }, p = function(n, t) {
|
|
|
216
726
|
function M(n) {
|
|
217
727
|
return n ^= n >>> 16, n = Math.imul(n, 2246822507), n ^= n >>> 13, n = Math.imul(n, 3266489909), (n ^= n >>> 16) >>> 0;
|
|
218
728
|
}
|
|
219
|
-
var
|
|
729
|
+
var f = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
|
|
220
730
|
function g(n, t) {
|
|
221
731
|
return n << t | n >>> 32 - t;
|
|
222
732
|
}
|
|
@@ -225,19 +735,19 @@ function R(n, t) {
|
|
|
225
735
|
if (t === void 0 && (t = 0), t = t ? 0 | t : 0, typeof n == "string" && (r = n, n = new TextEncoder().encode(r).buffer), !(n instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
|
|
226
736
|
var i = new Uint32Array([t, t, t, t]);
|
|
227
737
|
((function(o, e) {
|
|
228
|
-
for (var c = o.byteLength / 16 | 0,
|
|
229
|
-
var a =
|
|
230
|
-
a[0] = Math.imul(a[0],
|
|
738
|
+
for (var c = o.byteLength / 16 | 0, l = new Uint32Array(o, 0, 4 * c), u = 0; u < c; u++) {
|
|
739
|
+
var a = l.subarray(4 * u, 4 * (u + 1));
|
|
740
|
+
a[0] = Math.imul(a[0], f[0]), a[0] = g(a[0], 15), a[0] = Math.imul(a[0], f[1]), e[0] = e[0] ^ a[0], e[0] = g(e[0], 19), e[0] = e[0] + e[1], e[0] = Math.imul(e[0], 5) + 1444728091, a[1] = Math.imul(a[1], f[1]), a[1] = g(a[1], 16), a[1] = Math.imul(a[1], f[2]), e[1] = e[1] ^ a[1], e[1] = g(e[1], 17), e[1] = e[1] + e[2], e[1] = Math.imul(e[1], 5) + 197830471, a[2] = Math.imul(a[2], f[2]), a[2] = g(a[2], 17), a[2] = Math.imul(a[2], f[3]), e[2] = e[2] ^ a[2], e[2] = g(e[2], 15), e[2] = e[2] + e[3], e[2] = Math.imul(e[2], 5) + 2530024501, a[3] = Math.imul(a[3], f[3]), a[3] = g(a[3], 18), a[3] = Math.imul(a[3], f[0]), e[3] = e[3] ^ a[3], e[3] = g(e[3], 13), e[3] = e[3] + e[0], e[3] = Math.imul(e[3], 5) + 850148119;
|
|
231
741
|
}
|
|
232
742
|
}))(n, i), function(o, e) {
|
|
233
|
-
var c = o.byteLength / 16 | 0,
|
|
234
|
-
switch (
|
|
743
|
+
var c = o.byteLength / 16 | 0, l = o.byteLength % 16, u = new Uint32Array(4), a = new Uint8Array(o, 16 * c, l);
|
|
744
|
+
switch (l) {
|
|
235
745
|
case 15:
|
|
236
746
|
u[3] = u[3] ^ a[14] << 16;
|
|
237
747
|
case 14:
|
|
238
748
|
u[3] = u[3] ^ a[13] << 8;
|
|
239
749
|
case 13:
|
|
240
|
-
u[3] = u[3] ^ a[12] << 0, u[3] = Math.imul(u[3],
|
|
750
|
+
u[3] = u[3] ^ a[12] << 0, u[3] = Math.imul(u[3], f[3]), u[3] = g(u[3], 18), u[3] = Math.imul(u[3], f[0]), e[3] = e[3] ^ u[3];
|
|
241
751
|
case 12:
|
|
242
752
|
u[2] = u[2] ^ a[11] << 24;
|
|
243
753
|
case 11:
|
|
@@ -245,7 +755,7 @@ function R(n, t) {
|
|
|
245
755
|
case 10:
|
|
246
756
|
u[2] = u[2] ^ a[9] << 8;
|
|
247
757
|
case 9:
|
|
248
|
-
u[2] = u[2] ^ a[8] << 0, u[2] = Math.imul(u[2],
|
|
758
|
+
u[2] = u[2] ^ a[8] << 0, u[2] = Math.imul(u[2], f[2]), u[2] = g(u[2], 17), u[2] = Math.imul(u[2], f[3]), e[2] = e[2] ^ u[2];
|
|
249
759
|
case 8:
|
|
250
760
|
u[1] = u[1] ^ a[7] << 24;
|
|
251
761
|
case 7:
|
|
@@ -253,7 +763,7 @@ function R(n, t) {
|
|
|
253
763
|
case 6:
|
|
254
764
|
u[1] = u[1] ^ a[5] << 8;
|
|
255
765
|
case 5:
|
|
256
|
-
u[1] = u[1] ^ a[4] << 0, u[1] = Math.imul(u[1],
|
|
766
|
+
u[1] = u[1] ^ a[4] << 0, u[1] = Math.imul(u[1], f[1]), u[1] = g(u[1], 16), u[1] = Math.imul(u[1], f[2]), e[1] = e[1] ^ u[1];
|
|
257
767
|
case 4:
|
|
258
768
|
u[0] = u[0] ^ a[3] << 24;
|
|
259
769
|
case 3:
|
|
@@ -261,7 +771,7 @@ function R(n, t) {
|
|
|
261
771
|
case 2:
|
|
262
772
|
u[0] = u[0] ^ a[1] << 8;
|
|
263
773
|
case 1:
|
|
264
|
-
u[0] = u[0] ^ a[0] << 0, u[0] = Math.imul(u[0],
|
|
774
|
+
u[0] = u[0] ^ a[0] << 0, u[0] = Math.imul(u[0], f[0]), u[0] = g(u[0], 15), u[0] = Math.imul(u[0], f[1]), e[0] = e[0] ^ u[0];
|
|
265
775
|
}
|
|
266
776
|
}(n, i), function(o, e) {
|
|
267
777
|
e[0] = e[0] ^ o.byteLength, e[1] = e[1] ^ o.byteLength, e[2] = e[2] ^ o.byteLength, e[3] = e[3] ^ o.byteLength, e[0] = e[0] + e[1] | 0, e[0] = e[0] + e[2] | 0, e[0] = e[0] + e[3] | 0, e[1] = e[1] + e[0] | 0, e[2] = e[2] + e[0] | 0, e[3] = e[3] + e[0] | 0, e[0] = M(e[0]), e[1] = M(e[1]), e[2] = M(e[2]), e[3] = M(e[3]), e[0] = e[0] + e[1] | 0, e[0] = e[0] + e[2] | 0, e[0] = e[0] + e[3] | 0, e[1] = e[1] + e[0] | 0, e[2] = e[2] + e[0] | 0, e[3] = e[3] + e[0] | 0;
|
|
@@ -310,8 +820,8 @@ function _(n, t) {
|
|
|
310
820
|
var e = n[o];
|
|
311
821
|
if (typeof e != "object" || Array.isArray(e)) t.includes(o) || (r[o] = e);
|
|
312
822
|
else {
|
|
313
|
-
var c = _(e, t.map(function(
|
|
314
|
-
return
|
|
823
|
+
var c = _(e, t.map(function(l) {
|
|
824
|
+
return l.startsWith(o + ".") ? l.slice(o.length + 1) : l;
|
|
315
825
|
}));
|
|
316
826
|
Object.keys(c).length > 0 && (r[o] = c);
|
|
317
827
|
}
|
|
@@ -365,7 +875,7 @@ function E() {
|
|
|
365
875
|
}
|
|
366
876
|
return { name: "unknown", version: "unknown" };
|
|
367
877
|
}
|
|
368
|
-
|
|
878
|
+
v("audio", function() {
|
|
369
879
|
return w(this, void 0, void 0, function() {
|
|
370
880
|
return y(this, function(n) {
|
|
371
881
|
return [2, new Promise(function(t, r) {
|
|
@@ -373,18 +883,18 @@ p("audio", function() {
|
|
|
373
883
|
var i = new (window.OfflineAudioContext || window.webkitOfflineAudioContext)(1, 5e3, 44100), s = i.createBufferSource(), o = i.createOscillator();
|
|
374
884
|
o.frequency.value = 1e3;
|
|
375
885
|
var e, c = i.createDynamicsCompressor();
|
|
376
|
-
c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(i.destination), o.start(), i.oncomplete = function(
|
|
377
|
-
e =
|
|
886
|
+
c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(i.destination), o.start(), i.oncomplete = function(l) {
|
|
887
|
+
e = l.renderedBuffer.getChannelData(0), t({ sampleHash: $(e), oscillator: o.type, maxChannels: i.destination.maxChannelCount, channelCountMode: s.channelCountMode });
|
|
378
888
|
}, i.startRendering();
|
|
379
|
-
} catch (
|
|
380
|
-
console.error("Error creating audio fingerprint:",
|
|
889
|
+
} catch (l) {
|
|
890
|
+
console.error("Error creating audio fingerprint:", l), r(l);
|
|
381
891
|
}
|
|
382
892
|
})];
|
|
383
893
|
});
|
|
384
894
|
});
|
|
385
895
|
});
|
|
386
896
|
var z = E().name !== "SamsungBrowser" ? 1 : 3, T = 280, C = 20;
|
|
387
|
-
E().name != "Firefox" &&
|
|
897
|
+
E().name != "Firefox" && v("canvas", function() {
|
|
388
898
|
return document.createElement("canvas").getContext("2d"), new Promise(function(n) {
|
|
389
899
|
var t = Array.from({ length: z }, function() {
|
|
390
900
|
return function() {
|
|
@@ -414,8 +924,8 @@ function Y() {
|
|
|
414
924
|
if (!s.length || !i.length) {
|
|
415
925
|
var e = r.getExtension("WEBGL_debug_renderer_info");
|
|
416
926
|
if (e) {
|
|
417
|
-
var c = (r.getParameter(e.UNMASKED_VENDOR_WEBGL) || "").toString(),
|
|
418
|
-
c && (o.vendorUnmasked = c),
|
|
927
|
+
var c = (r.getParameter(e.UNMASKED_VENDOR_WEBGL) || "").toString(), l = (r.getParameter(e.UNMASKED_RENDERER_WEBGL) || "").toString();
|
|
928
|
+
c && (o.vendorUnmasked = c), l && (o.rendererUnmasked = l);
|
|
419
929
|
}
|
|
420
930
|
}
|
|
421
931
|
return o;
|
|
@@ -437,9 +947,9 @@ function Z(n, t) {
|
|
|
437
947
|
var a = String(u);
|
|
438
948
|
e[a] = (e[a] || 0) + 1;
|
|
439
949
|
});
|
|
440
|
-
var c = o[0],
|
|
950
|
+
var c = o[0], l = 1;
|
|
441
951
|
return Object.keys(e).forEach(function(u) {
|
|
442
|
-
e[u] >
|
|
952
|
+
e[u] > l && (c = u, l = e[u]);
|
|
443
953
|
}), c;
|
|
444
954
|
}(n.map(function(o) {
|
|
445
955
|
return i in o ? o[i] : void 0;
|
|
@@ -465,7 +975,7 @@ function te() {
|
|
|
465
975
|
}
|
|
466
976
|
return 0;
|
|
467
977
|
}
|
|
468
|
-
E().name != "Firefox" &&
|
|
978
|
+
E().name != "Firefox" && v("fonts", function() {
|
|
469
979
|
var n = this;
|
|
470
980
|
return new Promise(function(t, r) {
|
|
471
981
|
try {
|
|
@@ -473,14 +983,14 @@ E().name != "Firefox" && p("fonts", function() {
|
|
|
473
983
|
var s;
|
|
474
984
|
w(this, void 0, void 0, function() {
|
|
475
985
|
var o, e, c;
|
|
476
|
-
return y(this, function(
|
|
477
|
-
switch (
|
|
986
|
+
return y(this, function(l) {
|
|
987
|
+
switch (l.label) {
|
|
478
988
|
case 0:
|
|
479
|
-
return document.body ? [3, 2] : [4, (u = 50, new Promise(function(
|
|
480
|
-
return setTimeout(
|
|
989
|
+
return document.body ? [3, 2] : [4, (u = 50, new Promise(function(p) {
|
|
990
|
+
return setTimeout(p, u, a);
|
|
481
991
|
}))];
|
|
482
992
|
case 1:
|
|
483
|
-
return
|
|
993
|
+
return l.sent(), [3, 0];
|
|
484
994
|
case 2:
|
|
485
995
|
if ((o = document.createElement("iframe")).setAttribute("frameBorder", "0"), (e = o.style).setProperty("position", "fixed"), e.setProperty("display", "block", "important"), e.setProperty("visibility", "visible"), e.setProperty("border", "0"), e.setProperty("opacity", "0"), o.src = "about:blank", document.body.appendChild(o), !(c = o.contentDocument || ((s = o.contentWindow) === null || s === void 0 ? void 0 : s.document))) throw new Error("Iframe document is not accessible");
|
|
486
996
|
return i({ iframe: c }), setTimeout(function() {
|
|
@@ -493,14 +1003,14 @@ E().name != "Firefox" && p("fonts", function() {
|
|
|
493
1003
|
})(function(i) {
|
|
494
1004
|
var s = i.iframe;
|
|
495
1005
|
return w(n, void 0, void 0, function() {
|
|
496
|
-
var o, e, c,
|
|
1006
|
+
var o, e, c, l;
|
|
497
1007
|
return y(this, function(u) {
|
|
498
1008
|
return o = s.createElement("canvas"), e = o.getContext("2d"), c = Q.map(function(a) {
|
|
499
1009
|
return k(e, a);
|
|
500
|
-
}),
|
|
501
|
-
var
|
|
502
|
-
c.includes(
|
|
503
|
-
}), t(
|
|
1010
|
+
}), l = {}, J.forEach(function(a) {
|
|
1011
|
+
var p = k(e, a);
|
|
1012
|
+
c.includes(p) || (l[a] = p);
|
|
1013
|
+
}), t(l), [2];
|
|
504
1014
|
});
|
|
505
1015
|
});
|
|
506
1016
|
});
|
|
@@ -508,16 +1018,16 @@ E().name != "Firefox" && p("fonts", function() {
|
|
|
508
1018
|
r({ error: "unsupported" });
|
|
509
1019
|
}
|
|
510
1020
|
});
|
|
511
|
-
}),
|
|
1021
|
+
}), v("hardware", function() {
|
|
512
1022
|
return new Promise(function(n, t) {
|
|
513
1023
|
var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, i = window.performance && window.performance.memory ? window.performance.memory : 0;
|
|
514
1024
|
n({ videocard: Y(), architecture: X(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: i.jsHeapSizeLimit || 0 });
|
|
515
1025
|
});
|
|
516
|
-
}),
|
|
1026
|
+
}), v("locales", function() {
|
|
517
1027
|
return new Promise(function(n) {
|
|
518
1028
|
n({ languages: navigator.language, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone });
|
|
519
1029
|
});
|
|
520
|
-
}),
|
|
1030
|
+
}), v("permissions", function() {
|
|
521
1031
|
return w(this, void 0, void 0, function() {
|
|
522
1032
|
var n;
|
|
523
1033
|
return y(this, function(t) {
|
|
@@ -551,7 +1061,7 @@ E().name != "Firefox" && p("fonts", function() {
|
|
|
551
1061
|
})];
|
|
552
1062
|
});
|
|
553
1063
|
});
|
|
554
|
-
}),
|
|
1064
|
+
}), v("plugins", function() {
|
|
555
1065
|
var n = [];
|
|
556
1066
|
if (navigator.plugins) for (var t = 0; t < navigator.plugins.length; t++) {
|
|
557
1067
|
var r = navigator.plugins[t];
|
|
@@ -560,28 +1070,28 @@ E().name != "Firefox" && p("fonts", function() {
|
|
|
560
1070
|
return new Promise(function(i) {
|
|
561
1071
|
i({ plugins: n });
|
|
562
1072
|
});
|
|
563
|
-
}),
|
|
1073
|
+
}), v("screen", function() {
|
|
564
1074
|
return new Promise(function(n) {
|
|
565
1075
|
n({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: ee() });
|
|
566
1076
|
});
|
|
567
|
-
}),
|
|
1077
|
+
}), v("system", function() {
|
|
568
1078
|
return new Promise(function(n) {
|
|
569
1079
|
var t = E();
|
|
570
1080
|
n({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: te() });
|
|
571
1081
|
});
|
|
572
1082
|
});
|
|
573
|
-
var
|
|
574
|
-
|
|
1083
|
+
var h, ne = E().name !== "SamsungBrowser" ? 1 : 3, d = null;
|
|
1084
|
+
v("webgl", function() {
|
|
575
1085
|
return w(this, void 0, void 0, function() {
|
|
576
1086
|
var n;
|
|
577
1087
|
return y(this, function(t) {
|
|
578
|
-
typeof document < "u" && ((
|
|
1088
|
+
typeof document < "u" && ((h = document.createElement("canvas")).width = 200, h.height = 100, d = h.getContext("webgl"));
|
|
579
1089
|
try {
|
|
580
|
-
if (!
|
|
1090
|
+
if (!d) throw new Error("WebGL not supported");
|
|
581
1091
|
return n = Array.from({ length: ne }, function() {
|
|
582
1092
|
return function() {
|
|
583
1093
|
try {
|
|
584
|
-
if (!
|
|
1094
|
+
if (!d) throw new Error("WebGL not supported");
|
|
585
1095
|
var r = `
|
|
586
1096
|
attribute vec2 position;
|
|
587
1097
|
void main() {
|
|
@@ -592,31 +1102,31 @@ p("webgl", function() {
|
|
|
592
1102
|
void main() {
|
|
593
1103
|
gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color
|
|
594
1104
|
}
|
|
595
|
-
`, s =
|
|
1105
|
+
`, s = d.createShader(d.VERTEX_SHADER), o = d.createShader(d.FRAGMENT_SHADER);
|
|
596
1106
|
if (!s || !o) throw new Error("Failed to create shaders");
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
var e =
|
|
1107
|
+
if (d.shaderSource(s, r), d.shaderSource(o, i), d.compileShader(s), !d.getShaderParameter(s, d.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + d.getShaderInfoLog(s));
|
|
1108
|
+
if (d.compileShader(o), !d.getShaderParameter(o, d.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + d.getShaderInfoLog(o));
|
|
1109
|
+
var e = d.createProgram();
|
|
600
1110
|
if (!e) throw new Error("Failed to create shader program");
|
|
601
|
-
if (
|
|
602
|
-
|
|
603
|
-
for (var c = 137,
|
|
604
|
-
var
|
|
605
|
-
|
|
1111
|
+
if (d.attachShader(e, s), d.attachShader(e, o), d.linkProgram(e), !d.getProgramParameter(e, d.LINK_STATUS)) throw new Error("Shader program linking failed: " + d.getProgramInfoLog(e));
|
|
1112
|
+
d.useProgram(e);
|
|
1113
|
+
for (var c = 137, l = new Float32Array(4 * c), u = 2 * Math.PI / c, a = 0; a < c; a++) {
|
|
1114
|
+
var p = a * u;
|
|
1115
|
+
l[4 * a] = 0, l[4 * a + 1] = 0, l[4 * a + 2] = Math.cos(p) * (h.width / 2), l[4 * a + 3] = Math.sin(p) * (h.height / 2);
|
|
606
1116
|
}
|
|
607
|
-
var U =
|
|
608
|
-
|
|
609
|
-
var x =
|
|
610
|
-
|
|
611
|
-
var I = new Uint8ClampedArray(
|
|
612
|
-
return
|
|
1117
|
+
var U = d.createBuffer();
|
|
1118
|
+
d.bindBuffer(d.ARRAY_BUFFER, U), d.bufferData(d.ARRAY_BUFFER, l, d.STATIC_DRAW);
|
|
1119
|
+
var x = d.getAttribLocation(e, "position");
|
|
1120
|
+
d.enableVertexAttribArray(x), d.vertexAttribPointer(x, 2, d.FLOAT, !1, 0, 0), d.viewport(0, 0, h.width, h.height), d.clearColor(0, 0, 0, 1), d.clear(d.COLOR_BUFFER_BIT), d.drawArrays(d.LINES, 0, 2 * c);
|
|
1121
|
+
var I = new Uint8ClampedArray(h.width * h.height * 4);
|
|
1122
|
+
return d.readPixels(0, 0, h.width, h.height, d.RGBA, d.UNSIGNED_BYTE, I), new ImageData(I, h.width, h.height);
|
|
613
1123
|
} catch {
|
|
614
1124
|
return new ImageData(1, 1);
|
|
615
1125
|
} finally {
|
|
616
|
-
|
|
1126
|
+
d && (d.bindBuffer(d.ARRAY_BUFFER, null), d.useProgram(null), d.viewport(0, 0, d.drawingBufferWidth, d.drawingBufferHeight), d.clearColor(0, 0, 0, 0));
|
|
617
1127
|
}
|
|
618
1128
|
}();
|
|
619
|
-
}), [2, { commonImageHash: R(F(n,
|
|
1129
|
+
}), [2, { commonImageHash: R(F(n, h.width, h.height).data.toString()).toString() }];
|
|
620
1130
|
} catch {
|
|
621
1131
|
return [2, { webgl: "unsupported" }];
|
|
622
1132
|
}
|
|
@@ -629,7 +1139,7 @@ var S = function(n, t, r, i) {
|
|
|
629
1139
|
o += n(t + (e + 0.5) * s);
|
|
630
1140
|
return o * s;
|
|
631
1141
|
};
|
|
632
|
-
|
|
1142
|
+
v("math", function() {
|
|
633
1143
|
return w(void 0, void 0, void 0, function() {
|
|
634
1144
|
return y(this, function(n) {
|
|
635
1145
|
return [2, { acos: Math.acos(0.5), asin: S(Math.asin, -1, 1, 97), atan: S(Math.atan, -1, 1, 97), cos: S(Math.cos, 0, Math.PI, 97), cosh: Math.cosh(9 / 7), e: Math.E, largeCos: Math.cos(1e20), largeSin: Math.sin(1e20), largeTan: Math.tan(1e20), log: Math.log(1e3), pi: Math.PI, sin: S(Math.sin, -Math.PI, Math.PI, 97), sinh: S(Math.sinh, -9 / 7, 7 / 9, 97), sqrt: Math.sqrt(2), tan: S(Math.tan, 0, 2 * Math.PI, 97), tanh: S(Math.tanh, -9 / 7, 7 / 9, 97) }];
|
|
@@ -679,11 +1189,11 @@ class ae {
|
|
|
679
1189
|
throw new Error(
|
|
680
1190
|
`Error: ${c.statusText} (Status: ${c.status})`
|
|
681
1191
|
);
|
|
682
|
-
const
|
|
1192
|
+
const l = await c.json();
|
|
683
1193
|
this.sendMeasureEvent("search_response_received", {
|
|
684
1194
|
search_term: t.query,
|
|
685
|
-
number_of_documents:
|
|
686
|
-
}), r(
|
|
1195
|
+
number_of_documents: l.data.count
|
|
1196
|
+
}), r(l);
|
|
687
1197
|
} catch (o) {
|
|
688
1198
|
throw console.error("Error parsing response:", o), o;
|
|
689
1199
|
}
|
|
@@ -962,4 +1472,4 @@ const useThemeStore = zustand.create((set) => ({
|
|
|
962
1472
|
|
|
963
1473
|
export { useThemeStore as a, ae as b, useSearchcraftStore as u };
|
|
964
1474
|
|
|
965
|
-
//# sourceMappingURL=p-
|
|
1475
|
+
//# sourceMappingURL=p-01dc5b3b.js.map
|