@patternfly/patternfly-doc-core 1.10.0 → 1.11.1
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/astro.config.mjs +3 -4
- package/cli/cli.ts +60 -19
- package/dist/.assetsignore +2 -0
- package/dist/{client/_astro/Button.BQCwQ5pE.js → _astro/Button.BVfR1y85.js} +1 -1
- package/dist/_astro/CSSTable.E6iSHjec.js +1 -0
- package/dist/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +1 -0
- package/dist/{client/_astro/Content.B4M2qzJY.js → _astro/Content.CYLxURqU.js} +1 -1
- package/dist/{client/_astro/DropdownList.cxp03sS4.js → _astro/DropdownList.-xE7qrND.js} +1 -1
- package/dist/{client/_astro/LiveExample.DjPiO80i.js → _astro/LiveExample.CVVccYEB.js} +3 -3
- package/dist/{client/_astro/Navigation.kbLxctIo.js → _astro/Navigation.CONcolRR.js} +1 -1
- package/dist/{client/_astro/PageContext.miTsIqVo.js → _astro/PageContext.BUbWpNW2.js} +1 -1
- package/dist/{client/_astro/PageSidebarBody.B0AJe8Hg.js → _astro/PageSidebarBody.CDWZuFeK.js} +1 -1
- package/dist/{client/_astro/PageToggle.CMZ3C1v1.js → _astro/PageToggle.Dnbvoa7R.js} +1 -1
- package/dist/{client/_astro/SearchInput.DhHo7yPx.js → _astro/SearchInput.BNt7BTX_.js} +1 -1
- package/dist/{client/_astro/SectionGallery.3ABpQwE4.js → _astro/SectionGallery.Dwb-QA5z.js} +1 -1
- package/dist/{client/_astro/Toolbar.CroDQcyv.js → _astro/Toolbar.DNd68Ck-.js} +1 -1
- package/dist/{client/_astro/ToolbarContent.UH3ZRlHp.js → _astro/ToolbarContent.C58gpKLu.js} +1 -1
- package/dist/{client/_astro/angle-left-icon.teo8GC0v.js → _astro/angle-left-icon.CfKwuSCS.js} +1 -1
- package/dist/{client/_astro/bars-icon.Dk6ua1rr.js → _astro/bars-icon.wdJgEs3A.js} +1 -1
- package/dist/_astro/client.DN8ES6L5.js +1 -0
- package/dist/{client/_astro/divider.tlrBPkzg.js → _astro/divider.BLVh3KnH.js} +1 -1
- package/dist/{client/_astro/github-icon.ByC5XEPt.js → _astro/github-icon.DzpohUp_.js} +1 -1
- package/dist/{client/_astro/index.DYVB4vTo.js → _astro/index.jm6QVFFy.js} +1 -1
- package/dist/{client/_astro/link-icon.BNHnRn73.js → _astro/patternfly_charts.Dp3KzAU6.js} +24 -24
- package/dist/_routes.json +20 -0
- package/dist/_worker.js/_@astrojs-ssr-adapter.mjs +2 -0
- package/dist/_worker.js/_astro-internal_middleware.mjs +21 -0
- package/dist/_worker.js/_noop-actions.mjs +4 -0
- package/dist/{server/chunks/AutoLinkHeader_C2GD0g-K.mjs → _worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs} +13 -14
- package/dist/{server/chunks/Button_BKhHR-ak.mjs → _worker.js/chunks/Button_CBcC0ViE.mjs} +83 -13
- package/dist/{server/chunks/CSSTable_B8tlH3gz.mjs → _worker.js/chunks/CSSTable_C1dV02qV.mjs} +3 -3
- package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +20 -0
- package/dist/_worker.js/chunks/PropsTables_Dcd7znAq.mjs +6628 -0
- package/dist/_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs +1082 -0
- package/dist/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs +3686 -0
- package/dist/_worker.js/chunks/astro/server_YsSSp7Ny.mjs +7278 -0
- package/dist/_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs +928 -0
- package/dist/_worker.js/chunks/cloudflare-kv-binding_DMly_2Gl.mjs +107 -0
- package/dist/{server/chunks/_@astrojs-ssr-adapter_CbICuCdt.mjs → _worker.js/chunks/index_BE2AHcwI.mjs} +1295 -1817
- package/dist/_worker.js/chunks/index_CBCp_CJ0.mjs +57 -0
- package/dist/_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs +10 -0
- package/dist/_worker.js/chunks/parse_EttCPxrw.mjs +271 -0
- package/dist/{server/chunks/path_Cvt6sEOY.mjs → _worker.js/chunks/path_C-ZOwaTP.mjs} +2 -1
- package/dist/{server/entry.mjs → _worker.js/index.js} +13 -19
- package/dist/_worker.js/manifest_0KWZohUX.mjs +100 -0
- package/dist/_worker.js/pages/_image.astro.mjs +24 -0
- package/dist/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs +1 -0
- package/dist/_worker.js/pages/index.astro.mjs +1 -0
- package/dist/{server → _worker.js}/pages/props.astro.mjs +3 -2
- package/dist/_worker.js/renderers.mjs +484 -0
- package/dist/cli/cli.js +46 -12
- package/dist/{client/components/accordion/react → components/accordion}/index.html +14 -64
- package/dist/{client/components/accordion → components/accordion/react}/index.html +14 -64
- package/dist/components/all-components/index.html +47 -0
- package/dist/design-foundations/typography/index.html +198 -0
- package/dist/{client/design-foundations → design-foundations}/usage-and-behavior/index.html +4 -54
- package/dist/get-started/contribute/index.html +94 -0
- package/dist/index.html +43 -0
- package/package.json +12 -8
- package/public/.assetsignore +2 -0
- package/src/components/DocsTables.astro +28 -0
- package/src/pages/[section]/[...page].astro +7 -11
- package/src/pages/[section]/[page]/[...tab].astro +3 -11
- package/src/pages/props.ts +2 -2
- package/wrangler.jsonc +14 -0
- package/dist/client/_astro/CSSTable.DC79W1Ct.js +0 -1
- package/dist/client/_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js +0 -1
- package/dist/client/_astro/client.zs76E0tG.js +0 -1
- package/dist/client/components/all-components/index.html +0 -97
- package/dist/client/design-foundations/typography/index.html +0 -248
- package/dist/client/get-started/contribute/index.html +0 -144
- package/dist/client/index.html +0 -43
- package/dist/server/_@astrojs-ssr-adapter.mjs +0 -1
- package/dist/server/_noop-middleware.mjs +0 -3
- package/dist/server/chunks/PropsTables_PVzRHJNB.mjs +0 -1750
- package/dist/server/chunks/_astro_assets_DaYumpRZ.mjs +0 -1507
- package/dist/server/chunks/angle-down-icon_BO1Ed-9Z.mjs +0 -3288
- package/dist/server/chunks/astro/server_Cl9jPh4p.mjs +0 -2859
- package/dist/server/chunks/astro-designed-error-pages_BFveJFnQ.mjs +0 -282
- package/dist/server/chunks/consts_BmVDRGlB.mjs +0 -32
- package/dist/server/chunks/sharp_CbOL3WDk.mjs +0 -88
- package/dist/server/manifest_DsbMfV1U.mjs +0 -102
- package/dist/server/pages/_image.astro.mjs +0 -132
- package/dist/server/renderers.mjs +0 -308
- /package/dist/{client/PF-HorizontalLogo-Color.svg → PF-HorizontalLogo-Color.svg} +0 -0
- /package/dist/{client/PF-HorizontalLogo-Reverse.svg → PF-HorizontalLogo-Reverse.svg} +0 -0
- /package/dist/{client/_astro → _astro}/LiveExample.CxJsMvEq.css +0 -0
- /package/dist/{client/_astro → _astro}/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/RedHatTextVF.wYvZ7prR.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/_page_.Chv_bGyU.css +0 -0
- /package/dist/{client/_astro → _astro}/_page_.CtheD08_.css +0 -0
- /package/dist/{client/_astro → _astro}/_page_.D1z73Byz.css +0 -0
- /package/dist/{client/_astro → _astro}/_page_.DxJDkZPc.css +0 -0
- /package/dist/{client/_astro → _astro}/fa-solid-900.DguXoeIz.woff2 +0 -0
- /package/dist/{client/_astro → _astro}/index.BQFV5hT1.js +0 -0
- /package/dist/{client/_astro → _astro}/index.CAChmxYj.js +0 -0
- /package/dist/{client/_astro → _astro}/index.eCxJ45ll.js +0 -0
- /package/dist/{client/_astro → _astro}/page.BTC3Kf3x.js +0 -0
- /package/dist/{client/_astro → _astro}/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
- /package/dist/{server/chunks/Accordion_BJka4Qvb.mjs → _worker.js/chunks/Accordion_CQUal4ef.mjs} +0 -0
- /package/dist/{server/chunks/Accordion_BQIphkaZ.mjs → _worker.js/chunks/Accordion_R7bP3pwr.mjs} +0 -0
- /package/dist/{server/chunks/AllComponents_CRhgTsiT.mjs → _worker.js/chunks/AllComponents_BDKlE-WJ.mjs} +0 -0
- /package/dist/{server/chunks/AllComponents_CjOtwUH6.mjs → _worker.js/chunks/AllComponents_DWDph25H.mjs} +0 -0
- /package/dist/{server/chunks/_astro_data-layer-content_D4Ib_RjR.mjs → _worker.js/chunks/_astro_assets_CfTVyruF.mjs} +0 -0
- /package/dist/{server/chunks/content-assets_DleWbedO.mjs → _worker.js/chunks/_astro_data-layer-content_CgXoS6Mm.mjs} +0 -0
- /package/dist/{server/chunks/content-modules_fX1c2JRG.mjs → _worker.js/chunks/content-assets_XqCgPAV2.mjs} +0 -0
- /package/dist/{server/pages/_section_/_---page_.astro.mjs → _worker.js/chunks/content-modules_BbCqcGJp.mjs} +0 -0
- /package/dist/{server/pages/_section_/_page_/_---tab_.astro.mjs → _worker.js/chunks/sharp_MEdXG7Td.mjs} +0 -0
- /package/dist/{server/pages/index.astro.mjs → _worker.js/pages/_section_/_---page_.astro.mjs} +0 -0
- /package/dist/{client/avatarImg.svg → avatarImg.svg} +0 -0
- /package/dist/{client/avatarImgDark.svg → avatarImgDark.svg} +0 -0
- /package/dist/{client/content → content}/typography/line-height.png +0 -0
- /package/dist/{client/favicon.svg → favicon.svg} +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
import { p as getDefaultExportFromCjs } from './astro/server_YsSSp7Ny.mjs';
|
|
3
|
+
|
|
4
|
+
var react = {exports: {}};
|
|
5
|
+
|
|
6
|
+
var react_production_min = {};
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @license React
|
|
10
|
+
* react.production.min.js
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
var hasRequiredReact_production_min;
|
|
19
|
+
|
|
20
|
+
function requireReact_production_min () {
|
|
21
|
+
if (hasRequiredReact_production_min) return react_production_min;
|
|
22
|
+
hasRequiredReact_production_min = 1;
|
|
23
|
+
var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.iterator;function A(a){if(null===a||"object"!==typeof a)return null;a=z&&a[z]||a["@@iterator"];return "function"===typeof a?a:null}
|
|
24
|
+
var B={isMounted:function(){return false},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}E.prototype.isReactComponent={};
|
|
25
|
+
E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState");};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B;}var H=G.prototype=new F;
|
|
26
|
+
H.constructor=G;C(H,E.prototype);H.isPureReactComponent=true;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:true,ref:true,__self:true,__source:true};
|
|
27
|
+
function M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f;}if(a&&a.defaultProps)for(d in g=a.defaultProps,g) void 0===c[d]&&(c[d]=g[d]);return {$$typeof:l,type:a,key:k,ref:h,props:c,_owner:K.current}}
|
|
28
|
+
function N(a,b){return {$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return "object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return "$"+a.replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g;function Q(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
29
|
+
function R(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=false;if(null===a)h=true;else switch(k){case "string":case "number":h=true;break;case "object":switch(a.$$typeof){case l:case n:h=true;}}if(h)return h=a,c=c(h),a=""===d?"."+Q(h,0):d,I(c)?(e="",null!=a&&(e=a.replace(P,"$&/")+"/"),R(c,b,e,"",function(a){return a})):null!=c&&(O(c)&&(c=N(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(P,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(I(a))for(var g=0;g<a.length;g++){k=
|
|
30
|
+
a[g];var f=d+Q(k,g);h+=R(k,b,e,f,c);}else if(f=A(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+Q(k,g++),h+=R(k,b,e,f,c);else if("object"===k)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}
|
|
31
|
+
function S(a,b,e){if(null==a)return a;var d=[],c=0;R(a,d,"","",function(a){return b.call(e,a,c++)});return d}function T(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b;},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b;});-1===a._status&&(a._status=0,a._result=b);}if(1===a._status)return a._result.default;throw a._result;}
|
|
32
|
+
var U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};function X(){throw Error("act(...) is not supported in production builds of React.");}
|
|
33
|
+
react_production_min.Children={map:S,forEach:function(a,b,e){S(a,function(){b.apply(this,arguments);},e);},count:function(a){var b=0;S(a,function(){b++;});return b},toArray:function(a){return S(a,function(a){return a})||[]},only:function(a){if(!O(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};react_production_min.Component=E;react_production_min.Fragment=p;react_production_min.Profiler=r;react_production_min.PureComponent=G;react_production_min.StrictMode=q;react_production_min.Suspense=w;
|
|
34
|
+
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W;react_production_min.act=X;
|
|
35
|
+
react_production_min.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=C({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){ void 0!==b.ref&&(k=b.ref,h=K.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f]);}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);
|
|
36
|
+
for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g;}return {$$typeof:l,type:a.type,key:c,ref:k,props:d,_owner:h}};react_production_min.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};react_production_min.createElement=M;react_production_min.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};react_production_min.createRef=function(){return {current:null}};
|
|
37
|
+
react_production_min.forwardRef=function(a){return {$$typeof:v,render:a}};react_production_min.isValidElement=O;react_production_min.lazy=function(a){return {$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};react_production_min.memo=function(a,b){return {$$typeof:x,type:a,compare:void 0===b?null:b}};react_production_min.startTransition=function(a){var b=V.transition;V.transition={};try{a();}finally{V.transition=b;}};react_production_min.unstable_act=X;react_production_min.useCallback=function(a,b){return U.current.useCallback(a,b)};react_production_min.useContext=function(a){return U.current.useContext(a)};
|
|
38
|
+
react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(a){return U.current.useDeferredValue(a)};react_production_min.useEffect=function(a,b){return U.current.useEffect(a,b)};react_production_min.useId=function(){return U.current.useId()};react_production_min.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};react_production_min.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};react_production_min.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};
|
|
39
|
+
react_production_min.useMemo=function(a,b){return U.current.useMemo(a,b)};react_production_min.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};react_production_min.useRef=function(a){return U.current.useRef(a)};react_production_min.useState=function(a){return U.current.useState(a)};react_production_min.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};react_production_min.useTransition=function(){return U.current.useTransition()};react_production_min.version="18.3.1";
|
|
40
|
+
return react_production_min;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
var hasRequiredReact;
|
|
44
|
+
|
|
45
|
+
function requireReact () {
|
|
46
|
+
if (hasRequiredReact) return react.exports;
|
|
47
|
+
hasRequiredReact = 1;
|
|
48
|
+
{
|
|
49
|
+
react.exports = requireReact_production_min();
|
|
50
|
+
}
|
|
51
|
+
return react.exports;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
var reactExports = requireReact();
|
|
55
|
+
const React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
|
|
56
|
+
|
|
57
|
+
export { React as R, requireReact as a, reactExports as r };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
import { ak as NOOP_MIDDLEWARE_HEADER } from './astro/server_YsSSp7Ny.mjs';
|
|
3
|
+
|
|
4
|
+
const NOOP_MIDDLEWARE_FN = async (_ctx, next) => {
|
|
5
|
+
const response = await next();
|
|
6
|
+
response.headers.set(NOOP_MIDDLEWARE_HEADER, "true");
|
|
7
|
+
return response;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { NOOP_MIDDLEWARE_FN as N };
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
/**
|
|
3
|
+
* Base64 Encodes an arraybuffer
|
|
4
|
+
* @param {ArrayBuffer} arraybuffer
|
|
5
|
+
* @returns {string}
|
|
6
|
+
*/
|
|
7
|
+
function encode64(arraybuffer) {
|
|
8
|
+
const dv = new DataView(arraybuffer);
|
|
9
|
+
let binaryString = "";
|
|
10
|
+
|
|
11
|
+
for (let i = 0; i < arraybuffer.byteLength; i++) {
|
|
12
|
+
binaryString += String.fromCharCode(dv.getUint8(i));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return binaryToAscii(binaryString);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Decodes a base64 string into an arraybuffer
|
|
20
|
+
* @param {string} string
|
|
21
|
+
* @returns {ArrayBuffer}
|
|
22
|
+
*/
|
|
23
|
+
function decode64(string) {
|
|
24
|
+
const binaryString = asciiToBinary(string);
|
|
25
|
+
const arraybuffer = new ArrayBuffer(binaryString.length);
|
|
26
|
+
const dv = new DataView(arraybuffer);
|
|
27
|
+
|
|
28
|
+
for (let i = 0; i < arraybuffer.byteLength; i++) {
|
|
29
|
+
dv.setUint8(i, binaryString.charCodeAt(i));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return arraybuffer;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const KEY_STRING =
|
|
36
|
+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Substitute for atob since it's deprecated in node.
|
|
40
|
+
* Does not do any input validation.
|
|
41
|
+
*
|
|
42
|
+
* @see https://github.com/jsdom/abab/blob/master/lib/atob.js
|
|
43
|
+
*
|
|
44
|
+
* @param {string} data
|
|
45
|
+
* @returns {string}
|
|
46
|
+
*/
|
|
47
|
+
function asciiToBinary(data) {
|
|
48
|
+
if (data.length % 4 === 0) {
|
|
49
|
+
data = data.replace(/==?$/, "");
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
let output = "";
|
|
53
|
+
let buffer = 0;
|
|
54
|
+
let accumulatedBits = 0;
|
|
55
|
+
|
|
56
|
+
for (let i = 0; i < data.length; i++) {
|
|
57
|
+
buffer <<= 6;
|
|
58
|
+
buffer |= KEY_STRING.indexOf(data[i]);
|
|
59
|
+
accumulatedBits += 6;
|
|
60
|
+
if (accumulatedBits === 24) {
|
|
61
|
+
output += String.fromCharCode((buffer & 0xff0000) >> 16);
|
|
62
|
+
output += String.fromCharCode((buffer & 0xff00) >> 8);
|
|
63
|
+
output += String.fromCharCode(buffer & 0xff);
|
|
64
|
+
buffer = accumulatedBits = 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (accumulatedBits === 12) {
|
|
68
|
+
buffer >>= 4;
|
|
69
|
+
output += String.fromCharCode(buffer);
|
|
70
|
+
} else if (accumulatedBits === 18) {
|
|
71
|
+
buffer >>= 2;
|
|
72
|
+
output += String.fromCharCode((buffer & 0xff00) >> 8);
|
|
73
|
+
output += String.fromCharCode(buffer & 0xff);
|
|
74
|
+
}
|
|
75
|
+
return output;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Substitute for btoa since it's deprecated in node.
|
|
80
|
+
* Does not do any input validation.
|
|
81
|
+
*
|
|
82
|
+
* @see https://github.com/jsdom/abab/blob/master/lib/btoa.js
|
|
83
|
+
*
|
|
84
|
+
* @param {string} str
|
|
85
|
+
* @returns {string}
|
|
86
|
+
*/
|
|
87
|
+
function binaryToAscii(str) {
|
|
88
|
+
let out = "";
|
|
89
|
+
for (let i = 0; i < str.length; i += 3) {
|
|
90
|
+
/** @type {[number, number, number, number]} */
|
|
91
|
+
const groupsOfSix = [undefined, undefined, undefined, undefined];
|
|
92
|
+
groupsOfSix[0] = str.charCodeAt(i) >> 2;
|
|
93
|
+
groupsOfSix[1] = (str.charCodeAt(i) & 0x03) << 4;
|
|
94
|
+
if (str.length > i + 1) {
|
|
95
|
+
groupsOfSix[1] |= str.charCodeAt(i + 1) >> 4;
|
|
96
|
+
groupsOfSix[2] = (str.charCodeAt(i + 1) & 0x0f) << 2;
|
|
97
|
+
}
|
|
98
|
+
if (str.length > i + 2) {
|
|
99
|
+
groupsOfSix[2] |= str.charCodeAt(i + 2) >> 6;
|
|
100
|
+
groupsOfSix[3] = str.charCodeAt(i + 2) & 0x3f;
|
|
101
|
+
}
|
|
102
|
+
for (let j = 0; j < groupsOfSix.length; j++) {
|
|
103
|
+
if (typeof groupsOfSix[j] === "undefined") {
|
|
104
|
+
out += "=";
|
|
105
|
+
} else {
|
|
106
|
+
out += KEY_STRING[groupsOfSix[j]];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return out;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const UNDEFINED = -1;
|
|
114
|
+
const HOLE = -2;
|
|
115
|
+
const NAN = -3;
|
|
116
|
+
const POSITIVE_INFINITY = -4;
|
|
117
|
+
const NEGATIVE_INFINITY = -5;
|
|
118
|
+
const NEGATIVE_ZERO = -6;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Revive a value serialized with `devalue.stringify`
|
|
122
|
+
* @param {string} serialized
|
|
123
|
+
* @param {Record<string, (value: any) => any>} [revivers]
|
|
124
|
+
*/
|
|
125
|
+
function parse(serialized, revivers) {
|
|
126
|
+
return unflatten(JSON.parse(serialized), revivers);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Revive a value flattened with `devalue.stringify`
|
|
131
|
+
* @param {number | any[]} parsed
|
|
132
|
+
* @param {Record<string, (value: any) => any>} [revivers]
|
|
133
|
+
*/
|
|
134
|
+
function unflatten(parsed, revivers) {
|
|
135
|
+
if (typeof parsed === 'number') return hydrate(parsed, true);
|
|
136
|
+
|
|
137
|
+
if (!Array.isArray(parsed) || parsed.length === 0) {
|
|
138
|
+
throw new Error('Invalid input');
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
const values = /** @type {any[]} */ (parsed);
|
|
142
|
+
|
|
143
|
+
const hydrated = Array(values.length);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @param {number} index
|
|
147
|
+
* @returns {any}
|
|
148
|
+
*/
|
|
149
|
+
function hydrate(index, standalone = false) {
|
|
150
|
+
if (index === UNDEFINED) return undefined;
|
|
151
|
+
if (index === NAN) return NaN;
|
|
152
|
+
if (index === POSITIVE_INFINITY) return Infinity;
|
|
153
|
+
if (index === NEGATIVE_INFINITY) return -Infinity;
|
|
154
|
+
if (index === NEGATIVE_ZERO) return -0;
|
|
155
|
+
|
|
156
|
+
if (standalone) throw new Error(`Invalid input`);
|
|
157
|
+
|
|
158
|
+
if (index in hydrated) return hydrated[index];
|
|
159
|
+
|
|
160
|
+
const value = values[index];
|
|
161
|
+
|
|
162
|
+
if (!value || typeof value !== 'object') {
|
|
163
|
+
hydrated[index] = value;
|
|
164
|
+
} else if (Array.isArray(value)) {
|
|
165
|
+
if (typeof value[0] === 'string') {
|
|
166
|
+
const type = value[0];
|
|
167
|
+
|
|
168
|
+
const reviver = revivers?.[type];
|
|
169
|
+
if (reviver) {
|
|
170
|
+
return (hydrated[index] = reviver(hydrate(value[1])));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
switch (type) {
|
|
174
|
+
case 'Date':
|
|
175
|
+
hydrated[index] = new Date(value[1]);
|
|
176
|
+
break;
|
|
177
|
+
|
|
178
|
+
case 'Set':
|
|
179
|
+
const set = new Set();
|
|
180
|
+
hydrated[index] = set;
|
|
181
|
+
for (let i = 1; i < value.length; i += 1) {
|
|
182
|
+
set.add(hydrate(value[i]));
|
|
183
|
+
}
|
|
184
|
+
break;
|
|
185
|
+
|
|
186
|
+
case 'Map':
|
|
187
|
+
const map = new Map();
|
|
188
|
+
hydrated[index] = map;
|
|
189
|
+
for (let i = 1; i < value.length; i += 2) {
|
|
190
|
+
map.set(hydrate(value[i]), hydrate(value[i + 1]));
|
|
191
|
+
}
|
|
192
|
+
break;
|
|
193
|
+
|
|
194
|
+
case 'RegExp':
|
|
195
|
+
hydrated[index] = new RegExp(value[1], value[2]);
|
|
196
|
+
break;
|
|
197
|
+
|
|
198
|
+
case 'Object':
|
|
199
|
+
hydrated[index] = Object(value[1]);
|
|
200
|
+
break;
|
|
201
|
+
|
|
202
|
+
case 'BigInt':
|
|
203
|
+
hydrated[index] = BigInt(value[1]);
|
|
204
|
+
break;
|
|
205
|
+
|
|
206
|
+
case 'null':
|
|
207
|
+
const obj = Object.create(null);
|
|
208
|
+
hydrated[index] = obj;
|
|
209
|
+
for (let i = 1; i < value.length; i += 2) {
|
|
210
|
+
obj[value[i]] = hydrate(value[i + 1]);
|
|
211
|
+
}
|
|
212
|
+
break;
|
|
213
|
+
|
|
214
|
+
case "Int8Array":
|
|
215
|
+
case "Uint8Array":
|
|
216
|
+
case "Uint8ClampedArray":
|
|
217
|
+
case "Int16Array":
|
|
218
|
+
case "Uint16Array":
|
|
219
|
+
case "Int32Array":
|
|
220
|
+
case "Uint32Array":
|
|
221
|
+
case "Float32Array":
|
|
222
|
+
case "Float64Array":
|
|
223
|
+
case "BigInt64Array":
|
|
224
|
+
case "BigUint64Array": {
|
|
225
|
+
const TypedArrayConstructor = globalThis[type];
|
|
226
|
+
const base64 = value[1];
|
|
227
|
+
const arraybuffer = decode64(base64);
|
|
228
|
+
const typedArray = new TypedArrayConstructor(arraybuffer);
|
|
229
|
+
hydrated[index] = typedArray;
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
case "ArrayBuffer": {
|
|
234
|
+
const base64 = value[1];
|
|
235
|
+
const arraybuffer = decode64(base64);
|
|
236
|
+
hydrated[index] = arraybuffer;
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
default:
|
|
241
|
+
throw new Error(`Unknown type ${type}`);
|
|
242
|
+
}
|
|
243
|
+
} else {
|
|
244
|
+
const array = new Array(value.length);
|
|
245
|
+
hydrated[index] = array;
|
|
246
|
+
|
|
247
|
+
for (let i = 0; i < value.length; i += 1) {
|
|
248
|
+
const n = value[i];
|
|
249
|
+
if (n === HOLE) continue;
|
|
250
|
+
|
|
251
|
+
array[i] = hydrate(n);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
} else {
|
|
255
|
+
/** @type {Record<string, any>} */
|
|
256
|
+
const object = {};
|
|
257
|
+
hydrated[index] = object;
|
|
258
|
+
|
|
259
|
+
for (const key in value) {
|
|
260
|
+
const n = value[key];
|
|
261
|
+
object[key] = hydrate(n);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return hydrated[index];
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
return hydrate(0);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export { HOLE as H, NAN as N, POSITIVE_INFINITY as P, UNDEFINED as U, NEGATIVE_INFINITY as a, NEGATIVE_ZERO as b, encode64 as e, parse as p, unflatten as u };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
1
2
|
function appendForwardSlash(path) {
|
|
2
3
|
return path.endsWith("/") ? path : path + "/";
|
|
3
4
|
}
|
|
@@ -55,4 +56,4 @@ function hasFileExtension(path) {
|
|
|
55
56
|
return WITH_FILE_EXT.test(path);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
export {
|
|
59
|
+
export { removeTrailingForwardSlash as a, appendForwardSlash as b, collapseDuplicateTrailingSlashes as c, fileExtension as f, hasFileExtension as h, isRemotePath as i, joinPaths as j, prependForwardSlash as p, removeBase as r, slash as s, trimSlashes as t };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
1
2
|
import { renderers } from './renderers.mjs';
|
|
2
|
-
import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-
|
|
3
|
-
import { manifest } from './
|
|
3
|
+
import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_IMtcR503.mjs';
|
|
4
|
+
import { manifest } from './manifest_0KWZohUX.mjs';
|
|
4
5
|
|
|
5
6
|
const serverIslandMap = new Map([
|
|
6
|
-
['
|
|
7
|
-
['
|
|
7
|
+
['DocsTables', () => import('./chunks/DocsTables_Br4g5x5_.mjs')],
|
|
8
|
+
['PropsTables', () => import('./chunks/PropsTables_Dcd7znAq.mjs')],
|
|
9
|
+
['CSSTable', () => import('./chunks/CSSTable_C1dV02qV.mjs')],
|
|
8
10
|
]);;
|
|
9
11
|
|
|
10
12
|
const _page0 = () => import('./pages/_image.astro.mjs');
|
|
@@ -13,7 +15,7 @@ const _page2 = () => import('./pages/_section_/_page_/_---tab_.astro.mjs');
|
|
|
13
15
|
const _page3 = () => import('./pages/_section_/_---page_.astro.mjs');
|
|
14
16
|
const _page4 = () => import('./pages/index.astro.mjs');
|
|
15
17
|
const pageMap = new Map([
|
|
16
|
-
["node_modules/
|
|
18
|
+
["node_modules/@astrojs/cloudflare/dist/entrypoints/image-endpoint.js", _page0],
|
|
17
19
|
["src/pages/props.ts", _page1],
|
|
18
20
|
["src/pages/[section]/[page]/[...tab].astro", _page2],
|
|
19
21
|
["src/pages/[section]/[...page].astro", _page3],
|
|
@@ -24,23 +26,15 @@ const _manifest = Object.assign(manifest, {
|
|
|
24
26
|
pageMap,
|
|
25
27
|
serverIslandMap,
|
|
26
28
|
renderers,
|
|
27
|
-
|
|
29
|
+
actions: () => import('./_noop-actions.mjs'),
|
|
30
|
+
middleware: () => import('./_astro-internal_middleware.mjs')
|
|
28
31
|
});
|
|
29
|
-
const _args =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"server": "file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/server/",
|
|
33
|
-
"host": false,
|
|
34
|
-
"port": 4321,
|
|
35
|
-
"assets": "_astro"
|
|
36
|
-
};
|
|
37
|
-
const _exports = createExports(_manifest, _args);
|
|
38
|
-
const handler = _exports['handler'];
|
|
39
|
-
const startServer = _exports['startServer'];
|
|
40
|
-
const options = _exports['options'];
|
|
32
|
+
const _args = undefined;
|
|
33
|
+
const _exports = createExports(_manifest);
|
|
34
|
+
const __astrojsSsrVirtualEntry = _exports.default;
|
|
41
35
|
const _start = 'start';
|
|
42
36
|
if (_start in serverEntrypointModule) {
|
|
43
37
|
serverEntrypointModule[_start](_manifest, _args);
|
|
44
38
|
}
|
|
45
39
|
|
|
46
|
-
export {
|
|
40
|
+
export { __astrojsSsrVirtualEntry as default, pageMap };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
import { o as decodeKey } from './chunks/astro/server_YsSSp7Ny.mjs';
|
|
3
|
+
import './chunks/astro-designed-error-pages_MEt0E9xn.mjs';
|
|
4
|
+
import { N as NOOP_MIDDLEWARE_FN } from './chunks/noop-middleware_CMUpAQ6F.mjs';
|
|
5
|
+
|
|
6
|
+
function sanitizeParams(params) {
|
|
7
|
+
return Object.fromEntries(
|
|
8
|
+
Object.entries(params).map(([key, value]) => {
|
|
9
|
+
if (typeof value === "string") {
|
|
10
|
+
return [key, value.normalize().replace(/#/g, "%23").replace(/\?/g, "%3F")];
|
|
11
|
+
}
|
|
12
|
+
return [key, value];
|
|
13
|
+
})
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function getParameter(part, params) {
|
|
17
|
+
if (part.spread) {
|
|
18
|
+
return params[part.content.slice(3)] || "";
|
|
19
|
+
}
|
|
20
|
+
if (part.dynamic) {
|
|
21
|
+
if (!params[part.content]) {
|
|
22
|
+
throw new TypeError(`Missing parameter: ${part.content}`);
|
|
23
|
+
}
|
|
24
|
+
return params[part.content];
|
|
25
|
+
}
|
|
26
|
+
return part.content.normalize().replace(/\?/g, "%3F").replace(/#/g, "%23").replace(/%5B/g, "[").replace(/%5D/g, "]");
|
|
27
|
+
}
|
|
28
|
+
function getSegment(segment, params) {
|
|
29
|
+
const segmentPath = segment.map((part) => getParameter(part, params)).join("");
|
|
30
|
+
return segmentPath ? "/" + segmentPath : "";
|
|
31
|
+
}
|
|
32
|
+
function getRouteGenerator(segments, addTrailingSlash) {
|
|
33
|
+
return (params) => {
|
|
34
|
+
const sanitizedParams = sanitizeParams(params);
|
|
35
|
+
let trailing = "";
|
|
36
|
+
if (addTrailingSlash === "always" && segments.length) {
|
|
37
|
+
trailing = "/";
|
|
38
|
+
}
|
|
39
|
+
const path = segments.map((segment) => getSegment(segment, sanitizedParams)).join("") + trailing;
|
|
40
|
+
return path || "/";
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function deserializeRouteData(rawRouteData) {
|
|
45
|
+
return {
|
|
46
|
+
route: rawRouteData.route,
|
|
47
|
+
type: rawRouteData.type,
|
|
48
|
+
pattern: new RegExp(rawRouteData.pattern),
|
|
49
|
+
params: rawRouteData.params,
|
|
50
|
+
component: rawRouteData.component,
|
|
51
|
+
generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),
|
|
52
|
+
pathname: rawRouteData.pathname || void 0,
|
|
53
|
+
segments: rawRouteData.segments,
|
|
54
|
+
prerender: rawRouteData.prerender,
|
|
55
|
+
redirect: rawRouteData.redirect,
|
|
56
|
+
redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,
|
|
57
|
+
fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {
|
|
58
|
+
return deserializeRouteData(fallback);
|
|
59
|
+
}),
|
|
60
|
+
isIndex: rawRouteData.isIndex,
|
|
61
|
+
origin: rawRouteData.origin
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function deserializeManifest(serializedManifest) {
|
|
66
|
+
const routes = [];
|
|
67
|
+
for (const serializedRoute of serializedManifest.routes) {
|
|
68
|
+
routes.push({
|
|
69
|
+
...serializedRoute,
|
|
70
|
+
routeData: deserializeRouteData(serializedRoute.routeData)
|
|
71
|
+
});
|
|
72
|
+
const route = serializedRoute;
|
|
73
|
+
route.routeData = deserializeRouteData(serializedRoute.routeData);
|
|
74
|
+
}
|
|
75
|
+
const assets = new Set(serializedManifest.assets);
|
|
76
|
+
const componentMetadata = new Map(serializedManifest.componentMetadata);
|
|
77
|
+
const inlinedScripts = new Map(serializedManifest.inlinedScripts);
|
|
78
|
+
const clientDirectives = new Map(serializedManifest.clientDirectives);
|
|
79
|
+
const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap);
|
|
80
|
+
const key = decodeKey(serializedManifest.key);
|
|
81
|
+
return {
|
|
82
|
+
// in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)
|
|
83
|
+
middleware() {
|
|
84
|
+
return { onRequest: NOOP_MIDDLEWARE_FN };
|
|
85
|
+
},
|
|
86
|
+
...serializedManifest,
|
|
87
|
+
assets,
|
|
88
|
+
componentMetadata,
|
|
89
|
+
inlinedScripts,
|
|
90
|
+
clientDirectives,
|
|
91
|
+
routes,
|
|
92
|
+
serverIslandNameMap,
|
|
93
|
+
key
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const manifest = deserializeManifest({"hrefRoot":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/","cacheDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/.astro/","outDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/","srcDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/src/","publicDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/public/","buildClientDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/","buildServerDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/_worker.js/","adapterName":"@astrojs/cloudflare","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"index.html","links":[],"scripts":[],"styles":[],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":true,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"node_modules/@astrojs/cloudflare/dist/entrypoints/image-endpoint.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/props","isIndex":false,"type":"endpoint","pattern":"^\\/props\\/?$","segments":[[{"content":"props","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/props.ts","pathname":"/props","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[page]/[...tab].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astrojs-ssr-virtual-entry",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[...page].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[...page]@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/index.astro",{"propagation":"in-tree","containsHead":true}],["\u0000astro:content",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/index@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Page.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Masthead.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/DocsTables.astro",{"propagation":"in-tree","containsHead":false}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000astro-internal:middleware":"_astro-internal_middleware.mjs","\u0000noop-actions":"_noop-actions.mjs","\u0000@astro-page:node_modules/@astrojs/cloudflare/dist/entrypoints/image-endpoint@_@js":"pages/_image.astro.mjs","\u0000@astro-page:src/pages/props@_@ts":"pages/props.astro.mjs","\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro":"pages/_section_/_page_/_---tab_.astro.mjs","\u0000@astro-page:src/pages/[section]/[...page]@_@astro":"pages/_section_/_---page_.astro.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"index.js","\u0000@astro-renderers":"renderers.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_0KWZohUX.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/DocsTables.astro":"chunks/DocsTables_Br4g5x5_.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro":"chunks/PropsTables_Dcd7znAq.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/CSSTable.astro":"chunks/CSSTable_C1dV02qV.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/node_modules/unstorage/drivers/cloudflare-kv-binding.mjs":"chunks/cloudflare-kv-binding_DMly_2Gl.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-assets.mjs":"chunks/content-assets_XqCgPAV2.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-modules.mjs":"chunks/content-modules_BbCqcGJp.mjs","\u0000astro:data-layer-content":"chunks/_astro_data-layer-content_CgXoS6Mm.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_MEdXG7Td.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/AllComponents.mdx?astroPropagatedAssets":"chunks/AllComponents_BDKlE-WJ.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/examples/Accordion/Accordion.mdx?astroPropagatedAssets":"chunks/Accordion_CQUal4ef.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/AllComponents.mdx":"chunks/AllComponents_DWDph25H.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/examples/Accordion/Accordion.mdx":"chunks/Accordion_R7bP3pwr.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PageToggle":"_astro/PageToggle.Dnbvoa7R.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Toolbar.tsx":"_astro/Toolbar.DNd68Ck-.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/section-gallery/SectionGallery":"_astro/SectionGallery.Dwb-QA5z.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/LiveExample":"_astro/LiveExample.CVVccYEB.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/CSSTable":"_astro/CSSTable.E6iSHjec.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.tsx":"_astro/Navigation.CONcolRR.js","@astrojs/react/client.js":"_astro/client.DN8ES6L5.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts":"_astro/Main.astro_astro_type_script_index_0_lang.BguqvUxW.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=1&lang.ts":"_astro/Main.astro_astro_type_script_index_1_lang.BeSTw7zk.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/components/ClientRouter.astro?astro&type=script&index=0&lang.ts":"_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts","const n=e=>{requestAnimationFrame(()=>{document.documentElement.classList.toggle(\"pf-v6-theme-dark\",e===\"dark\")})};document.addEventListener(\"astro:before-swap\",()=>{const e=localStorage.getItem(\"theme-preference\");n(e||\"light\")});const o=e=>{const t=document.querySelector(e);t&&t.scrollIntoView({behavior:\"smooth\"})};document.addEventListener(\"DOMContentLoaded\",()=>{if(window.location.hash){const e=window.location.hash;history.replaceState(null,\"\",\" \"),setTimeout(()=>{o(e),history.replaceState(null,\"\",e)},500)}});window.addEventListener(\"hashchange\",()=>{window.location.hash&&o(window.location.hash)});"],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=1&lang.ts","try{localStorage.getItem(\"theme-preference\")===\"dark\"&&document.documentElement.classList.add(\"pf-v6-theme-dark\")}catch(e){console.error(\"Failed to set initial theme:\",e)}"]],"assets":["/_astro/RedHatTextVF.wYvZ7prR.woff2","/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2","/_astro/RedHatDisplayVF.CYDHf1NI.woff2","/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2","/_astro/RedHatMonoVF.C4fMH6Vz.woff2","/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2","/_astro/pf-v6-pficon.Dy6oiu9u.woff2","/_astro/fa-solid-900.DguXoeIz.woff2","/_astro/_page_.CtheD08_.css","/_astro/_page_.D1z73Byz.css","/PF-HorizontalLogo-Color.svg","/PF-HorizontalLogo-Reverse.svg","/avatarImg.svg","/avatarImgDark.svg","/favicon.svg","/_astro/Button.BVfR1y85.js","/_astro/CSSTable.E6iSHjec.js","/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js","/_astro/Content.CYLxURqU.js","/_astro/DropdownList.-xE7qrND.js","/_astro/LiveExample.CVVccYEB.js","/_astro/LiveExample.CxJsMvEq.css","/_astro/Navigation.CONcolRR.js","/_astro/PageContext.BUbWpNW2.js","/_astro/PageSidebarBody.CDWZuFeK.js","/_astro/PageToggle.Dnbvoa7R.js","/_astro/SearchInput.BNt7BTX_.js","/_astro/SectionGallery.Dwb-QA5z.js","/_astro/Toolbar.DNd68Ck-.js","/_astro/ToolbarContent.C58gpKLu.js","/_astro/_page_.Chv_bGyU.css","/_astro/_page_.DxJDkZPc.css","/_astro/angle-left-icon.CfKwuSCS.js","/_astro/bars-icon.wdJgEs3A.js","/_astro/client.DN8ES6L5.js","/_astro/divider.BLVh3KnH.js","/_astro/github-icon.DzpohUp_.js","/_astro/index.BQFV5hT1.js","/_astro/index.CAChmxYj.js","/_astro/index.eCxJ45ll.js","/_astro/index.jm6QVFFy.js","/_astro/page.BTC3Kf3x.js","/_astro/patternfly_charts.Dp3KzAU6.js","/_worker.js/_@astrojs-ssr-adapter.mjs","/_worker.js/_astro-internal_middleware.mjs","/_worker.js/_noop-actions.mjs","/_worker.js/index.js","/_worker.js/renderers.mjs","/_worker.js/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2","/_worker.js/_astro/RedHatDisplayVF.CYDHf1NI.woff2","/_worker.js/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2","/_worker.js/_astro/RedHatMonoVF.C4fMH6Vz.woff2","/_worker.js/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2","/_worker.js/_astro/RedHatTextVF.wYvZ7prR.woff2","/_worker.js/_astro/_page_.CtheD08_.css","/_worker.js/_astro/_page_.D1z73Byz.css","/_worker.js/_astro/fa-solid-900.DguXoeIz.woff2","/_worker.js/_astro/pf-v6-pficon.Dy6oiu9u.woff2","/_worker.js/chunks/Accordion_CQUal4ef.mjs","/_worker.js/chunks/Accordion_R7bP3pwr.mjs","/_worker.js/chunks/AllComponents_BDKlE-WJ.mjs","/_worker.js/chunks/AllComponents_DWDph25H.mjs","/_worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs","/_worker.js/chunks/Button_CBcC0ViE.mjs","/_worker.js/chunks/CSSTable_C1dV02qV.mjs","/_worker.js/chunks/DocsTables_Br4g5x5_.mjs","/_worker.js/chunks/LiveExample_Dw65bqvA.mjs","/_worker.js/chunks/Main_DXT338jo.mjs","/_worker.js/chunks/PropsTables_Dcd7znAq.mjs","/_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs","/_worker.js/chunks/_astro_assets_CfTVyruF.mjs","/_worker.js/chunks/_astro_data-layer-content_CgXoS6Mm.mjs","/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs","/_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs","/_worker.js/chunks/astro_DvjKObue.mjs","/_worker.js/chunks/cloudflare-kv-binding_DMly_2Gl.mjs","/_worker.js/chunks/content-assets_XqCgPAV2.mjs","/_worker.js/chunks/content-modules_BbCqcGJp.mjs","/_worker.js/chunks/index_BE2AHcwI.mjs","/_worker.js/chunks/index_CBCp_CJ0.mjs","/_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs","/_worker.js/chunks/parse_EttCPxrw.mjs","/_worker.js/chunks/path_C-ZOwaTP.mjs","/_worker.js/chunks/sharp_MEdXG7Td.mjs","/_worker.js/pages/_image.astro.mjs","/_worker.js/pages/index.astro.mjs","/_worker.js/pages/props.astro.mjs","/content/typography/line-height.png","/_worker.js/chunks/astro/server_YsSSp7Ny.mjs","/_worker.js/pages/_section_/_---page_.astro.mjs","/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs","/index.html"],"buildFormat":"directory","checkOrigin":true,"serverIslandNameMap":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/DocsTables.astro","DocsTables"],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro","PropsTables"],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/CSSTable.astro","CSSTable"]],"key":"PN0QkTFC3dUKve/P943qdSLgbux5ub08slIe4/kR/SQ=","sessionConfig":{"driver":"cloudflare-kv-binding","options":{"binding":"SESSION"}}});
|
|
98
|
+
if (manifest.sessionConfig) manifest.sessionConfig.driverModule = () => import('./chunks/cloudflare-kv-binding_DMly_2Gl.mjs');
|
|
99
|
+
|
|
100
|
+
export { manifest };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
export { renderers } from '../renderers.mjs';
|
|
3
|
+
|
|
4
|
+
const prerender = false;
|
|
5
|
+
const GET = (ctx) => {
|
|
6
|
+
const href = ctx.url.searchParams.get("href");
|
|
7
|
+
if (!href) {
|
|
8
|
+
return new Response("Missing 'href' query parameter", {
|
|
9
|
+
status: 400,
|
|
10
|
+
statusText: "Missing 'href' query parameter"
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return fetch(new URL(href, ctx.url.origin));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
17
|
+
__proto__: null,
|
|
18
|
+
GET,
|
|
19
|
+
prerender
|
|
20
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
21
|
+
|
|
22
|
+
const page = () => _page;
|
|
23
|
+
|
|
24
|
+
export { page };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Contents removed by Astro as it's used for prerendering only
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Contents removed by Astro as it's used for prerendering only
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
globalThis.process ??= {}; globalThis.process.env ??= {};
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
import { join } from 'node:path';
|
|
3
4
|
export { renderers } from '../renderers.mjs';
|
|
4
5
|
|
|
5
6
|
const propsFilePath = join(process.cwd(), "dist", "props.json");
|