1// Plan reads over REST — the twin of app/wix/pricing-plans/plans.ts. Same exports, same DTOs; the2// rules and mappers come from plans-core (the SAME file the SDK transport uses, deployed flat next3// to this one by deploy.mjs --stack static), so this file is only the transport: one fetch with a4// literal body per function. Every call here is safe from a browser with a visitor token.5// A plan without a numeric price is malformed and never returned (plans-core `planAmount`).6// Porting: keep the path, keep the body, port the core once.7// docs: https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/plans-v3/query-plans.md8import { wixRequest } from "../../shared/rest/client.js";9import { imgSrc } from "../../shared/rest/media.js";10import { plansQuery, toDetail, toSummaries,