Deploy Phase 2 dataset classifier (part 11)
Browse filesSource GitHub commit: 740750973b9c67c0d55c209c006d860192f79dc2
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +9 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js +71 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js +72 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js +2 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js +6 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js +2 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js +268 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.map +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js +2 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js +66 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.map +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.map +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js +2 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js +2 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js +21 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.br +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.gz +0 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.map +1 -0
- .venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.ab_68Deg.js +22 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,12 @@
|
|
| 35 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/PlotlyPlot.DdBOSlhv.js.map filter=lfs diff=lfs merge=lfs -text
|
| 36 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.BlEmlE64.js.br filter=lfs diff=lfs merge=lfs -text
|
| 37 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.BlEmlE64.js.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/PlotlyPlot.DdBOSlhv.js.map filter=lfs diff=lfs merge=lfs -text
|
| 36 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.BlEmlE64.js.br filter=lfs diff=lfs merge=lfs -text
|
| 37 |
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.BlEmlE64.js.gz filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.C_AVPmGC.js.br filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.C_AVPmGC.js.gz filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/index.BoI39RQH.js.br filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/index.BoI39RQH.js.gz filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/mermaid.core.DTNv8IuU.js.br filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/mermaid.core.DTNv8IuU.js.gz filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/vega-tooltip.module.DSC9NprE.js.br filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/vega-tooltip.module.DSC9NprE.js.gz filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
.venv/lib/python3.13/site-packages/gradio/templates/node/build/server/chunks/PlotlyPlot-D4ZO-WDo.js.map filter=lfs diff=lfs merge=lfs -text
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{j as e}from"./index.BoI39RQH.js";const f="clipPlaneFragmentDeclaration",a=`#ifdef CLIPPLANE
|
| 2 |
+
varying fClipDistance: f32;
|
| 3 |
+
#endif
|
| 4 |
+
#ifdef CLIPPLANE2
|
| 5 |
+
varying fClipDistance2: f32;
|
| 6 |
+
#endif
|
| 7 |
+
#ifdef CLIPPLANE3
|
| 8 |
+
varying fClipDistance3: f32;
|
| 9 |
+
#endif
|
| 10 |
+
#ifdef CLIPPLANE4
|
| 11 |
+
varying fClipDistance4: f32;
|
| 12 |
+
#endif
|
| 13 |
+
#ifdef CLIPPLANE5
|
| 14 |
+
varying fClipDistance5: f32;
|
| 15 |
+
#endif
|
| 16 |
+
#ifdef CLIPPLANE6
|
| 17 |
+
varying fClipDistance6: f32;
|
| 18 |
+
#endif
|
| 19 |
+
`;e.IncludesShadersStoreWGSL[f]||(e.IncludesShadersStoreWGSL[f]=a);const n="fogFragmentDeclaration",d=`#ifdef FOG
|
| 20 |
+
#define FOGMODE_NONE 0.
|
| 21 |
+
#define FOGMODE_EXP 1.
|
| 22 |
+
#define FOGMODE_EXP2 2.
|
| 23 |
+
#define FOGMODE_LINEAR 3.
|
| 24 |
+
const E=2.71828;uniform vFogInfos: vec4f;uniform vFogColor: vec3f;varying vFogDistance: vec3f;fn CalcFogFactor()->f32
|
| 25 |
+
{var fogCoeff: f32=1.0;var fogStart: f32=uniforms.vFogInfos.y;var fogEnd: f32=uniforms.vFogInfos.z;var fogDensity: f32=uniforms.vFogInfos.w;var fogDistance: f32=length(fragmentInputs.vFogDistance);if (FOGMODE_LINEAR==uniforms.vFogInfos.x)
|
| 26 |
+
{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}
|
| 27 |
+
else if (FOGMODE_EXP==uniforms.vFogInfos.x)
|
| 28 |
+
{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}
|
| 29 |
+
else if (FOGMODE_EXP2==uniforms.vFogInfos.x)
|
| 30 |
+
{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
|
| 31 |
+
return clamp(fogCoeff,0.0,1.0);}
|
| 32 |
+
#endif
|
| 33 |
+
`;e.IncludesShadersStoreWGSL[n]||(e.IncludesShadersStoreWGSL[n]=d);const i="clipPlaneFragment",r=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
| 34 |
+
if (false) {}
|
| 35 |
+
#endif
|
| 36 |
+
#ifdef CLIPPLANE
|
| 37 |
+
else if (fragmentInputs.fClipDistance>0.0)
|
| 38 |
+
{discard;}
|
| 39 |
+
#endif
|
| 40 |
+
#ifdef CLIPPLANE2
|
| 41 |
+
else if (fragmentInputs.fClipDistance2>0.0)
|
| 42 |
+
{discard;}
|
| 43 |
+
#endif
|
| 44 |
+
#ifdef CLIPPLANE3
|
| 45 |
+
else if (fragmentInputs.fClipDistance3>0.0)
|
| 46 |
+
{discard;}
|
| 47 |
+
#endif
|
| 48 |
+
#ifdef CLIPPLANE4
|
| 49 |
+
else if (fragmentInputs.fClipDistance4>0.0)
|
| 50 |
+
{discard;}
|
| 51 |
+
#endif
|
| 52 |
+
#ifdef CLIPPLANE5
|
| 53 |
+
else if (fragmentInputs.fClipDistance5>0.0)
|
| 54 |
+
{discard;}
|
| 55 |
+
#endif
|
| 56 |
+
#ifdef CLIPPLANE6
|
| 57 |
+
else if (fragmentInputs.fClipDistance6>0.0)
|
| 58 |
+
{discard;}
|
| 59 |
+
#endif
|
| 60 |
+
`;e.IncludesShadersStoreWGSL[i]||(e.IncludesShadersStoreWGSL[i]=r);const o="logDepthFragment",t=`#ifdef LOGARITHMICDEPTH
|
| 61 |
+
fragmentOutputs.fragDepth=log2(fragmentInputs.vFragmentDepth)*uniforms.logarithmicDepthConstant*0.5;
|
| 62 |
+
#endif
|
| 63 |
+
`;e.IncludesShadersStoreWGSL[o]||(e.IncludesShadersStoreWGSL[o]=t);const s="fogFragment",g=`#ifdef FOG
|
| 64 |
+
var fog: f32=CalcFogFactor();
|
| 65 |
+
#ifdef PBR
|
| 66 |
+
fog=toLinearSpace(fog);
|
| 67 |
+
#endif
|
| 68 |
+
color= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);
|
| 69 |
+
#endif
|
| 70 |
+
`;e.IncludesShadersStoreWGSL[s]||(e.IncludesShadersStoreWGSL[s]=g);
|
| 71 |
+
//# sourceMappingURL=fogFragment.BUxLzITE.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.br
ADDED
|
Binary file (699 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.gz
ADDED
|
Binary file (804 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.BUxLzITE.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"fogFragment.BUxLzITE.js","sources":["../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/clipPlaneFragmentDeclaration.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/fogFragmentDeclaration.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/clipPlaneFragment.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/logDepthFragment.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/fogFragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"clipPlaneFragmentDeclaration\";\nconst shader = `#ifdef CLIPPLANE\nvarying fClipDistance: f32;\n#endif\n#ifdef CLIPPLANE2\nvarying fClipDistance2: f32;\n#endif\n#ifdef CLIPPLANE3\nvarying fClipDistance3: f32;\n#endif\n#ifdef CLIPPLANE4\nvarying fClipDistance4: f32;\n#endif\n#ifdef CLIPPLANE5\nvarying fClipDistance5: f32;\n#endif\n#ifdef CLIPPLANE6\nvarying fClipDistance6: f32;\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const clipPlaneFragmentDeclarationWGSL = { name, shader };\n//# sourceMappingURL=clipPlaneFragmentDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"fogFragmentDeclaration\";\nconst shader = `#ifdef FOG\n#define FOGMODE_NONE 0.\n#define FOGMODE_EXP 1.\n#define FOGMODE_EXP2 2.\n#define FOGMODE_LINEAR 3.\nconst E=2.71828;uniform vFogInfos: vec4f;uniform vFogColor: vec3f;varying vFogDistance: vec3f;fn CalcFogFactor()->f32\n{var fogCoeff: f32=1.0;var fogStart: f32=uniforms.vFogInfos.y;var fogEnd: f32=uniforms.vFogInfos.z;var fogDensity: f32=uniforms.vFogInfos.w;var fogDistance: f32=length(fragmentInputs.vFogDistance);if (FOGMODE_LINEAR==uniforms.vFogInfos.x)\n{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}\nelse if (FOGMODE_EXP==uniforms.vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}\nelse if (FOGMODE_EXP2==uniforms.vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}\nreturn clamp(fogCoeff,0.0,1.0);}\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const fogFragmentDeclarationWGSL = { name, shader };\n//# sourceMappingURL=fogFragmentDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"clipPlaneFragment\";\nconst shader = `#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)\nif (false) {}\n#endif\n#ifdef CLIPPLANE\nelse if (fragmentInputs.fClipDistance>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE2\nelse if (fragmentInputs.fClipDistance2>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE3\nelse if (fragmentInputs.fClipDistance3>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE4\nelse if (fragmentInputs.fClipDistance4>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE5\nelse if (fragmentInputs.fClipDistance5>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE6\nelse if (fragmentInputs.fClipDistance6>0.0)\n{discard;}\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const clipPlaneFragmentWGSL = { name, shader };\n//# sourceMappingURL=clipPlaneFragment.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"logDepthFragment\";\nconst shader = `#ifdef LOGARITHMICDEPTH\nfragmentOutputs.fragDepth=log2(fragmentInputs.vFragmentDepth)*uniforms.logarithmicDepthConstant*0.5;\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const logDepthFragmentWGSL = { name, shader };\n//# sourceMappingURL=logDepthFragment.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"fogFragment\";\nconst shader = `#ifdef FOG\nvar fog: f32=CalcFogFactor();\n#ifdef PBR\nfog=toLinearSpace(fog);\n#endif\ncolor= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const fogFragmentWGSL = { name, shader };\n//# sourceMappingURL=fogFragment.js.map"],"names":["name","shader","ShaderStore"],"mappings":"wCAEA,MAAMA,EAAO,+BACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC,GCtBjD,MAAMD,EAAO,yBACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC,GClBjD,MAAMD,EAAO,oBACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6BVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC,GC/BjD,MAAMD,EAAO,mBACPC,EAAS;AAAA;AAAA;AAAA,EAKVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC,GCPjD,MAAMD,EAAO,cACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC","x_google_ignoreList":[0,1,2,3,4]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{j as e}from"./index.BoI39RQH.js";const f="clipPlaneFragmentDeclaration",d=`#ifdef CLIPPLANE
|
| 2 |
+
varying float fClipDistance;
|
| 3 |
+
#endif
|
| 4 |
+
#ifdef CLIPPLANE2
|
| 5 |
+
varying float fClipDistance2;
|
| 6 |
+
#endif
|
| 7 |
+
#ifdef CLIPPLANE3
|
| 8 |
+
varying float fClipDistance3;
|
| 9 |
+
#endif
|
| 10 |
+
#ifdef CLIPPLANE4
|
| 11 |
+
varying float fClipDistance4;
|
| 12 |
+
#endif
|
| 13 |
+
#ifdef CLIPPLANE5
|
| 14 |
+
varying float fClipDistance5;
|
| 15 |
+
#endif
|
| 16 |
+
#ifdef CLIPPLANE6
|
| 17 |
+
varying float fClipDistance6;
|
| 18 |
+
#endif
|
| 19 |
+
`;e.IncludesShadersStore[f]||(e.IncludesShadersStore[f]=d);const i="fogFragmentDeclaration",s=`#ifdef FOG
|
| 20 |
+
#define FOGMODE_NONE 0.
|
| 21 |
+
#define FOGMODE_EXP 1.
|
| 22 |
+
#define FOGMODE_EXP2 2.
|
| 23 |
+
#define FOGMODE_LINEAR 3.
|
| 24 |
+
#define E 2.71828
|
| 25 |
+
uniform vec4 vFogInfos;uniform vec3 vFogColor;varying vec3 vFogDistance;float CalcFogFactor()
|
| 26 |
+
{float fogCoeff=1.0;float fogStart=vFogInfos.y;float fogEnd=vFogInfos.z;float fogDensity=vFogInfos.w;float fogDistance=length(vFogDistance);if (FOGMODE_LINEAR==vFogInfos.x)
|
| 27 |
+
{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}
|
| 28 |
+
else if (FOGMODE_EXP==vFogInfos.x)
|
| 29 |
+
{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}
|
| 30 |
+
else if (FOGMODE_EXP2==vFogInfos.x)
|
| 31 |
+
{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
|
| 32 |
+
return clamp(fogCoeff,0.0,1.0);}
|
| 33 |
+
#endif
|
| 34 |
+
`;e.IncludesShadersStore[i]||(e.IncludesShadersStore[i]=s);const n="clipPlaneFragment",t=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
| 35 |
+
if (false) {}
|
| 36 |
+
#endif
|
| 37 |
+
#ifdef CLIPPLANE
|
| 38 |
+
else if (fClipDistance>0.0)
|
| 39 |
+
{discard;}
|
| 40 |
+
#endif
|
| 41 |
+
#ifdef CLIPPLANE2
|
| 42 |
+
else if (fClipDistance2>0.0)
|
| 43 |
+
{discard;}
|
| 44 |
+
#endif
|
| 45 |
+
#ifdef CLIPPLANE3
|
| 46 |
+
else if (fClipDistance3>0.0)
|
| 47 |
+
{discard;}
|
| 48 |
+
#endif
|
| 49 |
+
#ifdef CLIPPLANE4
|
| 50 |
+
else if (fClipDistance4>0.0)
|
| 51 |
+
{discard;}
|
| 52 |
+
#endif
|
| 53 |
+
#ifdef CLIPPLANE5
|
| 54 |
+
else if (fClipDistance5>0.0)
|
| 55 |
+
{discard;}
|
| 56 |
+
#endif
|
| 57 |
+
#ifdef CLIPPLANE6
|
| 58 |
+
else if (fClipDistance6>0.0)
|
| 59 |
+
{discard;}
|
| 60 |
+
#endif
|
| 61 |
+
`;e.IncludesShadersStore[n]||(e.IncludesShadersStore[n]=t);const o="logDepthFragment",r=`#ifdef LOGARITHMICDEPTH
|
| 62 |
+
gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
|
| 63 |
+
#endif
|
| 64 |
+
`;e.IncludesShadersStore[o]||(e.IncludesShadersStore[o]=r);const a="fogFragment",l=`#ifdef FOG
|
| 65 |
+
float fog=CalcFogFactor();
|
| 66 |
+
#ifdef PBR
|
| 67 |
+
fog=toLinearSpace(fog);
|
| 68 |
+
#endif
|
| 69 |
+
color.rgb=mix(vFogColor,color.rgb,fog);
|
| 70 |
+
#endif
|
| 71 |
+
`;e.IncludesShadersStore[a]||(e.IncludesShadersStore[a]=l);
|
| 72 |
+
//# sourceMappingURL=fogFragment.D2zFd_lI.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.br
ADDED
|
Binary file (642 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.gz
ADDED
|
Binary file (749 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fogFragment.D2zFd_lI.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"fogFragment.D2zFd_lI.js","sources":["../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneFragmentDeclaration.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogFragmentDeclaration.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneFragment.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/Shaders/ShadersInclude/logDepthFragment.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogFragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"clipPlaneFragmentDeclaration\";\nconst shader = `#ifdef CLIPPLANE\nvarying float fClipDistance;\n#endif\n#ifdef CLIPPLANE2\nvarying float fClipDistance2;\n#endif\n#ifdef CLIPPLANE3\nvarying float fClipDistance3;\n#endif\n#ifdef CLIPPLANE4\nvarying float fClipDistance4;\n#endif\n#ifdef CLIPPLANE5\nvarying float fClipDistance5;\n#endif\n#ifdef CLIPPLANE6\nvarying float fClipDistance6;\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStore[name]) {\n ShaderStore.IncludesShadersStore[name] = shader;\n}\n/** @internal */\nexport const clipPlaneFragmentDeclaration = { name, shader };\n//# sourceMappingURL=clipPlaneFragmentDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"fogFragmentDeclaration\";\nconst shader = `#ifdef FOG\n#define FOGMODE_NONE 0.\n#define FOGMODE_EXP 1.\n#define FOGMODE_EXP2 2.\n#define FOGMODE_LINEAR 3.\n#define E 2.71828\nuniform vec4 vFogInfos;uniform vec3 vFogColor;varying vec3 vFogDistance;float CalcFogFactor()\n{float fogCoeff=1.0;float fogStart=vFogInfos.y;float fogEnd=vFogInfos.z;float fogDensity=vFogInfos.w;float fogDistance=length(vFogDistance);if (FOGMODE_LINEAR==vFogInfos.x)\n{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}\nelse if (FOGMODE_EXP==vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}\nelse if (FOGMODE_EXP2==vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}\nreturn clamp(fogCoeff,0.0,1.0);}\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStore[name]) {\n ShaderStore.IncludesShadersStore[name] = shader;\n}\n/** @internal */\nexport const fogFragmentDeclaration = { name, shader };\n//# sourceMappingURL=fogFragmentDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"clipPlaneFragment\";\nconst shader = `#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)\nif (false) {}\n#endif\n#ifdef CLIPPLANE\nelse if (fClipDistance>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE2\nelse if (fClipDistance2>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE3\nelse if (fClipDistance3>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE4\nelse if (fClipDistance4>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE5\nelse if (fClipDistance5>0.0)\n{discard;}\n#endif\n#ifdef CLIPPLANE6\nelse if (fClipDistance6>0.0)\n{discard;}\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStore[name]) {\n ShaderStore.IncludesShadersStore[name] = shader;\n}\n/** @internal */\nexport const clipPlaneFragment = { name, shader };\n//# sourceMappingURL=clipPlaneFragment.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"logDepthFragment\";\nconst shader = `#ifdef LOGARITHMICDEPTH\ngl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStore[name]) {\n ShaderStore.IncludesShadersStore[name] = shader;\n}\n/** @internal */\nexport const logDepthFragment = { name, shader };\n//# sourceMappingURL=logDepthFragment.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"fogFragment\";\nconst shader = `#ifdef FOG\nfloat fog=CalcFogFactor();\n#ifdef PBR\nfog=toLinearSpace(fog);\n#endif\ncolor.rgb=mix(vFogColor,color.rgb,fog);\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStore[name]) {\n ShaderStore.IncludesShadersStore[name] = shader;\n}\n/** @internal */\nexport const fogFragment = { name, shader };\n//# sourceMappingURL=fogFragment.js.map"],"names":["name","shader","ShaderStore"],"mappings":"wCAEA,MAAMA,EAAO,+BACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBVC,EAAY,qBAAqBF,CAAI,IACtCE,EAAY,qBAAqBF,CAAI,EAAIC,GCtB7C,MAAMD,EAAO,yBACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiBVC,EAAY,qBAAqBF,CAAI,IACtCE,EAAY,qBAAqBF,CAAI,EAAIC,GCnB7C,MAAMD,EAAO,oBACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6BVC,EAAY,qBAAqBF,CAAI,IACtCE,EAAY,qBAAqBF,CAAI,EAAIC,GC/B7C,MAAMD,EAAO,mBACPC,EAAS;AAAA;AAAA;AAAA,EAKVC,EAAY,qBAAqBF,CAAI,IACtCE,EAAY,qBAAqBF,CAAI,EAAIC,GCP7C,MAAMD,EAAO,cACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASVC,EAAY,qBAAqBF,CAAI,IACtCE,EAAY,qBAAqBF,CAAI,EAAIC","x_google_ignoreList":[0,1,2,3,4]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const e="Français",o={annotated_image:"Image annotée"},r={allow_recording_access:"Veuillez autoriser l'accès au microphone pour l'enregistrement.",audio:"Audio",record_from_microphone:"Enregistrer depuis le microphone",stop_recording:"Arrêter l'enregistrement",no_device_support:"Impossible d'accéder aux périphériques multimédias. Assurez-vous que vous êtes sur une source sécurisée (https) ou localhost (ou avez passé un certificat SSL valide à ssl_verify), et que vous avez autorisé l'accès du navigateur à votre appareil.",stop:"Arrêter",resume:"Reprendre",record:"Enregistrer",no_microphone:"Aucun microphone trouvé",pause:"Pause",play:"Lecture",waiting:"En attente",drop_to_upload:"Déposez un fichier audio ici pour le télécharger"},i={connection_can_break:"Sur mobile, la connexion peut être interrompue si cet onglet perd le focus ou si l'appareil se met en veille, perdant votre position dans la file d'attente.",long_requests_queue:"Il y a une longue file d'attente de requêtes en attente. Dupliquez ce Space pour la contourner.",lost_connection:"Connexion perdue en quittant la page. Retour à la file d'attente...",waiting_for_inputs:"En attente de la fin du téléchargement des fichier(s), veuillez réessayer."},a={checkbox:"Case à cocher",checkbox_group:"Groupe de cases à cocher"},n={code:"Code"},t={color_picker:"Sélecteur de couleur"},c={built_with:"créé avec",built_with_gradio:"Créé avec Gradio",clear:"Effacer",download:"Télécharger",edit:"Modifier",empty:"Vide",flag:"Marquer",error:"Erreur",hosted_on:"Hébergé sur",loading:"Chargement",logo:"logo",or:"ou",remove:"Supprimer",settings:"Paramètres",share:"Partager",submit:"Envoyer",undo:"Annuler",no_devices:"Aucun périphérique trouvé",language:"Langue",display_theme:"Thème d'affichage",pwa:"Application web progressive",run:"Exécuter"},s={incorrect_format:"Format incorrect, seuls les fichiers CSV et TSV sont pris en charge",new_column:"Ajouter une colonne",new_row:"Nouvelle ligne",add_row_above:"Ajouter une ligne au-dessus",add_row_below:"Ajouter une ligne en dessous",add_column_left:"Ajouter une colonne à gauche",add_column_right:"Ajouter une colonne à droite",delete_row:"Supprimer la ligne",delete_column:"Supprimer la colonne",sort_column:"Trier la colonne",sort_ascending:"Trier par ordre croissant",sort_descending:"Trier par ordre décroissant",drop_to_upload:"Déposez ici les fichiers CSV ou TSV pour importer les données dans le dataframe.",clear_sort:"Effacer le tri"},l={dropdown:"Menu déroulant"},u={build_error:"il y a une erreur de construction",config_error:"il y a une erreur de configuration",contact_page_author:"Veuillez contacter l'auteur de la page pour l'informer.",no_app_file:"il n'y a pas de fichier d'application",runtime_error:"il y a une erreur d'exécution",space_not_working:'"Le Space ne fonctionne pas car" {0}',space_paused:"le Space est en pause",use_via_api:"Utiliser via API",use_via_api_or_mcp:"Utiliser via API ou MCP"},d={uploading:"Téléchargement..."},p={highlighted_text:"Texte surligné"},_={allow_webcam_access:"Veuillez autoriser l'accès à la webcam pour l'enregistrement.",brush_color:"Couleur du pinceau",brush_radius:"Taille du pinceau",image:"Image",remove_image:"Supprimer l'image",select_brush_color:"Sélectionner la couleur du pinceau",start_drawing:"Commencer à dessiner",use_brush:"Utiliser le pinceau",drop_to_upload:"Déposez un fichier image ici pour télécharger"},g={label:"Étiquette"},m={enable_cookies:"Si vous visitez un Space HuggingFace en mode Incognito, vous devez activer les cookies tiers.",incorrect_credentials:"Identifiants incorrects",username:"nom d'utilisateur",password:"mot de passe",login:"Connexion"},h={number:"Nombre"},f={plot:"Graphique"},v={radio:"Bouton radio"},b={slider:"Curseur"},w={click_to_upload:"Cliquez pour télécharger un fichier",drop_audio:"Déposez l'audio ici",drop_csv:"Déposez le fichier CSV ici",drop_file:"Déposez le fichier ici",drop_image:"Déposez l'image ici",drop_video:"Déposez la vidéo ici",drop_gallery:"Déposez les médias ici",paste_clipboard:"Coller depuis le presse-papiers"},z={drop_to_upload:"Déposez un fichier vidéo ici pour le télécharger"},S={edit:"Modifier",retry:"Réessayer",undo:"Annuler",submit:"Envoyer",cancel:"Annuler",like:"J'aime",dislike:"Je n'aime pas",clear:"Effacer la conversation"},x={_name:e,"3D_model":{"3d_model":"Modèle 3D",drop_to_upload:"Déposez un fichier image ici pour le télécharger"},annotated_image:o,audio:r,blocks:i,checkbox:a,code:n,color_picker:t,common:c,dataframe:s,dropdown:l,errors:u,file:d,highlighted_text:p,image:_,label:g,login:m,number:h,plot:f,radio:v,slider:b,upload_text:w,video:z,chatbot:S};export{e as _name,o as annotated_image,r as audio,i as blocks,S as chatbot,a as checkbox,n as code,t as color_picker,c as common,s as dataframe,x as default,l as dropdown,u as errors,d as file,p as highlighted_text,_ as image,g as label,m as login,h as number,f as plot,v as radio,b as slider,w as upload_text,z as video};
|
| 2 |
+
//# sourceMappingURL=fr.BtMjEOuI.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.br
ADDED
|
Binary file (2.08 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.gz
ADDED
|
Binary file (2.29 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fr.BtMjEOuI.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"fr.BtMjEOuI.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{j as e}from"./index.BoI39RQH.js";const r="fresnelFunction",o=`#ifdef FRESNEL
|
| 2 |
+
fn computeFresnelTerm(viewDirection: vec3f,worldNormal: vec3f,bias: f32,power: f32)->f32
|
| 3 |
+
{let fresnelTerm: f32=pow(bias+abs(dot(viewDirection,worldNormal)),power);return clamp(fresnelTerm,0.,1.);}
|
| 4 |
+
#endif
|
| 5 |
+
`;e.IncludesShadersStoreWGSL[r]||(e.IncludesShadersStoreWGSL[r]=o);
|
| 6 |
+
//# sourceMappingURL=fresnelFunction.PQckb9nj.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.br
ADDED
|
Binary file (249 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.gz
ADDED
|
Binary file (292 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/fresnelFunction.PQckb9nj.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"fresnelFunction.PQckb9nj.js","sources":["../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/fresnelFunction.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"fresnelFunction\";\nconst shader = `#ifdef FRESNEL\nfn computeFresnelTerm(viewDirection: vec3f,worldNormal: vec3f,bias: f32,power: f32)->f32\n{let fresnelTerm: f32=pow(bias+abs(dot(viewDirection,worldNormal)),power);return clamp(fresnelTerm,0.,1.);}\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const fresnelFunctionWGSL = { name, shader };\n//# sourceMappingURL=fresnelFunction.js.map"],"names":["name","shader","ShaderStore"],"mappings":"wCAEA,MAAMA,EAAO,kBACPC,EAAS;AAAA;AAAA;AAAA;AAAA,EAMVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC","x_google_ignoreList":[0]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{s,t as o,f as m,c as l,p as i,S as f}from"./Code.CmGr0qgG.js";import{yaml as p}from"./yaml.DsCXHVTH.js";const n=/^---\s*$/m,F={defineNodes:[{name:"Frontmatter",block:!0},"FrontmatterMark"],props:[s({Frontmatter:[o.documentMeta,o.monospace],FrontmatterMark:o.processingInstruction}),m.add({Frontmatter:l,FrontmatterMark:()=>null})],wrap:i(t=>{const{parser:e}=f.define(p);return t.type.name==="Frontmatter"?{parser:e,overlay:[{from:t.from+4,to:t.to-4}]}:null}),parseBlock:[{name:"Frontmatter",before:"HorizontalRule",parse:(t,e)=>{let r;const a=new Array;if(t.lineStart===0&&n.test(e.text)){for(a.push(t.elt("FrontmatterMark",0,4));t.nextLine();)if(n.test(e.text)){r=t.lineStart+4;break}return r!==void 0&&(a.push(t.elt("FrontmatterMark",r-4,r)),t.addElement(t.elt("Frontmatter",0,r,a))),!0}return!1}}]};export{F as frontmatter};
|
| 2 |
+
//# sourceMappingURL=frontmatter.BNFpjisB.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.br
ADDED
|
Binary file (460 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.gz
ADDED
|
Binary file (522 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/frontmatter.BNFpjisB.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"frontmatter.BNFpjisB.js","sources":["../../../../../../../code/shared/frontmatter.ts"],"sourcesContent":["import type {\n\tElement,\n\tMarkdownExtension,\n\tBlockContext,\n\tLine\n} from \"@lezer/markdown\";\nimport { parseMixed } from \"@lezer/common\";\nimport { yaml } from \"@codemirror/legacy-modes/mode/yaml\";\nimport { foldInside, foldNodeProp, StreamLanguage } from \"@codemirror/language\";\nimport { styleTags, tags } from \"@lezer/highlight\";\n\nconst frontMatterFence = /^---\\s*$/m;\n\nexport const frontmatter: MarkdownExtension = {\n\tdefineNodes: [{ name: \"Frontmatter\", block: true }, \"FrontmatterMark\"],\n\tprops: [\n\t\tstyleTags({\n\t\t\tFrontmatter: [tags.documentMeta, tags.monospace],\n\t\t\tFrontmatterMark: tags.processingInstruction\n\t\t}),\n\t\tfoldNodeProp.add({\n\t\t\tFrontmatter: foldInside,\n\t\t\tFrontmatterMark: () => null\n\t\t})\n\t],\n\twrap: parseMixed((node) => {\n\t\tconst { parser } = StreamLanguage.define(yaml);\n\t\tif (node.type.name === \"Frontmatter\") {\n\t\t\treturn {\n\t\t\t\tparser,\n\t\t\t\toverlay: [{ from: node.from + 4, to: node.to - 4 }]\n\t\t\t};\n\t\t}\n\t\treturn null;\n\t}),\n\tparseBlock: [\n\t\t{\n\t\t\tname: \"Frontmatter\",\n\t\t\tbefore: \"HorizontalRule\",\n\t\t\tparse: (cx: BlockContext, line: Line): boolean => {\n\t\t\t\tlet end: number | undefined = undefined;\n\t\t\t\tconst children = new Array<Element>();\n\t\t\t\tif (cx.lineStart === 0 && frontMatterFence.test(line.text)) {\n\t\t\t\t\tchildren.push(cx.elt(\"FrontmatterMark\", 0, 4));\n\t\t\t\t\twhile (cx.nextLine()) {\n\t\t\t\t\t\tif (frontMatterFence.test(line.text)) {\n\t\t\t\t\t\t\tend = cx.lineStart + 4;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (end !== undefined) {\n\t\t\t\t\t\tchildren.push(cx.elt(\"FrontmatterMark\", end - 4, end));\n\t\t\t\t\t\tcx.addElement(cx.elt(\"Frontmatter\", 0, end, children));\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t]\n};\n"],"names":["frontMatterFence","frontmatter","styleTags","tags","foldNodeProp","foldInside","parseMixed","node","parser","StreamLanguage","yaml","cx","line","end","children"],"mappings":"+GAWA,MAAMA,EAAmB,YAEZC,EAAiC,CAC7C,YAAa,CAAC,CAAE,KAAM,cAAe,MAAO,IAAQ,iBAAiB,EACrE,MAAO,CACNC,EAAU,CACT,YAAa,CAACC,EAAK,aAAcA,EAAK,SAAS,EAC/C,gBAAiBA,EAAK,qBAAA,CACtB,EACDC,EAAa,IAAI,CAChB,YAAaC,EACb,gBAAiB,IAAM,IAAA,CACvB,CACF,EACA,KAAMC,EAAYC,GAAS,CAC1B,KAAM,CAAE,OAAAC,CAAW,EAAAC,EAAe,OAAOC,CAAI,EACzC,OAAAH,EAAK,KAAK,OAAS,cACf,CACN,OAAAC,EACA,QAAS,CAAC,CAAE,KAAMD,EAAK,KAAO,EAAG,GAAIA,EAAK,GAAK,EAAG,CAAA,EAG7C,IAAA,CACP,EACD,WAAY,CACX,CACC,KAAM,cACN,OAAQ,iBACR,MAAO,CAACI,EAAkBC,IAAwB,CACjD,IAAIC,EACE,MAAAC,EAAW,IAAI,MACrB,GAAIH,EAAG,YAAc,GAAKX,EAAiB,KAAKY,EAAK,IAAI,EAAG,CAEpD,IADPE,EAAS,KAAKH,EAAG,IAAI,kBAAmB,EAAG,CAAC,CAAC,EACtCA,EAAG,YACT,GAAIX,EAAiB,KAAKY,EAAK,IAAI,EAAG,CACrCC,EAAMF,EAAG,UAAY,EACrB,KACD,CAED,OAAIE,IAAQ,SACXC,EAAS,KAAKH,EAAG,IAAI,kBAAmBE,EAAM,EAAGA,CAAG,CAAC,EACrDF,EAAG,WAAWA,EAAG,IAAI,cAAe,EAAGE,EAAKC,CAAQ,CAAC,GAE/C,EACR,CACO,MAAA,EACR,CACD,CACD,CACD"}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{_ as l,at as U,d as ct,s as me,g as ke,n as ye,o as ge,c as pe,b as ve,t as xe,k as Te,l as bt,j as be,e as we,u as _e}from"./mermaid.core.DTNv8IuU.js";import{H as Ft,h as Lt}from"./2.XmRMbGVn.js";import{t as De,m as Se,a as Ce,i as Ee,b as jt,c as Xt,d as qt,e as Ut,f as Zt,s as Qt,g as $t,h as Me,j as Ae,k as Ie,l as Fe,n as Le,o as Ye,p as We}from"./time.Be8aEIgQ.js";import{l as Ve}from"./linear.BQxp-PJv.js";import{s as gt}from"./select.BigU4G0v.js";function Oe(t){return t}var vt=1,St=2,Ct=3,pt=4,Kt=1e-6;function ze(t){return"translate("+t+",0)"}function Pe(t){return"translate(0,"+t+")"}function Re(t){return e=>+t(e)}function Ne(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}function Be(){return!this.__axis}function re(t,e){var i=[],a=null,s=null,h=6,u=6,D=3,E=typeof window<"u"&&window.devicePixelRatio>1?0:.5,C=t===vt||t===pt?-1:1,p=t===pt||t===St?"x":"y",F=t===vt||t===Ct?ze:Pe;function S(x){var G=a??(e.ticks?e.ticks.apply(e,i):e.domain()),A=s??(e.tickFormat?e.tickFormat.apply(e,i):Oe),T=Math.max(h,0)+D,M=e.range(),L=+M[0]+E,Y=+M[M.length-1]+E,N=(e.bandwidth?Ne:Re)(e.copy(),E),R=x.selection?x.selection():x,j=R.selectAll(".domain").data([null]),z=R.selectAll(".tick").data(G,e).order(),g=z.exit(),w=z.enter().append("g").attr("class","tick"),b=z.select("line"),v=z.select("text");j=j.merge(j.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),z=z.merge(w),b=b.merge(w.append("line").attr("stroke","currentColor").attr(p+"2",C*h)),v=v.merge(w.append("text").attr("fill","currentColor").attr(p,C*T).attr("dy",t===vt?"0em":t===Ct?"0.71em":"0.32em")),x!==R&&(j=j.transition(x),z=z.transition(x),b=b.transition(x),v=v.transition(x),g=g.transition(x).attr("opacity",Kt).attr("transform",function(m){return isFinite(m=N(m))?F(m+E):this.getAttribute("transform")}),w.attr("opacity",Kt).attr("transform",function(m){var _=this.parentNode.__axis;return F((_&&isFinite(_=_(m))?_:N(m))+E)})),g.remove(),j.attr("d",t===pt||t===St?u?"M"+C*u+","+L+"H"+E+"V"+Y+"H"+C*u:"M"+E+","+L+"V"+Y:u?"M"+L+","+C*u+"V"+E+"H"+Y+"V"+C*u:"M"+L+","+E+"H"+Y),z.attr("opacity",1).attr("transform",function(m){return F(N(m)+E)}),b.attr(p+"2",C*h),v.attr(p,C*T).text(A),R.filter(Be).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===St?"start":t===pt?"end":"middle"),R.each(function(){this.__axis=N})}return S.scale=function(x){return arguments.length?(e=x,S):e},S.ticks=function(){return i=Array.from(arguments),S},S.tickArguments=function(x){return arguments.length?(i=x==null?[]:Array.from(x),S):i.slice()},S.tickValues=function(x){return arguments.length?(a=x==null?null:Array.from(x),S):a&&a.slice()},S.tickFormat=function(x){return arguments.length?(s=x,S):s},S.tickSize=function(x){return arguments.length?(h=u=+x,S):h},S.tickSizeInner=function(x){return arguments.length?(h=+x,S):h},S.tickSizeOuter=function(x){return arguments.length?(u=+x,S):u},S.tickPadding=function(x){return arguments.length?(D=+x,S):D},S.offset=function(x){return arguments.length?(E=+x,S):E},S}function He(t){return re(vt,t)}function Ge(t){return re(Ct,t)}var ne={exports:{}};(function(t,e){(function(i,a){t.exports=a()})(Ft,function(){var i="day";return function(a,s,h){var u=function(C){return C.add(4-C.isoWeekday(),i)},D=s.prototype;D.isoWeekYear=function(){return u(this).year()},D.isoWeek=function(C){if(!this.$utils().u(C))return this.add(7*(C-this.isoWeek()),i);var p,F,S,x,G=u(this),A=(p=this.isoWeekYear(),F=this.$u,S=(F?h.utc:h)().year(p).startOf("year"),x=4-S.isoWeekday(),S.isoWeekday()>4&&(x+=7),S.add(x,i));return G.diff(A,"week")+1},D.isoWeekday=function(C){return this.$utils().u(C)?this.day()||7:this.day(this.day()%7?C:C-7)};var E=D.startOf;D.startOf=function(C,p){var F=this.$utils(),S=!!F.u(p)||p;return F.p(C)==="isoweek"?S?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):E.bind(this)(C,p)}}})})(ne);var je=ne.exports;const Xe=Lt(je);var ie={exports:{}};(function(t,e){(function(i,a){t.exports=a()})(Ft,function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d/,h=/\d\d/,u=/\d\d?/,D=/\d*[^-_:/,()\s\d]+/,E={},C=function(T){return(T=+T)+(T>68?1900:2e3)},p=function(T){return function(M){this[T]=+M}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(T){(this.zone||(this.zone={})).offset=function(M){if(!M||M==="Z")return 0;var L=M.match(/([+-]|\d\d)/g),Y=60*L[1]+(+L[2]||0);return Y===0?0:L[0]==="+"?-Y:Y}(T)}],S=function(T){var M=E[T];return M&&(M.indexOf?M:M.s.concat(M.f))},x=function(T,M){var L,Y=E.meridiem;if(Y){for(var N=1;N<=24;N+=1)if(T.indexOf(Y(N,0,M))>-1){L=N>12;break}}else L=T===(M?"pm":"PM");return L},G={A:[D,function(T){this.afternoon=x(T,!1)}],a:[D,function(T){this.afternoon=x(T,!0)}],Q:[s,function(T){this.month=3*(T-1)+1}],S:[s,function(T){this.milliseconds=100*+T}],SS:[h,function(T){this.milliseconds=10*+T}],SSS:[/\d{3}/,function(T){this.milliseconds=+T}],s:[u,p("seconds")],ss:[u,p("seconds")],m:[u,p("minutes")],mm:[u,p("minutes")],H:[u,p("hours")],h:[u,p("hours")],HH:[u,p("hours")],hh:[u,p("hours")],D:[u,p("day")],DD:[h,p("day")],Do:[D,function(T){var M=E.ordinal,L=T.match(/\d+/);if(this.day=L[0],M)for(var Y=1;Y<=31;Y+=1)M(Y).replace(/\[|\]/g,"")===T&&(this.day=Y)}],w:[u,p("week")],ww:[h,p("week")],M:[u,p("month")],MM:[h,p("month")],MMM:[D,function(T){var M=S("months"),L=(S("monthsShort")||M.map(function(Y){return Y.slice(0,3)})).indexOf(T)+1;if(L<1)throw new Error;this.month=L%12||L}],MMMM:[D,function(T){var M=S("months").indexOf(T)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,p("year")],YY:[h,function(T){this.year=C(T)}],YYYY:[/\d{4}/,p("year")],Z:F,ZZ:F};function A(T){var M,L;M=T,L=E&&E.formats;for(var Y=(T=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,v,m){var _=m&&m.toUpperCase();return v||L[m]||i[m]||L[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(c,f,k){return f||k.slice(1)})})).match(a),N=Y.length,R=0;R<N;R+=1){var j=Y[R],z=G[j],g=z&&z[0],w=z&&z[1];Y[R]=w?{regex:g,parser:w}:j.replace(/^\[|\]$/g,"")}return function(b){for(var v={},m=0,_=0;m<N;m+=1){var c=Y[m];if(typeof c=="string")_+=c.length;else{var f=c.regex,k=c.parser,d=b.slice(_),y=f.exec(d)[0];k.call(v,y),b=b.replace(y,"")}}return function(n){var o=n.afternoon;if(o!==void 0){var r=n.hours;o?r<12&&(n.hours+=12):r===12&&(n.hours=0),delete n.afternoon}}(v),v}}return function(T,M,L){L.p.customParseFormat=!0,T&&T.parseTwoDigitYear&&(C=T.parseTwoDigitYear);var Y=M.prototype,N=Y.parse;Y.parse=function(R){var j=R.date,z=R.utc,g=R.args;this.$u=z;var w=g[1];if(typeof w=="string"){var b=g[2]===!0,v=g[3]===!0,m=b||v,_=g[2];v&&(_=g[2]),E=this.$locale(),!b&&_&&(E=L.Ls[_]),this.$d=function(d,y,n,o){try{if(["x","X"].indexOf(y)>-1)return new Date((y==="X"?1e3:1)*d);var r=A(y)(d),W=r.year,I=r.month,V=r.day,X=r.hours,O=r.minutes,P=r.seconds,$=r.milliseconds,st=r.zone,at=r.week,dt=new Date,ft=V||(W||I?1:dt.getDate()),ot=W||dt.getFullYear(),B=0;W&&!I||(B=I>0?I-1:dt.getMonth());var Q,q=X||0,nt=O||0,K=P||0,rt=$||0;return st?new Date(Date.UTC(ot,B,ft,q,nt,K,rt+60*st.offset*1e3)):n?new Date(Date.UTC(ot,B,ft,q,nt,K,rt)):(Q=new Date(ot,B,ft,q,nt,K,rt),at&&(Q=o(Q).week(at).toDate()),Q)}catch{return new Date("")}}(j,w,z,L),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),m&&j!=this.format(w)&&(this.$d=new Date("")),E={}}else if(w instanceof Array)for(var c=w.length,f=1;f<=c;f+=1){g[1]=w[f-1];var k=L.apply(this,g);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}f===c&&(this.$d=new Date(""))}else N.call(this,R)}}})})(ie);var qe=ie.exports;const Ue=Lt(qe);var se={exports:{}};(function(t,e){(function(i,a){t.exports=a()})(Ft,function(){return function(i,a){var s=a.prototype,h=s.format;s.format=function(u){var D=this,E=this.$locale();if(!this.isValid())return h.bind(this)(u);var C=this.$utils(),p=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((D.$M+1)/3);case"Do":return E.ordinal(D.$D);case"gggg":return D.weekYear();case"GGGG":return D.isoWeekYear();case"wo":return E.ordinal(D.week(),"W");case"w":case"ww":return C.s(D.week(),F==="w"?1:2,"0");case"W":case"WW":return C.s(D.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return C.s(String(D.$H===0?24:D.$H),F==="k"?1:2,"0");case"X":return Math.floor(D.$d.getTime()/1e3);case"x":return D.$d.getTime();case"z":return"["+D.offsetName()+"]";case"zzz":return"["+D.offsetName("long")+"]";default:return F}});return h.bind(this)(p)}}})})(se);var Ze=se.exports;const Qe=Lt(Ze);var Et=function(){var t=l(function(_,c,f,k){for(f=f||{},k=_.length;k--;f[_[k]]=c);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],a=[1,27],s=[1,28],h=[1,29],u=[1,30],D=[1,31],E=[1,32],C=[1,33],p=[1,34],F=[1,9],S=[1,10],x=[1,11],G=[1,12],A=[1,13],T=[1,14],M=[1,15],L=[1,16],Y=[1,19],N=[1,20],R=[1,21],j=[1,22],z=[1,23],g=[1,25],w=[1,35],b={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(c,f,k,d,y,n,o){var r=n.length-1;switch(y){case 1:return n[r-1];case 2:this.$=[];break;case 3:n[r-1].push(n[r]),this.$=n[r-1];break;case 4:case 5:this.$=n[r];break;case 6:case 7:this.$=[];break;case 8:d.setWeekday("monday");break;case 9:d.setWeekday("tuesday");break;case 10:d.setWeekday("wednesday");break;case 11:d.setWeekday("thursday");break;case 12:d.setWeekday("friday");break;case 13:d.setWeekday("saturday");break;case 14:d.setWeekday("sunday");break;case 15:d.setWeekend("friday");break;case 16:d.setWeekend("saturday");break;case 17:d.setDateFormat(n[r].substr(11)),this.$=n[r].substr(11);break;case 18:d.enableInclusiveEndDates(),this.$=n[r].substr(18);break;case 19:d.TopAxis(),this.$=n[r].substr(8);break;case 20:d.setAxisFormat(n[r].substr(11)),this.$=n[r].substr(11);break;case 21:d.setTickInterval(n[r].substr(13)),this.$=n[r].substr(13);break;case 22:d.setExcludes(n[r].substr(9)),this.$=n[r].substr(9);break;case 23:d.setIncludes(n[r].substr(9)),this.$=n[r].substr(9);break;case 24:d.setTodayMarker(n[r].substr(12)),this.$=n[r].substr(12);break;case 27:d.setDiagramTitle(n[r].substr(6)),this.$=n[r].substr(6);break;case 28:this.$=n[r].trim(),d.setAccTitle(this.$);break;case 29:case 30:this.$=n[r].trim(),d.setAccDescription(this.$);break;case 31:d.addSection(n[r].substr(8)),this.$=n[r].substr(8);break;case 33:d.addTask(n[r-1],n[r]),this.$="task";break;case 34:this.$=n[r-1],d.setClickEvent(n[r-1],n[r],null);break;case 35:this.$=n[r-2],d.setClickEvent(n[r-2],n[r-1],n[r]);break;case 36:this.$=n[r-2],d.setClickEvent(n[r-2],n[r-1],null),d.setLink(n[r-2],n[r]);break;case 37:this.$=n[r-3],d.setClickEvent(n[r-3],n[r-2],n[r-1]),d.setLink(n[r-3],n[r]);break;case 38:this.$=n[r-2],d.setClickEvent(n[r-2],n[r],null),d.setLink(n[r-2],n[r-1]);break;case 39:this.$=n[r-3],d.setClickEvent(n[r-3],n[r-1],n[r]),d.setLink(n[r-3],n[r-2]);break;case 40:this.$=n[r-1],d.setLink(n[r-1],n[r]);break;case 41:case 47:this.$=n[r-1]+" "+n[r];break;case 42:case 43:case 45:this.$=n[r-2]+" "+n[r-1]+" "+n[r];break;case 44:case 46:this.$=n[r-3]+" "+n[r-2]+" "+n[r-1]+" "+n[r];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:a,14:s,15:h,16:u,17:D,18:E,19:18,20:C,21:p,22:F,23:S,24:x,25:G,26:A,27:T,28:M,29:L,30:Y,31:N,33:R,35:j,36:z,37:24,38:g,40:w},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:i,13:a,14:s,15:h,16:u,17:D,18:E,19:18,20:C,21:p,22:F,23:S,24:x,25:G,26:A,27:T,28:M,29:L,30:Y,31:N,33:R,35:j,36:z,37:24,38:g,40:w},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(c,f){if(f.recoverable)this.trace(c);else{var k=new Error(c);throw k.hash=f,k}},"parseError"),parse:l(function(c){var f=this,k=[0],d=[],y=[null],n=[],o=this.table,r="",W=0,I=0,V=2,X=1,O=n.slice.call(arguments,1),P=Object.create(this.lexer),$={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&($.yy[st]=this.yy[st]);P.setInput(c,$.yy),$.yy.lexer=P,$.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var at=P.yylloc;n.push(at);var dt=P.options&&P.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(Z){k.length=k.length-2*Z,y.length=y.length-Z,n.length=n.length-Z}l(ft,"popStack");function ot(){var Z;return Z=d.pop()||P.lex()||X,typeof Z!="number"&&(Z instanceof Array&&(d=Z,Z=d.pop()),Z=f.symbols_[Z]||Z),Z}l(ot,"lex");for(var B,Q,q,nt,K={},rt,J,Gt,yt;;){if(Q=k[k.length-1],this.defaultActions[Q]?q=this.defaultActions[Q]:((B===null||typeof B>"u")&&(B=ot()),q=o[Q]&&o[Q][B]),typeof q>"u"||!q.length||!q[0]){var Dt="";yt=[];for(rt in o[Q])this.terminals_[rt]&&rt>V&&yt.push("'"+this.terminals_[rt]+"'");P.showPosition?Dt="Parse error on line "+(W+1)+`:
|
| 2 |
+
`+P.showPosition()+`
|
| 3 |
+
Expecting `+yt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Dt="Parse error on line "+(W+1)+": Unexpected "+(B==X?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Dt,{text:P.match,token:this.terminals_[B]||B,line:P.yylineno,loc:at,expected:yt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+B);switch(q[0]){case 1:k.push(B),y.push(P.yytext),n.push(P.yylloc),k.push(q[1]),B=null,I=P.yyleng,r=P.yytext,W=P.yylineno,at=P.yylloc;break;case 2:if(J=this.productions_[q[1]][1],K.$=y[y.length-J],K._$={first_line:n[n.length-(J||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(J||1)].first_column,last_column:n[n.length-1].last_column},dt&&(K._$.range=[n[n.length-(J||1)].range[0],n[n.length-1].range[1]]),nt=this.performAction.apply(K,[r,I,W,$.yy,q[1],y,n].concat(O)),typeof nt<"u")return nt;J&&(k=k.slice(0,-1*J*2),y=y.slice(0,-1*J),n=n.slice(0,-1*J)),k.push(this.productions_[q[1]][0]),y.push(K.$),n.push(K._$),Gt=o[k[k.length-2]][k[k.length-1]],k.push(Gt);break;case 3:return!0}}return!0},"parse")},v=function(){var _={EOF:1,parseError:l(function(f,k){if(this.yy.parser)this.yy.parser.parseError(f,k);else throw new Error(f)},"parseError"),setInput:l(function(c,f){return this.yy=f||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var f=c.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:l(function(c){var f=c.length,k=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),k.length-1&&(this.yylineno-=k.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:k?(k.length===d.length?this.yylloc.first_column:0)+d[d.length-k.length].length-k[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
| 4 |
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(c){this.unput(this.match.slice(c))},"less"),pastInput:l(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var c=this.pastInput(),f=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
| 5 |
+
`+f+"^"},"showPosition"),test_match:l(function(c,f){var k,d,y;if(this.options.backtrack_lexer&&(y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(y.yylloc.range=this.yylloc.range.slice(0))),d=c[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],k=this.performAction.call(this,this.yy,this,f,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k)return k;if(this._backtrack){for(var n in y)this[n]=y[n];return!1}return!1},"test_match"),next:l(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,f,k,d;this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),n=0;n<y.length;n++)if(k=this._input.match(this.rules[y[n]]),k&&(!f||k[0].length>f[0].length)){if(f=k,d=n,this.options.backtrack_lexer){if(c=this.test_match(k,y[n]),c!==!1)return c;if(this._backtrack){f=!1;continue}else return!1}else if(!this.options.flex)break}return f?(c=this.test_match(f,y[d]),c!==!1?c:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
| 6 |
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:l(function(){var f=this.next();return f||this.lex()},"lex"),begin:l(function(f){this.conditionStack.push(f)},"begin"),popState:l(function(){var f=this.conditionStack.length-1;return f>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:l(function(f){return f=this.conditionStack.length-1-Math.abs(f||0),f>=0?this.conditionStack[f]:"INITIAL"},"topState"),pushState:l(function(f){this.begin(f)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(f,k,d,y){switch(d){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return _}();b.lexer=v;function m(){this.yy={}}return l(m,"Parser"),m.prototype=b,b.Parser=m,new m}();Et.parser=Et;var $e=Et;U.extend(Xe);U.extend(Ue);U.extend(Qe);var Jt={friday:5,saturday:6},tt="",Yt="",Wt=void 0,Vt="",ht=[],mt=[],Ot=new Map,zt=[],wt=[],ut="",Pt="",ae=["active","done","crit","milestone","vert"],Rt=[],kt=!1,Nt=!1,Bt="sunday",_t="saturday",Mt=0,Ke=l(function(){zt=[],wt=[],ut="",Rt=[],xt=0,It=void 0,Tt=void 0,H=[],tt="",Yt="",Pt="",Wt=void 0,Vt="",ht=[],mt=[],kt=!1,Nt=!1,Mt=0,Ot=new Map,xe(),Bt="sunday",_t="saturday"},"clear"),Je=l(function(t){Yt=t},"setAxisFormat"),tr=l(function(){return Yt},"getAxisFormat"),er=l(function(t){Wt=t},"setTickInterval"),rr=l(function(){return Wt},"getTickInterval"),nr=l(function(t){Vt=t},"setTodayMarker"),ir=l(function(){return Vt},"getTodayMarker"),sr=l(function(t){tt=t},"setDateFormat"),ar=l(function(){kt=!0},"enableInclusiveEndDates"),or=l(function(){return kt},"endDatesAreInclusive"),cr=l(function(){Nt=!0},"enableTopAxis"),lr=l(function(){return Nt},"topAxisEnabled"),ur=l(function(t){Pt=t},"setDisplayMode"),dr=l(function(){return Pt},"getDisplayMode"),fr=l(function(){return tt},"getDateFormat"),hr=l(function(t){ht=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),mr=l(function(){return ht},"getIncludes"),kr=l(function(t){mt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),yr=l(function(){return mt},"getExcludes"),gr=l(function(){return Ot},"getLinks"),pr=l(function(t){ut=t,zt.push(t)},"addSection"),vr=l(function(){return zt},"getSections"),xr=l(function(){let t=te();const e=10;let i=0;for(;!t&&i<e;)t=te(),i++;return wt=H,wt},"getTasks"),oe=l(function(t,e,i,a){const s=t.format(e.trim()),h=t.format("YYYY-MM-DD");return a.includes(s)||a.includes(h)?!1:i.includes("weekends")&&(t.isoWeekday()===Jt[_t]||t.isoWeekday()===Jt[_t]+1)||i.includes(t.format("dddd").toLowerCase())?!0:i.includes(s)||i.includes(h)},"isInvalidDate"),Tr=l(function(t){Bt=t},"setWeekday"),br=l(function(){return Bt},"getWeekday"),wr=l(function(t){_t=t},"setWeekend"),ce=l(function(t,e,i,a){if(!i.length||t.manualEndTime)return;let s;t.startTime instanceof Date?s=U(t.startTime):s=U(t.startTime,e,!0),s=s.add(1,"d");let h;t.endTime instanceof Date?h=U(t.endTime):h=U(t.endTime,e,!0);const[u,D]=_r(s,h,e,i,a);t.endTime=u.toDate(),t.renderEndTime=D},"checkTaskDates"),_r=l(function(t,e,i,a,s){let h=!1,u=null;for(;t<=e;)h||(u=e.toDate()),h=oe(t,i,a,s),h&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,u]},"fixTaskDates"),At=l(function(t,e,i){i=i.trim();const s=/^after\s+(?<ids>[\d\w- ]+)/.exec(i);if(s!==null){let u=null;for(const E of s.groups.ids.split(" ")){let C=it(E);C!==void 0&&(!u||C.endTime>u.endTime)&&(u=C)}if(u)return u.endTime;const D=new Date;return D.setHours(0,0,0,0),D}let h=U(i,e.trim(),!0);if(h.isValid())return h.toDate();{bt.debug("Invalid date:"+i),bt.debug("With date format:"+e.trim());const u=new Date(i);if(u===void 0||isNaN(u.getTime())||u.getFullYear()<-1e4||u.getFullYear()>1e4)throw new Error("Invalid date:"+i);return u}},"getStartDate"),le=l(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),ue=l(function(t,e,i,a=!1){i=i.trim();const h=/^until\s+(?<ids>[\d\w- ]+)/.exec(i);if(h!==null){let p=null;for(const S of h.groups.ids.split(" ")){let x=it(S);x!==void 0&&(!p||x.startTime<p.startTime)&&(p=x)}if(p)return p.startTime;const F=new Date;return F.setHours(0,0,0,0),F}let u=U(i,e.trim(),!0);if(u.isValid())return a&&(u=u.add(1,"d")),u.toDate();let D=U(t);const[E,C]=le(i);if(!Number.isNaN(E)){const p=D.add(E,C);p.isValid()&&(D=p)}return D.toDate()},"getEndDate"),xt=0,lt=l(function(t){return t===void 0?(xt=xt+1,"task"+xt):t},"parseId"),Dr=l(function(t,e){let i;e.substr(0,1)===":"?i=e.substr(1,e.length):i=e;const a=i.split(","),s={};Ht(a,s,ae);for(let u=0;u<a.length;u++)a[u]=a[u].trim();let h="";switch(a.length){case 1:s.id=lt(),s.startTime=t.endTime,h=a[0];break;case 2:s.id=lt(),s.startTime=At(void 0,tt,a[0]),h=a[1];break;case 3:s.id=lt(a[0]),s.startTime=At(void 0,tt,a[1]),h=a[2];break}return h&&(s.endTime=ue(s.startTime,tt,h,kt),s.manualEndTime=U(h,"YYYY-MM-DD",!0).isValid(),ce(s,tt,mt,ht)),s},"compileData"),Sr=l(function(t,e){let i;e.substr(0,1)===":"?i=e.substr(1,e.length):i=e;const a=i.split(","),s={};Ht(a,s,ae);for(let h=0;h<a.length;h++)a[h]=a[h].trim();switch(a.length){case 1:s.id=lt(),s.startTime={type:"prevTaskEnd",id:t},s.endTime={data:a[0]};break;case 2:s.id=lt(),s.startTime={type:"getStartDate",startData:a[0]},s.endTime={data:a[1]};break;case 3:s.id=lt(a[0]),s.startTime={type:"getStartDate",startData:a[1]},s.endTime={data:a[2]};break}return s},"parseData"),It,Tt,H=[],de={},Cr=l(function(t,e){const i={section:ut,type:ut,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},a=Sr(Tt,e);i.raw.startTime=a.startTime,i.raw.endTime=a.endTime,i.id=a.id,i.prevTaskId=Tt,i.active=a.active,i.done=a.done,i.crit=a.crit,i.milestone=a.milestone,i.vert=a.vert,i.order=Mt,Mt++;const s=H.push(i);Tt=i.id,de[i.id]=s-1},"addTask"),it=l(function(t){const e=de[t];return H[e]},"findTaskById"),Er=l(function(t,e){const i={section:ut,type:ut,description:t,task:t,classes:[]},a=Dr(It,e);i.startTime=a.startTime,i.endTime=a.endTime,i.id=a.id,i.active=a.active,i.done=a.done,i.crit=a.crit,i.milestone=a.milestone,i.vert=a.vert,It=i,wt.push(i)},"addTaskOrg"),te=l(function(){const t=l(function(i){const a=H[i];let s="";switch(H[i].raw.startTime.type){case"prevTaskEnd":{const h=it(a.prevTaskId);a.startTime=h.endTime;break}case"getStartDate":s=At(void 0,tt,H[i].raw.startTime.startData),s&&(H[i].startTime=s);break}return H[i].startTime&&(H[i].endTime=ue(H[i].startTime,tt,H[i].raw.endTime.data,kt),H[i].endTime&&(H[i].processed=!0,H[i].manualEndTime=U(H[i].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),ce(H[i],tt,mt,ht))),H[i].processed},"compileTask");let e=!0;for(const[i,a]of H.entries())t(i),e=e&&a.processed;return e},"compileTasks"),Mr=l(function(t,e){let i=e;ct().securityLevel!=="loose"&&(i=Te(e)),t.split(",").forEach(function(a){it(a)!==void 0&&(he(a,()=>{window.open(i,"_self")}),Ot.set(a,i))}),fe(t,"clickable")},"setLink"),fe=l(function(t,e){t.split(",").forEach(function(i){let a=it(i);a!==void 0&&a.classes.push(e)})},"setClass"),Ar=l(function(t,e,i){if(ct().securityLevel!=="loose"||e===void 0)return;let a=[];if(typeof i=="string"){a=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h<a.length;h++){let u=a[h].trim();u.startsWith('"')&&u.endsWith('"')&&(u=u.substr(1,u.length-2)),a[h]=u}}a.length===0&&a.push(t),it(t)!==void 0&&he(t,()=>{_e.runFunc(e,...a)})},"setClickFun"),he=l(function(t,e){Rt.push(function(){const i=document.querySelector(`[id="${t}"]`);i!==null&&i.addEventListener("click",function(){e()})},function(){const i=document.querySelector(`[id="${t}-text"]`);i!==null&&i.addEventListener("click",function(){e()})})},"pushFun"),Ir=l(function(t,e,i){t.split(",").forEach(function(a){Ar(a,e,i)}),fe(t,"clickable")},"setClickEvent"),Fr=l(function(t){Rt.forEach(function(e){e(t)})},"bindFunctions"),Lr={getConfig:l(()=>ct().gantt,"getConfig"),clear:Ke,setDateFormat:sr,getDateFormat:fr,enableInclusiveEndDates:ar,endDatesAreInclusive:or,enableTopAxis:cr,topAxisEnabled:lr,setAxisFormat:Je,getAxisFormat:tr,setTickInterval:er,getTickInterval:rr,setTodayMarker:nr,getTodayMarker:ir,setAccTitle:me,getAccTitle:ke,setDiagramTitle:ye,getDiagramTitle:ge,setDisplayMode:ur,getDisplayMode:dr,setAccDescription:pe,getAccDescription:ve,addSection:pr,getSections:vr,getTasks:xr,addTask:Cr,findTaskById:it,addTaskOrg:Er,setIncludes:hr,getIncludes:mr,setExcludes:kr,getExcludes:yr,setClickEvent:Ir,setLink:Mr,getLinks:gr,bindFunctions:Fr,parseDuration:le,isInvalidDate:oe,setWeekday:Tr,getWeekday:br,setWeekend:wr};function Ht(t,e,i){let a=!0;for(;a;)a=!1,i.forEach(function(s){const h="^\\s*"+s+"\\s*$",u=new RegExp(h);t[0].match(u)&&(e[s]=!0,t.shift(1),a=!0)})}l(Ht,"getTaskTags");var Yr=l(function(){bt.debug("Something is calling, setConf, remove the call")},"setConf"),ee={monday:Me,tuesday:Ae,wednesday:Ie,thursday:Fe,friday:Le,saturday:Ye,sunday:We},Wr=l((t,e)=>{let i=[...t].map(()=>-1/0),a=[...t].sort((h,u)=>h.startTime-u.startTime||h.order-u.order),s=0;for(const h of a)for(let u=0;u<i.length;u++)if(h.startTime>=i[u]){i[u]=h.endTime,h.order=u+e,u>s&&(s=u);break}return s},"getMaxIntersections"),et,Vr=l(function(t,e,i,a){const s=ct().gantt,h=ct().securityLevel;let u;h==="sandbox"&&(u=gt("#i"+e));const D=h==="sandbox"?gt(u.nodes()[0].contentDocument.body):gt("body"),E=h==="sandbox"?u.nodes()[0].contentDocument:document,C=E.getElementById(e);et=C.parentElement.offsetWidth,et===void 0&&(et=1200),s.useWidth!==void 0&&(et=s.useWidth);const p=a.db.getTasks();let F=[];for(const g of p)F.push(g.type);F=z(F);const S={};let x=2*s.topPadding;if(a.db.getDisplayMode()==="compact"||s.displayMode==="compact"){const g={};for(const b of p)g[b.section]===void 0?g[b.section]=[b]:g[b.section].push(b);let w=0;for(const b of Object.keys(g)){const v=Wr(g[b],w)+1;w+=v,x+=v*(s.barHeight+s.barGap),S[b]=v}}else{x+=p.length*(s.barHeight+s.barGap);for(const g of F)S[g]=p.filter(w=>w.type===g).length}C.setAttribute("viewBox","0 0 "+et+" "+x);const G=D.select(`[id="${e}"]`),A=De().domain([Se(p,function(g){return g.startTime}),Ce(p,function(g){return g.endTime})]).rangeRound([0,et-s.leftPadding-s.rightPadding]);function T(g,w){const b=g.startTime,v=w.startTime;let m=0;return b>v?m=1:b<v&&(m=-1),m}l(T,"taskCompare"),p.sort(T),M(p,et,x),be(G,x,et,s.useMaxWidth),G.append("text").text(a.db.getDiagramTitle()).attr("x",et/2).attr("y",s.titleTopMargin).attr("class","titleText");function M(g,w,b){const v=s.barHeight,m=v+s.barGap,_=s.topPadding,c=s.leftPadding,f=Ve().domain([0,F.length]).range(["#00B9FA","#F95002"]).interpolate(Ee);Y(m,_,c,w,b,g,a.db.getExcludes(),a.db.getIncludes()),N(c,_,w,b),L(g,m,_,c,v,f,w),R(m,_),j(c,_,w,b)}l(M,"makeGantt");function L(g,w,b,v,m,_,c){g.sort((o,r)=>o.vert===r.vert?0:o.vert?1:-1);const k=[...new Set(g.map(o=>o.order))].map(o=>g.find(r=>r.order===o));G.append("g").selectAll("rect").data(k).enter().append("rect").attr("x",0).attr("y",function(o,r){return r=o.order,r*w+b-2}).attr("width",function(){return c-s.rightPadding/2}).attr("height",w).attr("class",function(o){for(const[r,W]of F.entries())if(o.type===W)return"section section"+r%s.numberSectionStyles;return"section section0"}).enter();const d=G.append("g").selectAll("rect").data(g).enter(),y=a.db.getLinks();if(d.append("rect").attr("id",function(o){return o.id}).attr("rx",3).attr("ry",3).attr("x",function(o){return o.milestone?A(o.startTime)+v+.5*(A(o.endTime)-A(o.startTime))-.5*m:A(o.startTime)+v}).attr("y",function(o,r){return r=o.order,o.vert?s.gridLineStartPadding:r*w+b}).attr("width",function(o){return o.milestone?m:o.vert?.08*m:A(o.renderEndTime||o.endTime)-A(o.startTime)}).attr("height",function(o){return o.vert?p.length*(s.barHeight+s.barGap)+s.barHeight*2:m}).attr("transform-origin",function(o,r){return r=o.order,(A(o.startTime)+v+.5*(A(o.endTime)-A(o.startTime))).toString()+"px "+(r*w+b+.5*m).toString()+"px"}).attr("class",function(o){const r="task";let W="";o.classes.length>0&&(W=o.classes.join(" "));let I=0;for(const[X,O]of F.entries())o.type===O&&(I=X%s.numberSectionStyles);let V="";return o.active?o.crit?V+=" activeCrit":V=" active":o.done?o.crit?V=" doneCrit":V=" done":o.crit&&(V+=" crit"),V.length===0&&(V=" task"),o.milestone&&(V=" milestone "+V),o.vert&&(V=" vert "+V),V+=I,V+=" "+W,r+V}),d.append("text").attr("id",function(o){return o.id+"-text"}).text(function(o){return o.task}).attr("font-size",s.fontSize).attr("x",function(o){let r=A(o.startTime),W=A(o.renderEndTime||o.endTime);if(o.milestone&&(r+=.5*(A(o.endTime)-A(o.startTime))-.5*m,W=r+m),o.vert)return A(o.startTime)+v;const I=this.getBBox().width;return I>W-r?W+I+1.5*s.leftPadding>c?r+v-5:W+v+5:(W-r)/2+r+v}).attr("y",function(o,r){return o.vert?s.gridLineStartPadding+p.length*(s.barHeight+s.barGap)+60:(r=o.order,r*w+s.barHeight/2+(s.fontSize/2-2)+b)}).attr("text-height",m).attr("class",function(o){const r=A(o.startTime);let W=A(o.endTime);o.milestone&&(W=r+m);const I=this.getBBox().width;let V="";o.classes.length>0&&(V=o.classes.join(" "));let X=0;for(const[P,$]of F.entries())o.type===$&&(X=P%s.numberSectionStyles);let O="";return o.active&&(o.crit?O="activeCritText"+X:O="activeText"+X),o.done?o.crit?O=O+" doneCritText"+X:O=O+" doneText"+X:o.crit&&(O=O+" critText"+X),o.milestone&&(O+=" milestoneText"),o.vert&&(O+=" vertText"),I>W-r?W+I+1.5*s.leftPadding>c?V+" taskTextOutsideLeft taskTextOutside"+X+" "+O:V+" taskTextOutsideRight taskTextOutside"+X+" "+O+" width-"+I:V+" taskText taskText"+X+" "+O+" width-"+I}),ct().securityLevel==="sandbox"){let o;o=gt("#i"+e);const r=o.nodes()[0].contentDocument;d.filter(function(W){return y.has(W.id)}).each(function(W){var I=r.querySelector("#"+W.id),V=r.querySelector("#"+W.id+"-text");const X=I.parentNode;var O=r.createElement("a");O.setAttribute("xlink:href",y.get(W.id)),O.setAttribute("target","_top"),X.appendChild(O),O.appendChild(I),O.appendChild(V)})}}l(L,"drawRects");function Y(g,w,b,v,m,_,c,f){if(c.length===0&&f.length===0)return;let k,d;for(const{startTime:I,endTime:V}of _)(k===void 0||I<k)&&(k=I),(d===void 0||V>d)&&(d=V);if(!k||!d)return;if(U(d).diff(U(k),"year")>5){bt.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const y=a.db.getDateFormat(),n=[];let o=null,r=U(k);for(;r.valueOf()<=d;)a.db.isInvalidDate(r,y,c,f)?o?o.end=r:o={start:r,end:r}:o&&(n.push(o),o=null),r=r.add(1,"d");G.append("g").selectAll("rect").data(n).enter().append("rect").attr("id",I=>"exclude-"+I.start.format("YYYY-MM-DD")).attr("x",I=>A(I.start.startOf("day"))+b).attr("y",s.gridLineStartPadding).attr("width",I=>A(I.end.endOf("day"))-A(I.start.startOf("day"))).attr("height",m-w-s.gridLineStartPadding).attr("transform-origin",function(I,V){return(A(I.start)+b+.5*(A(I.end)-A(I.start))).toString()+"px "+(V*g+.5*m).toString()+"px"}).attr("class","exclude-range")}l(Y,"drawExcludeDays");function N(g,w,b,v){const m=a.db.getDateFormat(),_=a.db.getAxisFormat();let c;_?c=_:m==="D"?c="%d":c=s.axisFormat??"%Y-%m-%d";let f=Ge(A).tickSize(-v+w+s.gridLineStartPadding).tickFormat(jt(c));const d=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(a.db.getTickInterval()||s.tickInterval);if(d!==null){const y=d[1],n=d[2],o=a.db.getWeekday()||s.weekday;switch(n){case"millisecond":f.ticks($t.every(y));break;case"second":f.ticks(Qt.every(y));break;case"minute":f.ticks(Zt.every(y));break;case"hour":f.ticks(Ut.every(y));break;case"day":f.ticks(qt.every(y));break;case"week":f.ticks(ee[o].every(y));break;case"month":f.ticks(Xt.every(y));break}}if(G.append("g").attr("class","grid").attr("transform","translate("+g+", "+(v-50)+")").call(f).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),a.db.topAxisEnabled()||s.topAxis){let y=He(A).tickSize(-v+w+s.gridLineStartPadding).tickFormat(jt(c));if(d!==null){const n=d[1],o=d[2],r=a.db.getWeekday()||s.weekday;switch(o){case"millisecond":y.ticks($t.every(n));break;case"second":y.ticks(Qt.every(n));break;case"minute":y.ticks(Zt.every(n));break;case"hour":y.ticks(Ut.every(n));break;case"day":y.ticks(qt.every(n));break;case"week":y.ticks(ee[r].every(n));break;case"month":y.ticks(Xt.every(n));break}}G.append("g").attr("class","grid").attr("transform","translate("+g+", "+w+")").call(y).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}l(N,"makeGrid");function R(g,w){let b=0;const v=Object.keys(S).map(m=>[m,S[m]]);G.append("g").selectAll("text").data(v).enter().append(function(m){const _=m[0].split(we.lineBreakRegex),c=-(_.length-1)/2,f=E.createElementNS("http://www.w3.org/2000/svg","text");f.setAttribute("dy",c+"em");for(const[k,d]of _.entries()){const y=E.createElementNS("http://www.w3.org/2000/svg","tspan");y.setAttribute("alignment-baseline","central"),y.setAttribute("x","10"),k>0&&y.setAttribute("dy","1em"),y.textContent=d,f.appendChild(y)}return f}).attr("x",10).attr("y",function(m,_){if(_>0)for(let c=0;c<_;c++)return b+=v[_-1][1],m[1]*g/2+b*g+w;else return m[1]*g/2+w}).attr("font-size",s.sectionFontSize).attr("class",function(m){for(const[_,c]of F.entries())if(m[0]===c)return"sectionTitle sectionTitle"+_%s.numberSectionStyles;return"sectionTitle"})}l(R,"vertLabels");function j(g,w,b,v){const m=a.db.getTodayMarker();if(m==="off")return;const _=G.append("g").attr("class","today"),c=new Date,f=_.append("line");f.attr("x1",A(c)+g).attr("x2",A(c)+g).attr("y1",s.titleTopMargin).attr("y2",v-s.titleTopMargin).attr("class","today"),m!==""&&f.attr("style",m.replace(/,/g,";"))}l(j,"drawToday");function z(g){const w={},b=[];for(let v=0,m=g.length;v<m;++v)Object.prototype.hasOwnProperty.call(w,g[v])||(w[g[v]]=!0,b.push(g[v]));return b}l(z,"checkUnique")},"draw"),Or={setConf:Yr,draw:Vr},zr=l(t=>`
|
| 7 |
+
.mermaid-main-font {
|
| 8 |
+
font-family: ${t.fontFamily};
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
.exclude-range {
|
| 12 |
+
fill: ${t.excludeBkgColor};
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.section {
|
| 16 |
+
stroke: none;
|
| 17 |
+
opacity: 0.2;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.section0 {
|
| 21 |
+
fill: ${t.sectionBkgColor};
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.section2 {
|
| 25 |
+
fill: ${t.sectionBkgColor2};
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.section1,
|
| 29 |
+
.section3 {
|
| 30 |
+
fill: ${t.altSectionBkgColor};
|
| 31 |
+
opacity: 0.2;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.sectionTitle0 {
|
| 35 |
+
fill: ${t.titleColor};
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.sectionTitle1 {
|
| 39 |
+
fill: ${t.titleColor};
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.sectionTitle2 {
|
| 43 |
+
fill: ${t.titleColor};
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.sectionTitle3 {
|
| 47 |
+
fill: ${t.titleColor};
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.sectionTitle {
|
| 51 |
+
text-anchor: start;
|
| 52 |
+
font-family: ${t.fontFamily};
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
/* Grid and axis */
|
| 57 |
+
|
| 58 |
+
.grid .tick {
|
| 59 |
+
stroke: ${t.gridColor};
|
| 60 |
+
opacity: 0.8;
|
| 61 |
+
shape-rendering: crispEdges;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.grid .tick text {
|
| 65 |
+
font-family: ${t.fontFamily};
|
| 66 |
+
fill: ${t.textColor};
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.grid path {
|
| 70 |
+
stroke-width: 0;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
/* Today line */
|
| 75 |
+
|
| 76 |
+
.today {
|
| 77 |
+
fill: none;
|
| 78 |
+
stroke: ${t.todayLineColor};
|
| 79 |
+
stroke-width: 2px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
/* Task styling */
|
| 84 |
+
|
| 85 |
+
/* Default task */
|
| 86 |
+
|
| 87 |
+
.task {
|
| 88 |
+
stroke-width: 2;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.taskText {
|
| 92 |
+
text-anchor: middle;
|
| 93 |
+
font-family: ${t.fontFamily};
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.taskTextOutsideRight {
|
| 97 |
+
fill: ${t.taskTextDarkColor};
|
| 98 |
+
text-anchor: start;
|
| 99 |
+
font-family: ${t.fontFamily};
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.taskTextOutsideLeft {
|
| 103 |
+
fill: ${t.taskTextDarkColor};
|
| 104 |
+
text-anchor: end;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
/* Special case clickable */
|
| 109 |
+
|
| 110 |
+
.task.clickable {
|
| 111 |
+
cursor: pointer;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.taskText.clickable {
|
| 115 |
+
cursor: pointer;
|
| 116 |
+
fill: ${t.taskTextClickableColor} !important;
|
| 117 |
+
font-weight: bold;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.taskTextOutsideLeft.clickable {
|
| 121 |
+
cursor: pointer;
|
| 122 |
+
fill: ${t.taskTextClickableColor} !important;
|
| 123 |
+
font-weight: bold;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.taskTextOutsideRight.clickable {
|
| 127 |
+
cursor: pointer;
|
| 128 |
+
fill: ${t.taskTextClickableColor} !important;
|
| 129 |
+
font-weight: bold;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
/* Specific task settings for the sections*/
|
| 134 |
+
|
| 135 |
+
.taskText0,
|
| 136 |
+
.taskText1,
|
| 137 |
+
.taskText2,
|
| 138 |
+
.taskText3 {
|
| 139 |
+
fill: ${t.taskTextColor};
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.task0,
|
| 143 |
+
.task1,
|
| 144 |
+
.task2,
|
| 145 |
+
.task3 {
|
| 146 |
+
fill: ${t.taskBkgColor};
|
| 147 |
+
stroke: ${t.taskBorderColor};
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.taskTextOutside0,
|
| 151 |
+
.taskTextOutside2
|
| 152 |
+
{
|
| 153 |
+
fill: ${t.taskTextOutsideColor};
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.taskTextOutside1,
|
| 157 |
+
.taskTextOutside3 {
|
| 158 |
+
fill: ${t.taskTextOutsideColor};
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
/* Active task */
|
| 163 |
+
|
| 164 |
+
.active0,
|
| 165 |
+
.active1,
|
| 166 |
+
.active2,
|
| 167 |
+
.active3 {
|
| 168 |
+
fill: ${t.activeTaskBkgColor};
|
| 169 |
+
stroke: ${t.activeTaskBorderColor};
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.activeText0,
|
| 173 |
+
.activeText1,
|
| 174 |
+
.activeText2,
|
| 175 |
+
.activeText3 {
|
| 176 |
+
fill: ${t.taskTextDarkColor} !important;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
/* Completed task */
|
| 181 |
+
|
| 182 |
+
.done0,
|
| 183 |
+
.done1,
|
| 184 |
+
.done2,
|
| 185 |
+
.done3 {
|
| 186 |
+
stroke: ${t.doneTaskBorderColor};
|
| 187 |
+
fill: ${t.doneTaskBkgColor};
|
| 188 |
+
stroke-width: 2;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.doneText0,
|
| 192 |
+
.doneText1,
|
| 193 |
+
.doneText2,
|
| 194 |
+
.doneText3 {
|
| 195 |
+
fill: ${t.taskTextDarkColor} !important;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
/* Tasks on the critical line */
|
| 200 |
+
|
| 201 |
+
.crit0,
|
| 202 |
+
.crit1,
|
| 203 |
+
.crit2,
|
| 204 |
+
.crit3 {
|
| 205 |
+
stroke: ${t.critBorderColor};
|
| 206 |
+
fill: ${t.critBkgColor};
|
| 207 |
+
stroke-width: 2;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
.activeCrit0,
|
| 211 |
+
.activeCrit1,
|
| 212 |
+
.activeCrit2,
|
| 213 |
+
.activeCrit3 {
|
| 214 |
+
stroke: ${t.critBorderColor};
|
| 215 |
+
fill: ${t.activeTaskBkgColor};
|
| 216 |
+
stroke-width: 2;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
.doneCrit0,
|
| 220 |
+
.doneCrit1,
|
| 221 |
+
.doneCrit2,
|
| 222 |
+
.doneCrit3 {
|
| 223 |
+
stroke: ${t.critBorderColor};
|
| 224 |
+
fill: ${t.doneTaskBkgColor};
|
| 225 |
+
stroke-width: 2;
|
| 226 |
+
cursor: pointer;
|
| 227 |
+
shape-rendering: crispEdges;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.milestone {
|
| 231 |
+
transform: rotate(45deg) scale(0.8,0.8);
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.milestoneText {
|
| 235 |
+
font-style: italic;
|
| 236 |
+
}
|
| 237 |
+
.doneCritText0,
|
| 238 |
+
.doneCritText1,
|
| 239 |
+
.doneCritText2,
|
| 240 |
+
.doneCritText3 {
|
| 241 |
+
fill: ${t.taskTextDarkColor} !important;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
.vert {
|
| 245 |
+
stroke: ${t.vertLineColor};
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.vertText {
|
| 249 |
+
font-size: 15px;
|
| 250 |
+
text-anchor: middle;
|
| 251 |
+
fill: ${t.vertLineColor} !important;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
.activeCritText0,
|
| 255 |
+
.activeCritText1,
|
| 256 |
+
.activeCritText2,
|
| 257 |
+
.activeCritText3 {
|
| 258 |
+
fill: ${t.taskTextDarkColor} !important;
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.titleText {
|
| 262 |
+
text-anchor: middle;
|
| 263 |
+
font-size: 18px;
|
| 264 |
+
fill: ${t.titleColor||t.textColor};
|
| 265 |
+
font-family: ${t.fontFamily};
|
| 266 |
+
}
|
| 267 |
+
`,"getStyles"),Pr=zr,jr={parser:$e,db:Lr,renderer:Or,styles:Pr};export{jr as diagram};
|
| 268 |
+
//# sourceMappingURL=ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.br
ADDED
|
Binary file (13.8 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.gz
ADDED
|
Binary file (15.5 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/ganttDiagram-WV7ZQ7D5.CDkbSQZN.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{G as a,f as G}from"./mermaid-parser.core.BcwwbwyI.js";export{a as GitGraphModule,G as createGitGraphServices};
|
| 2 |
+
//# sourceMappingURL=gitGraph-ZV4HHKMB.B8c4G3FH.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.br
ADDED
|
Binary file (141 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.gz
ADDED
|
Binary file (166 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraph-ZV4HHKMB.B8c4G3FH.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"gitGraph-ZV4HHKMB.B8c4G3FH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{p as Z}from"./chunk-ANTBXLJU.C7o1p9v-.js";import{I as F}from"./chunk-FHKO5MBM.DI5oLZlu.js";import{D as U,_ as h,d as rr,E as er,F as tr,G as ar,l as m,s as nr,g as sr,b as or,c as cr,n as ir,o as dr,e as B,t as hr,u as lr,H as $r}from"./mermaid.core.DTNv8IuU.js";import{p as fr}from"./mermaid-parser.core.BcwwbwyI.js";import{s as gr}from"./select.BigU4G0v.js";var u={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function S(){return ar({length:7})}h(S,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var xr=h(function(t){i.records.direction=t},"setDirection"),ur=h(function(t){m.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){m.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;m.info("commit",r,a,s,e),m.debug("Entering commit:",r,a,s,e);const n=z();a=B.sanitizeText(a,n),r=B.sanitizeText(r,n),e=e==null?void 0:e.map(o=>B.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+S(),message:r,seq:i.records.seq++,type:s??u.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,m.info("main branch",n.mainBranchName),i.records.commits.has(c.id)&&m.warn(`Commit ID ${c.id} already exists`),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),m.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=B.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),m.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=B.sanitizeText(r,n),a&&(a=B.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${S()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:u.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),m.debug(i.records.branches),m.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;m.debug("Entering cherryPick:",r,a,s);const n=z();if(r=B.sanitizeText(r,n),a=B.sanitizeText(a,n),s=s==null?void 0:s.map($=>B.sanitizeText($,n)),e=B.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===u.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+S(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:u.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===u.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),m.debug(i.records.branches),m.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=B.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function D(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(D,"upsert");function A(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(m.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);D(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);D(t,r,e)}}t=N(t,e=>e.id),A(t)}h(A,"prettyPrintCommitHistory");var Cr=h(function(){m.debug(i.records.commits);const t=V()[0];A([t])},"prettyPrint"),Er=h(function(){i.reset(),hr()},"clear"),Br=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){m.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:u,getConfig:z,setDirection:xr,setOptions:ur,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Er,getBranchesAsObjArray:Br,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):m.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?u[t.type]:u.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?u[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await fr("gitGraph",t);m.debug(r),Ir(r,X)},"parse")},j=rr(),b=j==null?void 0:j.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,E=new Map,P=30,G=new Map,W=[],M=0,x="LR",Sr=h(()=>{C.clear(),E.clear(),G.clear(),M=0,W=[],x="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return x==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=x==="TB"||x=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),jr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=E.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Dr=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=jr(o.parents);s=E.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;E.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Ar=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=E.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Ar(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return E.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;E.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===u.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===u.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===u.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===u.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===u.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==u.CHERRY_PICK&&(r.customId&&r.type===u.MERGE||r.type!==u.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),x==="TB"||x==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(x==="TB"||x==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",`
|
| 2 |
+
${s-c/2-k/2},${p+L}
|
| 3 |
+
${s-c/2-k/2},${p-L}
|
| 4 |
+
${a.posWithOffset-c/2-k},${p-y-L}
|
| 5 |
+
${a.posWithOffset+c/2+k},${p-y-L}
|
| 6 |
+
${a.posWithOffset+c/2+k},${p+y+L}
|
| 7 |
+
${a.posWithOffset-c/2-k},${p+y+L}`),f.attr("cy",p).attr("cx",s-c/2+k/2).attr("r",1.5).attr("class","tag-hole"),x==="TB"||x==="BT"){const w=s+d;g.attr("class","tag-label-bkg").attr("points",`
|
| 8 |
+
${a.x},${w+2}
|
| 9 |
+
${a.x},${w-2}
|
| 10 |
+
${a.x+R},${w-y-2}
|
| 11 |
+
${a.x+R+c+4},${w-y-2}
|
| 12 |
+
${a.x+R+c+4},${w+y+2}
|
| 13 |
+
${a.x+R},${w+y+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+s+")"),f.attr("cx",a.x+k/2).attr("cy",w).attr("transform","translate(12,12) rotate(45, "+a.x+","+s+")"),l.attr("x",a.x+5).attr("y",w+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+s+")")}}}},"drawCommitTags"),Jr=h(t=>{switch(t.customType??t.type){case u.NORMAL:return"commit-normal";case u.REVERSE:return"commit-reverse";case u.HIGHLIGHT:return"commit-highlight";case u.MERGE:return"commit-merge";case u.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),Qr=h((t,r,a,s)=>{const e={x:0,y:0};if(t.parents.length>0){const n=Q(t.parents);if(n){const c=s.get(n)??e;return r==="TB"?c.y+I:r==="BT"?(s.get(t.id)??e).y-I:c.x+I}}else return r==="TB"?P:r==="BT"?(s.get(t.id)??e).y-I:0;return 0},"calculatePosition"),Zr=h((t,r,a)=>{var c,o;const s=x==="BT"&&a?r:r+R,e=x==="TB"||x==="BT"?s:(c=C.get(t.branch))==null?void 0:c.pos,n=x==="TB"||x==="BT"?(o=C.get(t.branch))==null?void 0:o.pos:s;if(n===void 0||e===void 0)throw new Error(`Position were undefined for commit ${t.id}`);return{x:n,y:e,posWithOffset:s}},"getCommitPosition"),K=h((t,r,a)=>{if(!b)throw new Error("GitGraph config not found");const s=t.append("g").attr("class","commit-bullets"),e=t.append("g").attr("class","commit-labels");let n=x==="TB"||x==="BT"?P:0;const c=[...r.keys()],o=(b==null?void 0:b.parallelCommits)??!1,$=h((f,g)=>{var p,w;const d=(p=r.get(f))==null?void 0:p.seq,y=(w=r.get(g))==null?void 0:w.seq;return d!==void 0&&y!==void 0?d-y:0},"sortKeys");let l=c.sort($);x==="BT"&&(o&&Dr(l,r,n),l=l.reverse()),l.forEach(f=>{var y;const g=r.get(f);if(!g)throw new Error(`Commit not found for key ${f}`);o&&(n=Qr(g,x,n,E));const d=Zr(g,n,o);if(a){const p=Jr(g),w=g.customType??g.type,q=((y=C.get(g.branch))==null?void 0:y.index)??0;_r(s,g,d,p,q,w),Vr(e,g,d,n),Xr(e,g,d,n)}x==="TB"||x==="BT"?E.set(g.id,{x:d.x,y:d.posWithOffset}):E.set(g.id,{x:d.posWithOffset,y:d.y}),n=x==="BT"&&o?n+I:n+I+R,n>M&&(M=n)})},"drawCommits"),Fr=h((t,r,a,s,e)=>{const c=(x==="TB"||x==="BT"?a.x<s.x:a.y<s.y)?r.branch:t.branch,o=h(l=>l.branch===c,"isOnBranchToGetCurve"),$=h(l=>l.seq>t.seq&&l.seq<r.seq,"isBetweenCommits");return[...e.values()].some(l=>$(l)&&o(l))},"shouldRerouteArrow"),H=h((t,r,a=0)=>{const s=t+Math.abs(t-r)/2;if(a>5)return s;if(W.every(c=>Math.abs(c-s)>=10))return W.push(s),s;const n=Math.abs(t-r);return H(t,r-n/5,a+1)},"findLane"),Ur=h((t,r,a,s)=>{var y,p,w,q,Y;const e=E.get(r.id),n=E.get(a.id);if(e===void 0||n===void 0)throw new Error(`Commit positions not found for commits ${r.id} and ${a.id}`);const c=Fr(r,a,e,n,s);let o="",$="",l=0,f=0,g=(y=C.get(a.branch))==null?void 0:y.index;a.type===u.MERGE&&r.id!==a.parents[0]&&(g=(p=C.get(r.branch))==null?void 0:p.index);let d;if(c){o="A 10 10, 0, 0, 0,",$="A 10 10, 0, 0, 1,",l=10,f=10;const T=e.y<n.y?H(e.y,n.y):H(n.y,e.y),v=e.x<n.x?H(e.x,n.x):H(n.x,e.x);x==="TB"?e.x<n.x?d=`M ${e.x} ${e.y} L ${v-l} ${e.y} ${$} ${v} ${e.y+f} L ${v} ${n.y-l} ${o} ${v+f} ${n.y} L ${n.x} ${n.y}`:(g=(w=C.get(r.branch))==null?void 0:w.index,d=`M ${e.x} ${e.y} L ${v+l} ${e.y} ${o} ${v} ${e.y+f} L ${v} ${n.y-l} ${$} ${v-f} ${n.y} L ${n.x} ${n.y}`):x==="BT"?e.x<n.x?d=`M ${e.x} ${e.y} L ${v-l} ${e.y} ${o} ${v} ${e.y-f} L ${v} ${n.y+l} ${$} ${v+f} ${n.y} L ${n.x} ${n.y}`:(g=(q=C.get(r.branch))==null?void 0:q.index,d=`M ${e.x} ${e.y} L ${v+l} ${e.y} ${$} ${v} ${e.y-f} L ${v} ${n.y+l} ${o} ${v-f} ${n.y} L ${n.x} ${n.y}`):e.y<n.y?d=`M ${e.x} ${e.y} L ${e.x} ${T-l} ${o} ${e.x+f} ${T} L ${n.x-l} ${T} ${$} ${n.x} ${T+f} L ${n.x} ${n.y}`:(g=(Y=C.get(r.branch))==null?void 0:Y.index,d=`M ${e.x} ${e.y} L ${e.x} ${T+l} ${$} ${e.x+f} ${T} L ${n.x-l} ${T} ${o} ${n.x} ${T-f} L ${n.x} ${n.y}`)}else o="A 20 20, 0, 0, 0,",$="A 20 20, 0, 0, 1,",l=20,f=20,x==="TB"?(e.x<n.x&&(a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${e.x} ${n.y-l} ${o} ${e.x+f} ${n.y} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${n.x-l} ${e.y} ${$} ${n.x} ${e.y+f} L ${n.x} ${n.y}`),e.x>n.x&&(o="A 20 20, 0, 0, 0,",$="A 20 20, 0, 0, 1,",l=20,f=20,a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${e.x} ${n.y-l} ${$} ${e.x-f} ${n.y} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${n.x+l} ${e.y} ${o} ${n.x} ${e.y+f} L ${n.x} ${n.y}`),e.x===n.x&&(d=`M ${e.x} ${e.y} L ${n.x} ${n.y}`)):x==="BT"?(e.x<n.x&&(a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${e.x} ${n.y+l} ${$} ${e.x+f} ${n.y} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${n.x-l} ${e.y} ${o} ${n.x} ${e.y-f} L ${n.x} ${n.y}`),e.x>n.x&&(o="A 20 20, 0, 0, 0,",$="A 20 20, 0, 0, 1,",l=20,f=20,a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${e.x} ${n.y+l} ${o} ${e.x-f} ${n.y} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${n.x-l} ${e.y} ${o} ${n.x} ${e.y-f} L ${n.x} ${n.y}`),e.x===n.x&&(d=`M ${e.x} ${e.y} L ${n.x} ${n.y}`)):(e.y<n.y&&(a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${n.x-l} ${e.y} ${$} ${n.x} ${e.y+f} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${e.x} ${n.y-l} ${o} ${e.x+f} ${n.y} L ${n.x} ${n.y}`),e.y>n.y&&(a.type===u.MERGE&&r.id!==a.parents[0]?d=`M ${e.x} ${e.y} L ${n.x-l} ${e.y} ${o} ${n.x} ${e.y-f} L ${n.x} ${n.y}`:d=`M ${e.x} ${e.y} L ${e.x} ${n.y+l} ${$} ${e.x+f} ${n.y} L ${n.x} ${n.y}`),e.y===n.y&&(d=`M ${e.x} ${e.y} L ${n.x} ${n.y}`));if(d===void 0)throw new Error("Line definition not found");t.append("path").attr("d",d).attr("class","arrow arrow"+g%O)},"drawArrow"),re=h((t,r)=>{const a=t.append("g").attr("class","commit-arrows");[...r.keys()].forEach(s=>{const e=r.get(s);e.parents&&e.parents.length>0&&e.parents.forEach(n=>{Ur(a,r.get(n),e,r)})})},"drawArrows"),ee=h((t,r)=>{const a=t.append("g");r.forEach((s,e)=>{var p;const n=e%O,c=(p=C.get(s.name))==null?void 0:p.pos;if(c===void 0)throw new Error(`Position not found for branch ${s.name}`);const o=a.append("line");o.attr("x1",0),o.attr("y1",c),o.attr("x2",M),o.attr("y2",c),o.attr("class","branch branch"+n),x==="TB"?(o.attr("y1",P),o.attr("x1",c),o.attr("y2",M),o.attr("x2",c)):x==="BT"&&(o.attr("y1",M),o.attr("x1",c),o.attr("y2",P),o.attr("x2",c)),W.push(c);const $=s.name,l=J($),f=a.insert("rect"),d=a.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+n);d.node().appendChild(l);const y=l.getBBox();f.attr("class","branchLabelBkg label"+n).attr("rx",4).attr("ry",4).attr("x",-y.width-4-((b==null?void 0:b.rotateCommitLabel)===!0?30:0)).attr("y",-y.height/2+8).attr("width",y.width+18).attr("height",y.height+4),d.attr("transform","translate("+(-y.width-14-((b==null?void 0:b.rotateCommitLabel)===!0?30:0))+", "+(c-y.height/2-1)+")"),x==="TB"?(f.attr("x",c-y.width/2-10).attr("y",0),d.attr("transform","translate("+(c-y.width/2-5)+", 0)")):x==="BT"?(f.attr("x",c-y.width/2-10).attr("y",M),d.attr("transform","translate("+(c-y.width/2-5)+", "+M+")")):f.attr("transform","translate(-19, "+(c-y.height/2)+")")})},"drawBranches"),te=h(function(t,r,a,s,e){return C.set(t,{pos:r,index:a}),r+=50+(e?40:0)+(x==="TB"||x==="BT"?s.width/2:0),r},"setBranchPosition"),ae=h(function(t,r,a,s){if(Sr(),m.debug("in gitgraph renderer",t+`
|
| 14 |
+
`,"id:",r,a),!b)throw new Error("GitGraph config not found");const e=b.rotateCommitLabel??!1,n=s.db;G=n.getCommits();const c=n.getBranchesAsObjArray();x=n.getDirection();const o=gr(`[id="${r}"]`);let $=0;c.forEach((l,f)=>{var q;const g=J(l.name),d=o.append("g"),y=d.insert("g").attr("class","branchLabel"),p=y.insert("g").attr("class","label branch-label");(q=p.node())==null||q.appendChild(g);const w=g.getBBox();$=te(l.name,$,f,w,e),p.remove(),y.remove(),d.remove()}),K(o,G,!1),b.showBranches&&ee(o,c),re(o,G),K(o,G,!0),lr.insertTitle(o,"gitTitleText",b.titleTopMargin??0,n.getDiagramTitle()),$r(void 0,o,b.diagramPadding,b.useMaxWidth)},"draw"),ne={draw:ae},se=h(t=>`
|
| 15 |
+
.commit-id,
|
| 16 |
+
.commit-msg,
|
| 17 |
+
.branch-label {
|
| 18 |
+
fill: lightgrey;
|
| 19 |
+
color: lightgrey;
|
| 20 |
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
| 21 |
+
font-family: var(--mermaid-font-family);
|
| 22 |
+
}
|
| 23 |
+
${[0,1,2,3,4,5,6,7].map(r=>`
|
| 24 |
+
.branch-label${r} { fill: ${t["gitBranchLabel"+r]}; }
|
| 25 |
+
.commit${r} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }
|
| 26 |
+
.commit-highlight${r} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }
|
| 27 |
+
.label${r} { fill: ${t["git"+r]}; }
|
| 28 |
+
.arrow${r} { stroke: ${t["git"+r]}; }
|
| 29 |
+
`).join(`
|
| 30 |
+
`)}
|
| 31 |
+
|
| 32 |
+
.branch {
|
| 33 |
+
stroke-width: 1;
|
| 34 |
+
stroke: ${t.lineColor};
|
| 35 |
+
stroke-dasharray: 2;
|
| 36 |
+
}
|
| 37 |
+
.commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}
|
| 38 |
+
.commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }
|
| 39 |
+
.tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
|
| 40 |
+
.tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }
|
| 41 |
+
.tag-hole { fill: ${t.textColor}; }
|
| 42 |
+
|
| 43 |
+
.commit-merge {
|
| 44 |
+
stroke: ${t.primaryColor};
|
| 45 |
+
fill: ${t.primaryColor};
|
| 46 |
+
}
|
| 47 |
+
.commit-reverse {
|
| 48 |
+
stroke: ${t.primaryColor};
|
| 49 |
+
fill: ${t.primaryColor};
|
| 50 |
+
stroke-width: 3;
|
| 51 |
+
}
|
| 52 |
+
.commit-highlight-outer {
|
| 53 |
+
}
|
| 54 |
+
.commit-highlight-inner {
|
| 55 |
+
stroke: ${t.primaryColor};
|
| 56 |
+
fill: ${t.primaryColor};
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
| 60 |
+
.gitTitleText {
|
| 61 |
+
text-anchor: middle;
|
| 62 |
+
font-size: 18px;
|
| 63 |
+
fill: ${t.textColor};
|
| 64 |
+
}
|
| 65 |
+
`,"getStyles"),oe=se,$e={parser:Wr,db:X,renderer:ne,styles:oe};export{$e as diagram};
|
| 66 |
+
//# sourceMappingURL=gitGraphDiagram-OJR772UL.DPGyrqJS.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.br
ADDED
|
Binary file (6.8 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.gz
ADDED
|
Binary file (7.56 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/gitGraphDiagram-OJR772UL.DPGyrqJS.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.br
ADDED
|
Binary file (23.5 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.gz
ADDED
|
Binary file (26.4 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoader.BetPWe9U.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{V as c,Q as h,ap as l}from"./index.BoI39RQH.js";import{S as m}from"./objectModelMapping.ha_8hIyl.js";function g(r,n,t,e){return c.FromArray(n,t).scaleInPlace(e)}function f(r,n,t,e){return h.FromArray(n,t).scaleInPlace(e)}function y(r,n,t,e){const o=new Array(r._numMorphTargets);for(let i=0;i<o.length;i++)o[i]=n[t++]*e;return o}class p{constructor(n,t,e,o){this.type=n,this.name=t,this.getValue=e,this.getStride=o}_buildAnimation(n,t,e){const o=new l(n,this.name,t,this.type);return o.setKeys(e),o}}class u extends p{buildAnimations(n,t,e,o){const i=[];return i.push({babylonAnimatable:n._babylonTransformNode,babylonAnimation:this._buildAnimation(t,e,o)}),i}}class d extends p{buildAnimations(n,t,e,o){const i=[];if(n._numMorphTargets)for(let s=0;s<n._numMorphTargets;s++){const b=new l(`${t}_${s}`,this.name,e,this.type);if(b.setKeys(o.map(a=>({frame:a.frame,inTangent:a.inTangent?a.inTangent[s]:void 0,value:a.value[s],outTangent:a.outTangent?a.outTangent[s]:void 0,interpolation:a.interpolation}))),n._primitiveBabylonMeshes){for(const a of n._primitiveBabylonMeshes)if(a.morphTargetManager){const A=a.morphTargetManager.getTarget(s),T=b.clone();A.animations.push(T),i.push({babylonAnimatable:A,babylonAnimation:T})}}}return i}}m("/nodes/{}/translation",[new u(l.ANIMATIONTYPE_VECTOR3,"position",g,()=>3)]);m("/nodes/{}/rotation",[new u(l.ANIMATIONTYPE_QUATERNION,"rotationQuaternion",f,()=>4)]);m("/nodes/{}/scale",[new u(l.ANIMATIONTYPE_VECTOR3,"scaling",g,()=>3)]);m("/nodes/{}/weights",[new d(l.ANIMATIONTYPE_FLOAT,"influence",y,r=>r._numMorphTargets)]);export{p as AnimationPropertyInfo,u as TransformNodeAnimationPropertyInfo,d as WeightAnimationPropertyInfo,f as getQuaternion,g as getVector3,y as getWeights};
|
| 2 |
+
//# sourceMappingURL=glTFLoaderAnimation.CKms7EUf.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.br
ADDED
|
Binary file (718 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.gz
ADDED
|
Binary file (817 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/glTFLoaderAnimation.CKms7EUf.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"glTFLoaderAnimation.CKms7EUf.js","sources":["../../../../../../../../node_modules/.pnpm/@babylonjs+loaders@8.2.0_@babylonjs+core@8.2.0_babylonjs-gltf2interface@7.25.2/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js"],"sourcesContent":["import { Animation } from \"@babylonjs/core/Animations/animation.js\";\nimport { Quaternion, Vector3 } from \"@babylonjs/core/Maths/math.vector.js\";\nimport { SetInterpolationForKey } from \"./Extensions/objectModelMapping.js\";\n/** @internal */\nexport function getVector3(_target, source, offset, scale) {\n return Vector3.FromArray(source, offset).scaleInPlace(scale);\n}\n/** @internal */\nexport function getQuaternion(_target, source, offset, scale) {\n return Quaternion.FromArray(source, offset).scaleInPlace(scale);\n}\n/** @internal */\nexport function getWeights(target, source, offset, scale) {\n const value = new Array(target._numMorphTargets);\n for (let i = 0; i < value.length; i++) {\n value[i] = source[offset++] * scale;\n }\n return value;\n}\n/** @internal */\nexport class AnimationPropertyInfo {\n /** @internal */\n constructor(type, name, getValue, getStride) {\n this.type = type;\n this.name = name;\n this.getValue = getValue;\n this.getStride = getStride;\n }\n _buildAnimation(name, fps, keys) {\n const babylonAnimation = new Animation(name, this.name, fps, this.type);\n babylonAnimation.setKeys(keys);\n return babylonAnimation;\n }\n}\n/** @internal */\nexport class TransformNodeAnimationPropertyInfo extends AnimationPropertyInfo {\n /** @internal */\n buildAnimations(target, name, fps, keys) {\n const babylonAnimations = [];\n babylonAnimations.push({ babylonAnimatable: target._babylonTransformNode, babylonAnimation: this._buildAnimation(name, fps, keys) });\n return babylonAnimations;\n }\n}\n/** @internal */\nexport class WeightAnimationPropertyInfo extends AnimationPropertyInfo {\n buildAnimations(target, name, fps, keys) {\n const babylonAnimations = [];\n if (target._numMorphTargets) {\n for (let targetIndex = 0; targetIndex < target._numMorphTargets; targetIndex++) {\n const babylonAnimation = new Animation(`${name}_${targetIndex}`, this.name, fps, this.type);\n babylonAnimation.setKeys(keys.map((key) => ({\n frame: key.frame,\n inTangent: key.inTangent ? key.inTangent[targetIndex] : undefined,\n value: key.value[targetIndex],\n outTangent: key.outTangent ? key.outTangent[targetIndex] : undefined,\n interpolation: key.interpolation,\n })));\n if (target._primitiveBabylonMeshes) {\n for (const babylonMesh of target._primitiveBabylonMeshes) {\n if (babylonMesh.morphTargetManager) {\n const morphTarget = babylonMesh.morphTargetManager.getTarget(targetIndex);\n const babylonAnimationClone = babylonAnimation.clone();\n morphTarget.animations.push(babylonAnimationClone);\n babylonAnimations.push({ babylonAnimatable: morphTarget, babylonAnimation: babylonAnimationClone });\n }\n }\n }\n }\n }\n return babylonAnimations;\n }\n}\nSetInterpolationForKey(\"/nodes/{}/translation\", [new TransformNodeAnimationPropertyInfo(Animation.ANIMATIONTYPE_VECTOR3, \"position\", getVector3, () => 3)]);\nSetInterpolationForKey(\"/nodes/{}/rotation\", [new TransformNodeAnimationPropertyInfo(Animation.ANIMATIONTYPE_QUATERNION, \"rotationQuaternion\", getQuaternion, () => 4)]);\nSetInterpolationForKey(\"/nodes/{}/scale\", [new TransformNodeAnimationPropertyInfo(Animation.ANIMATIONTYPE_VECTOR3, \"scaling\", getVector3, () => 3)]);\nSetInterpolationForKey(\"/nodes/{}/weights\", [new WeightAnimationPropertyInfo(Animation.ANIMATIONTYPE_FLOAT, \"influence\", getWeights, (target) => target._numMorphTargets)]);\n//# sourceMappingURL=glTFLoaderAnimation.js.map"],"names":["getVector3","_target","source","offset","scale","Vector3","getQuaternion","Quaternion","getWeights","target","value","AnimationPropertyInfo","type","name","getValue","getStride","fps","keys","babylonAnimation","Animation","TransformNodeAnimationPropertyInfo","babylonAnimations","WeightAnimationPropertyInfo","targetIndex","key","babylonMesh","morphTarget","babylonAnimationClone","SetInterpolationForKey"],"mappings":"4GAIO,SAASA,EAAWC,EAASC,EAAQC,EAAQC,EAAO,CACvD,OAAOC,EAAQ,UAAUH,EAAQC,CAAM,EAAE,aAAaC,CAAK,CAC/D,CAEO,SAASE,EAAcL,EAASC,EAAQC,EAAQC,EAAO,CAC1D,OAAOG,EAAW,UAAUL,EAAQC,CAAM,EAAE,aAAaC,CAAK,CAClE,CAEO,SAASI,EAAWC,EAAQP,EAAQC,EAAQC,EAAO,CACtD,MAAMM,EAAQ,IAAI,MAAMD,EAAO,gBAAgB,EAC/C,QAAS,EAAI,EAAG,EAAIC,EAAM,OAAQ,IAC9BA,EAAM,CAAC,EAAIR,EAAOC,GAAQ,EAAIC,EAElC,OAAOM,CACX,CAEO,MAAMC,CAAsB,CAE/B,YAAYC,EAAMC,EAAMC,EAAUC,EAAW,CACzC,KAAK,KAAOH,EACZ,KAAK,KAAOC,EACZ,KAAK,SAAWC,EAChB,KAAK,UAAYC,CACpB,CACD,gBAAgBF,EAAMG,EAAKC,EAAM,CAC7B,MAAMC,EAAmB,IAAIC,EAAUN,EAAM,KAAK,KAAMG,EAAK,KAAK,IAAI,EACtE,OAAAE,EAAiB,QAAQD,CAAI,EACtBC,CACV,CACL,CAEO,MAAME,UAA2CT,CAAsB,CAE1E,gBAAgBF,EAAQI,EAAMG,EAAKC,EAAM,CACrC,MAAMI,EAAoB,CAAA,EAC1B,OAAAA,EAAkB,KAAK,CAAE,kBAAmBZ,EAAO,sBAAuB,iBAAkB,KAAK,gBAAgBI,EAAMG,EAAKC,CAAI,CAAG,CAAA,EAC5HI,CACV,CACL,CAEO,MAAMC,UAAoCX,CAAsB,CACnE,gBAAgBF,EAAQI,EAAMG,EAAKC,EAAM,CACrC,MAAMI,EAAoB,CAAA,EAC1B,GAAIZ,EAAO,iBACP,QAASc,EAAc,EAAGA,EAAcd,EAAO,iBAAkBc,IAAe,CAC5E,MAAML,EAAmB,IAAIC,EAAU,GAAGN,CAAI,IAAIU,CAAW,GAAI,KAAK,KAAMP,EAAK,KAAK,IAAI,EAQ1F,GAPAE,EAAiB,QAAQD,EAAK,IAAKO,IAAS,CACxC,MAAOA,EAAI,MACX,UAAWA,EAAI,UAAYA,EAAI,UAAUD,CAAW,EAAI,OACxD,MAAOC,EAAI,MAAMD,CAAW,EAC5B,WAAYC,EAAI,WAAaA,EAAI,WAAWD,CAAW,EAAI,OAC3D,cAAeC,EAAI,aACtB,EAAC,CAAC,EACCf,EAAO,yBACP,UAAWgB,KAAehB,EAAO,wBAC7B,GAAIgB,EAAY,mBAAoB,CAChC,MAAMC,EAAcD,EAAY,mBAAmB,UAAUF,CAAW,EAClEI,EAAwBT,EAAiB,QAC/CQ,EAAY,WAAW,KAAKC,CAAqB,EACjDN,EAAkB,KAAK,CAAE,kBAAmBK,EAAa,iBAAkBC,CAAqB,CAAE,CACrG,EAGZ,CAEL,OAAON,CACV,CACL,CACAO,EAAuB,wBAAyB,CAAC,IAAIR,EAAmCD,EAAU,sBAAuB,WAAYnB,EAAY,IAAM,CAAC,CAAC,CAAC,EAC1J4B,EAAuB,qBAAsB,CAAC,IAAIR,EAAmCD,EAAU,yBAA0B,qBAAsBb,EAAe,IAAM,CAAC,CAAC,CAAC,EACvKsB,EAAuB,kBAAmB,CAAC,IAAIR,EAAmCD,EAAU,sBAAuB,UAAWnB,EAAY,IAAM,CAAC,CAAC,CAAC,EACnJ4B,EAAuB,oBAAqB,CAAC,IAAIN,EAA4BH,EAAU,oBAAqB,YAAaX,EAAaC,GAAWA,EAAO,gBAAgB,CAAC,CAAC","x_google_ignoreList":[0]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{ac as N,ad as j,ae as f,af as b,ag as E}from"./mermaid.core.DTNv8IuU.js";import{a as v,c as P,k as _,f as g,d,i as l,v as p,r as D}from"./_baseUniq.BvtLpZD7.js";var w=N(function(o){return v(P(o,1,j,!0))}),F="\0",a="\0",O="";class L{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return b(e)||(e=f(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return _(this._nodes)}sources(){var e=this;return g(this.nodes(),function(t){return E(e._in[t])})}sinks(){var e=this;return g(this.nodes(),function(t){return E(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return d(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=a,this._children[e]={},this._children[a][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),d(_(this._in[e]),t),delete this._in[e],delete this._preds[e],d(_(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l(t))t=a;else{t+="";for(var s=t;!l(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==a)return t}}children(e){if(l(e)&&(e=a),this._isCompound){var t=this._children[e];if(t)return _(t)}else{if(e===a)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return _(t)}successors(e){var t=this._sucs[e];if(t)return _(t)}neighbors(e){var t=this.predecessors(e);if(t)return w(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;d(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),d(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&d(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return b(e)||(e=f(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return D(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,l(s)||(s=""+s);var h=c(this._isDirected,e,t,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!l(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var u=M(this._isDirected,e,t,s);return e=u.v,t=u.w,Object.freeze(u),this._edgeObjs[h]=u,y(this._preds[t],e),y(this._sucs[e],t),this._in[t][h]=u,this._out[e][h]=u,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],C(this._preds[t],e),C(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?g(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?g(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function y(o,e){o[e]?o[e]++:o[e]=1}function C(o,e){--o[e]||delete o[e]}function c(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}return i+O+r+O+(l(s)?F:s)}function M(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function m(o,e){return c(o,e.v,e.w,e.name)}export{L as G};
|
| 2 |
+
//# sourceMappingURL=graph.CEmC0eCk.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.br
ADDED
|
Binary file (1.77 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.gz
ADDED
|
Binary file (1.91 kB). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/graph.CEmC0eCk.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"graph.CEmC0eCk.js","sources":["../../../../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/union.js","../../../../../../../../node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.js"],"sourcesContent":["import baseFlatten from './_baseFlatten.js';\nimport baseRest from './_baseRest.js';\nimport baseUniq from './_baseUniq.js';\nimport isArrayLikeObject from './isArrayLikeObject.js';\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nexport default union;\n","import * as _ from 'lodash-es';\n\nvar DEFAULT_EDGE_NAME = '\\x00';\nvar GRAPH_NODE = '\\x00';\nvar EDGE_KEY_DELIM = '\\x01';\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\nexport class Graph {\n constructor(opts = {}) {\n this._isDirected = Object.prototype.hasOwnProperty.call(opts, 'directed')\n ? opts.directed\n : true;\n this._isMultigraph = Object.prototype.hasOwnProperty.call(opts, 'multigraph')\n ? opts.multigraph\n : false;\n this._isCompound = Object.prototype.hasOwnProperty.call(opts, 'compound')\n ? opts.compound\n : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n }\n /* === Graph functions ========= */\n isDirected() {\n return this._isDirected;\n }\n isMultigraph() {\n return this._isMultigraph;\n }\n isCompound() {\n return this._isCompound;\n }\n setGraph(label) {\n this._label = label;\n return this;\n }\n graph() {\n return this._label;\n }\n /* === Node functions ========== */\n setDefaultNodeLabel(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n }\n nodeCount() {\n return this._nodeCount;\n }\n nodes() {\n return _.keys(this._nodes);\n }\n sources() {\n var self = this;\n return _.filter(this.nodes(), function (v) {\n return _.isEmpty(self._in[v]);\n });\n }\n sinks() {\n var self = this;\n return _.filter(this.nodes(), function (v) {\n return _.isEmpty(self._out[v]);\n });\n }\n setNodes(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function (v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n }\n setNode(v, value) {\n if (Object.prototype.hasOwnProperty.call(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n // @ts-expect-error\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n }\n node(v) {\n return this._nodes[v];\n }\n hasNode(v) {\n return Object.prototype.hasOwnProperty.call(this._nodes, v);\n }\n removeNode(v) {\n if (Object.prototype.hasOwnProperty.call(this._nodes, v)) {\n var removeEdge = (e) => this.removeEdge(this._edgeObjs[e]);\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), (child) => {\n this.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n }\n setParent(v, parent) {\n if (!this._isCompound) {\n throw new Error('Cannot set parent in a non-compound graph');\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += '';\n for (var ancestor = parent; !_.isUndefined(ancestor); ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error('Setting ' + parent + ' as parent of ' + v + ' would create a cycle');\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n }\n _removeFromParentsChildList(v) {\n delete this._children[this._parent[v]][v];\n }\n parent(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n }\n children(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n }\n predecessors(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n }\n successors(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n }\n neighbors(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n }\n isLeaf(v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n }\n filterNodes(filter) {\n // @ts-expect-error\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound,\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function (value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function (e) {\n // @ts-expect-error\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function (v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n }\n /* === Edge functions ========== */\n setDefaultEdgeLabel(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n }\n edgeCount() {\n return this._edgeCount;\n }\n edges() {\n return _.values(this._edgeObjs);\n }\n setPath(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function (v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n }\n /*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\n setEdge() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === 'object' && arg0 !== null && 'v' in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = '' + v;\n w = '' + w;\n if (!_.isUndefined(name)) {\n name = '' + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (Object.prototype.hasOwnProperty.call(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error('Cannot set a named edge when isMultigraph = false');\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n // @ts-expect-error\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n }\n edge(v, w, name) {\n var e =\n arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name);\n return this._edgeLabels[e];\n }\n hasEdge(v, w, name) {\n var e =\n arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name);\n return Object.prototype.hasOwnProperty.call(this._edgeLabels, e);\n }\n removeEdge(v, w, name) {\n var e =\n arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name);\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n }\n inEdges(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function (edge) {\n return edge.v === u;\n });\n }\n }\n outEdges(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function (edge) {\n return edge.w === w;\n });\n }\n }\n nodeEdges(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n }\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) {\n delete map[k];\n }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = '' + v_;\n var w = '' + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM + (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = '' + v_;\n var w = '' + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n"],"names":["union","baseRest","arrays","baseUniq","baseFlatten","isArrayLikeObject","DEFAULT_EDGE_NAME","GRAPH_NODE","EDGE_KEY_DELIM","Graph","opts","_.constant","label","newDefault","_.isFunction","_.keys","self","_.filter","v","_.isEmpty","vs","value","args","_.each","removeEdge","e","child","parent","_.isUndefined","ancestor","children","predsV","sucsV","preds","_.union","neighbors","filter","copy","parents","findParent","_.values","_.reduce","w","name","valueSpecified","arg0","edgeArgsToId","edgeObj","edgeArgsToObj","incrementOrInitEntry","edgeObjToId","edge","decrementOrRemoveEntry","u","inV","edges","outV","inEdges","map","k","isDirected","v_","w_","tmp"],"mappings":"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","x_google_ignoreList":[0,1]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{j as r}from"./index.BoI39RQH.js";import"./meshUboDeclaration.Bq7Ie8G6.js";const e="pbrUboDeclaration",i=`uniform vAlbedoInfos: vec2f;uniform vBaseWeightInfos: vec2f;uniform vAmbientInfos: vec4f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vReflectivityInfos: vec3f;uniform vMicroSurfaceSamplerInfos: vec2f;uniform vReflectionInfos: vec2f;uniform vReflectionFilteringInfo: vec2f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;uniform vBumpInfos: vec3f;uniform albedoMatrix: mat4x4f;uniform baseWeightMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform reflectivityMatrix: mat4x4f;uniform microSurfaceSamplerMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionColor: vec3f;uniform vAlbedoColor: vec4f;uniform baseWeight: f32;uniform vLightingIntensity: vec4f;uniform vReflectionMicrosurfaceInfos: vec3f;uniform pointSize: f32;uniform vReflectivityColor: vec4f;uniform vEmissiveColor: vec3f;uniform vAmbientColor: vec3f;uniform vDebugMode: vec2f;uniform vMetallicReflectanceFactors: vec4f;uniform vMetallicReflectanceInfos: vec2f;uniform metallicReflectanceMatrix: mat4x4f;uniform vReflectanceInfos: vec2f;uniform reflectanceMatrix: mat4x4f;uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;
|
| 2 |
+
#define ADDITIONAL_UBO_DECLARATION
|
| 3 |
+
#include<sceneUboDeclaration>
|
| 4 |
+
#include<meshUboDeclaration>
|
| 5 |
+
`;r.IncludesShadersStoreWGSL[e]||(r.IncludesShadersStoreWGSL[e]=i);const f="harmonicsFunctions",n=`#ifdef USESPHERICALFROMREFLECTIONMAP
|
| 6 |
+
#ifdef SPHERICAL_HARMONICS
|
| 7 |
+
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
|
| 8 |
+
+ uniforms.vSphericalL1_1*(normal.y)
|
| 9 |
+
+ uniforms.vSphericalL10*(normal.z)
|
| 10 |
+
+ uniforms.vSphericalL11*(normal.x)
|
| 11 |
+
+ uniforms.vSphericalL2_2*(normal.y*normal.x)
|
| 12 |
+
+ uniforms.vSphericalL2_1*(normal.y*normal.z)
|
| 13 |
+
+ uniforms.vSphericalL20*((3.0*normal.z*normal.z)-1.0)
|
| 14 |
+
+ uniforms.vSphericalL21*(normal.z*normal.x)
|
| 15 |
+
+ uniforms.vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}
|
| 16 |
+
#else
|
| 17 |
+
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
|
| 18 |
+
#endif
|
| 19 |
+
#endif
|
| 20 |
+
`;r.IncludesShadersStoreWGSL[f]||(r.IncludesShadersStoreWGSL[f]=n);
|
| 21 |
+
//# sourceMappingURL=harmonicsFunctions.C1UVinys.js.map
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.br
ADDED
|
Binary file (872 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.gz
ADDED
|
Binary file (974 Bytes). View file
|
|
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.C1UVinys.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"harmonicsFunctions.C1UVinys.js","sources":["../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/pbrUboDeclaration.js","../../../../../../../../node_modules/.pnpm/@babylonjs+core@8.2.0/node_modules/@babylonjs/core/ShadersWGSL/ShadersInclude/harmonicsFunctions.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nimport \"./sceneUboDeclaration.js\";\nimport \"./meshUboDeclaration.js\";\nconst name = \"pbrUboDeclaration\";\nconst shader = `uniform vAlbedoInfos: vec2f;uniform vBaseWeightInfos: vec2f;uniform vAmbientInfos: vec4f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vReflectivityInfos: vec3f;uniform vMicroSurfaceSamplerInfos: vec2f;uniform vReflectionInfos: vec2f;uniform vReflectionFilteringInfo: vec2f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;uniform vBumpInfos: vec3f;uniform albedoMatrix: mat4x4f;uniform baseWeightMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform reflectivityMatrix: mat4x4f;uniform microSurfaceSamplerMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionColor: vec3f;uniform vAlbedoColor: vec4f;uniform baseWeight: f32;uniform vLightingIntensity: vec4f;uniform vReflectionMicrosurfaceInfos: vec3f;uniform pointSize: f32;uniform vReflectivityColor: vec4f;uniform vEmissiveColor: vec3f;uniform vAmbientColor: vec3f;uniform vDebugMode: vec2f;uniform vMetallicReflectanceFactors: vec4f;uniform vMetallicReflectanceInfos: vec2f;uniform metallicReflectanceMatrix: mat4x4f;uniform vReflectanceInfos: vec2f;uniform reflectanceMatrix: mat4x4f;uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;\n#define ADDITIONAL_UBO_DECLARATION\n#include<sceneUboDeclaration>\n#include<meshUboDeclaration>\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const pbrUboDeclarationWGSL = { name, shader };\n//# sourceMappingURL=pbrUboDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore.js\";\nconst name = \"harmonicsFunctions\";\nconst shader = `#ifdef USESPHERICALFROMREFLECTIONMAP\n#ifdef SPHERICAL_HARMONICS\nfn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00\n+ uniforms.vSphericalL1_1*(normal.y)\n+ uniforms.vSphericalL10*(normal.z)\n+ uniforms.vSphericalL11*(normal.x)\n+ uniforms.vSphericalL2_2*(normal.y*normal.x)\n+ uniforms.vSphericalL2_1*(normal.y*normal.z)\n+ uniforms.vSphericalL20*((3.0*normal.z*normal.z)-1.0)\n+ uniforms.vSphericalL21*(normal.z*normal.x)\n+ uniforms.vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}\n#else\nfn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}\n#endif\n#endif\n`;\n// Sideeffect\nif (!ShaderStore.IncludesShadersStoreWGSL[name]) {\n ShaderStore.IncludesShadersStoreWGSL[name] = shader;\n}\n/** @internal */\nexport const harmonicsFunctionsWGSL = { name, shader };\n//# sourceMappingURL=harmonicsFunctions.js.map"],"names":["name","shader","ShaderStore"],"mappings":"iFAIA,MAAMA,EAAO,oBACPC,EAAS;AAAA;AAAA;AAAA;AAAA,EAMVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC,GCVjD,MAAMD,EAAO,qBACPC,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiBVC,EAAY,yBAAyBF,CAAI,IAC1CE,EAAY,yBAAyBF,CAAI,EAAIC","x_google_ignoreList":[0,1]}
|
.venv/lib/python3.13/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/harmonicsFunctions.ab_68Deg.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{j as e}from"./index.BoI39RQH.js";import"./logDepthDeclaration.B72K0fi0.js";const c="pbrUboDeclaration",v=`layout(std140,column_major) uniform;uniform Material {vec2 vAlbedoInfos;vec2 vBaseWeightInfos;vec4 vAmbientInfos;vec2 vOpacityInfos;vec2 vEmissiveInfos;vec2 vLightmapInfos;vec3 vReflectivityInfos;vec2 vMicroSurfaceSamplerInfos;vec2 vReflectionInfos;vec2 vReflectionFilteringInfo;vec3 vReflectionPosition;vec3 vReflectionSize;vec3 vBumpInfos;mat4 albedoMatrix;mat4 baseWeightMatrix;mat4 ambientMatrix;mat4 opacityMatrix;mat4 emissiveMatrix;mat4 lightmapMatrix;mat4 reflectivityMatrix;mat4 microSurfaceSamplerMatrix;mat4 bumpMatrix;vec2 vTangentSpaceParams;mat4 reflectionMatrix;vec3 vReflectionColor;vec4 vAlbedoColor;float baseWeight;vec4 vLightingIntensity;vec3 vReflectionMicrosurfaceInfos;float pointSize;vec4 vReflectivityColor;vec3 vEmissiveColor;vec3 vAmbientColor;vec2 vDebugMode;vec4 vMetallicReflectanceFactors;vec2 vMetallicReflectanceInfos;mat4 metallicReflectanceMatrix;vec2 vReflectanceInfos;mat4 reflectanceMatrix;vec3 vSphericalL00;vec3 vSphericalL1_1;vec3 vSphericalL10;vec3 vSphericalL11;vec3 vSphericalL2_2;vec3 vSphericalL2_1;vec3 vSphericalL20;vec3 vSphericalL21;vec3 vSphericalL22;vec3 vSphericalX;vec3 vSphericalY;vec3 vSphericalZ;vec3 vSphericalXX_ZZ;vec3 vSphericalYY_ZZ;vec3 vSphericalZZ;vec3 vSphericalXY;vec3 vSphericalYZ;vec3 vSphericalZX;
|
| 2 |
+
#define ADDITIONAL_UBO_DECLARATION
|
| 3 |
+
};
|
| 4 |
+
#include<sceneUboDeclaration>
|
| 5 |
+
#include<meshUboDeclaration>
|
| 6 |
+
`;e.IncludesShadersStore[c]||(e.IncludesShadersStore[c]=v);const a="harmonicsFunctions",r=`#ifdef USESPHERICALFROMREFLECTIONMAP
|
| 7 |
+
#ifdef SPHERICAL_HARMONICS
|
| 8 |
+
vec3 computeEnvironmentIrradiance(vec3 normal) {return vSphericalL00
|
| 9 |
+
+ vSphericalL1_1*(normal.y)
|
| 10 |
+
+ vSphericalL10*(normal.z)
|
| 11 |
+
+ vSphericalL11*(normal.x)
|
| 12 |
+
+ vSphericalL2_2*(normal.y*normal.x)
|
| 13 |
+
+ vSphericalL2_1*(normal.y*normal.z)
|
| 14 |
+
+ vSphericalL20*((3.0*normal.z*normal.z)-1.0)
|
| 15 |
+
+ vSphericalL21*(normal.z*normal.x)
|
| 16 |
+
+ vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}
|
| 17 |
+
#else
|
| 18 |
+
vec3 computeEnvironmentIrradiance(vec3 normal) {float Nx=normal.x;float Ny=normal.y;float Nz=normal.z;vec3 C1=vSphericalZZ.rgb;vec3 Cx=vSphericalX.rgb;vec3 Cy=vSphericalY.rgb;vec3 Cz=vSphericalZ.rgb;vec3 Cxx_zz=vSphericalXX_ZZ.rgb;vec3 Cyy_zz=vSphericalYY_ZZ.rgb;vec3 Cxy=vSphericalXY.rgb;vec3 Cyz=vSphericalYZ.rgb;vec3 Czx=vSphericalZX.rgb;vec3 a1=Cyy_zz*Ny+Cy;vec3 a2=Cyz*Nz+a1;vec3 b1=Czx*Nz+Cx;vec3 b2=Cxy*Ny+b1;vec3 b3=Cxx_zz*Nx+b2;vec3 t1=Cz *Nz+C1;vec3 t2=a2 *Ny+t1;vec3 t3=b3 *Nx+t2;return t3;}
|
| 19 |
+
#endif
|
| 20 |
+
#endif
|
| 21 |
+
`;e.IncludesShadersStore[a]||(e.IncludesShadersStore[a]=r);
|
| 22 |
+
//# sourceMappingURL=harmonicsFunctions.ab_68Deg.js.map
|