@builder.io/sdk-vue 0.0.3-1 → 0.0.3

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 (238) hide show
  1. package/README.md +2 -14
  2. package/package.json +5 -4
  3. package/packages/_vue2/dist/{block-styles.c531694e.cjs → block-styles.7d59e6ba.cjs} +2 -2
  4. package/packages/_vue2/dist/{block-styles.234651b2.js → block-styles.bc1f94cc.js} +3 -3
  5. package/packages/_vue2/dist/get-processed-block.73e1ad82.js +40 -0
  6. package/packages/_vue2/dist/get-processed-block.c83086c1.cjs +1 -0
  7. package/packages/_vue2/dist/{index.19474a4f.js → index.02cbe11b.js} +302 -300
  8. package/packages/_vue2/dist/index.1d7bcb8c.cjs +4 -0
  9. package/packages/_vue2/dist/render-block.4d368620.cjs +3 -0
  10. package/packages/_vue2/dist/{render-block.3cf39e0e.js → render-block.4fdcffb1.js} +31 -38
  11. package/packages/_vue2/dist/render-component-with-context.45bddebc.js +53 -0
  12. package/packages/_vue2/dist/render-component-with-context.83718839.cjs +1 -0
  13. package/packages/_vue2/dist/{render-component.a9d4efb1.cjs → render-component.4b341c2e.cjs} +1 -1
  14. package/packages/_vue2/dist/{render-component.56e5101d.js → render-component.a8a981da.js} +3 -3
  15. package/packages/_vue2/dist/{render-inlined-styles.b6534355.js → render-inlined-styles.198fc516.js} +1 -1
  16. package/packages/_vue2/dist/{render-inlined-styles.9b6439ce.cjs → render-inlined-styles.d903e589.cjs} +1 -1
  17. package/packages/_vue2/dist/{render-repeated-block.3e536590.js → render-repeated-block.7547b966.js} +2 -2
  18. package/packages/_vue2/dist/{render-repeated-block.95861e2e.cjs → render-repeated-block.d2d7376a.cjs} +1 -1
  19. package/packages/_vue2/dist/{render-styles.9d4787d0.cjs → render-styles.2b14f2b8.cjs} +1 -1
  20. package/packages/_vue2/dist/{render-styles.ad89c45c.js → render-styles.d7585530.js} +2 -2
  21. package/packages/_vue2/dist/sdk.cjs +1 -1
  22. package/packages/_vue2/dist/sdk.js +4 -4
  23. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +11 -0
  24. package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +2 -0
  25. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +306 -0
  26. package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +2 -0
  27. package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  28. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  29. package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +2 -0
  30. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  31. package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +1 -0
  32. package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +2 -0
  33. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  34. package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +2 -0
  35. package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +1 -0
  36. package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +2 -0
  37. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +17 -0
  38. package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +2 -0
  39. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +11 -0
  40. package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +2 -0
  41. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +396 -0
  42. package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +2 -0
  43. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +8 -0
  44. package/packages/_vue2/dist/src/blocks/util.d.ts +1 -0
  45. package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +2 -0
  46. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +25 -0
  47. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  48. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  49. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +237 -0
  50. package/packages/_vue2/dist/src/components/render-block/render-component-with-context.vue.d.ts +116 -0
  51. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +141 -0
  52. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +231 -0
  53. package/packages/_vue2/dist/src/components/render-block/types.d.ts +6 -0
  54. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +279 -0
  55. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  56. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +368 -0
  57. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  58. package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +6 -0
  59. package/packages/_vue2/dist/src/constants/device-sizes.d.ts +2 -0
  60. package/packages/_vue2/dist/src/constants/target.d.ts +2 -0
  61. package/packages/_vue2/dist/src/context/builder.context.d.ts +2 -0
  62. package/packages/_vue2/dist/src/context/types.d.ts +17 -0
  63. package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  64. package/packages/_vue2/dist/src/functions/evaluate.d.ts +5 -0
  65. package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +1 -0
  66. package/packages/_vue2/dist/src/functions/extract-text-styles.d.ts +4 -0
  67. package/packages/_vue2/dist/src/functions/fast-clone.d.ts +4 -0
  68. package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  69. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +9 -0
  70. package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +2 -0
  71. package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -0
  72. package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +3 -0
  73. package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  74. package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  75. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +9 -0
  76. package/packages/_vue2/dist/src/functions/get-content/types.d.ts +31 -0
  77. package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -0
  78. package/packages/_vue2/dist/src/functions/get-global-this.d.ts +1 -0
  79. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +10 -0
  80. package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  81. package/packages/_vue2/dist/src/functions/is-browser.d.ts +1 -0
  82. package/packages/_vue2/dist/src/functions/is-editing.d.ts +1 -0
  83. package/packages/_vue2/dist/src/functions/is-iframe.d.ts +1 -0
  84. package/packages/_vue2/dist/src/functions/is-previewing.d.ts +1 -0
  85. package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +2 -0
  86. package/packages/_vue2/dist/src/functions/register-component.d.ts +14 -0
  87. package/packages/_vue2/dist/src/functions/register.d.ts +16 -0
  88. package/packages/_vue2/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  89. package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +4 -0
  90. package/packages/_vue2/dist/src/functions/set.d.ts +7 -0
  91. package/packages/_vue2/dist/src/functions/track.d.ts +21 -0
  92. package/packages/_vue2/dist/src/functions/transform-block.d.ts +2 -0
  93. package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +8 -0
  94. package/packages/_vue2/dist/src/helpers/cookie.d.ts +15 -0
  95. package/packages/_vue2/dist/src/helpers/css.d.ts +5 -0
  96. package/packages/_vue2/dist/src/helpers/flatten.d.ts +6 -0
  97. package/packages/_vue2/dist/src/helpers/localStorage.d.ts +8 -0
  98. package/packages/_vue2/dist/src/helpers/nullable.d.ts +2 -0
  99. package/packages/_vue2/dist/src/helpers/sessionId.d.ts +6 -0
  100. package/packages/_vue2/dist/src/helpers/url.d.ts +6 -0
  101. package/packages/_vue2/dist/src/helpers/uuid.d.ts +8 -0
  102. package/packages/_vue2/dist/src/helpers/visitorId.d.ts +6 -0
  103. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  104. package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +1 -0
  105. package/packages/_vue2/dist/src/index.d.ts +8 -0
  106. package/packages/_vue2/dist/src/scripts/init-editing.d.ts +2 -0
  107. package/packages/_vue2/dist/src/types/builder-block.d.ts +57 -0
  108. package/packages/_vue2/dist/src/types/builder-content.d.ts +38 -0
  109. package/packages/_vue2/dist/src/types/can-track.d.ts +3 -0
  110. package/packages/_vue2/dist/src/types/components.d.ts +177 -0
  111. package/packages/_vue2/dist/src/types/deep-partial.d.ts +3 -0
  112. package/packages/_vue2/dist/src/types/element.d.ts +59 -0
  113. package/packages/_vue2/dist/src/types/typescript.d.ts +5 -0
  114. package/packages/_vue2/dist/style.css +1 -1
  115. package/packages/_vue3/dist/{block-styles.e3632a69.cjs → block-styles.44a21830.cjs} +2 -2
  116. package/packages/_vue3/dist/{block-styles.88005ace.js → block-styles.4fb6c64e.js} +3 -3
  117. package/packages/_vue3/dist/get-processed-block.19c3700a.js +40 -0
  118. package/packages/_vue3/dist/get-processed-block.d0247791.cjs +1 -0
  119. package/packages/_vue3/dist/index.acbcbf48.cjs +4 -0
  120. package/packages/_vue3/dist/{index.2472a241.js → index.c45f283d.js} +305 -302
  121. package/packages/_vue3/dist/render-block.9c91f64e.cjs +3 -0
  122. package/packages/_vue3/dist/{render-block.593fc01c.js → render-block.a0b27065.js} +78 -95
  123. package/packages/_vue3/dist/{render-component-with-context.f5cab824.js → render-component-with-context.205a19d1.js} +15 -10
  124. package/packages/_vue3/dist/render-component-with-context.fd83122c.cjs +1 -0
  125. package/packages/_vue3/dist/{render-component.06b4587b.cjs → render-component.38a974b8.cjs} +1 -1
  126. package/packages/_vue3/dist/{render-component.d5c26257.js → render-component.fbf7bbcb.js} +3 -3
  127. package/packages/_vue3/dist/{render-inlined-styles.be1aba8b.js → render-inlined-styles.3f53b0f1.js} +1 -1
  128. package/packages/_vue3/dist/{render-inlined-styles.3fab5467.cjs → render-inlined-styles.631d4b7f.cjs} +1 -1
  129. package/packages/_vue3/dist/{render-repeated-block.d1580cb5.cjs → render-repeated-block.35b18332.cjs} +1 -1
  130. package/packages/_vue3/dist/{render-repeated-block.1d1c64a8.js → render-repeated-block.4f78496b.js} +2 -2
  131. package/packages/_vue3/dist/{render-styles.4717b645.cjs → render-styles.1482932c.cjs} +1 -1
  132. package/packages/_vue3/dist/{render-styles.efaaccdf.js → render-styles.32666ea6.js} +2 -2
  133. package/packages/_vue3/dist/sdk.cjs +1 -1
  134. package/packages/_vue3/dist/sdk.js +7 -7
  135. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +11 -0
  136. package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +2 -0
  137. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +77 -0
  138. package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +2 -0
  139. package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  140. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  141. package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +2 -0
  142. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  143. package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +1 -0
  144. package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +2 -0
  145. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  146. package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +2 -0
  147. package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +1 -0
  148. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +31 -0
  149. package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +2 -0
  150. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +17 -0
  151. package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +2 -0
  152. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +11 -0
  153. package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +2 -0
  154. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +167 -0
  155. package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +2 -0
  156. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +8 -0
  157. package/packages/_vue3/dist/src/blocks/util.d.ts +1 -0
  158. package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +2 -0
  159. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +25 -0
  160. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  161. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  162. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +8 -0
  163. package/packages/_vue3/dist/src/components/render-block/render-component-with-context.vue.d.ts +51 -0
  164. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +44 -0
  165. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +2 -0
  166. package/packages/_vue3/dist/src/components/render-block/types.d.ts +6 -0
  167. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +50 -0
  168. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  169. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +139 -0
  170. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  171. package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +6 -0
  172. package/packages/_vue3/dist/src/constants/device-sizes.d.ts +2 -0
  173. package/packages/_vue3/dist/src/constants/target.d.ts +2 -0
  174. package/packages/_vue3/dist/src/context/builder.context.d.ts +2 -0
  175. package/packages/_vue3/dist/src/context/types.d.ts +17 -0
  176. package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  177. package/packages/_vue3/dist/src/functions/evaluate.d.ts +5 -0
  178. package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +1 -0
  179. package/packages/_vue3/dist/src/functions/extract-text-styles.d.ts +4 -0
  180. package/packages/_vue3/dist/src/functions/fast-clone.d.ts +4 -0
  181. package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  182. package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +9 -0
  183. package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +2 -0
  184. package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -0
  185. package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +3 -0
  186. package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  187. package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  188. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +9 -0
  189. package/packages/_vue3/dist/src/functions/get-content/types.d.ts +31 -0
  190. package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -0
  191. package/packages/_vue3/dist/src/functions/get-global-this.d.ts +1 -0
  192. package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +10 -0
  193. package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  194. package/packages/_vue3/dist/src/functions/is-browser.d.ts +1 -0
  195. package/packages/_vue3/dist/src/functions/is-editing.d.ts +1 -0
  196. package/packages/_vue3/dist/src/functions/is-iframe.d.ts +1 -0
  197. package/packages/_vue3/dist/src/functions/is-previewing.d.ts +1 -0
  198. package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +2 -0
  199. package/packages/_vue3/dist/src/functions/register-component.d.ts +14 -0
  200. package/packages/_vue3/dist/src/functions/register.d.ts +16 -0
  201. package/packages/_vue3/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  202. package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +4 -0
  203. package/packages/_vue3/dist/src/functions/set.d.ts +7 -0
  204. package/packages/_vue3/dist/src/functions/track.d.ts +21 -0
  205. package/packages/_vue3/dist/src/functions/transform-block.d.ts +2 -0
  206. package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +8 -0
  207. package/packages/_vue3/dist/src/helpers/cookie.d.ts +15 -0
  208. package/packages/_vue3/dist/src/helpers/css.d.ts +5 -0
  209. package/packages/_vue3/dist/src/helpers/flatten.d.ts +6 -0
  210. package/packages/_vue3/dist/src/helpers/localStorage.d.ts +8 -0
  211. package/packages/_vue3/dist/src/helpers/nullable.d.ts +2 -0
  212. package/packages/_vue3/dist/src/helpers/sessionId.d.ts +6 -0
  213. package/packages/_vue3/dist/src/helpers/url.d.ts +6 -0
  214. package/packages/_vue3/dist/src/helpers/uuid.d.ts +8 -0
  215. package/packages/_vue3/dist/src/helpers/visitorId.d.ts +6 -0
  216. package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  217. package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +1 -0
  218. package/packages/_vue3/dist/src/index.d.ts +8 -0
  219. package/packages/_vue3/dist/src/scripts/init-editing.d.ts +2 -0
  220. package/packages/_vue3/dist/src/types/builder-block.d.ts +57 -0
  221. package/packages/_vue3/dist/src/types/builder-content.d.ts +38 -0
  222. package/packages/_vue3/dist/src/types/can-track.d.ts +3 -0
  223. package/packages/_vue3/dist/src/types/components.d.ts +177 -0
  224. package/packages/_vue3/dist/src/types/deep-partial.d.ts +3 -0
  225. package/packages/_vue3/dist/src/types/element.d.ts +59 -0
  226. package/packages/_vue3/dist/src/types/typescript.d.ts +5 -0
  227. package/packages/_vue3/dist/style.css +1 -1
  228. package/packages/_vue2/dist/get-processed-block.1ba91586.js +0 -40
  229. package/packages/_vue2/dist/get-processed-block.6a23a7de.cjs +0 -1
  230. package/packages/_vue2/dist/index.e85eb7cf.cjs +0 -4
  231. package/packages/_vue2/dist/render-block.4f260352.cjs +0 -3
  232. package/packages/_vue2/dist/render-component-with-context.dcb1f5da.js +0 -53
  233. package/packages/_vue2/dist/render-component-with-context.f76bfccc.cjs +0 -1
  234. package/packages/_vue3/dist/get-processed-block.0d475a13.js +0 -40
  235. package/packages/_vue3/dist/get-processed-block.c75eb6d1.cjs +0 -1
  236. package/packages/_vue3/dist/index.e7c6fe34.cjs +0 -4
  237. package/packages/_vue3/dist/render-block.92199649.cjs +0 -3
  238. package/packages/_vue3/dist/render-component-with-context.fb4f86a9.cjs +0 -1
@@ -1,17 +1,11 @@
1
- const y = "vue2";
2
- function h() {
1
+ const _ = "vue2";
2
+ function u() {
3
3
  return typeof window < "u" && typeof document < "u";
4
4
  }
5
- function H() {
6
- return h() && window.self !== window.top;
7
- }
8
- function f() {
9
- return H() && window.location.search.indexOf("builder.frameEditing=") !== -1;
10
- }
11
- const k = {};
12
- function q(t, e) {
13
- let n = k[t];
14
- if (n || (n = k[t] = []), n.push(e), h()) {
5
+ const w = {};
6
+ function z(t, e) {
7
+ let n = w[t];
8
+ if (n || (n = w[t] = []), n.push(e), u()) {
15
9
  const o = {
16
10
  type: "builder.register",
17
11
  data: {
@@ -26,8 +20,8 @@ function q(t, e) {
26
20
  }
27
21
  }
28
22
  }
29
- const D = () => {
30
- q("insertMenu", {
23
+ const q = () => {
24
+ z("insertMenu", {
31
25
  name: "_default",
32
26
  default: !0,
33
27
  items: [
@@ -41,56 +35,49 @@ const D = () => {
41
35
  { name: "Custom Code" }
42
36
  ]
43
37
  });
44
- }, K = (t) => {
45
- var e, n;
46
- f() && ((e = window.parent) == null || e.postMessage(
38
+ }, D = () => {
39
+ var t;
40
+ u() && ((t = window.parent) == null || t.postMessage(
47
41
  {
48
42
  type: "builder.sdkInfo",
49
43
  data: {
50
- target: y,
51
- supportsPatchUpdates: !1
44
+ target: _,
45
+ supportsPatchUpdates: !1,
46
+ supportsAddBlockScoping: !0
52
47
  }
53
48
  },
54
49
  "*"
55
- ), (n = window.parent) == null || n.postMessage(
56
- {
57
- type: "builder.updateContent",
58
- data: {
59
- options: t
60
- }
61
- },
62
- "*"
63
- ), window.addEventListener("message", ({ data: o }) => {
64
- var s, r;
65
- if (o)
66
- switch (o.type) {
50
+ ), window.addEventListener("message", ({ data: e }) => {
51
+ var n, o;
52
+ if (!!(e != null && e.type))
53
+ switch (e.type) {
67
54
  case "builder.evaluate": {
68
- const a = o.data.text, c = o.data.arguments || [], i = o.data.id, d = new Function(a);
69
- let l, m = null;
55
+ const s = e.data.text, r = e.data.arguments || [], a = e.data.id, c = new Function(s);
56
+ let i, l = null;
70
57
  try {
71
- l = d.apply(null, c);
72
- } catch (u) {
73
- m = u;
58
+ i = c.apply(null, r);
59
+ } catch (d) {
60
+ l = d;
74
61
  }
75
- m ? (s = window.parent) == null || s.postMessage(
62
+ l ? (n = window.parent) == null || n.postMessage(
76
63
  {
77
64
  type: "builder.evaluateError",
78
- data: { id: i, error: m.message }
65
+ data: { id: a, error: l.message }
79
66
  },
80
67
  "*"
81
- ) : l && typeof l.then == "function" ? l.then((u) => {
82
- var g;
83
- (g = window.parent) == null || g.postMessage(
68
+ ) : i && typeof i.then == "function" ? i.then((d) => {
69
+ var h;
70
+ (h = window.parent) == null || h.postMessage(
84
71
  {
85
72
  type: "builder.evaluateResult",
86
- data: { id: i, result: u }
73
+ data: { id: a, result: d }
87
74
  },
88
75
  "*"
89
76
  );
90
- }).catch(console.error) : (r = window.parent) == null || r.postMessage(
77
+ }).catch(console.error) : (o = window.parent) == null || o.postMessage(
91
78
  {
92
79
  type: "builder.evaluateResult",
93
- data: { result: l, id: i }
80
+ data: { result: i, id: a }
94
81
  },
95
82
  "*"
96
83
  );
@@ -99,20 +86,20 @@ const D = () => {
99
86
  }
100
87
  }));
101
88
  };
102
- function x(t) {
89
+ function y(t) {
103
90
  return t;
104
91
  }
105
92
  function cn(t) {
106
93
  return t;
107
94
  }
108
- const G = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t) => {
95
+ const K = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t) => {
109
96
  throw console.error(
110
97
  "Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
111
98
  t
112
99
  ), t;
113
- }), J = {
100
+ }), G = {
114
101
  name: "builder-columns",
115
- components: { RenderBlocks: G },
102
+ components: { RenderBlocks: K },
116
103
  props: [
117
104
  "space",
118
105
  "columns",
@@ -120,7 +107,7 @@ const G = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t)
120
107
  "reverseColumnsWhenStacked",
121
108
  "builderBlock"
122
109
  ],
123
- data: () => ({ markMutable: x }),
110
+ data: () => ({ markMutable: y }),
124
111
  computed: {
125
112
  columnsCssVars() {
126
113
  const t = this.stackColumnsAt === "never" ? "inherit" : this.reverseColumnsWhenStacked ? "column-reverse" : "column";
@@ -163,85 +150,85 @@ const G = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t)
163
150
  function p(t, e, n, o, s, r, a, c) {
164
151
  var i = typeof t == "function" ? t.options : t;
165
152
  e && (i.render = e, i.staticRenderFns = n, i._compiled = !0), o && (i.functional = !0), r && (i._scopeId = "data-v-" + r);
166
- var d;
167
- if (a ? (d = function(u) {
168
- u = u || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !u && typeof __VUE_SSR_CONTEXT__ < "u" && (u = __VUE_SSR_CONTEXT__), s && s.call(this, u), u && u._registeredComponents && u._registeredComponents.add(a);
169
- }, i._ssrRegister = d) : s && (d = c ? function() {
153
+ var l;
154
+ if (a ? (l = function(m) {
155
+ m = m || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !m && typeof __VUE_SSR_CONTEXT__ < "u" && (m = __VUE_SSR_CONTEXT__), s && s.call(this, m), m && m._registeredComponents && m._registeredComponents.add(a);
156
+ }, i._ssrRegister = l) : s && (l = c ? function() {
170
157
  s.call(
171
158
  this,
172
159
  (i.functional ? this.parent : this).$root.$options.shadowRoot
173
160
  );
174
- } : s), d)
161
+ } : s), l)
175
162
  if (i.functional) {
176
- i._injectStyles = d;
177
- var l = i.render;
178
- i.render = function(g, w) {
179
- return d.call(w), l(g, w);
163
+ i._injectStyles = l;
164
+ var d = i.render;
165
+ i.render = function(H, C) {
166
+ return l.call(C), d(H, C);
180
167
  };
181
168
  } else {
182
- var m = i.beforeCreate;
183
- i.beforeCreate = m ? [].concat(m, d) : [d];
169
+ var h = i.beforeCreate;
170
+ i.beforeCreate = h ? [].concat(h, l) : [l];
184
171
  }
185
172
  return {
186
173
  exports: t,
187
174
  options: i
188
175
  };
189
176
  }
190
- var X = function() {
177
+ var J = function() {
191
178
  var e = this, n = e._self._c;
192
- return n("div", { staticClass: "builder-columns div-t9spj7joih", style: e.columnsCssVars }, e._l(e.columns, function(o, s) {
193
- return n("div", { key: s, staticClass: "builder-column div-t9spj7joih-2", style: {
179
+ return n("div", { staticClass: "builder-columns div-29wpyomtntv", style: e.columnsCssVars }, e._l(e.columns, function(o, s) {
180
+ return n("div", { key: s, staticClass: "builder-column div-29wpyomtntv-2", style: {
194
181
  width: e.getColumnCssWidth(s),
195
182
  marginLeft: `${s === 0 ? 0 : e.getGutterSize()}px`,
196
183
  ...e.columnCssVars
197
- } }, [n("render-blocks", { style: {
184
+ } }, [n("render-blocks", { attrs: { blocks: e.markMutable(o.blocks), path: `component.options.columns.${s}.blocks`, parent: e.builderBlock.id, styleProp: {
198
185
  flexGrow: "1"
199
- }, attrs: { blocks: e.markMutable(o.blocks), path: `component.options.columns.${s}.blocks`, parent: e.builderBlock.id } })], 1);
186
+ } } })], 1);
200
187
  }), 0);
201
- }, Y = [], Q = /* @__PURE__ */ p(
188
+ }, X = [], Y = /* @__PURE__ */ p(
189
+ G,
202
190
  J,
203
191
  X,
204
- Y,
205
192
  !1,
206
193
  null,
207
- "0f3ea004",
194
+ "28f66c93",
208
195
  null,
209
196
  null
210
197
  );
211
- const Z = Q.exports;
212
- function S(t) {
198
+ const Q = Y.exports;
199
+ function k(t) {
213
200
  return t.replace(/http(s)?:/, "");
214
201
  }
215
- function ee(t = "", e, n) {
202
+ function Z(t = "", e, n) {
216
203
  const o = new RegExp("([?&])" + e + "=.*?(&|$)", "i"), s = t.indexOf("?") !== -1 ? "&" : "?";
217
204
  return t.match(o) ? t.replace(o, "$1" + e + "=" + encodeURIComponent(n) + "$2") : t + s + e + "=" + encodeURIComponent(n);
218
205
  }
219
- function te(t, e) {
206
+ function ee(t, e) {
220
207
  if (!t || !(t != null && t.match(/cdn\.shopify\.com/)) || !e)
221
208
  return t;
222
209
  if (e === "master")
223
- return S(t);
210
+ return k(t);
224
211
  const n = t.match(
225
212
  /(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i
226
213
  );
227
214
  if (n) {
228
215
  const o = t.split(n[0]), s = n[3], r = e.match("x") ? e : `${e}x`;
229
- return S(`${o[0]}_${r}${s}`);
216
+ return k(`${o[0]}_${r}${s}`);
230
217
  }
231
218
  return null;
232
219
  }
233
- function v(t) {
220
+ function b(t) {
234
221
  if (!t)
235
222
  return t;
236
223
  const e = [100, 200, 400, 800, 1200, 1600, 2e3];
237
224
  if (t.match(/builder\.io/)) {
238
225
  let n = t;
239
226
  const o = Number(t.split("?width=")[1]);
240
- return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${ee(t, "width", s)} ${s}w`).concat([n]).join(", ");
227
+ return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${Z(t, "width", s)} ${s}w`).concat([n]).join(", ");
241
228
  }
242
- return t.match(/cdn\.shopify\.com/) ? e.map((n) => [te(t, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([t]).join(", ") : t;
229
+ return t.match(/cdn\.shopify\.com/) ? e.map((n) => [ee(t, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([t]).join(", ") : t;
243
230
  }
244
- const ne = {
231
+ const te = {
245
232
  name: "builder-image",
246
233
  props: [
247
234
  "image",
@@ -264,10 +251,10 @@ const ne = {
264
251
  return this.srcset;
265
252
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
266
253
  if (!this.srcset.includes(this.image.split("?")[0]))
267
- return console.debug("Removed given srcset"), v(e);
254
+ return console.debug("Removed given srcset"), b(e);
268
255
  } else if (this.image && !this.srcset)
269
- return v(e);
270
- return v(e);
256
+ return b(e);
257
+ return b(e);
271
258
  },
272
259
  webpSrcSet() {
273
260
  var t;
@@ -286,45 +273,45 @@ const ne = {
286
273
  }
287
274
  }
288
275
  };
289
- var oe = function() {
276
+ var ne = function() {
290
277
  var o, s, r, a;
291
278
  var e = this, n = e._self._c;
292
279
  return n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
293
- "builder-image" + (e.className ? " " + e.className : "") + " img-29wpyomtntv"
280
+ "builder-image" + (e.className ? " " + e.className : "") + " img-2lx2rpb0jxo"
294
281
  ), style: {
295
282
  objectPosition: e.backgroundSize || "center",
296
283
  objectFit: e.backgroundSize || "cover"
297
- }, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-29wpyomtntv", style: {
284
+ }, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-2lx2rpb0jxo", style: {
298
285
  paddingTop: e.aspectRatio * 100 + "%"
299
- } })] : e._e(), ((a = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : a.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-29wpyomtntv-2" }, [e._t("default")], 2)] : e._e()], 2);
300
- }, se = [], re = /* @__PURE__ */ p(
286
+ } })] : e._e(), ((a = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : a.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-2lx2rpb0jxo-2" }, [e._t("default")], 2)] : e._e()], 2);
287
+ }, oe = [], se = /* @__PURE__ */ p(
288
+ te,
301
289
  ne,
302
290
  oe,
303
- se,
304
291
  !1,
305
292
  null,
306
- "d5be32e0",
293
+ "e10cd122",
307
294
  null,
308
295
  null
309
296
  );
310
- const ae = re.exports, ie = {
297
+ const re = se.exports, ae = {
311
298
  name: "builder-text",
312
299
  props: ["text"]
313
300
  };
314
- var ce = function() {
301
+ var ie = function() {
315
302
  var e = this, n = e._self._c;
316
303
  return n("span", { staticClass: "builder-text", domProps: { innerHTML: e._s(e.text) } });
317
- }, le = [], de = /* @__PURE__ */ p(
304
+ }, ce = [], le = /* @__PURE__ */ p(
305
+ ae,
318
306
  ie,
319
307
  ce,
320
- le,
321
308
  !1,
322
309
  null,
323
310
  null,
324
311
  null,
325
312
  null
326
313
  );
327
- const ue = de.exports, pe = {
314
+ const de = le.exports, ue = {
328
315
  name: "builder-video",
329
316
  props: [
330
317
  "autoPlay",
@@ -357,10 +344,16 @@ const ue = de.exports, pe = {
357
344
  playsInline: !0
358
345
  } : {}
359
346
  };
347
+ },
348
+ spreadProps() {
349
+ return {
350
+ ...this.attributes,
351
+ ...this.videoProps
352
+ };
360
353
  }
361
354
  }
362
355
  };
363
- var me = function() {
356
+ var pe = function() {
364
357
  var o;
365
358
  var e = this, n = e._self._c;
366
359
  return n("video", e._b({ style: {
@@ -370,64 +363,64 @@ var me = function() {
370
363
  objectFit: e.fit,
371
364
  objectPosition: e.position,
372
365
  borderRadius: 1
373
- }, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.videoProps, !1));
374
- }, he = [], fe = /* @__PURE__ */ p(
366
+ }, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.spreadProps, !1));
367
+ }, me = [], he = /* @__PURE__ */ p(
368
+ ue,
375
369
  pe,
376
370
  me,
377
- he,
378
371
  !1,
379
372
  null,
380
373
  null,
381
374
  null,
382
375
  null
383
376
  );
384
- const ge = fe.exports;
385
- function _(t, e = null, n = ".") {
377
+ const fe = he.exports;
378
+ function v(t, e = null, n = ".") {
386
379
  return Object.keys(t).reduce((o, s) => {
387
380
  const r = t[s], a = [e, s].filter(Boolean).join(n);
388
381
  return [
389
382
  typeof r == "object",
390
383
  r !== null,
391
384
  !(Array.isArray(r) && r.length === 0)
392
- ].every(Boolean) ? { ...o, ..._(r, a, n) } : { ...o, [a]: r };
385
+ ].every(Boolean) ? { ...o, ...v(r, a, n) } : { ...o, [a]: r };
393
386
  }, {});
394
387
  }
395
- const I = "builder.", be = (t) => {
388
+ const S = "builder.", ge = (t) => {
396
389
  const e = {};
397
390
  return t.forEach((n, o) => {
398
391
  e[o] = n;
399
392
  }), e;
400
- }, ve = (t) => {
393
+ }, be = (t) => {
401
394
  if (!t)
402
395
  return {};
403
- const e = F(t), n = {};
396
+ const e = E(t), n = {};
404
397
  return Object.keys(e).forEach((o) => {
405
- if (o.startsWith(I)) {
406
- const s = o.replace(I, "");
398
+ if (o.startsWith(S)) {
399
+ const s = o.replace(S, "");
407
400
  n[s] = e[o];
408
401
  }
409
402
  }), n;
410
- }, _e = () => {
411
- if (!h())
403
+ }, ve = () => {
404
+ if (!u())
412
405
  return {};
413
406
  const t = new URLSearchParams(window.location.search);
414
- return ve(t);
415
- }, F = (t) => t instanceof URLSearchParams ? be(t) : t;
416
- function ye() {
407
+ return be(t);
408
+ }, E = (t) => t instanceof URLSearchParams ? ge(t) : t;
409
+ function _e() {
417
410
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : null;
418
411
  }
419
- async function j() {
420
- const t = ye().fetch;
412
+ async function F() {
413
+ const t = _e().fetch;
421
414
  if (typeof t > "u" && typeof global < "u") {
422
415
  const e = import("node-fetch").then((n) => n.default);
423
416
  return e.default || e;
424
417
  }
425
418
  return t.default || t;
426
419
  }
427
- const xe = (t) => {
420
+ const ye = (t) => {
428
421
  const e = t.split(".");
429
422
  return e.length > 2 ? e.slice(1).join(".") : t;
430
- }, U = async ({
423
+ }, j = async ({
431
424
  name: t,
432
425
  canTrack: e
433
426
  }) => {
@@ -437,23 +430,23 @@ const xe = (t) => {
437
430
  } catch (o) {
438
431
  console.debug("[COOKIE] GET error: ", o);
439
432
  }
440
- }, Ce = (t) => t.map(([e, n]) => n ? `${e}=${n}` : e).join("; "), we = [
433
+ }, xe = (t) => t.map(([e, n]) => n ? `${e}=${n}` : e).join("; "), Ce = [
441
434
  ["secure", ""],
442
435
  ["SameSite", "None"]
443
- ], ke = ({
436
+ ], we = ({
444
437
  name: t,
445
438
  value: e,
446
439
  expires: n
447
440
  }) => {
448
- const s = (h() ? location.protocol === "https:" : !0) ? we : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], a = [
441
+ const s = (u() ? location.protocol === "https:" : !0) ? Ce : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], a = [
449
442
  [t, e],
450
443
  ...r,
451
444
  ["path", "/"],
452
- ["domain", xe(window.location.hostname)],
445
+ ["domain", ye(window.location.hostname)],
453
446
  ...s
454
447
  ];
455
- return Ce(a);
456
- }, V = async ({
448
+ return xe(a);
449
+ }, U = async ({
457
450
  name: t,
458
451
  value: e,
459
452
  expires: n,
@@ -462,19 +455,19 @@ const xe = (t) => {
462
455
  try {
463
456
  if (!o)
464
457
  return;
465
- const s = ke({ name: t, value: e, expires: n });
458
+ const s = we({ name: t, value: e, expires: n });
466
459
  document.cookie = s;
467
460
  } catch (s) {
468
461
  console.warn("[COOKIE] SET error: ", s);
469
462
  }
470
- }, Se = "builderio.variations", A = (t) => `${Se}.${t}`, Ie = ({
463
+ }, ke = "builderio.variations", A = (t) => `${ke}.${t}`, Se = ({
471
464
  contentId: t,
472
465
  canTrack: e
473
- }) => U({ name: A(t), canTrack: e }), Re = ({
466
+ }) => j({ name: A(t), canTrack: e }), Ie = ({
474
467
  contentId: t,
475
468
  canTrack: e,
476
469
  value: n
477
- }) => V({ name: A(t), value: n, canTrack: e }), b = (t) => t != null, Te = (t) => b(t.id) && b(t.variations) && Object.keys(t.variations).length > 0, $e = ({
470
+ }) => U({ name: A(t), value: n, canTrack: e }), g = (t) => t != null, Te = (t) => g(t.id) && g(t.variations) && Object.keys(t.variations).length > 0, Re = ({
478
471
  id: t,
479
472
  variations: e
480
473
  }) => {
@@ -485,7 +478,7 @@ const xe = (t) => {
485
478
  if (n += (s = e[r]) == null ? void 0 : s.testRatio, o < n)
486
479
  return r;
487
480
  return t;
488
- }, R = ({
481
+ }, I = ({
489
482
  item: t,
490
483
  testGroupId: e
491
484
  }) => {
@@ -498,42 +491,42 @@ const xe = (t) => {
498
491
  testVariationId: n.id,
499
492
  testVariationName: n.name || (n.id === t.id ? "Default" : "")
500
493
  };
501
- }, Ee = async ({
494
+ }, $e = async ({
502
495
  item: t,
503
496
  canTrack: e
504
497
  }) => {
505
- const n = await Ie({
498
+ const n = await Se({
506
499
  canTrack: e,
507
500
  contentId: t.id
508
- }), o = n ? R({ item: t, testGroupId: n }) : void 0;
501
+ }), o = n ? I({ item: t, testGroupId: n }) : void 0;
509
502
  if (o)
510
503
  return o;
511
504
  {
512
- const s = $e({
505
+ const s = Re({
513
506
  variations: t.variations,
514
507
  id: t.id
515
508
  });
516
- return Re({
509
+ return Ie({
517
510
  contentId: t.id,
518
511
  value: s,
519
512
  canTrack: e
520
513
  }).catch((r) => {
521
514
  console.error("could not store A/B test variation: ", r);
522
- }), R({ item: t, testGroupId: s });
515
+ }), I({ item: t, testGroupId: s });
523
516
  }
524
- }, Fe = async ({
517
+ }, Ee = async ({
525
518
  item: t,
526
519
  canTrack: e
527
520
  }) => {
528
521
  if (!Te(t))
529
522
  return;
530
- const n = await Ee({ item: t, canTrack: e });
523
+ const n = await $e({ item: t, canTrack: e });
531
524
  Object.assign(t, n);
532
525
  };
533
- async function O(t) {
534
- return (await Ue({ ...t, limit: 1 })).results[0] || null;
526
+ async function V(t) {
527
+ return (await je({ ...t, limit: 1 })).results[0] || null;
535
528
  }
536
- const je = (t) => {
529
+ const Fe = (t) => {
537
530
  const {
538
531
  limit: e = 30,
539
532
  userAttributes: n,
@@ -544,63 +537,67 @@ const je = (t) => {
544
537
  } = t, c = new URL(
545
538
  `https://cdn.builder.io/api/v2/content/${r}?apiKey=${a}&limit=${e}&noTraverse=${s}`
546
539
  ), i = {
547
- ..._e(),
548
- ...F(t.options || {})
549
- }, d = _(i);
550
- for (const l in d)
551
- c.searchParams.set(l, String(d[l]));
540
+ ...ve(),
541
+ ...E(t.options || {})
542
+ }, l = v(i);
543
+ for (const d in l)
544
+ c.searchParams.set(d, String(l[d]));
552
545
  if (n && c.searchParams.set("userAttributes", JSON.stringify(n)), o) {
553
- const l = _({ query: o });
554
- for (const m in l)
555
- c.searchParams.set(m, JSON.stringify(l[m]));
546
+ const d = v({ query: o });
547
+ for (const h in d)
548
+ c.searchParams.set(h, JSON.stringify(d[h]));
556
549
  }
557
550
  return c;
558
551
  };
559
- async function Ue(t) {
560
- const e = je(t), o = await (await j())(e.href).then(
552
+ async function je(t) {
553
+ const e = Fe(t), o = await (await F())(e.href).then(
561
554
  (r) => r.json()
562
555
  ), s = t.canTrack !== !1;
563
556
  if (s)
564
557
  for (const r of o.results)
565
- await Fe({ item: r, canTrack: s });
558
+ await Ee({ item: r, canTrack: s });
566
559
  return o;
567
560
  }
568
- const Ve = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((t) => {
561
+ const Ue = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((t) => {
569
562
  throw console.error(
570
563
  "Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
571
564
  t
572
565
  ), t;
573
566
  }), Ae = {
574
567
  name: "builder-symbol",
575
- components: { RenderContent: Ve },
568
+ components: { RenderContent: Ue },
576
569
  props: ["symbol", "attributes"],
577
- data: () => ({ className: "builder-symbol", content: null, markMutable: x }),
570
+ data: () => ({
571
+ className: "builder-symbol",
572
+ fetchedContent: null,
573
+ markMutable: y
574
+ }),
578
575
  inject: {
579
576
  builderContext: "BuilderContext"
580
577
  },
581
- mounted() {
582
- var t;
583
- this.content = (t = this.symbol) == null ? void 0 : t.content;
584
- },
585
578
  watch: {
586
579
  onUpdateHook0() {
587
580
  const t = this.symbol;
588
- t && !t.content && !this.content && t.model && O({
581
+ t && !t.content && !this.fetchedContent && t.model && V({
589
582
  model: t.model,
590
583
  apiKey: this.builderContext.apiKey,
591
584
  query: {
592
585
  id: t.entry
593
586
  }
594
587
  }).then((e) => {
595
- this.content = e;
588
+ this.fetchedContent = e;
596
589
  });
597
590
  }
598
591
  },
599
592
  computed: {
593
+ contentToUse() {
594
+ var t;
595
+ return ((t = this.symbol) == null ? void 0 : t.content) || this.fetchedContent;
596
+ },
600
597
  onUpdateHook0() {
601
598
  return {
602
599
  0: this.symbol,
603
- 1: this.content
600
+ 1: this.fetchedContent
604
601
  };
605
602
  }
606
603
  },
@@ -616,7 +613,7 @@ const Ve = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((
616
613
  }
617
614
  }
618
615
  };
619
- var Oe = function() {
616
+ var Ve = function() {
620
617
  var o, s, r, a, c;
621
618
  var e = this, n = e._self._c;
622
619
  return n("div", e._b({ class: e._classStringToObject(e.className), attrs: { dataSet: {
@@ -625,71 +622,71 @@ var Oe = function() {
625
622
  ...(o = e.symbol) == null ? void 0 : o.data,
626
623
  ...e.builderContext.state,
627
624
  ...(a = (r = (s = e.symbol) == null ? void 0 : s.content) == null ? void 0 : r.data) == null ? void 0 : a.state
628
- }), model: (c = e.symbol) == null ? void 0 : c.model, content: e.markMutable(e.content) } })], 1);
629
- }, Pe = [], We = /* @__PURE__ */ p(
625
+ }), model: (c = e.symbol) == null ? void 0 : c.model, content: e.markMutable(e.contentToUse) } })], 1);
626
+ }, Oe = [], Pe = /* @__PURE__ */ p(
630
627
  Ae,
628
+ Ve,
631
629
  Oe,
632
- Pe,
633
630
  !1,
634
631
  null,
635
632
  null,
636
633
  null,
637
634
  null
638
635
  );
639
- const Be = We.exports, Le = {
636
+ const We = Pe.exports, Be = {
640
637
  name: "builder-button",
641
638
  props: ["attributes", "text", "link", "openLinkInNewTab"]
642
639
  };
643
- var Me = function() {
640
+ var Le = function() {
644
641
  var e = this, n = e._self._c;
645
- return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-2fnk003dqad" }, "button", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]);
646
- }, Ne = [], ze = /* @__PURE__ */ p(
642
+ return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-20351ewpue7" }, "button", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]);
643
+ }, Me = [], Ne = /* @__PURE__ */ p(
644
+ Be,
647
645
  Le,
648
646
  Me,
649
- Ne,
650
647
  !1,
651
648
  null,
652
- "490b8c29",
649
+ "ed453c09",
653
650
  null,
654
651
  null
655
652
  );
656
- const He = ze.exports, qe = {
653
+ const He = Ne.exports, ze = {
657
654
  name: "builder-section-component",
658
655
  props: ["attributes", "maxWidth"]
659
656
  };
660
- var De = function() {
657
+ var qe = function() {
661
658
  var e = this, n = e._self._c;
662
659
  return n("section", e._b({ style: e.maxWidth && typeof e.maxWidth == "number" ? {
663
660
  maxWidth: e.maxWidth
664
661
  } : void 0 }, "section", e.attributes, !1), [e._t("default")], 2);
665
- }, Ke = [], Ge = /* @__PURE__ */ p(
662
+ }, De = [], Ke = /* @__PURE__ */ p(
663
+ ze,
666
664
  qe,
667
665
  De,
668
- Ke,
669
666
  !1,
670
667
  null,
671
668
  null,
672
669
  null,
673
670
  null
674
671
  );
675
- const Je = Ge.exports, Xe = {
672
+ const Ge = Ke.exports, Je = {
676
673
  name: "builder-fragment-component",
677
674
  props: []
678
675
  };
679
- var Ye = function() {
676
+ var Xe = function() {
680
677
  var e = this, n = e._self._c;
681
678
  return n("span", [e._t("default")], 2);
682
- }, Qe = [], Ze = /* @__PURE__ */ p(
679
+ }, Ye = [], Qe = /* @__PURE__ */ p(
680
+ Je,
683
681
  Xe,
684
682
  Ye,
685
- Qe,
686
683
  !1,
687
684
  null,
688
685
  null,
689
686
  null,
690
687
  null
691
688
  );
692
- const et = Ze.exports, tt = {
689
+ const Ze = Qe.exports, et = {
693
690
  name: "Core:Button",
694
691
  builtIn: !0,
695
692
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
@@ -727,10 +724,10 @@ const et = Ze.exports, tt = {
727
724
  static: !0,
728
725
  noWrap: !0
729
726
  };
730
- function C(t) {
727
+ function x(t) {
731
728
  return t.__qwik_serializable__ = !0, t;
732
729
  }
733
- const nt = {
730
+ const tt = {
734
731
  name: "Columns",
735
732
  builtIn: !0,
736
733
  inputs: [
@@ -918,7 +915,7 @@ const nt = {
918
915
  ]
919
916
  }
920
917
  ],
921
- onChange: C((t) => {
918
+ onChange: x((t) => {
922
919
  function e() {
923
920
  n.forEach((o) => {
924
921
  o.delete("width");
@@ -955,14 +952,14 @@ const nt = {
955
952
  advanced: !0
956
953
  }
957
954
  ]
958
- }, ot = {
955
+ }, nt = {
959
956
  name: "Fragment",
960
957
  static: !0,
961
958
  hidden: !0,
962
959
  builtIn: !0,
963
960
  canHaveChildren: !0,
964
961
  noWrap: !0
965
- }, st = {
962
+ }, ot = {
966
963
  name: "Image",
967
964
  static: !0,
968
965
  builtIn: !0,
@@ -982,18 +979,18 @@ const nt = {
982
979
  allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
983
980
  required: !0,
984
981
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
985
- onChange: C((t) => {
982
+ onChange: x((t) => {
986
983
  t.delete("srcset"), t.delete("noWebp");
987
984
  function n(a, c = 6e4) {
988
- return new Promise((i, d) => {
989
- const l = document.createElement("img");
990
- let m = !1;
991
- l.onload = () => {
992
- m = !0, i(l);
993
- }, l.addEventListener("error", (u) => {
994
- console.warn("Image load failed", u.error), d(u.error);
995
- }), l.src = a, setTimeout(() => {
996
- m || d(new Error("Image load timed out"));
985
+ return new Promise((i, l) => {
986
+ const d = document.createElement("img");
987
+ let h = !1;
988
+ d.onload = () => {
989
+ h = !0, i(d);
990
+ }, d.addEventListener("error", (m) => {
991
+ console.warn("Image load failed", m.error), l(m.error);
992
+ }), d.src = a, setTimeout(() => {
993
+ h || l(new Error("Image load timed out"));
997
994
  }, c);
998
995
  });
999
996
  }
@@ -1088,7 +1085,7 @@ const nt = {
1088
1085
  defaultValue: 0.7041
1089
1086
  }
1090
1087
  ]
1091
- }, rt = {
1088
+ }, st = {
1092
1089
  name: "Core:Section",
1093
1090
  static: !0,
1094
1091
  builtIn: !0,
@@ -1133,7 +1130,7 @@ const nt = {
1133
1130
  }
1134
1131
  }
1135
1132
  ]
1136
- }, at = {
1133
+ }, rt = {
1137
1134
  name: "Symbol",
1138
1135
  noWrap: !0,
1139
1136
  static: !0,
@@ -1172,7 +1169,7 @@ const nt = {
1172
1169
  type: "boolean"
1173
1170
  }
1174
1171
  ]
1175
- }, it = {
1172
+ }, at = {
1176
1173
  name: "Text",
1177
1174
  static: !0,
1178
1175
  builtIn: !0,
@@ -1192,7 +1189,7 @@ const nt = {
1192
1189
  height: "auto",
1193
1190
  textAlign: "center"
1194
1191
  }
1195
- }, ct = {
1192
+ }, it = {
1196
1193
  name: "Video",
1197
1194
  canHaveChildren: !0,
1198
1195
  builtIn: !0,
@@ -1294,7 +1291,7 @@ const nt = {
1294
1291
  advanced: !0
1295
1292
  }
1296
1293
  ]
1297
- }, lt = {
1294
+ }, ct = {
1298
1295
  name: "Embed",
1299
1296
  static: !0,
1300
1297
  builtIn: !0,
@@ -1305,7 +1302,7 @@ const nt = {
1305
1302
  required: !0,
1306
1303
  defaultValue: "",
1307
1304
  helperText: "e.g. enter a youtube url, google map, etc",
1308
- onChange: C((t) => {
1305
+ onChange: x((t) => {
1309
1306
  const e = t.get("url");
1310
1307
  if (e)
1311
1308
  return t.set("content", "Loading..."), fetch(
@@ -1328,11 +1325,11 @@ const nt = {
1328
1325
  hideFromUI: !0
1329
1326
  }
1330
1327
  ]
1331
- }, dt = [
1328
+ }, lt = [
1332
1329
  "text/javascript",
1333
1330
  "application/javascript",
1334
1331
  "application/ecmascript"
1335
- ], ut = (t) => dt.includes(t.type), pt = {
1332
+ ], dt = (t) => lt.includes(t.type), ut = {
1336
1333
  name: "builder-embed",
1337
1334
  props: ["content"],
1338
1335
  data: () => ({ scriptsInserted: [], scriptsRun: [], ranInitFn: !1 }),
@@ -1360,7 +1357,7 @@ const nt = {
1360
1357
  this.scriptsInserted.push(n.src);
1361
1358
  const o = document.createElement("script");
1362
1359
  o.async = !0, o.src = n.src, document.head.appendChild(o);
1363
- } else if (ut(n) && !this.scriptsRun.includes(n.innerText))
1360
+ } else if (dt(n) && !this.scriptsRun.includes(n.innerText))
1364
1361
  try {
1365
1362
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
1366
1363
  } catch (o) {
@@ -1370,20 +1367,27 @@ const nt = {
1370
1367
  }
1371
1368
  }
1372
1369
  };
1373
- var mt = function() {
1370
+ var pt = function() {
1374
1371
  var e = this, n = e._self._c;
1375
1372
  return n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
1376
- }, ht = [], ft = /* @__PURE__ */ p(
1373
+ }, mt = [], ht = /* @__PURE__ */ p(
1374
+ ut,
1377
1375
  pt,
1378
1376
  mt,
1379
- ht,
1380
1377
  !1,
1381
1378
  null,
1382
1379
  null,
1383
1380
  null,
1384
1381
  null
1385
1382
  );
1386
- const gt = ft.exports, bt = {
1383
+ const ft = ht.exports;
1384
+ function gt() {
1385
+ return u() && window.self !== window.top;
1386
+ }
1387
+ function f() {
1388
+ return gt() && window.location.search.indexOf("builder.frameEditing=") !== -1;
1389
+ }
1390
+ const bt = {
1387
1391
  name: "builder-img-component",
1388
1392
  props: [
1389
1393
  "backgroundSize",
@@ -1488,7 +1492,7 @@ var kt = function() {
1488
1492
  null,
1489
1493
  null
1490
1494
  );
1491
- const Rt = It.exports, Tt = {
1495
+ const Tt = It.exports, Rt = {
1492
1496
  name: "Custom Code",
1493
1497
  static: !0,
1494
1498
  builtIn: !0,
@@ -1516,17 +1520,17 @@ const Rt = It.exports, Tt = {
1516
1520
  }
1517
1521
  ]
1518
1522
  }, $t = () => [
1519
- { component: Z, ...nt },
1520
- { component: ae, ...st },
1523
+ { component: Q, ...tt },
1524
+ { component: re, ...ot },
1521
1525
  { component: xt, ...Ct },
1522
- { component: ue, ...it },
1523
- { component: ge, ...ct },
1524
- { component: Be, ...at },
1525
- { component: He, ...tt },
1526
- { component: Je, ...rt },
1527
- { component: et, ...ot },
1528
- { component: gt, ...lt },
1529
- { component: Rt, ...Tt }
1526
+ { component: de, ...at },
1527
+ { component: fe, ...it },
1528
+ { component: We, ...rt },
1529
+ { component: He, ...et },
1530
+ { component: Ge, ...st },
1531
+ { component: Ze, ...nt },
1532
+ { component: ft, ...ct },
1533
+ { component: Tt, ...Rt }
1530
1534
  ];
1531
1535
  function T({
1532
1536
  code: t,
@@ -1540,8 +1544,8 @@ function T({
1540
1544
  }
1541
1545
  const s = {
1542
1546
  isEditing: f(),
1543
- isBrowser: h(),
1544
- isServer: !h()
1547
+ isBrowser: u(),
1548
+ isServer: !u()
1545
1549
  }, a = !(t.includes(";") || t.includes(" return ") || t.trim().startsWith("return ")) ? `return (${t});` : t;
1546
1550
  try {
1547
1551
  return new Function(
@@ -1565,9 +1569,9 @@ function T({
1565
1569
  }
1566
1570
  }
1567
1571
  function Et() {
1568
- return !h() || f() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1572
+ return !u() || f() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1569
1573
  }
1570
- const P = [];
1574
+ const O = (t) => JSON.parse(JSON.stringify(t)), P = [];
1571
1575
  function ln(t, e) {
1572
1576
  return P.push({ component: t, ...e }), console.warn(
1573
1577
  "registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK."
@@ -1578,15 +1582,15 @@ const Ft = ({
1578
1582
  ...e
1579
1583
  }) => ({
1580
1584
  type: "builder.registerComponent",
1581
- data: Vt(e)
1582
- }), W = (t) => JSON.parse(JSON.stringify(t)), jt = (t) => typeof t == "function" ? Ut(t) : W(t), Ut = (t) => {
1585
+ data: At(e)
1586
+ }), jt = (t) => typeof t == "function" ? Ut(t) : O(t), Ut = (t) => {
1583
1587
  const e = t.toString().trim();
1584
1588
  return `return (${!e.startsWith("function") && !e.startsWith("(") ? "function " : ""}${e}).apply(this, arguments)`;
1585
- }, Vt = ({
1589
+ }, At = ({
1586
1590
  inputs: t,
1587
1591
  ...e
1588
1592
  }) => ({
1589
- ...W(e),
1593
+ ...O(e),
1590
1594
  inputs: t == null ? void 0 : t.map(
1591
1595
  (n) => Object.entries(n).reduce(
1592
1596
  (o, [s, r]) => ({
@@ -1597,38 +1601,38 @@ const Ft = ({
1597
1601
  )
1598
1602
  )
1599
1603
  });
1600
- function At() {
1604
+ function Vt() {
1601
1605
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
1602
1606
  const e = Math.random() * 16 | 0;
1603
1607
  return (t == "x" ? e : e & 3 | 8).toString(16);
1604
1608
  });
1605
1609
  }
1606
- function B() {
1607
- return At().replace(/-/g, "");
1610
+ function W() {
1611
+ return Vt().replace(/-/g, "");
1608
1612
  }
1609
- const L = "builderSessionId", Ot = async ({ canTrack: t }) => {
1613
+ const B = "builderSessionId", Ot = async ({ canTrack: t }) => {
1610
1614
  if (!t)
1611
1615
  return;
1612
- const e = await U({
1613
- name: L,
1616
+ const e = await j({
1617
+ name: B,
1614
1618
  canTrack: t
1615
1619
  });
1616
- if (b(e))
1620
+ if (g(e))
1617
1621
  return e;
1618
1622
  {
1619
1623
  const n = Pt();
1620
1624
  Wt({ id: n, canTrack: t });
1621
1625
  }
1622
- }, Pt = () => B(), Wt = ({
1626
+ }, Pt = () => W(), Wt = ({
1623
1627
  id: t,
1624
1628
  canTrack: e
1625
- }) => V({ name: L, value: t, canTrack: e }), M = () => h() && typeof localStorage < "u" ? localStorage : void 0, Bt = ({
1629
+ }) => U({ name: B, value: t, canTrack: e }), L = () => u() && typeof localStorage < "u" ? localStorage : void 0, Bt = ({
1626
1630
  key: t,
1627
1631
  canTrack: e
1628
1632
  }) => {
1629
1633
  var n;
1630
1634
  try {
1631
- return e ? (n = M()) == null ? void 0 : n.getItem(t) : void 0;
1635
+ return e ? (n = L()) == null ? void 0 : n.getItem(t) : void 0;
1632
1636
  } catch (o) {
1633
1637
  console.debug("[LocalStorage] GET error: ", o);
1634
1638
  }
@@ -1639,31 +1643,31 @@ const L = "builderSessionId", Ot = async ({ canTrack: t }) => {
1639
1643
  }) => {
1640
1644
  var o;
1641
1645
  try {
1642
- e && ((o = M()) == null || o.setItem(t, n));
1646
+ e && ((o = L()) == null || o.setItem(t, n));
1643
1647
  } catch (s) {
1644
1648
  console.debug("[LocalStorage] SET error: ", s);
1645
1649
  }
1646
- }, N = "builderVisitorId", Mt = ({ canTrack: t }) => {
1650
+ }, M = "builderVisitorId", Mt = ({ canTrack: t }) => {
1647
1651
  if (!t)
1648
1652
  return;
1649
1653
  const e = Bt({
1650
- key: N,
1654
+ key: M,
1651
1655
  canTrack: t
1652
1656
  });
1653
- if (b(e))
1657
+ if (g(e))
1654
1658
  return e;
1655
1659
  {
1656
1660
  const n = Nt();
1657
- zt({ id: n, canTrack: t });
1661
+ Ht({ id: n, canTrack: t });
1658
1662
  }
1659
- }, Nt = () => B(), zt = ({
1663
+ }, Nt = () => W(), Ht = ({
1660
1664
  id: t,
1661
1665
  canTrack: e
1662
1666
  }) => Lt({
1663
- key: N,
1667
+ key: M,
1664
1668
  value: t,
1665
1669
  canTrack: e
1666
- }), Ht = async ({
1670
+ }), zt = async ({
1667
1671
  canTrack: t
1668
1672
  }) => {
1669
1673
  if (!t)
@@ -1683,13 +1687,13 @@ const L = "builderSessionId", Ot = async ({ canTrack: t }) => {
1683
1687
  type: t,
1684
1688
  data: {
1685
1689
  ...s,
1686
- ...await Ht({ canTrack: e }),
1690
+ ...await zt({ canTrack: e }),
1687
1691
  ownerId: n,
1688
1692
  contentId: o
1689
1693
  }
1690
1694
  });
1691
- async function $(t) {
1692
- if (!!t.canTrack && !f() && !!(h() || y === "reactNative"))
1695
+ async function R(t) {
1696
+ if (!!t.canTrack && !f() && !!(u() || _ === "reactNative"))
1693
1697
  return fetch("https://builder.io/api/v1/track", {
1694
1698
  method: "POST",
1695
1699
  body: JSON.stringify({
@@ -1703,12 +1707,12 @@ async function $(t) {
1703
1707
  console.error("Failed to track: ", e);
1704
1708
  });
1705
1709
  }
1706
- const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t) => {
1710
+ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t) => {
1707
1711
  throw console.error(
1708
1712
  "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
1709
1713
  t
1710
1714
  ), t;
1711
- }), Kt = () => import("./render-styles.ad89c45c.js").then((t) => t.default).catch((t) => {
1715
+ }), Kt = () => import("./render-styles.d7585530.js").then((t) => t.default).catch((t) => {
1712
1716
  throw console.error(
1713
1717
  "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
1714
1718
  t
@@ -1726,16 +1730,14 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1726
1730
  "context",
1727
1731
  "customComponents",
1728
1732
  "model",
1729
- "apiKey",
1730
- "locale",
1731
- "includeRefs"
1733
+ "apiKey"
1732
1734
  ],
1733
1735
  data: () => ({
1734
1736
  forceReRenderCount: 0,
1735
1737
  overrideContent: null,
1736
1738
  update: 0,
1737
1739
  overrideState: {},
1738
- markMutable: x
1740
+ markMutable: y
1739
1741
  }),
1740
1742
  provide() {
1741
1743
  const t = this;
@@ -1761,15 +1763,8 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1761
1763
  },
1762
1764
  mounted() {
1763
1765
  var t;
1764
- if (h()) {
1765
- if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, D(), K({
1766
- ...this.locale ? {
1767
- locale: this.locale
1768
- } : {},
1769
- ...this.includeRefs ? {
1770
- includeRefs: this.includeRefs
1771
- } : {}
1772
- }), Object.values(this.allRegisteredComponents).forEach(
1766
+ if (u()) {
1767
+ if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, q(), D(), Object.values(this.allRegisteredComponents).forEach(
1773
1768
  (e) => {
1774
1769
  var o;
1775
1770
  const n = Ft(e);
@@ -1778,7 +1773,7 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1778
1773
  ), window.addEventListener("message", this.processMessage), window.addEventListener(
1779
1774
  "builder:component:stateChangeListenerActivated",
1780
1775
  this.emitStateUpdate
1781
- )), this.useContent && $({
1776
+ )), this.useContent && R({
1782
1777
  type: "impression",
1783
1778
  canTrack: this.canTrackToUse,
1784
1779
  contentId: (t = this.useContent) == null ? void 0 : t.id,
@@ -1787,7 +1782,7 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1787
1782
  const e = new URL(location.href).searchParams;
1788
1783
  if (this.model && e.get("builder.preview") === this.model) {
1789
1784
  const n = e.get("apiKey") || e.get("builder.space");
1790
- n && O({
1785
+ n && V({
1791
1786
  model: this.model,
1792
1787
  apiKey: n
1793
1788
  }).then((o) => {
@@ -1810,7 +1805,7 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1810
1805
  }
1811
1806
  },
1812
1807
  unmounted() {
1813
- h() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
1808
+ u() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
1814
1809
  "builder:component:stateChangeListenerActivated",
1815
1810
  this.emitStateUpdate
1816
1811
  ));
@@ -1848,7 +1843,10 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1848
1843
  ...P,
1849
1844
  ...this.customComponents || []
1850
1845
  ].reduce(
1851
- (n, o) => ({ ...n, [o.name]: o }),
1846
+ (n, o) => ({
1847
+ ...n,
1848
+ [o.name]: o
1849
+ }),
1852
1850
  {}
1853
1851
  );
1854
1852
  },
@@ -1858,7 +1856,7 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1858
1856
  shouldRenderContentStyles() {
1859
1857
  var t, e, n, o, s;
1860
1858
  return Boolean(
1861
- (((e = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : e.cssCode) || ((s = (o = (n = this.useContent) == null ? void 0 : n.data) == null ? void 0 : o.customFonts) == null ? void 0 : s.length)) && y !== "reactNative"
1859
+ (((e = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : e.cssCode) || ((s = (o = (n = this.useContent) == null ? void 0 : n.data) == null ? void 0 : o.customFonts) == null ? void 0 : s.length)) && _ !== "reactNative"
1862
1860
  );
1863
1861
  },
1864
1862
  onUpdateHook0() {
@@ -1902,7 +1900,7 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1902
1900
  },
1903
1901
  onClick(t) {
1904
1902
  var e;
1905
- this.useContent && $({
1903
+ this.useContent && R({
1906
1904
  type: "click",
1907
1905
  canTrack: this.canTrackToUse,
1908
1906
  contentId: (e = this.useContent) == null ? void 0 : e.id,
@@ -1920,8 +1918,11 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1920
1918
  );
1921
1919
  },
1922
1920
  handleRequest({ url: t, key: e }) {
1923
- j().then((n) => n(t)).then((n) => n.json()).then((n) => {
1924
- const o = { ...this.overrideState, [e]: n };
1921
+ F().then((n) => n(t)).then((n) => n.json()).then((n) => {
1922
+ const o = {
1923
+ ...this.overrideState,
1924
+ [e]: n
1925
+ };
1925
1926
  this.overrideState = o;
1926
1927
  }).catch((n) => {
1927
1928
  console.log("error fetching dynamic data", t, n);
@@ -1955,11 +1956,11 @@ const Dt = () => Promise.resolve().then(() => z).then((t) => t.default).catch((t
1955
1956
  }
1956
1957
  };
1957
1958
  var Jt = function() {
1958
- var o, s, r, a, c, i, d;
1959
+ var o, s, r, a, c, i, l;
1959
1960
  var e = this, n = e._self._c;
1960
- return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id }, on: { click: function(l) {
1961
- return e.onClick(l);
1962
- } } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { cssCode: (r = (s = e.useContent) == null ? void 0 : s.data) == null ? void 0 : r.cssCode, customFonts: (c = (a = e.useContent) == null ? void 0 : a.data) == null ? void 0 : c.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: e.markMutable((d = (i = e.useContent) == null ? void 0 : i.data) == null ? void 0 : d.blocks) } })], 2) : e._e();
1961
+ return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(d) {
1962
+ return e.onClick(d);
1963
+ } } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { cssCode: (r = (s = e.useContent) == null ? void 0 : s.data) == null ? void 0 : r.cssCode, customFonts: (c = (a = e.useContent) == null ? void 0 : a.data) == null ? void 0 : c.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: e.markMutable((l = (i = e.useContent) == null ? void 0 : i.data) == null ? void 0 : l.blocks) } })], 2) : e._e();
1963
1964
  }, Xt = [], Yt = /* @__PURE__ */ p(
1964
1965
  Gt,
1965
1966
  Jt,
@@ -1973,12 +1974,12 @@ var Jt = function() {
1973
1974
  const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1974
1975
  __proto__: null,
1975
1976
  default: Qt
1976
- }, Symbol.toStringTag, { value: "Module" })), en = () => import("./block-styles.234651b2.js").then((t) => t.default).catch((t) => {
1977
+ }, Symbol.toStringTag, { value: "Module" })), en = () => import("./block-styles.bc1f94cc.js").then((t) => t.default).catch((t) => {
1977
1978
  throw console.error(
1978
1979
  "Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
1979
1980
  t
1980
1981
  ), t;
1981
- }), tn = () => import("./render-block.3cf39e0e.js").then((t) => t.default).catch((t) => {
1982
+ }), tn = () => import("./render-block.4fdcffb1.js").then((t) => t.default).catch((t) => {
1982
1983
  throw console.error(
1983
1984
  "Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
1984
1985
  t
@@ -1986,7 +1987,7 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
1986
1987
  }), nn = {
1987
1988
  name: "render-blocks",
1988
1989
  components: { RenderBlock: tn, BlockStyles: en },
1989
- props: ["blocks", "parent", "path", "style"],
1990
+ props: ["blocks", "parent", "path", "styleProp"],
1990
1991
  inject: {
1991
1992
  builderContext: "BuilderContext"
1992
1993
  },
@@ -2036,7 +2037,7 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
2036
2037
  };
2037
2038
  var on = function() {
2038
2039
  var e = this, n = e._self._c;
2039
- return n("div", { class: e._classStringToObject(e.className + " div-21azgz5avex"), style: e.style, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
2040
+ return n("div", { class: e._classStringToObject(e.className + " div-23e8fqt91nf"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
2040
2041
  class: e.className
2041
2042
  } }, on: { click: function(o) {
2042
2043
  return e.onClick();
@@ -2053,51 +2054,52 @@ var on = function() {
2053
2054
  sn,
2054
2055
  !1,
2055
2056
  null,
2056
- "75050a7e",
2057
+ "713efc9e",
2057
2058
  null,
2058
2059
  null
2059
2060
  );
2060
- const an = rn.exports, z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2061
+ const an = rn.exports, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2061
2062
  __proto__: null,
2062
2063
  default: an
2063
- }, Symbol.toStringTag, { value: "Module" })), E = {};
2064
+ }, Symbol.toStringTag, { value: "Module" })), $ = {};
2064
2065
  function dn(t) {
2065
- if (h()) {
2066
- Object.assign(E, t);
2066
+ if (u()) {
2067
+ Object.assign($, t);
2067
2068
  const e = {
2068
2069
  type: "builder.settingsChange",
2069
- data: E
2070
+ data: $
2070
2071
  };
2071
2072
  parent.postMessage(e, "*");
2072
2073
  }
2073
2074
  }
2074
2075
  export {
2075
2076
  He as B,
2076
- Z as C,
2077
- et as F,
2078
- ae as I,
2079
- Be as S,
2080
- y as T,
2081
- ge as V,
2082
- ue as a,
2083
- Je as b,
2077
+ Q as C,
2078
+ Ze as F,
2079
+ re as I,
2080
+ We as S,
2081
+ _ as T,
2082
+ fe as V,
2083
+ de as a,
2084
+ Ge as b,
2084
2085
  an as c,
2085
2086
  Et as d,
2086
2087
  T as e,
2087
- P as f,
2088
- ln as g,
2089
- Ft as h,
2088
+ O as f,
2089
+ P as g,
2090
+ ln as h,
2090
2091
  f as i,
2091
- q as j,
2092
- O as k,
2093
- je as l,
2092
+ Ft as j,
2093
+ z as k,
2094
+ V as l,
2094
2095
  cn as m,
2095
2096
  p as n,
2096
- Ue as o,
2097
- be as p,
2098
- ve as q,
2097
+ Fe as o,
2098
+ je as p,
2099
+ ge as q,
2099
2100
  Qt as r,
2100
2101
  dn as s,
2101
- _e as t,
2102
- F as u
2102
+ be as t,
2103
+ ve as u,
2104
+ E as v
2103
2105
  };