@spiffcommerce/core 27.1.0-beta.8df40afe-7c62-5d5d-915d-0ee804b43849 → 27.1.0-beta.91b561f6-b5a3-516f-93cd-3bdab8dfce5c

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 v } from "@apollo/client/core";
1
+ import { createHttpLink as rr, ApolloClient as ir, from as sr, InMemoryCache as or, gql as S } 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 || {}), 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 || {});
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 || {});
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, S]) => {
348
- l[w] = S;
347
+ Object.entries(C).forEach(([w, y]) => {
348
+ l[w] = y;
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 = v`
3377
+ }, ni = S`
3378
3378
  fragment AssetMetadataFields on Asset {
3379
3379
  metadata {
3380
3380
  key
3381
3381
  value
3382
3382
  }
3383
3383
  }
3384
- `, te = (r) => v`
3384
+ `, te = (r) => S`
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 = v`
3427
+ `, ri = S`
3428
3428
  ${te(!1)}
3429
3429
  query GetAssets($keys: [String]!) {
3430
3430
  assets(keys: $keys) {
3431
3431
  ...AssetFields
3432
3432
  }
3433
3433
  }
3434
- `, wa = v`
3434
+ `, wa = S`
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 = v`
3481
+ `, ii = S`
3482
3482
  ${wa}
3483
3483
  query GetMaterials($ids: [String]) {
3484
3484
  materials(id: $ids) {
3485
3485
  ...MaterialFields
3486
3486
  }
3487
3487
  }
3488
- `, si = v`
3488
+ `, si = S`
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 = v`
3502
+ `, oi = S`
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 = v`
3834
+ const Jt = new Ai(), vn = S`
3835
3835
  fragment OptionFields on Option {
3836
3836
  id
3837
3837
  name
@@ -3868,7 +3868,7 @@ const Jt = new Ai(), vn = v`
3868
3868
  ...AssetFields
3869
3869
  }
3870
3870
  }
3871
- `, ui = v`
3871
+ `, ui = S`
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 = v`
3949
+ const _ = new pi(), En = S`
3950
3950
  fragment ActiveIntegrationFields on Integration {
3951
3951
  id
3952
3952
  logo
@@ -3964,7 +3964,7 @@ const _ = new pi(), En = v`
3964
3964
  activeAddons
3965
3965
  }
3966
3966
  }
3967
- `, Me = v`
3967
+ `, Me = S`
3968
3968
  fragment AdditionalIntegrationProductFields on IntegrationProduct {
3969
3969
  id
3970
3970
  product {
@@ -3982,7 +3982,7 @@ const _ = new pi(), En = v`
3982
3982
  preloadImageUrl
3983
3983
  }
3984
3984
  }
3985
- `, fi = v`
3985
+ `, fi = S`
3986
3986
  ${Me}
3987
3987
  mutation CreateTransactions(
3988
3988
  $inputs: [TransactionCreateInput]!
@@ -4069,7 +4069,7 @@ const _ = new pi(), En = v`
4069
4069
  }
4070
4070
  }
4071
4071
  }
4072
- `, Bn = v`
4072
+ `, Bn = S`
4073
4073
  fragment StakeholderFields on Stakeholder {
4074
4074
  id
4075
4075
  type
@@ -4077,7 +4077,7 @@ const _ = new pi(), En = v`
4077
4077
  authorizationNote
4078
4078
  authorizationStatus
4079
4079
  }
4080
- `, bn = v`
4080
+ `, bn = S`
4081
4081
  fragment TransactionShareActionFields on TransactionShareAction {
4082
4082
  id
4083
4083
  title
@@ -4086,7 +4086,7 @@ const _ = new pi(), En = v`
4086
4086
  precedence
4087
4087
  url
4088
4088
  }
4089
- `, Ci = v`
4089
+ `, Ci = S`
4090
4090
  ${Me}
4091
4091
  ${Bn}
4092
4092
  ${bn}
@@ -4241,19 +4241,19 @@ const _ = new pi(), En = v`
4241
4241
  }
4242
4242
  }
4243
4243
  }
4244
- `, wi = v`
4244
+ `, wi = S`
4245
4245
  mutation UpdateTransactionWorkflowState($id: String!, $workflowState: String!) {
4246
4246
  transactionUpdate(id: $id, workflowState: $workflowState) {
4247
4247
  id
4248
4248
  }
4249
4249
  }
4250
- `, yi = v`
4250
+ `, yi = S`
4251
4251
  mutation UpdateTransactionQuantity($id: String!, $quantity: Int) {
4252
4252
  transactionUpdate(id: $id, quantity: $quantity) {
4253
4253
  id
4254
4254
  }
4255
4255
  }
4256
- `, Si = v`
4256
+ `, Si = S`
4257
4257
  query ReadTransactionForDesignCreation($id: String!) {
4258
4258
  transactions(ids: [$id]) {
4259
4259
  id
@@ -4319,7 +4319,7 @@ const _ = new pi(), En = v`
4319
4319
  workflowViewerReadOnlyLink
4320
4320
  }
4321
4321
  }
4322
- `, vi = v`
4322
+ `, vi = S`
4323
4323
  ${bn}
4324
4324
  query ReadTransactionForShareActions($id: String!) {
4325
4325
  transactions(ids: [$id]) {
@@ -4330,14 +4330,14 @@ const _ = new pi(), En = v`
4330
4330
  }
4331
4331
  }
4332
4332
  }
4333
- `, In = v`
4333
+ `, In = S`
4334
4334
  query ReadWorkflowStates($ids: [String]!) {
4335
4335
  transactions(ids: $ids) {
4336
4336
  id
4337
4337
  workflowState
4338
4338
  }
4339
4339
  }
4340
- `, Pn = (r) => v`
4340
+ `, Pn = (r) => S`
4341
4341
  ${Me}
4342
4342
  fragment IntegrationProductFields on IntegrationProduct {
4343
4343
  id
@@ -4420,14 +4420,14 @@ const _ = new pi(), En = v`
4420
4420
  ` : ""}
4421
4421
  }
4422
4422
  }
4423
- `, Ei = (r) => v`
4423
+ `, Ei = (r) => S`
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) => v`
4430
+ `, Bi = (r) => S`
4431
4431
  ${Pn(r)}
4432
4432
  query GetIntegrationProductFromExternalIds($externalIntegrationId: String!, $externalProductId: String!) {
4433
4433
  integrationProductFromExternalIds(
@@ -4437,7 +4437,7 @@ const _ = new pi(), En = v`
4437
4437
  ...IntegrationProductFields
4438
4438
  }
4439
4439
  }
4440
- `, bi = v`
4440
+ `, bi = S`
4441
4441
  ${Bn}
4442
4442
  query ReadTransactionForStakeholders($id: String!) {
4443
4443
  transactions(ids: [$id]) {
@@ -4449,11 +4449,11 @@ const _ = new pi(), En = v`
4449
4449
  }
4450
4450
  }
4451
4451
  }
4452
- `, Ii = v`
4452
+ `, Ii = S`
4453
4453
  mutation FinalizeUpdateTransaction($transactionId: String!) {
4454
4454
  transactionFinalizeUpdate(transactionId: $transactionId)
4455
4455
  }
4456
- `, Pi = v`
4456
+ `, Pi = S`
4457
4457
  fragment RegionFields on Region {
4458
4458
  width
4459
4459
  top
@@ -4471,7 +4471,7 @@ const _ = new pi(), En = v`
4471
4471
  height
4472
4472
  }
4473
4473
  }
4474
- `, Di = v`
4474
+ `, Di = S`
4475
4475
  fragment LookAtAnimationFields on LookAtAnimation {
4476
4476
  latDeg
4477
4477
  lonDeg
@@ -4482,7 +4482,7 @@ const _ = new pi(), En = v`
4482
4482
  z
4483
4483
  }
4484
4484
  }
4485
- `, xi = v`
4485
+ `, xi = S`
4486
4486
  fragment RenderingPipelineConfigurationFields on RenderingPipelineConfiguration {
4487
4487
  antiAliasing {
4488
4488
  samples
@@ -4566,14 +4566,14 @@ const _ = new pi(), En = v`
4566
4566
  weight
4567
4567
  }
4568
4568
  }
4569
- `, Fi = v`
4569
+ `, Fi = S`
4570
4570
  fragment ModelAnimationFields on ModelAnimation {
4571
4571
  from
4572
4572
  to
4573
4573
  loop
4574
4574
  name
4575
4575
  }
4576
- `, ki = (r) => v`
4576
+ `, ki = (r) => S`
4577
4577
  ${te(r)}
4578
4578
  ${wa}
4579
4579
  ${vn}
@@ -4975,7 +4975,7 @@ const _ = new pi(), En = v`
4975
4975
  }
4976
4976
  }
4977
4977
  }
4978
- `, Mi = v`
4978
+ `, Mi = S`
4979
4979
  query GetTransactionForPartner($id: String!) {
4980
4980
  transactions(ids: [$id]) {
4981
4981
  id
@@ -4993,7 +4993,7 @@ const _ = new pi(), En = v`
4993
4993
  }
4994
4994
  }
4995
4995
  }
4996
- `, Ti = v`
4996
+ `, Ti = S`
4997
4997
  ${te(!1)}
4998
4998
  query GetWorkflowForTheme($id: String!) {
4999
4999
  workflow(id: $id) {
@@ -5015,7 +5015,7 @@ const _ = new pi(), En = v`
5015
5015
  }
5016
5016
  }
5017
5017
  }
5018
- `, Te = v`
5018
+ `, Te = S`
5019
5019
  fragment MarketplaceThemeInstallConfigurationFields on MarketplaceThemeInstallConfiguration {
5020
5020
  id
5021
5021
  themeInstallId
@@ -5089,14 +5089,14 @@ const _ = new pi(), En = v`
5089
5089
  }
5090
5090
  }
5091
5091
  }
5092
- `, Ni = v`
5092
+ `, Ni = S`
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 = v`
5099
+ `, Qi = S`
5100
5100
  ${En}
5101
5101
  ${Te}
5102
5102
  query GetCurrentIntegration($themeConfigurationId: String) {
@@ -5109,7 +5109,7 @@ const _ = new pi(), En = v`
5109
5109
  ...ActiveIntegrationFields
5110
5110
  }
5111
5111
  }
5112
- `, Ri = v`
5112
+ `, Ri = S`
5113
5113
  ${Te}
5114
5114
  query ReadTransactionForMarketplaceTheme($id: String!) {
5115
5115
  transactions(ids: [$id]) {
@@ -5118,7 +5118,7 @@ const _ = new pi(), En = v`
5118
5118
  }
5119
5119
  }
5120
5120
  }
5121
- `, Oi = v`
5121
+ `, Oi = S`
5122
5122
  ${Te}
5123
5123
  query ReadBundleForMarketplaceTheme($id: String!) {
5124
5124
  bundles(ids: [$id]) {
@@ -5127,7 +5127,7 @@ const _ = new pi(), En = v`
5127
5127
  }
5128
5128
  }
5129
5129
  }
5130
- `, $i = v`
5130
+ `, $i = S`
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 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) => (
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) => (
5321
5321
  /* @ts-ignore */
5322
- /* @__PURE__ */ F("color-profile", { name: E.name, xlinkHref: E.key, children: " " }, I)
5323
- )), S = n.map((E) => ({
5324
- ...E,
5322
+ /* @__PURE__ */ F("color-profile", { name: B.name, xlinkHref: B.key, children: " " }, I)
5323
+ )), y = n.map((B) => ({
5324
+ ...B,
5325
5325
  _renderingConfiguration: a,
5326
5326
  mask: l ? `url(#viewmask-${f})` : void 0
5327
- })), y = va(S);
5327
+ })), v = va(y);
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: y.map((E) => Qn(E)).filter((E) => !!E)
5364
+ children: v.map((B) => Qn(B)).filter((B) => !!B)
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, S = Math.max(Math.abs(p), Math.abs(f)), y = 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, y = Math.max(Math.abs(p), Math.abs(f)), v = Math.max(Math.abs(C), Math.abs(w));
5407
5407
  return {
5408
- minX: l - S,
5409
- maxX: l + S,
5410
- minY: c - y,
5411
- maxY: c + y
5408
+ minX: l - y,
5409
+ maxX: l + y,
5410
+ minY: c - v,
5411
+ maxY: c + v
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 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;
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;
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, 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;
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;
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
- (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];
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];
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
- ), 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(
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(
5734
5734
  A.innerHTML,
5735
- parseFloat(A.getAttribute("x") ?? "0") - y,
5735
+ parseFloat(A.getAttribute("x") ?? "0") - v,
5736
5736
  parseFloat(A.getAttribute("y") ?? "0"),
5737
5737
  parseInt(u.getAttribute("font-size") ?? "72")
5738
5738
  );
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;
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;
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, S) => /* @__PURE__ */ F(
5947
+ children: r.curved ? /* @__PURE__ */ F(as, { text: c, curvedPathId: i, align: r.align }) : d.map((w, y) => /* @__PURE__ */ F(
5948
5948
  es,
5949
5949
  {
5950
5950
  align: r.vertical ? "center" : r.align,
5951
5951
  fontSize: r.fontSize,
5952
- thisLineIdx: S,
5952
+ thisLineIdx: y,
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
- S
5961
+ y
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, S = f ? {
7730
+ ) : void 0, y = 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, y = Q(), E = n.getLayouts().find((I) => I.panelId === m.panelId);
7741
- if (!E)
7740
+ } : void 0, v = Q(), B = n.getLayouts().find((I) => I.panelId === m.panelId);
7741
+ if (!B)
7742
7742
  throw new q(m);
7743
7743
  return {
7744
- command: this.getCreateElementCommand(y, m, E, {
7744
+ command: this.getCreateElementCommand(v, m, B, {
7745
7745
  frameData: p,
7746
- pattern: S,
7746
+ pattern: y,
7747
7747
  disablePlaceholder: t.data.disablePlaceholder,
7748
7748
  stepName: t.stepName
7749
7749
  }),
7750
7750
  regionEl: {
7751
- id: y,
7751
+ id: v,
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((y) => y.panelId === C.panelId);
7996
+ const w = i.getLayouts().find((v) => v.panelId === C.panelId);
7997
7997
  if (!w)
7998
7998
  throw new q(C);
7999
- const S = Q();
7999
+ const y = Q();
8000
8000
  return {
8001
- regionElement: { id: S, region: C },
8002
- command: this.getCreateElementCommand(S, C, w, {
8001
+ regionElement: { id: y, region: C },
8002
+ command: this.getCreateElementCommand(y, 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 S;
8015
- return w.toLowerCase() === ((S = C.color) == null ? void 0 : S.toLowerCase()) ? C.name : w;
8014
+ var y;
8015
+ return w.toLowerCase() === ((y = C.color) == null ? void 0 : y.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, S;
8020
+ var w, y;
8021
8021
  await i.setSelectionsAndElements(
8022
8022
  t.stepName,
8023
8023
  [e],
8024
- u.map((y) => y.regionElement),
8024
+ u.map((v) => v.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 y = {};
8032
- (((S = o.assetConfiguration) == null ? void 0 : S.channelNumbers) || []).forEach((E) => {
8031
+ const v = {};
8032
+ (((y = o.assetConfiguration) == null ? void 0 : y.channelNumbers) || []).forEach((B) => {
8033
8033
  var D;
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) || "" });
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) || "" });
8036
8036
  }), await this.changeColors(
8037
8037
  t,
8038
- u.map((E) => E.regionElement),
8038
+ u.map((B) => B.regionElement),
8039
8039
  i,
8040
8040
  () => i.getCommandContext().getAllLayouts(),
8041
- new Map(Object.entries(y))
8041
+ new Map(Object.entries(v))
8042
8042
  );
8043
8043
  }
8044
8044
  if (t.data.colorPickerEnabled) {
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];
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];
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
- !E && C.length === 0 && await this.changeColors(
8056
+ !B && 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((S) => {
8805
- var y;
8806
- return S.type === X.Text && ((y = t.globalPropertyAspectConfigurations) == null ? void 0 : y.map((B) => B.aspectName).includes(S.name));
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));
8807
8807
  });
8808
8808
  if (w) {
8809
- const y = p.getGlobalPropertyStateManager().getAspect(w.name);
8810
- y && (g = y);
8809
+ const v = p.getGlobalPropertyStateManager().getAspect(w.name);
8810
+ v && (g = v);
8811
8811
  }
8812
8812
  }
8813
8813
  e.updateStorage(t.stepName, {
@@ -8978,7 +8978,7 @@ class bs {
8978
8978
  });
8979
8979
  }
8980
8980
  updateInputText(t, e, a, n) {
8981
- const i = n.getStepStorage(a.stepName), s = this.getProcessedInput(t, a.data, !!i.customiseAllText), o = {
8981
+ const i = n.getStepStorage(a.stepName), s = this.getProcessedInput(t, a.data, (i == null ? void 0 : i.customiseAllText) ?? !1), o = {
8982
8982
  command: void 0,
8983
8983
  helperData: {},
8984
8984
  errorData: this.getErrorsForText(t, a, n)
@@ -9004,7 +9004,7 @@ class bs {
9004
9004
  }
9005
9005
  return !a.data.curved && e.length > 0 && !Array.from(d.values()).every((u) => u) ? (o.errorData || (o.errorData = {}), o.errorData.doesNotFit = !0, o) : (n.updateStorage(a.stepName, { text: t }), n.updateMetadata(a.stepName, {
9006
9006
  text: s
9007
- }), (i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new $(l), o);
9007
+ }), (i != null && i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new $(l), o);
9008
9008
  }
9009
9009
  async selectVariant(t, e, a, n, i) {
9010
9010
  const s = await this.selectVariantCommand(
@@ -9031,46 +9031,66 @@ class bs {
9031
9031
  }
9032
9032
  }
9033
9033
  async reload(t, e, a) {
9034
- var c, d, A, u;
9034
+ var c, d, A, u, h;
9035
9035
  const n = e.getSerializedStep(
9036
9036
  t.stepName,
9037
9037
  a.serializableWorkflow.steps
9038
- ), o = Object.values(a.layouts).map((h) => h.elements).flat().filter((h) => h.stepName === t.stepName), l = t.option;
9038
+ ), o = Object.values(a.layouts).map((m) => m.elements).flat().filter((m) => m.stepName === t.stepName), l = t.option;
9039
9039
  if (n != null && n.selectedVariants) {
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));
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));
9051
9051
  });
9052
9052
  if (B) {
9053
- const I = w.getGlobalPropertyStateManager().getAspect(B.name);
9054
- I && (C = I);
9053
+ const D = y.getGlobalPropertyStateManager().getAspect(B.name);
9054
+ D && (w = D);
9055
9055
  }
9056
9056
  }
9057
9057
  await e.setSelectionsAndElements(
9058
9058
  t.stepName,
9059
- [m],
9060
- p,
9059
+ [g],
9060
+ f,
9061
9061
  async () => {
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);
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);
9064
9064
  e.getCommandDispatcher()(B);
9065
9065
  }
9066
9066
  );
9067
- const { command: S } = H.updateInputText(
9068
- C || "",
9067
+ const { command: v } = W.updateInputText(
9068
+ w || "",
9069
9069
  o,
9070
9070
  t,
9071
9071
  e
9072
9072
  );
9073
- S && e.getCommandDispatcher()(S);
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
+ }
9074
9094
  }
9075
9095
  }
9076
9096
  }
@@ -9132,7 +9152,7 @@ class bs {
9132
9152
  a.text || "",
9133
9153
  a,
9134
9154
  i,
9135
- !!a.customiseAllText,
9155
+ (a == null ? void 0 : a.customiseAllText) ?? !1,
9136
9156
  s,
9137
9157
  o
9138
9158
  );
@@ -9157,7 +9177,7 @@ class bs {
9157
9177
  ((u = h[0]) == null ? void 0 : u.newElement.input) || a.text || t.data.defaultText || "",
9158
9178
  a,
9159
9179
  i,
9160
- !!a.customiseAllText,
9180
+ (a == null ? void 0 : a.customiseAllText) ?? !1,
9161
9181
  s,
9162
9182
  o
9163
9183
  ), g = h.flatMap((f) => f.commands);
@@ -9209,7 +9229,7 @@ class bs {
9209
9229
  colorProfileAssetKey: (g = p.colorProfile) == null ? void 0 : g.key
9210
9230
  });
9211
9231
  }
9212
- const C = await this.getDefaultColor(a), w = C || "#000000", S = {
9232
+ const C = await this.getDefaultColor(a), w = C || "#000000", y = {
9213
9233
  stepRegion: A,
9214
9234
  stepName: t,
9215
9235
  align: this.textAlign(a),
@@ -9233,34 +9253,34 @@ class bs {
9233
9253
  curved: a.curved,
9234
9254
  paths: a.paths,
9235
9255
  fillSpotColorDefinition: f
9236
- }, y = [], B = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
9237
- if (!S.fontData)
9256
+ }, v = [], E = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
9257
+ if (!y.fontData)
9238
9258
  throw new z("Failed to resolve font data for text.");
9239
9259
  const [I, D] = pe(
9240
- S.fontSize,
9241
- S.fontData,
9260
+ y.fontSize,
9261
+ y.fontData,
9242
9262
  {
9243
- left: S.x,
9244
- top: S.y,
9245
- width: S.width,
9246
- height: S.height,
9247
- rotation: S.rotation,
9263
+ left: y.x,
9264
+ top: y.y,
9265
+ width: y.width,
9266
+ height: y.height,
9267
+ rotation: y.rotation,
9248
9268
  panelId: ""
9249
9269
  },
9250
9270
  [l],
9251
9271
  { size: a.size, minSize: a.minSize, maxSize: a.maxSize }
9252
9272
  );
9253
- B.set(S.id, I), E.set(S.id, D);
9273
+ E.set(y.id, I), B.set(y.id, D);
9254
9274
  const x = a.curved || a.vertical ? l : (D || []).join(`
9255
9275
  `);
9256
- y.push(
9257
- this.generateTextChangeCommandsForRegion(I, a, S.id, x)
9276
+ v.push(
9277
+ this.generateTextChangeCommandsForRegion(I, a, y.id, x)
9258
9278
  );
9259
- const k = new G(S, h);
9279
+ const k = new G(y, h);
9260
9280
  return {
9261
9281
  regionElement: { id: m, region: A },
9262
- commands: [k, ...y],
9263
- newElement: S,
9282
+ commands: [k, ...v],
9283
+ newElement: y,
9264
9284
  fontData: n
9265
9285
  };
9266
9286
  } catch (p) {
@@ -9295,29 +9315,29 @@ class bs {
9295
9315
  */
9296
9316
  async changeInputTextWithRegion(t, e, a, n, i, s, o, l, c, d) {
9297
9317
  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();
9298
- for (const S of h)
9299
- if (S.region) {
9300
- const [y, B] = pe(
9318
+ for (const y of h)
9319
+ if (y.region) {
9320
+ const [v, E] = pe(
9301
9321
  e,
9302
9322
  a,
9303
- S.region,
9323
+ y.region,
9304
9324
  [u],
9305
9325
  { size: t.data.size, minSize: t.data.minSize, maxSize: t.data.maxSize }
9306
9326
  );
9307
- m.set(S.id, y), g.set(S.id, B);
9327
+ m.set(y.id, v), g.set(y.id, E);
9308
9328
  }
9309
9329
  const f = (() => {
9310
9330
  if (t.data && t.data.maxLength && u.length > t.data.maxLength)
9311
9331
  return d && d(!0), { info: "0" };
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)
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)
9317
9337
  return l(!0), { error: "Blocked profanity." };
9318
9338
  }
9319
9339
  return !t.data.vertical && !t.data.allowNewlines && (u.includes(`
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() });
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() });
9321
9341
  })();
9322
9342
  if (f.error) {
9323
9343
  c(f.error);
@@ -9329,22 +9349,22 @@ class bs {
9329
9349
  text: this.injectReplaceableText(A, t.data)
9330
9350
  }), (i.defaultCleared || !t.data.deleteDefaultOnFocus) && A.trim() !== "" && s.setMandatoryFulfilled(t.stepName, !0);
9331
9351
  const C = [];
9332
- for (const S of h) {
9333
- const y = t.data.curved ? u : (g.get(S.id) || []).join(`
9352
+ for (const y of h) {
9353
+ const v = t.data.curved ? u : (g.get(y.id) || []).join(`
9334
9354
  `);
9335
9355
  C.push(
9336
9356
  this.generateTextChangeCommandsForRegion(
9337
- m.get(S.id) || 1,
9357
+ m.get(y.id) || 1,
9338
9358
  t.data,
9339
- S.id,
9340
- y
9359
+ y.id,
9360
+ v
9341
9361
  )
9342
9362
  );
9343
9363
  }
9344
9364
  return new $(C);
9345
9365
  }
9346
9366
  }
9347
- const H = new bs();
9367
+ const W = new bs();
9348
9368
  class Is {
9349
9369
  }
9350
9370
  const Ps = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ2FzcP//AAMAAB7QAAAACGdseWY27KOUAAAGCAAAFcRoZWFkFPal0gAAAPw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//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/5wA4/90AOf/nADr/8QA7/78APP/xAD3/9gA+/+wAP//nAED/3QBB/+cAQv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+wA3//0AOP/vADn/+wA6AAAAO/+7ADz//gA9//4APv/7AED/7ABB//4AQv/nAEP/+QBE//kARf/7AEb/+QBH//MASP/rAEn/4gBK/+8AS//7AB0ABv/2ABf/zgAl/+8AMv+3ADP/9wA0/+sANf/3ADb/8QA3//kAOP/uADn/8wA6//sAO//YADz/8wA9/+4APv/3AD//8wBA/+MAQf/3AEL/6QBD/+8ARP/nAEX/1ABG/+8AR//JAEj/zABJ/6YASv/JAEv/3AAcAAb/+wAX//MAJf/7ADL/6wAz//4ANP/uADX/+wA2//4AN//+ADj/8wA5//0AOv/+ADv/7gA8//4APf/+AD7/+wA///4AQP/uAEL/9wBD//4ARP/+AEX/+QBG//4AR//uAEj/9wBJ/+4ASv/zAEv//gAYAAb/+wAx//YAMv/rADP//wA0//MANf//ADYAAQA3//8AOP/zADv/6AA8//4APf/+AD4AAQBA/+4AQf//AEL/8wBD//4ARP/4AEX//QBH/+wASP/3AEn/7ABK//EASwABABwABv/2ABf/4QAy/8oAM//9ADT/+QA1//4ANv/7ADf//gA4//MAOf/+ADr//wA7/+EAPP/7AD3//gA+//4AP//+AED/7wBB//4AQv/zAEP//gBE//sARf/7AEb//gBH/+8ASP/5AEn/2gBK//oAS//+AB0ABv/nABf/5wAx/7AAMv/hADP/7gA0/7QANf/rADb/5wA3/+4AOP+sADn/6wA6//kAO/+3ADz/6gA9/+8APv/nAD//5wBA/6wAQf/uAEL/rgBD/+cARP+8AEX/3ABG/9oAR//cAEj/0QBJ/9oASv/RAEv/7wAeAAb/9gAX//cAI//9ADH/vwAy/+4AM//5ADT/2gA1//4ANv/3ADf/+wA4/9oAOf/3ADr/+wA7/+cAPP/7AD3/+QA+//cAP//5AED/1ABB//sAQv/cAEP/9wBE/+8ARf/JAEb/6wBH/8QASP++AEn/5wBK/8EAS//+ABwAF//7ADH/7AAy/+QAM//+ADT/7gA1//4ANgAAADf//QA4//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/zABJ/7QASv+7AEv/5wAbAAb/9gAy/6YAM//9ADT/0wA1//oANv/+ADf//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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/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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) => {
@@ -9503,14 +9523,14 @@ class Ns extends Is {
9503
9523
  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 = () => {
9504
9524
  const w = et("g");
9505
9525
  w.classList.add("module-text-group");
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);
9510
- const B = et("g");
9511
- B.classList.add("module-layer0"), w.appendChild(B), B.setAttribute("filter", "url(#shadow)"), B.innerHTML = y.outerHTML;
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);
9512
9530
  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;
9531
+ E.classList.add("module-layer0"), w.appendChild(E), E.setAttribute("filter", "url(#shadow)"), E.innerHTML = v.outerHTML;
9532
+ 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;
9514
9534
  const I = et("g");
9515
9535
  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;
9516
9536
  const D = et("g");
@@ -9536,7 +9556,7 @@ async function qn(r) {
9536
9556
  return new Ns();
9537
9557
  throw new z(`Failed to resolve Module, Module ${r} not found`);
9538
9558
  }
9539
- const ne = v`
9559
+ const ne = S`
9540
9560
  fragment GlobalPropertyStateAspectFields on GlobalPropertyStateAspect {
9541
9561
  name
9542
9562
  value
@@ -9558,7 +9578,7 @@ const ne = v`
9558
9578
  }
9559
9579
  }
9560
9580
  }
9561
- `, Qs = v`
9581
+ `, Qs = S`
9562
9582
  ${ne}
9563
9583
  mutation CreateGlobalPropertyState($bundleId: String!) {
9564
9584
  globalPropertyStateCreate(bundleId: $bundleId) {
@@ -9568,7 +9588,7 @@ const ne = v`
9568
9588
  }
9569
9589
  }
9570
9590
  }
9571
- `, Rs = v`
9591
+ `, Rs = S`
9572
9592
  ${ne}
9573
9593
  mutation UpdateGlobalPropertyState($id: String!, $aspects: [GlobalPropertyStateAspectInput]!) {
9574
9594
  globalPropertyStateUpdate(id: $id, aspects: $aspects) {
@@ -9578,7 +9598,7 @@ const ne = v`
9578
9598
  }
9579
9599
  }
9580
9600
  }
9581
- `, Os = v`
9601
+ `, Os = S`
9582
9602
  ${ne}
9583
9603
  query GetGlobalPropertyState($bundleId: String!) {
9584
9604
  globalPropertyState(bundleId: $bundleId) {
@@ -9595,7 +9615,7 @@ const ne = v`
9595
9615
  variables: {
9596
9616
  bundleId: r
9597
9617
  }
9598
- })).data.globalPropertyState, $s = v`
9618
+ })).data.globalPropertyState, $s = S`
9599
9619
  ${Me}
9600
9620
  fragment ProductFields on Product {
9601
9621
  id
@@ -9640,7 +9660,7 @@ const ne = v`
9640
9660
  name
9641
9661
  }
9642
9662
  }
9643
- `, ba = v`
9663
+ `, ba = S`
9644
9664
  ${$s}
9645
9665
  fragment ProductCollectionProductFields on ProductCollectionProduct {
9646
9666
  id
@@ -9650,7 +9670,7 @@ const ne = v`
9650
9670
  ...ProductFields
9651
9671
  }
9652
9672
  }
9653
- `, re = (r) => v`
9673
+ `, re = (r) => S`
9654
9674
  ${r ? ba : ""}
9655
9675
  fragment ProductCollectionFields on ProductCollection {
9656
9676
  id
@@ -9708,7 +9728,7 @@ const ne = v`
9708
9728
  }
9709
9729
  }
9710
9730
  }
9711
- `, Us = (r) => v`
9731
+ `, Us = (r) => S`
9712
9732
  ${ne}
9713
9733
  ${re(r)}
9714
9734
  query GetBundle($id: String!) {
@@ -9752,7 +9772,7 @@ const ne = v`
9752
9772
  quoteId
9753
9773
  }
9754
9774
  }
9755
- `, qa = v`
9775
+ `, qa = S`
9756
9776
  query GetBundleStakeholders($id: String!) {
9757
9777
  bundles(ids: [$id]) {
9758
9778
  id
@@ -9797,7 +9817,7 @@ const ne = v`
9797
9817
  }
9798
9818
  }
9799
9819
  }
9800
- `, Ls = v`
9820
+ `, Ls = S`
9801
9821
  query GetBundlesForCustomer($id: String!) {
9802
9822
  customers(ids: [$id]) {
9803
9823
  bundleStakeholders {
@@ -9826,7 +9846,7 @@ const ne = v`
9826
9846
  }
9827
9847
  }
9828
9848
  }
9829
- `, Vs = v`
9849
+ `, Vs = S`
9830
9850
  ${ba}
9831
9851
  query GetProductCollectionProducts($id: String!, $productIds: [String!]) {
9832
9852
  productCollections(ids: [$id], productIds: $productIds) {
@@ -9836,7 +9856,7 @@ const ne = v`
9836
9856
  }
9837
9857
  }
9838
9858
  }
9839
- `, zs = v`
9859
+ `, zs = S`
9840
9860
  query GetProductCollectionForFilteredProducts(
9841
9861
  $id: String!
9842
9862
  $filters: ProductCollectionProductFilterInput
@@ -9859,7 +9879,7 @@ const ne = v`
9859
9879
  }
9860
9880
  }
9861
9881
  }
9862
- `, Gs = v`
9882
+ `, Gs = S`
9863
9883
  ${ba}
9864
9884
  query GetProductCollectionForProductsFeed(
9865
9885
  $id: String!
@@ -9887,7 +9907,7 @@ const ne = v`
9887
9907
  }
9888
9908
  }
9889
9909
  }
9890
- `, Ws = (r) => v`
9910
+ `, Ws = (r) => S`
9891
9911
  ${re(r)}
9892
9912
  mutation CreateBundle(
9893
9913
  $collectionId: String
@@ -9916,7 +9936,7 @@ const ne = v`
9916
9936
  }
9917
9937
  }
9918
9938
  }
9919
- `, js = (r) => v`
9939
+ `, js = (r) => S`
9920
9940
  ${ne}
9921
9941
  ${re(r)}
9922
9942
  mutation DuplicateBundle(
@@ -9958,7 +9978,7 @@ const ne = v`
9958
9978
  }
9959
9979
  }
9960
9980
  }
9961
- `, Hs = v`
9981
+ `, Hs = S`
9962
9982
  mutation UpdateBundle(
9963
9983
  $id: String!
9964
9984
  $name: String
@@ -9978,19 +9998,19 @@ const ne = v`
9978
9998
  id
9979
9999
  }
9980
10000
  }
9981
- `, qs = v`
10001
+ `, qs = S`
9982
10002
  mutation BundleAddTransaction($id: String!, $transactionId: String!) {
9983
10003
  bundleAddTransaction(id: $id, transactionId: $transactionId) {
9984
10004
  id
9985
10005
  }
9986
10006
  }
9987
- `, Ys = v`
10007
+ `, Ys = S`
9988
10008
  mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
9989
10009
  bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
9990
10010
  id
9991
10011
  }
9992
10012
  }
9993
- `, Js = v`
10013
+ `, Js = S`
9994
10014
  mutation BundleRemoveTransaction(
9995
10015
  $id: String!
9996
10016
  $transactionId: String!
@@ -10005,7 +10025,7 @@ const ne = v`
10005
10025
  id
10006
10026
  }
10007
10027
  }
10008
- `, Ks = v`
10028
+ `, Ks = S`
10009
10029
  mutation BundleRemoveTransactions(
10010
10030
  $id: String!
10011
10031
  $transactionIds: [String!]!
@@ -10020,7 +10040,7 @@ const ne = v`
10020
10040
  id
10021
10041
  }
10022
10042
  }
10023
- `, _s = v`
10043
+ `, _s = S`
10024
10044
  mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
10025
10045
  bundleAddStakeholder(id: $id, details: $details, type: $type) {
10026
10046
  id
@@ -10040,13 +10060,13 @@ const ne = v`
10040
10060
  }
10041
10061
  }
10042
10062
  }
10043
- `, Xs = v`
10063
+ `, Xs = S`
10044
10064
  mutation BundleAddStakeholder($id: String!, $emailAddress: String!) {
10045
10065
  bundleRemoveStakeholder(id: $id, emailAddress: $emailAddress) {
10046
10066
  id
10047
10067
  }
10048
10068
  }
10049
- `, Zs = v`
10069
+ `, Zs = S`
10050
10070
  mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
10051
10071
  bundleUpdateStakeholders(id: $id, input: $input) {
10052
10072
  id
@@ -10066,13 +10086,13 @@ const ne = v`
10066
10086
  }
10067
10087
  }
10068
10088
  }
10069
- `, to = v`
10089
+ `, to = S`
10070
10090
  mutation BundleUpdateTransactionOrder($id: String!, $transactionIds: [String!]!) {
10071
10091
  bundleUpdateTransactionOrder(id: $id, transactionIds: $transactionIds) {
10072
10092
  id
10073
10093
  }
10074
10094
  }
10075
- `, eo = (r) => v`
10095
+ `, eo = (r) => S`
10076
10096
  ${re(r)}
10077
10097
  mutation BundleAssignProductCollection($id: String!, $productCollectionId: String!) {
10078
10098
  bundleAssignProductCollection(id: $id, collectionId: $productCollectionId) {
@@ -10082,13 +10102,13 @@ const ne = v`
10082
10102
  }
10083
10103
  }
10084
10104
  }
10085
- `, ao = v`
10105
+ `, ao = S`
10086
10106
  mutation AssignGlobalPropertyConfiguration($bundleId: String!, $globalPropertyConfigurationId: String!) {
10087
10107
  bundleUpdate(id: $bundleId, globalPropertyConfigurationId: $globalPropertyConfigurationId) {
10088
10108
  id
10089
10109
  }
10090
10110
  }
10091
- `, no = (r) => v`
10111
+ `, no = (r) => S`
10092
10112
  query CustomerBundlesFeed($id: String!, $limit: Int!, $offset: Int!, $template: Boolean, $templateStatus: BundleTemplateStatus, $ordered: Boolean) {
10093
10113
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: $template, templateStatus: $templateStatus, ordered: $ordered) {
10094
10114
  items {
@@ -10122,27 +10142,27 @@ const ne = v`
10122
10142
  total
10123
10143
  }
10124
10144
  }
10125
- `, ro = v`
10145
+ `, ro = S`
10126
10146
  mutation FinalizeUpdateBundle($bundleId: String!) {
10127
10147
  bundleFinalizeUpdate(bundleId: $bundleId)
10128
10148
  }
10129
- `, io = v`
10149
+ `, io = S`
10130
10150
  mutation ApproveBundle($id: String!, $note: String, $stakeholderId: String) {
10131
10151
  bundleApprove(id: $id, note: $note, stakeholderId: $stakeholderId)
10132
10152
  }
10133
- `, so = v`
10153
+ `, so = S`
10134
10154
  mutation RejectBundle($id: String!, $note: String, $stakeholderId: String) {
10135
10155
  bundleReject(id: $id, note: $note, stakeholderId: $stakeholderId)
10136
10156
  }
10137
- `, oo = v`
10157
+ `, oo = S`
10138
10158
  mutation ApproveTransaction($id: String!, $note: String) {
10139
10159
  transactionApprove(id: $id, note: $note)
10140
10160
  }
10141
- `, lo = v`
10161
+ `, lo = S`
10142
10162
  mutation RejectTransaction($id: String!, $note: String) {
10143
10163
  transactionReject(id: $id, note: $note)
10144
10164
  }
10145
- `, co = v`
10165
+ `, co = S`
10146
10166
  mutation CreateRecipient(
10147
10167
  $firstName: String
10148
10168
  $lastName: String
@@ -10170,7 +10190,7 @@ const ne = v`
10170
10190
  id
10171
10191
  }
10172
10192
  }
10173
- `, Ao = v`
10193
+ `, Ao = S`
10174
10194
  mutation UpdateRecipient(
10175
10195
  $id: String!
10176
10196
  $firstName: String
@@ -10200,7 +10220,7 @@ const ne = v`
10200
10220
  id
10201
10221
  }
10202
10222
  }
10203
- `, uo = v`
10223
+ `, uo = S`
10204
10224
  mutation AtttachRecipient($id: String!, $recipientId: String!) {
10205
10225
  transactionAttachRecipient(id: $id, recipientId: $recipientId) {
10206
10226
  id
@@ -10225,19 +10245,19 @@ class mo {
10225
10245
  constructor(t, e, a, n, i, s, o, l, c, d, A, u, h, m = !1, g, p = !1, f = !1, C = !1) {
10226
10246
  var w;
10227
10247
  this.workflowStatePromiseQueue = new xn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.renderLayouts = () => {
10228
- var B;
10248
+ var E;
10229
10249
  if (!this.previewService)
10230
10250
  return;
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 ?? [];
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 ?? [];
10237
10257
  }), C && (this.workflowStatePromiseQueue.enabled = !1), this.initializationPromise = this.initializeDefaultWorkflowState(a), this.initializationPromise.then(() => {
10238
10258
  this.initialized = !0;
10239
- }), this.initializationPromise.catch((S) => {
10240
- throw console.error(S), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
10259
+ }), this.initializationPromise.catch((y) => {
10260
+ throw console.error(y), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
10241
10261
  }), this.initializationPromise.finally(
10242
10262
  () => this.getCommandContext().registerStateCallback(() => {
10243
10263
  this.updateStateWithServer(), this.renderLayouts();
@@ -10793,19 +10813,20 @@ class mo {
10793
10813
  ), this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, await this.ensureStepsAreLoaded();
10794
10814
  }
10795
10815
  async setSelectionsAndElements(t, e, a, n) {
10796
- var y;
10816
+ var v;
10817
+ console.log(`setting elements for step ${t}`), console.trace();
10797
10818
  const i = this.stepSelections;
10798
10819
  this.stepSelections = {
10799
10820
  ...this.stepSelections,
10800
10821
  [t]: { selectedVariants: e }
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]);
10822
+ }, 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) => {
10823
+ yt(E, this.stepSelections) || (this.stepInitialised[E.stepName] = !1, delete this.stepMetadata[E.stepName], delete this.stepSelections[E.stepName], delete this.storage[E.stepName]);
10803
10824
  });
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)
10825
+ 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(
10826
+ (E) => !c.some((B) => B.stepName === E.stepName)
10806
10827
  );
10807
- c.forEach((B) => {
10808
- yt(B, this.stepSelections) || (this.stepInitialised[B.stepName] = !1);
10828
+ c.forEach((E) => {
10829
+ yt(E, this.stepSelections) || (this.stepInitialised[E.stepName] = !1);
10809
10830
  });
10810
10831
  const u = this.getInvalidCanvasRegions(), { stepElements: h, commands: m } = await this.stepElementsForIntroducedSilentSteps(A, !1);
10811
10832
  this.stepElements = {
@@ -10813,25 +10834,25 @@ class mo {
10813
10834
  ...h,
10814
10835
  [t]: a
10815
10836
  }, this.removeElements(u);
10816
- const g = this.workflow.steps.find((B) => B.stepName === t);
10837
+ const g = this.workflow.steps.find((E) => E.stepName === t);
10817
10838
  if ((g == null ? void 0 : g.type) === P.Frame) {
10818
- const B = (y = this.getWorkflowExperience().getStepById(g.stepName)) == null ? void 0 : y.frameService;
10819
- B == null || B.setTargetElements(a.map((E) => E.id));
10839
+ const E = (v = this.getWorkflowExperience().getStepById(g.stepName)) == null ? void 0 : v.frameService;
10840
+ E == null || E.setTargetElements(a.map((B) => B.id));
10820
10841
  }
10821
- const p = u.map((B) => new Bt(B.id)), f = new Ga(this.constructSerializableWorkflow()), C = [...m, ...p, f];
10842
+ const p = u.map((E) => new Bt(E.id)), f = new Ga(this.constructSerializableWorkflow()), C = [...m, ...p, f];
10822
10843
  C.length > 0 && this.commandContext.apply(new $(C), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
10823
- const w = this.getInvalidModelVariants(), S = this.modelContainer;
10824
- if (S) {
10825
- const B = w.map(
10826
- (E) => S.applyModelVariant(
10827
- E,
10844
+ const w = this.getInvalidModelVariants(), y = this.modelContainer;
10845
+ if (y) {
10846
+ const E = w.map(
10847
+ (B) => y.applyModelVariant(
10848
+ B,
10828
10849
  {
10829
10850
  contextService: this.getLayoutPreviewService()
10830
10851
  },
10831
10852
  !1
10832
10853
  )
10833
10854
  );
10834
- await Promise.all(B);
10855
+ await Promise.all(E);
10835
10856
  }
10836
10857
  await this.onSelectionChange(), n && await n();
10837
10858
  }
@@ -10886,7 +10907,7 @@ class mo {
10886
10907
  a.push(zt.init(l, this, this.reloadedState));
10887
10908
  break;
10888
10909
  case P.Text:
10889
- a.push(H.init(l, this, this.reloadedState));
10910
+ a.push(W.init(l, this, this.reloadedState));
10890
10911
  break;
10891
10912
  }
10892
10913
  const i = (await Promise.allSettled(a)).map((l) => {
@@ -11368,7 +11389,7 @@ class So extends it {
11368
11389
  * @param variant The font variant to use.
11369
11390
  */
11370
11391
  async selectVariant(t) {
11371
- H.selectVariant(
11392
+ W.selectVariant(
11372
11393
  this.step,
11373
11394
  t.getResource(),
11374
11395
  this.manager,
@@ -11395,7 +11416,7 @@ class So extends it {
11395
11416
  * @returns A list of colors that can be used to fill the text.
11396
11417
  */
11397
11418
  getAvailableFillColors() {
11398
- return this.step.data.colorPickerEnabled ? H.availableFillColors(this.step) : [];
11419
+ return this.step.data.colorPickerEnabled ? W.availableFillColors(this.step) : [];
11399
11420
  }
11400
11421
  /**
11401
11422
  * Changes the fill of text related to this step to the new fill value.
@@ -11403,7 +11424,7 @@ class So extends it {
11403
11424
  */
11404
11425
  async setFillColor(t) {
11405
11426
  const e = this.manager.getRegionElements(this.step.stepName);
11406
- await H.changeFillColor(this.step, t, e, this.manager);
11427
+ await W.changeFillColor(this.step, t, e, this.manager);
11407
11428
  }
11408
11429
  /**
11409
11430
  * Gets the color currently applied to the element.
@@ -11413,23 +11434,23 @@ class So extends it {
11413
11434
  return ((t = this.manager.getStepStorage(this.step.stepName)) == null ? void 0 : t.color) || "#000000";
11414
11435
  }
11415
11436
  getAvailableFillImages() {
11416
- return H.availableFillImages(this.step);
11437
+ return W.availableFillImages(this.step);
11417
11438
  }
11418
11439
  async setFillImage(t) {
11419
11440
  const e = this.manager.getRegionElements(this.step.stepName);
11420
- await H.changeFillImage(this.step, t, e, this.manager);
11441
+ await W.changeFillImage(this.step, t, e, this.manager);
11421
11442
  }
11422
11443
  getFillImage() {
11423
11444
  var t;
11424
11445
  return (t = this.manager.getStepStorage(this.step.stepName)) == null ? void 0 : t.fillImage;
11425
11446
  }
11426
11447
  getAlignment() {
11427
- const t = H.findLayoutElements(this.manager, this.step);
11448
+ const t = W.findLayoutElements(this.manager, this.step);
11428
11449
  return t == null ? void 0 : t[0].align;
11429
11450
  }
11430
11451
  setAlignment(t) {
11431
11452
  const e = this.manager.getRegionElements(this.step.stepName);
11432
- H.changeAlignment(this.step, t, e, this.manager);
11453
+ W.changeAlignment(this.step, t, e, this.manager);
11433
11454
  }
11434
11455
  /**
11435
11456
  * When true & the step has replaceable text configured the user will be
@@ -11454,21 +11475,21 @@ class So extends it {
11454
11475
  const e = {
11455
11476
  input: t,
11456
11477
  helperData: {}
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
+ }, 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;
11458
11479
  i || (e.input = n);
11459
11480
  const s = a.length <= 0, o = s ? { inputText: n, text: n } : { inputText: n };
11460
11481
  this.manager.updateStorage(this.step.stepName, o);
11461
- const l = this.manager.getStepStorage(this.step.stepName), c = H.getProcessedInput(
11482
+ const l = this.manager.getStepStorage(this.step.stepName), c = W.getProcessedInput(
11462
11483
  n,
11463
11484
  this.step.data,
11464
- !!l.customiseAllText
11485
+ (l == null ? void 0 : l.customiseAllText) ?? !1
11465
11486
  );
11466
11487
  if (s)
11467
11488
  i || this.manager.updateMetadata(this.step.stepName, {
11468
11489
  text: c
11469
11490
  });
11470
11491
  else {
11471
- const { command: A, errorData: u, helperData: h } = H.updateInputText(
11492
+ const { command: A, errorData: u, helperData: h } = W.updateInputText(
11472
11493
  n,
11473
11494
  a,
11474
11495
  this.step,
@@ -11507,8 +11528,8 @@ class So extends it {
11507
11528
  if (!(t != null && t.defaultCleared) && this.step.data.deleteDefaultOnFocus) {
11508
11529
  const e = this.setText("");
11509
11530
  this.manager.updateStorage(this.step.stepName, { defaultCleared: !0, inputText: "" });
11510
- const a = H.findLayoutElements(this.manager, this.step);
11511
- return H.updateInputText("", a, this.step, this.manager), e;
11531
+ const a = W.findLayoutElements(this.manager, this.step);
11532
+ return W.updateInputText("", a, this.step, this.manager), e;
11512
11533
  }
11513
11534
  }
11514
11535
  hasColorPicker() {
@@ -11545,7 +11566,7 @@ class So extends it {
11545
11566
  * @returns A list of colors that can be used for the text's outline.
11546
11567
  */
11547
11568
  getAvailableStrokeColors() {
11548
- return this.step.data.strokeEnabled ? H.availableStrokeColors(this.step) : [];
11569
+ return this.step.data.strokeEnabled ? W.availableStrokeColors(this.step) : [];
11549
11570
  }
11550
11571
  getStrokeColor() {
11551
11572
  var t, e;
@@ -11557,7 +11578,7 @@ class So extends it {
11557
11578
  */
11558
11579
  async setStrokeColor(t) {
11559
11580
  const e = this.manager.getRegionElements(this.step.stepName);
11560
- await H.changeStrokeColor(this.step, t, e, this.manager);
11581
+ await W.changeStrokeColor(this.step, t, e, this.manager);
11561
11582
  }
11562
11583
  }
11563
11584
  class vo extends it {
@@ -11678,7 +11699,7 @@ class ce {
11678
11699
  }
11679
11700
  }
11680
11701
  }
11681
- const Jn = v`
11702
+ const Jn = S`
11682
11703
  fragment CreateDesignTransaction on Transaction {
11683
11704
  id
11684
11705
  designName
@@ -11703,7 +11724,7 @@ const Jn = v`
11703
11724
  externalProductVariantId
11704
11725
  }
11705
11726
  }
11706
- `, bo = v`
11727
+ `, bo = S`
11707
11728
  ${Jn}
11708
11729
  mutation CreateDesign(
11709
11730
  $name: String!
@@ -11735,7 +11756,7 @@ const Jn = v`
11735
11756
  }
11736
11757
  }
11737
11758
  }
11738
- `, Io = v`
11759
+ `, Io = S`
11739
11760
  ${Jn}
11740
11761
  mutation CreateDesigns($inputs: [DesignCreateInput]!) {
11741
11762
  designCreateMany(inputs: $inputs) {
@@ -11925,37 +11946,37 @@ const Po = async (r, t) => {
11925
11946
  for (const T of Object.keys(i)) {
11926
11947
  const nt = i[T], R = t.steps.find((tt) => tt.stepName === T);
11927
11948
  for (let tt = 0; tt < nt.selections.length; ++tt) {
11928
- const W = nt.selections[tt];
11949
+ const j = nt.selections[tt];
11929
11950
  if (R && (!D || R.option && (R.option.variants || []).length > 1 && !R.data.hideSelectionInCart && !R.data.hideSelectionsInCart)) {
11930
11951
  const ft = R.stepTitle;
11931
11952
  x[ft] ? x[ft].push({
11932
- id: W.id || "",
11933
- name: W.name,
11934
- priceModifier: W.priceModifier
11953
+ id: j.id || "",
11954
+ name: j.name,
11955
+ priceModifier: j.priceModifier
11935
11956
  }) : x[ft] = [
11936
11957
  {
11937
- id: W.id || "",
11938
- name: W.name,
11939
- priceModifier: W.priceModifier
11958
+ id: j.id || "",
11959
+ name: j.name,
11960
+ priceModifier: j.priceModifier
11940
11961
  }
11941
11962
  ];
11942
11963
  }
11943
- k += W.priceModifier;
11964
+ k += j.priceModifier;
11944
11965
  }
11945
11966
  }
11946
11967
  return [x, k];
11947
11968
  }, [C] = await f(!0), w = Object.fromEntries(
11948
11969
  Object.keys(C).map((D) => [D, C[D].map((x) => x.id)])
11949
- ), [S] = await f(!1), y = Object.fromEntries(
11950
- Object.keys(S).map((D) => [
11970
+ ), [y] = await f(!1), v = Object.fromEntries(
11971
+ Object.keys(y).map((D) => [
11951
11972
  D,
11952
- S[D].map((x) => x.id)
11973
+ y[D].map((x) => x.id)
11953
11974
  ])
11954
11975
  );
11955
- let B = await o(m, n.id);
11956
- if (B) {
11957
- const D = await (await rt(B)).blob();
11958
- B = (await U.uploadAsset(
11976
+ let E = await o(m, n.id);
11977
+ if (E) {
11978
+ const D = await (await rt(E)).blob();
11979
+ E = (await U.uploadAsset(
11959
11980
  { name: `${n.id}-preview-image.png`, blob: D },
11960
11981
  Ce.Image,
11961
11982
  !0,
@@ -11973,7 +11994,7 @@ const Po = async (r, t) => {
11973
11994
  workflowId: t.id,
11974
11995
  transactionId: n.id,
11975
11996
  useThreeDimPreview: !!m,
11976
- previewImage: B
11997
+ previewImage: E
11977
11998
  };
11978
11999
  if (p) {
11979
12000
  const x = [];
@@ -11983,7 +12004,7 @@ const Po = async (r, t) => {
11983
12004
  }
11984
12005
  if (w) {
11985
12006
  const x = [];
11986
- for (const [k, T] of Object.entries(y))
12007
+ for (const [k, T] of Object.entries(v))
11987
12008
  x.push({ key: k, ids: T });
11988
12009
  D.selectedVariants = x;
11989
12010
  }
@@ -12139,7 +12160,7 @@ class Mo {
12139
12160
  throw new z("Unexpected storage method requested");
12140
12161
  }
12141
12162
  }
12142
- const qe = new Mo(), To = v`
12163
+ const qe = new Mo(), To = S`
12143
12164
  mutation AddTransactionStakeholder($id: String!, $type: String!, $details: CustomerDetailsInput!) {
12144
12165
  transactionAddStakeholder(id: $id, details: $details, type: $type) {
12145
12166
  id
@@ -12153,7 +12174,7 @@ const qe = new Mo(), To = v`
12153
12174
  }
12154
12175
  }
12155
12176
  }
12156
- `, No = v`
12177
+ `, No = S`
12157
12178
  mutation AddAddressToTransaction(
12158
12179
  $transactionId: String!
12159
12180
  $streetAddress: String
@@ -12175,7 +12196,7 @@ const qe = new Mo(), To = v`
12175
12196
  id
12176
12197
  }
12177
12198
  }
12178
- `, Qo = v`
12199
+ `, Qo = S`
12179
12200
  mutation AddOrganizationToTransaction($transactionId: String!, $organizationName: String!) {
12180
12201
  organizationAttachToTransaction(transactionId: $transactionId, organizationName: $organizationName) {
12181
12202
  id
@@ -12295,9 +12316,9 @@ class Oo {
12295
12316
  }
12296
12317
  let i = 2048;
12297
12318
  e && e <= 2048 && (i = e);
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);
12319
+ const s = gt(i, i), o = this.commandContext.getAllLayouts(), l = a.defaultPreviewPanelIndex || 0, c = a.panels[l], d = o.find((y) => {
12320
+ var v;
12321
+ return ((v = y.layoutState) == null ? void 0 : v.layout.panelId) === (c == null ? void 0 : c.name);
12301
12322
  }) || o[0], A = d.layoutState.layout.previewRegion ? {
12302
12323
  x: d.layoutState.layout.previewRegion.left,
12303
12324
  y: d.layoutState.layout.previewRegion.top,
@@ -12709,17 +12730,17 @@ const $o = [
12709
12730
  return console.error(o), [];
12710
12731
  }
12711
12732
  }, Vo = async (r, t, e, a) => {
12712
- var y, B;
12733
+ var v, E;
12713
12734
  const n = e.data, i = a.option;
12714
12735
  if (!i)
12715
12736
  return console.error(`No option for step ${a.stepName}.`), [];
12716
- const s = ((y = i.variants) == null ? void 0 : y.find((E) => E.id === n.illustrationVariantId)) || ae(i);
12737
+ const s = ((v = i.variants) == null ? void 0 : v.find((B) => B.id === n.illustrationVariantId)) || ae(i);
12717
12738
  if (!s)
12718
12739
  return console.error(`No variant with ID: ${n.illustrationVariantId}`), [];
12719
12740
  if (!s.asset)
12720
12741
  return console.error(`No asset for variant with ID: ${n.illustrationVariantId}`), [];
12721
12742
  t[a.stepName] = { selectedVariants: [s] };
12722
- const o = (B = s.asset) == null ? void 0 : B.fileLink;
12743
+ const o = (E = s.asset) == null ? void 0 : E.fileLink;
12723
12744
  if (!o)
12724
12745
  return console.error(`No asset link for variant with ID: ${n.illustrationVariantId}`), [];
12725
12746
  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;
@@ -12727,32 +12748,32 @@ const $o = [
12727
12748
  return console.error("Failed to read SVG."), [];
12728
12749
  pa(m);
12729
12750
  const g = {};
12730
- kt(m, (E) => {
12731
- $o.includes(E.tagName) && !E.attributes.getNamedItem("fill") && E.setAttribute("fill", "#000000");
12732
- const I = E.attributes.getNamedItem("fill");
12751
+ kt(m, (B) => {
12752
+ $o.includes(B.tagName) && !B.attributes.getNamedItem("fill") && B.setAttribute("fill", "#000000");
12753
+ const I = B.attributes.getNamedItem("fill");
12733
12754
  if (I && I.value !== "none") {
12734
12755
  const x = I.value, T = `spiff-fill-${x.replace(/\W/g, "")}`;
12735
- E.classList.add(T), g[T] = { browserValue: x };
12756
+ B.classList.add(T), g[T] = { browserValue: x };
12736
12757
  }
12737
- const D = E.attributes.getNamedItem("stroke");
12758
+ const D = B.attributes.getNamedItem("stroke");
12738
12759
  if (D && D.value !== "none") {
12739
12760
  const x = D.value, T = `spiff-stroke-${x.replace(/\W/g, "")}`;
12740
- E.classList.add(T), g[T] = { browserValue: x };
12761
+ B.classList.add(T), g[T] = { browserValue: x };
12741
12762
  }
12742
12763
  });
12743
12764
  const f = bt().serializeToString(m), C = n.colors;
12744
12765
  if (C) {
12745
- for (const [E, I] of Object.entries(g))
12766
+ for (const [B, I] of Object.entries(g))
12746
12767
  for (const D of Object.keys(C))
12747
12768
  if (I.browserValue === D) {
12748
- g[E] = { browserValue: C[D] };
12769
+ g[B] = { browserValue: C[D] };
12749
12770
  break;
12750
12771
  }
12751
12772
  }
12752
- const w = (E) => {
12753
- const I = r.find((x) => x.panelId === E.panelId);
12773
+ const w = (B) => {
12774
+ const I = r.find((x) => x.panelId === B.panelId);
12754
12775
  if (!I)
12755
- throw new q(E);
12776
+ throw new q(B);
12756
12777
  const D = Q();
12757
12778
  return new G(
12758
12779
  {
@@ -12760,22 +12781,22 @@ const $o = [
12760
12781
  id: D,
12761
12782
  svg: f,
12762
12783
  type: M.Illustration,
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
12784
+ y: B.top,
12785
+ x: B.left,
12786
+ rotation: B.rotation,
12787
+ width: B.width,
12788
+ height: B.height,
12789
+ layer: B.layer,
12790
+ layerIndex: B.layerIndex,
12791
+ immutable: B.immutable
12771
12792
  },
12772
12793
  I
12773
12794
  );
12774
- }, S = a.data.regions;
12795
+ }, y = a.data.regions;
12775
12796
  try {
12776
- return S.map(w);
12777
- } catch (E) {
12778
- return console.error(E), [];
12797
+ return y.map(w);
12798
+ } catch (B) {
12799
+ return console.error(B), [];
12779
12800
  }
12780
12801
  }, zo = async (r, t, e) => {
12781
12802
  const a = await qn(e.data.module), n = t.data, i = (o, l) => {
@@ -12979,7 +13000,7 @@ const $o = [
12979
13000
  const p = a.option;
12980
13001
  if (!p)
12981
13002
  return;
12982
- const f = ((w = p.variants) == null ? void 0 : w.find((S) => S.id === i.fontVariantId)) || ae(p);
13003
+ const f = ((w = p.variants) == null ? void 0 : w.find((y) => y.id === i.fontVariantId)) || ae(p);
12983
13004
  if (!f || !f.asset)
12984
13005
  return;
12985
13006
  t[a.stepName] = { selectedVariants: [f] };
@@ -13031,7 +13052,7 @@ const $o = [
13031
13052
  y: p.top
13032
13053
  };
13033
13054
  if (d) {
13034
- const [w, S] = pe(
13055
+ const [w, y] = pe(
13035
13056
  a.data.size || s,
13036
13057
  d,
13037
13058
  p,
@@ -13052,7 +13073,7 @@ const $o = [
13052
13073
  {
13053
13074
  ...C,
13054
13075
  fontSize: w,
13055
- text: C.curved ? C.text : (S || []).join(`
13076
+ text: C.curved ? C.text : (y || []).join(`
13056
13077
  `)
13057
13078
  },
13058
13079
  f
@@ -14122,7 +14143,7 @@ class sl {
14122
14143
  };
14123
14144
  }
14124
14145
  }
14125
- const ol = v`
14146
+ const ol = S`
14126
14147
  query GetManyMetafields($entityIds: [String!]!) {
14127
14148
  metafieldsMany(entityIds: $entityIds) {
14128
14149
  id
@@ -14330,15 +14351,15 @@ class Zn {
14330
14351
  let A = !1;
14331
14352
  const u = c.subscribe({
14332
14353
  next(h) {
14333
- var g, p, f, C, w, S;
14354
+ var g, p, f, C, w, y;
14334
14355
  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))
14335
14356
  return;
14336
14357
  o.abort(), A = !0, u.unsubscribe();
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
+ 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)))) || [];
14338
14359
  d({
14339
14360
  items: m,
14340
14361
  // Clone items because it could be cached data (immutable)
14341
- total: ((S = (w = h.data.productCollections) == null ? void 0 : w[0].productCollectionProductsFeed) == null ? void 0 : S.total) ?? 0
14362
+ total: ((y = (w = h.data.productCollections) == null ? void 0 : w[0].productCollectionProductsFeed) == null ? void 0 : y.total) ?? 0
14342
14363
  });
14343
14364
  },
14344
14365
  error() {
@@ -14568,7 +14589,7 @@ class ul {
14568
14589
  };
14569
14590
  }
14570
14591
  }
14571
- const hl = v`
14592
+ const hl = S`
14572
14593
  ${re(!1)}
14573
14594
  query GetProductCollections($ids: [String!]!) {
14574
14595
  productCollections(ids: $ids) {
@@ -14612,7 +14633,7 @@ class ml {
14612
14633
  delete this.listeners[e];
14613
14634
  }
14614
14635
  }
14615
- const gl = v`
14636
+ const gl = S`
14616
14637
  mutation AddAddressToBundle(
14617
14638
  $bundleId: String!
14618
14639
  $streetAddress: String
@@ -14634,13 +14655,13 @@ const gl = v`
14634
14655
  id
14635
14656
  }
14636
14657
  }
14637
- `, pl = v`
14658
+ `, pl = S`
14638
14659
  mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
14639
14660
  organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
14640
14661
  id
14641
14662
  }
14642
14663
  }
14643
- `, fl = v`
14664
+ `, fl = S`
14644
14665
  mutation GenerateQuoteId($id: String!) {
14645
14666
  bundleGenerateQuoteId(id: $id) {
14646
14667
  id
@@ -15328,7 +15349,7 @@ class Ye {
15328
15349
  };
15329
15350
  }
15330
15351
  }
15331
- const Cl = v`
15352
+ const Cl = S`
15332
15353
  mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
15333
15354
  processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
15334
15355
  id
@@ -15362,7 +15383,7 @@ class wl {
15362
15383
  let o = !1, l = 0, c, d;
15363
15384
  for (; !o; ) {
15364
15385
  c = await b.getShadowGraphqlClient().query({
15365
- query: v`
15386
+ query: S`
15366
15387
  query getProcessFlowExecution($ids: [String]!) {
15367
15388
  processExecutions(ids: $ids) {
15368
15389
  id
@@ -15550,7 +15571,7 @@ class Ka {
15550
15571
  return t.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new jt(e));
15551
15572
  }
15552
15573
  }
15553
- const ue = v`
15574
+ const ue = S`
15554
15575
  query GetCustomer($emailAddress: String!) {
15555
15576
  customer(emailAddress: $emailAddress) {
15556
15577
  id
@@ -15561,7 +15582,7 @@ const ue = v`
15561
15582
  }
15562
15583
  }
15563
15584
  }
15564
- `, vl = v`
15585
+ `, vl = S`
15565
15586
  mutation CustomerCreate($details: CustomerDetailsInput!) {
15566
15587
  customerCreate(details: $details) {
15567
15588
  id
@@ -15572,7 +15593,7 @@ const ue = v`
15572
15593
  }
15573
15594
  }
15574
15595
  `;
15575
- v`
15596
+ S`
15576
15597
  mutation CustomerAuthenticate($loginToken: String!) {
15577
15598
  customerAuthenticate(loginToken: $loginToken) {
15578
15599
  id
@@ -15603,12 +15624,12 @@ v`
15603
15624
  }
15604
15625
  }
15605
15626
  `;
15606
- const El = v`
15627
+ const El = S`
15607
15628
  mutation CustomerGenerateVerificationCode($emailAddress: String!) {
15608
15629
  customerGenerateVerificationCode(emailAddress: $emailAddress)
15609
15630
  }
15610
15631
  `;
15611
- v`
15632
+ S`
15612
15633
  mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
15613
15634
  customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
15614
15635
  id
@@ -15640,7 +15661,7 @@ v`
15640
15661
  }
15641
15662
  }
15642
15663
  `;
15643
- const Bl = v`
15664
+ const Bl = S`
15644
15665
  query CustomerMetafields($id: String!) {
15645
15666
  metafields(entityId: $id) {
15646
15667
  id
@@ -15806,7 +15827,7 @@ class rd {
15806
15827
  } catch (a) {
15807
15828
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15808
15829
  }
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
+ }, 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.4b701db0-4aa9-5e94-b640-cd096f19527b"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15810
15831
  }
15811
15832
  configure(t) {
15812
15833
  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);
@@ -15907,13 +15928,13 @@ class rd {
15907
15928
  if (o != null && o.has(t) && o.get(t) && await this.reloadLoggedInCustomer()) {
15908
15929
  const C = ((h = (u = this.customer) == null ? void 0 : u.bundleStakeholders) == null ? void 0 : h.find(
15909
15930
  (w) => {
15910
- var S, y;
15911
- return (y = (S = w.bundle) == null ? void 0 : S.transactions) == null ? void 0 : y.some((B) => B.id === t);
15931
+ var y, v;
15932
+ return (v = (y = w.bundle) == null ? void 0 : y.transactions) == null ? void 0 : v.some((E) => E.id === t);
15912
15933
  }
15913
15934
  )) || ((g = (m = this.customer) == null ? void 0 : m.stakeholders) == null ? void 0 : g.find(
15914
15935
  (w) => {
15915
- var S;
15916
- return ((S = w.transaction) == null ? void 0 : S.id) === t;
15936
+ var y;
15937
+ return ((y = w.transaction) == null ? void 0 : y.id) === t;
15917
15938
  }
15918
15939
  ));
15919
15940
  if (C)
@@ -16135,7 +16156,7 @@ class rd {
16135
16156
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
16136
16157
  */
16137
16158
  async getExistingBundle(t, e, a, n) {
16138
- var h, m, g, p, f, C, w, S, y, B, E;
16159
+ var h, m, g, p, f, C, w, y, v, E, B;
16139
16160
  const i = N.getMap("bundleOwnerIds"), s = i == null ? void 0 : i.get(t), o = {};
16140
16161
  try {
16141
16162
  const I = await this.loggedInBearerToken();
@@ -16160,11 +16181,11 @@ class rd {
16160
16181
  });
16161
16182
  if (!((f = c.data) != null && f.bundles) || ((C = c.data) == null ? void 0 : C.bundles.length) === 0 || !((w = c.data) != null && w.bundles[0]))
16162
16183
  throw new Error(`Unable to find bundle: ${t}`);
16163
- const d = (S = c.data) == null ? void 0 : S.bundles[0], A = N.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16184
+ const d = (y = c.data) == null ? void 0 : y.bundles[0], A = N.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16164
16185
  A.set(d.id, d.partner.id), N.setMap("bundlePartnerIds", A);
16165
16186
  const u = new Ye(this, d, e, a, s, {
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,
16187
+ additionalHeaders: (v = n == null ? void 0 : n.graphql) == null ? void 0 : v.additionalHeaders,
16188
+ eagerFetchProducts: (B = (E = n == null ? void 0 : n.graphql) == null ? void 0 : E.productCollection) == null ? void 0 : B.eagerFetchProducts,
16168
16189
  existingGlobalPropertyState: c.data.globalPropertyState,
16169
16190
  readonly: n == null ? void 0 : n.readonly
16170
16191
  });
@@ -16177,13 +16198,13 @@ class rd {
16177
16198
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
16178
16199
  */
16179
16200
  async duplicateBundle(t, e, a, n) {
16180
- var h, m, g, p, f, C, w, S;
16201
+ var h, m, g, p, f, C, w, y;
16181
16202
  const i = (h = N.getMap("bundleOwnerIds")) == null ? void 0 : h.get(t), s = {};
16182
16203
  try {
16183
- const y = await this.loggedInBearerToken();
16184
- s.Authorization = `Bearer ${y}`;
16204
+ const v = await this.loggedInBearerToken();
16205
+ s.Authorization = `Bearer ${v}`;
16185
16206
  } catch {
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
+ const B = ((m = Object.entries(localStorage).find(([D, x]) => D.startsWith("CognitoIdentityServiceProvider") && D.endsWith("idToken"))) == null ? void 0 : m[0]) || "", I = localStorage.getItem(B);
16187
16208
  I && !Wt(I) && (s.Authorization = `Bearer ${I}`);
16188
16209
  }
16189
16210
  const o = {
@@ -16211,7 +16232,7 @@ class rd {
16211
16232
  const A = N.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
16212
16233
  A.set(c.id, c.bundleOwnerId), N.setMap("bundleOwnerIds", A);
16213
16234
  const u = new Ye(this, c, void 0, void 0, c.bundleOwnerId, {
16214
- eagerFetchProducts: (S = (w = n == null ? void 0 : n.graphql) == null ? void 0 : w.productCollection) == null ? void 0 : S.eagerFetchProducts,
16235
+ eagerFetchProducts: (y = (w = n == null ? void 0 : n.graphql) == null ? void 0 : w.productCollection) == null ? void 0 : y.eagerFetchProducts,
16215
16236
  existingGlobalPropertyState: c.globalPropertyState
16216
16237
  });
16217
16238
  return await u.getInitializationPromise(), u;
@@ -16284,20 +16305,20 @@ class rd {
16284
16305
  async getWorkflowExperiences(t, e) {
16285
16306
  if (t.length === 0)
16286
16307
  throw new ut("No options provided!");
16287
- const a = b.getShadowGraphqlClient(), n = async (y) => {
16308
+ const a = b.getShadowGraphqlClient(), n = async (v) => {
16288
16309
  var D, x, k;
16289
- if (y.length === 0)
16310
+ if (v.length === 0)
16290
16311
  return [];
16291
- const B = y.map((T) => T.option.transactionId), E = await a.query({
16312
+ const E = v.map((T) => T.option.transactionId), B = await a.query({
16292
16313
  query: Ci,
16293
16314
  variables: {
16294
- ids: B
16315
+ ids: E
16295
16316
  },
16296
16317
  errorPolicy: "all",
16297
16318
  fetchPolicy: "no-cache"
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";
16319
+ }), I = B.data.transactions;
16320
+ if (I.length !== v.length) {
16321
+ const T = ((x = (D = B.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16301
16322
  throw new ut(`Not all transactions were found: ${T}`);
16302
16323
  }
16303
16324
  return !this.activeIntegration && ((k = I[0].integrationProduct) != null && k.integration) && (this.activeIntegration = Promise.resolve(I[0].integrationProduct.integration)), I.map((T, nt) => {
@@ -16305,18 +16326,18 @@ class rd {
16305
16326
  return {
16306
16327
  transaction: T,
16307
16328
  workflowId: T.workflowId,
16308
- readOnly: ((R = y.find((tt) => tt.option.transactionId === T.id)) == null ? void 0 : R.option.readOnly) ?? !1,
16309
- index: y[nt].index
16329
+ readOnly: ((R = v.find((tt) => tt.option.transactionId === T.id)) == null ? void 0 : R.option.readOnly) ?? !1,
16330
+ index: v[nt].index
16310
16331
  };
16311
16332
  });
16312
- }, i = async (y) => {
16333
+ }, i = async (v) => {
16313
16334
  var I, D, x;
16314
- if (y.length === 0)
16335
+ if (v.length === 0)
16315
16336
  return [];
16316
- const B = await a.mutate({
16337
+ const E = await a.mutate({
16317
16338
  mutation: fi,
16318
16339
  variables: {
16319
- inputs: y.map((k) => ({
16340
+ inputs: v.map((k) => ({
16320
16341
  integrationProductId: k.option.type === "integration" ? k.option.integrationProductId : void 0,
16321
16342
  externalIntegrationId: k.option.type === "external" ? k.option.externalIntegrationId : void 0,
16322
16343
  externalProductId: k.option.type === "external" ? k.option.externalProductId : void 0,
@@ -16329,38 +16350,38 @@ class rd {
16329
16350
  },
16330
16351
  errorPolicy: "all",
16331
16352
  fetchPolicy: "no-cache"
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";
16353
+ }), B = (I = E.data) == null ? void 0 : I.transactionCreateMany;
16354
+ if (!B || B.length === 0) {
16355
+ const k = ((x = (D = E.errors) == null ? void 0 : D[0]) == null ? void 0 : x.message) || "Unknown error";
16335
16356
  throw new ut(`Failed to create transactions: ${k}`);
16336
16357
  }
16337
- return E.map((k, T) => ({
16358
+ return B.map((k, T) => ({
16338
16359
  transaction: k,
16339
16360
  workflowId: k.workflowId,
16340
16361
  readOnly: !1,
16341
- index: y[T].index
16362
+ index: v[T].index
16342
16363
  }));
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"
16364
+ }, s = t.map((v, E) => ({ option: v, index: E })), o = s.filter((v) => v.option.type === "transaction"), l = s.filter(
16365
+ (v) => v.option.type === "integration" || v.option.type === "external"
16345
16366
  ), c = Fa(o, 10), d = Fa(l, 10), A = (await Promise.all([
16346
16367
  ...c.map(n),
16347
16368
  ...d.map(i)
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
+ ])).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) => {
16349
16370
  var tt;
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({
16371
+ const { transaction: E, workflowId: B, readOnly: I, index: D } = v, x = m.get(B), k = t[D];
16372
+ !g.get(E.id) && E.transactionOwnerId && g.set(E.id, E.transactionOwnerId);
16373
+ const T = g.get(E.id) || void 0, nt = new bl({
16353
16374
  onMutate: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } }),
16354
16375
  onQuery: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } })
16355
16376
  }), R = {
16356
- product: B.product,
16357
- transaction: B,
16377
+ product: E.product,
16378
+ transaction: E,
16358
16379
  layouts: [],
16359
16380
  singleVariantsRenderable: (tt = k == null ? void 0 : k.workflowConfiguration) == null ? void 0 : tt.singleVariantsRenderable,
16360
16381
  stateMutationFunc: I ? async () => {
16361
16382
  throw new z("State mutation is forbidden in read only mode!");
16362
- } : async (W) => this.updateTransactionState({
16363
- ...W,
16383
+ } : async (j) => this.updateTransactionState({
16384
+ ...j,
16364
16385
  context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId }
16365
16386
  }),
16366
16387
  graphQlClient: () => nt,
@@ -16368,12 +16389,12 @@ class rd {
16368
16389
  workflow: x,
16369
16390
  isReloadedTransaction: k.type === "transaction"
16370
16391
  };
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;
16392
+ if (k.type === "transaction" && E.workflowState) {
16393
+ const j = JSON.parse(E.workflowState);
16394
+ R.layouts = Object.values(j.layouts || {}).map((ft) => ft.layout), await za(j), R.reloadedState = j;
16374
16395
  } else if (!I && k.workflowState) {
16375
- const W = JSON.parse(k.workflowState);
16376
- R.layouts = Object.values(W.layouts || {}).map((ft) => ft.layout), await za(W), R.reloadedState = W;
16396
+ const j = JSON.parse(k.workflowState);
16397
+ R.layouts = Object.values(j.layouts || {}).map((ft) => ft.layout), await za(j), R.reloadedState = j;
16377
16398
  } else
16378
16399
  R.layouts = Fl(
16379
16400
  R.transaction,
@@ -16384,11 +16405,11 @@ class rd {
16384
16405
  ), R.delayWorkflowStateSync = !0, { experienceOptions: R, index: D, options: k };
16385
16406
  }), f = await Promise.all(p);
16386
16407
  N.setMap("transactionOwnerIds", g);
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;
16408
+ const w = f.sort((v, E) => v.index - E.index).map(async (v) => {
16409
+ const { experienceOptions: E, options: B } = v, I = new Oo(this, E);
16410
+ return await I.getWorkflowManager().getInitializationPromise(), B.type !== "transaction" && this.customer && await I.attachCustomerDetails({ email: this.customer.emailAddress }), I;
16411
+ }), y = await Promise.all(w);
16412
+ return y.forEach((v) => v.getWorkflowManager().setWorkflowStateSyncEnabled(!0)), y;
16392
16413
  }
16393
16414
  storeCustomer(t) {
16394
16415
  const e = N.getMap("partnerCustomerIds") || /* @__PURE__ */ new Map();
@@ -17083,13 +17104,13 @@ class Ql extends it {
17083
17104
  return this.manager.getStepStorage(this.step.stepName);
17084
17105
  }
17085
17106
  }
17086
- const Rl = v`
17107
+ const Rl = S`
17087
17108
  query GetLoggedInCustomer($email: String!) {
17088
17109
  customer(emailAddress: $email) {
17089
17110
  id
17090
17111
  }
17091
17112
  }
17092
- `, Da = v`
17113
+ `, Da = S`
17093
17114
  query GetCustomerTransactions(
17094
17115
  $id: String!
17095
17116
  $limit: Int!
@@ -17126,21 +17147,21 @@ const Rl = v`
17126
17147
  total
17127
17148
  }
17128
17149
  }
17129
- `, Ol = v`
17150
+ `, Ol = S`
17130
17151
  mutation SetTransactionDesignName($id: String!, $name: String!) {
17131
17152
  transactionUpdate(id: $id, designName: $name) {
17132
17153
  id
17133
17154
  designName
17134
17155
  }
17135
17156
  }
17136
- `, $l = v`
17157
+ `, $l = S`
17137
17158
  mutation DuplicateTransaction($id: String!, $template: Boolean!) {
17138
17159
  transactionDuplicate(id: $id, template: $template) {
17139
17160
  id
17140
17161
  workflowViewerLink
17141
17162
  }
17142
17163
  }
17143
- `, Ul = v`
17164
+ `, Ul = S`
17144
17165
  query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
17145
17166
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
17146
17167
  items {
@@ -17155,7 +17176,7 @@ const Rl = v`
17155
17176
  total
17156
17177
  }
17157
17178
  }
17158
- `, Ll = v`
17179
+ `, Ll = S`
17159
17180
  query GetTransactionsForBundle($id: String!) {
17160
17181
  bundles(ids: [$id]) {
17161
17182
  id
@@ -17176,21 +17197,21 @@ const Rl = v`
17176
17197
  }
17177
17198
  }
17178
17199
  }
17179
- `, Vl = v`
17200
+ `, Vl = S`
17180
17201
  mutation SetBundleName($id: String!, $name: String!) {
17181
17202
  bundleUpdate(id: $id, name: $name) {
17182
17203
  id
17183
17204
  name
17184
17205
  }
17185
17206
  }
17186
- `, zl = v`
17207
+ `, zl = S`
17187
17208
  mutation DuplicateBundle($id: String!, $template: Boolean!) {
17188
17209
  bundleDuplicate(id: $id, template: $template) {
17189
17210
  id
17190
17211
  workflowViewerLink
17191
17212
  }
17192
17213
  }
17193
- `, Gl = v`
17214
+ `, Gl = S`
17194
17215
  query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
17195
17216
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
17196
17217
  items {
@@ -17421,7 +17442,7 @@ function da(r) {
17421
17442
  var t = ot;
17422
17443
  r.__c = r.__(), ot = t;
17423
17444
  }
17424
- const nr = v`
17445
+ const nr = S`
17425
17446
  fragment AddressValidationResultFields on AddressValidationResult {
17426
17447
  addressComplete
17427
17448
  address {
@@ -17443,7 +17464,7 @@ const nr = v`
17443
17464
  }
17444
17465
  missingComponentTypes
17445
17466
  }
17446
- `, xa = v`
17467
+ `, xa = S`
17447
17468
  ${nr}
17448
17469
  fragment AddressValidationJobFields on AddressValidationJob {
17449
17470
  id
@@ -17455,14 +17476,14 @@ const nr = v`
17455
17476
  ...AddressValidationResultFields
17456
17477
  }
17457
17478
  }
17458
- `, Yl = v`
17479
+ `, Yl = S`
17459
17480
  ${xa}
17460
17481
  query GetAddressValidationJobs($ids: [String!]!) {
17461
17482
  addressValidationJobs(ids: $ids) {
17462
17483
  ...AddressValidationJobFields
17463
17484
  }
17464
17485
  }
17465
- `, Jl = v`
17486
+ `, Jl = S`
17466
17487
  ${xa}
17467
17488
  query GetRecipientsWithAddressValidationJobs($ids: [String!]!) {
17468
17489
  recipients(ids: $ids) {
@@ -17472,14 +17493,14 @@ const nr = v`
17472
17493
  }
17473
17494
  }
17474
17495
  }
17475
- `, Kl = v`
17496
+ `, Kl = S`
17476
17497
  ${nr}
17477
17498
  mutation ValidateRecipientAddress($id: String!) {
17478
17499
  recipientValidate(id: $id) {
17479
17500
  ...AddressValidationResultFields
17480
17501
  }
17481
17502
  }
17482
- `, _l = v`
17503
+ `, _l = S`
17483
17504
  ${xa}
17484
17505
  mutation BatchValidateRecipientAddress($ids: [String!]!) {
17485
17506
  recipientValidateBatch(ids: $ids) {
@@ -17612,7 +17633,7 @@ export {
17612
17633
  jc as ResizeCommand,
17613
17634
  qt as ResourceNotFoundError,
17614
17635
  Wc as RotateCommand,
17615
- j as ScaleAxis,
17636
+ H as ScaleAxis,
17616
17637
  Kc as SendBackwardsCommand,
17617
17638
  yo as ShapeStepHandle,
17618
17639
  Sr as ShareActionType,
@@ -17720,7 +17741,7 @@ export {
17720
17741
  Oa as svgColorValueToDefinition,
17721
17742
  On as svgStringDimensions,
17722
17743
  ha as svgToDataUrl,
17723
- H as textStepService,
17744
+ W as textStepService,
17724
17745
  Es as toast,
17725
17746
  Ed as validateWorkflowExperienceRecipient,
17726
17747
  Bd as validateWorkflowExperienceRecipients,