Files
NapCatQQ/.pnpm-store/v3/files/00/f9a346752eb3427ff12390ba18abc2591da7fa98df2de065743f2b8fd839bab5b58f7a4f81135fd27e07fb08b067abd149e2337efd6a6f50358b232727fd3b
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

42 lines
2.0 KiB
Plaintext

var $b2rU6$react = require("react");
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$export(module.exports, "UNSAFE_PortalProvider", () => $d7347c25ab757295$export$78efe591171d7d45);
$parcel$export(module.exports, "useUNSAFE_PortalContext", () => $d7347c25ab757295$export$9fc1347d4195ccb3);
/*
* Copyright 2024 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
const $d7347c25ab757295$export$60d741e20e0aa309 = /*#__PURE__*/ (0, $b2rU6$react.createContext)({});
function $d7347c25ab757295$export$78efe591171d7d45(props) {
let { getContainer: getContainer } = props;
let { getContainer: ctxGetContainer } = $d7347c25ab757295$export$9fc1347d4195ccb3();
return /*#__PURE__*/ (0, ($parcel$interopDefault($b2rU6$react))).createElement($d7347c25ab757295$export$60d741e20e0aa309.Provider, {
value: {
getContainer: getContainer === null ? undefined : getContainer !== null && getContainer !== void 0 ? getContainer : ctxGetContainer
}
}, props.children);
}
function $d7347c25ab757295$export$9fc1347d4195ccb3() {
var _useContext;
return (_useContext = (0, $b2rU6$react.useContext)($d7347c25ab757295$export$60d741e20e0aa309)) !== null && _useContext !== void 0 ? _useContext : {};
}
//# sourceMappingURL=PortalProvider.main.js.map