Lines 1-37javascript
2import{a as Ht,b as nn,c as oo,d as Rt,e as _e,f as ke,g as so,h as ao,i as jt,j as lo,l as rn}from"./chunk-6LOQKG2J.js";import{a as m,b as no,c as Ce,d as io,e as ro,f as Bt,g as nt,h as T}from"./chunk-S64YFTRR.js";import{Command as og,Option as Ke}from"commander";import{configDotenv as sg}from"dotenv";import{intro as we,outro as jl}from"@clack/prompts";import be from"chalk";import{text as co,confirm as zl,spinner as Wl,isCancel as Ti,cancel as on,note as Jl,outro as Yl}from"@clack/prompts";import sn from"chalk";async function uo(){try{let e=await co({message:"Enter Bucket Name:",placeholder: ...
3`;s+=`Region: ${sn.cyan(o.region)}
4`,s+=`S3 Website URL: ${sn.blue(o.s3WebsiteUrl)}`,o.cloudFrontId&&(s+=`
6CloudFront ID: ${sn.cyan(o.cloudFrontId)}`,s+=`
7CloudFront URL: ${sn.blue(o.cloudFrontUrl)}`),Jl(s,"Setup Complete!"),Yl("You are all set!")}catch(r){i.stop("Setup failed"),on(`Error: ${r.response?.data?.message||r.message}`)}}catch(e){on(`An unexpected error occurred: ${e.message}`)}}import{readdir as ql,writeFile as Xl,access as Zl,mkdir as Ql}from"fs/promises";import{join as po}from"path";import{spinner as ec,text as fo,isCancel as mo,cancel as xi,note as tc,outro as nc}from"@clack/prompts";import ic from"chalk";async function rc(){let e=["./app","./src/app"];for(let t of e)try{return await Zl(t),t}catch{}return null}async function go( ...
8${s.map(u=>` \u2022 ${u.path}`).join(`
9`)}`,"Sitemap Summary"),nc(`Sitemap saved to ${ic.cyan(a)}`)}catch(t){xi(`An error occurred: ${t.message}`)}}async function ho(e,t=""){let n=[];try{let i=await ql(e,{withFileTypes:!0});for(let r of i){let o=po(e,r.name);if(!(r.name.startsWith("_")||r.name.startsWith("."
10<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
11${e.map(r=>{let o=r.path;return o=o.replace(/\/\([^)]+\)/g,""),o=o.replace(/\/\[.*?\]/g,"/:id"),o=o.replace(/\/+/g
13 <lastmod>${n}</lastmod>
14 <changefreq>weekly</changefreq>
15 <priority>0.8</priority>
18</urlset>`}import{randomUUID as zu}from"crypto";import he from"path";import zn from"axios";import Wu from"os";import{spinner as Sr,select as Rs,confirm as Ds,isCancel as Wn,cancel as Ps,log as R}from"@clack/prompts";import P from"chalk";import ue from"fs";import{execSync as Os}from"child_process";import Cs from"adm-zip";import{spinner as mc,log as Tn}from"@clack/prompts";import bo from"chalk";import Ao from"fs";import Eo from"path";var yo=`#!/bin/bash
19# --- Mach Cloud Build Script (Android) ---
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L17 20# All S3 operations use presigned URLs via curl \u2014 zero AWS credentials on instance.
21BUILD_ID="{{BUILD_ID}}"
24exec > >(tee /var/log/user-data.log | cat) 2>&1
25export PYTHONUNBUFFERED=1
26export GRADLE_OPTS="-Dorg.gradle.console=plain"
27echo "Starting build setup..."
29# Forward environment variables (includes PRESIGNED_* URLs + project secrets)
33export npm_config_engine_strict=false
34export npm_config_ignore_engines=true
CriticalSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/index.jsView on unpkg · L17 MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L1 35export YARN_IGNORE_ENGINES=1
37# Check if this is a Pre-Warmed Mach AMI
Long lines were clipped for display.