@spiffcommerce/core 27.1.0-beta.2ef99307-3cf1-5417-a8f2-08bd6109eb47 → 27.1.0-beta.8df40afe-7c62-5d5d-915d-0ee804b43849

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
@@ -1,4 +1,4 @@
1
- import { createHttpLink as rr, ApolloClient as ir, from as sr, InMemoryCache as or, gql as S } from "@apollo/client/core";
1
+ import { createHttpLink as rr, ApolloClient as ir, from as sr, InMemoryCache as or, gql as v } from "@apollo/client/core";
2
2
  import { setContext as lr } from "@apollo/client/link/context";
3
3
  import { onError as cr } from "@apollo/client/link/error";
4
4
  import { renderToStaticMarkup as dr } from "preact-render-to-string";
@@ -21,7 +21,7 @@ import { split as Xe } from "unicode-default-word-boundary";
21
21
  import ln from "lodash.debounce";
22
22
  import "fs";
23
23
  import "path";
24
- var Ce = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Ce || {}), X = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(X || {}), P = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(P || {}), wr = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(wr || {}), Ht = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(Ht || {}), M = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(M || {}), yr = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(yr || {}), Sr = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(Sr || {}), vr = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(vr || {}), ua = /* @__PURE__ */ ((r) => (r.BackgroundRemover = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(ua || {}), Er = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(Er || {}), we = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(we || {}), Mt = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(Mt || {}), H = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(H || {}), Br = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(Br || {});
24
+ var Ce = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Ce || {}), X = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(X || {}), P = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(P || {}), wr = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(wr || {}), Ht = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(Ht || {}), M = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(M || {}), yr = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(yr || {}), Sr = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(Sr || {}), vr = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(vr || {}), ua = /* @__PURE__ */ ((r) => (r.BackgroundRemover = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(ua || {}), Er = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(Er || {}), we = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(we || {}), Mt = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(Mt || {}), j = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(j || {}), Br = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(Br || {});
25
25
  class cn extends Error {
26
26
  constructor(t) {
27
27
  super(t), this.name = this.constructor.name;
@@ -344,8 +344,8 @@ class zr {
344
344
  const f = window.__SENTRY__.hub;
345
345
  if (f) {
346
346
  const C = f.traceHeaders();
347
- Object.entries(C).forEach(([w, y]) => {
348
- l[w] = y;
347
+ Object.entries(C).forEach(([w, S]) => {
348
+ l[w] = S;
349
349
  });
350
350
  }
351
351
  }
@@ -3374,14 +3374,14 @@ const oe = (r) => {
3374
3374
  colors: a,
3375
3375
  svg: i
3376
3376
  };
3377
- }, ni = S`
3377
+ }, ni = v`
3378
3378
  fragment AssetMetadataFields on Asset {
3379
3379
  metadata {
3380
3380
  key
3381
3381
  value
3382
3382
  }
3383
3383
  }
3384
- `, te = (r) => S`
3384
+ `, te = (r) => v`
3385
3385
  ${r && ni || ""}
3386
3386
  fragment AssetFields on Asset {
3387
3387
  name
@@ -3424,14 +3424,14 @@ const oe = (r) => {
3424
3424
  }
3425
3425
  ${r && "...AssetMetadataFields" || ""}
3426
3426
  }
3427
- `, ri = S`
3427
+ `, ri = v`
3428
3428
  ${te(!1)}
3429
3429
  query GetAssets($keys: [String]!) {
3430
3430
  assets(keys: $keys) {
3431
3431
  ...AssetFields
3432
3432
  }
3433
3433
  }
3434
- `, wa = S`
3434
+ `, wa = v`
3435
3435
  fragment MaterialFields on Material {
3436
3436
  id
3437
3437
  name
@@ -3478,14 +3478,14 @@ const oe = (r) => {
3478
3478
  fileLink
3479
3479
  }
3480
3480
  }
3481
- `, ii = S`
3481
+ `, ii = v`
3482
3482
  ${wa}
3483
3483
  query GetMaterials($ids: [String]) {
3484
3484
  materials(id: $ids) {
3485
3485
  ...MaterialFields
3486
3486
  }
3487
3487
  }
3488
- `, si = S`
3488
+ `, si = v`
3489
3489
  mutation CreateAsset($name: String!, $type: String!, $mimeType: String!, $anonymous: Boolean, $temporary: Boolean) {
3490
3490
  assetCreate(name: $name, type: $type, mimeType: $mimeType, anonymous: $anonymous, temporary: $temporary) {
3491
3491
  uploadUrl
@@ -3499,7 +3499,7 @@ const oe = (r) => {
3499
3499
  }
3500
3500
  }
3501
3501
  }
3502
- `, oi = S`
3502
+ `, oi = v`
3503
3503
  ${te(!1)}
3504
3504
  mutation RemoveBackgroundFromAsset($key: String!) {
3505
3505
  assetRemoveBackground(key: $key) {
@@ -3831,7 +3831,7 @@ class Ai {
3831
3831
  this.disabled = t;
3832
3832
  }
3833
3833
  }
3834
- const Jt = new Ai(), vn = S`
3834
+ const Jt = new Ai(), vn = v`
3835
3835
  fragment OptionFields on Option {
3836
3836
  id
3837
3837
  name
@@ -3868,7 +3868,7 @@ const Jt = new Ai(), vn = S`
3868
3868
  ...AssetFields
3869
3869
  }
3870
3870
  }
3871
- `, ui = S`
3871
+ `, ui = v`
3872
3872
  ${te(!1)}
3873
3873
  ${wa}
3874
3874
  ${vn}
@@ -3946,7 +3946,7 @@ class pi {
3946
3946
  }
3947
3947
  }
3948
3948
  }
3949
- const _ = new pi(), En = S`
3949
+ const _ = new pi(), En = v`
3950
3950
  fragment ActiveIntegrationFields on Integration {
3951
3951
  id
3952
3952
  logo
@@ -3964,7 +3964,7 @@ const _ = new pi(), En = S`
3964
3964
  activeAddons
3965
3965
  }
3966
3966
  }
3967
- `, Me = S`
3967
+ `, Me = v`
3968
3968
  fragment AdditionalIntegrationProductFields on IntegrationProduct {
3969
3969
  id
3970
3970
  product {
@@ -3982,7 +3982,7 @@ const _ = new pi(), En = S`
3982
3982
  preloadImageUrl
3983
3983
  }
3984
3984
  }
3985
- `, fi = S`
3985
+ `, fi = v`
3986
3986
  ${Me}
3987
3987
  mutation CreateTransactions(
3988
3988
  $inputs: [TransactionCreateInput]!
@@ -4069,7 +4069,7 @@ const _ = new pi(), En = S`
4069
4069
  }
4070
4070
  }
4071
4071
  }
4072
- `, Bn = S`
4072
+ `, Bn = v`
4073
4073
  fragment StakeholderFields on Stakeholder {
4074
4074
  id
4075
4075
  type
@@ -4077,7 +4077,7 @@ const _ = new pi(), En = S`
4077
4077
  authorizationNote
4078
4078
  authorizationStatus
4079
4079
  }
4080
- `, bn = S`
4080
+ `, bn = v`
4081
4081
  fragment TransactionShareActionFields on TransactionShareAction {
4082
4082
  id
4083
4083
  title
@@ -4086,7 +4086,7 @@ const _ = new pi(), En = S`
4086
4086
  precedence
4087
4087
  url
4088
4088
  }
4089
- `, Ci = S`
4089
+ `, Ci = v`
4090
4090
  ${Me}
4091
4091
  ${Bn}
4092
4092
  ${bn}
@@ -4241,19 +4241,19 @@ const _ = new pi(), En = S`
4241
4241
  }
4242
4242
  }
4243
4243
  }
4244
- `, wi = S`
4244
+ `, wi = v`
4245
4245
  mutation UpdateTransactionWorkflowState($id: String!, $workflowState: String!) {
4246
4246
  transactionUpdate(id: $id, workflowState: $workflowState) {
4247
4247
  id
4248
4248
  }
4249
4249
  }
4250
- `, yi = S`
4250
+ `, yi = v`
4251
4251
  mutation UpdateTransactionQuantity($id: String!, $quantity: Int) {
4252
4252
  transactionUpdate(id: $id, quantity: $quantity) {
4253
4253
  id
4254
4254
  }
4255
4255
  }
4256
- `, Si = S`
4256
+ `, Si = v`
4257
4257
  query ReadTransactionForDesignCreation($id: String!) {
4258
4258
  transactions(ids: [$id]) {
4259
4259
  id
@@ -4319,7 +4319,7 @@ const _ = new pi(), En = S`
4319
4319
  workflowViewerReadOnlyLink
4320
4320
  }
4321
4321
  }
4322
- `, vi = S`
4322
+ `, vi = v`
4323
4323
  ${bn}
4324
4324
  query ReadTransactionForShareActions($id: String!) {
4325
4325
  transactions(ids: [$id]) {
@@ -4330,14 +4330,14 @@ const _ = new pi(), En = S`
4330
4330
  }
4331
4331
  }
4332
4332
  }
4333
- `, In = S`
4333
+ `, In = v`
4334
4334
  query ReadWorkflowStates($ids: [String]!) {
4335
4335
  transactions(ids: $ids) {
4336
4336
  id
4337
4337
  workflowState
4338
4338
  }
4339
4339
  }
4340
- `, Pn = (r) => S`
4340
+ `, Pn = (r) => v`
4341
4341
  ${Me}
4342
4342
  fragment IntegrationProductFields on IntegrationProduct {
4343
4343
  id
@@ -4420,14 +4420,14 @@ const _ = new pi(), En = S`
4420
4420
  ` : ""}
4421
4421
  }
4422
4422
  }
4423
- `, Ei = (r) => S`
4423
+ `, Ei = (r) => v`
4424
4424
  ${Pn(r)}
4425
4425
  query GetIntegrationProducts($ids: [String!]!) {
4426
4426
  integrationProducts(ids: $ids) {
4427
4427
  ...IntegrationProductFields
4428
4428
  }
4429
4429
  }
4430
- `, Bi = (r) => S`
4430
+ `, Bi = (r) => v`
4431
4431
  ${Pn(r)}
4432
4432
  query GetIntegrationProductFromExternalIds($externalIntegrationId: String!, $externalProductId: String!) {
4433
4433
  integrationProductFromExternalIds(
@@ -4437,7 +4437,7 @@ const _ = new pi(), En = S`
4437
4437
  ...IntegrationProductFields
4438
4438
  }
4439
4439
  }
4440
- `, bi = S`
4440
+ `, bi = v`
4441
4441
  ${Bn}
4442
4442
  query ReadTransactionForStakeholders($id: String!) {
4443
4443
  transactions(ids: [$id]) {
@@ -4449,11 +4449,11 @@ const _ = new pi(), En = S`
4449
4449
  }
4450
4450
  }
4451
4451
  }
4452
- `, Ii = S`
4452
+ `, Ii = v`
4453
4453
  mutation FinalizeUpdateTransaction($transactionId: String!) {
4454
4454
  transactionFinalizeUpdate(transactionId: $transactionId)
4455
4455
  }
4456
- `, Pi = S`
4456
+ `, Pi = v`
4457
4457
  fragment RegionFields on Region {
4458
4458
  width
4459
4459
  top
@@ -4471,7 +4471,7 @@ const _ = new pi(), En = S`
4471
4471
  height
4472
4472
  }
4473
4473
  }
4474
- `, Di = S`
4474
+ `, Di = v`
4475
4475
  fragment LookAtAnimationFields on LookAtAnimation {
4476
4476
  latDeg
4477
4477
  lonDeg
@@ -4482,7 +4482,7 @@ const _ = new pi(), En = S`
4482
4482
  z
4483
4483
  }
4484
4484
  }
4485
- `, xi = S`
4485
+ `, xi = v`
4486
4486
  fragment RenderingPipelineConfigurationFields on RenderingPipelineConfiguration {
4487
4487
  antiAliasing {
4488
4488
  samples
@@ -4566,14 +4566,14 @@ const _ = new pi(), En = S`
4566
4566
  weight
4567
4567
  }
4568
4568
  }
4569
- `, Fi = S`
4569
+ `, Fi = v`
4570
4570
  fragment ModelAnimationFields on ModelAnimation {
4571
4571
  from
4572
4572
  to
4573
4573
  loop
4574
4574
  name
4575
4575
  }
4576
- `, ki = (r) => S`
4576
+ `, ki = (r) => v`
4577
4577
  ${te(r)}
4578
4578
  ${wa}
4579
4579
  ${vn}
@@ -4975,7 +4975,7 @@ const _ = new pi(), En = S`
4975
4975
  }
4976
4976
  }
4977
4977
  }
4978
- `, Mi = S`
4978
+ `, Mi = v`
4979
4979
  query GetTransactionForPartner($id: String!) {
4980
4980
  transactions(ids: [$id]) {
4981
4981
  id
@@ -4993,7 +4993,7 @@ const _ = new pi(), En = S`
4993
4993
  }
4994
4994
  }
4995
4995
  }
4996
- `, Ti = S`
4996
+ `, Ti = v`
4997
4997
  ${te(!1)}
4998
4998
  query GetWorkflowForTheme($id: String!) {
4999
4999
  workflow(id: $id) {
@@ -5015,7 +5015,7 @@ const _ = new pi(), En = S`
5015
5015
  }
5016
5016
  }
5017
5017
  }
5018
- `, Te = S`
5018
+ `, Te = v`
5019
5019
  fragment MarketplaceThemeInstallConfigurationFields on MarketplaceThemeInstallConfiguration {
5020
5020
  id
5021
5021
  themeInstallId
@@ -5089,14 +5089,14 @@ const _ = new pi(), En = S`
5089
5089
  }
5090
5090
  }
5091
5091
  }
5092
- `, Ni = S`
5092
+ `, Ni = v`
5093
5093
  ${Te}
5094
5094
  query GetMarketplaceThemeInstallConfiguration($themeConfigurationId: String!, $themeInstallId: String!) {
5095
5095
  marketplaceThemeInstallConfiguration(id: $themeConfigurationId, themeInstallId: $themeInstallId, raw: false) {
5096
5096
  ...MarketplaceThemeInstallConfigurationFields
5097
5097
  }
5098
5098
  }
5099
- `, Qi = S`
5099
+ `, Qi = v`
5100
5100
  ${En}
5101
5101
  ${Te}
5102
5102
  query GetCurrentIntegration($themeConfigurationId: String) {
@@ -5109,7 +5109,7 @@ const _ = new pi(), En = S`
5109
5109
  ...ActiveIntegrationFields
5110
5110
  }
5111
5111
  }
5112
- `, Ri = S`
5112
+ `, Ri = v`
5113
5113
  ${Te}
5114
5114
  query ReadTransactionForMarketplaceTheme($id: String!) {
5115
5115
  transactions(ids: [$id]) {
@@ -5118,7 +5118,7 @@ const _ = new pi(), En = S`
5118
5118
  }
5119
5119
  }
5120
5120
  }
5121
- `, Oi = S`
5121
+ `, Oi = v`
5122
5122
  ${Te}
5123
5123
  query ReadBundleForMarketplaceTheme($id: String!) {
5124
5124
  bundles(ids: [$id]) {
@@ -5127,7 +5127,7 @@ const _ = new pi(), En = S`
5127
5127
  }
5128
5128
  }
5129
5129
  }
5130
- `, $i = S`
5130
+ `, $i = v`
5131
5131
  mutation CreateOrder($orderItems: [OrderItemInput]!) {
5132
5132
  orderCreate(orderItems: $orderItems, paid: false, generateInternalId: true) {
5133
5133
  id
@@ -5316,15 +5316,15 @@ const Q = () => {
5316
5316
  viewBox: A,
5317
5317
  width: u
5318
5318
  }) => {
5319
- var E;
5320
- const h = e || 0, m = 2 * ((l == null ? void 0 : l.scale) || 1), g = A || { x: 0, y: 0, width: u, height: i }, p = `${g.x} ${g.y} ${g.width} ${g.height}`, f = Q(), C = a.purpose === Ht.FreeDesign && /* @__PURE__ */ F("defs", { children: /* @__PURE__ */ F("clipPath", { id: "viewboxClip", children: /* @__PURE__ */ F("rect", { width: g.width, height: g.height, rx: h }) }) }), w = (E = a.colorProfiles) == null ? void 0 : E.map((B, I) => (
5319
+ var B;
5320
+ const h = e || 0, m = 2 * ((l == null ? void 0 : l.scale) || 1), g = A || { x: 0, y: 0, width: u, height: i }, p = `${g.x} ${g.y} ${g.width} ${g.height}`, f = Q(), C = a.purpose === Ht.FreeDesign && /* @__PURE__ */ F("defs", { children: /* @__PURE__ */ F("clipPath", { id: "viewboxClip", children: /* @__PURE__ */ F("rect", { width: g.width, height: g.height, rx: h }) }) }), w = (B = a.colorProfiles) == null ? void 0 : B.map((E, I) => (
5321
5321
  /* @ts-ignore */
5322
- /* @__PURE__ */ F("color-profile", { name: B.name, xlinkHref: B.key, children: " " }, I)
5323
- )), y = n.map((B) => ({
5324
- ...B,
5322
+ /* @__PURE__ */ F("color-profile", { name: E.name, xlinkHref: E.key, children: " " }, I)
5323
+ )), S = n.map((E) => ({
5324
+ ...E,
5325
5325
  _renderingConfiguration: a,
5326
5326
  mask: l ? `url(#viewmask-${f})` : void 0
5327
- })), v = va(y);
5327
+ })), y = va(S);
5328
5328
  return /* @__PURE__ */ ct(
5329
5329
  "svg",
5330
5330
  {
@@ -5361,7 +5361,7 @@ const Q = () => {
5361
5361
  {
5362
5362
  id: "element-group",
5363
5363
  clipPath: a.purpose === Ht.FreeDesign ? "url(#viewboxClip)" : void 0,
5364
- children: v.map((B) => Qn(B)).filter((B) => !!B)
5364
+ children: y.map((E) => Qn(E)).filter((E) => !!E)
5365
5365
  }
5366
5366
  ),
5367
5367
  l && /* @__PURE__ */ F(
@@ -5403,12 +5403,12 @@ const Q = () => {
5403
5403
  }
5404
5404
  );
5405
5405
  }, xc = (r, t, e, a, n) => {
5406
- const i = pt(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, p = u * A - m * d, f = h * A - g * d, C = u * d + m * A, w = h * d + g * A, y = Math.max(Math.abs(p), Math.abs(f)), v = Math.max(Math.abs(C), Math.abs(w));
5406
+ const i = pt(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, p = u * A - m * d, f = h * A - g * d, C = u * d + m * A, w = h * d + g * A, S = Math.max(Math.abs(p), Math.abs(f)), y = Math.max(Math.abs(C), Math.abs(w));
5407
5407
  return {
5408
- minX: l - y,
5409
- maxX: l + y,
5410
- minY: c - v,
5411
- maxY: c + v
5408
+ minX: l - S,
5409
+ maxX: l + S,
5410
+ minY: c - y,
5411
+ maxY: c + y
5412
5412
  };
5413
5413
  }, Fc = (r, t, e) => {
5414
5414
  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));
@@ -5433,22 +5433,22 @@ const Q = () => {
5433
5433
  y: r.y + ((t == null ? void 0 : t.y) + (t == null ? void 0 : t.height)) * a
5434
5434
  }), Pt = (r) => {
5435
5435
  switch (r) {
5436
- case H.North:
5437
- return H.East;
5438
- case H.East:
5439
- return H.South;
5440
- case H.South:
5441
- return H.West;
5442
- case H.West:
5443
- return H.North;
5444
- case H.Northwest:
5445
- return H.Northeast;
5446
- case H.Northeast:
5447
- return H.Southeast;
5448
- case H.Southeast:
5449
- return H.Southwest;
5450
- case H.Southwest:
5451
- return H.Northwest;
5436
+ case j.North:
5437
+ return j.East;
5438
+ case j.East:
5439
+ return j.South;
5440
+ case j.South:
5441
+ return j.West;
5442
+ case j.West:
5443
+ return j.North;
5444
+ case j.Northwest:
5445
+ return j.Northeast;
5446
+ case j.Northeast:
5447
+ return j.Southeast;
5448
+ case j.Southeast:
5449
+ return j.Southwest;
5450
+ case j.Southwest:
5451
+ return j.Northwest;
5452
5452
  }
5453
5453
  }, Oc = (r, t) => t > 45 && t <= 135 ? Pt(r) : t > 135 && t <= 225 ? Pt(Pt(r)) : t > 225 && t <= 315 ? Pt(Pt(Pt(r))) : r, $c = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5454
5454
  const a = pt(r.rotation), n = {
@@ -5566,8 +5566,8 @@ const Q = () => {
5566
5566
  /* @__PURE__ */ F("feFuncB", { type: "discrete", tableValues: n() })
5567
5567
  ] })
5568
5568
  ] }) }) }), s = r.rotation || 0, o = pt(s), l = Math.cos(o), c = -Math.sin(o), d = () => {
5569
- var w, y, v, E, B, I, D, x, k, T;
5570
- const A = ((w = r.pattern) == null ? void 0 : w.x) || 0, u = ((y = r.pattern) == null ? void 0 : y.y) || 0, h = ((v = r.pattern) == null ? void 0 : v.width) || 0, m = ((E = r.pattern) == null ? void 0 : E.height) || 0, g = ((B = r.pattern) == null ? void 0 : B.scaleX) || 1, p = ((I = r.pattern) == null ? void 0 : I.scaleY) || 1, f = ((D = r.pattern) == null ? void 0 : D.rotation) || 0;
5569
+ var w, S, y, B, E, I, D, x, k, T;
5570
+ const A = ((w = r.pattern) == null ? void 0 : w.x) || 0, u = ((S = r.pattern) == null ? void 0 : S.y) || 0, h = ((y = r.pattern) == null ? void 0 : y.width) || 0, m = ((B = r.pattern) == null ? void 0 : B.height) || 0, g = ((E = r.pattern) == null ? void 0 : E.scaleX) || 1, p = ((I = r.pattern) == null ? void 0 : I.scaleY) || 1, f = ((D = r.pattern) == null ? void 0 : D.rotation) || 0;
5571
5571
  return [(x = r.pattern) != null && x.svg ? {
5572
5572
  id: `${t}-contents`,
5573
5573
  type: M.Illustration,
@@ -5713,8 +5713,8 @@ const Hi = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Ue = /* @_
5713
5713
  var m, g, p;
5714
5714
  if (h.type === "font-face" && h.declarations) {
5715
5715
  const f = (m = h.declarations.find(
5716
- (y) => y.property === "font-family"
5717
- )) == null ? void 0 : m.value, C = (g = h.declarations.find((y) => y.property === "src")) == null ? void 0 : g.value, w = (p = C == null ? void 0 : C.match(/'(https.*?)'/)) == null ? void 0 : p[1];
5716
+ (S) => S.property === "font-family"
5717
+ )) == null ? void 0 : m.value, C = (g = h.declarations.find((S) => S.property === "src")) == null ? void 0 : g.value, w = (p = C == null ? void 0 : C.match(/'(https.*?)'/)) == null ? void 0 : p[1];
5718
5718
  f && w && n.set(f, w);
5719
5719
  }
5720
5720
  });
@@ -5726,18 +5726,18 @@ const Hi = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Ue = /* @_
5726
5726
  0,
5727
5727
  0,
5728
5728
  parseInt(u.getAttribute("font-size") ?? "72")
5729
- ), y = w.getBoundingBox().x2 - w.getBoundingBox().x1;
5730
- let v = 0;
5731
- const E = A.getAttribute("text-anchor");
5732
- E === "middle" ? v = y / 2 : E === "end" && (v = y);
5733
- const B = g.getPath(
5729
+ ), S = w.getBoundingBox().x2 - w.getBoundingBox().x1;
5730
+ let y = 0;
5731
+ const B = A.getAttribute("text-anchor");
5732
+ B === "middle" ? y = S / 2 : B === "end" && (y = S);
5733
+ const E = g.getPath(
5734
5734
  A.innerHTML,
5735
- parseFloat(A.getAttribute("x") ?? "0") - v,
5735
+ parseFloat(A.getAttribute("x") ?? "0") - y,
5736
5736
  parseFloat(A.getAttribute("y") ?? "0"),
5737
5737
  parseInt(u.getAttribute("font-size") ?? "72")
5738
5738
  );
5739
- B.fill = p, B.stroke = f, B.strokeWidth = parseFloat(C ?? "0");
5740
- const I = B.toSVG(2), x = t.parseFromString(I, "image/svg+xml").firstElementChild;
5739
+ E.fill = p, E.stroke = f, E.strokeWidth = parseFloat(C ?? "0");
5740
+ const I = E.toSVG(2), x = t.parseFromString(I, "image/svg+xml").firstElementChild;
5741
5741
  h.appendChild(x);
5742
5742
  }
5743
5743
  return e.querySelectorAll("text").forEach((d) => d.remove()), bt().serializeToString(a);
@@ -5944,12 +5944,12 @@ const Hi = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Ue = /* @_
5944
5944
  },
5945
5945
  stroke: A,
5946
5946
  strokeWidth: u,
5947
- children: r.curved ? /* @__PURE__ */ F(as, { text: c, curvedPathId: i, align: r.align }) : d.map((w, y) => /* @__PURE__ */ F(
5947
+ children: r.curved ? /* @__PURE__ */ F(as, { text: c, curvedPathId: i, align: r.align }) : d.map((w, S) => /* @__PURE__ */ F(
5948
5948
  es,
5949
5949
  {
5950
5950
  align: r.vertical ? "center" : r.align,
5951
5951
  fontSize: r.fontSize,
5952
- thisLineIdx: y,
5952
+ thisLineIdx: S,
5953
5953
  amountLines: d.length,
5954
5954
  text: w,
5955
5955
  textboxHeight: r.height,
@@ -5958,7 +5958,7 @@ const Hi = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Ue = /* @_
5958
5958
  vertical: r.vertical,
5959
5959
  verticalAlign: r.verticalAlign
5960
5960
  },
5961
- y
5961
+ S
5962
5962
  ))
5963
5963
  }
5964
5964
  ) }) })
@@ -7727,7 +7727,7 @@ class Be {
7727
7727
  p,
7728
7728
  c && !t.data.forceImageCover ? { scale: c } : void 0,
7729
7729
  t.data.forceImageCover
7730
- ) : void 0, y = f ? {
7730
+ ) : void 0, S = f ? {
7731
7731
  id: Q(),
7732
7732
  src: f.src,
7733
7733
  x: (w == null ? void 0 : w.x) || 0,
@@ -7737,18 +7737,18 @@ class Be {
7737
7737
  scaleX: (w == null ? void 0 : w.zoom) || 1,
7738
7738
  scaleY: (w == null ? void 0 : w.zoom) || 1,
7739
7739
  rotation: 0
7740
- } : void 0, v = Q(), B = n.getLayouts().find((I) => I.panelId === m.panelId);
7741
- if (!B)
7740
+ } : void 0, y = Q(), E = n.getLayouts().find((I) => I.panelId === m.panelId);
7741
+ if (!E)
7742
7742
  throw new q(m);
7743
7743
  return {
7744
- command: this.getCreateElementCommand(v, m, B, {
7744
+ command: this.getCreateElementCommand(y, m, E, {
7745
7745
  frameData: p,
7746
- pattern: y,
7746
+ pattern: S,
7747
7747
  disablePlaceholder: t.data.disablePlaceholder,
7748
7748
  stepName: t.stepName
7749
7749
  }),
7750
7750
  regionEl: {
7751
- id: v,
7751
+ id: y,
7752
7752
  region: m
7753
7753
  },
7754
7754
  removeExistingCommands: C
@@ -7993,13 +7993,13 @@ class gs {
7993
7993
  if (!l)
7994
7994
  throw new qt(o);
7995
7995
  const c = await lt(await this.getIllustrationBody(l)), d = await Kt(c.svg), A = (C) => {
7996
- const w = i.getLayouts().find((v) => v.panelId === C.panelId);
7996
+ const w = i.getLayouts().find((y) => y.panelId === C.panelId);
7997
7997
  if (!w)
7998
7998
  throw new q(C);
7999
- const y = Q();
7999
+ const S = Q();
8000
8000
  return {
8001
- regionElement: { id: y, region: C },
8002
- command: this.getCreateElementCommand(y, C, w, {
8001
+ regionElement: { id: S, region: C },
8002
+ command: this.getCreateElementCommand(S, C, w, {
8003
8003
  stepName: t.stepName,
8004
8004
  src: l,
8005
8005
  objectURL: d,
@@ -8011,40 +8011,40 @@ class gs {
8011
8011
  const p = t.data.colorOption;
8012
8012
  return p && ((f = p.variants) == null || f.forEach((C) => {
8013
8013
  g = g.map((w) => {
8014
- var y;
8015
- return w.toLowerCase() === ((y = C.color) == null ? void 0 : y.toLowerCase()) ? C.name : w;
8014
+ var S;
8015
+ return w.toLowerCase() === ((S = C.color) == null ? void 0 : S.toLowerCase()) ? C.name : w;
8016
8016
  });
8017
8017
  })), i.updateMetadata(t.stepName, { colors: g }), {
8018
8018
  command: new $(m),
8019
8019
  followup: async () => {
8020
- var w, y;
8020
+ var w, S;
8021
8021
  await i.setSelectionsAndElements(
8022
8022
  t.stepName,
8023
8023
  [e],
8024
- u.map((v) => v.regionElement),
8024
+ u.map((y) => y.regionElement),
8025
8025
  async () => {
8026
8026
  i.setMandatoryFulfilled(t.stepName, !0), n(!1);
8027
8027
  }
8028
8028
  );
8029
8029
  const C = ((w = o.assetConfiguration) == null ? void 0 : w.defaultColorVariants) || [];
8030
8030
  if (C.length !== 0) {
8031
- const v = {};
8032
- (((y = o.assetConfiguration) == null ? void 0 : y.channelNumbers) || []).forEach((B) => {
8031
+ const y = {};
8032
+ (((S = o.assetConfiguration) == null ? void 0 : S.channelNumbers) || []).forEach((E) => {
8033
8033
  var D;
8034
- const I = C.find((x) => x.channelNumber === B.number);
8035
- I && (v[`${B.id.replace(/\W/g, "")}`] = { browserValue: ((D = I == null ? void 0 : I.variant) == null ? void 0 : D.color) || "" });
8034
+ const I = C.find((x) => x.channelNumber === E.number);
8035
+ I && (y[`${E.id.replace(/\W/g, "")}`] = { browserValue: ((D = I == null ? void 0 : I.variant) == null ? void 0 : D.color) || "" });
8036
8036
  }), await this.changeColors(
8037
8037
  t,
8038
- u.map((B) => B.regionElement),
8038
+ u.map((E) => E.regionElement),
8039
8039
  i,
8040
8040
  () => i.getCommandContext().getAllLayouts(),
8041
- new Map(Object.entries(v))
8041
+ new Map(Object.entries(y))
8042
8042
  );
8043
8043
  }
8044
8044
  if (t.data.colorPickerEnabled) {
8045
- const v = await this.availableColors(t, i) || [], E = Object.keys(c.colors), B = v.length === 1 && E.length === 1;
8046
- if (B) {
8047
- const I = v[0], D = E[0];
8045
+ const y = await this.availableColors(t, i) || [], B = Object.keys(c.colors), E = y.length === 1 && B.length === 1;
8046
+ if (E) {
8047
+ const I = y[0], D = B[0];
8048
8048
  await this.changeColors(
8049
8049
  t,
8050
8050
  u.map((x) => x.regionElement),
@@ -8053,7 +8053,7 @@ class gs {
8053
8053
  /* @__PURE__ */ new Map([[D, I.variant.color]])
8054
8054
  );
8055
8055
  }
8056
- !B && C.length === 0 && await this.changeColors(
8056
+ !E && C.length === 0 && await this.changeColors(
8057
8057
  t,
8058
8058
  u.map((I) => I.regionElement),
8059
8059
  i,
@@ -8801,13 +8801,13 @@ class bs {
8801
8801
  let g = t.data.defaultText || "";
8802
8802
  const p = e.getWorkflowExperience().getBundle();
8803
8803
  if (p && t.globalPropertyAspectConfigurations) {
8804
- const C = (s = p.getGlobalPropertyConfiguration()) == null ? void 0 : s.aspects, w = C == null ? void 0 : C.find((y) => {
8805
- var v;
8806
- return y.type === X.Text && ((v = t.globalPropertyAspectConfigurations) == null ? void 0 : v.map((E) => E.aspectName).includes(y.name));
8804
+ const C = (s = p.getGlobalPropertyConfiguration()) == null ? void 0 : s.aspects, w = C == null ? void 0 : C.find((S) => {
8805
+ var y;
8806
+ return S.type === X.Text && ((y = t.globalPropertyAspectConfigurations) == null ? void 0 : y.map((B) => B.aspectName).includes(S.name));
8807
8807
  });
8808
8808
  if (w) {
8809
- const v = p.getGlobalPropertyStateManager().getAspect(w.name);
8810
- v && (g = v);
8809
+ const y = p.getGlobalPropertyStateManager().getAspect(w.name);
8810
+ y && (g = y);
8811
8811
  }
8812
8812
  }
8813
8813
  e.updateStorage(t.stepName, {
@@ -9031,66 +9031,46 @@ class bs {
9031
9031
  }
9032
9032
  }
9033
9033
  async reload(t, e, a) {
9034
- var c, d, A, u, h;
9034
+ var c, d, A, u;
9035
9035
  const n = e.getSerializedStep(
9036
9036
  t.stepName,
9037
9037
  a.serializableWorkflow.steps
9038
- ), o = Object.values(a.layouts).map((m) => m.elements).flat().filter((m) => m.stepName === t.stepName), l = t.option;
9038
+ ), o = Object.values(a.layouts).map((h) => h.elements).flat().filter((h) => h.stepName === t.stepName), l = t.option;
9039
9039
  if (n != null && n.selectedVariants) {
9040
- const m = n.selectedVariants[0].id;
9041
- if (l && m) {
9042
- const g = (c = l.variants) == null ? void 0 : c.find((p) => p.id === m);
9043
- if (g) {
9044
- const p = await this.fontDataFromVariant(g), f = o.map((E) => ({ id: E.id, region: E.stepRegion })), C = (d = n.storage) == null ? void 0 : d.color;
9045
- let w = (A = n.storage) == null ? void 0 : A.text;
9046
- const y = e.getWorkflowExperience().getBundle();
9047
- if (y && t.globalPropertyAspectConfigurations) {
9048
- const E = (u = y.getGlobalPropertyConfiguration()) == null ? void 0 : u.aspects, B = E == null ? void 0 : E.find((I) => {
9049
- var D;
9050
- return I.type === X.Text && ((D = t.globalPropertyAspectConfigurations) == null ? void 0 : D.map((x) => x.aspectName).includes(I.name));
9040
+ const h = n.selectedVariants[0].id;
9041
+ if (l && h) {
9042
+ const m = (c = l.variants) == null ? void 0 : c.find((g) => g.id === h);
9043
+ if (m) {
9044
+ const g = await this.fontDataFromVariant(m), p = o.map((y) => ({ id: y.id, region: y.stepRegion })), f = (d = n.storage) == null ? void 0 : d.color;
9045
+ let C = (A = n.storage) == null ? void 0 : A.text;
9046
+ const w = e.getWorkflowExperience().getBundle();
9047
+ if (w && t.globalPropertyAspectConfigurations) {
9048
+ const y = (u = w.getGlobalPropertyConfiguration()) == null ? void 0 : u.aspects, B = y == null ? void 0 : y.find((E) => {
9049
+ var I;
9050
+ return E.type === X.Text && ((I = t.globalPropertyAspectConfigurations) == null ? void 0 : I.map((D) => D.aspectName).includes(E.name));
9051
9051
  });
9052
9052
  if (B) {
9053
- const D = y.getGlobalPropertyStateManager().getAspect(B.name);
9054
- D && (w = D);
9053
+ const I = w.getGlobalPropertyStateManager().getAspect(B.name);
9054
+ I && (C = I);
9055
9055
  }
9056
9056
  }
9057
9057
  await e.setSelectionsAndElements(
9058
9058
  t.stepName,
9059
- [g],
9060
- f,
9059
+ [m],
9060
+ p,
9061
9061
  async () => {
9062
- e.updateMetadata(t.stepName, { color: C, text: w }), e.updateStorage(t.stepName, { text: w, inputText: w });
9063
- const E = o.map((I) => new Wa(I.id, p)), B = new $(E);
9062
+ e.updateMetadata(t.stepName, { color: f, text: C }), e.updateStorage(t.stepName, { text: C, inputText: C });
9063
+ const y = o.map((E) => new Wa(E.id, g)), B = new $(y);
9064
9064
  e.getCommandDispatcher()(B);
9065
9065
  }
9066
9066
  );
9067
- const { command: v } = W.updateInputText(
9068
- w || "",
9067
+ const { command: S } = H.updateInputText(
9068
+ C || "",
9069
9069
  o,
9070
9070
  t,
9071
9071
  e
9072
9072
  );
9073
- v && e.getCommandDispatcher()(v);
9074
- }
9075
- }
9076
- } else {
9077
- const m = e.getWorkflowExperience().getBundle();
9078
- if (m && t.globalPropertyAspectConfigurations) {
9079
- const g = (h = m.getGlobalPropertyConfiguration()) == null ? void 0 : h.aspects, p = g == null ? void 0 : g.find((f) => {
9080
- var C;
9081
- return f.type === X.Text && ((C = t.globalPropertyAspectConfigurations) == null ? void 0 : C.map((w) => w.aspectName).includes(f.name));
9082
- });
9083
- if (p) {
9084
- const C = m.getGlobalPropertyStateManager().getAspect(p.name);
9085
- if (C) {
9086
- const { command: w } = W.updateInputText(
9087
- C,
9088
- o,
9089
- t,
9090
- e
9091
- );
9092
- w && e.getCommandDispatcher()(w);
9093
- }
9073
+ S && e.getCommandDispatcher()(S);
9094
9074
  }
9095
9075
  }
9096
9076
  }
@@ -9229,7 +9209,7 @@ class bs {
9229
9209
  colorProfileAssetKey: (g = p.colorProfile) == null ? void 0 : g.key
9230
9210
  });
9231
9211
  }
9232
- const C = await this.getDefaultColor(a), w = C || "#000000", y = {
9212
+ const C = await this.getDefaultColor(a), w = C || "#000000", S = {
9233
9213
  stepRegion: A,
9234
9214
  stepName: t,
9235
9215
  align: this.textAlign(a),
@@ -9253,34 +9233,34 @@ class bs {
9253
9233
  curved: a.curved,
9254
9234
  paths: a.paths,
9255
9235
  fillSpotColorDefinition: f
9256
- }, v = [], E = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
9257
- if (!y.fontData)
9236
+ }, y = [], B = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
9237
+ if (!S.fontData)
9258
9238
  throw new z("Failed to resolve font data for text.");
9259
9239
  const [I, D] = pe(
9260
- y.fontSize,
9261
- y.fontData,
9240
+ S.fontSize,
9241
+ S.fontData,
9262
9242
  {
9263
- left: y.x,
9264
- top: y.y,
9265
- width: y.width,
9266
- height: y.height,
9267
- rotation: y.rotation,
9243
+ left: S.x,
9244
+ top: S.y,
9245
+ width: S.width,
9246
+ height: S.height,
9247
+ rotation: S.rotation,
9268
9248
  panelId: ""
9269
9249
  },
9270
9250
  [l],
9271
9251
  { size: a.size, minSize: a.minSize, maxSize: a.maxSize }
9272
9252
  );
9273
- E.set(y.id, I), B.set(y.id, D);
9253
+ B.set(S.id, I), E.set(S.id, D);
9274
9254
  const x = a.curved || a.vertical ? l : (D || []).join(`
9275
9255
  `);
9276
- v.push(
9277
- this.generateTextChangeCommandsForRegion(I, a, y.id, x)
9256
+ y.push(
9257
+ this.generateTextChangeCommandsForRegion(I, a, S.id, x)
9278
9258
  );
9279
- const k = new G(y, h);
9259
+ const k = new G(S, h);
9280
9260
  return {
9281
9261
  regionElement: { id: m, region: A },
9282
- commands: [k, ...v],
9283
- newElement: y,
9262
+ commands: [k, ...y],
9263
+ newElement: S,
9284
9264
  fontData: n
9285
9265
  };
9286
9266
  } catch (p) {
@@ -9315,29 +9295,29 @@ class bs {
9315
9295
  */
9316
9296
  async changeInputTextWithRegion(t, e, a, n, i, s, o, l, c, d) {
9317
9297
  const A = (n || "").replace(/^(?![\u000A\u000D])[\u0000-\u001F\u007F-\u009F]/g, ""), u = this.getProcessedInput(A, t.data, o), h = s.getRegionElements(t.stepName), m = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
9318
- for (const y of h)
9319
- if (y.region) {
9320
- const [v, E] = pe(
9298
+ for (const S of h)
9299
+ if (S.region) {
9300
+ const [y, B] = pe(
9321
9301
  e,
9322
9302
  a,
9323
- y.region,
9303
+ S.region,
9324
9304
  [u],
9325
9305
  { size: t.data.size, minSize: t.data.minSize, maxSize: t.data.maxSize }
9326
9306
  );
9327
- m.set(y.id, v), g.set(y.id, E);
9307
+ m.set(S.id, y), g.set(S.id, B);
9328
9308
  }
9329
9309
  const f = (() => {
9330
9310
  if (t.data && t.data.maxLength && u.length > t.data.maxLength)
9331
9311
  return d && d(!0), { info: "0" };
9332
- const y = s.getProfanities(), v = Xe(u.toLowerCase());
9333
- for (const E of v)
9334
- for (const B in y) {
9335
- const I = y[B].toLowerCase().replace(/\s/g, "");
9336
- if (E === I)
9312
+ const S = s.getProfanities(), y = Xe(u.toLowerCase());
9313
+ for (const B of y)
9314
+ for (const E in S) {
9315
+ const I = S[E].toLowerCase().replace(/\s/g, "");
9316
+ if (B === I)
9337
9317
  return l(!0), { error: "Blocked profanity." };
9338
9318
  }
9339
9319
  return !t.data.vertical && !t.data.allowNewlines && (u.includes(`
9340
- `) || u.includes("\r")) ? (l(!0), { error: "Cannot span multiple lines." }) : !t.data.curved && !Array.from(g.values()).every((B) => B) ? (l(!0), { error: "Does not fit." }) : (l(!1), { info: (t.data.maxLength - u.length).toString() });
9320
+ `) || u.includes("\r")) ? (l(!0), { error: "Cannot span multiple lines." }) : !t.data.curved && !Array.from(g.values()).every((E) => E) ? (l(!0), { error: "Does not fit." }) : (l(!1), { info: (t.data.maxLength - u.length).toString() });
9341
9321
  })();
9342
9322
  if (f.error) {
9343
9323
  c(f.error);
@@ -9349,22 +9329,22 @@ class bs {
9349
9329
  text: this.injectReplaceableText(A, t.data)
9350
9330
  }), (i.defaultCleared || !t.data.deleteDefaultOnFocus) && A.trim() !== "" && s.setMandatoryFulfilled(t.stepName, !0);
9351
9331
  const C = [];
9352
- for (const y of h) {
9353
- const v = t.data.curved ? u : (g.get(y.id) || []).join(`
9332
+ for (const S of h) {
9333
+ const y = t.data.curved ? u : (g.get(S.id) || []).join(`
9354
9334
  `);
9355
9335
  C.push(
9356
9336
  this.generateTextChangeCommandsForRegion(
9357
- m.get(y.id) || 1,
9337
+ m.get(S.id) || 1,
9358
9338
  t.data,
9359
- y.id,
9360
- v
9339
+ S.id,
9340
+ y
9361
9341
  )
9362
9342
  );
9363
9343
  }
9364
9344
  return new $(C);
9365
9345
  }
9366
9346
  }
9367
- const W = new bs();
9347
+ const H = new bs();
9368
9348
  class Is {
9369
9349
  }
9370
9350
  const Ps = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ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/9gAO//EAD//dABD/pgAR/8kAEv+6ABP/7AAU/90AFf/OADH/xAAy/5IAM//sADT/3QA1/+cANv/xADf/9gA4/90AO/9WADz/5wA9//EAPv/sAD//5wBA/84AQf/dAEL/0wBD/+cARP/nAEX/5wBG/+cAR//dAEj/2ABJ/7oASv/JAEv/4gAsAAb/+wAH//sACP/xAAn/zgAK/+cAC//dAAz/9gAN/9gADv/tAA//7AAQ/+kAEf/rABL/3QAT/90AFP/hABX/3QAW/90AMf/nADL/vwAz/+cANP/nADX/8QA2//EAN//sADj/5wA5//YAOv/2ADv/4gA8//EAPf/2AD7/+wA///sAQP/2AEH/+wBC/+wAQ//7AET/7ABF/9MARv/7AEf/yQBI/84ASf+wAEr/xABL/+cADgAG//sACf/xAAv/7AAN//sADv/7AA8AAAAR//EAEv/0ABP/9gAU//EAFf/xABb/7AAx//YAQP/2ACkABv/7AAf/9gAI//sACf/iAAr/5wAL/+wADP/vAA3/3QAO//sAD//qABD/8QAR/+wAEv/nABP/8QAU/+cAFf/iABb/7AAx/+cAMv/vADP//AA0/+cANf/7ADb//gA4//EAOf/8ADr//AA7/+kAPP/6AD3//QA+//4AP//7AEL/6gBD//0ARP/2AEX/7ABG//EAR//YAEj/4gBJ/+wASv/LAEv//AAsAAb/+wAH//EACP/2AAn/0wAK/+IAC//JAAz/5wAN/90ADv/iAA//7AAQ/+cAEf/sABL/3QAT/9MAFP/iABX/zgAW/+cAMf/YADL/xAAz/+wANP/dADX/6AA2//EAN//xADj/4wA5//EAOv/2ADv/7AA8/+wAPf/sAD7/9gA//+wAQP/iAEH/8QBC/90AQ//nAET/5wBF/8QARv/mAEf/xABI/8kASf+1AEr/rQBL/+IALAAG//sAB//7AAj/9gAJ/9MACv/2AAv/ugAM/+kADf/dAA7/9gAP/+wAEP/2ABH/8AAS//EAE//2ABT/5wAV/9gAFv/sADH/vwAy/9UAM//eADT/3wA1//EANv/xADf/9gA4/+IAOf/xADr/9gA7/+wAPP/xAD3/9gA+//EAP//2AED/2ABB//EAQv/nAEP/9gBE/+cARf/TAEb/8QBH/9gASP/YAEn/xgBK/78AS//xACsABv/7AAf/9gAI/+wACf/TAAr/5wAL/90ADP/lAA3/zgAO/90AD//dABD/7AAR/+IAEv/iABP/2AAU/+IAFf/JABb/5wAx/90AMv/EADP/6wA0/+EANf/wADb/8AA4/9wAOf/dADr/7AA7/9gAPP/sAD3/5wA+/+wAP//iAED/0wBB/+IAQv/YAEP/4gBE/84ARf/JAEb/4gBH/8kASP/OAEn/vwBK/8kAS//TACwABv/7AAf/3wAI/+cACf+wAAr/4wAL/8kADP/dAA3/xwAO/+cAD//dABD/7AAR/+cAEv/iABP/yQAU/9cAFf+/ABb/4gAa/+kAMf/YADL/uwAz/+EANP/dADb/6wA3//MAOP/lADn/8QA6//IAO//eADz/5wA9/+4APv/zAD//8ABA/+IAQf/2AEL/6gBD//YARP/kAEX/zABG/+8AR/+0AEj/uwBJ/64ASv+vAEv/5QAsAAb/+wAH/90ACP/nAAn/4gAK/9MAC//nAAz/3QAN//YADv/eAA//3QAQ/7AAEf/OABL/sAAT//sAFP/dABX/0wAW/9MAMf/iADL/iAAz//YANP/OADX/9gA2//EAN//xADj/0wA5//YAOv/zADv/gAA8//EAPf/7AD7/+wA///YAQP/OAEH/7gBC/84AQ//2AET/2ABF//sARv/2AEf/5wBI/+cASf/TAEr/4gBL/+wALAAG//sAB//2AAj/8QAJ/9gACv/nAAv/3QAM/+IADf/dAA7/4gAP/+IAEP/nABH/5wAS/9gAE//YABT/3QAV/84AFv/sADH/5wAy/78AM//nADT/2AA1/+cANv/nADf/7AA4/90AOf/sADr/7AA7/+cAPP/sAD3/8QA+/+wAP//xAED/4gBB//EAQv/dAEP/5wBE/+IARf/YAEb/5wBH/78ASP/HAEn/sABK/7UAS//dACsABv/xAAf/8QAI/+IACf/dAAr/0wAL/+IADP/iAA3/3QAO/+cAD//dABD/zgAR/9MAEv/EABP/0wAU/84AFv/dADH/4gAy/6EAM//jADT/3QA1/+wANv/sADf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4//cAOf/7ADr//gA7/+4APP/+AD3//gA+//0AP//7AED/7wBB//4AQv/uAEP//gBE//cARf/7AEb/+QBH/+gASP/vAEn/6wBK/+gAS//+AB4ABv/7ABf/8wAa//4AHf/3ACX/9wAq//4AMf/2ADL/5AAz//0ANP/zADX/+wA2//4AN//+ADj/+QA7/+4APf/+AD7/+wA///4AQP/2AEH/+gBC/+4AQ//7AET/+QBF//sARv/+AEf/8wBI/+8ASf/zAEr/6wBL//4AHQAG//EAJP/3ADH/7AAy/7sAM//sADT/4wA1/+8ANv/vADf/9wA4/+QAOf/qADr/9wA7/98APP/vAD3/9wA+/+sAP//uAED/4wBB/+4AQv/mAEP/7wBE/+IARf/VAEb/7gBH/8MASP/GAEn/uwBK/7oAS//fABwABv/sACT//gAy/54AM//rADT/6gA1//EANv/rADf/9wA4/+MAOf/oADr/9wA7/64APP/sAD3/8QA+/+wAP//sAED/4QBB//MAQv/oAEP/5ABE/9gARf/kAEb/7gBH/9EASP/QAEn/uwBK/8QAS//zADAAF//3ABj//wAZ/+kAGv//ABv//QAc//4AHf/pAB7/+wAf//8AIP/iACH//gAi//8AI//+ACT//wAl/+IAJ//uACj//gAp/+cAKv/hACv/+QAs/8MALf/QAC7/5AAv/8wAMP//ADL/4QAz//4ANP/jADX/9wA3//kAOP/fADn/9wA7/+IAPP/5AD3/+gA+//EAP//6AED/2gBB/+8AQv/aAET/7wBF/9cARv/qAEf/xgBI/7sASf/qAEr/tABL//sAHQAG/+cAF//oACT/+gAy/+IAM//xADT/zAA1/+8ANv/sADf/+gA4/8wAOf/3ADr/8wA7/8kAPP/uAD3/7wA+/+wAP//rAED/yQBB//cAQv/MAEP/+ABE/9QARf/KAEb/2gBH/8EASP/EAEn/4gBK/7cAS//vAB0ABv/xABv/+QAl/+4AMv+8ADP/7wA0/9wANf/zADb/6AA3//cAOP/hADn/5gA6//MAO//aADz/6QA9//MAPv/pAD//6wBA/+MAQf/3AEL/2gBD/+kARP/rAEX/1ABG/+kAR//JAEj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iABP/2AAU/90AFf/dACT/+wAx/+wAMv+7ADP/9wA0/+QANf/rADb/5wA3//EAOP/kADn/+QA6//YAO//aADz/9wA9//4APv/uAD//8QBA/+cAQf/vAEL/4wBD/+sARP/cAEX/0ABG/+sAR//CAEj/xABJ/7QASv+6AEv/6AAmAAf/9gAI//EACf/sAAr/9gAM/+cADv/6AA//8QAQ//EAEf/vABL/4QAT//EAFP/iABX/5wAy/+kAM//9ADT/5wA1//sANv/9ADf//gA4/+sAOf/+ADoAAQA7/+gAPP/9AD3/9wA+//0AP//9AED/6wBBAAEAQv/pAEP/+QBE/+wARgACAEf/6QBI/+8ASf/nAEr/6wBL//sAKQAH//sACP/xAAn/5wAK/+4AC//2AAz/4gAN//sADv/1AA//8QAQ/90AEf/kABL/4gAT/+wAFP/YABX/3QAx//YAMv+5ADP/+AA0/+MANf/3ADb/+AA3//kAOP/iADn/+gA6//0AO//OADz//QA9//4APv/5AD///ABA/+YAQv/jAEP/9wBE/+YARf/vAEb//gBH/+cASP/vAEn/0QBK/+YAS//9ACgAB//2AAj/4gAJ/90ACv/sAAv/4gAM/+gADf/iAA7/9QAP/+gAEP/dABH/4AAS/+YAE//OABT/4gAV/90AJP/7ADH/9gAy/8EAM//vADT/3wA2//QAN//4ADj/4wA5/+kAOv/6ADv/0QA8/+YAPf/zAD7/6QA///EAQP/qAEL/3ABD/+gARP/fAEb/+ABH/7sASP+7AEn/rwBK/68AS//jACcACP/xAAn/7AAK//gADP/2AA7/9wAP//YAEP/xABH/5wAS/+cAE//xABT/7AAV/+UAMf/2ADL/6AAz//kANP/qADX/+wA2//oAN//7ADj/6wA5//cAOv//ADv/4wA8//sAPf/+AD7/+wA///oAQP/sAEH/+gBC/+MAQ//5AET/7wBF/+oARv/7AEf/4wBI/+wASf/jAEr/6gBL//4AJgAH//sACP/7AAn/5wAK//oADP/2AA7/9gAP//YAEP/xABH/8QAS//IAE//xABT/5wAV//EAMv/nADP/+wA0//EANf/9ADb//gA3//4AOP/uADn/+wA6//4AO//oAD0AAAA+//sAP//+AED/7wBB//4AQv/qAEP//wBE//EARf/3AEb/+wBH/+YASP/3AEn/2gBK/+QAS//7ACkAB//2AAj/9gAJ/90ACv/yAAz/8QAO//EAD//wABD/6gAR/+wAEv/mABP/9AAU/+wAFf/rABf/zgAx//YAMv/OADP/7wA0/+oANf/5ADb//gA3//0AOP/oADn/+QA6//0AO//YADz//gA9//8APv/6AD//+QBA/+4AQf/5AEL/4wBD//gARP/qAEX/+QBG//oAR//pAEj/6QBJ/9UASv/rAEv/+gAqAAf/sgAI/8kACf+wAAr/ugAL/7UADP+1AA3/3QAO/+QAD/+6ABD/sgAR/7UAEv+xABP/4gAU/6sAFf+mADH/lwAy/9oAM//jADT/qwA1/+IANv/iADf/4wA4/5oAOf/XADr/7gA7/7QAPP/kAD3/6wA+/+4AP//mAED/rQBB/+8AQv+qAEP/6gBE/74ARf/XAEb/2gBH/9AASP/SAEn/1QBK/80AS//qACsAB//nAAj/8QAJ/6YACv/sAAv/nAAM/90ADf+6AA7/9gAP/+IAEP/sABH/3QAS/9oAE//sABT/3QAV/8QAJP/+ADH/pgAy/+sAM//vADT/ygA1//0ANv/zADf/+wA4/9MAOf/vADr/+wA7/9gAPP/3AD3/9wA+//EAP//7AED/1QBB//cAQv/PAEP/8wBE/+YARf+7AEb/5wBH/7UASP/JAEn/2gBK/6UAS//zACkAB//2AAn/7AAK//kAC//sAAz/9gAO//oAD//2ABD/7AAR/+cAEv/vABP/9gAU//EAFf/sABcAAQAx/+YAMv/pADP/+QA0/+oANf/zADb/+wA3//oAOP/nADn/9wA6//4AO//uADz/+QA9//oAPv/7AD//+QBA/+8AQf/3AEL/6QBD//oARP/sAEX/8wBG//gAR//pAEj/6QBJ/+MASv/nAEv//QAqAAf/9gAI//sACf/sAAr/9wAL/+wADP/7AA7/+gAP//EAEP/2ABH/7AAS//EAE//2ABT/9gAV/+QAFwABADH/8QAy/+kAM//3ADT/6QA1//kANv/5ADf/+QA4/+8AOf/6ADr//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T/+wAx/6EAMv/aADP/4wA0/7cANf/4ADb/4wA3//0AOP+3ADn/7gA6/+8AO/+7ADz/7gA9//EAPv/jAD//6ABA/7oAQf/zAEL/uQBD/+sARP/OAEX/3wBG/+EAR//aAEj/2ABJ/9gASv/MAEv/7gAsAAf/yQAI/84ACf/JAAr/wgAL/8kADP/JAA3//gAO/8kAD/+6ABD/jQAR/7oAEv+gABP/4gAU/7UAFf+6AB7/8QAk//sAMf+1ADL/lwAz/+8ANP+7ADX/5gA2/+4AN//uADj/uQA5/+gAOv/3ADv/hAA8/+8APf/sAD7/7AA//+oAQP+6AEH/7ABC/7kAQ//pAET/ygBF/+8ARv/vAEf/6ABI/+kASf/fAEr/5ABL//EAJgAH//YACf/iAAr/7AAL/+cADP/iAA3//wAO//UAD//nABD/7AAR/+IAEv/gABP/7AAU/90AFf/TADH/4gAy/+sAM//+ADT/6AA1//4ANgAEADf//wA4/9wAOf/6ADv/5gA8//8APf//AD///QBA/+MAQf//AEMAAABE/+8ARf/4AEb/+wBH//cASP/rAEn/6QBK/+kAS//9AAIAAQAGAEsAAAAAAAAAAQAAAADUGBYRAAAAANmXsTQAAAAA2ZexNA==", et = (r) => xr("http://www.w3.org/2000/svg", r), Ds = (r, t) => {
@@ -9523,14 +9503,14 @@ class Ns extends Is {
9523
9503
  const a = qi(Ps), i = t !== "" ? ((w) => w.charAt(0).toUpperCase() + w.substr(1).toLowerCase())(t) : "", s = a.getPath(i, 0, 72, 72), o = s.toSVG(2), l = s.getBoundingBox(), c = l.x2 - l.x1, d = s.toPathData(3), A = () => {
9524
9504
  const w = et("g");
9525
9505
  w.classList.add("module-text-group");
9526
- const y = et("defs");
9527
- w.appendChild(y), y.appendChild(xs(0, 2, 2, "shadow"));
9528
- const v = et("path");
9529
- v.setAttribute("d", d), v.setAttribute("stroke", "black"), v.setAttribute("stroke-width", "3"), y.appendChild(v);
9530
- const E = et("g");
9531
- E.classList.add("module-layer0"), w.appendChild(E), E.setAttribute("filter", "url(#shadow)"), E.innerHTML = v.outerHTML;
9506
+ const S = et("defs");
9507
+ w.appendChild(S), S.appendChild(xs(0, 2, 2, "shadow"));
9508
+ const y = et("path");
9509
+ y.setAttribute("d", d), y.setAttribute("stroke", "black"), y.setAttribute("stroke-width", "3"), S.appendChild(y);
9532
9510
  const B = et("g");
9533
- B.classList.add("module-layer1"), w.appendChild(B), B.setAttribute("stroke-width", "3"), B.setAttribute("stroke", "rgb(45,41,38)"), B.setAttribute("fill", "rgb(45,41,38)"), B.setAttribute("transform", "translate(0.5,0)"), B.innerHTML = o;
9511
+ B.classList.add("module-layer0"), w.appendChild(B), B.setAttribute("filter", "url(#shadow)"), B.innerHTML = y.outerHTML;
9512
+ const E = et("g");
9513
+ E.classList.add("module-layer1"), w.appendChild(E), E.setAttribute("stroke-width", "3"), E.setAttribute("stroke", "rgb(45,41,38)"), E.setAttribute("fill", "rgb(45,41,38)"), E.setAttribute("transform", "translate(0.5,0)"), E.innerHTML = o;
9534
9514
  const I = et("g");
9535
9515
  I.classList.add("module-layer2"), w.appendChild(I), I.setAttribute("fill", "rgb(255,209,0)"), I.setAttribute("transform", "translate(1,-0.1)"), I.innerHTML = o;
9536
9516
  const D = et("g");
@@ -9556,7 +9536,7 @@ async function qn(r) {
9556
9536
  return new Ns();
9557
9537
  throw new z(`Failed to resolve Module, Module ${r} not found`);
9558
9538
  }
9559
- const ne = S`
9539
+ const ne = v`
9560
9540
  fragment GlobalPropertyStateAspectFields on GlobalPropertyStateAspect {
9561
9541
  name
9562
9542
  value
@@ -9578,7 +9558,7 @@ const ne = S`
9578
9558
  }
9579
9559
  }
9580
9560
  }
9581
- `, Qs = S`
9561
+ `, Qs = v`
9582
9562
  ${ne}
9583
9563
  mutation CreateGlobalPropertyState($bundleId: String!) {
9584
9564
  globalPropertyStateCreate(bundleId: $bundleId) {
@@ -9588,7 +9568,7 @@ const ne = S`
9588
9568
  }
9589
9569
  }
9590
9570
  }
9591
- `, Rs = S`
9571
+ `, Rs = v`
9592
9572
  ${ne}
9593
9573
  mutation UpdateGlobalPropertyState($id: String!, $aspects: [GlobalPropertyStateAspectInput]!) {
9594
9574
  globalPropertyStateUpdate(id: $id, aspects: $aspects) {
@@ -9598,7 +9578,7 @@ const ne = S`
9598
9578
  }
9599
9579
  }
9600
9580
  }
9601
- `, Os = S`
9581
+ `, Os = v`
9602
9582
  ${ne}
9603
9583
  query GetGlobalPropertyState($bundleId: String!) {
9604
9584
  globalPropertyState(bundleId: $bundleId) {
@@ -9615,7 +9595,7 @@ const ne = S`
9615
9595
  variables: {
9616
9596
  bundleId: r
9617
9597
  }
9618
- })).data.globalPropertyState, $s = S`
9598
+ })).data.globalPropertyState, $s = v`
9619
9599
  ${Me}
9620
9600
  fragment ProductFields on Product {
9621
9601
  id
@@ -9660,7 +9640,7 @@ const ne = S`
9660
9640
  name
9661
9641
  }
9662
9642
  }
9663
- `, ba = S`
9643
+ `, ba = v`
9664
9644
  ${$s}
9665
9645
  fragment ProductCollectionProductFields on ProductCollectionProduct {
9666
9646
  id
@@ -9670,7 +9650,7 @@ const ne = S`
9670
9650
  ...ProductFields
9671
9651
  }
9672
9652
  }
9673
- `, re = (r) => S`
9653
+ `, re = (r) => v`
9674
9654
  ${r ? ba : ""}
9675
9655
  fragment ProductCollectionFields on ProductCollection {
9676
9656
  id
@@ -9728,7 +9708,7 @@ const ne = S`
9728
9708
  }
9729
9709
  }
9730
9710
  }
9731
- `, Us = (r) => S`
9711
+ `, Us = (r) => v`
9732
9712
  ${ne}
9733
9713
  ${re(r)}
9734
9714
  query GetBundle($id: String!) {
@@ -9772,7 +9752,7 @@ const ne = S`
9772
9752
  quoteId
9773
9753
  }
9774
9754
  }
9775
- `, qa = S`
9755
+ `, qa = v`
9776
9756
  query GetBundleStakeholders($id: String!) {
9777
9757
  bundles(ids: [$id]) {
9778
9758
  id
@@ -9817,7 +9797,7 @@ const ne = S`
9817
9797
  }
9818
9798
  }
9819
9799
  }
9820
- `, Ls = S`
9800
+ `, Ls = v`
9821
9801
  query GetBundlesForCustomer($id: String!) {
9822
9802
  customers(ids: [$id]) {
9823
9803
  bundleStakeholders {
@@ -9846,7 +9826,7 @@ const ne = S`
9846
9826
  }
9847
9827
  }
9848
9828
  }
9849
- `, Vs = S`
9829
+ `, Vs = v`
9850
9830
  ${ba}
9851
9831
  query GetProductCollectionProducts($id: String!, $productIds: [String!]) {
9852
9832
  productCollections(ids: [$id], productIds: $productIds) {
@@ -9856,7 +9836,7 @@ const ne = S`
9856
9836
  }
9857
9837
  }
9858
9838
  }
9859
- `, zs = S`
9839
+ `, zs = v`
9860
9840
  query GetProductCollectionForFilteredProducts(
9861
9841
  $id: String!
9862
9842
  $filters: ProductCollectionProductFilterInput
@@ -9879,7 +9859,7 @@ const ne = S`
9879
9859
  }
9880
9860
  }
9881
9861
  }
9882
- `, Gs = S`
9862
+ `, Gs = v`
9883
9863
  ${ba}
9884
9864
  query GetProductCollectionForProductsFeed(
9885
9865
  $id: String!
@@ -9907,7 +9887,7 @@ const ne = S`
9907
9887
  }
9908
9888
  }
9909
9889
  }
9910
- `, Ws = (r) => S`
9890
+ `, Ws = (r) => v`
9911
9891
  ${re(r)}
9912
9892
  mutation CreateBundle(
9913
9893
  $collectionId: String
@@ -9936,7 +9916,7 @@ const ne = S`
9936
9916
  }
9937
9917
  }
9938
9918
  }
9939
- `, js = (r) => S`
9919
+ `, js = (r) => v`
9940
9920
  ${ne}
9941
9921
  ${re(r)}
9942
9922
  mutation DuplicateBundle(
@@ -9978,7 +9958,7 @@ const ne = S`
9978
9958
  }
9979
9959
  }
9980
9960
  }
9981
- `, Hs = S`
9961
+ `, Hs = v`
9982
9962
  mutation UpdateBundle(
9983
9963
  $id: String!
9984
9964
  $name: String
@@ -9998,19 +9978,19 @@ const ne = S`
9998
9978
  id
9999
9979
  }
10000
9980
  }
10001
- `, qs = S`
9981
+ `, qs = v`
10002
9982
  mutation BundleAddTransaction($id: String!, $transactionId: String!) {
10003
9983
  bundleAddTransaction(id: $id, transactionId: $transactionId) {
10004
9984
  id
10005
9985
  }
10006
9986
  }
10007
- `, Ys = S`
9987
+ `, Ys = v`
10008
9988
  mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
10009
9989
  bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
10010
9990
  id
10011
9991
  }
10012
9992
  }
10013
- `, Js = S`
9993
+ `, Js = v`
10014
9994
  mutation BundleRemoveTransaction(
10015
9995
  $id: String!
10016
9996
  $transactionId: String!
@@ -10025,7 +10005,7 @@ const ne = S`
10025
10005
  id
10026
10006
  }
10027
10007
  }
10028
- `, Ks = S`
10008
+ `, Ks = v`
10029
10009
  mutation BundleRemoveTransactions(
10030
10010
  $id: String!
10031
10011
  $transactionIds: [String!]!
@@ -10040,7 +10020,7 @@ const ne = S`
10040
10020
  id
10041
10021
  }
10042
10022
  }
10043
- `, _s = S`
10023
+ `, _s = v`
10044
10024
  mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
10045
10025
  bundleAddStakeholder(id: $id, details: $details, type: $type) {
10046
10026
  id
@@ -10060,13 +10040,13 @@ const ne = S`
10060
10040
  }
10061
10041
  }
10062
10042
  }
10063
- `, Xs = S`
10043
+ `, Xs = v`
10064
10044
  mutation BundleAddStakeholder($id: String!, $emailAddress: String!) {
10065
10045
  bundleRemoveStakeholder(id: $id, emailAddress: $emailAddress) {
10066
10046
  id
10067
10047
  }
10068
10048
  }
10069
- `, Zs = S`
10049
+ `, Zs = v`
10070
10050
  mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
10071
10051
  bundleUpdateStakeholders(id: $id, input: $input) {
10072
10052
  id
@@ -10086,13 +10066,13 @@ const ne = S`
10086
10066
  }
10087
10067
  }
10088
10068
  }
10089
- `, to = S`
10069
+ `, to = v`
10090
10070
  mutation BundleUpdateTransactionOrder($id: String!, $transactionIds: [String!]!) {
10091
10071
  bundleUpdateTransactionOrder(id: $id, transactionIds: $transactionIds) {
10092
10072
  id
10093
10073
  }
10094
10074
  }
10095
- `, eo = (r) => S`
10075
+ `, eo = (r) => v`
10096
10076
  ${re(r)}
10097
10077
  mutation BundleAssignProductCollection($id: String!, $productCollectionId: String!) {
10098
10078
  bundleAssignProductCollection(id: $id, collectionId: $productCollectionId) {
@@ -10102,13 +10082,13 @@ const ne = S`
10102
10082
  }
10103
10083
  }
10104
10084
  }
10105
- `, ao = S`
10085
+ `, ao = v`
10106
10086
  mutation AssignGlobalPropertyConfiguration($bundleId: String!, $globalPropertyConfigurationId: String!) {
10107
10087
  bundleUpdate(id: $bundleId, globalPropertyConfigurationId: $globalPropertyConfigurationId) {
10108
10088
  id
10109
10089
  }
10110
10090
  }
10111
- `, no = (r) => S`
10091
+ `, no = (r) => v`
10112
10092
  query CustomerBundlesFeed($id: String!, $limit: Int!, $offset: Int!, $template: Boolean, $templateStatus: BundleTemplateStatus, $ordered: Boolean) {
10113
10093
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: $template, templateStatus: $templateStatus, ordered: $ordered) {
10114
10094
  items {
@@ -10142,27 +10122,27 @@ const ne = S`
10142
10122
  total
10143
10123
  }
10144
10124
  }
10145
- `, ro = S`
10125
+ `, ro = v`
10146
10126
  mutation FinalizeUpdateBundle($bundleId: String!) {
10147
10127
  bundleFinalizeUpdate(bundleId: $bundleId)
10148
10128
  }
10149
- `, io = S`
10129
+ `, io = v`
10150
10130
  mutation ApproveBundle($id: String!, $note: String, $stakeholderId: String) {
10151
10131
  bundleApprove(id: $id, note: $note, stakeholderId: $stakeholderId)
10152
10132
  }
10153
- `, so = S`
10133
+ `, so = v`
10154
10134
  mutation RejectBundle($id: String!, $note: String, $stakeholderId: String) {
10155
10135
  bundleReject(id: $id, note: $note, stakeholderId: $stakeholderId)
10156
10136
  }
10157
- `, oo = S`
10137
+ `, oo = v`
10158
10138
  mutation ApproveTransaction($id: String!, $note: String) {
10159
10139
  transactionApprove(id: $id, note: $note)
10160
10140
  }
10161
- `, lo = S`
10141
+ `, lo = v`
10162
10142
  mutation RejectTransaction($id: String!, $note: String) {
10163
10143
  transactionReject(id: $id, note: $note)
10164
10144
  }
10165
- `, co = S`
10145
+ `, co = v`
10166
10146
  mutation CreateRecipient(
10167
10147
  $firstName: String
10168
10148
  $lastName: String
@@ -10190,7 +10170,7 @@ const ne = S`
10190
10170
  id
10191
10171
  }
10192
10172
  }
10193
- `, Ao = S`
10173
+ `, Ao = v`
10194
10174
  mutation UpdateRecipient(
10195
10175
  $id: String!
10196
10176
  $firstName: String
@@ -10220,7 +10200,7 @@ const ne = S`
10220
10200
  id
10221
10201
  }
10222
10202
  }
10223
- `, uo = S`
10203
+ `, uo = v`
10224
10204
  mutation AtttachRecipient($id: String!, $recipientId: String!) {
10225
10205
  transactionAttachRecipient(id: $id, recipientId: $recipientId) {
10226
10206
  id
@@ -10245,19 +10225,19 @@ class mo {
10245
10225
  constructor(t, e, a, n, i, s, o, l, c, d, A, u, h, m = !1, g, p = !1, f = !1, C = !1) {
10246
10226
  var w;
10247
10227
  this.workflowStatePromiseQueue = new xn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.renderLayouts = () => {
10248
- var E;
10228
+ var B;
10249
10229
  if (!this.previewService)
10250
10230
  return;
10251
- const y = this.getCommandContext().getAllLayouts(), v = (E = this.getLayoutPreviewService()) == null ? void 0 : E.getAll();
10252
- if (v)
10253
- for (const [, B] of v)
10254
- B.render(y);
10255
- }, this.experience = t, this.client = e, this.updateTransaction = o, this.graphQlClient = l, this.commandContext = s, this.reloadedState = h, this.transaction = c, this.readOnly = m, this.singleVariantsRenderable = f, this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.workflow = a, this.stepSpecificServices = {}, this.profanityFilter = n, this.pollers = [], this.allScenes = [], this.layouts = i, this.product = d, this.previewService = A, this.modelContainer = g, this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.confirmCallbacks = [], this.editedCallbacks = [], this.elementsCallbacks = [], this.informationResultCallbacks = [], this.initCallbacks = [], this.mandatoryCallbacks = [], this.makingAdjustmentsCallback = [], this.metadataCallbacks = [], this.selectionCallbacks = [], this.stepSpecificStorageCallbacks = {}, this.storageCallbacks = [], this.validationCallbacks = [], this.recipientCallbacks = [], this.currentAdjustingStepId = "", this.renderableContextService = u, (w = this.renderableContextService) == null || w.setWorkflowManager(this), this.isReloadedTransaction = p, this.workflow.steps.forEach((y) => {
10256
- this.stepTags[y.stepName] = y.tags ?? [];
10231
+ const S = this.getCommandContext().getAllLayouts(), y = (B = this.getLayoutPreviewService()) == null ? void 0 : B.getAll();
10232
+ if (y)
10233
+ for (const [, E] of y)
10234
+ E.render(S);
10235
+ }, this.experience = t, this.client = e, this.updateTransaction = o, this.graphQlClient = l, this.commandContext = s, this.reloadedState = h, this.transaction = c, this.readOnly = m, this.singleVariantsRenderable = f, this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.workflow = a, this.stepSpecificServices = {}, this.profanityFilter = n, this.pollers = [], this.allScenes = [], this.layouts = i, this.product = d, this.previewService = A, this.modelContainer = g, this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.confirmCallbacks = [], this.editedCallbacks = [], this.elementsCallbacks = [], this.informationResultCallbacks = [], this.initCallbacks = [], this.mandatoryCallbacks = [], this.makingAdjustmentsCallback = [], this.metadataCallbacks = [], this.selectionCallbacks = [], this.stepSpecificStorageCallbacks = {}, this.storageCallbacks = [], this.validationCallbacks = [], this.recipientCallbacks = [], this.currentAdjustingStepId = "", this.renderableContextService = u, (w = this.renderableContextService) == null || w.setWorkflowManager(this), this.isReloadedTransaction = p, this.workflow.steps.forEach((S) => {
10236
+ this.stepTags[S.stepName] = S.tags ?? [];
10257
10237
  }), C && (this.workflowStatePromiseQueue.enabled = !1), this.initializationPromise = this.initializeDefaultWorkflowState(a), this.initializationPromise.then(() => {
10258
10238
  this.initialized = !0;
10259
- }), this.initializationPromise.catch((y) => {
10260
- throw console.error(y), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
10239
+ }), this.initializationPromise.catch((S) => {
10240
+ throw console.error(S), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
10261
10241
  }), this.initializationPromise.finally(
10262
10242
  () => this.getCommandContext().registerStateCallback(() => {
10263
10243
  this.updateStateWithServer(), this.renderLayouts();
@@ -10813,19 +10793,19 @@ class mo {
10813
10793
  ), this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, await this.ensureStepsAreLoaded();
10814
10794
  }
10815
10795
  async setSelectionsAndElements(t, e, a, n) {
10816
- var v;
10796
+ var y;
10817
10797
  const i = this.stepSelections;
10818
10798
  this.stepSelections = {
10819
10799
  ...this.stepSelections,
10820
10800
  [t]: { selectedVariants: e }
10821
- }, this.selectionCost = Object.values(this.stepSelections).reduce((E, B) => E + B.selectedVariants.map((I) => I.priceModifier || 0).reduce((I, D) => I + D, 0), 0), this.workflow.steps.forEach((E) => {
10822
- yt(E, this.stepSelections) || (this.stepInitialised[E.stepName] = !1, delete this.stepMetadata[E.stepName], delete this.stepSelections[E.stepName], delete this.storage[E.stepName]);
10801
+ }, this.selectionCost = Object.values(this.stepSelections).reduce((B, E) => B + E.selectedVariants.map((I) => I.priceModifier || 0).reduce((I, D) => I + D, 0), 0), this.workflow.steps.forEach((B) => {
10802
+ yt(B, this.stepSelections) || (this.stepInitialised[B.stepName] = !1, delete this.stepMetadata[B.stepName], delete this.stepSelections[B.stepName], delete this.storage[B.stepName]);
10823
10803
  });
10824
- const s = this.allScenes, o = Dt(s, i), l = Dt(s, this.stepSelections), c = o.map((E) => E.silentSteps).flat(), A = l.map((E) => E.silentSteps).flat().filter(
10825
- (E) => !c.some((B) => B.stepName === E.stepName)
10804
+ const s = this.allScenes, o = Dt(s, i), l = Dt(s, this.stepSelections), c = o.map((B) => B.silentSteps).flat(), A = l.map((B) => B.silentSteps).flat().filter(
10805
+ (B) => !c.some((E) => E.stepName === B.stepName)
10826
10806
  );
10827
- c.forEach((E) => {
10828
- yt(E, this.stepSelections) || (this.stepInitialised[E.stepName] = !1);
10807
+ c.forEach((B) => {
10808
+ yt(B, this.stepSelections) || (this.stepInitialised[B.stepName] = !1);
10829
10809
  });
10830
10810
  const u = this.getInvalidCanvasRegions(), { stepElements: h, commands: m } = await this.stepElementsForIntroducedSilentSteps(A, !1);
10831
10811
  this.stepElements = {
@@ -10833,25 +10813,25 @@ class mo {
10833
10813
  ...h,
10834
10814
  [t]: a
10835
10815
  }, this.removeElements(u);
10836
- const g = this.workflow.steps.find((E) => E.stepName === t);
10816
+ const g = this.workflow.steps.find((B) => B.stepName === t);
10837
10817
  if ((g == null ? void 0 : g.type) === P.Frame) {
10838
- const E = (v = this.getWorkflowExperience().getStepById(g.stepName)) == null ? void 0 : v.frameService;
10839
- E == null || E.setTargetElements(a.map((B) => B.id));
10818
+ const B = (y = this.getWorkflowExperience().getStepById(g.stepName)) == null ? void 0 : y.frameService;
10819
+ B == null || B.setTargetElements(a.map((E) => E.id));
10840
10820
  }
10841
- const p = u.map((E) => new Bt(E.id)), f = new Ga(this.constructSerializableWorkflow()), C = [...m, ...p, f];
10821
+ const p = u.map((B) => new Bt(B.id)), f = new Ga(this.constructSerializableWorkflow()), C = [...m, ...p, f];
10842
10822
  C.length > 0 && this.commandContext.apply(new $(C), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
10843
- const w = this.getInvalidModelVariants(), y = this.modelContainer;
10844
- if (y) {
10845
- const E = w.map(
10846
- (B) => y.applyModelVariant(
10847
- B,
10823
+ const w = this.getInvalidModelVariants(), S = this.modelContainer;
10824
+ if (S) {
10825
+ const B = w.map(
10826
+ (E) => S.applyModelVariant(
10827
+ E,
10848
10828
  {
10849
10829
  contextService: this.getLayoutPreviewService()
10850
10830
  },
10851
10831
  !1
10852
10832
  )
10853
10833
  );
10854
- await Promise.all(E);
10834
+ await Promise.all(B);
10855
10835
  }
10856
10836
  await this.onSelectionChange(), n && await n();
10857
10837
  }
@@ -10906,7 +10886,7 @@ class mo {
10906
10886
  a.push(zt.init(l, this, this.reloadedState));
10907
10887
  break;
10908
10888
  case P.Text:
10909
- a.push(W.init(l, this, this.reloadedState));
10889
+ a.push(H.init(l, this, this.reloadedState));
10910
10890
  break;
10911
10891
  }
10912
10892
  const i = (await Promise.allSettled(a)).map((l) => {
@@ -11388,7 +11368,7 @@ class So extends it {
11388
11368
  * @param variant The font variant to use.
11389
11369
  */
11390
11370
  async selectVariant(t) {
11391
- W.selectVariant(
11371
+ H.selectVariant(
11392
11372
  this.step,
11393
11373
  t.getResource(),
11394
11374
  this.manager,
@@ -11415,7 +11395,7 @@ class So extends it {
11415
11395
  * @returns A list of colors that can be used to fill the text.
11416
11396
  */
11417
11397
  getAvailableFillColors() {
11418
- return this.step.data.colorPickerEnabled ? W.availableFillColors(this.step) : [];
11398
+ return this.step.data.colorPickerEnabled ? H.availableFillColors(this.step) : [];
11419
11399
  }
11420
11400
  /**
11421
11401
  * Changes the fill of text related to this step to the new fill value.
@@ -11423,7 +11403,7 @@ class So extends it {
11423
11403
  */
11424
11404
  async setFillColor(t) {
11425
11405
  const e = this.manager.getRegionElements(this.step.stepName);
11426
- await W.changeFillColor(this.step, t, e, this.manager);
11406
+ await H.changeFillColor(this.step, t, e, this.manager);
11427
11407
  }
11428
11408
  /**
11429
11409
  * Gets the color currently applied to the element.
@@ -11433,23 +11413,23 @@ class So extends it {
11433
11413
  return ((t = this.manager.getStepStorage(this.step.stepName)) == null ? void 0 : t.color) || "#000000";
11434
11414
  }
11435
11415
  getAvailableFillImages() {
11436
- return W.availableFillImages(this.step);
11416
+ return H.availableFillImages(this.step);
11437
11417
  }
11438
11418
  async setFillImage(t) {
11439
11419
  const e = this.manager.getRegionElements(this.step.stepName);
11440
- await W.changeFillImage(this.step, t, e, this.manager);
11420
+ await H.changeFillImage(this.step, t, e, this.manager);
11441
11421
  }
11442
11422
  getFillImage() {
11443
11423
  var t;
11444
11424
  return (t = this.manager.getStepStorage(this.step.stepName)) == null ? void 0 : t.fillImage;
11445
11425
  }
11446
11426
  getAlignment() {
11447
- const t = W.findLayoutElements(this.manager, this.step);
11427
+ const t = H.findLayoutElements(this.manager, this.step);
11448
11428
  return t == null ? void 0 : t[0].align;
11449
11429
  }
11450
11430
  setAlignment(t) {
11451
11431
  const e = this.manager.getRegionElements(this.step.stepName);
11452
- W.changeAlignment(this.step, t, e, this.manager);
11432
+ H.changeAlignment(this.step, t, e, this.manager);
11453
11433
  }
11454
11434
  /**
11455
11435
  * When true & the step has replaceable text configured the user will be
@@ -11474,11 +11454,11 @@ class So extends it {
11474
11454
  const e = {
11475
11455
  input: t,
11476
11456
  helperData: {}
11477
- }, a = W.findLayoutElements(this.manager, this.step), n = W.filterUnsupportedCharacters(t, (d = a[0]) == null ? void 0 : d.fontData), i = !!this.step.data && !!this.step.data.maxLength && n.length > this.step.data.maxLength;
11457
+ }, a = H.findLayoutElements(this.manager, this.step), n = H.filterUnsupportedCharacters(t, (d = a[0]) == null ? void 0 : d.fontData), i = !!this.step.data && !!this.step.data.maxLength && n.length > this.step.data.maxLength;
11478
11458
  i || (e.input = n);
11479
11459
  const s = a.length <= 0, o = s ? { inputText: n, text: n } : { inputText: n };
11480
11460
  this.manager.updateStorage(this.step.stepName, o);
11481
- const l = this.manager.getStepStorage(this.step.stepName), c = W.getProcessedInput(
11461
+ const l = this.manager.getStepStorage(this.step.stepName), c = H.getProcessedInput(
11482
11462
  n,
11483
11463
  this.step.data,
11484
11464
  !!l.customiseAllText
@@ -11488,7 +11468,7 @@ class So extends it {
11488
11468
  text: c
11489
11469
  });
11490
11470
  else {
11491
- const { command: A, errorData: u, helperData: h } = W.updateInputText(
11471
+ const { command: A, errorData: u, helperData: h } = H.updateInputText(
11492
11472
  n,
11493
11473
  a,
11494
11474
  this.step,
@@ -11527,8 +11507,8 @@ class So extends it {
11527
11507
  if (!(t != null && t.defaultCleared) && this.step.data.deleteDefaultOnFocus) {
11528
11508
  const e = this.setText("");
11529
11509
  this.manager.updateStorage(this.step.stepName, { defaultCleared: !0, inputText: "" });
11530
- const a = W.findLayoutElements(this.manager, this.step);
11531
- return W.updateInputText("", a, this.step, this.manager), e;
11510
+ const a = H.findLayoutElements(this.manager, this.step);
11511
+ return H.updateInputText("", a, this.step, this.manager), e;
11532
11512
  }
11533
11513
  }
11534
11514
  hasColorPicker() {
@@ -11565,7 +11545,7 @@ class So extends it {
11565
11545
  * @returns A list of colors that can be used for the text's outline.
11566
11546
  */
11567
11547
  getAvailableStrokeColors() {
11568
- return this.step.data.strokeEnabled ? W.availableStrokeColors(this.step) : [];
11548
+ return this.step.data.strokeEnabled ? H.availableStrokeColors(this.step) : [];
11569
11549
  }
11570
11550
  getStrokeColor() {
11571
11551
  var t, e;
@@ -11577,7 +11557,7 @@ class So extends it {
11577
11557
  */
11578
11558
  async setStrokeColor(t) {
11579
11559
  const e = this.manager.getRegionElements(this.step.stepName);
11580
- await W.changeStrokeColor(this.step, t, e, this.manager);
11560
+ await H.changeStrokeColor(this.step, t, e, this.manager);
11581
11561
  }
11582
11562
  }
11583
11563
  class vo extends it {
@@ -11698,7 +11678,7 @@ class ce {
11698
11678
  }
11699
11679
  }
11700
11680
  }
11701
- const Jn = S`
11681
+ const Jn = v`
11702
11682
  fragment CreateDesignTransaction on Transaction {
11703
11683
  id
11704
11684
  designName
@@ -11723,7 +11703,7 @@ const Jn = S`
11723
11703
  externalProductVariantId
11724
11704
  }
11725
11705
  }
11726
- `, bo = S`
11706
+ `, bo = v`
11727
11707
  ${Jn}
11728
11708
  mutation CreateDesign(
11729
11709
  $name: String!
@@ -11755,7 +11735,7 @@ const Jn = S`
11755
11735
  }
11756
11736
  }
11757
11737
  }
11758
- `, Io = S`
11738
+ `, Io = v`
11759
11739
  ${Jn}
11760
11740
  mutation CreateDesigns($inputs: [DesignCreateInput]!) {
11761
11741
  designCreateMany(inputs: $inputs) {
@@ -11945,37 +11925,37 @@ const Po = async (r, t) => {
11945
11925
  for (const T of Object.keys(i)) {
11946
11926
  const nt = i[T], R = t.steps.find((tt) => tt.stepName === T);
11947
11927
  for (let tt = 0; tt < nt.selections.length; ++tt) {
11948
- const j = nt.selections[tt];
11928
+ const W = nt.selections[tt];
11949
11929
  if (R && (!D || R.option && (R.option.variants || []).length > 1 && !R.data.hideSelectionInCart && !R.data.hideSelectionsInCart)) {
11950
11930
  const ft = R.stepTitle;
11951
11931
  x[ft] ? x[ft].push({
11952
- id: j.id || "",
11953
- name: j.name,
11954
- priceModifier: j.priceModifier
11932
+ id: W.id || "",
11933
+ name: W.name,
11934
+ priceModifier: W.priceModifier
11955
11935
  }) : x[ft] = [
11956
11936
  {
11957
- id: j.id || "",
11958
- name: j.name,
11959
- priceModifier: j.priceModifier
11937
+ id: W.id || "",
11938
+ name: W.name,
11939
+ priceModifier: W.priceModifier
11960
11940
  }
11961
11941
  ];
11962
11942
  }
11963
- k += j.priceModifier;
11943
+ k += W.priceModifier;
11964
11944
  }
11965
11945
  }
11966
11946
  return [x, k];
11967
11947
  }, [C] = await f(!0), w = Object.fromEntries(
11968
11948
  Object.keys(C).map((D) => [D, C[D].map((x) => x.id)])
11969
- ), [y] = await f(!1), v = Object.fromEntries(
11970
- Object.keys(y).map((D) => [
11949
+ ), [S] = await f(!1), y = Object.fromEntries(
11950
+ Object.keys(S).map((D) => [
11971
11951
  D,
11972
- y[D].map((x) => x.id)
11952
+ S[D].map((x) => x.id)
11973
11953
  ])
11974
11954
  );
11975
- let E = await o(m, n.id);
11976
- if (E) {
11977
- const D = await (await rt(E)).blob();
11978
- E = (await U.uploadAsset(
11955
+ let B = await o(m, n.id);
11956
+ if (B) {
11957
+ const D = await (await rt(B)).blob();
11958
+ B = (await U.uploadAsset(
11979
11959
  { name: `${n.id}-preview-image.png`, blob: D },
11980
11960
  Ce.Image,
11981
11961
  !0,
@@ -11993,7 +11973,7 @@ const Po = async (r, t) => {
11993
11973
  workflowId: t.id,
11994
11974
  transactionId: n.id,
11995
11975
  useThreeDimPreview: !!m,
11996
- previewImage: E
11976
+ previewImage: B
11997
11977
  };
11998
11978
  if (p) {
11999
11979
  const x = [];
@@ -12003,7 +11983,7 @@ const Po = async (r, t) => {
12003
11983
  }
12004
11984
  if (w) {
12005
11985
  const x = [];
12006
- for (const [k, T] of Object.entries(v))
11986
+ for (const [k, T] of Object.entries(y))
12007
11987
  x.push({ key: k, ids: T });
12008
11988
  D.selectedVariants = x;
12009
11989
  }
@@ -12159,7 +12139,7 @@ class Mo {
12159
12139
  throw new z("Unexpected storage method requested");
12160
12140
  }
12161
12141
  }
12162
- const qe = new Mo(), To = S`
12142
+ const qe = new Mo(), To = v`
12163
12143
  mutation AddTransactionStakeholder($id: String!, $type: String!, $details: CustomerDetailsInput!) {
12164
12144
  transactionAddStakeholder(id: $id, details: $details, type: $type) {
12165
12145
  id
@@ -12173,7 +12153,7 @@ const qe = new Mo(), To = S`
12173
12153
  }
12174
12154
  }
12175
12155
  }
12176
- `, No = S`
12156
+ `, No = v`
12177
12157
  mutation AddAddressToTransaction(
12178
12158
  $transactionId: String!
12179
12159
  $streetAddress: String
@@ -12195,7 +12175,7 @@ const qe = new Mo(), To = S`
12195
12175
  id
12196
12176
  }
12197
12177
  }
12198
- `, Qo = S`
12178
+ `, Qo = v`
12199
12179
  mutation AddOrganizationToTransaction($transactionId: String!, $organizationName: String!) {
12200
12180
  organizationAttachToTransaction(transactionId: $transactionId, organizationName: $organizationName) {
12201
12181
  id
@@ -12315,9 +12295,9 @@ class Oo {
12315
12295
  }
12316
12296
  let i = 2048;
12317
12297
  e && e <= 2048 && (i = e);
12318
- const s = gt(i, i), o = this.commandContext.getAllLayouts(), l = a.defaultPreviewPanelIndex || 0, c = a.panels[l], d = o.find((y) => {
12319
- var v;
12320
- return ((v = y.layoutState) == null ? void 0 : v.layout.panelId) === (c == null ? void 0 : c.name);
12298
+ const s = gt(i, i), o = this.commandContext.getAllLayouts(), l = a.defaultPreviewPanelIndex || 0, c = a.panels[l], d = o.find((S) => {
12299
+ var y;
12300
+ return ((y = S.layoutState) == null ? void 0 : y.layout.panelId) === (c == null ? void 0 : c.name);
12321
12301
  }) || o[0], A = d.layoutState.layout.previewRegion ? {
12322
12302
  x: d.layoutState.layout.previewRegion.left,
12323
12303
  y: d.layoutState.layout.previewRegion.top,
@@ -12729,17 +12709,17 @@ const $o = [
12729
12709
  return console.error(o), [];
12730
12710
  }
12731
12711
  }, Vo = async (r, t, e, a) => {
12732
- var v, E;
12712
+ var y, B;
12733
12713
  const n = e.data, i = a.option;
12734
12714
  if (!i)
12735
12715
  return console.error(`No option for step ${a.stepName}.`), [];
12736
- const s = ((v = i.variants) == null ? void 0 : v.find((B) => B.id === n.illustrationVariantId)) || ae(i);
12716
+ const s = ((y = i.variants) == null ? void 0 : y.find((E) => E.id === n.illustrationVariantId)) || ae(i);
12737
12717
  if (!s)
12738
12718
  return console.error(`No variant with ID: ${n.illustrationVariantId}`), [];
12739
12719
  if (!s.asset)
12740
12720
  return console.error(`No asset for variant with ID: ${n.illustrationVariantId}`), [];
12741
12721
  t[a.stepName] = { selectedVariants: [s] };
12742
- const o = (E = s.asset) == null ? void 0 : E.fileLink;
12722
+ const o = (B = s.asset) == null ? void 0 : B.fileLink;
12743
12723
  if (!o)
12744
12724
  return console.error(`No asset link for variant with ID: ${n.illustrationVariantId}`), [];
12745
12725
  const l = await at(o, !0), c = /<svg.*?<\/svg>/s, d = l.match(c) || [], A = (d == null ? void 0 : d.length) > 0 ? d[0] : "", m = dt().parseFromString(A, "image/svg+xml").firstElementChild;
@@ -12747,32 +12727,32 @@ const $o = [
12747
12727
  return console.error("Failed to read SVG."), [];
12748
12728
  pa(m);
12749
12729
  const g = {};
12750
- kt(m, (B) => {
12751
- $o.includes(B.tagName) && !B.attributes.getNamedItem("fill") && B.setAttribute("fill", "#000000");
12752
- const I = B.attributes.getNamedItem("fill");
12730
+ kt(m, (E) => {
12731
+ $o.includes(E.tagName) && !E.attributes.getNamedItem("fill") && E.setAttribute("fill", "#000000");
12732
+ const I = E.attributes.getNamedItem("fill");
12753
12733
  if (I && I.value !== "none") {
12754
12734
  const x = I.value, T = `spiff-fill-${x.replace(/\W/g, "")}`;
12755
- B.classList.add(T), g[T] = { browserValue: x };
12735
+ E.classList.add(T), g[T] = { browserValue: x };
12756
12736
  }
12757
- const D = B.attributes.getNamedItem("stroke");
12737
+ const D = E.attributes.getNamedItem("stroke");
12758
12738
  if (D && D.value !== "none") {
12759
12739
  const x = D.value, T = `spiff-stroke-${x.replace(/\W/g, "")}`;
12760
- B.classList.add(T), g[T] = { browserValue: x };
12740
+ E.classList.add(T), g[T] = { browserValue: x };
12761
12741
  }
12762
12742
  });
12763
12743
  const f = bt().serializeToString(m), C = n.colors;
12764
12744
  if (C) {
12765
- for (const [B, I] of Object.entries(g))
12745
+ for (const [E, I] of Object.entries(g))
12766
12746
  for (const D of Object.keys(C))
12767
12747
  if (I.browserValue === D) {
12768
- g[B] = { browserValue: C[D] };
12748
+ g[E] = { browserValue: C[D] };
12769
12749
  break;
12770
12750
  }
12771
12751
  }
12772
- const w = (B) => {
12773
- const I = r.find((x) => x.panelId === B.panelId);
12752
+ const w = (E) => {
12753
+ const I = r.find((x) => x.panelId === E.panelId);
12774
12754
  if (!I)
12775
- throw new q(B);
12755
+ throw new q(E);
12776
12756
  const D = Q();
12777
12757
  return new G(
12778
12758
  {
@@ -12780,22 +12760,22 @@ const $o = [
12780
12760
  id: D,
12781
12761
  svg: f,
12782
12762
  type: M.Illustration,
12783
- y: B.top,
12784
- x: B.left,
12785
- rotation: B.rotation,
12786
- width: B.width,
12787
- height: B.height,
12788
- layer: B.layer,
12789
- layerIndex: B.layerIndex,
12790
- immutable: B.immutable
12763
+ y: E.top,
12764
+ x: E.left,
12765
+ rotation: E.rotation,
12766
+ width: E.width,
12767
+ height: E.height,
12768
+ layer: E.layer,
12769
+ layerIndex: E.layerIndex,
12770
+ immutable: E.immutable
12791
12771
  },
12792
12772
  I
12793
12773
  );
12794
- }, y = a.data.regions;
12774
+ }, S = a.data.regions;
12795
12775
  try {
12796
- return y.map(w);
12797
- } catch (B) {
12798
- return console.error(B), [];
12776
+ return S.map(w);
12777
+ } catch (E) {
12778
+ return console.error(E), [];
12799
12779
  }
12800
12780
  }, zo = async (r, t, e) => {
12801
12781
  const a = await qn(e.data.module), n = t.data, i = (o, l) => {
@@ -12999,7 +12979,7 @@ const $o = [
12999
12979
  const p = a.option;
13000
12980
  if (!p)
13001
12981
  return;
13002
- const f = ((w = p.variants) == null ? void 0 : w.find((y) => y.id === i.fontVariantId)) || ae(p);
12982
+ const f = ((w = p.variants) == null ? void 0 : w.find((S) => S.id === i.fontVariantId)) || ae(p);
13003
12983
  if (!f || !f.asset)
13004
12984
  return;
13005
12985
  t[a.stepName] = { selectedVariants: [f] };
@@ -13051,7 +13031,7 @@ const $o = [
13051
13031
  y: p.top
13052
13032
  };
13053
13033
  if (d) {
13054
- const [w, y] = pe(
13034
+ const [w, S] = pe(
13055
13035
  a.data.size || s,
13056
13036
  d,
13057
13037
  p,
@@ -13072,7 +13052,7 @@ const $o = [
13072
13052
  {
13073
13053
  ...C,
13074
13054
  fontSize: w,
13075
- text: C.curved ? C.text : (y || []).join(`
13055
+ text: C.curved ? C.text : (S || []).join(`
13076
13056
  `)
13077
13057
  },
13078
13058
  f
@@ -14142,7 +14122,7 @@ class sl {
14142
14122
  };
14143
14123
  }
14144
14124
  }
14145
- const ol = S`
14125
+ const ol = v`
14146
14126
  query GetManyMetafields($entityIds: [String!]!) {
14147
14127
  metafieldsMany(entityIds: $entityIds) {
14148
14128
  id
@@ -14350,15 +14330,15 @@ class Zn {
14350
14330
  let A = !1;
14351
14331
  const u = c.subscribe({
14352
14332
  next(h) {
14353
- var g, p, f, C, w, y;
14333
+ var g, p, f, C, w, S;
14354
14334
  if (A || h.partial && (!h.data.productCollections || h.data.productCollections.length === 0 || !((g = h.data.productCollections[0].productCollectionProductsFeed) != null && g.items) || ((p = h.data.productCollections[0].productCollectionProductsFeed) == null ? void 0 : p.items.length) === 0))
14355
14335
  return;
14356
14336
  o.abort(), A = !0, u.unsubscribe();
14357
- const m = ((C = (f = h.data.productCollections) == null ? void 0 : f[0].productCollectionProductsFeed) == null ? void 0 : C.items.filter((v) => !!v.product).map((v) => new de(St(v)))) || [];
14337
+ const m = ((C = (f = h.data.productCollections) == null ? void 0 : f[0].productCollectionProductsFeed) == null ? void 0 : C.items.filter((y) => !!y.product).map((y) => new de(St(y)))) || [];
14358
14338
  d({
14359
14339
  items: m,
14360
14340
  // Clone items because it could be cached data (immutable)
14361
- total: ((y = (w = h.data.productCollections) == null ? void 0 : w[0].productCollectionProductsFeed) == null ? void 0 : y.total) ?? 0
14341
+ total: ((S = (w = h.data.productCollections) == null ? void 0 : w[0].productCollectionProductsFeed) == null ? void 0 : S.total) ?? 0
14362
14342
  });
14363
14343
  },
14364
14344
  error() {
@@ -14588,7 +14568,7 @@ class ul {
14588
14568
  };
14589
14569
  }
14590
14570
  }
14591
- const hl = S`
14571
+ const hl = v`
14592
14572
  ${re(!1)}
14593
14573
  query GetProductCollections($ids: [String!]!) {
14594
14574
  productCollections(ids: $ids) {
@@ -14632,7 +14612,7 @@ class ml {
14632
14612
  delete this.listeners[e];
14633
14613
  }
14634
14614
  }
14635
- const gl = S`
14615
+ const gl = v`
14636
14616
  mutation AddAddressToBundle(
14637
14617
  $bundleId: String!
14638
14618
  $streetAddress: String
@@ -14654,13 +14634,13 @@ const gl = S`
14654
14634
  id
14655
14635
  }
14656
14636
  }
14657
- `, pl = S`
14637
+ `, pl = v`
14658
14638
  mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
14659
14639
  organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
14660
14640
  id
14661
14641
  }
14662
14642
  }
14663
- `, fl = S`
14643
+ `, fl = v`
14664
14644
  mutation GenerateQuoteId($id: String!) {
14665
14645
  bundleGenerateQuoteId(id: $id) {
14666
14646
  id
@@ -15348,7 +15328,7 @@ class Ye {
15348
15328
  };
15349
15329
  }
15350
15330
  }
15351
- const Cl = S`
15331
+ const Cl = v`
15352
15332
  mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
15353
15333
  processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
15354
15334
  id
@@ -15382,7 +15362,7 @@ class wl {
15382
15362
  let o = !1, l = 0, c, d;
15383
15363
  for (; !o; ) {
15384
15364
  c = await b.getShadowGraphqlClient().query({
15385
- query: S`
15365
+ query: v`
15386
15366
  query getProcessFlowExecution($ids: [String]!) {
15387
15367
  processExecutions(ids: $ids) {
15388
15368
  id
@@ -15570,7 +15550,7 @@ class Ka {
15570
15550
  return t.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new jt(e));
15571
15551
  }
15572
15552
  }
15573
- const ue = S`
15553
+ const ue = v`
15574
15554
  query GetCustomer($emailAddress: String!) {
15575
15555
  customer(emailAddress: $emailAddress) {
15576
15556
  id
@@ -15581,7 +15561,7 @@ const ue = S`
15581
15561
  }
15582
15562
  }
15583
15563
  }
15584
- `, vl = S`
15564
+ `, vl = v`
15585
15565
  mutation CustomerCreate($details: CustomerDetailsInput!) {
15586
15566
  customerCreate(details: $details) {
15587
15567
  id
@@ -15592,7 +15572,7 @@ const ue = S`
15592
15572
  }
15593
15573
  }
15594
15574
  `;
15595
- S`
15575
+ v`
15596
15576
  mutation CustomerAuthenticate($loginToken: String!) {
15597
15577
  customerAuthenticate(loginToken: $loginToken) {
15598
15578
  id
@@ -15623,12 +15603,12 @@ S`
15623
15603
  }
15624
15604
  }
15625
15605
  `;
15626
- const El = S`
15606
+ const El = v`
15627
15607
  mutation CustomerGenerateVerificationCode($emailAddress: String!) {
15628
15608
  customerGenerateVerificationCode(emailAddress: $emailAddress)
15629
15609
  }
15630
15610
  `;
15631
- S`
15611
+ v`
15632
15612
  mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
15633
15613
  customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
15634
15614
  id
@@ -15660,7 +15640,7 @@ S`
15660
15640
  }
15661
15641
  }
15662
15642
  `;
15663
- const Bl = S`
15643
+ const Bl = v`
15664
15644
  query CustomerMetafields($id: String!) {
15665
15645
  metafields(entityId: $id) {
15666
15646
  id
@@ -15826,7 +15806,7 @@ class rd {
15826
15806
  } catch (a) {
15827
15807
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15828
15808
  }
15829
- }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.8df40afe-7c62-5d5d-915d-0ee804b43849"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15809
+ }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.6d6dd4dc-2aec-564c-ae65-7de7a7c56854"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15830
15810
  }
15831
15811
  configure(t) {
15832
15812
  mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && $r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
@@ -15927,13 +15907,13 @@ class rd {
15927
15907
  if (o != null && o.has(t) && o.get(t) && await this.reloadLoggedInCustomer()) {
15928
15908
  const C = ((h = (u = this.customer) == null ? void 0 : u.bundleStakeholders) == null ? void 0 : h.find(
15929
15909
  (w) => {
15930
- var y, v;
15931
- return (v = (y = w.bundle) == null ? void 0 : y.transactions) == null ? void 0 : v.some((E) => E.id === t);
15910
+ var S, y;
15911
+ return (y = (S = w.bundle) == null ? void 0 : S.transactions) == null ? void 0 : y.some((B) => B.id === t);
15932
15912
  }
15933
15913
  )) || ((g = (m = this.customer) == null ? void 0 : m.stakeholders) == null ? void 0 : g.find(
15934
15914
  (w) => {
15935
- var y;
15936
- return ((y = w.transaction) == null ? void 0 : y.id) === t;
15915
+ var S;
15916
+ return ((S = w.transaction) == null ? void 0 : S.id) === t;
15937
15917
  }
15938
15918
  ));
15939
15919
  if (C)
@@ -16155,7 +16135,7 @@ class rd {
16155
16135
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
16156
16136
  */
16157
16137
  async getExistingBundle(t, e, a, n) {
16158
- var h, m, g, p, f, C, w, y, v, E, B;
16138
+ var h, m, g, p, f, C, w, S, y, B, E;
16159
16139
  const i = N.getMap("bundleOwnerIds"), s = i == null ? void 0 : i.get(t), o = {};
16160
16140
  try {
16161
16141
  const I = await this.loggedInBearerToken();
@@ -16180,11 +16160,11 @@ class rd {
16180
16160
  });
16181
16161
  if (!((f = c.data) != null && f.bundles) || ((C = c.data) == null ? void 0 : C.bundles.length) === 0 || !((w = c.data) != null && w.bundles[0]))
16182
16162
  throw new Error(`Unable to find bundle: ${t}`);
16183
- const d = (y = c.data) == null ? void 0 : y.bundles[0], A = N.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16163
+ const d = (S = c.data) == null ? void 0 : S.bundles[0], A = N.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16184
16164
  A.set(d.id, d.partner.id), N.setMap("bundlePartnerIds", A);
16185
16165
  const u = new Ye(this, d, e, a, s, {
16186
- additionalHeaders: (v = n == null ? void 0 : n.graphql) == null ? void 0 : v.additionalHeaders,
16187
- eagerFetchProducts: (B = (E = n == null ? void 0 : n.graphql) == null ? void 0 : E.productCollection) == null ? void 0 : B.eagerFetchProducts,
16166
+ additionalHeaders: (y = n == null ? void 0 : n.graphql) == null ? void 0 : y.additionalHeaders,
16167
+ eagerFetchProducts: (E = (B = n == null ? void 0 : n.graphql) == null ? void 0 : B.productCollection) == null ? void 0 : E.eagerFetchProducts,
16188
16168
  existingGlobalPropertyState: c.data.globalPropertyState,
16189
16169
  readonly: n == null ? void 0 : n.readonly
16190
16170
  });
@@ -16197,13 +16177,13 @@ class rd {
16197
16177
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
16198
16178
  */
16199
16179
  async duplicateBundle(t, e, a, n) {
16200
- var h, m, g, p, f, C, w, y;
16180
+ var h, m, g, p, f, C, w, S;
16201
16181
  const i = (h = N.getMap("bundleOwnerIds")) == null ? void 0 : h.get(t), s = {};
16202
16182
  try {
16203
- const v = await this.loggedInBearerToken();
16204
- s.Authorization = `Bearer ${v}`;
16183
+ const y = await this.loggedInBearerToken();
16184
+ s.Authorization = `Bearer ${y}`;
16205
16185
  } catch {
16206
- const B = ((m = Object.entries(localStorage).find(([D, x]) => D.startsWith("CognitoIdentityServiceProvider") && D.endsWith("idToken"))) == null ? void 0 : m[0]) || "", I = localStorage.getItem(B);
16186
+ const E = ((m = Object.entries(localStorage).find(([D, x]) => D.startsWith("CognitoIdentityServiceProvider") && D.endsWith("idToken"))) == null ? void 0 : m[0]) || "", I = localStorage.getItem(E);
16207
16187
  I && !Wt(I) && (s.Authorization = `Bearer ${I}`);
16208
16188
  }
16209
16189
  const o = {
@@ -16231,7 +16211,7 @@ class rd {
16231
16211
  const A = N.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
16232
16212
  A.set(c.id, c.bundleOwnerId), N.setMap("bundleOwnerIds", A);
16233
16213
  const u = new Ye(this, c, void 0, void 0, c.bundleOwnerId, {
16234
- eagerFetchProducts: (y = (w = n == null ? void 0 : n.graphql) == null ? void 0 : w.productCollection) == null ? void 0 : y.eagerFetchProducts,
16214
+ eagerFetchProducts: (S = (w = n == null ? void 0 : n.graphql) == null ? void 0 : w.productCollection) == null ? void 0 : S.eagerFetchProducts,
16235
16215
  existingGlobalPropertyState: c.globalPropertyState
16236
16216
  });
16237
16217
  return await u.getInitializationPromise(), u;
@@ -16304,20 +16284,20 @@ class rd {
16304
16284
  async getWorkflowExperiences(t, e) {
16305
16285
  if (t.length === 0)
16306
16286
  throw new ut("No options provided!");
16307
- const a = b.getShadowGraphqlClient(), n = async (v) => {
16287
+ const a = b.getShadowGraphqlClient(), n = async (y) => {
16308
16288
  var D, x, k;
16309
- if (v.length === 0)
16289
+ if (y.length === 0)
16310
16290
  return [];
16311
- const E = v.map((T) => T.option.transactionId), B = await a.query({
16291
+ const B = y.map((T) => T.option.transactionId), E = await a.query({
16312
16292
  query: Ci,
16313
16293
  variables: {
16314
- ids: E
16294
+ ids: B
16315
16295
  },
16316
16296
  errorPolicy: "all",
16317
16297
  fetchPolicy: "no-cache"
16318
- }), I = B.data.transactions;
16319
- if (I.length !== v.length) {
16320
- const T = ((x = (D = B.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16298
+ }), I = E.data.transactions;
16299
+ if (I.length !== y.length) {
16300
+ const T = ((x = (D = E.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16321
16301
  throw new ut(`Not all transactions were found: ${T}`);
16322
16302
  }
16323
16303
  return !this.activeIntegration && ((k = I[0].integrationProduct) != null && k.integration) && (this.activeIntegration = Promise.resolve(I[0].integrationProduct.integration)), I.map((T, nt) => {
@@ -16325,18 +16305,18 @@ class rd {
16325
16305
  return {
16326
16306
  transaction: T,
16327
16307
  workflowId: T.workflowId,
16328
- readOnly: ((R = v.find((tt) => tt.option.transactionId === T.id)) == null ? void 0 : R.option.readOnly) ?? !1,
16329
- index: v[nt].index
16308
+ readOnly: ((R = y.find((tt) => tt.option.transactionId === T.id)) == null ? void 0 : R.option.readOnly) ?? !1,
16309
+ index: y[nt].index
16330
16310
  };
16331
16311
  });
16332
- }, i = async (v) => {
16312
+ }, i = async (y) => {
16333
16313
  var I, D, x;
16334
- if (v.length === 0)
16314
+ if (y.length === 0)
16335
16315
  return [];
16336
- const E = await a.mutate({
16316
+ const B = await a.mutate({
16337
16317
  mutation: fi,
16338
16318
  variables: {
16339
- inputs: v.map((k) => ({
16319
+ inputs: y.map((k) => ({
16340
16320
  integrationProductId: k.option.type === "integration" ? k.option.integrationProductId : void 0,
16341
16321
  externalIntegrationId: k.option.type === "external" ? k.option.externalIntegrationId : void 0,
16342
16322
  externalProductId: k.option.type === "external" ? k.option.externalProductId : void 0,
@@ -16349,38 +16329,38 @@ class rd {
16349
16329
  },
16350
16330
  errorPolicy: "all",
16351
16331
  fetchPolicy: "no-cache"
16352
- }), B = (I = E.data) == null ? void 0 : I.transactionCreateMany;
16353
- if (!B || B.length === 0) {
16354
- const k = ((x = (D = E.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16332
+ }), E = (I = B.data) == null ? void 0 : I.transactionCreateMany;
16333
+ if (!E || E.length === 0) {
16334
+ const k = ((x = (D = B.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16355
16335
  throw new ut(`Failed to create transactions: ${k}`);
16356
16336
  }
16357
- return B.map((k, T) => ({
16337
+ return E.map((k, T) => ({
16358
16338
  transaction: k,
16359
16339
  workflowId: k.workflowId,
16360
16340
  readOnly: !1,
16361
- index: v[T].index
16341
+ index: y[T].index
16362
16342
  }));
16363
- }, s = t.map((v, E) => ({ option: v, index: E })), o = s.filter((v) => v.option.type === "transaction"), l = s.filter(
16364
- (v) => v.option.type === "integration" || v.option.type === "external"
16343
+ }, s = t.map((y, B) => ({ option: y, index: B })), o = s.filter((y) => y.option.type === "transaction"), l = s.filter(
16344
+ (y) => y.option.type === "integration" || y.option.type === "external"
16365
16345
  ), c = Fa(o, 10), d = Fa(l, 10), A = (await Promise.all([
16366
16346
  ...c.map(n),
16367
16347
  ...d.map(i)
16368
- ])).flat(), u = [...new Set(A.map((v) => v.workflowId))], h = await er(u, e), m = new Map(h.map((v) => [v.id, v])), g = N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), p = A.map(async (v) => {
16348
+ ])).flat(), u = [...new Set(A.map((y) => y.workflowId))], h = await er(u, e), m = new Map(h.map((y) => [y.id, y])), g = N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), p = A.map(async (y) => {
16369
16349
  var tt;
16370
- const { transaction: E, workflowId: B, readOnly: I, index: D } = v, x = m.get(B), k = t[D];
16371
- !g.get(E.id) && E.transactionOwnerId && g.set(E.id, E.transactionOwnerId);
16372
- const T = g.get(E.id) || void 0, nt = new bl({
16350
+ const { transaction: B, workflowId: E, readOnly: I, index: D } = y, x = m.get(E), k = t[D];
16351
+ !g.get(B.id) && B.transactionOwnerId && g.set(B.id, B.transactionOwnerId);
16352
+ const T = g.get(B.id) || void 0, nt = new bl({
16373
16353
  onMutate: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } }),
16374
16354
  onQuery: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } })
16375
16355
  }), R = {
16376
- product: E.product,
16377
- transaction: E,
16356
+ product: B.product,
16357
+ transaction: B,
16378
16358
  layouts: [],
16379
16359
  singleVariantsRenderable: (tt = k == null ? void 0 : k.workflowConfiguration) == null ? void 0 : tt.singleVariantsRenderable,
16380
16360
  stateMutationFunc: I ? async () => {
16381
16361
  throw new z("State mutation is forbidden in read only mode!");
16382
- } : async (j) => this.updateTransactionState({
16383
- ...j,
16362
+ } : async (W) => this.updateTransactionState({
16363
+ ...W,
16384
16364
  context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId }
16385
16365
  }),
16386
16366
  graphQlClient: () => nt,
@@ -16388,12 +16368,12 @@ class rd {
16388
16368
  workflow: x,
16389
16369
  isReloadedTransaction: k.type === "transaction"
16390
16370
  };
16391
- if (k.type === "transaction" && E.workflowState) {
16392
- const j = JSON.parse(E.workflowState);
16393
- R.layouts = Object.values(j.layouts || {}).map((ft) => ft.layout), await za(j), R.reloadedState = j;
16371
+ if (k.type === "transaction" && B.workflowState) {
16372
+ const W = JSON.parse(B.workflowState);
16373
+ R.layouts = Object.values(W.layouts || {}).map((ft) => ft.layout), await za(W), R.reloadedState = W;
16394
16374
  } else if (!I && k.workflowState) {
16395
- const j = JSON.parse(k.workflowState);
16396
- R.layouts = Object.values(j.layouts || {}).map((ft) => ft.layout), await za(j), R.reloadedState = j;
16375
+ const W = JSON.parse(k.workflowState);
16376
+ R.layouts = Object.values(W.layouts || {}).map((ft) => ft.layout), await za(W), R.reloadedState = W;
16397
16377
  } else
16398
16378
  R.layouts = Fl(
16399
16379
  R.transaction,
@@ -16404,11 +16384,11 @@ class rd {
16404
16384
  ), R.delayWorkflowStateSync = !0, { experienceOptions: R, index: D, options: k };
16405
16385
  }), f = await Promise.all(p);
16406
16386
  N.setMap("transactionOwnerIds", g);
16407
- const w = f.sort((v, E) => v.index - E.index).map(async (v) => {
16408
- const { experienceOptions: E, options: B } = v, I = new Oo(this, E);
16409
- return await I.getWorkflowManager().getInitializationPromise(), B.type !== "transaction" && this.customer && await I.attachCustomerDetails({ email: this.customer.emailAddress }), I;
16410
- }), y = await Promise.all(w);
16411
- return y.forEach((v) => v.getWorkflowManager().setWorkflowStateSyncEnabled(!0)), y;
16387
+ const w = f.sort((y, B) => y.index - B.index).map(async (y) => {
16388
+ const { experienceOptions: B, options: E } = y, I = new Oo(this, B);
16389
+ return await I.getWorkflowManager().getInitializationPromise(), E.type !== "transaction" && this.customer && await I.attachCustomerDetails({ email: this.customer.emailAddress }), I;
16390
+ }), S = await Promise.all(w);
16391
+ return S.forEach((y) => y.getWorkflowManager().setWorkflowStateSyncEnabled(!0)), S;
16412
16392
  }
16413
16393
  storeCustomer(t) {
16414
16394
  const e = N.getMap("partnerCustomerIds") || /* @__PURE__ */ new Map();
@@ -17103,13 +17083,13 @@ class Ql extends it {
17103
17083
  return this.manager.getStepStorage(this.step.stepName);
17104
17084
  }
17105
17085
  }
17106
- const Rl = S`
17086
+ const Rl = v`
17107
17087
  query GetLoggedInCustomer($email: String!) {
17108
17088
  customer(emailAddress: $email) {
17109
17089
  id
17110
17090
  }
17111
17091
  }
17112
- `, Da = S`
17092
+ `, Da = v`
17113
17093
  query GetCustomerTransactions(
17114
17094
  $id: String!
17115
17095
  $limit: Int!
@@ -17146,21 +17126,21 @@ const Rl = S`
17146
17126
  total
17147
17127
  }
17148
17128
  }
17149
- `, Ol = S`
17129
+ `, Ol = v`
17150
17130
  mutation SetTransactionDesignName($id: String!, $name: String!) {
17151
17131
  transactionUpdate(id: $id, designName: $name) {
17152
17132
  id
17153
17133
  designName
17154
17134
  }
17155
17135
  }
17156
- `, $l = S`
17136
+ `, $l = v`
17157
17137
  mutation DuplicateTransaction($id: String!, $template: Boolean!) {
17158
17138
  transactionDuplicate(id: $id, template: $template) {
17159
17139
  id
17160
17140
  workflowViewerLink
17161
17141
  }
17162
17142
  }
17163
- `, Ul = S`
17143
+ `, Ul = v`
17164
17144
  query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
17165
17145
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
17166
17146
  items {
@@ -17175,7 +17155,7 @@ const Rl = S`
17175
17155
  total
17176
17156
  }
17177
17157
  }
17178
- `, Ll = S`
17158
+ `, Ll = v`
17179
17159
  query GetTransactionsForBundle($id: String!) {
17180
17160
  bundles(ids: [$id]) {
17181
17161
  id
@@ -17196,21 +17176,21 @@ const Rl = S`
17196
17176
  }
17197
17177
  }
17198
17178
  }
17199
- `, Vl = S`
17179
+ `, Vl = v`
17200
17180
  mutation SetBundleName($id: String!, $name: String!) {
17201
17181
  bundleUpdate(id: $id, name: $name) {
17202
17182
  id
17203
17183
  name
17204
17184
  }
17205
17185
  }
17206
- `, zl = S`
17186
+ `, zl = v`
17207
17187
  mutation DuplicateBundle($id: String!, $template: Boolean!) {
17208
17188
  bundleDuplicate(id: $id, template: $template) {
17209
17189
  id
17210
17190
  workflowViewerLink
17211
17191
  }
17212
17192
  }
17213
- `, Gl = S`
17193
+ `, Gl = v`
17214
17194
  query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
17215
17195
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
17216
17196
  items {
@@ -17441,7 +17421,7 @@ function da(r) {
17441
17421
  var t = ot;
17442
17422
  r.__c = r.__(), ot = t;
17443
17423
  }
17444
- const nr = S`
17424
+ const nr = v`
17445
17425
  fragment AddressValidationResultFields on AddressValidationResult {
17446
17426
  addressComplete
17447
17427
  address {
@@ -17463,7 +17443,7 @@ const nr = S`
17463
17443
  }
17464
17444
  missingComponentTypes
17465
17445
  }
17466
- `, xa = S`
17446
+ `, xa = v`
17467
17447
  ${nr}
17468
17448
  fragment AddressValidationJobFields on AddressValidationJob {
17469
17449
  id
@@ -17475,14 +17455,14 @@ const nr = S`
17475
17455
  ...AddressValidationResultFields
17476
17456
  }
17477
17457
  }
17478
- `, Yl = S`
17458
+ `, Yl = v`
17479
17459
  ${xa}
17480
17460
  query GetAddressValidationJobs($ids: [String!]!) {
17481
17461
  addressValidationJobs(ids: $ids) {
17482
17462
  ...AddressValidationJobFields
17483
17463
  }
17484
17464
  }
17485
- `, Jl = S`
17465
+ `, Jl = v`
17486
17466
  ${xa}
17487
17467
  query GetRecipientsWithAddressValidationJobs($ids: [String!]!) {
17488
17468
  recipients(ids: $ids) {
@@ -17492,14 +17472,14 @@ const nr = S`
17492
17472
  }
17493
17473
  }
17494
17474
  }
17495
- `, Kl = S`
17475
+ `, Kl = v`
17496
17476
  ${nr}
17497
17477
  mutation ValidateRecipientAddress($id: String!) {
17498
17478
  recipientValidate(id: $id) {
17499
17479
  ...AddressValidationResultFields
17500
17480
  }
17501
17481
  }
17502
- `, _l = S`
17482
+ `, _l = v`
17503
17483
  ${xa}
17504
17484
  mutation BatchValidateRecipientAddress($ids: [String!]!) {
17505
17485
  recipientValidateBatch(ids: $ids) {
@@ -17632,7 +17612,7 @@ export {
17632
17612
  jc as ResizeCommand,
17633
17613
  qt as ResourceNotFoundError,
17634
17614
  Wc as RotateCommand,
17635
- H as ScaleAxis,
17615
+ j as ScaleAxis,
17636
17616
  Kc as SendBackwardsCommand,
17637
17617
  yo as ShapeStepHandle,
17638
17618
  Sr as ShareActionType,
@@ -17740,7 +17720,7 @@ export {
17740
17720
  Oa as svgColorValueToDefinition,
17741
17721
  On as svgStringDimensions,
17742
17722
  ha as svgToDataUrl,
17743
- W as textStepService,
17723
+ H as textStepService,
17744
17724
  Es as toast,
17745
17725
  Ed as validateWorkflowExperienceRecipient,
17746
17726
  Bd as validateWorkflowExperienceRecipients,