Created At: 2026-06-14T14:02:20Z
Completed At: 2026-06-14T14:02:20Z
File Path: `file:///c:/Users/HP/Downloads/climate-system/climate-system/index.php`
Total Lines: 4592
Total Bytes: 194050
Showing lines 3435 to 3465
The following code has been modified to include a line number before every line, in the format: <line_number>: <original_line>. Please note that any changes targeting the original code should remove the line number, colon, and leading space.
3435:           }
3436:         }
3437:       }
3438: 
3439:       let isTempAnomaly = false;
3440:       const vLower = vNorm.toLowerCase();
3441:       if (vLower.includes('anomaly') || vLower.includes('anomali')) {
3442:         isTempAnomaly = true;
3443:       } else if (vLower.includes('suhu') || vLower.includes('temp') || vLower.includes('temperature')) {
3444:         let maxVal = -Infinity;
3445:         dataHist.forEach(d => { if (d.y !== null && d.y > maxVal) maxVal = d.y; });
3446:         dataSSP1.forEach(d => { if (d.y !== null && d.y > maxVal) maxVal = d.y; });
3447:         dataSSP2.forEach(d => { if (d.y !== null && d.y > maxVal) maxVal = d.y; });
3448:         dataSSP3.forEach(d => { if (d.y !== null && d.y > maxVal) maxVal = d.y; });
3449:         dataSSP5.forEach(d => { if (d.y !== null && d.y > maxVal) maxVal = d.y; });
3450:         if (maxVal < 12) {
3451:           isTempAnomaly = true;
3452:         }
3453:       }
3454: 
3455:       const isDark = document.body.classList.contains('dark-theme');
3456:       const gridColor = isDark ? 'rgba(255, 255, 255, 0.1)' : 'rgba(0, 0, 0, 0.08)';
3457:       const textColor = isDark ? '#f1f5f9' : '#1e293b';
3458: 
3459:       const minYr = Math.min(...years);
3460:       const maxYr = Math.max(...years);
3461: 
3462:       // Map data lists to Highcharts format
3463:       const historicalData = dataHist.filter(d => d.y !== null).map(d => [d.x, d.y]);
3464: 
3465:       const ssp1MeanData = dataSSP1.filter(d => d.y !== null).map(d => [d.x, d.y]);
The above content does NOT show the entire file contents. If you need to view any lines of the file which were not shown to complete your task, call this tool again to view those lines.
