@mindexec/cli 0.2.433 → 0.2.434
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-css3d-manager.js +19 -19
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-renderer.js +12 -25
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-render-plan.js +101 -1
- package/wwwroot/_framework/{MindExecution.Plugins.Concept.gmo0tv41kt.dll → MindExecution.Plugins.Concept.7uhld08zkc.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.PlanMaster.ts9iffoyt9.dll → MindExecution.Plugins.PlanMaster.y1sj1ifw0z.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.YouTube.m4ag6l6urx.dll → MindExecution.Plugins.YouTube.ij0uk05x1o.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Shared.u07hdbavl1.dll → MindExecution.Shared.1h72etbxec.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Web.m9h5r0uvry.dll → MindExecution.Web.18xe2efznc.dll} +0 -0
- package/wwwroot/_framework/blazor.boot.json +11 -11
- package/wwwroot/index.html +1 -1
- package/wwwroot/service-worker-assets.js +16 -16
- package/wwwroot/service-worker.js +1 -1
package/package.json
CHANGED
|
@@ -2238,6 +2238,8 @@
|
|
|
2238
2238
|
const hasContextSourcePins =
|
|
2239
2239
|
wrapper.classList?.contains?.('has-context-source-pins') === true
|
|
2240
2240
|
|| wrapper.querySelector?.('.map-node-automation-context-source, .map-node-automation-worker-source') !== null;
|
|
2241
|
+
if (window.MindMapRenderPlan?.reuseCssMediaFrameDom?.(
|
|
2242
|
+
cssObject, worldWidth, worldHeight, hasContextSourcePins) === true) return;
|
|
2241
2243
|
|
|
2242
2244
|
wrapper.style.width = `${scaledWidth}px`;
|
|
2243
2245
|
wrapper.style.height = `${scaledHeight}px`;
|
|
@@ -2596,9 +2598,14 @@
|
|
|
2596
2598
|
const wrapperFrame = toFrame(wrapperWidth / resolutionScale, wrapperHeight / resolutionScale);
|
|
2597
2599
|
const innerFrame = toFrame(innerWidth, innerHeight);
|
|
2598
2600
|
const liveFrame = wrapperFrame || innerFrame || userFrame;
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2601
|
+
if (options.preferModelDimensions === true) {
|
|
2602
|
+
return modelFrame || liveFrame || { width: 1, height: 1 };
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
const canMeasureLayout = entry?.currentType === 'CSS' || cssObject?.visible === true;
|
|
2606
|
+
const wrapperRect = canMeasureLayout && typeof wrapper?.getBoundingClientRect === 'function' ? wrapper.getBoundingClientRect() : null;
|
|
2607
|
+
const innerRect = canMeasureLayout && typeof inner?.getBoundingClientRect === 'function' ? inner.getBoundingClientRect() : null;
|
|
2608
|
+
const hasMeasuredLayout = canMeasureLayout && (
|
|
2602
2609
|
Number(wrapperRect?.width || 0) > 0
|
|
2603
2610
|
|| Number(wrapperRect?.height || 0) > 0
|
|
2604
2611
|
|| Number(innerRect?.width || 0) > 0
|
|
@@ -2606,17 +2613,13 @@
|
|
|
2606
2613
|
|| Number(wrapper?.offsetWidth || 0) > 0
|
|
2607
2614
|
|| Number(wrapper?.offsetHeight || 0) > 0
|
|
2608
2615
|
|| Number(inner?.offsetWidth || 0) > 0
|
|
2609
|
-
|| Number(inner?.offsetHeight || 0) > 0;
|
|
2616
|
+
|| Number(inner?.offsetHeight || 0) > 0);
|
|
2610
2617
|
const cssCurrentlyVisible =
|
|
2611
2618
|
(entry?.currentType === 'CSS' || cssObject?.visible === true)
|
|
2612
2619
|
&& cssObject?.visible !== false
|
|
2613
2620
|
&& hasMeasuredLayout;
|
|
2614
2621
|
const intrinsicAspectRatio = getCssMediaIntrinsicAspectRatio(nodeModel, cssObject);
|
|
2615
2622
|
|
|
2616
|
-
if (options.preferModelDimensions === true) {
|
|
2617
|
-
return modelFrame || liveFrame || { width: 1, height: 1 };
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
2623
|
if (intrinsicAspectRatio > 0 && modelFrame && liveFrame) {
|
|
2621
2624
|
const modelAspectError = getCssMediaFrameAspectError(modelFrame, intrinsicAspectRatio);
|
|
2622
2625
|
const liveAspectError = getCssMediaFrameAspectError(liveFrame, intrinsicAspectRatio);
|
|
@@ -2666,7 +2669,10 @@
|
|
|
2666
2669
|
if (!videoContent?.style) {
|
|
2667
2670
|
return;
|
|
2668
2671
|
}
|
|
2669
|
-
|
|
2672
|
+
if (_module?.renderDebugFlags?.tintVideoLayoutInNear !== true) {
|
|
2673
|
+
if (videoContent.dataset?.debugVideoLayout) clearCss3dVideoDebugLayout(cssObject);
|
|
2674
|
+
return;
|
|
2675
|
+
}
|
|
2670
2676
|
const hostWidth = Math.max(1, Number(frameWidth || 0));
|
|
2671
2677
|
const hostHeight = Math.max(1, Number(frameHeight || 0));
|
|
2672
2678
|
const intrinsicSize = getCss3dVideoIntrinsicSize(nodeModel, cssObject?.element?.querySelector?.('video') || null);
|
|
@@ -2972,20 +2978,20 @@
|
|
|
2972
2978
|
const hostWidth = Math.max(
|
|
2973
2979
|
1,
|
|
2974
2980
|
Math.round(Number(
|
|
2975
|
-
|
|
2976
|
-
|| cssObject?.userData?.worldWidth
|
|
2981
|
+
cssObject?.userData?.worldWidth
|
|
2977
2982
|
|| nodeModel?.width
|
|
2978
2983
|
|| nodeModel?.Width
|
|
2984
|
+
|| state.videoContent.clientWidth
|
|
2979
2985
|
|| 0
|
|
2980
2986
|
))
|
|
2981
2987
|
);
|
|
2982
2988
|
const hostHeight = Math.max(
|
|
2983
2989
|
1,
|
|
2984
2990
|
Math.round(Number(
|
|
2985
|
-
|
|
2986
|
-
|| cssObject?.userData?.worldHeight
|
|
2991
|
+
cssObject?.userData?.worldHeight
|
|
2987
2992
|
|| nodeModel?.height
|
|
2988
2993
|
|| nodeModel?.Height
|
|
2994
|
+
|| state.videoContent.clientHeight
|
|
2989
2995
|
|| 0
|
|
2990
2996
|
))
|
|
2991
2997
|
);
|
|
@@ -24026,8 +24032,6 @@
|
|
|
24026
24032
|
}
|
|
24027
24033
|
}
|
|
24028
24034
|
|
|
24029
|
-
// ▼▼▼ [Critical fix] Race condition: disable removal of the original Blazor template DOM ▼▼▼
|
|
24030
|
-
// The original template is needed for markdown height measurement, so keep it in the DOM.
|
|
24031
24035
|
// (It lives in a hidden div, so it is not visible.)
|
|
24032
24036
|
/*
|
|
24033
24037
|
const razorMapNode = document.querySelector(`#${templateId}`);
|
|
@@ -24070,8 +24074,6 @@
|
|
|
24070
24074
|
});
|
|
24071
24075
|
clonedElement.style.borderRadius = '0px';
|
|
24072
24076
|
|
|
24073
|
-
// ▼▼▼ [Changed] Remove offset to match WebGL positioning (top-left origin) ▼▼▼
|
|
24074
|
-
// CSS3DObject places the wrapper at the coordinate. If we add an extra 50% offset
|
|
24075
24077
|
// to the inner element, the node shifts down-right.
|
|
24076
24078
|
// Remove it so the element sits at the wrapper origin (0,0).
|
|
24077
24079
|
clonedElement.style.position = 'absolute';
|
|
@@ -24102,8 +24104,6 @@
|
|
|
24102
24104
|
wrapper.style.transition = CSS3D_WRAPPER_TRANSITION;
|
|
24103
24105
|
wrapper.style.webkitTransition = CSS3D_WRAPPER_WEBKIT_TRANSITION;
|
|
24104
24106
|
|
|
24105
|
-
// ▼▼▼ [Critical fix] Change wrapper origin from center (default) to top-left (0 0) ▼▼▼
|
|
24106
|
-
// WebGL meshes use the top-left as (0,0,0), so align CSS3D elements accordingly.
|
|
24107
24107
|
wrapper.style.transformOrigin = '0 0';
|
|
24108
24108
|
// ▲▲▲ [Critical fix] ▲▲▲
|
|
24109
24109
|
|
|
@@ -4803,6 +4803,11 @@
|
|
|
4803
4803
|
return;
|
|
4804
4804
|
}
|
|
4805
4805
|
const cssParentScene = module?.cssScene || module?.scene;
|
|
4806
|
+
const shouldUseHighCss3dDetail = this._shouldUseHighCss3dDetail(entry, module);
|
|
4807
|
+
if (window.MindMapRenderPlan?.reuseStableVisibleCss?.(this, entry, module, nodeId, {
|
|
4808
|
+
isHighDetail: shouldUseHighCss3dDetail,
|
|
4809
|
+
allowResident: isLivePortalCssLodModel(model)
|
|
4810
|
+
}) === true) return;
|
|
4806
4811
|
|
|
4807
4812
|
// Create if not exists
|
|
4808
4813
|
if (!entry.cssObject) {
|
|
@@ -4843,7 +4848,6 @@
|
|
|
4843
4848
|
}
|
|
4844
4849
|
// ▲▲▲ [FIX] ▲▲▲
|
|
4845
4850
|
|
|
4846
|
-
const shouldUseHighCss3dDetail = this._shouldUseHighCss3dDetail(entry, module);
|
|
4847
4851
|
this._setCss3dLodClass(entry, shouldUseHighCss3dDetail);
|
|
4848
4852
|
|
|
4849
4853
|
// ▼▼▼ [CRITICAL] Sync content BEFORE making CSS visible ▼▼▼
|
|
@@ -4894,15 +4898,6 @@
|
|
|
4894
4898
|
}
|
|
4895
4899
|
// ▲▲▲ [FIX] ▲▲▲
|
|
4896
4900
|
|
|
4897
|
-
// CSS3D media nodes need one more sync after the DOM is actually visible.
|
|
4898
|
-
// The video canvas proxy refuses to start on hidden CSS objects, so the
|
|
4899
|
-
// pre-visibility sync above can otherwise leave the native <video> surface
|
|
4900
|
-
// active in near mode and trigger browser compositor artifacts.
|
|
4901
|
-
if (isMediaNode && window.MindMapCss3DManager?.syncCss3dMediaNodeFrame) {
|
|
4902
|
-
window.MindMapCss3DManager.syncCss3dMediaNodeFrame(model, entry.cssObject, {
|
|
4903
|
-
updateSpatialGrid: false
|
|
4904
|
-
});
|
|
4905
|
-
}
|
|
4906
4901
|
if (getNodeContentType(model) === 'video' &&
|
|
4907
4902
|
window.MindMapCss3DManager?.syncVideoNodeVisibilityPlayback) {
|
|
4908
4903
|
window.MindMapCss3DManager.syncVideoNodeVisibilityPlayback(model, entry.cssObject, true);
|
|
@@ -4978,6 +4973,9 @@
|
|
|
4978
4973
|
const shouldForceMediaGlFallback =
|
|
4979
4974
|
(contentType === 'video' || contentType === 'embed') &&
|
|
4980
4975
|
(options?.forceMediaGlFallback === true || !isCss3dRendererEnabled(this._module));
|
|
4976
|
+
const cssElement = entry?.cssObject?.element || null;
|
|
4977
|
+
let cssVisualChanged = entry?.currentType === 'CSS' || entry?.cssObject?.visible === true ||
|
|
4978
|
+
(!!entry?.cssObject?.parent && cssElement?.style?.display !== 'none');
|
|
4981
4979
|
if (contentType === 'image' && entry?.model) {
|
|
4982
4980
|
entry.model._showImageBodyInCssMode = false;
|
|
4983
4981
|
this._resetFullResImageBridgeState(entry);
|
|
@@ -5020,11 +5018,11 @@
|
|
|
5020
5018
|
}
|
|
5021
5019
|
this._setGlowVisibility(entry, false);
|
|
5022
5020
|
if (nodeId) {
|
|
5023
|
-
this._nearCssVisibleIds.delete(nodeId);
|
|
5024
|
-
this._lodImageCssFallbackNodeIds.delete(nodeId);
|
|
5025
|
-
this._lodTemplateCssNodeIds.delete(nodeId);
|
|
5021
|
+
cssVisualChanged = this._nearCssVisibleIds.delete(nodeId) || cssVisualChanged;
|
|
5022
|
+
cssVisualChanged = this._lodImageCssFallbackNodeIds.delete(nodeId) || cssVisualChanged;
|
|
5023
|
+
cssVisualChanged = this._lodTemplateCssNodeIds.delete(nodeId) || cssVisualChanged;
|
|
5026
5024
|
}
|
|
5027
|
-
if (this._module) {
|
|
5025
|
+
if (this._module && cssVisualChanged) {
|
|
5028
5026
|
this._module._css3dVisualChangedThisFrame = true;
|
|
5029
5027
|
this._module._css3dVisualChangedSinceLastRender = true;
|
|
5030
5028
|
}
|
|
@@ -5336,7 +5334,6 @@
|
|
|
5336
5334
|
|
|
5337
5335
|
if (uniform.value.getHex && uniform.value.getHex() === hex) return;
|
|
5338
5336
|
uniform.value.setHex(hex);
|
|
5339
|
-
mat.needsUpdate = true;
|
|
5340
5337
|
}
|
|
5341
5338
|
|
|
5342
5339
|
_setInstancedDefaultBorderColor(hex) {
|
|
@@ -5350,11 +5347,9 @@
|
|
|
5350
5347
|
|
|
5351
5348
|
if (uniform && uniform.value) {
|
|
5352
5349
|
uniform.value.setHex(hex);
|
|
5353
|
-
mat.needsUpdate = true;
|
|
5354
5350
|
}
|
|
5355
5351
|
if (lineMaterial?.color) {
|
|
5356
5352
|
lineMaterial.color.setHex(hex);
|
|
5357
|
-
lineMaterial.needsUpdate = true;
|
|
5358
5353
|
}
|
|
5359
5354
|
}
|
|
5360
5355
|
|
|
@@ -5366,7 +5361,6 @@
|
|
|
5366
5361
|
const nextValue = visible ? 1.0 : 0.0;
|
|
5367
5362
|
if (uniform.value === nextValue) return;
|
|
5368
5363
|
uniform.value = nextValue;
|
|
5369
|
-
mat.needsUpdate = true;
|
|
5370
5364
|
}
|
|
5371
5365
|
|
|
5372
5366
|
_setInstancedFarInsetBorderVisibility(visible) {
|
|
@@ -5380,21 +5374,14 @@
|
|
|
5380
5374
|
const nextValue = visible ? 1.0 : 0.0;
|
|
5381
5375
|
const nextOpacity = visible ? LOD_NODE_BORDER_OPACITY_FAR : LOD_NODE_BORDER_OPACITY_MID;
|
|
5382
5376
|
const nextLineOpacity = visible ? LOD_TEXT_LINE_OPACITY_FAR : LOD_TEXT_LINE_OPACITY_MID;
|
|
5383
|
-
let changed = false;
|
|
5384
5377
|
if (uniform && uniform.value !== nextValue) {
|
|
5385
5378
|
uniform.value = nextValue;
|
|
5386
|
-
changed = true;
|
|
5387
5379
|
}
|
|
5388
5380
|
if (opacityUniform && opacityUniform.value !== nextOpacity) {
|
|
5389
5381
|
opacityUniform.value = nextOpacity;
|
|
5390
|
-
changed = true;
|
|
5391
|
-
}
|
|
5392
|
-
if (changed) {
|
|
5393
|
-
mat.needsUpdate = true;
|
|
5394
5382
|
}
|
|
5395
5383
|
if (lineOpacityUniform && lineOpacityUniform.value !== nextLineOpacity) {
|
|
5396
5384
|
lineOpacityUniform.value = nextLineOpacity;
|
|
5397
|
-
lineMaterial.needsUpdate = true;
|
|
5398
5385
|
}
|
|
5399
5386
|
}
|
|
5400
5387
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const BUILD_ID = '20260712-boundary-transition-cache-
|
|
4
|
+
const BUILD_ID = '20260712-boundary-transition-cache-v38';
|
|
5
5
|
const FRAME_SAMPLE_LIMIT = 240;
|
|
6
6
|
const INITIAL_LINE_TEXTURE_ROWS = 1024;
|
|
7
7
|
const GPU_WARM_RETRY_DELAY_MS = 120;
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
const frameSampleStates = new WeakMap();
|
|
10
10
|
const residentLinePrewarmStates = new WeakMap();
|
|
11
11
|
const residentTransitionStates = new WeakMap();
|
|
12
|
+
const cssMediaFrameDomStates = new WeakMap();
|
|
13
|
+
let cssMediaFrameDomReuseCount = 0;
|
|
14
|
+
let cssMediaFrameDomApplyCount = 0;
|
|
12
15
|
const RESIDENT_CSS_CACHE_TEXT_TYPES = new Set(['text', 'note', 'memo', 'markdown', 'code', 'csv-table']);
|
|
13
16
|
const VIEW_SYNC_SECTION_KEYS = [
|
|
14
17
|
'fullResSetup', 'fullResImages', 'fullResCssQueue', 'fullResHandoff', 'fullResOther',
|
|
@@ -284,6 +287,95 @@
|
|
|
284
287
|
return batch;
|
|
285
288
|
}
|
|
286
289
|
|
|
290
|
+
function reuseCssMediaFrameDom(cssObject, width, height, hasContextSourcePins = false) {
|
|
291
|
+
const wrapper = cssObject?.element || null;
|
|
292
|
+
const isMedia = wrapper?.classList?.contains?.('node-type-image') === true ||
|
|
293
|
+
wrapper?.classList?.contains?.('node-type-video') === true ||
|
|
294
|
+
wrapper?.classList?.contains?.('node-type-embed') === true;
|
|
295
|
+
if (!isMedia || !wrapper?.style) return false;
|
|
296
|
+
|
|
297
|
+
const inner = wrapper.firstElementChild || null;
|
|
298
|
+
const content = inner?.querySelector?.('.node-content-wrapper') || null;
|
|
299
|
+
const response = inner?.querySelector?.('.node-response') || null;
|
|
300
|
+
const surface = inner?.querySelector?.('img,video,canvas.mind-map-video-proxy,iframe,.embed-card,.embed-iframe-shell') || null;
|
|
301
|
+
const resolutionScale = Math.max(1, Number(cssObject?.userData?.resolutionScale || 1));
|
|
302
|
+
const worldWidth = Math.max(1, Math.round(Number(width || 1)));
|
|
303
|
+
const worldHeight = Math.max(1, Math.round(Number(height || 1)));
|
|
304
|
+
const scaledWidth = worldWidth * resolutionScale;
|
|
305
|
+
const scaledHeight = worldHeight * resolutionScale;
|
|
306
|
+
const state = cssMediaFrameDomStates.get(cssObject) || null;
|
|
307
|
+
const structureMatches = !!state && state.wrapper === wrapper && state.inner === inner &&
|
|
308
|
+
state.content === content && state.response === response && state.surface === surface &&
|
|
309
|
+
state.innerChildren === Number(inner?.childElementCount ?? inner?.children?.length ?? 0) &&
|
|
310
|
+
state.contentChildren === Number(content?.childElementCount ?? content?.children?.length ?? 0);
|
|
311
|
+
const frameMatches = structureMatches && state.width === worldWidth && state.height === worldHeight &&
|
|
312
|
+
state.resolutionScale === resolutionScale && state.hasContextSourcePins === (hasContextSourcePins === true);
|
|
313
|
+
const frameStylesReady = wrapper.style.width === `${scaledWidth}px` && wrapper.style.height === `${scaledHeight}px` &&
|
|
314
|
+
(!inner?.style || (inner.style.width === `${worldWidth}px` && inner.style.height === `${worldHeight}px`));
|
|
315
|
+
|
|
316
|
+
if (frameMatches && frameStylesReady) {
|
|
317
|
+
cssMediaFrameDomReuseCount++;
|
|
318
|
+
return true;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
cssMediaFrameDomStates.set(cssObject, {
|
|
322
|
+
wrapper,
|
|
323
|
+
inner,
|
|
324
|
+
content,
|
|
325
|
+
response,
|
|
326
|
+
surface,
|
|
327
|
+
innerChildren: Number(inner?.childElementCount ?? inner?.children?.length ?? 0),
|
|
328
|
+
contentChildren: Number(content?.childElementCount ?? content?.children?.length ?? 0),
|
|
329
|
+
width: worldWidth,
|
|
330
|
+
height: worldHeight,
|
|
331
|
+
resolutionScale,
|
|
332
|
+
hasContextSourcePins: hasContextSourcePins === true
|
|
333
|
+
});
|
|
334
|
+
cssMediaFrameDomApplyCount++;
|
|
335
|
+
return false;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
function reuseStableVisibleCss(renderer, entry, module, nodeIdValue, options = {}) {
|
|
339
|
+
const cssObject = entry?.cssObject || null;
|
|
340
|
+
const element = cssObject?.element || null;
|
|
341
|
+
const nodeId = String(nodeIdValue || entry?.model?.id || entry?.model?.Id || entry?.glObject?.userData?.nodeId || '').trim();
|
|
342
|
+
const cssScene = module?.cssScene || module?.scene || null;
|
|
343
|
+
const allowResident = options.allowResident === true;
|
|
344
|
+
if (!nodeId || !element || entry?.isCssDirty === true || entry?.currentType !== 'CSS' ||
|
|
345
|
+
cssObject.visible !== true || cssObject.userData?._residentTransitionPrepared === true ||
|
|
346
|
+
(!allowResident && renderer?.isInLODMode === true) || (cssScene && cssObject.parent !== cssScene) ||
|
|
347
|
+
element.style?.display === 'none' || element.style?.visibility === 'hidden' || element.style?.opacity === '0' ||
|
|
348
|
+
module?._cssParentRepairNeeded === true || module?._cssTransformDirtyIds?.has?.(nodeId) === true) return false;
|
|
349
|
+
|
|
350
|
+
const selectedNodeId = String(module?.selectedNodeIdJs || module?.selectedNodeId || '').trim();
|
|
351
|
+
const editingNodeId = String(module?._textOverlayV2State?.editing?.nodeId || module?._editingOverlayState?.nodeId || '').trim();
|
|
352
|
+
if (selectedNodeId === nodeId || module?.multiSelectedNodeIds?.has?.(nodeId) === true ||
|
|
353
|
+
module?.draggedNodeId === nodeId || editingNodeId === nodeId ||
|
|
354
|
+
renderer?._getCurrentHoveredNodeId?.(module) === nodeId) return false;
|
|
355
|
+
|
|
356
|
+
const inner = element.querySelector?.('.node-container') || null;
|
|
357
|
+
const targets = inner && inner !== element ? [element, inner] : [element];
|
|
358
|
+
const isHigh = options.isHighDetail === true;
|
|
359
|
+
for (const target of targets) {
|
|
360
|
+
if (!target?.classList || target.classList.contains(isHigh ? 'lod-high' : 'lod-low') !== true ||
|
|
361
|
+
target.classList.contains(isHigh ? 'lod-low' : 'lod-high') === true) return false;
|
|
362
|
+
}
|
|
363
|
+
if (isHigh && (element.matches?.('[data-text-overlay-source-suspended],.mind-map-text-overlay-source-suspended,.mind-map-v2-source-suspended') === true ||
|
|
364
|
+
element.querySelector?.('[data-text-overlay-source-suspended],.mind-map-text-overlay-source-suspended,.mind-map-v2-source-suspended'))) return false;
|
|
365
|
+
|
|
366
|
+
const contentType = String(entry?.model?.contentType ?? entry?.model?.ContentType ?? '').trim().toLowerCase();
|
|
367
|
+
if (contentType === 'image' || contentType === 'video') {
|
|
368
|
+
const media = element.querySelector?.('img,video') || null;
|
|
369
|
+
const source = media?.getAttribute?.('src') || media?.currentSrc || media?.src || '';
|
|
370
|
+
if (!media || !source) return false;
|
|
371
|
+
} else if (contentType === 'embed' &&
|
|
372
|
+
!element.querySelector?.('.embed-card,.embed-frame,.embed-iframe-shell')) return false;
|
|
373
|
+
|
|
374
|
+
renderer?._nearCssVisibleIds?.add?.(nodeId);
|
|
375
|
+
if (renderer) renderer._fullResCssStableReuseCount = Number(renderer._fullResCssStableReuseCount || 0) + 1;
|
|
376
|
+
return true;
|
|
377
|
+
}
|
|
378
|
+
|
|
287
379
|
function reuseActiveCssMediaFallback(renderer, entry, module) {
|
|
288
380
|
const cssObject = entry?.cssObject || null;
|
|
289
381
|
const element = cssObject?.element || null;
|
|
@@ -1323,6 +1415,9 @@
|
|
|
1323
1415
|
visibilityP95Ms: percentile(state, 'visibilityMs', 0.95),
|
|
1324
1416
|
viewSyncP95Ms: percentile(state, 'viewSyncMs', 0.95),
|
|
1325
1417
|
css3dRenderP95Ms: percentile(state, 'css3dRenderMs', 0.95),
|
|
1418
|
+
fullResCssStableReuseCount: Number(renderer?._fullResCssStableReuseCount || 0),
|
|
1419
|
+
cssMediaFrameDomReuseCount,
|
|
1420
|
+
cssMediaFrameDomApplyCount,
|
|
1326
1421
|
residentLinePrewarmCount: Number(renderer?._residentLinePrewarmCount || 0),
|
|
1327
1422
|
residentLineBufferPrewarmCount: Number(renderer?._residentLineBufferPrewarmCount || 0),
|
|
1328
1423
|
residentIdleBuildCount: Number(renderer?._residentIdleBuildCount || 0),
|
|
@@ -1368,6 +1463,9 @@
|
|
|
1368
1463
|
frameSampleStates.delete(renderer);
|
|
1369
1464
|
renderer._fullResStablePlanSkipCount = 0;
|
|
1370
1465
|
renderer._lastFullResStablePlanSkipped = false;
|
|
1466
|
+
renderer._fullResCssStableReuseCount = 0;
|
|
1467
|
+
cssMediaFrameDomReuseCount = 0;
|
|
1468
|
+
cssMediaFrameDomApplyCount = 0;
|
|
1371
1469
|
}
|
|
1372
1470
|
|
|
1373
1471
|
window.MindMapRenderPlan = Object.freeze({
|
|
@@ -1387,6 +1485,8 @@
|
|
|
1387
1485
|
renderResidentWarmScene,
|
|
1388
1486
|
prepareImageAtlasCapacity,
|
|
1389
1487
|
fallbackBatch,
|
|
1488
|
+
reuseCssMediaFrameDom,
|
|
1489
|
+
reuseStableVisibleCss,
|
|
1390
1490
|
reuseActiveCssMediaFallback,
|
|
1391
1491
|
hasAnimatedGifCssFallbackCandidates,
|
|
1392
1492
|
hasResidentDirtyWork,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/wwwroot/_framework/{MindExecution.Web.m9h5r0uvry.dll → MindExecution.Web.18xe2efznc.dll}
RENAMED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainAssemblyName": "MindExecution.Web",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-A1OJeSdC0err06G8T2jbUHqkQDe7emn8bFuOwoj3t08=",
|
|
5
5
|
"fingerprinting": {
|
|
6
6
|
"Google.Protobuf.9h59ukbel7.dll": "Google.Protobuf.dll",
|
|
7
7
|
"Markdig.d1j7v41cl1.dll": "Markdig.dll",
|
|
@@ -126,12 +126,12 @@
|
|
|
126
126
|
"MindExecution.Kernel.75hxk08tt0.dll": "MindExecution.Kernel.dll",
|
|
127
127
|
"MindExecution.Plugins.Admin.0zkmk8wahq.dll": "MindExecution.Plugins.Admin.dll",
|
|
128
128
|
"MindExecution.Plugins.Business.vyw3769hrw.dll": "MindExecution.Plugins.Business.dll",
|
|
129
|
-
"MindExecution.Plugins.Concept.
|
|
129
|
+
"MindExecution.Plugins.Concept.7uhld08zkc.dll": "MindExecution.Plugins.Concept.dll",
|
|
130
130
|
"MindExecution.Plugins.Directory.jtw9q1dm9n.dll": "MindExecution.Plugins.Directory.dll",
|
|
131
|
-
"MindExecution.Plugins.PlanMaster.
|
|
132
|
-
"MindExecution.Plugins.YouTube.
|
|
133
|
-
"MindExecution.Shared.
|
|
134
|
-
"MindExecution.Web.
|
|
131
|
+
"MindExecution.Plugins.PlanMaster.y1sj1ifw0z.dll": "MindExecution.Plugins.PlanMaster.dll",
|
|
132
|
+
"MindExecution.Plugins.YouTube.ij0uk05x1o.dll": "MindExecution.Plugins.YouTube.dll",
|
|
133
|
+
"MindExecution.Shared.1h72etbxec.dll": "MindExecution.Shared.dll",
|
|
134
|
+
"MindExecution.Web.18xe2efznc.dll": "MindExecution.Web.dll",
|
|
135
135
|
"dotnet.native.566r55w3xu.js": "dotnet.native.js",
|
|
136
136
|
"dotnet.native.x6q5aixc38.wasm": "dotnet.native.wasm",
|
|
137
137
|
"dotnet.js": "dotnet.js",
|
|
@@ -279,15 +279,15 @@
|
|
|
279
279
|
"MindExecution.Core.808jj176e1.dll": "sha256-uMmP6rEgsbuwnsZ6Cnxrpmzio4usBtoJERfkOvz25iY=",
|
|
280
280
|
"MindExecution.Kernel.75hxk08tt0.dll": "sha256-9db04cSFp4z4iblswVb0UWgpjeluVqZUa7g27Oj3p40=",
|
|
281
281
|
"MindExecution.Plugins.Business.vyw3769hrw.dll": "sha256-WSc1w7WNOhnmzD3DcIgg4PCYzHeeU5rc7KK7eLgsu+M=",
|
|
282
|
-
"MindExecution.Plugins.Concept.
|
|
283
|
-
"MindExecution.Plugins.PlanMaster.
|
|
284
|
-
"MindExecution.Shared.
|
|
285
|
-
"MindExecution.Web.
|
|
282
|
+
"MindExecution.Plugins.Concept.7uhld08zkc.dll": "sha256-cUU0G3dB5DWTJNWZOm9H11vbZAYmN/V+IrFMt9vlBIk=",
|
|
283
|
+
"MindExecution.Plugins.PlanMaster.y1sj1ifw0z.dll": "sha256-xi09lt0NHokoI+n3J5fhJbUl67m/1L130G1zeUGBXEk=",
|
|
284
|
+
"MindExecution.Shared.1h72etbxec.dll": "sha256-VeRGhlstb2Mj+LaayW5MnfvrVz9wwtNbPnyUr60G+UM=",
|
|
285
|
+
"MindExecution.Web.18xe2efznc.dll": "sha256-T3bBjSn7Uc2X45eMbh/5L7RKDkSKcKbxB6gAzKbVXJE="
|
|
286
286
|
},
|
|
287
287
|
"lazyAssembly": {
|
|
288
288
|
"MindExecution.Plugins.Admin.0zkmk8wahq.dll": "sha256-VLiwzLIr+tjKr6+yQfhMVQHq2Yx26QenAkC092+fEdw=",
|
|
289
289
|
"MindExecution.Plugins.Directory.jtw9q1dm9n.dll": "sha256-Z1x+H7sTj3w9XjWxfqGsd3Jv+qlzwQxAur6pJIP4l20=",
|
|
290
|
-
"MindExecution.Plugins.YouTube.
|
|
290
|
+
"MindExecution.Plugins.YouTube.ij0uk05x1o.dll": "sha256-PoKIu/xjyXhnHtDJoQjpwhYVQygI4ViEkCbfM6hy/Nk="
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
"cacheBootResources": true,
|
package/wwwroot/index.html
CHANGED
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
const base = '_content/MindExecution.Shared/js/';
|
|
582
|
-
const scriptVersion = '20260712-
|
|
582
|
+
const scriptVersion = '20260712-css-reuse-cache-v925';
|
|
583
583
|
const scriptUrl = (script) => `${base}${script}?v=${scriptVersion}`;
|
|
584
584
|
console.log(`[Script Loader] Shared JS version: ${scriptVersion}`);
|
|
585
585
|
const criticalScripts = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
self.assetsManifest = {
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "f/kAtLma",
|
|
3
3
|
"assets": [
|
|
4
4
|
{
|
|
5
5
|
"hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js.backup"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
"hash": "sha256-
|
|
89
|
+
"hash": "sha256-lQz/ypxVlzVl+8tIKCNG6goy086bDvnI+R/VV4OEfdE=",
|
|
90
90
|
"url": "_content/MindExecution.Shared/js/mind-map-css3d-manager.js"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"url": "_content/MindExecution.Shared/js/mind-map-lod-plan-worker.js"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
"hash": "sha256-
|
|
117
|
+
"hash": "sha256-HL4X4OehLXj2TGrBMLPjEr5kSK3MjOJNF8+RHLA/yRg=",
|
|
118
118
|
"url": "_content/MindExecution.Shared/js/mind-map-lod-renderer.js"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"url": "_content/MindExecution.Shared/js/mind-map-pipeline.js"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
"hash": "sha256-
|
|
153
|
+
"hash": "sha256-apvwkVi4x7Zhjy7Nu4LrpqZ5ThSXyk2ZQCDz8TJyUnY=",
|
|
154
154
|
"url": "_content/MindExecution.Shared/js/mind-map-render-plan.js"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
@@ -426,28 +426,28 @@
|
|
|
426
426
|
"url": "_framework/MindExecution.Plugins.Business.vyw3769hrw.dll"
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
"hash": "sha256-
|
|
430
|
-
"url": "_framework/MindExecution.Plugins.Concept.
|
|
429
|
+
"hash": "sha256-cUU0G3dB5DWTJNWZOm9H11vbZAYmN/V+IrFMt9vlBIk=",
|
|
430
|
+
"url": "_framework/MindExecution.Plugins.Concept.7uhld08zkc.dll"
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
"hash": "sha256-Z1x+H7sTj3w9XjWxfqGsd3Jv+qlzwQxAur6pJIP4l20=",
|
|
434
434
|
"url": "_framework/MindExecution.Plugins.Directory.jtw9q1dm9n.dll"
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
|
-
"hash": "sha256-
|
|
438
|
-
"url": "_framework/MindExecution.Plugins.PlanMaster.
|
|
437
|
+
"hash": "sha256-xi09lt0NHokoI+n3J5fhJbUl67m/1L130G1zeUGBXEk=",
|
|
438
|
+
"url": "_framework/MindExecution.Plugins.PlanMaster.y1sj1ifw0z.dll"
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
|
-
"hash": "sha256-
|
|
442
|
-
"url": "_framework/MindExecution.Plugins.YouTube.
|
|
441
|
+
"hash": "sha256-PoKIu/xjyXhnHtDJoQjpwhYVQygI4ViEkCbfM6hy/Nk=",
|
|
442
|
+
"url": "_framework/MindExecution.Plugins.YouTube.ij0uk05x1o.dll"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
|
-
"hash": "sha256-
|
|
446
|
-
"url": "_framework/MindExecution.Shared.
|
|
445
|
+
"hash": "sha256-VeRGhlstb2Mj+LaayW5MnfvrVz9wwtNbPnyUr60G+UM=",
|
|
446
|
+
"url": "_framework/MindExecution.Shared.1h72etbxec.dll"
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
"hash": "sha256-
|
|
450
|
-
"url": "_framework/MindExecution.Web.
|
|
449
|
+
"hash": "sha256-T3bBjSn7Uc2X45eMbh/5L7RKDkSKcKbxB6gAzKbVXJE=",
|
|
450
|
+
"url": "_framework/MindExecution.Web.18xe2efznc.dll"
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
"hash": "sha256-IsZJ91/OW+fHzNqIgEc7Y072ns8z9dGritiSyvR9Wgc=",
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"url": "_framework/Websocket.Client.vapounvmnl.dll"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
"hash": "sha256-
|
|
769
|
+
"hash": "sha256-BQeM7uox0PW+Qf3cMKSzu+YUaxrxFojAXZ8+e+ZLR6k=",
|
|
770
770
|
"url": "_framework/blazor.boot.json"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"url": "icon-512.png"
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
|
-
"hash": "sha256-
|
|
829
|
+
"hash": "sha256-wFgzyRZGm0LZCRS/TKk/6HOGBvhwd3g+/PXHKVCWhWY=",
|
|
830
830
|
"url": "index.html"
|
|
831
831
|
},
|
|
832
832
|
{
|