strapi-plugin-faqchatbot 1.0.4 → 1.0.5
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/dist/_chunks/{App-BLjeG5zk.mjs → App-Bv3LDXXw.mjs} +89 -110
- package/dist/_chunks/{App-B9KjKqVf.js → App-Cc6UTNkw.js} +89 -110
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +10 -9
- package/dist/server/index.mjs +10 -9
- package/package.json +1 -1
|
@@ -9314,7 +9314,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
9314
9314
|
var ys = arrObjKeys(obj, inspect2);
|
|
9315
9315
|
var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
9316
9316
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
9317
|
-
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9317
|
+
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9318
9318
|
var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
9319
9319
|
var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
|
|
9320
9320
|
if (ys.length === 0) {
|
|
@@ -9339,25 +9339,25 @@ function canTrustToString(obj) {
|
|
|
9339
9339
|
return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
|
|
9340
9340
|
}
|
|
9341
9341
|
function isArray$4(obj) {
|
|
9342
|
-
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
9342
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
9343
9343
|
}
|
|
9344
9344
|
function isDate$2(obj) {
|
|
9345
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
9345
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
9346
9346
|
}
|
|
9347
9347
|
function isRegExp$2(obj) {
|
|
9348
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9348
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9349
9349
|
}
|
|
9350
9350
|
function isError(obj) {
|
|
9351
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
9351
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
9352
9352
|
}
|
|
9353
9353
|
function isString$1(obj) {
|
|
9354
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
9354
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
9355
9355
|
}
|
|
9356
9356
|
function isNumber$1(obj) {
|
|
9357
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
9357
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
9358
9358
|
}
|
|
9359
9359
|
function isBoolean$1(obj) {
|
|
9360
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9360
|
+
return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9361
9361
|
}
|
|
9362
9362
|
function isSymbol(obj) {
|
|
9363
9363
|
if (hasShammedSymbols) {
|
|
@@ -9393,7 +9393,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
9393
9393
|
function has$5(obj, key) {
|
|
9394
9394
|
return hasOwn$1.call(obj, key);
|
|
9395
9395
|
}
|
|
9396
|
-
function toStr(obj) {
|
|
9396
|
+
function toStr$1(obj) {
|
|
9397
9397
|
return objectToString.call(obj);
|
|
9398
9398
|
}
|
|
9399
9399
|
function nameOf(f2) {
|
|
@@ -9702,7 +9702,7 @@ var syntax = SyntaxError;
|
|
|
9702
9702
|
var uri = URIError;
|
|
9703
9703
|
var abs$1 = Math.abs;
|
|
9704
9704
|
var floor$1 = Math.floor;
|
|
9705
|
-
var max$
|
|
9705
|
+
var max$2 = Math.max;
|
|
9706
9706
|
var min$1 = Math.min;
|
|
9707
9707
|
var pow$1 = Math.pow;
|
|
9708
9708
|
var round$1 = Math.round;
|
|
@@ -9831,99 +9831,78 @@ function requireObject_getPrototypeOf() {
|
|
|
9831
9831
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
9832
9832
|
return Object_getPrototypeOf;
|
|
9833
9833
|
}
|
|
9834
|
-
var
|
|
9835
|
-
var
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
var
|
|
9840
|
-
var
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
var
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
}
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9834
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
9835
|
+
var toStr = Object.prototype.toString;
|
|
9836
|
+
var max$1 = Math.max;
|
|
9837
|
+
var funcType = "[object Function]";
|
|
9838
|
+
var concatty = function concatty2(a2, b2) {
|
|
9839
|
+
var arr = [];
|
|
9840
|
+
for (var i2 = 0; i2 < a2.length; i2 += 1) {
|
|
9841
|
+
arr[i2] = a2[i2];
|
|
9842
|
+
}
|
|
9843
|
+
for (var j2 = 0; j2 < b2.length; j2 += 1) {
|
|
9844
|
+
arr[j2 + a2.length] = b2[j2];
|
|
9845
|
+
}
|
|
9846
|
+
return arr;
|
|
9847
|
+
};
|
|
9848
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
9849
|
+
var arr = [];
|
|
9850
|
+
for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
9851
|
+
arr[j2] = arrLike[i2];
|
|
9852
|
+
}
|
|
9853
|
+
return arr;
|
|
9854
|
+
};
|
|
9855
|
+
var joiny = function(arr, joiner) {
|
|
9856
|
+
var str = "";
|
|
9857
|
+
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
9858
|
+
str += arr[i2];
|
|
9859
|
+
if (i2 + 1 < arr.length) {
|
|
9860
|
+
str += joiner;
|
|
9857
9861
|
}
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9862
|
+
}
|
|
9863
|
+
return str;
|
|
9864
|
+
};
|
|
9865
|
+
var implementation$1 = function bind(that) {
|
|
9866
|
+
var target = this;
|
|
9867
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
9868
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
9869
|
+
}
|
|
9870
|
+
var args = slicy(arguments, 1);
|
|
9871
|
+
var bound;
|
|
9872
|
+
var binder = function() {
|
|
9873
|
+
if (this instanceof bound) {
|
|
9874
|
+
var result = target.apply(
|
|
9875
|
+
this,
|
|
9876
|
+
concatty(args, arguments)
|
|
9877
|
+
);
|
|
9878
|
+
if (Object(result) === result) {
|
|
9879
|
+
return result;
|
|
9866
9880
|
}
|
|
9881
|
+
return this;
|
|
9867
9882
|
}
|
|
9868
|
-
return
|
|
9883
|
+
return target.apply(
|
|
9884
|
+
that,
|
|
9885
|
+
concatty(args, arguments)
|
|
9886
|
+
);
|
|
9869
9887
|
};
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
var
|
|
9878
|
-
if (this instanceof bound) {
|
|
9879
|
-
var result = target.apply(
|
|
9880
|
-
this,
|
|
9881
|
-
concatty(args, arguments)
|
|
9882
|
-
);
|
|
9883
|
-
if (Object(result) === result) {
|
|
9884
|
-
return result;
|
|
9885
|
-
}
|
|
9886
|
-
return this;
|
|
9887
|
-
}
|
|
9888
|
-
return target.apply(
|
|
9889
|
-
that,
|
|
9890
|
-
concatty(args, arguments)
|
|
9891
|
-
);
|
|
9888
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
9889
|
+
var boundArgs = [];
|
|
9890
|
+
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
9891
|
+
boundArgs[i2] = "$" + i2;
|
|
9892
|
+
}
|
|
9893
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
9894
|
+
if (target.prototype) {
|
|
9895
|
+
var Empty = function Empty2() {
|
|
9892
9896
|
};
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
|
|
9900
|
-
|
|
9901
|
-
|
|
9902
|
-
Empty.prototype = target.prototype;
|
|
9903
|
-
bound.prototype = new Empty();
|
|
9904
|
-
Empty.prototype = null;
|
|
9905
|
-
}
|
|
9906
|
-
return bound;
|
|
9907
|
-
};
|
|
9908
|
-
return implementation;
|
|
9909
|
-
}
|
|
9910
|
-
var functionBind;
|
|
9911
|
-
var hasRequiredFunctionBind;
|
|
9912
|
-
function requireFunctionBind() {
|
|
9913
|
-
if (hasRequiredFunctionBind) return functionBind;
|
|
9914
|
-
hasRequiredFunctionBind = 1;
|
|
9915
|
-
var implementation2 = requireImplementation();
|
|
9916
|
-
functionBind = Function.prototype.bind || implementation2;
|
|
9917
|
-
return functionBind;
|
|
9918
|
-
}
|
|
9919
|
-
var functionCall;
|
|
9920
|
-
var hasRequiredFunctionCall;
|
|
9921
|
-
function requireFunctionCall() {
|
|
9922
|
-
if (hasRequiredFunctionCall) return functionCall;
|
|
9923
|
-
hasRequiredFunctionCall = 1;
|
|
9924
|
-
functionCall = Function.prototype.call;
|
|
9925
|
-
return functionCall;
|
|
9926
|
-
}
|
|
9897
|
+
Empty.prototype = target.prototype;
|
|
9898
|
+
bound.prototype = new Empty();
|
|
9899
|
+
Empty.prototype = null;
|
|
9900
|
+
}
|
|
9901
|
+
return bound;
|
|
9902
|
+
};
|
|
9903
|
+
var implementation = implementation$1;
|
|
9904
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
9905
|
+
var functionCall = Function.prototype.call;
|
|
9927
9906
|
var functionApply;
|
|
9928
9907
|
var hasRequiredFunctionApply;
|
|
9929
9908
|
function requireFunctionApply() {
|
|
@@ -9933,14 +9912,14 @@ function requireFunctionApply() {
|
|
|
9933
9912
|
return functionApply;
|
|
9934
9913
|
}
|
|
9935
9914
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
9936
|
-
var bind$3 =
|
|
9915
|
+
var bind$3 = functionBind;
|
|
9937
9916
|
var $apply$1 = requireFunctionApply();
|
|
9938
|
-
var $call$2 =
|
|
9917
|
+
var $call$2 = functionCall;
|
|
9939
9918
|
var $reflectApply = reflectApply;
|
|
9940
9919
|
var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
|
|
9941
|
-
var bind$2 =
|
|
9920
|
+
var bind$2 = functionBind;
|
|
9942
9921
|
var $TypeError$4 = type;
|
|
9943
|
-
var $call$1 =
|
|
9922
|
+
var $call$1 = functionCall;
|
|
9944
9923
|
var $actualApply = actualApply;
|
|
9945
9924
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
9946
9925
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -10006,8 +9985,8 @@ function requireHasown() {
|
|
|
10006
9985
|
hasRequiredHasown = 1;
|
|
10007
9986
|
var call = Function.prototype.call;
|
|
10008
9987
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
10009
|
-
var
|
|
10010
|
-
hasown =
|
|
9988
|
+
var bind3 = functionBind;
|
|
9989
|
+
hasown = bind3.call(call, $hasOwn);
|
|
10011
9990
|
return hasown;
|
|
10012
9991
|
}
|
|
10013
9992
|
var undefined$1;
|
|
@@ -10021,7 +10000,7 @@ var $TypeError$3 = type;
|
|
|
10021
10000
|
var $URIError = uri;
|
|
10022
10001
|
var abs = abs$1;
|
|
10023
10002
|
var floor = floor$1;
|
|
10024
|
-
var max = max$
|
|
10003
|
+
var max = max$2;
|
|
10025
10004
|
var min = min$1;
|
|
10026
10005
|
var pow = pow$1;
|
|
10027
10006
|
var round = round$1;
|
|
@@ -10055,7 +10034,7 @@ var getProto = requireGetProto();
|
|
|
10055
10034
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
10056
10035
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
10057
10036
|
var $apply = requireFunctionApply();
|
|
10058
|
-
var $call =
|
|
10037
|
+
var $call = functionCall;
|
|
10059
10038
|
var needsEval = {};
|
|
10060
10039
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
10061
10040
|
var INTRINSICS = {
|
|
@@ -10226,7 +10205,7 @@ var LEGACY_ALIASES = {
|
|
|
10226
10205
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
10227
10206
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
10228
10207
|
};
|
|
10229
|
-
var bind$1 =
|
|
10208
|
+
var bind$1 = functionBind;
|
|
10230
10209
|
var hasOwn = requireHasown();
|
|
10231
10210
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
10232
10211
|
var $spliceApply = bind$1.call($apply, Array.prototype.splice);
|
|
@@ -14557,7 +14536,7 @@ const admin = adminApi.enhanceEndpoints({
|
|
|
14557
14536
|
overrideExisting: false
|
|
14558
14537
|
});
|
|
14559
14538
|
const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
|
|
14560
|
-
function
|
|
14539
|
+
function bind2(fn2, thisArg) {
|
|
14561
14540
|
return function wrap() {
|
|
14562
14541
|
return fn2.apply(thisArg, arguments);
|
|
14563
14542
|
};
|
|
@@ -14694,7 +14673,7 @@ function merge2() {
|
|
|
14694
14673
|
const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
|
|
14695
14674
|
forEach$1(b2, (val, key) => {
|
|
14696
14675
|
if (thisArg && isFunction$1(val)) {
|
|
14697
|
-
a2[key] =
|
|
14676
|
+
a2[key] = bind2(val, thisArg);
|
|
14698
14677
|
} else {
|
|
14699
14678
|
a2[key] = val;
|
|
14700
14679
|
}
|
|
@@ -16974,7 +16953,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
|
16974
16953
|
});
|
|
16975
16954
|
function createInstance(defaultConfig) {
|
|
16976
16955
|
const context = new Axios$1(defaultConfig);
|
|
16977
|
-
const instance =
|
|
16956
|
+
const instance = bind2(Axios$1.prototype.request, context);
|
|
16978
16957
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
16979
16958
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
16980
16959
|
instance.create = function create2(instanceConfig) {
|
|
@@ -9336,7 +9336,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
9336
9336
|
var ys = arrObjKeys(obj, inspect2);
|
|
9337
9337
|
var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
9338
9338
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
9339
|
-
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9339
|
+
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9340
9340
|
var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
9341
9341
|
var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
|
|
9342
9342
|
if (ys.length === 0) {
|
|
@@ -9361,25 +9361,25 @@ function canTrustToString(obj) {
|
|
|
9361
9361
|
return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
|
|
9362
9362
|
}
|
|
9363
9363
|
function isArray$4(obj) {
|
|
9364
|
-
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
9364
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
9365
9365
|
}
|
|
9366
9366
|
function isDate$2(obj) {
|
|
9367
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
9367
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
9368
9368
|
}
|
|
9369
9369
|
function isRegExp$2(obj) {
|
|
9370
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9370
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9371
9371
|
}
|
|
9372
9372
|
function isError(obj) {
|
|
9373
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
9373
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
9374
9374
|
}
|
|
9375
9375
|
function isString$1(obj) {
|
|
9376
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
9376
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
9377
9377
|
}
|
|
9378
9378
|
function isNumber$1(obj) {
|
|
9379
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
9379
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
9380
9380
|
}
|
|
9381
9381
|
function isBoolean$1(obj) {
|
|
9382
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9382
|
+
return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9383
9383
|
}
|
|
9384
9384
|
function isSymbol(obj) {
|
|
9385
9385
|
if (hasShammedSymbols) {
|
|
@@ -9415,7 +9415,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
9415
9415
|
function has$5(obj, key) {
|
|
9416
9416
|
return hasOwn$1.call(obj, key);
|
|
9417
9417
|
}
|
|
9418
|
-
function toStr(obj) {
|
|
9418
|
+
function toStr$1(obj) {
|
|
9419
9419
|
return objectToString.call(obj);
|
|
9420
9420
|
}
|
|
9421
9421
|
function nameOf(f2) {
|
|
@@ -9724,7 +9724,7 @@ var syntax = SyntaxError;
|
|
|
9724
9724
|
var uri = URIError;
|
|
9725
9725
|
var abs$1 = Math.abs;
|
|
9726
9726
|
var floor$1 = Math.floor;
|
|
9727
|
-
var max$
|
|
9727
|
+
var max$2 = Math.max;
|
|
9728
9728
|
var min$1 = Math.min;
|
|
9729
9729
|
var pow$1 = Math.pow;
|
|
9730
9730
|
var round$1 = Math.round;
|
|
@@ -9853,99 +9853,78 @@ function requireObject_getPrototypeOf() {
|
|
|
9853
9853
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
9854
9854
|
return Object_getPrototypeOf;
|
|
9855
9855
|
}
|
|
9856
|
-
var
|
|
9857
|
-
var
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
var
|
|
9862
|
-
var
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
var
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
}
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9856
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
9857
|
+
var toStr = Object.prototype.toString;
|
|
9858
|
+
var max$1 = Math.max;
|
|
9859
|
+
var funcType = "[object Function]";
|
|
9860
|
+
var concatty = function concatty2(a2, b2) {
|
|
9861
|
+
var arr = [];
|
|
9862
|
+
for (var i2 = 0; i2 < a2.length; i2 += 1) {
|
|
9863
|
+
arr[i2] = a2[i2];
|
|
9864
|
+
}
|
|
9865
|
+
for (var j2 = 0; j2 < b2.length; j2 += 1) {
|
|
9866
|
+
arr[j2 + a2.length] = b2[j2];
|
|
9867
|
+
}
|
|
9868
|
+
return arr;
|
|
9869
|
+
};
|
|
9870
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
9871
|
+
var arr = [];
|
|
9872
|
+
for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
9873
|
+
arr[j2] = arrLike[i2];
|
|
9874
|
+
}
|
|
9875
|
+
return arr;
|
|
9876
|
+
};
|
|
9877
|
+
var joiny = function(arr, joiner) {
|
|
9878
|
+
var str = "";
|
|
9879
|
+
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
9880
|
+
str += arr[i2];
|
|
9881
|
+
if (i2 + 1 < arr.length) {
|
|
9882
|
+
str += joiner;
|
|
9879
9883
|
}
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9884
|
+
}
|
|
9885
|
+
return str;
|
|
9886
|
+
};
|
|
9887
|
+
var implementation$1 = function bind(that) {
|
|
9888
|
+
var target = this;
|
|
9889
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
9890
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
9891
|
+
}
|
|
9892
|
+
var args = slicy(arguments, 1);
|
|
9893
|
+
var bound;
|
|
9894
|
+
var binder = function() {
|
|
9895
|
+
if (this instanceof bound) {
|
|
9896
|
+
var result = target.apply(
|
|
9897
|
+
this,
|
|
9898
|
+
concatty(args, arguments)
|
|
9899
|
+
);
|
|
9900
|
+
if (Object(result) === result) {
|
|
9901
|
+
return result;
|
|
9888
9902
|
}
|
|
9903
|
+
return this;
|
|
9889
9904
|
}
|
|
9890
|
-
return
|
|
9905
|
+
return target.apply(
|
|
9906
|
+
that,
|
|
9907
|
+
concatty(args, arguments)
|
|
9908
|
+
);
|
|
9891
9909
|
};
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
var
|
|
9900
|
-
if (this instanceof bound) {
|
|
9901
|
-
var result = target.apply(
|
|
9902
|
-
this,
|
|
9903
|
-
concatty(args, arguments)
|
|
9904
|
-
);
|
|
9905
|
-
if (Object(result) === result) {
|
|
9906
|
-
return result;
|
|
9907
|
-
}
|
|
9908
|
-
return this;
|
|
9909
|
-
}
|
|
9910
|
-
return target.apply(
|
|
9911
|
-
that,
|
|
9912
|
-
concatty(args, arguments)
|
|
9913
|
-
);
|
|
9910
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
9911
|
+
var boundArgs = [];
|
|
9912
|
+
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
9913
|
+
boundArgs[i2] = "$" + i2;
|
|
9914
|
+
}
|
|
9915
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
9916
|
+
if (target.prototype) {
|
|
9917
|
+
var Empty = function Empty2() {
|
|
9914
9918
|
};
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
|
|
9921
|
-
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
Empty.prototype = target.prototype;
|
|
9925
|
-
bound.prototype = new Empty();
|
|
9926
|
-
Empty.prototype = null;
|
|
9927
|
-
}
|
|
9928
|
-
return bound;
|
|
9929
|
-
};
|
|
9930
|
-
return implementation;
|
|
9931
|
-
}
|
|
9932
|
-
var functionBind;
|
|
9933
|
-
var hasRequiredFunctionBind;
|
|
9934
|
-
function requireFunctionBind() {
|
|
9935
|
-
if (hasRequiredFunctionBind) return functionBind;
|
|
9936
|
-
hasRequiredFunctionBind = 1;
|
|
9937
|
-
var implementation2 = requireImplementation();
|
|
9938
|
-
functionBind = Function.prototype.bind || implementation2;
|
|
9939
|
-
return functionBind;
|
|
9940
|
-
}
|
|
9941
|
-
var functionCall;
|
|
9942
|
-
var hasRequiredFunctionCall;
|
|
9943
|
-
function requireFunctionCall() {
|
|
9944
|
-
if (hasRequiredFunctionCall) return functionCall;
|
|
9945
|
-
hasRequiredFunctionCall = 1;
|
|
9946
|
-
functionCall = Function.prototype.call;
|
|
9947
|
-
return functionCall;
|
|
9948
|
-
}
|
|
9919
|
+
Empty.prototype = target.prototype;
|
|
9920
|
+
bound.prototype = new Empty();
|
|
9921
|
+
Empty.prototype = null;
|
|
9922
|
+
}
|
|
9923
|
+
return bound;
|
|
9924
|
+
};
|
|
9925
|
+
var implementation = implementation$1;
|
|
9926
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
9927
|
+
var functionCall = Function.prototype.call;
|
|
9949
9928
|
var functionApply;
|
|
9950
9929
|
var hasRequiredFunctionApply;
|
|
9951
9930
|
function requireFunctionApply() {
|
|
@@ -9955,14 +9934,14 @@ function requireFunctionApply() {
|
|
|
9955
9934
|
return functionApply;
|
|
9956
9935
|
}
|
|
9957
9936
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
9958
|
-
var bind$3 =
|
|
9937
|
+
var bind$3 = functionBind;
|
|
9959
9938
|
var $apply$1 = requireFunctionApply();
|
|
9960
|
-
var $call$2 =
|
|
9939
|
+
var $call$2 = functionCall;
|
|
9961
9940
|
var $reflectApply = reflectApply;
|
|
9962
9941
|
var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
|
|
9963
|
-
var bind$2 =
|
|
9942
|
+
var bind$2 = functionBind;
|
|
9964
9943
|
var $TypeError$4 = type;
|
|
9965
|
-
var $call$1 =
|
|
9944
|
+
var $call$1 = functionCall;
|
|
9966
9945
|
var $actualApply = actualApply;
|
|
9967
9946
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
9968
9947
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -10028,8 +10007,8 @@ function requireHasown() {
|
|
|
10028
10007
|
hasRequiredHasown = 1;
|
|
10029
10008
|
var call = Function.prototype.call;
|
|
10030
10009
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
10031
|
-
var
|
|
10032
|
-
hasown =
|
|
10010
|
+
var bind3 = functionBind;
|
|
10011
|
+
hasown = bind3.call(call, $hasOwn);
|
|
10033
10012
|
return hasown;
|
|
10034
10013
|
}
|
|
10035
10014
|
var undefined$1;
|
|
@@ -10043,7 +10022,7 @@ var $TypeError$3 = type;
|
|
|
10043
10022
|
var $URIError = uri;
|
|
10044
10023
|
var abs = abs$1;
|
|
10045
10024
|
var floor = floor$1;
|
|
10046
|
-
var max = max$
|
|
10025
|
+
var max = max$2;
|
|
10047
10026
|
var min = min$1;
|
|
10048
10027
|
var pow = pow$1;
|
|
10049
10028
|
var round = round$1;
|
|
@@ -10077,7 +10056,7 @@ var getProto = requireGetProto();
|
|
|
10077
10056
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
10078
10057
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
10079
10058
|
var $apply = requireFunctionApply();
|
|
10080
|
-
var $call =
|
|
10059
|
+
var $call = functionCall;
|
|
10081
10060
|
var needsEval = {};
|
|
10082
10061
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
10083
10062
|
var INTRINSICS = {
|
|
@@ -10248,7 +10227,7 @@ var LEGACY_ALIASES = {
|
|
|
10248
10227
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
10249
10228
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
10250
10229
|
};
|
|
10251
|
-
var bind$1 =
|
|
10230
|
+
var bind$1 = functionBind;
|
|
10252
10231
|
var hasOwn = requireHasown();
|
|
10253
10232
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
10254
10233
|
var $spliceApply = bind$1.call($apply, Array.prototype.splice);
|
|
@@ -14579,7 +14558,7 @@ const admin = adminApi.enhanceEndpoints({
|
|
|
14579
14558
|
overrideExisting: false
|
|
14580
14559
|
});
|
|
14581
14560
|
const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
|
|
14582
|
-
function
|
|
14561
|
+
function bind2(fn2, thisArg) {
|
|
14583
14562
|
return function wrap() {
|
|
14584
14563
|
return fn2.apply(thisArg, arguments);
|
|
14585
14564
|
};
|
|
@@ -14716,7 +14695,7 @@ function merge2() {
|
|
|
14716
14695
|
const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
|
|
14717
14696
|
forEach$1(b2, (val, key) => {
|
|
14718
14697
|
if (thisArg && isFunction$1(val)) {
|
|
14719
|
-
a2[key] =
|
|
14698
|
+
a2[key] = bind2(val, thisArg);
|
|
14720
14699
|
} else {
|
|
14721
14700
|
a2[key] = val;
|
|
14722
14701
|
}
|
|
@@ -16996,7 +16975,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
|
16996
16975
|
});
|
|
16997
16976
|
function createInstance(defaultConfig) {
|
|
16998
16977
|
const context = new Axios$1(defaultConfig);
|
|
16999
|
-
const instance =
|
|
16978
|
+
const instance = bind2(Axios$1.prototype.request, context);
|
|
17000
16979
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
17001
16980
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
17002
16981
|
instance.create = function create2(instanceConfig) {
|
package/dist/admin/index.js
CHANGED
|
@@ -37,7 +37,7 @@ const index = {
|
|
|
37
37
|
defaultMessage: PLUGIN_ID
|
|
38
38
|
},
|
|
39
39
|
Component: async () => {
|
|
40
|
-
const { App } = await Promise.resolve().then(() => require("../_chunks/App-
|
|
40
|
+
const { App } = await Promise.resolve().then(() => require("../_chunks/App-Cc6UTNkw.js"));
|
|
41
41
|
return App;
|
|
42
42
|
}
|
|
43
43
|
});
|
package/dist/admin/index.mjs
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -747,8 +747,8 @@ const ask = ({ strapi }) => ({
|
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
|
-
const
|
|
751
|
-
async
|
|
750
|
+
const cardMapping = ({ strapi }) => ({
|
|
751
|
+
async index(ctx) {
|
|
752
752
|
const pluginStore = strapi.store({
|
|
753
753
|
environment: null,
|
|
754
754
|
type: "plugin",
|
|
@@ -756,12 +756,12 @@ const suggestQuestions = ({ strapi }) => ({
|
|
|
756
756
|
});
|
|
757
757
|
const settings = await pluginStore.get({ key: "settings" });
|
|
758
758
|
ctx.body = {
|
|
759
|
-
|
|
759
|
+
cardStyles: settings?.cardStyles || {}
|
|
760
760
|
};
|
|
761
761
|
}
|
|
762
762
|
});
|
|
763
|
-
const
|
|
764
|
-
async
|
|
763
|
+
const suggestQuestionsAndLogo = ({ strapi }) => ({
|
|
764
|
+
async getSuggestionAndLogo(ctx) {
|
|
765
765
|
const pluginStore = strapi.store({
|
|
766
766
|
environment: null,
|
|
767
767
|
type: "plugin",
|
|
@@ -769,7 +769,8 @@ const cardMapping = ({ strapi }) => ({
|
|
|
769
769
|
});
|
|
770
770
|
const settings = await pluginStore.get({ key: "settings" });
|
|
771
771
|
ctx.body = {
|
|
772
|
-
|
|
772
|
+
suggestedQuestions: settings?.suggestedQuestions || [],
|
|
773
|
+
logoUrl: settings?.logoUrl || null
|
|
773
774
|
};
|
|
774
775
|
}
|
|
775
776
|
});
|
|
@@ -777,7 +778,7 @@ const controllers = {
|
|
|
777
778
|
controller,
|
|
778
779
|
config: config$1,
|
|
779
780
|
ask,
|
|
780
|
-
|
|
781
|
+
suggestQuestionsAndLogo,
|
|
781
782
|
cardMapping
|
|
782
783
|
};
|
|
783
784
|
const middlewares = {};
|
|
@@ -824,8 +825,8 @@ const contentApi = () => ({
|
|
|
824
825
|
},
|
|
825
826
|
{
|
|
826
827
|
method: "GET",
|
|
827
|
-
path: "/
|
|
828
|
-
handler: "
|
|
828
|
+
path: "/suggestion-and-logo",
|
|
829
|
+
handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
|
|
829
830
|
config: {
|
|
830
831
|
auth: false
|
|
831
832
|
}
|
package/dist/server/index.mjs
CHANGED
|
@@ -744,8 +744,8 @@ const ask = ({ strapi }) => ({
|
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
});
|
|
747
|
-
const
|
|
748
|
-
async
|
|
747
|
+
const cardMapping = ({ strapi }) => ({
|
|
748
|
+
async index(ctx) {
|
|
749
749
|
const pluginStore = strapi.store({
|
|
750
750
|
environment: null,
|
|
751
751
|
type: "plugin",
|
|
@@ -753,12 +753,12 @@ const suggestQuestions = ({ strapi }) => ({
|
|
|
753
753
|
});
|
|
754
754
|
const settings = await pluginStore.get({ key: "settings" });
|
|
755
755
|
ctx.body = {
|
|
756
|
-
|
|
756
|
+
cardStyles: settings?.cardStyles || {}
|
|
757
757
|
};
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
|
-
const
|
|
761
|
-
async
|
|
760
|
+
const suggestQuestionsAndLogo = ({ strapi }) => ({
|
|
761
|
+
async getSuggestionAndLogo(ctx) {
|
|
762
762
|
const pluginStore = strapi.store({
|
|
763
763
|
environment: null,
|
|
764
764
|
type: "plugin",
|
|
@@ -766,7 +766,8 @@ const cardMapping = ({ strapi }) => ({
|
|
|
766
766
|
});
|
|
767
767
|
const settings = await pluginStore.get({ key: "settings" });
|
|
768
768
|
ctx.body = {
|
|
769
|
-
|
|
769
|
+
suggestedQuestions: settings?.suggestedQuestions || [],
|
|
770
|
+
logoUrl: settings?.logoUrl || null
|
|
770
771
|
};
|
|
771
772
|
}
|
|
772
773
|
});
|
|
@@ -774,7 +775,7 @@ const controllers = {
|
|
|
774
775
|
controller,
|
|
775
776
|
config: config$1,
|
|
776
777
|
ask,
|
|
777
|
-
|
|
778
|
+
suggestQuestionsAndLogo,
|
|
778
779
|
cardMapping
|
|
779
780
|
};
|
|
780
781
|
const middlewares = {};
|
|
@@ -821,8 +822,8 @@ const contentApi = () => ({
|
|
|
821
822
|
},
|
|
822
823
|
{
|
|
823
824
|
method: "GET",
|
|
824
|
-
path: "/
|
|
825
|
-
handler: "
|
|
825
|
+
path: "/suggestion-and-logo",
|
|
826
|
+
handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
|
|
826
827
|
config: {
|
|
827
828
|
auth: false
|
|
828
829
|
}
|
package/package.json
CHANGED