1var __freeze = Object.freeze; 2var __defProp = Object.defineProperty; 3var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(raw || cooked.slice()) })); 4var _a; 5import { g as useHost, j as jsxRuntimeExports, u as ut } from "./index-B4tqMR8N.js"; 6function Scrollable({ children, alwaysBounce = "vertical", ...rest }) { 7 const { container } = useHost(); 8 return jsxRuntimeExports.jsxs(StyledScrollable, { ...rest, children: [container === "ios" && alwaysBounce !== "none" && jsxRuntimeExports.jsx("div", { className: "bouncer", "data-bounce": alwaysBounce }), children] }); 9} 10const StyledScrollable = ut.div(_a || (_a = __template(['\n overflow: auto;\n position: relative;\n display: flex;\n flex-flow: column;\n overscroll-behavior: contain;\n\n > * {\n flex-shrink: 0;\n }\n\n /*\n * We use our <div> element to force the scroll view to become scrollable\n * when the content is small enough that it wouldn\'t scroll on its own. We\n * make ourself one pixel larger than our parent div.\n */\n > .bouncer {\n position: absolute;\n left: 0px;\n top: 0px;\n width: 1px;\n height: 1px;\n pointer-events: none;\n\n &[data-bounce="horizontal"],\n &[data-bounce="both"] {\n width: calc(100% + 1px);\n }\n\n &[data-bounce="vertical"],\n &[data-bounce="both"] {\n height: calc(100% + 1px);\n }\n }\n\n > *:last-child {\n flex-shrink: 0; /* Necessary for Mobile Safari pre-iOS-14. */\n flex-grow: 1;\n }\n']))); 11export { 12 Scrollable as S, 13 StyledScrollable as a 14};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.