@spiffcommerce/core 26.27.0-beta.176e93f6-6744-565a-908b-e1616c48500c → 26.27.0-beta.1b0de14d-97c0-5cf1-adeb-fe67dfe6dd60

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.
package/dist/index.mjs CHANGED
@@ -158,10 +158,10 @@ class Sr {
158
158
  }
159
159
  const wt = new Sr();
160
160
  let _e, Xe;
161
- function nc(r) {
161
+ function ac(r) {
162
162
  _e = r;
163
163
  }
164
- function rc(r) {
164
+ function nc(r) {
165
165
  Xe = r;
166
166
  }
167
167
  function Jt() {
@@ -256,7 +256,7 @@ const ln = /* @__PURE__ */ new Map(), Fa = /* @__PURE__ */ new Map(), xa = /* @_
256
256
  }
257
257
  const e = t();
258
258
  return e || "image/svg+xml";
259
- }, ic = async (r) => {
259
+ }, rc = async (r) => {
260
260
  const t = await cn(r), e = ln.get(r) || Ie(t);
261
261
  return await Pr(new Blob([t], { type: e }));
262
262
  }, Ir = (r) => {
@@ -3145,7 +3145,7 @@ const Nr = (r) => new Promise((t) => {
3145
3145
  parseInt(r.substring(2, 4), 16),
3146
3146
  parseInt(r.substring(4, 6), 16)
3147
3147
  ]);
3148
- function sc(r) {
3148
+ function ic(r) {
3149
3149
  const t = jt.indexOf(r);
3150
3150
  return t >= 0 ? Ft[t] : "";
3151
3151
  }
@@ -3153,7 +3153,7 @@ function $r(r) {
3153
3153
  const t = Ft.indexOf(r);
3154
3154
  return t >= 0 ? jt[t] : "";
3155
3155
  }
3156
- function oc(r, t = 64) {
3156
+ function sc(r, t = 64) {
3157
3157
  const e = [], a = [], n = $r(r);
3158
3158
  n && e.push({
3159
3159
  pms: n,
@@ -3172,7 +3172,7 @@ function oc(r, t = 64) {
3172
3172
  return e.sort((A, u) => A.distance - u.distance);
3173
3173
  }
3174
3174
  const Lr = jt.map((r, t) => ({ pms: r, hex: Ft[t] })), Vr = new dr(Lr, { keys: ["pms"] });
3175
- function lc(r, t) {
3175
+ function oc(r, t) {
3176
3176
  return Vr.search(r, t ? { limit: t } : void 0);
3177
3177
  }
3178
3178
  let Qt = null;
@@ -5374,7 +5374,7 @@ const Q = () => {
5374
5374
  ]
5375
5375
  }
5376
5376
  );
5377
- }, cc = (r, t, e, a, n) => {
5377
+ }, lc = (r, t, e, a, n) => {
5378
5378
  const i = gt(n), s = e / 2, o = a / 2, l = r + s, c = t + o, d = Math.sin(i), A = Math.cos(i), u = s, h = s, m = -o, g = o, f = u * A - m * d, p = h * A - g * d, C = u * d + m * A, w = h * d + g * A, v = Math.max(Math.abs(f), Math.abs(p)), S = Math.max(Math.abs(C), Math.abs(w));
5379
5379
  return {
5380
5380
  minX: l - v,
@@ -5382,25 +5382,25 @@ const Q = () => {
5382
5382
  minY: c - S,
5383
5383
  maxY: c + S
5384
5384
  };
5385
- }, dc = (r, t, e) => {
5385
+ }, cc = (r, t, e) => {
5386
5386
  const a = Math.sqrt(Math.pow(t.x - r.x, 2) + Math.pow(t.y - r.y, 2)), n = Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)), i = Math.sqrt(Math.pow(e.x - r.x, 2) + Math.pow(e.y - r.y, 2));
5387
5387
  return Math.acos((n * n + a * a - i * i) / (2 * n * a)) * (180 / Math.PI);
5388
- }, gt = (r) => r * (Math.PI / 180), Ac = (r, t, e) => Math.abs(r - t) < e, uc = (r, t, e) => {
5388
+ }, gt = (r) => r * (Math.PI / 180), dc = (r, t, e) => Math.abs(r - t) < e, Ac = (r, t, e) => {
5389
5389
  const a = Math.sin(gt(e)), n = Math.cos(gt(e));
5390
5390
  return {
5391
5391
  x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
5392
5392
  y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
5393
5393
  };
5394
- }, hc = (r, t) => ({
5394
+ }, uc = (r, t) => ({
5395
5395
  x: (r.x + t.x) / 2,
5396
5396
  y: (r.y + t.y) / 2
5397
- }), mc = (r, t, e, a) => ({
5397
+ }), hc = (r, t, e, a) => ({
5398
5398
  x: r.x + (t == null ? void 0 : t.x) * e,
5399
5399
  y: r.y + (t == null ? void 0 : t.y) * a
5400
- }), gc = (r, t, e, a) => ({
5400
+ }), mc = (r, t, e, a) => ({
5401
5401
  x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
5402
5402
  y: r.y + (t == null ? void 0 : t.y) * a
5403
- }), fc = (r, t, e, a) => ({
5403
+ }), gc = (r, t, e, a) => ({
5404
5404
  x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
5405
5405
  y: r.y + ((t == null ? void 0 : t.y) + (t == null ? void 0 : t.height)) * a
5406
5406
  }), bt = (r) => {
@@ -5422,7 +5422,7 @@ const Q = () => {
5422
5422
  case H.Southwest:
5423
5423
  return H.Northwest;
5424
5424
  }
5425
- }, pc = (r, t) => t > 45 && t <= 135 ? bt(r) : t > 135 && t <= 225 ? bt(bt(r)) : t > 225 && t <= 315 ? bt(bt(bt(r))) : r, Cc = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5425
+ }, fc = (r, t) => t > 45 && t <= 135 ? bt(r) : t > 135 && t <= 225 ? bt(bt(r)) : t > 225 && t <= 315 ? bt(bt(bt(r))) : r, pc = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5426
5426
  const a = gt(r.rotation), n = {
5427
5427
  x: t.x + r.x * e.x,
5428
5428
  y: t.x + r.y * e.y
@@ -5452,7 +5452,7 @@ const Q = () => {
5452
5452
  x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
5453
5453
  y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
5454
5454
  };
5455
- }, wc = 0.352778, yc = 0.035277, Fn = (r) => {
5455
+ }, Cc = 0.352778, wc = 0.035277, Fn = (r) => {
5456
5456
  const t = r.rotation || 0, e = gt(t), a = Math.cos(e), n = -Math.sin(e);
5457
5457
  return /* @__PURE__ */ x("g", { mask: r.stepName || r.productOverlay ? void 0 : r.mask, children: /* @__PURE__ */ x(
5458
5458
  "g",
@@ -5677,7 +5677,7 @@ const Ui = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Oe = /* @_
5677
5677
  }, aa = (r, t) => {
5678
5678
  const e = new Oi(t);
5679
5679
  return kn.set(r, e), e;
5680
- }, Sc = async (r) => {
5680
+ }, yc = async (r) => {
5681
5681
  const t = dt(), e = t.parseFromString(r, "image/svg+xml"), a = e.firstElementChild, n = /* @__PURE__ */ new Map();
5682
5682
  a.querySelectorAll("style").forEach((d) => {
5683
5683
  var u;
@@ -6329,7 +6329,7 @@ const Zt = (r) => {
6329
6329
  }
6330
6330
  return o;
6331
6331
  };
6332
- class vc {
6332
+ class Sc {
6333
6333
  static async getFrame(t, e) {
6334
6334
  const a = await Nn(e.region, e.src), n = await xe(a), i = e.region || await Ut(t, T.Frame);
6335
6335
  return {
@@ -6575,7 +6575,7 @@ class La extends R {
6575
6575
  };
6576
6576
  }
6577
6577
  }
6578
- class Ec extends R {
6578
+ class vc extends R {
6579
6579
  constructor(t, e, a) {
6580
6580
  super(), this.id = t, this.x = e, this.y = a;
6581
6581
  }
@@ -6598,7 +6598,7 @@ class Ec extends R {
6598
6598
  };
6599
6599
  }
6600
6600
  }
6601
- class Bc extends R {
6601
+ class Ec extends R {
6602
6602
  constructor(t, e) {
6603
6603
  super(), this.id = t, this.angle = e;
6604
6604
  }
@@ -6620,7 +6620,7 @@ class Bc extends R {
6620
6620
  };
6621
6621
  }
6622
6622
  }
6623
- class bc extends R {
6623
+ class Bc extends R {
6624
6624
  constructor(t, e, a) {
6625
6625
  super(), this.id = t, this.width = Math.abs(e), this.height = Math.abs(a);
6626
6626
  }
@@ -6932,7 +6932,7 @@ class as extends R {
6932
6932
  };
6933
6933
  }
6934
6934
  }
6935
- class Ic extends R {
6935
+ class bc extends R {
6936
6936
  constructor(t, e) {
6937
6937
  super(), this.id = t, this.src = e;
6938
6938
  }
@@ -7051,7 +7051,7 @@ class rs extends R {
7051
7051
  };
7052
7052
  }
7053
7053
  }
7054
- class Dc extends R {
7054
+ class Ic extends R {
7055
7055
  /**
7056
7056
  * @param id The targeted element to bring to the front.
7057
7057
  */
@@ -7080,7 +7080,7 @@ class Dc extends R {
7080
7080
  };
7081
7081
  }
7082
7082
  }
7083
- class Pc extends R {
7083
+ class Dc extends R {
7084
7084
  /**
7085
7085
  * @param id The targeted element to bring to the back.
7086
7086
  */
@@ -7111,7 +7111,7 @@ class Pc extends R {
7111
7111
  };
7112
7112
  }
7113
7113
  }
7114
- class Fc extends R {
7114
+ class Pc extends R {
7115
7115
  /**
7116
7116
  * @param id The targeted element to bring to the front.
7117
7117
  */
@@ -7138,7 +7138,7 @@ class Fc extends R {
7138
7138
  };
7139
7139
  }
7140
7140
  }
7141
- class xc extends R {
7141
+ class Fc extends R {
7142
7142
  /**
7143
7143
  * @param id The targeted element to bring to the front.
7144
7144
  */
@@ -9770,7 +9770,7 @@ const Fs = y`
9770
9770
  $id: String!
9771
9771
  $filters: ProductCollectionProductFilterInput
9772
9772
  $tags: ProductCollectionProductTagFilterInput
9773
- $sortKey: ProductCollectionProductSortKey
9773
+ $sortKey: ProductCollectionSortKey
9774
9774
  $sortDescending: Boolean
9775
9775
  ) {
9776
9776
  productCollections(ids: [$id]) {
@@ -9796,7 +9796,7 @@ const Fs = y`
9796
9796
  $offset: Int
9797
9797
  $filters: ProductCollectionProductFilterInput
9798
9798
  $tags: ProductCollectionProductTagFilterInput
9799
- $sortKey: ProductCollectionProductSortKey
9799
+ $sortKey: ProductCollectionSortKey
9800
9800
  $sortDescending: Boolean
9801
9801
  ) {
9802
9802
  productCollections(ids: [$id]) {
@@ -11423,7 +11423,7 @@ class ie {
11423
11423
  case D.Model:
11424
11424
  return new ro(t, e, t.getStepTags(e.stepName));
11425
11425
  case D.Frame:
11426
- return new El(t, e, t.getStepTags(e.stepName));
11426
+ return new vl(t, e, t.getStepTags(e.stepName));
11427
11427
  case D.Module:
11428
11428
  return new uo(t, e, t.getStepTags(e.stepName));
11429
11429
  default:
@@ -13040,7 +13040,7 @@ class Vo extends Dn {
13040
13040
  u.resize(l, c), await u.render(), this.onRender();
13041
13041
  }
13042
13042
  }
13043
- const kc = (r, t) => {
13043
+ const xc = (r, t) => {
13044
13044
  const e = [];
13045
13045
  return r.forEach((a) => {
13046
13046
  const n = t.steps.find((i) => i.stepName === a.stepName);
@@ -13051,7 +13051,7 @@ const kc = (r, t) => {
13051
13051
  }
13052
13052
  });
13053
13053
  }), e;
13054
- }, Mc = async (r, t, e, a) => {
13054
+ }, kc = async (r, t, e, a) => {
13055
13055
  let n = {
13056
13056
  serializableWorkflow: { steps: [] },
13057
13057
  layouts: {}
@@ -13933,8 +13933,7 @@ class Ko {
13933
13933
  }
13934
13934
  }
13935
13935
  const _o = new Ko();
13936
- var Xo = /* @__PURE__ */ ((r) => (r.Default = "Default", r.Name = "Name", r.Price = "Price", r))(Xo || {});
13937
- class Zo {
13936
+ class Xo {
13938
13937
  constructor(t) {
13939
13938
  this.fullFetched = !1, this.collection = t;
13940
13939
  const e = this.collection.productCollectionProducts;
@@ -14062,7 +14061,7 @@ class Zo {
14062
14061
  }
14063
14062
  getTransformCollection() {
14064
14063
  if (this.collection.transformCollection)
14065
- return new tl(this.collection.transformCollection);
14064
+ return new Zo(this.collection.transformCollection);
14066
14065
  }
14067
14066
  /**
14068
14067
  * The raw collection resource. This is generally not needed and should be avoided.
@@ -14231,7 +14230,7 @@ class zt {
14231
14230
  return this.workflow.imageUrl;
14232
14231
  }
14233
14232
  }
14234
- class tl {
14233
+ class Zo {
14235
14234
  constructor(t) {
14236
14235
  this.collection = t;
14237
14236
  }
@@ -14251,10 +14250,10 @@ class tl {
14251
14250
  * @returns The transforms in this collection.
14252
14251
  */
14253
14252
  getTransforms() {
14254
- return this.collection.transforms.map((t) => new el(t));
14253
+ return this.collection.transforms.map((t) => new tl(t));
14255
14254
  }
14256
14255
  }
14257
- class el {
14256
+ class tl {
14258
14257
  constructor(t) {
14259
14258
  this.transform = t;
14260
14259
  }
@@ -14281,7 +14280,7 @@ class el {
14281
14280
  };
14282
14281
  }
14283
14282
  }
14284
- class al {
14283
+ class el {
14285
14284
  constructor() {
14286
14285
  this.listeners = {};
14287
14286
  }
@@ -14308,7 +14307,7 @@ class al {
14308
14307
  delete this.listeners[e];
14309
14308
  }
14310
14309
  }
14311
- const nl = y`
14310
+ const al = y`
14312
14311
  mutation AddAddressToBundle(
14313
14312
  $bundleId: String!
14314
14313
  $streetAddress: String
@@ -14330,13 +14329,13 @@ const nl = y`
14330
14329
  id
14331
14330
  }
14332
14331
  }
14333
- `, rl = y`
14332
+ `, nl = y`
14334
14333
  mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
14335
14334
  organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
14336
14335
  id
14337
14336
  }
14338
14337
  }
14339
- `, il = y`
14338
+ `, rl = y`
14340
14339
  mutation GenerateQuoteId($id: String!) {
14341
14340
  bundleGenerateQuoteId(id: $id) {
14342
14341
  id
@@ -14347,7 +14346,7 @@ const nl = y`
14347
14346
  class He {
14348
14347
  constructor(t, e, a, n, i, s) {
14349
14348
  var c, d, A;
14350
- this.workflowExperiences = [], this.eventEmitter = new al(), this.client = t, this.id = e.id, this.name = e.name || "", this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = i, this.metadata = new Map(((c = e.metadata) == null ? void 0 : c.map((u) => [u.key, u.value])) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Yo(e.bundleStateData);
14349
+ this.workflowExperiences = [], this.eventEmitter = new el(), this.client = t, this.id = e.id, this.name = e.name || "", this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = i, this.metadata = new Map(((c = e.metadata) == null ? void 0 : c.map((u) => [u.key, u.value])) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Yo(e.bundleStateData);
14351
14350
  const o = (d = this.productCollection) == null ? void 0 : d.globalPropertyConfiguration;
14352
14351
  this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new qo(
14353
14352
  this.id,
@@ -14386,7 +14385,7 @@ class He {
14386
14385
  async generateQuoteId() {
14387
14386
  var a, n;
14388
14387
  const e = (n = (a = (await b.getShadowGraphqlClient().mutate({
14389
- mutation: il,
14388
+ mutation: rl,
14390
14389
  variables: {
14391
14390
  id: this.id
14392
14391
  },
@@ -14398,7 +14397,7 @@ class He {
14398
14397
  }
14399
14398
  async attachAddress(t, e, a, n, i, s) {
14400
14399
  await b.getShadowGraphqlClient().mutate({
14401
- mutation: nl,
14400
+ mutation: al,
14402
14401
  variables: {
14403
14402
  bundleId: this.id,
14404
14403
  streetAddress: t || void 0,
@@ -14415,7 +14414,7 @@ class He {
14415
14414
  }
14416
14415
  async attachOrganization(t) {
14417
14416
  await b.getShadowGraphqlClient().mutate({
14418
- mutation: rl,
14417
+ mutation: nl,
14419
14418
  variables: {
14420
14419
  bundleId: this.id,
14421
14420
  organizationName: t
@@ -14488,7 +14487,7 @@ class He {
14488
14487
  return this.workflowExperiences.map((t) => t.getTotalPriceSubunits()).reduce((t, e) => t + e, 0);
14489
14488
  }
14490
14489
  getProductCollection() {
14491
- return this.productCollection ? new Zo(this.productCollection) : void 0;
14490
+ return this.productCollection ? new Xo(this.productCollection) : void 0;
14492
14491
  }
14493
14492
  async initializeAdditionalRequiredColorChannels(t) {
14494
14493
  var e, a, n, i;
@@ -15007,14 +15006,14 @@ class He {
15007
15006
  };
15008
15007
  }
15009
15008
  }
15010
- const sl = y`
15009
+ const il = y`
15011
15010
  mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
15012
15011
  processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
15013
15012
  id
15014
15013
  }
15015
15014
  }
15016
15015
  `;
15017
- class ol {
15016
+ class sl {
15018
15017
  /**
15019
15018
  *
15020
15019
  * @param id
@@ -15025,7 +15024,7 @@ class ol {
15025
15024
  async execute(t, e, a) {
15026
15025
  var A, u, h;
15027
15026
  const i = (u = (A = (await b.getShadowGraphqlClient().mutate({
15028
- mutation: sl,
15027
+ mutation: il,
15029
15028
  variables: {
15030
15029
  processFlowId: t,
15031
15030
  inputs: [...e.map((m) => m.getValueForTransmission())]
@@ -15067,7 +15066,7 @@ class ol {
15067
15066
  "Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
15068
15067
  );
15069
15068
  if (m.completedAt) {
15070
- o = !0, d = new ll(m);
15069
+ o = !0, d = new ol(m);
15071
15070
  break;
15072
15071
  }
15073
15072
  l += 1;
@@ -15081,7 +15080,7 @@ class ol {
15081
15080
  return Promise.resolve(d);
15082
15081
  }
15083
15082
  }
15084
- class ll {
15083
+ class ol {
15085
15084
  constructor(t) {
15086
15085
  this.execution = t;
15087
15086
  }
@@ -15166,8 +15165,8 @@ class ba {
15166
15165
  return t.startsWith("[") ? JSON.stringify(JSON.parse(t)) : t;
15167
15166
  }
15168
15167
  }
15169
- var cl = /* @__PURE__ */ ((r) => (r.Transaction = "Transaction", r.Bundle = "Bundle", r.Product = "Product", r.Variant = "Variant", r.Option = "Option", r.LineItem = "LineItem", r.Asset = "Asset", r))(cl || {});
15170
- class Tc extends ba {
15168
+ var ll = /* @__PURE__ */ ((r) => (r.Transaction = "Transaction", r.Bundle = "Bundle", r.Product = "Product", r.Variant = "Variant", r.Option = "Option", r.LineItem = "LineItem", r.Asset = "Asset", r))(ll || {});
15169
+ class Mc extends ba {
15171
15170
  constructor(t) {
15172
15171
  super(`"${t}"`);
15173
15172
  }
@@ -15182,7 +15181,7 @@ class Xn extends ba {
15182
15181
  return t.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);
15183
15182
  }
15184
15183
  }
15185
- class Qc extends ba {
15184
+ class Tc extends ba {
15186
15185
  constructor(t) {
15187
15186
  super(`[${t.map((e) => e.getRaw()).join(",")}]`);
15188
15187
  }
@@ -15240,7 +15239,7 @@ const Ya = y`
15240
15239
  }
15241
15240
  }
15242
15241
  }
15243
- `, dl = y`
15242
+ `, cl = y`
15244
15243
  mutation CustomerCreate($details: CustomerDetailsInput!) {
15245
15244
  customerCreate(details: $details) {
15246
15245
  id
@@ -15250,7 +15249,7 @@ const Ya = y`
15250
15249
  }
15251
15250
  }
15252
15251
  }
15253
- `, Al = y`
15252
+ `, dl = y`
15254
15253
  mutation CustomerAuthenticate($loginToken: String!) {
15255
15254
  customerAuthenticate(loginToken: $loginToken) {
15256
15255
  id
@@ -15280,11 +15279,11 @@ const Ya = y`
15280
15279
  }
15281
15280
  }
15282
15281
  }
15283
- `, ul = y`
15282
+ `, Al = y`
15284
15283
  mutation CustomerGenerateVerificationCode($emailAddress: String!) {
15285
15284
  customerGenerateVerificationCode(emailAddress: $emailAddress)
15286
15285
  }
15287
- `, hl = y`
15286
+ `, ul = y`
15288
15287
  mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
15289
15288
  customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
15290
15289
  id
@@ -15315,7 +15314,7 @@ const Ya = y`
15315
15314
  }
15316
15315
  }
15317
15316
  }
15318
- `, ml = y`
15317
+ `, hl = y`
15319
15318
  query CustomerMetafields($id: String!) {
15320
15319
  metafields(entityId: $id) {
15321
15320
  id
@@ -15333,7 +15332,7 @@ const Ya = y`
15333
15332
  }
15334
15333
  }
15335
15334
  }
15336
- `, gl = async (r, t) => {
15335
+ `, ml = async (r, t) => {
15337
15336
  var n;
15338
15337
  const e = await b.getShadowGraphqlClient().query({
15339
15338
  query: Ei(((n = t == null ? void 0 : t.assets) == null ? void 0 : n.metadata) || !1),
@@ -15357,7 +15356,7 @@ const Ya = y`
15357
15356
  }), Ht.set({ id: s.option.id }, Promise.resolve(s.option)));
15358
15357
  }), i.finalizeStepConfig || (i.finalizeStepConfig = {}), i.finalizeStepConfig.termsMarkdown = i.finalizeStepConfig.termsMarkdown || i.partner.termsMarkdown;
15359
15358
  }), a;
15360
- }, fl = async (r, t) => {
15359
+ }, gl = async (r, t) => {
15361
15360
  const a = (await t).find((n) => n.id === r);
15362
15361
  if (!a)
15363
15362
  throw new Error(`Workflow not found: ${r}`);
@@ -15366,11 +15365,11 @@ const Ya = y`
15366
15365
  const e = r.map((o) => Ht.get({ id: o, options: t })), a = r.filter((o, l) => e[l] === void 0);
15367
15366
  if (a.length === 0)
15368
15367
  return Promise.all(e);
15369
- const n = gl(a, t), i = a.map(
15370
- (o) => Ht.set({ id: o, options: t }, fl(o, n))
15368
+ const n = ml(a, t), i = a.map(
15369
+ (o) => Ht.set({ id: o, options: t }, gl(o, n))
15371
15370
  ), s = e.filter((o) => o !== void 0);
15372
15371
  return await Promise.all(s.concat(i));
15373
- }, Nc = async (r, t) => (await Zn([r], t))[0], pl = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
15372
+ }, Qc = async (r, t) => (await Zn([r], t))[0], fl = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
15374
15373
  id: Q(),
15375
15374
  panelId: t.name,
15376
15375
  name: t.name,
@@ -15384,11 +15383,11 @@ const Ya = y`
15384
15383
  previewRegion: t.previewRegion,
15385
15384
  useEditableArea: t.useEditableArea,
15386
15385
  editableArea: t.editableArea
15387
- })), Cl = (r, t) => {
15386
+ })), pl = (r, t) => {
15388
15387
  const e = r.workflowState, a = e ? JSON.parse(e) : void 0;
15389
- return a ? Object.values(a.layouts).map((n) => n.layout) : pl(t.panels);
15388
+ return a ? Object.values(a.layouts).map((n) => n.layout) : fl(t.panels);
15390
15389
  };
15391
- class Rc {
15390
+ class Nc {
15392
15391
  constructor(t) {
15393
15392
  this.activeIntegration = void 0, this.updateTransactionState = async (e) => {
15394
15393
  try {
@@ -15399,7 +15398,7 @@ class Rc {
15399
15398
  } catch (a) {
15400
15399
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15401
15400
  }
15402
- }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.27.0-beta.3bd46806-87c5-56d2-ab3a-5867e86c509d"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15401
+ }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.27.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15403
15402
  }
15404
15403
  configure(t) {
15405
15404
  wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
@@ -15419,14 +15418,14 @@ class Rc {
15419
15418
  getFlowService() {
15420
15419
  if (!xr())
15421
15420
  throw new Error("Application key required to use Flow Service.");
15422
- return new ol();
15421
+ return new sl();
15423
15422
  }
15424
15423
  async getIntegration() {
15425
15424
  if (this.activeIntegration)
15426
15425
  return this.activeIntegration;
15427
15426
  if (!this.options.applicationKey)
15428
15427
  throw new Error("Cannot get current Integration without specifying an Application Key.");
15429
- return this.activeIntegration = wl(this.options.applicationKey), this.activeIntegration;
15428
+ return this.activeIntegration = Cl(this.options.applicationKey), this.activeIntegration;
15430
15429
  }
15431
15430
  async canUseAddon(t) {
15432
15431
  var e;
@@ -15575,7 +15574,7 @@ class Rc {
15575
15574
  })).data.customer;
15576
15575
  if (!n.id) {
15577
15576
  const l = (s = (await e.mutate({
15578
- mutation: dl,
15577
+ mutation: cl,
15579
15578
  errorPolicy: "all",
15580
15579
  fetchPolicy: "no-cache",
15581
15580
  variables: {
@@ -15610,7 +15609,7 @@ class Rc {
15610
15609
  if (!n)
15611
15610
  return !1;
15612
15611
  const s = (o = (await e.mutate({
15613
- mutation: Al,
15612
+ mutation: dl,
15614
15613
  errorPolicy: "all",
15615
15614
  fetchPolicy: "no-cache",
15616
15615
  variables: {
@@ -15625,7 +15624,7 @@ class Rc {
15625
15624
  */
15626
15625
  async generateVerificationCode(t) {
15627
15626
  await b.getShadowGraphqlClient().mutate({
15628
- mutation: ul,
15627
+ mutation: Al,
15629
15628
  variables: {
15630
15629
  emailAddress: t
15631
15630
  }
@@ -15640,7 +15639,7 @@ class Rc {
15640
15639
  async verifyCode(t, e) {
15641
15640
  var i, s;
15642
15641
  const n = (i = (await b.getShadowGraphqlClient().mutate({
15643
- mutation: hl,
15642
+ mutation: ul,
15644
15643
  errorPolicy: "all",
15645
15644
  fetchPolicy: "no-cache",
15646
15645
  variables: {
@@ -15664,7 +15663,7 @@ class Rc {
15664
15663
  if (!((e = this.customer) != null && e.id))
15665
15664
  throw new Error("Customer must be logged in before calling this function.");
15666
15665
  return (await b.getShadowGraphqlClient().query({
15667
- query: ml,
15666
+ query: hl,
15668
15667
  variables: {
15669
15668
  id: this.customer.id
15670
15669
  }
@@ -15930,7 +15929,7 @@ class Rc {
15930
15929
  const G = JSON.parse(M.workflowState);
15931
15930
  V.layouts = Object.values(G.layouts || {}).map((nt) => nt.layout), await $a(G), V.reloadedState = G;
15932
15931
  } else
15933
- V.layouts = Cl(
15932
+ V.layouts = pl(
15934
15933
  V.transaction,
15935
15934
  V.workflow
15936
15935
  );
@@ -16014,7 +16013,7 @@ class Rc {
16014
16013
  };
16015
16014
  }
16016
16015
  }
16017
- const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16016
+ const Cl = async (r, t) => (await b.getShadowGraphqlClient().query({
16018
16017
  query: Di,
16019
16018
  errorPolicy: "all",
16020
16019
  fetchPolicy: "no-cache",
@@ -16026,7 +16025,7 @@ const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16026
16025
  variables: {
16027
16026
  themeConfigurationId: t
16028
16027
  }
16029
- })).data.currentIntegration, Oc = async (r) => {
16028
+ })).data.currentIntegration, Rc = async (r) => {
16030
16029
  const e = await b.getShadowGraphqlClient().query({
16031
16030
  query: hi,
16032
16031
  errorPolicy: "all",
@@ -16037,7 +16036,7 @@ const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16037
16036
  });
16038
16037
  if (e.data.transactions.length !== 0)
16039
16038
  return e.data.transactions[0];
16040
- }, Uc = async (r, t) => {
16039
+ }, Oc = async (r, t) => {
16041
16040
  var a;
16042
16041
  return (a = (await b.getShadowGraphqlClient().query({
16043
16042
  query: Ii,
@@ -16047,7 +16046,7 @@ const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16047
16046
  themeInstallId: t
16048
16047
  }
16049
16048
  })).data) == null ? void 0 : a.marketplaceThemeInstallConfiguration;
16050
- }, $c = async (r) => {
16049
+ }, Uc = async (r) => {
16051
16050
  var e, a, n;
16052
16051
  return (n = (a = (e = (await b.getShadowGraphqlClient().query({
16053
16052
  query: Fi,
@@ -16056,7 +16055,7 @@ const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16056
16055
  id: r
16057
16056
  }
16058
16057
  })).data) == null ? void 0 : e.bundles) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
16059
- }, Lc = async (r) => {
16058
+ }, $c = async (r) => {
16060
16059
  var e, a, n;
16061
16060
  return (n = (a = (e = (await b.getShadowGraphqlClient().query({
16062
16061
  query: Pi,
@@ -16066,7 +16065,7 @@ const wl = async (r, t) => (await b.getShadowGraphqlClient().query({
16066
16065
  }
16067
16066
  })).data) == null ? void 0 : e.transactions) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
16068
16067
  };
16069
- function yl(r, t, e, a) {
16068
+ function wl(r, t, e, a) {
16070
16069
  const n = e.width * r.zoom, i = e.height * r.zoom;
16071
16070
  if (a) {
16072
16071
  const o = r, l = Math.max(t.width / e.width, t.height / e.height);
@@ -16080,7 +16079,7 @@ function yl(r, t, e, a) {
16080
16079
  function le(r, t, e) {
16081
16080
  return Math.min(Math.max(r, t), e);
16082
16081
  }
16083
- class Sl {
16082
+ class yl {
16084
16083
  constructor(t, e) {
16085
16084
  this.minZoomScale = [0.03], this.maxZoomScale = [20], this._debouncedUpdateFrameOffsets = sn(this.updateFrameOffsets, 200), this.targetElements = [], this.onFrameDataChangeListeners = [], this.onZoomChangeListeners = [], this.forceImageCover = t, this.initialZoom = e, this.thresholdSettings = {
16086
16085
  useThreshold: !1,
@@ -16223,7 +16222,7 @@ class Sl {
16223
16222
  return;
16224
16223
  }
16225
16224
  (!this.offsets || this.offsets.length !== this.frameData.length) && (this.offsets = new Array(this.frameData.length)), this.frameData.forEach((s, o) => {
16226
- this.offsets[o] = yl(t[o], s, this.imageData, this.forceImageCover);
16225
+ this.offsets[o] = wl(t[o], s, this.imageData, this.forceImageCover);
16227
16226
  }), this._debouncedUpdateFrameOffsets(
16228
16227
  this.offsets,
16229
16228
  n,
@@ -16302,7 +16301,7 @@ class Sl {
16302
16301
  }), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
16303
16302
  }
16304
16303
  }
16305
- class Vc {
16304
+ class Lc {
16306
16305
  approveTransaction(t) {
16307
16306
  throw new Error("Method not implemented.");
16308
16307
  }
@@ -16461,12 +16460,12 @@ class Vc {
16461
16460
  return [];
16462
16461
  }
16463
16462
  }
16464
- var vl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(vl || {});
16465
- class El extends rt {
16463
+ var Sl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(Sl || {});
16464
+ class vl extends rt {
16466
16465
  constructor(t, e, a) {
16467
16466
  super(t, e, a);
16468
16467
  const n = e.data;
16469
- this.frameService = new Sl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
16468
+ this.frameService = new yl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
16470
16469
  }
16471
16470
  selectVariant(t) {
16472
16471
  const e = this.manager.getRegionElements(this.step.stepName);
@@ -16635,7 +16634,7 @@ class El extends rt {
16635
16634
  return this.manager.getStepStorage(this.step.stepName);
16636
16635
  }
16637
16636
  }
16638
- const Bl = y`
16637
+ const El = y`
16639
16638
  query GetLoggedInCustomer($email: String!) {
16640
16639
  customer(emailAddress: $email) {
16641
16640
  id
@@ -16678,21 +16677,21 @@ const Bl = y`
16678
16677
  total
16679
16678
  }
16680
16679
  }
16681
- `, bl = y`
16680
+ `, Bl = y`
16682
16681
  mutation SetTransactionDesignName($id: String!, $name: String!) {
16683
16682
  transactionUpdate(id: $id, designName: $name) {
16684
16683
  id
16685
16684
  designName
16686
16685
  }
16687
16686
  }
16688
- `, Il = y`
16687
+ `, bl = y`
16689
16688
  mutation DuplicateTransaction($id: String!, $template: Boolean!) {
16690
16689
  transactionDuplicate(id: $id, template: $template) {
16691
16690
  id
16692
16691
  workflowViewerLink
16693
16692
  }
16694
16693
  }
16695
- `, Dl = y`
16694
+ `, Il = y`
16696
16695
  query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
16697
16696
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
16698
16697
  items {
@@ -16705,7 +16704,7 @@ const Bl = y`
16705
16704
  total
16706
16705
  }
16707
16706
  }
16708
- `, Pl = y`
16707
+ `, Dl = y`
16709
16708
  query GetTransactionsForBundle($id: String!) {
16710
16709
  bundles(ids: [$id]) {
16711
16710
  id
@@ -16726,21 +16725,21 @@ const Bl = y`
16726
16725
  }
16727
16726
  }
16728
16727
  }
16729
- `, Fl = y`
16728
+ `, Pl = y`
16730
16729
  mutation SetBundleName($id: String!, $name: String!) {
16731
16730
  bundleUpdate(id: $id, name: $name) {
16732
16731
  id
16733
16732
  name
16734
16733
  }
16735
16734
  }
16736
- `, xl = y`
16735
+ `, Fl = y`
16737
16736
  mutation DuplicateBundle($id: String!, $template: Boolean!) {
16738
16737
  bundleDuplicate(id: $id, template: $template) {
16739
16738
  id
16740
16739
  workflowViewerLink
16741
16740
  }
16742
16741
  }
16743
- `, kl = y`
16742
+ `, xl = y`
16744
16743
  query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
16745
16744
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
16746
16745
  items {
@@ -16753,43 +16752,43 @@ const Bl = y`
16753
16752
  total
16754
16753
  }
16755
16754
  }
16756
- `, zc = async (r, t, e) => await b.getShadowGraphqlClient().mutate({
16757
- mutation: Fl,
16755
+ `, Vc = async (r, t, e) => await b.getShadowGraphqlClient().mutate({
16756
+ mutation: Pl,
16758
16757
  errorPolicy: "all",
16759
16758
  variables: {
16760
16759
  id: r,
16761
16760
  name: t
16762
16761
  },
16763
16762
  context: e
16764
- }), Gc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16765
- mutation: bl,
16763
+ }), zc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16764
+ mutation: Bl,
16766
16765
  errorPolicy: "all",
16767
16766
  variables: {
16768
16767
  id: r,
16769
16768
  name: t
16770
16769
  }
16771
- }), Wc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16772
- mutation: xl,
16770
+ }), Gc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16771
+ mutation: Fl,
16773
16772
  errorPolicy: "all",
16774
16773
  variables: {
16775
16774
  id: r,
16776
16775
  template: t
16777
16776
  }
16778
- }), jc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16779
- mutation: Il,
16777
+ }), Wc = async (r, t) => await b.getShadowGraphqlClient().mutate({
16778
+ mutation: bl,
16780
16779
  errorPolicy: "all",
16781
16780
  variables: {
16782
16781
  id: r,
16783
16782
  template: t
16784
16783
  }
16785
- }), Hc = async (r) => (await b.getShadowGraphqlClient().query({
16786
- query: Bl,
16784
+ }), jc = async (r) => (await b.getShadowGraphqlClient().query({
16785
+ query: El,
16787
16786
  errorPolicy: "all",
16788
16787
  variables: {
16789
16788
  email: r
16790
16789
  }
16791
- })).data.customer, qc = async (r, t, e) => await b.getShadowGraphqlClient().query({
16792
- query: Dl,
16790
+ })).data.customer, Hc = async (r, t, e) => await b.getShadowGraphqlClient().query({
16791
+ query: Il,
16793
16792
  errorPolicy: "all",
16794
16793
  fetchPolicy: "no-cache",
16795
16794
  variables: {
@@ -16797,15 +16796,15 @@ const Bl = y`
16797
16796
  offset: e,
16798
16797
  limit: t
16799
16798
  }
16800
- }), Yc = async (r, t) => await b.getShadowGraphqlClient().query({
16801
- query: Pl,
16799
+ }), qc = async (r, t) => await b.getShadowGraphqlClient().query({
16800
+ query: Dl,
16802
16801
  errorPolicy: "all",
16803
16802
  fetchPolicy: "no-cache",
16804
16803
  variables: {
16805
16804
  id: r
16806
16805
  },
16807
16806
  context: t
16808
- }), Jc = async (r, t, e) => {
16807
+ }), Yc = async (r, t, e) => {
16809
16808
  var n;
16810
16809
  const a = await b.getShadowGraphqlClient().query({
16811
16810
  query: Ia,
@@ -16829,7 +16828,7 @@ const Bl = y`
16829
16828
  }
16830
16829
  });
16831
16830
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
16832
- }, Kc = async (r, t, e) => {
16831
+ }, Jc = async (r, t, e) => {
16833
16832
  var n;
16834
16833
  const a = await b.getShadowGraphqlClient().query({
16835
16834
  query: Ia,
@@ -16853,7 +16852,7 @@ const Bl = y`
16853
16852
  }
16854
16853
  });
16855
16854
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
16856
- }, _c = async (r, t, e) => {
16855
+ }, Kc = async (r, t, e) => {
16857
16856
  var n;
16858
16857
  const a = await b.getShadowGraphqlClient().query({
16859
16858
  query: Ia,
@@ -16873,10 +16872,10 @@ const Bl = y`
16873
16872
  }
16874
16873
  });
16875
16874
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
16876
- }, Xc = async (r, t, e) => {
16875
+ }, _c = async (r, t, e) => {
16877
16876
  var n;
16878
16877
  const a = await b.getShadowGraphqlClient().query({
16879
- query: kl,
16878
+ query: xl,
16880
16879
  errorPolicy: "all",
16881
16880
  fetchPolicy: "no-cache",
16882
16881
  variables: {
@@ -16897,7 +16896,7 @@ const Bl = y`
16897
16896
  console.error("vite-plugin-css-injected-by-js", t);
16898
16897
  }
16899
16898
  })();
16900
- var Ml = /* @__PURE__ */ ((r) => (r.Manual = "Manual", r.OnStart = "OnStart", r.OnQuit = "OnQuit", r.OnEnd = "OnEnd", r))(Ml || {}), Tl = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.DesignName = "DesignName", r.PurchaseOrder = "PurchaseOrder", r.DispatchDate = "DispatchDate", r.Stakeholders = "Stakeholders", r))(Tl || {}), K;
16899
+ var kl = /* @__PURE__ */ ((r) => (r.Manual = "Manual", r.OnStart = "OnStart", r.OnQuit = "OnQuit", r.OnEnd = "OnEnd", r))(kl || {}), Ml = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.DesignName = "DesignName", r.PurchaseOrder = "PurchaseOrder", r.DispatchDate = "DispatchDate", r.Stakeholders = "Stakeholders", r))(Ml || {}), K;
16901
16900
  K = { __e: function(r, t, e, a) {
16902
16901
  for (var n, i, s; t = t.__; )
16903
16902
  if ((n = t.__c) && !n.__)
@@ -16910,7 +16909,7 @@ K = { __e: function(r, t, e, a) {
16910
16909
  throw r;
16911
16910
  } }, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
16912
16911
  var st, qe, Ja, tr = [], Ye = [], Ka = K.__b, _a = K.__r, Xa = K.diffed, Za = K.__c, tn = K.unmount;
16913
- function Ql() {
16912
+ function Tl() {
16914
16913
  for (var r; r = tr.shift(); )
16915
16914
  if (r.__P && r.__H)
16916
16915
  try {
@@ -16930,7 +16929,7 @@ K.__b = function(r) {
16930
16929
  }, K.diffed = function(r) {
16931
16930
  Xa && Xa(r);
16932
16931
  var t = r.__c;
16933
- t && t.__H && (t.__H.__h.length && (tr.push(t) !== 1 && Ja === K.requestAnimationFrame || ((Ja = K.requestAnimationFrame) || Nl)(Ql)), t.__H.__.forEach(function(e) {
16932
+ t && t.__H && (t.__H.__h.length && (tr.push(t) !== 1 && Ja === K.requestAnimationFrame || ((Ja = K.requestAnimationFrame) || Ql)(Tl)), t.__H.__.forEach(function(e) {
16934
16933
  e.i && (e.__H = e.i), e.__V !== Ye && (e.__ = e.__V), e.i = void 0, e.__V = Ye;
16935
16934
  })), qe = st = null;
16936
16935
  }, K.__c = function(r, t) {
@@ -16957,7 +16956,7 @@ K.__b = function(r) {
16957
16956
  }), e.__H = void 0, t && K.__e(t, e.__v));
16958
16957
  };
16959
16958
  var en = typeof requestAnimationFrame == "function";
16960
- function Nl(r) {
16959
+ function Ql(r) {
16961
16960
  var t, e = function() {
16962
16961
  clearTimeout(a), en && cancelAnimationFrame(t), setTimeout(r);
16963
16962
  }, a = setTimeout(e, 100);
@@ -16973,35 +16972,35 @@ function la(r) {
16973
16972
  }
16974
16973
  export {
16975
16974
  da as AddonHandle,
16976
- Qc as ArrayInput,
16975
+ Tc as ArrayInput,
16977
16976
  et as AspectType,
16978
16977
  yt as AssetNotFoundError,
16979
16978
  he as AssetType,
16980
- Fc as BringForwardCommand,
16981
- Pc as BringToBackCommand,
16982
- Dc as BringToFrontCommand,
16979
+ Pc as BringForwardCommand,
16980
+ Dc as BringToBackCommand,
16981
+ Ic as BringToFrontCommand,
16983
16982
  mr as BundleDesignCreationCartAddMode,
16984
16983
  R as CanvasCommand,
16985
16984
  se as CollectionProduct,
16986
16985
  Ha as ColorOptionGlobalPropertyHandle,
16987
16986
  Ki as CommandContext,
16988
- Tl as ConversionDataType,
16989
- Ml as ConversionLocation,
16987
+ Ml as ConversionDataType,
16988
+ kl as ConversionLocation,
16990
16989
  W as CreateElementCommand,
16991
16990
  Un as CreateLayoutCommand,
16992
16991
  vt as DeleteElementCommand,
16993
16992
  Ao as DigitalContentStepHandle,
16994
16993
  Go as FileUploadGlobalPropertyHandle,
16995
16994
  oe as FlowExecutionNodeResult,
16996
- ll as FlowExecutionResult,
16997
- ol as FlowService,
16995
+ ol as FlowExecutionResult,
16996
+ sl as FlowService,
16998
16997
  ts as FontAlignmentCommand,
16999
16998
  Xi as FontColorCommand,
17000
16999
  Zi as FontSizeCommand,
17001
17000
  Va as FontSourceCommand,
17002
- Sl as FrameService,
17003
- vl as FrameStep,
17004
- El as FrameStepHandle,
17001
+ yl as FrameService,
17002
+ Sl as FrameStep,
17003
+ vl as FrameStepHandle,
17005
17004
  Ba as GlobalPropertyHandle,
17006
17005
  O as GroupCommand,
17007
17006
  ao as IllustrationStepHandle,
@@ -17009,38 +17008,37 @@ export {
17009
17008
  co as InformationStepHandle,
17010
17009
  qa as IntegrationProduct,
17011
17010
  fr as IntegrationType,
17012
- vc as LayoutElementFactory,
17011
+ Sc as LayoutElementFactory,
17013
17012
  T as LayoutElementType,
17014
17013
  Y as LayoutNotFoundError,
17015
17014
  Gt as LayoutRenderingPurpose,
17016
17015
  no as MaterialStepHandle,
17017
17016
  fe as MisconfigurationError,
17018
- Vc as MockWorkflowManager,
17017
+ Lc as MockWorkflowManager,
17019
17018
  ro as ModelStepHandle,
17020
17019
  uo as ModuleStepHandle,
17021
- Ec as MoveCommand,
17020
+ vc as MoveCommand,
17022
17021
  Xn as ObjectInput,
17023
- cl as ObjectInputType,
17022
+ ll as ObjectInputType,
17024
17023
  _n as OptionGlobalPropertyHandle,
17025
17024
  ge as OptionNotFoundError,
17026
17025
  Dt as ParseError,
17027
17026
  io as PictureStepHandle,
17028
17027
  pr as ProductCameraRig,
17029
- Zo as ProductCollection,
17030
- Xo as ProductCollectionProductSortKey,
17028
+ Xo as ProductCollection,
17031
17029
  zt as ProductWorkflow,
17032
17030
  Ht as PromiseCache,
17033
17031
  Pn as PromiseQueue,
17034
17032
  so as QuestionStepHandle,
17035
17033
  Dn as QueueablePromise,
17036
- bc as ResizeCommand,
17034
+ Bc as ResizeCommand,
17037
17035
  Wt as ResourceNotFoundError,
17038
- Bc as RotateCommand,
17036
+ Ec as RotateCommand,
17039
17037
  H as ScaleAxis,
17040
- xc as SendBackwardsCommand,
17038
+ Fc as SendBackwardsCommand,
17041
17039
  oo as ShapeStepHandle,
17042
17040
  gr as ShareActionType,
17043
- Rc as SpiffCommerceClient,
17041
+ Nc as SpiffCommerceClient,
17044
17042
  me as StakeholderType,
17045
17043
  hr as StepAspectType,
17046
17044
  rt as StepHandle,
@@ -17048,85 +17046,85 @@ export {
17048
17046
  kt as TextAlgorithm,
17049
17047
  ns as TextChangeCommand,
17050
17048
  Wo as TextGlobalPropertyHandle,
17051
- Tc as TextInput,
17049
+ Mc as TextInput,
17052
17050
  lo as TextStepHandle,
17053
- el as Transform,
17054
- tl as TransformCollection,
17051
+ tl as Transform,
17052
+ Zo as TransformCollection,
17055
17053
  z as UnhandledBehaviorError,
17056
17054
  Cr as UnitOfMeasurement,
17057
- Ic as UpdateImageSourceCommand,
17055
+ bc as UpdateImageSourceCommand,
17058
17056
  it as Variant,
17059
17057
  Bo as WorkflowExperienceEventType,
17060
17058
  bo as WorkflowExperienceImpl,
17061
17059
  U as assetService,
17062
17060
  zr as browserColorToHex,
17063
- yc as cmPerPixel,
17061
+ wc as cmPerPixel,
17064
17062
  Co as createDesign,
17065
- pc as currentDirection,
17066
- ic as dataUrlFromExternalUrl,
17063
+ fc as currentDirection,
17064
+ rc as dataUrlFromExternalUrl,
17067
17065
  je as designService,
17068
17066
  Ae as determineCorrectFontSizeAndLines,
17069
17067
  Ln as digitalContentStepService,
17070
17068
  dt as domParser,
17071
- Wc as duplicateBundle,
17072
- jc as duplicateTransaction,
17069
+ Gc as duplicateBundle,
17070
+ Wc as duplicateTransaction,
17073
17071
  at as fetchAsString,
17074
- dc as findAngle,
17072
+ cc as findAngle,
17075
17073
  $ as findElement,
17076
- lc as findPmsColors,
17074
+ oc as findPmsColors,
17077
17075
  $t as frameDataCache,
17078
17076
  pt as frameStepService,
17079
17077
  Q as generate,
17080
17078
  Ro as generateCommands,
17081
17079
  ot as generateSVGWithUnknownColors,
17082
- Mc as generateStateFromDesignInputSteps,
17080
+ kc as generateStateFromDesignInputSteps,
17083
17081
  De as getAttributesFromArrayBuffer,
17084
- cc as getAxisAlignedBoundingBox,
17085
- yl as getBoundedOffsets,
17086
- $c as getBundleThemeConfiguration,
17087
- Hc as getCustomer,
17088
- qc as getCustomerBundles,
17089
- Cc as getElementVertices,
17082
+ lc as getAxisAlignedBoundingBox,
17083
+ wl as getBoundedOffsets,
17084
+ Uc as getBundleThemeConfiguration,
17085
+ jc as getCustomer,
17086
+ Hc as getCustomerBundles,
17087
+ pc as getElementVertices,
17090
17088
  xe as getFrameData,
17091
- wl as getIntegration,
17092
- gc as getNEPoint,
17093
- mc as getNWPoint,
17094
- Kc as getOrderedTransactions,
17095
- Uc as getOverrideThemeConfiguration,
17096
- hc as getPointOfRotation,
17097
- fc as getSEPoint,
17089
+ Cl as getIntegration,
17090
+ mc as getNEPoint,
17091
+ hc as getNWPoint,
17092
+ Jc as getOrderedTransactions,
17093
+ Oc as getOverrideThemeConfiguration,
17094
+ uc as getPointOfRotation,
17095
+ gc as getSEPoint,
17098
17096
  wa as getSvgElement,
17099
- Xc as getTemplateBundles,
17100
- _c as getTemplateTransactions,
17101
- Oc as getTransaction,
17102
- Lc as getTransactionThemeConfiguration,
17103
- Yc as getTransactionsForBundle,
17104
- uc as getTrueCoordinates,
17105
- Jc as getUnorderedTransactions,
17106
- Nc as getWorkflow,
17097
+ _c as getTemplateBundles,
17098
+ Kc as getTemplateTransactions,
17099
+ Rc as getTransaction,
17100
+ $c as getTransactionThemeConfiguration,
17101
+ qc as getTransactionsForBundle,
17102
+ Ac as getTrueCoordinates,
17103
+ Yc as getUnorderedTransactions,
17104
+ Qc as getWorkflow,
17107
17105
  Zn as getWorkflows,
17108
17106
  b as graphQlManager,
17109
17107
  de as illustrationStepService,
17110
- Ac as isCloseToValue,
17108
+ dc as isCloseToValue,
17111
17109
  Tt as loadFont,
17112
- oc as matchHexToPms,
17110
+ sc as matchHexToPms,
17113
17111
  Vn as materialStepService,
17114
17112
  _o as metafieldManager,
17115
- wc as mmPerPixel,
17113
+ Cc as mmPerPixel,
17116
17114
  zn as modelStepService,
17117
17115
  fa as modifySVGColors,
17118
17116
  Gn as moduleStepService,
17119
- zc as nameBundle,
17120
- Gc as nameTransaction,
17117
+ Vc as nameBundle,
17118
+ zc as nameTransaction,
17121
17119
  X as optionService,
17122
- Sc as outlineFontsInSvg,
17120
+ yc as outlineFontsInSvg,
17123
17121
  At as patternImageDataCache,
17124
17122
  k as persistenceService,
17125
17123
  Wn as pictureStepService,
17126
- sc as pmsToRgb,
17124
+ ic as pmsToRgb,
17127
17125
  jn as questionStepService,
17128
- rc as registerFetchImplementation,
17129
- nc as registerWindowImplementation,
17126
+ nc as registerFetchImplementation,
17127
+ ac as registerWindowImplementation,
17130
17128
  $a as rehydrateSerializedLayout,
17131
17129
  $r as rgbToPms,
17132
17130
  re as rotateAroundPoint,
@@ -17136,7 +17134,7 @@ export {
17136
17134
  Lt as shapeStepService,
17137
17135
  is as shortenUrl,
17138
17136
  wt as spiffCoreConfiguration,
17139
- kc as stepAspectValuesToDesignInputSteps,
17137
+ xc as stepAspectValuesToDesignInputSteps,
17140
17138
  Qa as svgColorValueToDefinition,
17141
17139
  Rn as svgStringDimensions,
17142
17140
  Aa as svgToDataUrl,