/**
 * 默认广告配置 —— 本地 dev 和 CLI 构建使用。
 *
 * 平台构建时，Vite alias "#ad-config" 会通过环境变量 AD_CONFIG_PATH
 * 切换到动态生成的 _ad_config_.ts，指向用户上传的素材和主题。
 */

// ==== 默认填色素材 ====
import configRaw from "/assets/res/6a18f7d9957ac783bad75479/config.json?raw";
import pageUrl from "/assets/res/6a18f7d9957ac783bad75479/page.png?url";
import mapUrl from "/assets/res/6a18f7d9957ac783bad75479/map.png?url";
import specialUrl from "/assets/res/6a18f7d9957ac783bad75479/special.jpeg?url";

// ==== 模板自有素材 ====
import numberFontUrl from "/assets/fonts/numbers_roboto_500.png?url";
import fingerUrl from "/assets/img/finger.png?url";
import logoUrl from "/assets/img/logo.png?url";
import logoTxtUrl from "/assets/img/logo-txt.png?url";
import coloringPagesUrl from "/assets/img/coloring-pages.png?url";
import slogonUrl from "/assets/img/slogon.png?url";

export const adAssets = {
  configRaw,
  pageUrl,
  mapUrl,
  specialUrl,
  numberFontUrl,
  fingerUrl,
  logoUrl,
  logoTxtUrl,
  coloringPagesUrl,
  slogonUrl,
};

/**
 * 主题配置 —— 与 manifest.json 中 theme.properties 的 key 一一对应。
 * 默认值与当前一期硬编码一致。
 */
export const adTheme = {
  bgGradient: "linear-gradient(160deg, #fff9f2 0%, #ffeedd 100%)",
  ctaGradient: "linear-gradient(135deg, #ff5f1f 0%, #ffb300 100%)",
  ctaGlowColor: "#ff5f1f",
  ctaText: "PLAY NOW",
  frameColor: "#edce9b",
  frameLineWidth: 16,
};
