@apextelemed/partner-core 0.17.0-dev.49 → 0.17.0-dev.51

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.
Files changed (41) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/api/index.jsx +5 -3
  4. package/dist/chunk/{IXT445LX.jsx → 3SPMZ7FK.jsx} +2 -2
  5. package/dist/chunk/{XEWZ4OIT.jsx → 545PPOE5.jsx} +2 -2
  6. package/dist/chunk/{EBREONQA.js → ANKLNWGB.js} +6 -6
  7. package/dist/chunk/{EBREONQA.js.map → ANKLNWGB.js.map} +1 -1
  8. package/dist/chunk/{ATSYHZSR.js → AXXQJC6M.js} +3 -3
  9. package/dist/chunk/{ATSYHZSR.js.map → AXXQJC6M.js.map} +1 -1
  10. package/dist/chunk/{4YJF3J74.jsx → HM5L6J62.jsx} +2 -2
  11. package/dist/chunk/{U426ASG4.js → ICGZXU3R.js} +26 -4
  12. package/dist/chunk/ICGZXU3R.js.map +1 -0
  13. package/dist/chunk/{XER7JXKW.js → L4DFQMYM.js} +2211 -1487
  14. package/dist/chunk/L4DFQMYM.js.map +1 -0
  15. package/dist/chunk/{3VSVNZH3.js → LFSDVMIY.js} +414 -6
  16. package/dist/chunk/LFSDVMIY.js.map +1 -0
  17. package/dist/chunk/{MBHIL2QL.jsx → OZZGMI6C.jsx} +2052 -1632
  18. package/dist/chunk/{FFZOIYPO.jsx → P4NWFY4T.jsx} +5 -5
  19. package/dist/chunk/{MH43RC7G.jsx → PHSZOZVK.jsx} +25 -2
  20. package/dist/chunk/{B5722F4T.js → TFA64PLK.js} +3 -3
  21. package/dist/chunk/{B5722F4T.js.map → TFA64PLK.js.map} +1 -1
  22. package/dist/chunk/{HHCDX47F.jsx → VE5ACNFB.jsx} +429 -5
  23. package/dist/chunk/{GYEK4TSP.js → Z6PDUPOU.js} +3 -3
  24. package/dist/chunk/{GYEK4TSP.js.map → Z6PDUPOU.js.map} +1 -1
  25. package/dist/{client-DoCsuJj3.d.ts → client-Baf1FSEp.d.ts} +128 -2
  26. package/dist/flows/index.d.ts +204 -2
  27. package/dist/flows/index.js +6 -6
  28. package/dist/flows/index.jsx +30 -8
  29. package/dist/index/index.d.ts +2 -2
  30. package/dist/index/index.js +7 -7
  31. package/dist/index/index.jsx +33 -9
  32. package/dist/pages/index.d.ts +1 -1
  33. package/dist/pages/index.js +5 -5
  34. package/dist/pages/index.jsx +5 -5
  35. package/dist/stores/index.d.ts +1 -1
  36. package/dist/stores/index.js +2 -2
  37. package/dist/stores/index.jsx +2 -2
  38. package/package.json +1 -1
  39. package/dist/chunk/3VSVNZH3.js.map +0 -1
  40. package/dist/chunk/U426ASG4.js.map +0 -1
  41. package/dist/chunk/XER7JXKW.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { fetchFunnelConfig, postFunnelEvent, readResumeToken, fetchResumedDraft, stripResumeToken, adoptFunnelSessionId, saveFunnelDraft } from './GYEK4TSP.js';
2
- import { cart_default, medication_default, auth_default, affiliateAuth_default } from './ATSYHZSR.js';
3
- import { newIdempotencyKey, apexApi, usersApi, addressesApi, catalogApi, paymentsApi, subscriptionsApi, membersApi, supportApi, productsApi, affiliatePortalApi, adminApi, adminCatalogApi, ApiError, ordersApi, adminCatalogConversionApi, messagesApi, authApi } from './U426ASG4.js';
1
+ import { fetchFunnelConfig, postFunnelEvent, readResumeToken, fetchResumedDraft, stripResumeToken, adoptFunnelSessionId, saveFunnelDraft } from './Z6PDUPOU.js';
2
+ import { cart_default, medication_default, auth_default, affiliateAuth_default } from './AXXQJC6M.js';
3
+ import { newIdempotencyKey, apexApi, usersApi, addressesApi, catalogApi, paymentsApi, subscriptionsApi, membersApi, supportApi, productsApi, affiliatePortalApi, adminApi, adminCatalogApi, adminProductPharmaciesApi, ApiError, ordersApi, adminCatalogConversionApi, messagesApi, authApi } from './ICGZXU3R.js';
4
4
  import { getConfig } from './2IFPDU4D.js';
5
5
  import { createSignal, onMount, createEffect, on, onCleanup, createResource, createMemo } from 'solid-js';
6
6
  import { useSurveyV2Flow as useSurveyV2Flow$1 } from '@apextelemed/survey-solid';
@@ -5867,7 +5867,415 @@ function useCatalogConversion(opts) {
5867
5867
  lastCommit
5868
5868
  };
5869
5869
  }
5870
+ var REPLAN_DEBOUNCE_MS = 300;
5871
+ var matchKey = (source) => JSON.stringify([source.dosage, source.apexSkuId]);
5872
+ function matchAnswersBody(questions, answers) {
5873
+ return questions.flatMap((q) => {
5874
+ const key = matchKey(q.source);
5875
+ return Object.prototype.hasOwnProperty.call(answers, key) ? [{ source: { dosage: q.source.dosage, apexSkuId: q.source.apexSkuId }, doseId: answers[key] }] : [];
5876
+ });
5877
+ }
5878
+ function visibleWarnings(plan) {
5879
+ return plan.warnings.filter((w) => w.audience === "admin");
5880
+ }
5881
+ function parseMoney(raw) {
5882
+ const t = (raw ?? "").trim();
5883
+ if (!/^\d+(\.\d{1,2})?$/.test(t)) return null;
5884
+ const n = Number(t);
5885
+ return Number.isFinite(n) && n > 0 ? n : null;
5886
+ }
5887
+ function missingPrices(plan, prices) {
5888
+ return plan.pricesRequired.filter((r) => parseMoney(prices[r.doseId]) === null).map((r) => r.doseId);
5889
+ }
5890
+ function strengthsChanged(plan) {
5891
+ const before = new Map(plan.strengthsBefore.map((s) => [s.dosage, s.price]));
5892
+ if (before.size !== plan.strengthsAfter.length) return true;
5893
+ return plan.strengthsAfter.some((s) => !before.has(s.dosage) || before.get(s.dosage) !== s.price);
5894
+ }
5895
+ function needsReview(plan) {
5896
+ return plan.blockers.length > 0 || visibleWarnings(plan).length > 0 || plan.pricesRequired.length > 0 || (plan.matchQuestions?.length ?? 0) > 0 || strengthsChanged(plan);
5897
+ }
5898
+ function compareStrengths(plan) {
5899
+ const after = new Map(plan.strengthsAfter.map((s) => [s.dosage, s]));
5900
+ const rows = plan.strengthsBefore.map((b) => {
5901
+ const a = after.get(b.dosage);
5902
+ return { dosage: b.dosage, before: b.price, after: a && !a.needsPrice ? a.price : null, isNew: false };
5903
+ });
5904
+ const seen = new Set(plan.strengthsBefore.map((b) => b.dosage));
5905
+ for (const a of plan.strengthsAfter) {
5906
+ if (!seen.has(a.dosage)) rows.push({ dosage: a.dosage, before: void 0, after: a.needsPrice ? null : a.price, isNew: true });
5907
+ }
5908
+ return rows;
5909
+ }
5910
+ function pharmacyLabel(plan) {
5911
+ return plan.pharmacy.pharmacyName ?? plan.pharmacy.drugName;
5912
+ }
5913
+ function buildSaveBody(plan, prices, savingsPrices = {}, matchAnswers = {}) {
5914
+ const entries = plan.pricesRequired.flatMap((r) => {
5915
+ const price = parseMoney(prices[r.doseId]);
5916
+ if (price === null) return [];
5917
+ const savings = parseMoney(savingsPrices[r.doseId]);
5918
+ return [{ doseId: r.doseId, price, ...savings !== null ? { savingsPrice: savings } : {} }];
5919
+ });
5920
+ const doseMatches = matchAnswersBody(plan.matchQuestions ?? [], matchAnswers);
5921
+ return {
5922
+ drugId: plan.pharmacy.drugId,
5923
+ ...plan.planHash ? { planHash: plan.planHash } : {},
5924
+ ...entries.length > 0 ? { prices: entries } : {},
5925
+ ...doseMatches.length > 0 ? { doseMatches } : {}
5926
+ };
5927
+ }
5928
+ function pharmacyIsOnProduct(product, plan) {
5929
+ const list = product?.pharmacies;
5930
+ if (!Array.isArray(list)) return false;
5931
+ return list.some((p) => p.drugId === plan.pharmacy.drugId);
5932
+ }
5933
+ var FINAL_REFUSALS = [
5934
+ "pharmacy_already_on_product",
5935
+ "classification_mismatch",
5936
+ "single_dose_binding_unmatched"
5937
+ ];
5938
+ var REFUSAL_COPY = {
5939
+ pharmacy_already_on_product: "This product already has that pharmacy. Choose a different one.",
5940
+ conversion_in_progress: "A change to this product is already running. Wait a few minutes, then check the product again."
5941
+ };
5942
+ var messageOf3 = (err, fallback) => err instanceof Error && err.message ? err.message : fallback;
5943
+ function missingFromDetails(details) {
5944
+ if (!Array.isArray(details)) return [];
5945
+ return details.flatMap((d) => {
5946
+ const id = d?.doseId;
5947
+ return typeof id === "string" ? [id] : [];
5948
+ });
5949
+ }
5950
+ function classifyAddPharmacyError(err) {
5951
+ const e = err ?? {};
5952
+ const status = typeof e.status === "number" ? e.status : void 0;
5953
+ const code = typeof e.code === "string" ? e.code : void 0;
5954
+ const message = messageOf3(err, "Something went wrong talking to the server.");
5955
+ if (status === 409 && (code === "plan_changed" || code === "plan_first")) return { kind: "replan", message, code };
5956
+ if (code === "prices_required") return { kind: "prices_required", message, missing: missingFromDetails(e.details) };
5957
+ if (e.ambiguous === true || status === void 0 || status >= 500) {
5958
+ return { kind: "ambiguous", message, serverFinished: code !== void 0, ...code ? { code } : {} };
5959
+ }
5960
+ return {
5961
+ kind: "refused",
5962
+ message: code && REFUSAL_COPY[code] || message,
5963
+ status,
5964
+ ...code ? { code } : {},
5965
+ retryable: !(code && FINAL_REFUSALS.includes(code))
5966
+ };
5967
+ }
5968
+ function useAddPharmacy(opts) {
5969
+ const [state, setState] = createSignal({ kind: "idle" });
5970
+ const [notice, setNotice] = createSignal(null);
5971
+ const [drugs, setDrugs] = createSignal([]);
5972
+ const [drugsStatus, setDrugsStatus] = createSignal("idle");
5973
+ const [selected, setSelected] = createSignal("");
5974
+ const [prices, setPrices] = createSignal({});
5975
+ const [savingsPrices, setSavingsPrices] = createSignal({});
5976
+ const [flagged, setFlagged] = createSignal(/* @__PURE__ */ new Set());
5977
+ const [matchAnswers, setMatchAnswers] = createSignal({});
5978
+ const [replanning, setReplanning] = createSignal(false);
5979
+ const [replanStale, setReplanStale] = createSignal(false);
5980
+ let generation = 0;
5981
+ let replanTimer;
5982
+ let replanSeq = 0;
5983
+ const dropReplan = () => {
5984
+ clearTimeout(replanTimer);
5985
+ replanTimer = void 0;
5986
+ replanSeq++;
5987
+ setReplanning(false);
5988
+ setReplanStale(false);
5989
+ };
5990
+ onCleanup(() => {
5991
+ generation++;
5992
+ dropReplan();
5993
+ });
5994
+ const current = () => state();
5995
+ const kindIs = (k) => current().kind === k;
5996
+ const busy = () => kindIs("planning") || kindIs("saving");
5997
+ const reviewingPlan = () => {
5998
+ const s = current();
5999
+ return s.kind === "reviewing" ? s.plan : null;
6000
+ };
6001
+ const missing = () => {
6002
+ const plan2 = reviewingPlan();
6003
+ return plan2 ? missingPrices(plan2, prices()) : [];
6004
+ };
6005
+ const savingsInvalid = () => {
6006
+ const plan2 = reviewingPlan();
6007
+ if (!plan2) return [];
6008
+ const typed = savingsPrices();
6009
+ return plan2.pricesRequired.filter((r) => (typed[r.doseId] ?? "").trim() !== "" && parseMoney(typed[r.doseId]) === null).map((r) => r.doseId);
6010
+ };
6011
+ const canSave = () => {
6012
+ const plan2 = reviewingPlan();
6013
+ return !!plan2 && !replanning() && !replanStale() && plan2.ready && plan2.blockers.length === 0 && missing().length === 0 && savingsInvalid().length === 0;
6014
+ };
6015
+ const loadDrugs = async (gen) => {
6016
+ setDrugsStatus("loading");
6017
+ try {
6018
+ const res = await adminCatalogApi.listDrugs();
6019
+ if (gen !== generation) return;
6020
+ setDrugs(res?.drugs ?? []);
6021
+ setDrugsStatus("ready");
6022
+ } catch {
6023
+ if (gen !== generation) return;
6024
+ setDrugsStatus("failed");
6025
+ }
6026
+ };
6027
+ const open = (drugId) => {
6028
+ if (busy()) return;
6029
+ const gen = ++generation;
6030
+ dropReplan();
6031
+ setMatchAnswers({});
6032
+ setNotice(null);
6033
+ setSelected(drugId ?? "");
6034
+ setState({ kind: "picking" });
6035
+ void loadDrugs(gen);
6036
+ };
6037
+ const cancel = () => {
6038
+ if (kindIs("saving")) return;
6039
+ generation++;
6040
+ dropReplan();
6041
+ setNotice(null);
6042
+ setState({ kind: "idle" });
6043
+ };
6044
+ const backToPicking = () => {
6045
+ if (busy()) return;
6046
+ const gen = ++generation;
6047
+ dropReplan();
6048
+ setMatchAnswers({});
6049
+ setNotice(null);
6050
+ setState({ kind: "picking" });
6051
+ if (drugsStatus() !== "ready") void loadDrugs(gen);
6052
+ };
6053
+ const adoptPlan = (plan2, next) => {
6054
+ const prevPrices = prices();
6055
+ const prevSavings = savingsPrices();
6056
+ const nextPrices = {};
6057
+ const nextSavings = {};
6058
+ for (const r of plan2.pricesRequired) {
6059
+ nextPrices[r.doseId] = prevPrices[r.doseId] ?? (r.suggestedPrice != null ? String(r.suggestedPrice) : "");
6060
+ if (prevSavings[r.doseId] !== void 0) nextSavings[r.doseId] = prevSavings[r.doseId];
6061
+ }
6062
+ setPrices(nextPrices);
6063
+ setSavingsPrices(nextSavings);
6064
+ const questions = new Set((plan2.matchQuestions ?? []).map((q) => matchKey(q.source)));
6065
+ setMatchAnswers((prev) => Object.fromEntries(Object.entries(prev).filter(([k]) => questions.has(k))));
6066
+ setFlagged(/* @__PURE__ */ new Set());
6067
+ setNotice(next);
6068
+ setState({ kind: "reviewing", plan: plan2 });
6069
+ };
6070
+ const fail = (drugId, plan2, message, flags = {}) => {
6071
+ setNotice(null);
6072
+ setState({ kind: "failed", message, drugId, plan: plan2, unconfirmed: flags.unconfirmed ?? false, canRetry: flags.canRetry ?? true });
6073
+ };
6074
+ const runPlan = async (drugId, next = null, prior) => {
6075
+ const gen = ++generation;
6076
+ dropReplan();
6077
+ const doseMatches = prior ? matchAnswersBody(prior.matchQuestions ?? [], matchAnswers()) : [];
6078
+ if (!prior) setMatchAnswers({});
6079
+ setNotice(null);
6080
+ setState({ kind: "planning", drugId });
6081
+ try {
6082
+ const plan2 = await (doseMatches.length > 0 ? adminProductPharmaciesApi.plan(opts.productId(), drugId, doseMatches) : adminProductPharmaciesApi.plan(opts.productId(), drugId));
6083
+ if (gen !== generation) return;
6084
+ adoptPlan(plan2, next);
6085
+ } catch (err) {
6086
+ if (gen !== generation) return;
6087
+ const f = classifyAddPharmacyError(err);
6088
+ fail(drugId, null, f.message, { canRetry: f.kind !== "refused" || f.retryable });
6089
+ }
6090
+ };
6091
+ const plan = async () => {
6092
+ const drugId = selected();
6093
+ if (!kindIs("picking") || !drugId) return;
6094
+ await runPlan(drugId);
6095
+ };
6096
+ const replan = async (gen) => {
6097
+ const p = reviewingPlan();
6098
+ if (!p || gen !== generation) return;
6099
+ const seq = ++replanSeq;
6100
+ const doseMatches = matchAnswersBody(p.matchQuestions ?? [], matchAnswers());
6101
+ try {
6102
+ const fresh = await adminProductPharmaciesApi.plan(opts.productId(), p.pharmacy.drugId, doseMatches);
6103
+ if (gen !== generation || seq !== replanSeq) return;
6104
+ setReplanning(false);
6105
+ setReplanStale(false);
6106
+ adoptPlan(fresh, null);
6107
+ } catch (err) {
6108
+ if (gen !== generation || seq !== replanSeq) return;
6109
+ setReplanning(false);
6110
+ setReplanStale(true);
6111
+ setNotice({
6112
+ tone: "danger",
6113
+ code: "replan_failed",
6114
+ message: `We couldn\u2019t update the prices for that choice: ${classifyAddPharmacyError(err).message} Choose again to retry.`
6115
+ });
6116
+ }
6117
+ };
6118
+ const setMatchAnswer = (source, doseId) => {
6119
+ if (!reviewingPlan()) return;
6120
+ setMatchAnswers((prev) => ({ ...prev, [matchKey(source)]: doseId }));
6121
+ const gen = generation;
6122
+ clearTimeout(replanTimer);
6123
+ replanSeq++;
6124
+ setReplanning(true);
6125
+ replanTimer = setTimeout(() => {
6126
+ replanTimer = void 0;
6127
+ void replan(gen);
6128
+ }, REPLAN_DEBOUNCE_MS);
6129
+ };
6130
+ const confirmOnProduct = async (p) => {
6131
+ const res = await adminApi.getProduct(opts.productId());
6132
+ return pharmacyIsOnProduct(res?.product, p);
6133
+ };
6134
+ const finish = (p, origin, status) => {
6135
+ const added = {
6136
+ productId: opts.productId(),
6137
+ pharmacyName: pharmacyLabel(p),
6138
+ origin,
6139
+ status: status ?? (p.kind === "convert" ? "converted" : "added")
6140
+ };
6141
+ setNotice(null);
6142
+ setState({ kind: "done", added });
6143
+ opts.onAdded?.(added);
6144
+ };
6145
+ const save = async () => {
6146
+ const p = reviewingPlan();
6147
+ if (!p || !canSave()) return;
6148
+ const gen = ++generation;
6149
+ const body = buildSaveBody(p, prices(), savingsPrices(), matchAnswers());
6150
+ setNotice(null);
6151
+ setState({ kind: "saving", plan: p });
6152
+ try {
6153
+ const res = await adminProductPharmaciesApi.add(opts.productId(), body);
6154
+ if (gen !== generation) return;
6155
+ finish(p, "saved", res?.status);
6156
+ } catch (err) {
6157
+ if (gen !== generation) return;
6158
+ const f = classifyAddPharmacyError(err);
6159
+ const drugId = p.pharmacy.drugId;
6160
+ if (f.kind === "replan") {
6161
+ await runPlan(
6162
+ drugId,
6163
+ {
6164
+ tone: "warn",
6165
+ code: f.code,
6166
+ message: "Something changed while you were reviewing, so we updated this. Check it over, then save again."
6167
+ },
6168
+ p
6169
+ );
6170
+ return;
6171
+ }
6172
+ if (f.kind === "prices_required") {
6173
+ const owed = new Set(p.pricesRequired.map((r) => r.doseId));
6174
+ if (f.missing.some((id) => !owed.has(id))) {
6175
+ await runPlan(drugId, { tone: "warn", code: "prices_required", message: "More prices are needed than we first showed. Enter them below." }, p);
6176
+ return;
6177
+ }
6178
+ setFlagged(new Set(f.missing));
6179
+ setNotice({ tone: "danger", code: "prices_required", message: "Enter a price for every strength marked below." });
6180
+ setState({ kind: "reviewing", plan: p });
6181
+ return;
6182
+ }
6183
+ if (f.kind === "refused") {
6184
+ fail(drugId, p, f.message, { canRetry: f.retryable });
6185
+ return;
6186
+ }
6187
+ try {
6188
+ if (await confirmOnProduct(p)) {
6189
+ if (gen === generation) finish(p, "recovered");
6190
+ return;
6191
+ }
6192
+ } catch {
6193
+ if (gen !== generation) return;
6194
+ fail(
6195
+ drugId,
6196
+ p,
6197
+ "We couldn\u2019t confirm whether the pharmacy was added. Check again in a moment before changing anything else.",
6198
+ { unconfirmed: true }
6199
+ );
6200
+ return;
6201
+ }
6202
+ if (gen !== generation) return;
6203
+ if (f.serverFinished) {
6204
+ fail(drugId, p, f.message);
6205
+ } else {
6206
+ fail(
6207
+ drugId,
6208
+ p,
6209
+ "We lost the connection while saving, and the pharmacy isn\u2019t on this product yet. It may still be finishing: check again in a moment, or start over.",
6210
+ { unconfirmed: true }
6211
+ );
6212
+ }
6213
+ }
6214
+ };
6215
+ const retry = async () => {
6216
+ const s = current();
6217
+ if (s.kind !== "failed") return;
6218
+ if (s.unconfirmed && s.plan) {
6219
+ const p = s.plan;
6220
+ const gen = ++generation;
6221
+ try {
6222
+ if (await confirmOnProduct(p)) {
6223
+ if (gen === generation) finish(p, "recovered");
6224
+ return;
6225
+ }
6226
+ if (gen !== generation) return;
6227
+ fail(s.drugId, p, "Not there yet. If you just saved, give it a moment and check again; otherwise start over.", { unconfirmed: true });
6228
+ } catch {
6229
+ if (gen !== generation) return;
6230
+ fail(s.drugId, p, "We still couldn\u2019t confirm it. Check again in a moment.", { unconfirmed: true });
6231
+ }
6232
+ return;
6233
+ }
6234
+ await runPlan(s.drugId);
6235
+ };
6236
+ const startOver = async () => {
6237
+ const s = current();
6238
+ if (s.kind !== "failed") return;
6239
+ await runPlan(s.drugId);
6240
+ };
6241
+ return {
6242
+ state,
6243
+ busy,
6244
+ notice,
6245
+ dismissNotice: () => setNotice(null),
6246
+ drugs,
6247
+ drugsStatus,
6248
+ selected,
6249
+ select: setSelected,
6250
+ open,
6251
+ cancel,
6252
+ backToPicking,
6253
+ plan,
6254
+ prices,
6255
+ savingsPrices,
6256
+ setPrice: (doseId, value) => {
6257
+ setPrices((prev) => ({ ...prev, [doseId]: value }));
6258
+ setFlagged((prev) => {
6259
+ if (!prev.has(doseId)) return prev;
6260
+ const next = new Set(prev);
6261
+ next.delete(doseId);
6262
+ return next;
6263
+ });
6264
+ },
6265
+ setSavingsPrice: (doseId, value) => setSavingsPrices((prev) => ({ ...prev, [doseId]: value })),
6266
+ missing,
6267
+ flagged,
6268
+ savingsInvalid,
6269
+ canSave,
6270
+ matchAnswers,
6271
+ setMatchAnswer,
6272
+ replanning,
6273
+ save,
6274
+ retry,
6275
+ startOver
6276
+ };
6277
+ }
5870
6278
 
5871
- export { ACCOUNT_SOURCE_LABEL, DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, READINESS_LABEL, SOURCE_FIELD_NOTE, SUPPORT_CATEGORIES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, categoryLabel, classifyCatalogError, classifyConversionError, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, firstAddressError, flaggedSubscribers, fmtDay, formatCalendarDate, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, hasStateRestrictions, initialMatches, intakeEvidence, invalidDraftKeys, isCatalogItemId, isCssColorValue, isImageAttachment, isLive, isQuestionVisible, isReconcilable, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, moveInOrder, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, orphanKey, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, resolveSurveyV2DrugIntent, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, subscribeToSupportTopic, toChoices, toTrackerRequest, uploadPrescriptionPhoto, upsertDosePrice, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCardTokenizer, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress };
5872
- //# sourceMappingURL=3VSVNZH3.js.map
5873
- //# sourceMappingURL=3VSVNZH3.js.map
6279
+ export { ACCOUNT_SOURCE_LABEL, DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, READINESS_LABEL, SOURCE_FIELD_NOTE, SUPPORT_CATEGORIES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, categoryLabel, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, firstAddressError, flaggedSubscribers, fmtDay, formatCalendarDate, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, hasStateRestrictions, initialMatches, intakeEvidence, invalidDraftKeys, isCatalogItemId, isCssColorValue, isImageAttachment, isLive, isQuestionVisible, isReconcilable, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchKey, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, orphanKey, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, resolveSurveyV2DrugIntent, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, subscribeToSupportTopic, toChoices, toTrackerRequest, uploadPrescriptionPhoto, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCardTokenizer, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings };
6280
+ //# sourceMappingURL=LFSDVMIY.js.map
6281
+ //# sourceMappingURL=LFSDVMIY.js.map