@builder.io/sdk-qwik 0.0.12 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/.yarn/cache/@builder.io-qwik-npm-0.0.103-bdc7786a46-98363e9103.zip +0 -0
  2. package/.yarn/cache/@gar-promisify-npm-1.1.3-ac1a325862-4059f790e2.zip +0 -0
  3. package/.yarn/cache/@npmcli-fs-npm-2.1.2-08d434e77b-405074965e.zip +0 -0
  4. package/.yarn/cache/@npmcli-move-file-npm-2.0.1-b593d8f741-52dc02259d.zip +0 -0
  5. package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
  6. package/.yarn/cache/@types-node-npm-18.7.6-c1eafa3d9a-5122988c32.zip +0 -0
  7. package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
  8. package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
  9. package/.yarn/cache/agentkeepalive-npm-4.2.1-b86a9fb343-39cb49ed8c.zip +0 -0
  10. package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
  11. package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
  12. package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
  13. package/.yarn/cache/are-we-there-yet-npm-3.0.1-3395b1512f-52590c2486.zip +0 -0
  14. package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
  15. package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
  16. package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
  17. package/.yarn/cache/cacache-npm-16.1.2-0d36d1aaf1-defe1d6f55.zip +0 -0
  18. package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
  19. package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
  20. package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
  21. package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
  22. package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
  23. package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
  24. package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
  25. package/.yarn/cache/depd-npm-1.1.2-b0c8414da7-6b406620d2.zip +0 -0
  26. package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
  27. package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
  28. package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
  29. package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
  30. package/.yarn/cache/esbuild-darwin-arm64-npm-0.14.54-ec53803fa6-8.zip +0 -0
  31. package/.yarn/cache/esbuild-npm-0.14.54-b3dcd8a41e-49e360b118.zip +0 -0
  32. package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
  33. package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
  34. package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
  35. package/.yarn/cache/fsevents-patch-3340e2eb10-8.zip +0 -0
  36. package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
  37. package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
  38. package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
  39. package/.yarn/cache/glob-npm-8.0.3-750f909025-50bcdea19d.zip +0 -0
  40. package/.yarn/cache/graceful-fs-npm-4.2.10-79c70989ca-3f109d70ae.zip +0 -0
  41. package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
  42. package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
  43. package/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip +0 -0
  44. package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
  45. package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
  46. package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
  47. package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
  48. package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
  49. package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
  50. package/.yarn/cache/infer-owner-npm-1.0.4-685ac3d2af-181e732764.zip +0 -0
  51. package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
  52. package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
  53. package/.yarn/cache/ip-npm-2.0.0-204facb3cc-cfcfac6b87.zip +0 -0
  54. package/.yarn/cache/is-core-module-npm-2.10.0-6dff9310aa-0f3f77811f.zip +0 -0
  55. package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
  56. package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
  57. package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
  58. package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
  59. package/.yarn/cache/lru-cache-npm-7.14.0-354cf654ec-efdd329f2c.zip +0 -0
  60. package/.yarn/cache/make-fetch-happen-npm-10.2.1-f1cc7cd2df-2332eb9a8e.zip +0 -0
  61. package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
  62. package/.yarn/cache/minimatch-npm-5.1.0-34f6240621-15ce53d31a.zip +0 -0
  63. package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
  64. package/.yarn/cache/minipass-fetch-npm-2.1.1-c4a8efdb09-1aae0c2240.zip +0 -0
  65. package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
  66. package/.yarn/cache/minipass-npm-3.3.5-a555b091e7-f89f02bcaa.zip +0 -0
  67. package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
  68. package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
  69. package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
  70. package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
  71. package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
  72. package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
  73. package/.yarn/cache/nanoid-npm-3.3.4-3d250377d6-2fddd6dee9.zip +0 -0
  74. package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
  75. package/.yarn/cache/node-gyp-npm-9.1.0-2091059b31-1437fa4a87.zip +0 -0
  76. package/.yarn/cache/nopt-npm-5.0.0-304b40fbfe-d35fdec187.zip +0 -0
  77. package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
  78. package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
  79. package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
  80. package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
  81. package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
  82. package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
  83. package/.yarn/cache/postcss-npm-8.4.16-7367383579-10eee25efd.zip +0 -0
  84. package/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip +0 -0
  85. package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
  86. package/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-d4ea81502d.zip +0 -0
  87. package/.yarn/cache/resolve-npm-1.22.1-3980488690-07af5fc1e8.zip +0 -0
  88. package/.yarn/cache/resolve-patch-46f9469d0d-5656f4d0be.zip +0 -0
  89. package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
  90. package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
  91. package/.yarn/cache/rollup-npm-2.78.0-09284f4c78-01b5a7ae08.zip +0 -0
  92. package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
  93. package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
  94. package/.yarn/cache/semver-npm-7.3.7-3bfe704194-2fa3e87756.zip +0 -0
  95. package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
  96. package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
  97. package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
  98. package/.yarn/cache/socks-npm-2.7.0-cc1cb019db-0b5d94e2b3.zip +0 -0
  99. package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
  100. package/.yarn/cache/source-map-js-npm-1.0.2-ee4f9f9b30-c049a7fc4d.zip +0 -0
  101. package/.yarn/cache/ssri-npm-9.0.1-33ce27f4f8-fb58f5e46b.zip +0 -0
  102. package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
  103. package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
  104. package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
  105. package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
  106. package/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-a04c07bb9e.zip +0 -0
  107. package/.yarn/cache/typescript-npm-4.7.4-65aa6ffb42-5750181b1c.zip +0 -0
  108. package/.yarn/cache/typescript-patch-ae154b3216-96d3030cb0.zip +0 -0
  109. package/.yarn/cache/unique-filename-npm-1.1.1-c885c5095b-cf4998c922.zip +0 -0
  110. package/.yarn/cache/unique-slug-npm-2.0.2-f6ba1ddeb7-5b6876a645.zip +0 -0
  111. package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
  112. package/.yarn/cache/vite-npm-3.0.2-a17ab24a12-10aebec0df.zip +0 -0
  113. package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
  114. package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
  115. package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
  116. package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
  117. package/.yarn/install-state.gz +0 -0
  118. package/README.md +2 -2
  119. package/lib/index.qwik.cjs +452 -206
  120. package/lib/index.qwik.mjs +453 -207
  121. package/package.json +4 -3
  122. package/src/blocks/button/button.jsx +7 -2
  123. package/src/blocks/columns/columns.jsx +9 -4
  124. package/src/blocks/embed/embed.jsx +1 -1
  125. package/src/blocks/form/builder-blocks.jsx +1 -1
  126. package/src/blocks/form/form.jsx +2 -2
  127. package/src/blocks/select/select.jsx +1 -1
  128. package/src/blocks/symbol/symbol.jsx +8 -7
  129. package/src/components/render-block/block-styles.jsx +1 -1
  130. package/src/components/render-block/render-block.jsx +28 -26
  131. package/src/components/render-block/render-component.jsx +4 -3
  132. package/src/components/render-block/render-repeated-block.jsx +4 -1
  133. package/src/components/render-blocks.jsx +2 -2
  134. package/src/components/render-content/render-content.jsx +20 -7
  135. package/src/components/render-inlined-styles.jsx +4 -3
  136. package/src/functions/evaluate.js +1 -1
  137. package/src/functions/get-processed-block.js +10 -6
  138. package/src/functions/get-processed-block.test.js +1 -1
  139. package/src/functions/mark-mutable.js +14 -0
  140. package/src/functions/track.js +71 -2
  141. package/src/helpers/cookie.js +59 -0
  142. package/src/helpers/localStorage.js +34 -0
  143. package/src/helpers/nullable.js +4 -0
  144. package/src/helpers/sessionId.js +26 -0
  145. package/src/helpers/time.js +5 -0
  146. package/src/helpers/url.js +10 -0
  147. package/src/helpers/url.test.js +15 -0
  148. package/src/helpers/uuid.js +13 -0
  149. package/src/helpers/visitorId.js +33 -0
  150. package/src/types/can-track.js +0 -0
@@ -162,7 +162,7 @@ function evaluate({ code, context, state, event }) {
162
162
  try {
163
163
  return new Function("builder", "Builder", "state", "context", "event", useCode)(builder, builder, state, context, event);
164
164
  } catch (e) {
165
- console.warn("Builder custom code error: ", e);
165
+ console.warn("Builder custom code error: \n While Evaluating: \n ", useCode, "\n", e.message || e);
166
166
  }
167
167
  }
168
168
  const set = (obj, _path, value) => {
@@ -175,36 +175,36 @@ const set = (obj, _path, value) => {
175
175
  function transformBlock(block) {
176
176
  return block;
177
177
  }
178
- var __defProp$7 = Object.defineProperty;
179
- var __defProps$5 = Object.defineProperties;
180
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
181
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
182
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
183
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
184
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, {
178
+ var __defProp$8 = Object.defineProperty;
179
+ var __defProps$6 = Object.defineProperties;
180
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
181
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
182
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
183
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
184
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, {
185
185
  enumerable: true,
186
186
  configurable: true,
187
187
  writable: true,
188
188
  value
189
189
  }) : obj[key] = value;
190
- var __spreadValues$7 = (a, b) => {
190
+ var __spreadValues$8 = (a, b) => {
191
191
  for (var prop in b || (b = {}))
192
- if (__hasOwnProp$7.call(b, prop))
193
- __defNormalProp$7(a, prop, b[prop]);
194
- if (__getOwnPropSymbols$7) {
195
- for (var prop of __getOwnPropSymbols$7(b))
196
- if (__propIsEnum$7.call(b, prop))
197
- __defNormalProp$7(a, prop, b[prop]);
192
+ if (__hasOwnProp$8.call(b, prop))
193
+ __defNormalProp$8(a, prop, b[prop]);
194
+ if (__getOwnPropSymbols$8) {
195
+ for (var prop of __getOwnPropSymbols$8(b))
196
+ if (__propIsEnum$8.call(b, prop))
197
+ __defNormalProp$8(a, prop, b[prop]);
198
198
  }
199
199
  return a;
200
200
  };
201
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
201
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
202
202
  const evaluateBindings = ({ block, context, state }) => {
203
203
  if (!block.bindings)
204
204
  return block;
205
- const copied = __spreadProps$5(__spreadValues$7({}, block), {
206
- properties: __spreadValues$7({}, block.properties),
207
- actions: __spreadValues$7({}, block.actions)
205
+ const copied = __spreadProps$6(__spreadValues$8({}, block), {
206
+ properties: __spreadValues$8({}, block.properties),
207
+ actions: __spreadValues$8({}, block.actions)
208
208
  });
209
209
  for (const binding in block.bindings) {
210
210
  const expression = block.bindings[binding];
@@ -217,17 +217,16 @@ const evaluateBindings = ({ block, context, state }) => {
217
217
  }
218
218
  return copied;
219
219
  };
220
- function getProcessedBlock(options) {
221
- const { state, context } = options;
222
- const block = transformBlock(options.block);
223
- if (evaluateBindings)
220
+ function getProcessedBlock({ block, context, shouldEvaluateBindings, state }) {
221
+ const transformedBlock = transformBlock(block);
222
+ if (shouldEvaluateBindings)
224
223
  return evaluateBindings({
225
- block,
224
+ block: transformedBlock,
226
225
  state,
227
226
  context
228
227
  });
229
228
  else
230
- return block;
229
+ return transformedBlock;
231
230
  }
232
231
  const camelToKebabCase = (string) => string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
233
232
  const convertStyleMaptoCSS = (style) => {
@@ -237,21 +236,25 @@ const convertStyleMaptoCSS = (style) => {
237
236
  });
238
237
  return cssProps.join("\n");
239
238
  };
240
- const RenderInlinedStyles = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
239
+ const tagName$1 = function tagName(props, state) {
240
+ return "style";
241
+ };
242
+ const RenderInlinedStyles = (props) => {
241
243
  const state = {};
244
+ state.tagName = tagName$1();
242
245
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
243
246
  children: /* @__PURE__ */ jsxRuntime.jsx(state.tagName, {
244
247
  children: props.styles
245
248
  })
246
249
  });
247
- }, "RenderInlinedStyles_component_0sD5UmyM3Rg"));
250
+ };
248
251
  const RenderInlinedStyles$1 = RenderInlinedStyles;
249
252
  const useBlock$1 = function useBlock(props, state) {
250
253
  return getProcessedBlock({
251
254
  block: props.block,
252
255
  state: props.context.state,
253
256
  context: props.context.context,
254
- evaluateBindings: true
257
+ shouldEvaluateBindings: true
255
258
  });
256
259
  };
257
260
  const css = function css2(props, state) {
@@ -298,6 +301,36 @@ function getBlockActions(options) {
298
301
  }
299
302
  return obj;
300
303
  }
304
+ var __defProp$7 = Object.defineProperty;
305
+ var __defProps$5 = Object.defineProperties;
306
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
307
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
308
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
309
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
310
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, {
311
+ enumerable: true,
312
+ configurable: true,
313
+ writable: true,
314
+ value
315
+ }) : obj[key] = value;
316
+ var __spreadValues$7 = (a, b) => {
317
+ for (var prop in b || (b = {}))
318
+ if (__hasOwnProp$7.call(b, prop))
319
+ __defNormalProp$7(a, prop, b[prop]);
320
+ if (__getOwnPropSymbols$7) {
321
+ for (var prop of __getOwnPropSymbols$7(b))
322
+ if (__propIsEnum$7.call(b, prop))
323
+ __defNormalProp$7(a, prop, b[prop]);
324
+ }
325
+ return a;
326
+ };
327
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
328
+ function getBlockComponentOptions(block) {
329
+ var _a;
330
+ return __spreadProps$5(__spreadValues$7(__spreadValues$7({}, (_a = block.component) == null ? void 0 : _a.options), block.options), {
331
+ builderBlock: block
332
+ });
333
+ }
301
334
  var __defProp$6 = Object.defineProperty;
302
335
  var __defProps$4 = Object.defineProperties;
303
336
  var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
@@ -322,39 +355,9 @@ var __spreadValues$6 = (a, b) => {
322
355
  return a;
323
356
  };
324
357
  var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
325
- function getBlockComponentOptions(block) {
326
- var _a;
327
- return __spreadProps$4(__spreadValues$6(__spreadValues$6({}, (_a = block.component) == null ? void 0 : _a.options), block.options), {
328
- builderBlock: block
329
- });
330
- }
331
- var __defProp$5 = Object.defineProperty;
332
- var __defProps$3 = Object.defineProperties;
333
- var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
334
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
335
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
336
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
337
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
338
- enumerable: true,
339
- configurable: true,
340
- writable: true,
341
- value
342
- }) : obj[key] = value;
343
- var __spreadValues$5 = (a, b) => {
344
- for (var prop in b || (b = {}))
345
- if (__hasOwnProp$5.call(b, prop))
346
- __defNormalProp$5(a, prop, b[prop]);
347
- if (__getOwnPropSymbols$5) {
348
- for (var prop of __getOwnPropSymbols$5(b))
349
- if (__propIsEnum$5.call(b, prop))
350
- __defNormalProp$5(a, prop, b[prop]);
351
- }
352
- return a;
353
- };
354
- var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
355
358
  function getBlockProperties(block) {
356
359
  var _a;
357
- return __spreadProps$3(__spreadValues$5({}, block.properties), {
360
+ return __spreadProps$4(__spreadValues$6({}, block.properties), {
358
361
  "builder-id": block.id,
359
362
  class: [
360
363
  block.id,
@@ -369,30 +372,30 @@ const convertStyleObject = (obj) => {
369
372
  };
370
373
  const sanitizeBlockStyles = (_styles) => {
371
374
  };
372
- var __defProp$4 = Object.defineProperty;
373
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
374
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
375
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
376
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
375
+ var __defProp$5 = Object.defineProperty;
376
+ var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
377
+ var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
378
+ var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
379
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
377
380
  enumerable: true,
378
381
  configurable: true,
379
382
  writable: true,
380
383
  value
381
384
  }) : obj[key] = value;
382
- var __spreadValues$4 = (a, b) => {
385
+ var __spreadValues$5 = (a, b) => {
383
386
  for (var prop in b || (b = {}))
384
- if (__hasOwnProp$4.call(b, prop))
385
- __defNormalProp$4(a, prop, b[prop]);
386
- if (__getOwnPropSymbols$4) {
387
- for (var prop of __getOwnPropSymbols$4(b))
388
- if (__propIsEnum$4.call(b, prop))
389
- __defNormalProp$4(a, prop, b[prop]);
387
+ if (__hasOwnProp$5.call(b, prop))
388
+ __defNormalProp$5(a, prop, b[prop]);
389
+ if (__getOwnPropSymbols$5) {
390
+ for (var prop of __getOwnPropSymbols$5(b))
391
+ if (__propIsEnum$5.call(b, prop))
392
+ __defNormalProp$5(a, prop, b[prop]);
390
393
  }
391
394
  return a;
392
395
  };
393
396
  function getBlockStyles(block) {
394
397
  var _a, _b, _c, _d, _e;
395
- const styles = __spreadValues$4(__spreadValues$4({}, convertStyleObject((_a = block.responsiveStyles) == null ? void 0 : _a.large)), block.styles);
398
+ const styles = __spreadValues$5(__spreadValues$5({}, convertStyleObject((_a = block.responsiveStyles) == null ? void 0 : _a.large)), block.styles);
396
399
  if ((_b = block.responsiveStyles) == null ? void 0 : _b.medium)
397
400
  styles[getMaxWidthQueryForSize("medium")] = convertStyleObject((_c = block.responsiveStyles) == null ? void 0 : _c.medium);
398
401
  if ((_d = block.responsiveStyles) == null ? void 0 : _d.small)
@@ -420,21 +423,30 @@ const EMPTY_HTML_ELEMENTS = [
420
423
  "track",
421
424
  "wbr"
422
425
  ];
423
- const isEmptyHtmlElement = (tagName3) => {
424
- return typeof tagName3 === "string" && EMPTY_HTML_ELEMENTS.includes(tagName3.toLowerCase());
426
+ const isEmptyHtmlElement = (tagName4) => {
427
+ return typeof tagName4 === "string" && EMPTY_HTML_ELEMENTS.includes(tagName4.toLowerCase());
425
428
  };
429
+ function markMutable(value) {
430
+ return qwik.mutable(value);
431
+ }
432
+ function markPropsMutable(props) {
433
+ Object.keys(props).forEach((key) => {
434
+ props[key] = qwik.mutable(props[key]);
435
+ });
436
+ return props;
437
+ }
426
438
  const RenderComponent = (props) => {
427
439
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
428
440
  children: props.componentRef ? /* @__PURE__ */ jsxRuntime.jsxs(props.componentRef, {
429
- ...props.componentOptions,
441
+ ...markPropsMutable(props.componentOptions),
430
442
  children: [
431
- (props.blockChildren || []).map((child) => {
443
+ (props.blockChildren || []).map(function(child) {
432
444
  return /* @__PURE__ */ jsxRuntime.jsx(RenderBlock$1, {
433
445
  block: child,
434
446
  context: props.context
435
447
  }, "render-block-" + child.id);
436
448
  }),
437
- (props.blockChildren || []).map((child) => {
449
+ (props.blockChildren || []).map(function(child) {
438
450
  return /* @__PURE__ */ jsxRuntime.jsx(BlockStyles$1, {
439
451
  block: child,
440
452
  context: props.context
@@ -465,7 +477,7 @@ const RenderRepeatedBlock = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((p
465
477
  }));
466
478
  return /* @__PURE__ */ jsxRuntime.jsx(RenderBlock$1, {
467
479
  block: props.block,
468
- context: props.context
480
+ context: props.repeatContext
469
481
  });
470
482
  }, "RenderRepeatedBlock_component_fV0PdmPN990"));
471
483
  const RenderRepeatedBlock$1 = RenderRepeatedBlock;
@@ -474,7 +486,7 @@ const component = function component2(props, state) {
474
486
  block: props.block,
475
487
  state: props.context.state,
476
488
  context: props.context.context,
477
- evaluateBindings: false
489
+ shouldEvaluateBindings: false
478
490
  }).component?.name;
479
491
  if (!componentName)
480
492
  return null;
@@ -497,7 +509,7 @@ const componentInfo$a = function componentInfo(props, state) {
497
509
  const componentRef = function componentRef2(props, state) {
498
510
  return component(props)?.component;
499
511
  };
500
- const tagName = function tagName2(props, state) {
512
+ const tagName2 = function tagName3(props, state) {
501
513
  return getBlockTag(useBlock2(props));
502
514
  };
503
515
  const useBlock2 = function useBlock3(props, state) {
@@ -505,7 +517,7 @@ const useBlock2 = function useBlock3(props, state) {
505
517
  block: props.block,
506
518
  state: props.context.state,
507
519
  context: props.context.context,
508
- evaluateBindings: true
520
+ shouldEvaluateBindings: true
509
521
  });
510
522
  };
511
523
  const attributes = function attributes2(props, state) {
@@ -575,28 +587,27 @@ const repeatItemData = function repeatItemData2(props, state) {
575
587
  };
576
588
  const RenderBlock = (props) => {
577
589
  const state = {};
578
- state.tagName = tagName(props);
590
+ state.tagName = tagName2(props);
579
591
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
580
- children: shouldWrap(props) ? !isEmptyHtmlElement(tagName(props)) ? /* @__PURE__ */ jsxRuntime.jsxs(state.tagName, {
592
+ children: shouldWrap(props) ? !isEmptyHtmlElement(tagName2(props)) ? /* @__PURE__ */ jsxRuntime.jsxs(state.tagName, {
581
593
  ...attributes(props),
582
594
  children: [
583
- repeatItemData(props) ? (repeatItemData(props) || []).map((data, index) => {
595
+ repeatItemData(props) ? (repeatItemData(props) || []).map(function(data, index) {
584
596
  return /* @__PURE__ */ jsxRuntime.jsx(RenderRepeatedBlock$1, {
585
597
  repeatContext: data.context,
586
- block: data.block,
587
- context: props.context
598
+ block: data.block
588
599
  }, index);
589
600
  }) : null,
590
601
  !repeatItemData(props) ? /* @__PURE__ */ jsxRuntime.jsx(RenderComponent$1, {
591
602
  ...renderComponentProps(props)
592
603
  }) : null,
593
- (childrenWithoutParentComponent(props) || []).map((child) => {
604
+ (childrenWithoutParentComponent(props) || []).map(function(child) {
594
605
  return /* @__PURE__ */ jsxRuntime.jsx(RenderBlock, {
595
606
  block: child,
596
607
  context: props.context
597
608
  }, "render-block-" + child.id);
598
609
  }),
599
- (childrenWithoutParentComponent(props) || []).map((child) => {
610
+ (childrenWithoutParentComponent(props) || []).map(function(child) {
600
611
  return /* @__PURE__ */ jsxRuntime.jsx(BlockStyles$1, {
601
612
  block: child,
602
613
  context: props.context
@@ -636,7 +647,7 @@ const onMouseEnter = function onMouseEnter2(props, state, builderContext) {
636
647
  }, "*");
637
648
  };
638
649
  const RenderBlocks = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
639
- qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES$2, "RenderBlocks_component_useStylesScoped_QNti2s7juQc"));
650
+ qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES$3, "RenderBlocks_component_useStylesScoped_QNti2s7juQc"));
640
651
  const builderContext = qwik.useContext(stdin_default);
641
652
  const state = {};
642
653
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
@@ -663,13 +674,13 @@ const RenderBlocks = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) =
663
674
  state
664
675
  ]),
665
676
  children: [
666
- props.blocks ? (props.blocks || []).map((block) => {
677
+ props.blocks ? (props.blocks || []).map(function(block) {
667
678
  return /* @__PURE__ */ jsxRuntime.jsx(RenderBlock$1, {
668
679
  block,
669
680
  context: builderContext
670
681
  }, "render-block-" + block.id);
671
682
  }) : null,
672
- props.blocks ? (props.blocks || []).map((block) => {
683
+ props.blocks ? (props.blocks || []).map(function(block) {
673
684
  return /* @__PURE__ */ jsxRuntime.jsx(BlockStyles$1, {
674
685
  block,
675
686
  context: builderContext
@@ -679,7 +690,7 @@ const RenderBlocks = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) =
679
690
  });
680
691
  }, "RenderBlocks_component_SXGwmVyEM0s"));
681
692
  const RenderBlocks$1 = RenderBlocks;
682
- const STYLES$2 = `.div-RenderBlocks {
693
+ const STYLES$3 = `.div-RenderBlocks {
683
694
  display: flex;
684
695
  flex-direction: column;
685
696
  align-items: stretch; }`;
@@ -721,12 +732,12 @@ const columnCssVars = function columnCssVars2(props, state) {
721
732
  };
722
733
  };
723
734
  const Columns = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
724
- qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES$1, "Columns_component_useStylesScoped_704fWXyHORo"));
735
+ qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES$2, "Columns_component_useStylesScoped_704fWXyHORo"));
725
736
  const state = {};
726
737
  return /* @__PURE__ */ jsxRuntime.jsx("div", {
727
738
  class: "builder-columns div-Columns",
728
739
  style: columnsCssVars(props, state),
729
- children: (props.columns || []).map((column, index) => {
740
+ children: (props.columns || []).map(function(column, index) {
730
741
  return /* @__PURE__ */ jsxRuntime.jsx("div", {
731
742
  class: "builder-column div-Columns-2",
732
743
  style: {
@@ -735,20 +746,22 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
735
746
  ...columnCssVars(props, state)
736
747
  },
737
748
  children: /* @__PURE__ */ jsxRuntime.jsx(RenderBlocks$1, {
738
- blocks: column.blocks
749
+ blocks: markMutable(column.blocks),
750
+ path: `component.options.columns.${index}.blocks`,
751
+ parent: props.builderBlock.id
739
752
  })
740
753
  }, index);
741
754
  })
742
755
  });
743
756
  }, "Columns_component_0PeVQGTMczc"));
744
757
  const Columns$1 = Columns;
745
- const STYLES$1 = `.div-Columns {
758
+ const STYLES$2 = `.div-Columns {
746
759
  display: flex;
747
760
  align-items: stretch;
748
- line-height: normal; }@media (max-width: 999px) { .div-Columns {
761
+ line-height: normal; }@media (max-width: 991px) { .div-Columns {
749
762
  flex-direction: var(--flex-dir-tablet); } }@media (max-width: 639px) { .div-Columns {
750
763
  flex-direction: var(--flex-dir); } }.div-Columns-2 {
751
- flex-grow: 1; }@media (max-width: 999px) { .div-Columns-2 {
764
+ flex-grow: 1; }@media (max-width: 991px) { .div-Columns-2 {
752
765
  width: var(--column-width-tablet) !important;
753
766
  margin-left: var(--column-margin-left-tablet) !important; } }@media (max-width: 639px) { .div-Columns-2 {
754
767
  width: var(--column-width) !important;
@@ -828,7 +841,7 @@ const webpSrcSet = function webpSrcSet2(props, state) {
828
841
  return "";
829
842
  };
830
843
  const Image = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
831
- qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES, "Image_component_useStylesScoped_gRbO7w7SeZA"));
844
+ qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES$1, "Image_component_useStylesScoped_gRbO7w7SeZA"));
832
845
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
833
846
  class: "div-Image",
834
847
  children: [
@@ -871,7 +884,7 @@ const Image = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
871
884
  });
872
885
  }, "Image_component_y3S3Zox9wEo"));
873
886
  const Image$1 = Image;
874
- const STYLES = `.div-Image {
887
+ const STYLES$1 = `.div-Image {
875
888
  position: relative; }.img-Image {
876
889
  opacity: 1;
877
890
  transition: opacity 0.2s ease-in-out;
@@ -934,6 +947,7 @@ const Video = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
934
947
  }, "Video_component_O5sPuWlrTvk"));
935
948
  const Video$1 = Video;
936
949
  const Button = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
950
+ qwik.useStylesScopedQrl(qwik.inlinedQrl(STYLES, "Button_component_useStylesScoped_vN61mfeURXY"));
937
951
  return /* @__PURE__ */ jsxRuntime.jsx(qwik.Fragment, {
938
952
  children: props.link ? /* @__PURE__ */ jsxRuntime.jsx("a", {
939
953
  role: "button",
@@ -941,13 +955,16 @@ const Button = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
941
955
  href: props.link,
942
956
  target: props.openLinkInNewTab ? "_blank" : void 0,
943
957
  children: props.text
944
- }) : /* @__PURE__ */ jsxRuntime.jsx("span", {
958
+ }) : /* @__PURE__ */ jsxRuntime.jsx("button", {
959
+ class: "button-Button",
945
960
  ...props.attributes,
946
961
  children: props.text
947
962
  })
948
963
  });
949
964
  }, "Button_component_FtjCELjtKF4"));
950
965
  const Button$1 = Button;
966
+ const STYLES = `.button-Button {
967
+ all: unset; }`;
951
968
  const componentInfo$9 = {
952
969
  name: "Core:Button",
953
970
  builtIn: true,
@@ -1690,9 +1707,9 @@ const findAndRunScripts = function findAndRunScripts2(props, state, elem) {
1690
1707
  const Embed = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
1691
1708
  const elem = qwik.useRef();
1692
1709
  const state = qwik.useStore({
1710
+ ranInitFn: false,
1693
1711
  scriptsInserted: [],
1694
- scriptsRun: [],
1695
- ranInitFn: false
1712
+ scriptsRun: []
1696
1713
  });
1697
1714
  qwik.useWatchQrl(qwik.inlinedQrl(({ track: track2 }) => {
1698
1715
  const [elem2, props2, state2] = qwik.useLexicalScope();
@@ -1747,83 +1764,83 @@ const componentInfo2 = {
1747
1764
  noWrap: true,
1748
1765
  static: true
1749
1766
  };
1750
- var __defProp$3 = Object.defineProperty;
1751
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
1752
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
1753
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
1754
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
1767
+ var __defProp$4 = Object.defineProperty;
1768
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
1769
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
1770
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
1771
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
1755
1772
  enumerable: true,
1756
1773
  configurable: true,
1757
1774
  writable: true,
1758
1775
  value
1759
1776
  }) : obj[key] = value;
1760
- var __spreadValues$3 = (a, b) => {
1777
+ var __spreadValues$4 = (a, b) => {
1761
1778
  for (var prop in b || (b = {}))
1762
- if (__hasOwnProp$3.call(b, prop))
1763
- __defNormalProp$3(a, prop, b[prop]);
1764
- if (__getOwnPropSymbols$3) {
1765
- for (var prop of __getOwnPropSymbols$3(b))
1766
- if (__propIsEnum$3.call(b, prop))
1767
- __defNormalProp$3(a, prop, b[prop]);
1779
+ if (__hasOwnProp$4.call(b, prop))
1780
+ __defNormalProp$4(a, prop, b[prop]);
1781
+ if (__getOwnPropSymbols$4) {
1782
+ for (var prop of __getOwnPropSymbols$4(b))
1783
+ if (__propIsEnum$4.call(b, prop))
1784
+ __defNormalProp$4(a, prop, b[prop]);
1768
1785
  }
1769
1786
  return a;
1770
1787
  };
1771
1788
  const getDefaultRegisteredComponents = () => [
1772
- __spreadValues$3({
1789
+ __spreadValues$4({
1773
1790
  component: Columns$1
1774
1791
  }, componentInfo$8),
1775
- __spreadValues$3({
1792
+ __spreadValues$4({
1776
1793
  component: Image$1
1777
1794
  }, componentInfo$6),
1778
- __spreadValues$3({
1795
+ __spreadValues$4({
1779
1796
  component: Img
1780
1797
  }, componentInfo2),
1781
- __spreadValues$3({
1798
+ __spreadValues$4({
1782
1799
  component: Text$1
1783
1800
  }, componentInfo$3),
1784
- __spreadValues$3({
1801
+ __spreadValues$4({
1785
1802
  component: Video$1
1786
1803
  }, componentInfo$2),
1787
- __spreadValues$3({
1804
+ __spreadValues$4({
1788
1805
  component: Symbol$2
1789
1806
  }, componentInfo$4),
1790
- __spreadValues$3({
1807
+ __spreadValues$4({
1791
1808
  component: Button$1
1792
1809
  }, componentInfo$9),
1793
- __spreadValues$3({
1810
+ __spreadValues$4({
1794
1811
  component: Section
1795
1812
  }, componentInfo$5),
1796
- __spreadValues$3({
1813
+ __spreadValues$4({
1797
1814
  component: Fragment
1798
1815
  }, componentInfo$7),
1799
- __spreadValues$3({
1816
+ __spreadValues$4({
1800
1817
  component: embed
1801
1818
  }, componentInfo$1)
1802
1819
  ];
1803
- var __defProp$2 = Object.defineProperty;
1804
- var __defProps$2 = Object.defineProperties;
1805
- var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
1806
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
1807
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
1808
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
1809
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
1820
+ var __defProp$3 = Object.defineProperty;
1821
+ var __defProps$3 = Object.defineProperties;
1822
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
1823
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
1824
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
1825
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
1826
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
1810
1827
  enumerable: true,
1811
1828
  configurable: true,
1812
1829
  writable: true,
1813
1830
  value
1814
1831
  }) : obj[key] = value;
1815
- var __spreadValues$2 = (a, b) => {
1832
+ var __spreadValues$3 = (a, b) => {
1816
1833
  for (var prop in b || (b = {}))
1817
- if (__hasOwnProp$2.call(b, prop))
1818
- __defNormalProp$2(a, prop, b[prop]);
1819
- if (__getOwnPropSymbols$2) {
1820
- for (var prop of __getOwnPropSymbols$2(b))
1821
- if (__propIsEnum$2.call(b, prop))
1822
- __defNormalProp$2(a, prop, b[prop]);
1834
+ if (__hasOwnProp$3.call(b, prop))
1835
+ __defNormalProp$3(a, prop, b[prop]);
1836
+ if (__getOwnPropSymbols$3) {
1837
+ for (var prop of __getOwnPropSymbols$3(b))
1838
+ if (__propIsEnum$3.call(b, prop))
1839
+ __defNormalProp$3(a, prop, b[prop]);
1823
1840
  }
1824
1841
  return a;
1825
1842
  };
1826
- var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
1843
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
1827
1844
  function flatten(object, path = null, separator = ".") {
1828
1845
  return Object.keys(object).reduce((acc, key) => {
1829
1846
  const value = object[key];
@@ -1836,7 +1853,7 @@ function flatten(object, path = null, separator = ".") {
1836
1853
  value !== null,
1837
1854
  !(Array.isArray(value) && value.length === 0)
1838
1855
  ].every(Boolean);
1839
- return isObject ? __spreadValues$2(__spreadValues$2({}, acc), flatten(value, newPath, separator)) : __spreadProps$2(__spreadValues$2({}, acc), {
1856
+ return isObject ? __spreadValues$3(__spreadValues$3({}, acc), flatten(value, newPath, separator)) : __spreadProps$3(__spreadValues$3({}, acc), {
1840
1857
  [newPath]: value
1841
1858
  });
1842
1859
  }, {});
@@ -1941,30 +1958,30 @@ const handleABTesting = (item, testGroups) => {
1941
1958
  }
1942
1959
  }
1943
1960
  };
1944
- var __defProp$1 = Object.defineProperty;
1945
- var __defProps$1 = Object.defineProperties;
1946
- var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
1947
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
1948
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
1949
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
1950
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
1961
+ var __defProp$2 = Object.defineProperty;
1962
+ var __defProps$2 = Object.defineProperties;
1963
+ var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
1964
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
1965
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
1966
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
1967
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
1951
1968
  enumerable: true,
1952
1969
  configurable: true,
1953
1970
  writable: true,
1954
1971
  value
1955
1972
  }) : obj[key] = value;
1956
- var __spreadValues$1 = (a, b) => {
1973
+ var __spreadValues$2 = (a, b) => {
1957
1974
  for (var prop in b || (b = {}))
1958
- if (__hasOwnProp$1.call(b, prop))
1959
- __defNormalProp$1(a, prop, b[prop]);
1960
- if (__getOwnPropSymbols$1) {
1961
- for (var prop of __getOwnPropSymbols$1(b))
1962
- if (__propIsEnum$1.call(b, prop))
1963
- __defNormalProp$1(a, prop, b[prop]);
1975
+ if (__hasOwnProp$2.call(b, prop))
1976
+ __defNormalProp$2(a, prop, b[prop]);
1977
+ if (__getOwnPropSymbols$2) {
1978
+ for (var prop of __getOwnPropSymbols$2(b))
1979
+ if (__propIsEnum$2.call(b, prop))
1980
+ __defNormalProp$2(a, prop, b[prop]);
1964
1981
  }
1965
1982
  return a;
1966
1983
  };
1967
- var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
1984
+ var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
1968
1985
  var __async = (__this, __arguments, generator) => {
1969
1986
  return new Promise((resolve, reject) => {
1970
1987
  var fulfilled = (value) => {
@@ -1988,7 +2005,7 @@ var __async = (__this, __arguments, generator) => {
1988
2005
  const fetch$ = getFetch();
1989
2006
  function getContent(options) {
1990
2007
  return __async(this, null, function* () {
1991
- return (yield getAllContent(__spreadProps$1(__spreadValues$1({}, options), {
2008
+ return (yield getAllContent(__spreadProps$2(__spreadValues$2({}, options), {
1992
2009
  limit: 1
1993
2010
  }))).results[0] || null;
1994
2011
  });
@@ -1996,7 +2013,7 @@ function getContent(options) {
1996
2013
  const generateContentUrl = (options) => {
1997
2014
  const { limit = 1, userAttributes, query, noTraverse = false, model, apiKey } = options;
1998
2015
  const url = new URL(`https://cdn.builder.io/api/v2/content/${model}?apiKey=${apiKey}&limit=${limit}&noTraverse=${noTraverse}`);
1999
- const queryOptions = __spreadValues$1(__spreadValues$1({}, getBuilderSearchParamsFromWindow()), normalizeSearchParams(options.options || {}));
2016
+ const queryOptions = __spreadValues$2(__spreadValues$2({}, getBuilderSearchParamsFromWindow()), normalizeSearchParams(options.options || {}));
2000
2017
  const flattened = flatten(queryOptions);
2001
2018
  for (const key in flattened)
2002
2019
  url.searchParams.set(key, String(flattened[key]));
@@ -2029,52 +2046,52 @@ function isPreviewing() {
2029
2046
  return false;
2030
2047
  return Boolean(location.search.indexOf("builder.preview=") !== -1);
2031
2048
  }
2032
- var __defProp = Object.defineProperty;
2033
- var __defProps = Object.defineProperties;
2034
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2035
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
2036
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2037
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
2038
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
2049
+ var __defProp$1 = Object.defineProperty;
2050
+ var __defProps$1 = Object.defineProperties;
2051
+ var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
2052
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
2053
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
2054
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
2055
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
2039
2056
  enumerable: true,
2040
2057
  configurable: true,
2041
2058
  writable: true,
2042
2059
  value
2043
2060
  }) : obj[key] = value;
2044
- var __spreadValues = (a, b) => {
2061
+ var __spreadValues$1 = (a, b) => {
2045
2062
  for (var prop in b || (b = {}))
2046
- if (__hasOwnProp.call(b, prop))
2047
- __defNormalProp(a, prop, b[prop]);
2048
- if (__getOwnPropSymbols) {
2049
- for (var prop of __getOwnPropSymbols(b))
2050
- if (__propIsEnum.call(b, prop))
2051
- __defNormalProp(a, prop, b[prop]);
2063
+ if (__hasOwnProp$1.call(b, prop))
2064
+ __defNormalProp$1(a, prop, b[prop]);
2065
+ if (__getOwnPropSymbols$1) {
2066
+ for (var prop of __getOwnPropSymbols$1(b))
2067
+ if (__propIsEnum$1.call(b, prop))
2068
+ __defNormalProp$1(a, prop, b[prop]);
2052
2069
  }
2053
2070
  return a;
2054
2071
  };
2055
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2056
- var __objRest = (source, exclude) => {
2072
+ var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
2073
+ var __objRest$1 = (source, exclude) => {
2057
2074
  var target = {};
2058
2075
  for (var prop in source)
2059
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
2076
+ if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
2060
2077
  target[prop] = source[prop];
2061
- if (source != null && __getOwnPropSymbols) {
2062
- for (var prop of __getOwnPropSymbols(source))
2063
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
2078
+ if (source != null && __getOwnPropSymbols$1) {
2079
+ for (var prop of __getOwnPropSymbols$1(source))
2080
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
2064
2081
  target[prop] = source[prop];
2065
2082
  }
2066
2083
  return target;
2067
2084
  };
2068
2085
  const components = [];
2069
2086
  function registerComponent(component3, info) {
2070
- components.push(__spreadValues({
2087
+ components.push(__spreadValues$1({
2071
2088
  component: component3
2072
2089
  }, info));
2073
2090
  console.warn("registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK.");
2074
2091
  return component3;
2075
2092
  }
2076
2093
  const createRegisterComponentMessage = (_a) => {
2077
- var info = __objRest(_a, [
2094
+ var info = __objRest$1(_a, [
2078
2095
  "component"
2079
2096
  ]);
2080
2097
  return {
@@ -2090,16 +2107,239 @@ const serializeFn = (fnValue) => {
2090
2107
  return `return (${appendFunction ? "function " : ""}${fnStr}).apply(this, arguments)`;
2091
2108
  };
2092
2109
  const prepareComponentInfoToSend = (_c) => {
2093
- var { inputs } = _c, info = __objRest(_c, [
2110
+ var { inputs } = _c, info = __objRest$1(_c, [
2094
2111
  "inputs"
2095
2112
  ]);
2096
- return __spreadProps(__spreadValues({}, fastClone(info)), {
2097
- inputs: inputs == null ? void 0 : inputs.map((input) => Object.entries(input).reduce((acc, [key, value]) => __spreadProps(__spreadValues({}, acc), {
2113
+ return __spreadProps$1(__spreadValues$1({}, fastClone(info)), {
2114
+ inputs: inputs == null ? void 0 : inputs.map((input) => Object.entries(input).reduce((acc, [key, value]) => __spreadProps$1(__spreadValues$1({}, acc), {
2098
2115
  [key]: serializeValue(value)
2099
2116
  }), {}))
2100
2117
  });
2101
2118
  };
2102
- function track(event, properties) {
2119
+ const getTopLevelDomain = (host) => {
2120
+ const parts = host.split(".");
2121
+ if (parts.length > 2)
2122
+ return parts.slice(1).join(".");
2123
+ return host;
2124
+ };
2125
+ const getCookie = ({ name, canTrack }) => {
2126
+ var _a;
2127
+ try {
2128
+ if (!canTrack)
2129
+ return void 0;
2130
+ return (_a = document.cookie.split("; ").find((row) => row.startsWith(`${name}=`))) == null ? void 0 : _a.split("=")[1];
2131
+ } catch (err) {
2132
+ console.debug("[COOKIE] GET error: ", err);
2133
+ }
2134
+ };
2135
+ const stringifyCookie = (cookie) => cookie.map(([key, value]) => value ? `${key}=${value}` : key).join("; ");
2136
+ const SECURE_CONFIG = [
2137
+ [
2138
+ "secure",
2139
+ ""
2140
+ ],
2141
+ [
2142
+ "SameSite",
2143
+ "None"
2144
+ ]
2145
+ ];
2146
+ const createCookieString = ({ name, value, expires }) => {
2147
+ const secure = isBrowser() ? location.protocol === "https:" : true;
2148
+ const secureObj = secure ? SECURE_CONFIG : [
2149
+ []
2150
+ ];
2151
+ const expiresObj = expires ? [
2152
+ [
2153
+ "expires",
2154
+ expires.toUTCString()
2155
+ ]
2156
+ ] : [
2157
+ []
2158
+ ];
2159
+ const cookieValue = [
2160
+ [
2161
+ name,
2162
+ value
2163
+ ],
2164
+ ...expiresObj,
2165
+ [
2166
+ "path",
2167
+ "/"
2168
+ ],
2169
+ [
2170
+ "domain",
2171
+ getTopLevelDomain(window.location.hostname)
2172
+ ],
2173
+ ...secureObj
2174
+ ];
2175
+ const cookie = stringifyCookie(cookieValue);
2176
+ return cookie;
2177
+ };
2178
+ const setCookie = ({ name, value, expires, canTrack }) => {
2179
+ try {
2180
+ if (!canTrack)
2181
+ return void 0;
2182
+ const cookie = createCookieString({
2183
+ name,
2184
+ value,
2185
+ expires
2186
+ });
2187
+ document.cookie = cookie;
2188
+ } catch (err) {
2189
+ console.warn("[COOKIE] SET error: ", err);
2190
+ }
2191
+ };
2192
+ const checkIsDefined = (maybeT) => maybeT !== null && maybeT !== void 0;
2193
+ function uuidv4() {
2194
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
2195
+ const r = Math.random() * 16 | 0, v = c == "x" ? r : r & 3 | 8;
2196
+ return v.toString(16);
2197
+ });
2198
+ }
2199
+ function uuid() {
2200
+ return uuidv4().replace(/-/g, "");
2201
+ }
2202
+ const SESSION_LOCAL_STORAGE_KEY = "builderSessionId";
2203
+ const getSessionId = ({ canTrack }) => {
2204
+ if (!canTrack)
2205
+ return void 0;
2206
+ const sessionId = getCookie({
2207
+ name: SESSION_LOCAL_STORAGE_KEY,
2208
+ canTrack
2209
+ });
2210
+ if (checkIsDefined(sessionId))
2211
+ return sessionId;
2212
+ else {
2213
+ const newSessionId = createSessionId();
2214
+ setSessionId({
2215
+ id: newSessionId,
2216
+ canTrack
2217
+ });
2218
+ }
2219
+ };
2220
+ const createSessionId = () => uuid();
2221
+ const setSessionId = ({ id, canTrack }) => setCookie({
2222
+ name: SESSION_LOCAL_STORAGE_KEY,
2223
+ value: id,
2224
+ canTrack
2225
+ });
2226
+ const getLocalStorage = () => isBrowser() && typeof localStorage !== "undefined" ? localStorage : void 0;
2227
+ const getLocalStorageItem = ({ key, canTrack }) => {
2228
+ var _a;
2229
+ try {
2230
+ if (canTrack)
2231
+ return (_a = getLocalStorage()) == null ? void 0 : _a.getItem(key);
2232
+ return void 0;
2233
+ } catch (err) {
2234
+ console.debug("[LocalStorage] GET error: ", err);
2235
+ }
2236
+ };
2237
+ const setLocalStorageItem = ({ key, canTrack, value }) => {
2238
+ var _a;
2239
+ try {
2240
+ if (canTrack)
2241
+ (_a = getLocalStorage()) == null || _a.setItem(key, value);
2242
+ } catch (err) {
2243
+ console.debug("[LocalStorage] SET error: ", err);
2244
+ }
2245
+ };
2246
+ const VISITOR_LOCAL_STORAGE_KEY = "builderVisitorId";
2247
+ const getVisitorId = ({ canTrack }) => {
2248
+ if (!canTrack)
2249
+ return void 0;
2250
+ const visitorId = getLocalStorageItem({
2251
+ key: VISITOR_LOCAL_STORAGE_KEY,
2252
+ canTrack
2253
+ });
2254
+ if (checkIsDefined(visitorId))
2255
+ return visitorId;
2256
+ else {
2257
+ const newVisitorId = createVisitorId();
2258
+ setVisitorId({
2259
+ id: newVisitorId,
2260
+ canTrack
2261
+ });
2262
+ }
2263
+ };
2264
+ const createVisitorId = () => uuid();
2265
+ const setVisitorId = ({ id, canTrack }) => setLocalStorageItem({
2266
+ key: VISITOR_LOCAL_STORAGE_KEY,
2267
+ value: id,
2268
+ canTrack
2269
+ });
2270
+ var __defProp = Object.defineProperty;
2271
+ var __defProps = Object.defineProperties;
2272
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2273
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
2274
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2275
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
2276
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
2277
+ enumerable: true,
2278
+ configurable: true,
2279
+ writable: true,
2280
+ value
2281
+ }) : obj[key] = value;
2282
+ var __spreadValues = (a, b) => {
2283
+ for (var prop in b || (b = {}))
2284
+ if (__hasOwnProp.call(b, prop))
2285
+ __defNormalProp(a, prop, b[prop]);
2286
+ if (__getOwnPropSymbols) {
2287
+ for (var prop of __getOwnPropSymbols(b))
2288
+ if (__propIsEnum.call(b, prop))
2289
+ __defNormalProp(a, prop, b[prop]);
2290
+ }
2291
+ return a;
2292
+ };
2293
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2294
+ var __objRest = (source, exclude) => {
2295
+ var target = {};
2296
+ for (var prop in source)
2297
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
2298
+ target[prop] = source[prop];
2299
+ if (source != null && __getOwnPropSymbols) {
2300
+ for (var prop of __getOwnPropSymbols(source))
2301
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
2302
+ target[prop] = source[prop];
2303
+ }
2304
+ return target;
2305
+ };
2306
+ const getTrackingEventData = ({ canTrack }) => {
2307
+ if (!canTrack)
2308
+ return {
2309
+ visitorId: void 0,
2310
+ sessionId: void 0
2311
+ };
2312
+ const sessionId = getSessionId({
2313
+ canTrack
2314
+ });
2315
+ const visitorId = getVisitorId({
2316
+ canTrack
2317
+ });
2318
+ return {
2319
+ sessionId,
2320
+ visitorId
2321
+ };
2322
+ };
2323
+ const createEvent = (_a) => {
2324
+ var { type: eventType, canTrack, orgId, contentId } = _a, properties = __objRest(_a, [
2325
+ "type",
2326
+ "canTrack",
2327
+ "orgId",
2328
+ "contentId"
2329
+ ]);
2330
+ return {
2331
+ type: eventType,
2332
+ data: __spreadProps(__spreadValues(__spreadValues({}, properties), getTrackingEventData({
2333
+ canTrack
2334
+ })), {
2335
+ ownerId: orgId,
2336
+ contentId
2337
+ })
2338
+ };
2339
+ };
2340
+ function track(eventProps) {
2341
+ if (!eventProps.canTrack)
2342
+ return;
2103
2343
  if (isEditing())
2104
2344
  return;
2105
2345
  if (!(isBrowser() || TARGET === "reactNative"))
@@ -2108,10 +2348,7 @@ function track(event, properties) {
2108
2348
  method: "POST",
2109
2349
  body: JSON.stringify({
2110
2350
  events: [
2111
- {
2112
- type: event,
2113
- data: properties
2114
- }
2351
+ createEvent(eventProps)
2115
2352
  ]
2116
2353
  }),
2117
2354
  headers: {
@@ -2181,6 +2418,9 @@ const useContent = function useContent2(props, state, elementRef) {
2181
2418
  };
2182
2419
  return mergedContent;
2183
2420
  };
2421
+ const canTrackToUse = function canTrackToUse2(props, state, elementRef) {
2422
+ return props.canTrack || true;
2423
+ };
2184
2424
  const contentState = function contentState2(props, state, elementRef) {
2185
2425
  return {
2186
2426
  ...props.content?.data?.state,
@@ -2211,8 +2451,10 @@ const processMessage = function processMessage2(props, state, elementRef, event)
2211
2451
  const messageContent = data.data;
2212
2452
  const key = messageContent.key || messageContent.alias || messageContent.entry || messageContent.modelName;
2213
2453
  const contentData = messageContent.data;
2214
- if (key === props.model)
2454
+ if (key === props.model) {
2215
2455
  state.overrideContent = contentData;
2456
+ state.forceReRenderCount = state.forceReRenderCount + 1;
2457
+ }
2216
2458
  break;
2217
2459
  }
2218
2460
  }
@@ -2230,9 +2472,12 @@ const httpReqsData = function httpReqsData2(props, state, elementRef) {
2230
2472
  return {};
2231
2473
  };
2232
2474
  const onClick2 = function onClick3(props, state, elementRef, _event) {
2233
- if (useContent(props, state) && props.canTrack !== false)
2234
- track("click", {
2235
- contentId: useContent(props, state).id
2475
+ if (useContent(props, state))
2476
+ track({
2477
+ type: "click",
2478
+ canTrack: canTrackToUse(props),
2479
+ contentId: useContent(props, state).id,
2480
+ orgId: props.apiKey
2236
2481
  });
2237
2482
  };
2238
2483
  const evalExpression = function evalExpression2(props, state, elementRef, expression) {
@@ -2286,8 +2531,8 @@ const RenderContent = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props)
2286
2531
  const state = qwik.useStore({
2287
2532
  forceReRenderCount: 0,
2288
2533
  overrideContent: null,
2289
- update: 0,
2290
- overrideState: {}
2534
+ overrideState: {},
2535
+ update: 0
2291
2536
  });
2292
2537
  qwik.useContextProvider(stdin_default, qwik.useStore({
2293
2538
  content: (() => {
@@ -2310,7 +2555,7 @@ const RenderContent = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props)
2310
2555
  const [elementRef2, props2, state2] = qwik.useLexicalScope();
2311
2556
  if (isBrowser()) {
2312
2557
  if (isEditing()) {
2313
- state2.forceReRenderCount++;
2558
+ state2.forceReRenderCount = state2.forceReRenderCount + 1;
2314
2559
  qwik._useMutableProps(elementRef2.current, true);
2315
2560
  registerInsertMenu();
2316
2561
  setupBrowserForEditing();
@@ -2321,9 +2566,12 @@ const RenderContent = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props)
2321
2566
  window.addEventListener("message", processMessage.bind(null, props2, state2, elementRef2));
2322
2567
  window.addEventListener("builder:component:stateChangeListenerActivated", emitStateUpdate.bind(null, props2, state2, elementRef2));
2323
2568
  }
2324
- if (useContent(props2, state2) && props2.canTrack !== false)
2325
- track("impression", {
2326
- contentId: useContent(props2, state2).id
2569
+ if (useContent(props2, state2))
2570
+ track({
2571
+ type: "impression",
2572
+ canTrack: canTrackToUse(props2),
2573
+ contentId: useContent(props2, state2).id,
2574
+ orgId: props2.apiKey
2327
2575
  });
2328
2576
  if (isPreviewing()) {
2329
2577
  const searchParams = new URL(location.href).searchParams;
@@ -2404,7 +2652,7 @@ const RenderContent = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props)
2404
2652
  customFonts: useContent(props, state)?.data?.customFonts
2405
2653
  }) : null,
2406
2654
  /* @__PURE__ */ jsxRuntime.jsx(RenderBlocks$1, {
2407
- blocks: useContent(props, state)?.data?.blocks
2655
+ blocks: markMutable(useContent(props, state)?.data?.blocks)
2408
2656
  }, state.forceReRenderCount)
2409
2657
  ]
2410
2658
  }) : null
@@ -2426,9 +2674,7 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
2426
2674
  ]));
2427
2675
  qwik.useWatchQrl(qwik.inlinedQrl(({ track: track2 }) => {
2428
2676
  const [builderContext2, props2, state2] = qwik.useLexicalScope();
2429
- props2.symbol && track2(props2.symbol, "content");
2430
- props2.symbol && track2(props2.symbol, "model");
2431
- props2.symbol && track2(props2.symbol, "entry");
2677
+ props2 && track2(props2, "symbol");
2432
2678
  state2 && track2(state2, "content");
2433
2679
  const symbolToUse = props2.symbol;
2434
2680
  if (symbolToUse && !symbolToUse.content && !state2.content && symbolToUse.model)
@@ -2455,14 +2701,14 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
2455
2701
  children: /* @__PURE__ */ jsxRuntime.jsx(RenderContent$1, {
2456
2702
  apiKey: builderContext.apiKey,
2457
2703
  context: builderContext.context,
2458
- customComponents: Object.values(builderContext.registeredComponents),
2459
- data: {
2704
+ customComponents: markMutable(Object.values(builderContext.registeredComponents)),
2705
+ data: markMutable({
2460
2706
  ...props.symbol?.data,
2461
2707
  ...builderContext.state,
2462
2708
  ...props.symbol?.content?.data?.state
2463
- },
2709
+ }),
2464
2710
  model: props.symbol?.model,
2465
- content: state.content
2711
+ content: markMutable(state.content)
2466
2712
  })
2467
2713
  });
2468
2714
  }, "Symbol_component_Dn8mGpai87I"));