strapi-plugin-firebase-authentication 1.1.8 → 1.1.9
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-Dt8F60Rl.mjs → App-C0XJYDQh.mjs} +93 -114
- package/dist/_chunks/{App-C_pWLYYH.js → App-COMAshYj.js} +93 -114
- package/dist/_chunks/{api-T8QRCile.mjs → api-CM79I13t.mjs} +1 -1
- package/dist/_chunks/{api-CxfueBVM.js → api-DzbiYzK4.js} +1 -1
- package/dist/_chunks/{index-Do9Y0scX.mjs → index-4s0RQKAx.mjs} +2 -2
- package/dist/_chunks/{index-BzSU0Li9.mjs → index-B8sQntQh.mjs} +1 -1
- package/dist/_chunks/{index-BIHS9XB4.js → index-DHMYqfl3.js} +2 -2
- package/dist/_chunks/{index-C87l6qcA.js → index-DyXjIUy8.js} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +110 -52
- package/dist/server/index.mjs +110 -52
- package/dist/server/src/controllers/firebaseController.d.ts +0 -1
- package/dist/server/src/controllers/index.d.ts +0 -1
- package/dist/server/src/index.d.ts +4 -5
- package/dist/server/src/services/firebaseService.d.ts +3 -3
- package/dist/server/src/services/index.d.ts +4 -4
- package/dist/server/src/services/settingsService.d.ts +1 -2
- package/package.json +1 -1
|
@@ -5,13 +5,13 @@ import { Provider } from "@radix-ui/react-tooltip";
|
|
|
5
5
|
import React, { useState, useCallback, useMemo, useEffect, useRef, useLayoutEffect } from "react";
|
|
6
6
|
import { Link, Flex, Box, Button, Tooltip, Tbody, Tr, Td, Checkbox, Typography, Modal, Table, Thead, Th, SingleSelect, SingleSelectOption, SearchForm, Searchbar, IconButton, Dialog, Tabs, TextInput, Alert, Field, Toggle, Divider } from "@strapi/design-system";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
|
-
import { i as isArguments_1, a as isBufferExports, b as isTypedArray_1, c as isLength_1, d as isFunction_1, _ as _getTag, e as _Stack, f as _equalArrays, g as _equalByTag, h as isObjectLike_1, j as getDefaultExportFromCjs, k as _baseGetTag, l as _MapCache, m as _Symbol, P as PLUGIN_ID, n as getAugmentedNamespace, o as commonjsGlobal } from "./index-
|
|
8
|
+
import { i as isArguments_1, a as isBufferExports, b as isTypedArray_1, c as isLength_1, d as isFunction_1, _ as _getTag, e as _Stack, f as _equalArrays, g as _equalByTag, h as isObjectLike_1, j as getDefaultExportFromCjs, k as _baseGetTag, l as _MapCache, m as _Symbol, P as PLUGIN_ID, n as getAugmentedNamespace, o as commonjsGlobal } from "./index-4s0RQKAx.mjs";
|
|
9
9
|
import { ArrowLeft, Key, Trash, WarningCircle, CaretUp, CaretDown, Search, Plus, Pencil } from "@strapi/icons";
|
|
10
10
|
import styled from "styled-components";
|
|
11
11
|
import { RxCheck, RxCross2 } from "react-icons/rx";
|
|
12
12
|
import { AiOutlineUserAdd, AiFillPhone, AiFillMail, AiFillYahoo, AiFillGithub, AiFillTwitterCircle, AiFillFacebook, AiFillApple, AiFillGoogleCircle } from "react-icons/ai";
|
|
13
13
|
import { MdPassword } from "react-icons/md";
|
|
14
|
-
import { g as getFirebaseConfig$1 } from "./api-
|
|
14
|
+
import { g as getFirebaseConfig$1 } from "./api-CM79I13t.mjs";
|
|
15
15
|
import * as PhoneInputModule from "react-phone-input-2";
|
|
16
16
|
import "react-phone-input-2/lib/style.css";
|
|
17
17
|
import validator from "validator";
|
|
@@ -2966,7 +2966,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
2966
2966
|
var ys = arrObjKeys(obj, inspect2);
|
|
2967
2967
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
2968
2968
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
2969
|
-
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2969
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2970
2970
|
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
2971
2971
|
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
2972
2972
|
if (ys.length === 0) {
|
|
@@ -2991,25 +2991,25 @@ function canTrustToString(obj) {
|
|
|
2991
2991
|
return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
|
|
2992
2992
|
}
|
|
2993
2993
|
function isArray$3(obj) {
|
|
2994
|
-
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
2994
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
2995
2995
|
}
|
|
2996
2996
|
function isDate(obj) {
|
|
2997
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
2997
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
2998
2998
|
}
|
|
2999
2999
|
function isRegExp$1(obj) {
|
|
3000
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
3000
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
3001
3001
|
}
|
|
3002
3002
|
function isError(obj) {
|
|
3003
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
3003
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
3004
3004
|
}
|
|
3005
3005
|
function isString(obj) {
|
|
3006
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
3006
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
3007
3007
|
}
|
|
3008
3008
|
function isNumber(obj) {
|
|
3009
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
3009
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
3010
3010
|
}
|
|
3011
3011
|
function isBoolean(obj) {
|
|
3012
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
3012
|
+
return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
3013
3013
|
}
|
|
3014
3014
|
function isSymbol(obj) {
|
|
3015
3015
|
if (hasShammedSymbols) {
|
|
@@ -3045,7 +3045,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
3045
3045
|
function has$3(obj, key) {
|
|
3046
3046
|
return hasOwn$1.call(obj, key);
|
|
3047
3047
|
}
|
|
3048
|
-
function toStr(obj) {
|
|
3048
|
+
function toStr$1(obj) {
|
|
3049
3049
|
return objectToString.call(obj);
|
|
3050
3050
|
}
|
|
3051
3051
|
function nameOf(f) {
|
|
@@ -3354,7 +3354,7 @@ var syntax = SyntaxError;
|
|
|
3354
3354
|
var uri = URIError;
|
|
3355
3355
|
var abs$1 = Math.abs;
|
|
3356
3356
|
var floor$1 = Math.floor;
|
|
3357
|
-
var max$
|
|
3357
|
+
var max$2 = Math.max;
|
|
3358
3358
|
var min$1 = Math.min;
|
|
3359
3359
|
var pow$1 = Math.pow;
|
|
3360
3360
|
var round$1 = Math.round;
|
|
@@ -3483,99 +3483,78 @@ function requireObject_getPrototypeOf() {
|
|
|
3483
3483
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
3484
3484
|
return Object_getPrototypeOf;
|
|
3485
3485
|
}
|
|
3486
|
-
var
|
|
3487
|
-
var
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
var
|
|
3492
|
-
var
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
var
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
}
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
var str = "";
|
|
3514
|
-
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
3515
|
-
str += arr[i2];
|
|
3516
|
-
if (i2 + 1 < arr.length) {
|
|
3517
|
-
str += joiner;
|
|
3518
|
-
}
|
|
3486
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
3487
|
+
var toStr = Object.prototype.toString;
|
|
3488
|
+
var max$1 = Math.max;
|
|
3489
|
+
var funcType = "[object Function]";
|
|
3490
|
+
var concatty = function concatty2(a3, b2) {
|
|
3491
|
+
var arr = [];
|
|
3492
|
+
for (var i2 = 0; i2 < a3.length; i2 += 1) {
|
|
3493
|
+
arr[i2] = a3[i2];
|
|
3494
|
+
}
|
|
3495
|
+
for (var j = 0; j < b2.length; j += 1) {
|
|
3496
|
+
arr[j + a3.length] = b2[j];
|
|
3497
|
+
}
|
|
3498
|
+
return arr;
|
|
3499
|
+
};
|
|
3500
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
3501
|
+
var arr = [];
|
|
3502
|
+
for (var i2 = offset, j = 0; i2 < arrLike.length; i2 += 1, j += 1) {
|
|
3503
|
+
arr[j] = arrLike[i2];
|
|
3504
|
+
}
|
|
3505
|
+
return arr;
|
|
3506
|
+
};
|
|
3507
|
+
var joiny = function(arr, joiner) {
|
|
3508
|
+
var str = "";
|
|
3509
|
+
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
3510
|
+
str += arr[i2];
|
|
3511
|
+
if (i2 + 1 < arr.length) {
|
|
3512
|
+
str += joiner;
|
|
3519
3513
|
}
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
);
|
|
3535
|
-
if (Object(result) === result) {
|
|
3536
|
-
return result;
|
|
3537
|
-
}
|
|
3538
|
-
return this;
|
|
3539
|
-
}
|
|
3540
|
-
return target.apply(
|
|
3541
|
-
that,
|
|
3514
|
+
}
|
|
3515
|
+
return str;
|
|
3516
|
+
};
|
|
3517
|
+
var implementation$1 = function bind(that) {
|
|
3518
|
+
var target = this;
|
|
3519
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
3520
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
3521
|
+
}
|
|
3522
|
+
var args = slicy(arguments, 1);
|
|
3523
|
+
var bound;
|
|
3524
|
+
var binder = function() {
|
|
3525
|
+
if (this instanceof bound) {
|
|
3526
|
+
var result = target.apply(
|
|
3527
|
+
this,
|
|
3542
3528
|
concatty(args, arguments)
|
|
3543
3529
|
);
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
boundArgs[i2] = "$" + i2;
|
|
3549
|
-
}
|
|
3550
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
3551
|
-
if (target.prototype) {
|
|
3552
|
-
var Empty = function Empty2() {
|
|
3553
|
-
};
|
|
3554
|
-
Empty.prototype = target.prototype;
|
|
3555
|
-
bound.prototype = new Empty();
|
|
3556
|
-
Empty.prototype = null;
|
|
3530
|
+
if (Object(result) === result) {
|
|
3531
|
+
return result;
|
|
3532
|
+
}
|
|
3533
|
+
return this;
|
|
3557
3534
|
}
|
|
3558
|
-
return
|
|
3535
|
+
return target.apply(
|
|
3536
|
+
that,
|
|
3537
|
+
concatty(args, arguments)
|
|
3538
|
+
);
|
|
3559
3539
|
};
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
var
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
}
|
|
3540
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
3541
|
+
var boundArgs = [];
|
|
3542
|
+
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
3543
|
+
boundArgs[i2] = "$" + i2;
|
|
3544
|
+
}
|
|
3545
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
3546
|
+
if (target.prototype) {
|
|
3547
|
+
var Empty = function Empty2() {
|
|
3548
|
+
};
|
|
3549
|
+
Empty.prototype = target.prototype;
|
|
3550
|
+
bound.prototype = new Empty();
|
|
3551
|
+
Empty.prototype = null;
|
|
3552
|
+
}
|
|
3553
|
+
return bound;
|
|
3554
|
+
};
|
|
3555
|
+
var implementation = implementation$1;
|
|
3556
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
3557
|
+
var functionCall = Function.prototype.call;
|
|
3579
3558
|
var functionApply;
|
|
3580
3559
|
var hasRequiredFunctionApply;
|
|
3581
3560
|
function requireFunctionApply() {
|
|
@@ -3585,14 +3564,14 @@ function requireFunctionApply() {
|
|
|
3585
3564
|
return functionApply;
|
|
3586
3565
|
}
|
|
3587
3566
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
3588
|
-
var bind$2 =
|
|
3567
|
+
var bind$2 = functionBind;
|
|
3589
3568
|
var $apply$1 = requireFunctionApply();
|
|
3590
|
-
var $call$2 =
|
|
3569
|
+
var $call$2 = functionCall;
|
|
3591
3570
|
var $reflectApply = reflectApply;
|
|
3592
3571
|
var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
|
|
3593
|
-
var bind$1 =
|
|
3572
|
+
var bind$1 = functionBind;
|
|
3594
3573
|
var $TypeError$4 = type;
|
|
3595
|
-
var $call$1 =
|
|
3574
|
+
var $call$1 = functionCall;
|
|
3596
3575
|
var $actualApply = actualApply;
|
|
3597
3576
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
3598
3577
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -3658,8 +3637,8 @@ function requireHasown() {
|
|
|
3658
3637
|
hasRequiredHasown = 1;
|
|
3659
3638
|
var call = Function.prototype.call;
|
|
3660
3639
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
3661
|
-
var
|
|
3662
|
-
hasown =
|
|
3640
|
+
var bind3 = functionBind;
|
|
3641
|
+
hasown = bind3.call(call, $hasOwn);
|
|
3663
3642
|
return hasown;
|
|
3664
3643
|
}
|
|
3665
3644
|
var undefined$1;
|
|
@@ -3673,7 +3652,7 @@ var $TypeError$3 = type;
|
|
|
3673
3652
|
var $URIError = uri;
|
|
3674
3653
|
var abs = abs$1;
|
|
3675
3654
|
var floor = floor$1;
|
|
3676
|
-
var max = max$
|
|
3655
|
+
var max = max$2;
|
|
3677
3656
|
var min = min$1;
|
|
3678
3657
|
var pow = pow$1;
|
|
3679
3658
|
var round = round$1;
|
|
@@ -3707,7 +3686,7 @@ var getProto = requireGetProto();
|
|
|
3707
3686
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
3708
3687
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
3709
3688
|
var $apply = requireFunctionApply();
|
|
3710
|
-
var $call =
|
|
3689
|
+
var $call = functionCall;
|
|
3711
3690
|
var needsEval = {};
|
|
3712
3691
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
3713
3692
|
var INTRINSICS = {
|
|
@@ -3878,13 +3857,13 @@ var LEGACY_ALIASES = {
|
|
|
3878
3857
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
3879
3858
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
3880
3859
|
};
|
|
3881
|
-
var
|
|
3860
|
+
var bind2 = functionBind;
|
|
3882
3861
|
var hasOwn = requireHasown();
|
|
3883
|
-
var $concat =
|
|
3884
|
-
var $spliceApply =
|
|
3885
|
-
var $replace =
|
|
3886
|
-
var $strSlice =
|
|
3887
|
-
var $exec =
|
|
3862
|
+
var $concat = bind2.call($call, Array.prototype.concat);
|
|
3863
|
+
var $spliceApply = bind2.call($apply, Array.prototype.splice);
|
|
3864
|
+
var $replace = bind2.call($call, String.prototype.replace);
|
|
3865
|
+
var $strSlice = bind2.call($call, String.prototype.slice);
|
|
3866
|
+
var $exec = bind2.call($call, RegExp.prototype.exec);
|
|
3888
3867
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
3889
3868
|
var reEscapeChar = /\\(\\)?/g;
|
|
3890
3869
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -7,13 +7,13 @@ const reactTooltip = require("@radix-ui/react-tooltip");
|
|
|
7
7
|
const React = require("react");
|
|
8
8
|
const designSystem = require("@strapi/design-system");
|
|
9
9
|
const reactIntl = require("react-intl");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-DHMYqfl3.js");
|
|
11
11
|
const icons = require("@strapi/icons");
|
|
12
12
|
const styled = require("styled-components");
|
|
13
13
|
const rx = require("react-icons/rx");
|
|
14
14
|
const ai = require("react-icons/ai");
|
|
15
15
|
const md = require("react-icons/md");
|
|
16
|
-
const api = require("./api-
|
|
16
|
+
const api = require("./api-DzbiYzK4.js");
|
|
17
17
|
const PhoneInputModule = require("react-phone-input-2");
|
|
18
18
|
require("react-phone-input-2/lib/style.css");
|
|
19
19
|
const validator = require("validator");
|
|
@@ -2990,7 +2990,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
2990
2990
|
var ys = arrObjKeys(obj, inspect2);
|
|
2991
2991
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
2992
2992
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
2993
|
-
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2993
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2994
2994
|
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
2995
2995
|
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
2996
2996
|
if (ys.length === 0) {
|
|
@@ -3015,25 +3015,25 @@ function canTrustToString(obj) {
|
|
|
3015
3015
|
return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
|
|
3016
3016
|
}
|
|
3017
3017
|
function isArray$3(obj) {
|
|
3018
|
-
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
3018
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
3019
3019
|
}
|
|
3020
3020
|
function isDate(obj) {
|
|
3021
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
3021
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
3022
3022
|
}
|
|
3023
3023
|
function isRegExp$1(obj) {
|
|
3024
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
3024
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
3025
3025
|
}
|
|
3026
3026
|
function isError(obj) {
|
|
3027
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
3027
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
3028
3028
|
}
|
|
3029
3029
|
function isString(obj) {
|
|
3030
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
3030
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
3031
3031
|
}
|
|
3032
3032
|
function isNumber(obj) {
|
|
3033
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
3033
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
3034
3034
|
}
|
|
3035
3035
|
function isBoolean(obj) {
|
|
3036
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
3036
|
+
return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
3037
3037
|
}
|
|
3038
3038
|
function isSymbol(obj) {
|
|
3039
3039
|
if (hasShammedSymbols) {
|
|
@@ -3069,7 +3069,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
3069
3069
|
function has$3(obj, key) {
|
|
3070
3070
|
return hasOwn$1.call(obj, key);
|
|
3071
3071
|
}
|
|
3072
|
-
function toStr(obj) {
|
|
3072
|
+
function toStr$1(obj) {
|
|
3073
3073
|
return objectToString.call(obj);
|
|
3074
3074
|
}
|
|
3075
3075
|
function nameOf(f) {
|
|
@@ -3378,7 +3378,7 @@ var syntax = SyntaxError;
|
|
|
3378
3378
|
var uri = URIError;
|
|
3379
3379
|
var abs$1 = Math.abs;
|
|
3380
3380
|
var floor$1 = Math.floor;
|
|
3381
|
-
var max$
|
|
3381
|
+
var max$2 = Math.max;
|
|
3382
3382
|
var min$1 = Math.min;
|
|
3383
3383
|
var pow$1 = Math.pow;
|
|
3384
3384
|
var round$1 = Math.round;
|
|
@@ -3507,99 +3507,78 @@ function requireObject_getPrototypeOf() {
|
|
|
3507
3507
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
3508
3508
|
return Object_getPrototypeOf;
|
|
3509
3509
|
}
|
|
3510
|
-
var
|
|
3511
|
-
var
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
var
|
|
3516
|
-
var
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
var
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
}
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
var str = "";
|
|
3538
|
-
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
3539
|
-
str += arr[i2];
|
|
3540
|
-
if (i2 + 1 < arr.length) {
|
|
3541
|
-
str += joiner;
|
|
3542
|
-
}
|
|
3510
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
3511
|
+
var toStr = Object.prototype.toString;
|
|
3512
|
+
var max$1 = Math.max;
|
|
3513
|
+
var funcType = "[object Function]";
|
|
3514
|
+
var concatty = function concatty2(a3, b2) {
|
|
3515
|
+
var arr = [];
|
|
3516
|
+
for (var i2 = 0; i2 < a3.length; i2 += 1) {
|
|
3517
|
+
arr[i2] = a3[i2];
|
|
3518
|
+
}
|
|
3519
|
+
for (var j = 0; j < b2.length; j += 1) {
|
|
3520
|
+
arr[j + a3.length] = b2[j];
|
|
3521
|
+
}
|
|
3522
|
+
return arr;
|
|
3523
|
+
};
|
|
3524
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
3525
|
+
var arr = [];
|
|
3526
|
+
for (var i2 = offset, j = 0; i2 < arrLike.length; i2 += 1, j += 1) {
|
|
3527
|
+
arr[j] = arrLike[i2];
|
|
3528
|
+
}
|
|
3529
|
+
return arr;
|
|
3530
|
+
};
|
|
3531
|
+
var joiny = function(arr, joiner) {
|
|
3532
|
+
var str = "";
|
|
3533
|
+
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
3534
|
+
str += arr[i2];
|
|
3535
|
+
if (i2 + 1 < arr.length) {
|
|
3536
|
+
str += joiner;
|
|
3543
3537
|
}
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
);
|
|
3559
|
-
if (Object(result) === result) {
|
|
3560
|
-
return result;
|
|
3561
|
-
}
|
|
3562
|
-
return this;
|
|
3563
|
-
}
|
|
3564
|
-
return target.apply(
|
|
3565
|
-
that,
|
|
3538
|
+
}
|
|
3539
|
+
return str;
|
|
3540
|
+
};
|
|
3541
|
+
var implementation$1 = function bind(that) {
|
|
3542
|
+
var target = this;
|
|
3543
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
3544
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
3545
|
+
}
|
|
3546
|
+
var args = slicy(arguments, 1);
|
|
3547
|
+
var bound;
|
|
3548
|
+
var binder = function() {
|
|
3549
|
+
if (this instanceof bound) {
|
|
3550
|
+
var result = target.apply(
|
|
3551
|
+
this,
|
|
3566
3552
|
concatty(args, arguments)
|
|
3567
3553
|
);
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
boundArgs[i2] = "$" + i2;
|
|
3573
|
-
}
|
|
3574
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
3575
|
-
if (target.prototype) {
|
|
3576
|
-
var Empty = function Empty2() {
|
|
3577
|
-
};
|
|
3578
|
-
Empty.prototype = target.prototype;
|
|
3579
|
-
bound.prototype = new Empty();
|
|
3580
|
-
Empty.prototype = null;
|
|
3554
|
+
if (Object(result) === result) {
|
|
3555
|
+
return result;
|
|
3556
|
+
}
|
|
3557
|
+
return this;
|
|
3581
3558
|
}
|
|
3582
|
-
return
|
|
3559
|
+
return target.apply(
|
|
3560
|
+
that,
|
|
3561
|
+
concatty(args, arguments)
|
|
3562
|
+
);
|
|
3583
3563
|
};
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
var
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
}
|
|
3564
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
3565
|
+
var boundArgs = [];
|
|
3566
|
+
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
3567
|
+
boundArgs[i2] = "$" + i2;
|
|
3568
|
+
}
|
|
3569
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
3570
|
+
if (target.prototype) {
|
|
3571
|
+
var Empty = function Empty2() {
|
|
3572
|
+
};
|
|
3573
|
+
Empty.prototype = target.prototype;
|
|
3574
|
+
bound.prototype = new Empty();
|
|
3575
|
+
Empty.prototype = null;
|
|
3576
|
+
}
|
|
3577
|
+
return bound;
|
|
3578
|
+
};
|
|
3579
|
+
var implementation = implementation$1;
|
|
3580
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
3581
|
+
var functionCall = Function.prototype.call;
|
|
3603
3582
|
var functionApply;
|
|
3604
3583
|
var hasRequiredFunctionApply;
|
|
3605
3584
|
function requireFunctionApply() {
|
|
@@ -3609,14 +3588,14 @@ function requireFunctionApply() {
|
|
|
3609
3588
|
return functionApply;
|
|
3610
3589
|
}
|
|
3611
3590
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
3612
|
-
var bind$2 =
|
|
3591
|
+
var bind$2 = functionBind;
|
|
3613
3592
|
var $apply$1 = requireFunctionApply();
|
|
3614
|
-
var $call$2 =
|
|
3593
|
+
var $call$2 = functionCall;
|
|
3615
3594
|
var $reflectApply = reflectApply;
|
|
3616
3595
|
var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
|
|
3617
|
-
var bind$1 =
|
|
3596
|
+
var bind$1 = functionBind;
|
|
3618
3597
|
var $TypeError$4 = type;
|
|
3619
|
-
var $call$1 =
|
|
3598
|
+
var $call$1 = functionCall;
|
|
3620
3599
|
var $actualApply = actualApply;
|
|
3621
3600
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
3622
3601
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -3682,8 +3661,8 @@ function requireHasown() {
|
|
|
3682
3661
|
hasRequiredHasown = 1;
|
|
3683
3662
|
var call = Function.prototype.call;
|
|
3684
3663
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
3685
|
-
var
|
|
3686
|
-
hasown =
|
|
3664
|
+
var bind3 = functionBind;
|
|
3665
|
+
hasown = bind3.call(call, $hasOwn);
|
|
3687
3666
|
return hasown;
|
|
3688
3667
|
}
|
|
3689
3668
|
var undefined$1;
|
|
@@ -3697,7 +3676,7 @@ var $TypeError$3 = type;
|
|
|
3697
3676
|
var $URIError = uri;
|
|
3698
3677
|
var abs = abs$1;
|
|
3699
3678
|
var floor = floor$1;
|
|
3700
|
-
var max = max$
|
|
3679
|
+
var max = max$2;
|
|
3701
3680
|
var min = min$1;
|
|
3702
3681
|
var pow = pow$1;
|
|
3703
3682
|
var round = round$1;
|
|
@@ -3731,7 +3710,7 @@ var getProto = requireGetProto();
|
|
|
3731
3710
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
3732
3711
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
3733
3712
|
var $apply = requireFunctionApply();
|
|
3734
|
-
var $call =
|
|
3713
|
+
var $call = functionCall;
|
|
3735
3714
|
var needsEval = {};
|
|
3736
3715
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
3737
3716
|
var INTRINSICS = {
|
|
@@ -3902,13 +3881,13 @@ var LEGACY_ALIASES = {
|
|
|
3902
3881
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
3903
3882
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
3904
3883
|
};
|
|
3905
|
-
var
|
|
3884
|
+
var bind2 = functionBind;
|
|
3906
3885
|
var hasOwn = requireHasown();
|
|
3907
|
-
var $concat =
|
|
3908
|
-
var $spliceApply =
|
|
3909
|
-
var $replace =
|
|
3910
|
-
var $strSlice =
|
|
3911
|
-
var $exec =
|
|
3886
|
+
var $concat = bind2.call($call, Array.prototype.concat);
|
|
3887
|
+
var $spliceApply = bind2.call($apply, Array.prototype.splice);
|
|
3888
|
+
var $replace = bind2.call($call, String.prototype.replace);
|
|
3889
|
+
var $strSlice = bind2.call($call, String.prototype.slice);
|
|
3890
|
+
var $exec = bind2.call($call, RegExp.prototype.exec);
|
|
3912
3891
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
3913
3892
|
var reEscapeChar = /\\(\\)?/g;
|
|
3914
3893
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getFetchClient } from "@strapi/strapi/admin";
|
|
2
|
-
import { P as PLUGIN_ID } from "./index-
|
|
2
|
+
import { P as PLUGIN_ID } from "./index-4s0RQKAx.mjs";
|
|
3
3
|
const saveFirebaseConfig = async (json, firebaseWebApiKey, passwordConfig) => {
|
|
4
4
|
const url = `/${PLUGIN_ID}/settings/firebase-config`;
|
|
5
5
|
const { post } = getFetchClient();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const admin = require("@strapi/strapi/admin");
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DHMYqfl3.js");
|
|
4
4
|
const saveFirebaseConfig = async (json, firebaseWebApiKey, passwordConfig) => {
|
|
5
5
|
const url = `/${index.PLUGIN_ID}/settings/firebase-config`;
|
|
6
6
|
const { post } = admin.getFetchClient();
|
|
@@ -738,7 +738,7 @@ const index = {
|
|
|
738
738
|
id: `${PLUGIN_ID}.page.title`,
|
|
739
739
|
defaultMessage: PLUGIN_ID
|
|
740
740
|
},
|
|
741
|
-
Component: () => import("./App-
|
|
741
|
+
Component: () => import("./App-C0XJYDQh.mjs").then((mod) => ({
|
|
742
742
|
default: mod.App
|
|
743
743
|
})),
|
|
744
744
|
permissions: PERMISSIONS["menu-link"]
|
|
@@ -760,7 +760,7 @@ const index = {
|
|
|
760
760
|
id: "settings",
|
|
761
761
|
to: `/settings/${PLUGIN_ID}`,
|
|
762
762
|
async Component() {
|
|
763
|
-
const component = await import("./index-
|
|
763
|
+
const component = await import("./index-B8sQntQh.mjs");
|
|
764
764
|
return component.default;
|
|
765
765
|
},
|
|
766
766
|
permissions: PERMISSIONS["menu-link"]
|