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