"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyledAppContainerShadow3 = exports.StyledAppContainerShadow2 = exports.StyledAppContainerShadow1 = exports.InnerAppContainer = void 0;
var _styled = _interopRequireDefault(require("@emotion/styled"));
var _react = require("react");
var _uiShellSharedConstants = require("./uiShellSharedConstants.cjs");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/*!
 * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
 * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (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 CONDITIONS OF ANY KIND, either express or implied.
 *
 * See the License for the specific language governing permissions and limitations under the License.
 */const StyledAppContainerShadowShared = (0, _styled.default)("div")({
  left: 0,
  pointerEvents: "none",
  position: "absolute",
  top: 0,
  width: "100%",
  zIndex: _uiShellSharedConstants.UI_SHELL_BASE_Z_INDEX
});
const StyledAppContainerShadow1 = exports.StyledAppContainerShadow1 = (0, _styled.default)(StyledAppContainerShadowShared)({
  background: `linear-gradient(
      to bottom,
      rgba(39, 39, 39, 0.08) 0%,
      transparent 100%
    )`,
  height: "4px"
});
const StyledAppContainerShadow2 = exports.StyledAppContainerShadow2 = (0, _styled.default)(StyledAppContainerShadowShared)({
  background: `linear-gradient(
      to bottom,
      rgba(39, 39, 39, 0.01) 0%,
      transparent 100%
    )`,
  height: "6px"
});
const StyledAppContainerShadow3 = exports.StyledAppContainerShadow3 = (0, _styled.default)(StyledAppContainerShadowShared)({
  background: `linear-gradient(
      to bottom,
      rgba(39, 39, 39, 0.05) 0%,
      transparent 100%
    )`,
  height: "15px"
});
const InnerAppContainer = ({
  isContentScrolled
}) => isContentScrolled ? (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
  children: [(0, _jsxRuntime.jsx)(StyledAppContainerShadow1, {}), (0, _jsxRuntime.jsx)(StyledAppContainerShadow2, {}), (0, _jsxRuntime.jsx)(StyledAppContainerShadow3, {})]
}) : null;
const MemoizedInnerAppContainer = exports.InnerAppContainer = (0, _react.memo)(InnerAppContainer);
MemoizedInnerAppContainer.displayName = "InnerAppContainer";
//# sourceMappingURL=InnerAppContainer.cjs.map