@builder.io/sdk-vue 0.8.0 → 0.9.0

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 (279) hide show
  1. package/README.md +1 -4
  2. package/package.json +1 -1
  3. package/vue2/lib/browser/{block-9d4161fb.cjs → block-8eb8a717.cjs} +2 -2
  4. package/vue2/lib/{edge/block-c6f466c0.js → browser/block-f46a2e5f.js} +7 -7
  5. package/vue2/lib/{node/block-styles-b947dfc5.js → browser/block-styles-5d933df0.js} +5 -5
  6. package/vue2/lib/{node/block-styles-c4974a44.cjs → browser/block-styles-c36b606c.cjs} +1 -1
  7. package/vue2/lib/browser/{block-wrapper-0d4fe902.js → block-wrapper-9032b3aa.js} +5 -5
  8. package/vue2/lib/browser/{block-wrapper-3157e1bc.cjs → block-wrapper-e68eb3ce.cjs} +1 -1
  9. package/vue2/lib/browser/blocks-wrapper-13a20963.js +74 -0
  10. package/vue2/lib/browser/blocks-wrapper-233d7a58.cjs +1 -0
  11. package/vue2/lib/{node/component-ref-7f93a1f0.cjs → browser/component-ref-3eabf9d3.cjs} +1 -1
  12. package/vue2/lib/{edge/component-ref-b3b70fa9.js → browser/component-ref-aff72404.js} +6 -6
  13. package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  14. package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  15. package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  16. package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +1 -1
  17. package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
  18. package/vue2/lib/browser/components/content/content.vue.d.ts +2 -0
  19. package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
  20. package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
  21. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  22. package/vue2/lib/browser/{content-0575efdf.cjs → content-01c5295f.cjs} +1 -1
  23. package/vue2/lib/{edge/content-90700d7e.js → browser/content-5ff1bf50.js} +29 -23
  24. package/vue2/lib/browser/context/builder.context.d.ts +2 -0
  25. package/vue2/lib/browser/context/types.d.ts +2 -1
  26. package/vue2/lib/{node/css-97122c97.js → browser/css-0e1a5906.js} +1 -1
  27. package/vue2/lib/browser/{css-9cb1ef7e.cjs → css-8f0dfb3a.cjs} +1 -1
  28. package/vue2/lib/browser/enable-editor-79943def.cjs +1 -0
  29. package/vue2/lib/browser/{enable-editor-c377a256.js → enable-editor-ba199201.js} +25 -27
  30. package/vue2/lib/browser/{evaluate-2857c518.js → evaluate-c7aac0ee.js} +1 -1
  31. package/vue2/lib/browser/{evaluate-5a5f1e1a.cjs → evaluate-ec382d17.cjs} +1 -1
  32. package/vue2/lib/browser/functions/get-block-properties.d.ts +1 -1
  33. package/vue2/lib/browser/functions/transform-block-properties.d.ts +5 -2
  34. package/vue2/lib/browser/{get-block-actions-797d49a2.cjs → get-block-actions-34f93bab.cjs} +1 -1
  35. package/vue2/lib/{edge/get-block-actions-a4c6a740.js → browser/get-block-actions-80d8a41d.js} +2 -2
  36. package/vue2/lib/browser/{get-block-properties-eb393578.js → get-block-properties-b80c51fd.js} +10 -4
  37. package/vue2/lib/browser/get-block-properties-fcbe86d3.cjs +1 -0
  38. package/vue2/lib/browser/{get-processed-block-d2849656.js → get-processed-block-08346ffe.js} +2 -2
  39. package/vue2/lib/browser/{get-processed-block-e9eb76d5.cjs → get-processed-block-bb410f6f.cjs} +1 -1
  40. package/vue2/lib/{node/index-f82ca488.cjs → browser/index-4d603d94.cjs} +7 -7
  41. package/vue2/lib/{edge/index-22fb0dfe.js → browser/index-d4551a7a.js} +110 -103
  42. package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +12 -0
  43. package/vue2/lib/browser/index.cjs +1 -1
  44. package/vue2/lib/browser/index.js +1 -1
  45. package/vue2/lib/{edge/inlined-script-f5a56ea4.js → browser/inlined-script-18dd0beb.js} +1 -1
  46. package/vue2/lib/browser/{inlined-script-166d99c7.cjs → inlined-script-ff6b73ba.cjs} +1 -1
  47. package/vue2/lib/browser/{inlined-styles-4c4a89e2.cjs → inlined-styles-3c12a021.cjs} +1 -1
  48. package/vue2/lib/{node/inlined-styles-4fa88e65.js → browser/inlined-styles-b687d7f1.js} +1 -1
  49. package/vue2/lib/{node/interactive-element-f08c324e.cjs → browser/interactive-element-52eda23c.cjs} +1 -1
  50. package/vue2/lib/{node/interactive-element-f46aae31.js → browser/interactive-element-91f198a4.js} +5 -5
  51. package/vue2/lib/{node/repeated-block-fe5a6df8.js → browser/repeated-block-6a55f793.js} +2 -2
  52. package/vue2/lib/{node/repeated-block-5d832619.cjs → browser/repeated-block-956e883f.cjs} +1 -1
  53. package/vue2/lib/browser/style.css +1 -1
  54. package/vue2/lib/browser/{styles-3945b4c7.js → styles-36c9fddb.js} +2 -2
  55. package/vue2/lib/{node/styles-85761eb4.cjs → browser/styles-8dc5678c.cjs} +2 -2
  56. package/vue2/lib/browser/types/enforced-partials.d.ts +7 -2
  57. package/vue2/lib/{browser/block-f5679152.js → edge/block-3d9fb7c2.js} +7 -7
  58. package/vue2/lib/{node/block-f9029bc3.cjs → edge/block-f15be379.cjs} +2 -2
  59. package/vue2/lib/edge/{block-styles-37805084.js → block-styles-8d163d7c.js} +5 -5
  60. package/vue2/lib/edge/{block-styles-adc484c6.cjs → block-styles-b8533af9.cjs} +1 -1
  61. package/vue2/lib/{node/block-wrapper-04b443cd.js → edge/block-wrapper-5c00ae5e.js} +5 -5
  62. package/vue2/lib/{node/block-wrapper-8ba974d4.cjs → edge/block-wrapper-aaa3ed0e.cjs} +1 -1
  63. package/vue2/lib/edge/blocks-wrapper-61df90f4.js +74 -0
  64. package/vue2/lib/edge/blocks-wrapper-69c07fcc.cjs +1 -0
  65. package/vue2/lib/{browser/component-ref-c51b0a20.cjs → edge/component-ref-0f3a0ba1.cjs} +1 -1
  66. package/vue2/lib/{node/component-ref-5f0d480f.js → edge/component-ref-193f3231.js} +6 -6
  67. package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  68. package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  69. package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  70. package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +1 -1
  71. package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
  72. package/vue2/lib/edge/components/content/content.vue.d.ts +2 -0
  73. package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
  74. package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
  75. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  76. package/vue2/lib/{browser/content-84bda2e9.js → edge/content-0e433688.js} +29 -23
  77. package/vue2/lib/{node/content-a860398a.cjs → edge/content-deb91a9b.cjs} +1 -1
  78. package/vue2/lib/edge/context/builder.context.d.ts +2 -0
  79. package/vue2/lib/edge/context/types.d.ts +2 -1
  80. package/vue2/lib/{browser/css-bdeda4e4.js → edge/css-81e2e40c.js} +1 -1
  81. package/vue2/lib/{node/css-fb2674c8.cjs → edge/css-a72ded40.cjs} +1 -1
  82. package/vue2/lib/edge/enable-editor-27dc580b.cjs +1 -0
  83. package/vue2/lib/{node/enable-editor-df62e3bf.js → edge/enable-editor-cd9aa0aa.js} +25 -27
  84. package/vue2/lib/edge/{evaluate-4bd2a851.cjs → evaluate-128da0ac.cjs} +1 -1
  85. package/vue2/lib/edge/{evaluate-2a5e2028.js → evaluate-8d0bbfbd.js} +1 -1
  86. package/vue2/lib/edge/functions/get-block-properties.d.ts +1 -1
  87. package/vue2/lib/edge/functions/transform-block-properties.d.ts +5 -2
  88. package/vue2/lib/edge/{get-block-actions-84b02e58.cjs → get-block-actions-1b4a42bd.cjs} +1 -1
  89. package/vue2/lib/{node/get-block-actions-035815cd.js → edge/get-block-actions-b804a4ed.js} +2 -2
  90. package/vue2/lib/{node/get-block-properties-b3de78f4.js → edge/get-block-properties-248979b7.js} +10 -4
  91. package/vue2/lib/edge/get-block-properties-91cdf9bd.cjs +1 -0
  92. package/vue2/lib/edge/{get-processed-block-8f70184a.cjs → get-processed-block-08d699f0.cjs} +1 -1
  93. package/vue2/lib/{node/get-processed-block-e16b5f0b.js → edge/get-processed-block-9ad00b6e.js} +2 -2
  94. package/vue2/lib/{browser/index-1fdc0dd8.js → edge/index-23a8bb60.js} +110 -103
  95. package/vue2/lib/edge/{index-cf208007.cjs → index-4db92fa7.cjs} +7 -7
  96. package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +12 -0
  97. package/vue2/lib/edge/index.cjs +1 -1
  98. package/vue2/lib/edge/index.js +1 -1
  99. package/vue2/lib/{node/inlined-script-a6f84120.js → edge/inlined-script-3796a498.js} +1 -1
  100. package/vue2/lib/edge/{inlined-script-f460fc92.cjs → inlined-script-e880446d.cjs} +1 -1
  101. package/vue2/lib/edge/{inlined-styles-ea805c3d.js → inlined-styles-ae4fbc9f.js} +1 -1
  102. package/vue2/lib/edge/{inlined-styles-c9c77496.cjs → inlined-styles-ae989bfa.cjs} +1 -1
  103. package/vue2/lib/{browser/interactive-element-f3bc9b6c.js → edge/interactive-element-4613d798.js} +5 -5
  104. package/vue2/lib/edge/{interactive-element-d909635d.cjs → interactive-element-e0de8a75.cjs} +1 -1
  105. package/vue2/lib/{browser/repeated-block-8c6f0ef0.cjs → edge/repeated-block-061a93e5.cjs} +1 -1
  106. package/vue2/lib/{browser/repeated-block-59ab7fe5.js → edge/repeated-block-277f2b40.js} +2 -2
  107. package/vue2/lib/edge/style.css +1 -1
  108. package/vue2/lib/{browser/styles-0fbadb80.cjs → edge/styles-290ae837.cjs} +2 -2
  109. package/vue2/lib/edge/{styles-8840ca47.js → styles-cca4b08e.js} +2 -2
  110. package/vue2/lib/edge/types/enforced-partials.d.ts +7 -2
  111. package/vue2/lib/node/{block-6dc57ba5.js → block-88d3d176.js} +7 -7
  112. package/vue2/lib/{edge/block-03548c5c.cjs → node/block-b586205d.cjs} +2 -2
  113. package/vue2/lib/{browser/block-styles-b76b4562.cjs → node/block-styles-471fd00b.cjs} +1 -1
  114. package/vue2/lib/{browser/block-styles-6ca785bb.js → node/block-styles-aba16bf4.js} +5 -5
  115. package/vue2/lib/{edge/block-wrapper-ff8027da.cjs → node/block-wrapper-c76e2259.cjs} +1 -1
  116. package/vue2/lib/{edge/block-wrapper-1d75af67.js → node/block-wrapper-d1dab513.js} +5 -5
  117. package/vue2/lib/node/blocks-wrapper-6dd528c4.js +74 -0
  118. package/vue2/lib/node/blocks-wrapper-9abf97bd.cjs +1 -0
  119. package/vue2/lib/{edge/component-ref-fc9c9d6b.cjs → node/component-ref-08e79b50.cjs} +1 -1
  120. package/vue2/lib/{browser/component-ref-d59047de.js → node/component-ref-3ee361bc.js} +6 -6
  121. package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  122. package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  123. package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  124. package/vue2/lib/node/components/blocks/blocks.vue.d.ts +1 -1
  125. package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
  126. package/vue2/lib/node/components/content/content.vue.d.ts +2 -0
  127. package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
  128. package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
  129. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  130. package/vue2/lib/node/{content-b604b895.js → content-3d542f91.js} +29 -23
  131. package/vue2/lib/{edge/content-e5850b95.cjs → node/content-d8091f69.cjs} +1 -1
  132. package/vue2/lib/node/context/builder.context.d.ts +2 -0
  133. package/vue2/lib/node/context/types.d.ts +2 -1
  134. package/vue2/lib/{edge/css-5dcb14df.cjs → node/css-f88973d9.cjs} +1 -1
  135. package/vue2/lib/{edge/css-99493b5d.js → node/css-fc678131.js} +1 -1
  136. package/vue2/lib/{edge/enable-editor-81a0ad6d.js → node/enable-editor-7a3fcc5f.js} +25 -27
  137. package/vue2/lib/node/enable-editor-85e730f9.cjs +1 -0
  138. package/vue2/lib/node/{evaluate-44daeb3b.cjs → evaluate-10e29303.cjs} +1 -1
  139. package/vue2/lib/node/{evaluate-b86af327.js → evaluate-e38e24b8.js} +24 -23
  140. package/vue2/lib/node/functions/get-block-properties.d.ts +1 -1
  141. package/vue2/lib/node/functions/transform-block-properties.d.ts +5 -2
  142. package/vue2/lib/{browser/get-block-actions-6774e2de.js → node/get-block-actions-8c081856.js} +2 -2
  143. package/vue2/lib/node/{get-block-actions-0c98c4e4.cjs → get-block-actions-ac6479e1.cjs} +1 -1
  144. package/vue2/lib/{edge/get-block-properties-450803e5.js → node/get-block-properties-2a5dbda8.js} +10 -4
  145. package/vue2/lib/node/get-block-properties-81e3699e.cjs +1 -0
  146. package/vue2/lib/{edge/get-processed-block-1d7ecd6a.js → node/get-processed-block-ebacd599.js} +2 -2
  147. package/vue2/lib/node/{get-processed-block-34d0880b.cjs → get-processed-block-ebf5f46b.cjs} +1 -1
  148. package/vue2/lib/{browser/index-e56cba6d.cjs → node/index-d62c9232.cjs} +7 -7
  149. package/vue2/lib/node/{index-04eac5bd.js → index-ef12824d.js} +110 -103
  150. package/vue2/lib/node/index-helpers/blocks-exports.d.ts +12 -0
  151. package/vue2/lib/node/index.cjs +1 -1
  152. package/vue2/lib/node/index.js +1 -1
  153. package/vue2/lib/{browser/inlined-script-0fd7eea7.js → node/inlined-script-1cd578e5.js} +1 -1
  154. package/vue2/lib/node/{inlined-script-3d1617fb.cjs → inlined-script-88b1aa3e.cjs} +1 -1
  155. package/vue2/lib/{browser/inlined-styles-73447147.js → node/inlined-styles-1d3927dc.js} +1 -1
  156. package/vue2/lib/node/{inlined-styles-e70e3d2e.cjs → inlined-styles-91685244.cjs} +1 -1
  157. package/vue2/lib/{browser/interactive-element-772e6a3d.cjs → node/interactive-element-95a3909c.cjs} +1 -1
  158. package/vue2/lib/{edge/interactive-element-340237cb.js → node/interactive-element-97fabd2d.js} +5 -5
  159. package/vue2/lib/{edge/repeated-block-b32d9254.js → node/repeated-block-1bf29b19.js} +2 -2
  160. package/vue2/lib/{edge/repeated-block-d2b864a8.cjs → node/repeated-block-ef8d5bc1.cjs} +1 -1
  161. package/vue2/lib/node/style.css +1 -1
  162. package/vue2/lib/node/{styles-5a4adee9.js → styles-b6c2eccd.js} +2 -2
  163. package/vue2/lib/{edge/styles-8f4d5e0d.cjs → node/styles-c3cd7c3e.cjs} +2 -2
  164. package/vue2/lib/node/types/enforced-partials.d.ts +7 -2
  165. package/vue3/lib/{edge/block-wrapper.6ce0ef67.js → browser/block-wrapper.15e14a7d.js} +2 -2
  166. package/vue3/lib/{edge/block-wrapper.6a65a5d4.cjs → browser/block-wrapper.a7f5948e.cjs} +1 -1
  167. package/vue3/lib/browser/blocks/image/image.vue.d.ts +3 -3
  168. package/vue3/lib/{edge/component-ref.8741a80d.cjs → browser/component-ref.15d8ca5f.cjs} +1 -1
  169. package/vue3/lib/{edge/component-ref.6603a2a5.js → browser/component-ref.b4fe8508.js} +2 -2
  170. package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  171. package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  172. package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  173. package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +7 -7
  174. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +9 -0
  175. package/vue3/lib/browser/components/content/content.vue.d.ts +14 -0
  176. package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
  177. package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
  178. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  179. package/vue3/lib/browser/context/builder.context.d.ts +2 -0
  180. package/vue3/lib/browser/context/types.d.ts +2 -1
  181. package/vue3/lib/browser/functions/get-block-properties.d.ts +1 -1
  182. package/vue3/lib/browser/functions/transform-block-properties.d.ts +5 -2
  183. package/vue3/lib/browser/get-block-actions.1284f7f4.cjs +1 -0
  184. package/vue3/lib/{edge/get-block-actions.a147904d.js → browser/get-block-actions.25085dc6.js} +17 -11
  185. package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +18 -6
  186. package/vue3/lib/browser/{index.dfff88fe.js → index.c84b511e.js} +675 -634
  187. package/vue3/lib/browser/index.cjs +1 -1
  188. package/vue3/lib/browser/{index.8871e74f.cjs → index.e038c54d.cjs} +19 -19
  189. package/vue3/lib/browser/index.js +1 -1
  190. package/vue3/lib/{edge/repeated-block.3cdac290.js → browser/repeated-block.c501aed0.js} +2 -2
  191. package/vue3/lib/browser/{repeated-block.fecd4553.cjs → repeated-block.eb1f9edd.cjs} +1 -1
  192. package/vue3/lib/browser/style.css +1 -1
  193. package/vue3/lib/browser/types/enforced-partials.d.ts +7 -2
  194. package/vue3/lib/{browser/block-wrapper.352385b7.js → edge/block-wrapper.695c0554.js} +2 -2
  195. package/vue3/lib/{browser/block-wrapper.5e6d25d7.cjs → edge/block-wrapper.9cca9b7b.cjs} +1 -1
  196. package/vue3/lib/edge/blocks/image/image.vue.d.ts +3 -3
  197. package/vue3/lib/{browser/component-ref.5c2938c9.cjs → edge/component-ref.50f222f3.cjs} +1 -1
  198. package/vue3/lib/{browser/component-ref.bf30bc42.js → edge/component-ref.5be0ad03.js} +2 -2
  199. package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  200. package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  201. package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  202. package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +7 -7
  203. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +9 -0
  204. package/vue3/lib/edge/components/content/content.vue.d.ts +14 -0
  205. package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
  206. package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
  207. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  208. package/vue3/lib/edge/context/builder.context.d.ts +2 -0
  209. package/vue3/lib/edge/context/types.d.ts +2 -1
  210. package/vue3/lib/edge/functions/get-block-properties.d.ts +1 -1
  211. package/vue3/lib/edge/functions/transform-block-properties.d.ts +5 -2
  212. package/vue3/lib/edge/get-block-actions.1d0e09b6.cjs +1 -0
  213. package/vue3/lib/{browser/get-block-actions.6a86c1e3.js → edge/get-block-actions.f2e5b517.js} +17 -11
  214. package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +18 -6
  215. package/vue3/lib/edge/{index.7bae31e6.js → index.33299292.js} +846 -805
  216. package/vue3/lib/edge/{index.01b1f45a.cjs → index.99c2904d.cjs} +26 -26
  217. package/vue3/lib/edge/index.cjs +1 -1
  218. package/vue3/lib/edge/index.js +1 -1
  219. package/vue3/lib/{browser/repeated-block.16b97544.js → edge/repeated-block.14eebee4.js} +2 -2
  220. package/vue3/lib/edge/{repeated-block.7f5a9758.cjs → repeated-block.53e299ee.cjs} +1 -1
  221. package/vue3/lib/edge/style.css +1 -1
  222. package/vue3/lib/edge/types/enforced-partials.d.ts +7 -2
  223. package/vue3/lib/node/{block-wrapper.d4a48d58.cjs → block-wrapper.0a0c40cf.cjs} +1 -1
  224. package/vue3/lib/node/{block-wrapper.6198973e.js → block-wrapper.728d47ca.js} +2 -2
  225. package/vue3/lib/node/blocks/image/image.vue.d.ts +3 -3
  226. package/vue3/lib/node/{component-ref.d6bc01e4.cjs → component-ref.d5125dbe.cjs} +1 -1
  227. package/vue3/lib/node/{component-ref.a11780f4.js → component-ref.f9faaca2.js} +2 -2
  228. package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
  229. package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
  230. package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
  231. package/vue3/lib/node/components/blocks/blocks.vue.d.ts +7 -7
  232. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +9 -0
  233. package/vue3/lib/node/components/content/content.vue.d.ts +14 -0
  234. package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
  235. package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
  236. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  237. package/vue3/lib/node/context/builder.context.d.ts +2 -0
  238. package/vue3/lib/node/context/types.d.ts +2 -1
  239. package/vue3/lib/node/functions/get-block-properties.d.ts +1 -1
  240. package/vue3/lib/node/functions/transform-block-properties.d.ts +5 -2
  241. package/vue3/lib/node/get-block-actions.1079cc08.cjs +1 -0
  242. package/vue3/lib/node/{get-block-actions.a19931a2.js → get-block-actions.1b3dcb45.js} +17 -11
  243. package/vue3/lib/node/index-helpers/blocks-exports.d.ts +18 -6
  244. package/vue3/lib/node/{index.67294824.js → index.558533a1.js} +857 -810
  245. package/vue3/lib/node/index.6720f6e5.cjs +201 -0
  246. package/vue3/lib/node/index.cjs +1 -1
  247. package/vue3/lib/node/index.js +1 -1
  248. package/vue3/lib/node/{repeated-block.6106c352.js → repeated-block.38b9803d.js} +2 -2
  249. package/vue3/lib/node/{repeated-block.ab684d37.cjs → repeated-block.9d836783.cjs} +1 -1
  250. package/vue3/lib/node/style.css +1 -1
  251. package/vue3/lib/node/types/enforced-partials.d.ts +7 -2
  252. package/vue2/lib/browser/blocks-wrapper-02404286.cjs +0 -1
  253. package/vue2/lib/browser/blocks-wrapper-dc71efe8.js +0 -73
  254. package/vue2/lib/browser/enable-editor-c49316d4.cjs +0 -1
  255. package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
  256. package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
  257. package/vue2/lib/browser/get-block-properties-b25a78e1.cjs +0 -1
  258. package/vue2/lib/edge/blocks-wrapper-e329b941.js +0 -73
  259. package/vue2/lib/edge/blocks-wrapper-ed7f6801.cjs +0 -1
  260. package/vue2/lib/edge/enable-editor-31a92cf5.cjs +0 -1
  261. package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
  262. package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
  263. package/vue2/lib/edge/get-block-properties-a07f7705.cjs +0 -1
  264. package/vue2/lib/node/blocks-wrapper-2ebcec73.js +0 -73
  265. package/vue2/lib/node/blocks-wrapper-e32910ce.cjs +0 -1
  266. package/vue2/lib/node/enable-editor-cdf1803d.cjs +0 -1
  267. package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
  268. package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
  269. package/vue2/lib/node/get-block-properties-d46ce865.cjs +0 -1
  270. package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
  271. package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
  272. package/vue3/lib/browser/get-block-actions.f6ff7325.cjs +0 -1
  273. package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
  274. package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
  275. package/vue3/lib/edge/get-block-actions.a9e5c4f5.cjs +0 -1
  276. package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
  277. package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
  278. package/vue3/lib/node/get-block-actions.ecd370ea.cjs +0 -1
  279. package/vue3/lib/node/index.4291aa83.cjs +0 -201
@@ -1,20 +1,20 @@
1
1
  import "./style.css";
2
- import { defineComponent as b, openBlock as d, createElementBlock as u, mergeProps as w, toHandlers as j, toDisplayString as le, defineAsyncComponent as W, resolveComponent as y, Fragment as C, createBlock as k, createCommentVNode as f, renderList as A, withCtx as ne, createVNode as B, h as Se, renderSlot as P, createElementVNode as Q, normalizeStyle as X, normalizeClass as Ce, markRaw as Je } from "vue";
3
- function z(e = {}, t, n) {
2
+ import { defineComponent as b, openBlock as c, createElementBlock as p, mergeProps as w, toHandlers as N, toDisplayString as le, defineAsyncComponent as M, resolveComponent as k, Fragment as C, createBlock as y, createCommentVNode as f, renderList as B, withCtx as U, createVNode as W, h as Se, resolveDynamicComponent as Ce, renderSlot as x, createElementVNode as X, normalizeStyle as Z, normalizeClass as we, markRaw as Ye } from "vue";
3
+ function q(e = {}, t, n) {
4
4
  const o = {};
5
- for (const i in e) {
6
- if (!e[i] || n && !i.startsWith(t))
5
+ for (const r in e) {
6
+ if (!e[r] || n && !r.startsWith(t))
7
7
  continue;
8
- const r = n ? i.replace(t, "") : i;
9
- o[r] = e[i];
8
+ const s = n ? r.replace(t, "") : r;
9
+ o[s] = e[r];
10
10
  }
11
11
  return o;
12
12
  }
13
- const Ye = b({
13
+ const Qe = b({
14
14
  name: "builder-button",
15
15
  props: ["attributes", "text", "link", "openLinkInNewTab"],
16
16
  data() {
17
- return { filterAttrs: z };
17
+ return { filterAttrs: q };
18
18
  },
19
19
  methods: {
20
20
  _classStringToObject(e) {
@@ -30,23 +30,23 @@ const Ye = b({
30
30
  });
31
31
  const g = (e, t) => {
32
32
  const n = e.__vccOpts || e;
33
- for (const [o, i] of t)
34
- n[o] = i;
33
+ for (const [o, r] of t)
34
+ n[o] = r;
35
35
  return n;
36
- }, Qe = ["href", "target"];
37
- function Xe(e, t, n, o, i, r) {
38
- return e.link ? (d(), u("a", w({
36
+ }, Xe = ["href", "target"];
37
+ function Ze(e, t, n, o, r, s) {
38
+ return e.link ? (c(), p("a", w({
39
39
  key: 0,
40
40
  href: e.link,
41
41
  target: e.openLinkInNewTab ? "_blank" : void 0,
42
42
  role: "button"
43
- }, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17, Qe)) : (d(), u("button", w({
43
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17, Xe)) : (c(), p("button", w({
44
44
  key: 1,
45
45
  style: e.attributes.style,
46
46
  class: e._classStringToObject(e.attributes.class + " button-21azgz5avex")
47
- }, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17));
47
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17));
48
48
  }
49
- const Ze = /* @__PURE__ */ g(Ye, [["render", Xe], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), et = Symbol(), Z = {
49
+ const et = /* @__PURE__ */ g(Qe, [["render", Ze], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), tt = Symbol(), ee = {
50
50
  Builder: {
51
51
  content: null,
52
52
  context: {},
@@ -57,14 +57,16 @@ const Ze = /* @__PURE__ */ g(Ye, [["render", Xe], ["__scopeId", "data-v-becdf225
57
57
  apiKey: null,
58
58
  apiVersion: void 0,
59
59
  componentInfos: {},
60
- inheritedStyles: {}
60
+ inheritedStyles: {},
61
+ BlocksWrapper: "div",
62
+ BlocksWrapperProps: {}
61
63
  },
62
- key: et
63
- }, tt = Symbol(), we = {
64
- Components: { registeredComponents: {} },
65
64
  key: tt
65
+ }, nt = Symbol(), Ie = {
66
+ Components: { registeredComponents: {} },
67
+ key: nt
66
68
  };
67
- function nt(e) {
69
+ function ot(e) {
68
70
  var t;
69
71
  return {
70
72
  ...(t = e.component) == null ? void 0 : t.options,
@@ -72,44 +74,44 @@ function nt(e) {
72
74
  builderBlock: e
73
75
  };
74
76
  }
75
- const R = "vue3", ot = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), x = (e) => e != null, it = (e) => Object.entries(e).map(([n, o]) => {
77
+ const R = "vue3", rt = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), P = (e) => e != null, st = (e) => Object.entries(e).map(([n, o]) => {
76
78
  if (typeof o == "string")
77
- return `${ot(n)}: ${o};`;
78
- }).filter(x), rt = (e) => it(e).join(`
79
- `), J = ({
79
+ return `${rt(n)}: ${o};`;
80
+ }).filter(P), it = (e) => st(e).join(`
81
+ `), Y = ({
80
82
  mediaQuery: e,
81
83
  className: t,
82
84
  styles: n
83
85
  }) => {
84
86
  const o = `.${t} {
85
- ${rt(n)}
87
+ ${it(n)}
86
88
  }`;
87
89
  return e ? `${e} {
88
90
  ${o}
89
91
  }` : o;
90
- }, M = "[Builder.io]: ", $ = {
91
- log: (...e) => console.log(M, ...e),
92
- error: (...e) => console.error(M, ...e),
93
- warn: (...e) => console.warn(M, ...e),
94
- debug: (...e) => console.debug(M, ...e)
92
+ }, L = "[Builder.io]: ", $ = {
93
+ log: (...e) => console.log(L, ...e),
94
+ error: (...e) => console.error(L, ...e),
95
+ warn: (...e) => console.warn(L, ...e),
96
+ debug: (...e) => console.debug(L, ...e)
95
97
  };
96
98
  function v() {
97
99
  return typeof window < "u" && typeof document < "u";
98
100
  }
99
- function st() {
101
+ function at() {
100
102
  return v() && window.self !== window.top;
101
103
  }
102
104
  function T() {
103
- return st() && (R === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
105
+ return at() && (R === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
104
106
  }
105
- const at = () => {
107
+ const lt = () => {
106
108
  if (v()) {
107
109
  const e = new URL(location.href);
108
110
  return e.pathname === "" && (e.pathname = "/"), e;
109
111
  } else
110
112
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
111
- }, lt = () => typeof navigator == "object" && navigator.userAgent || "", Ie = () => {
112
- const e = lt(), t = {
113
+ }, ct = () => typeof navigator == "object" && navigator.userAgent || "", $e = () => {
114
+ const e = ct(), t = {
113
115
  Android() {
114
116
  return e.match(/Android/i);
115
117
  },
@@ -128,13 +130,13 @@ const at = () => {
128
130
  any() {
129
131
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
130
132
  }
131
- }, n = e.match(/Tablet|iPad/i), o = at();
133
+ }, n = e.match(/Tablet|iPad/i), o = lt();
132
134
  return {
133
135
  urlPath: o == null ? void 0 : o.pathname,
134
136
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
135
137
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
136
138
  };
137
- }, ct = ({
139
+ }, dt = ({
138
140
  builder: e,
139
141
  context: t,
140
142
  event: n,
@@ -145,69 +147,69 @@ const at = () => {
145
147
  builder: e,
146
148
  context: t,
147
149
  event: n
148
- }), dt = () => ({
150
+ }), ut = () => ({
149
151
  isEditing: T(),
150
152
  isBrowser: v(),
151
153
  isServer: !v(),
152
- getUserAttributes: () => Ie()
153
- }), ut = (e, {
154
+ getUserAttributes: () => $e()
155
+ }), pt = (e, {
154
156
  isExpression: t = !0
155
157
  }) => t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, ce = ({
156
158
  code: e,
157
159
  builder: t,
158
160
  context: n,
159
161
  event: o,
160
- localState: i,
161
- rootSetState: r,
162
- rootState: s
162
+ localState: r,
163
+ rootSetState: s,
164
+ rootState: i
163
165
  }) => {
164
- const a = ct({
166
+ const a = dt({
165
167
  builder: t,
166
168
  context: n,
167
169
  event: o,
168
- state: pt(s, i, r)
170
+ state: mt(i, r, s)
169
171
  });
170
172
  return new Function(...a.map(([l]) => l), e)(...a.map(([, l]) => l));
171
173
  };
172
- function pt(e, t, n) {
174
+ function mt(e, t, n) {
173
175
  if (e === t)
174
176
  throw new Error("rootState === localState");
175
177
  return new Proxy(e, {
176
- get: (o, i) => t && i in t ? t[i] : e[i],
177
- set: (o, i, r) => {
178
- if (t && i in t)
178
+ get: (o, r) => t && r in t ? t[r] : e[r],
179
+ set: (o, r, s) => {
180
+ if (t && r in t)
179
181
  throw new Error("Writing to local state is not allowed as it is read-only.");
180
- return e[i] = r, n == null || n(e), !0;
182
+ return e[r] = s, n == null || n(e), !0;
181
183
  }
182
184
  });
183
185
  }
184
- const mt = (e) => (v(), ce(e));
185
- function K({
186
+ const ht = (e) => (v(), ce(e));
187
+ function D({
186
188
  code: e,
187
189
  context: t,
188
190
  localState: n,
189
191
  rootState: o,
190
- rootSetState: i,
191
- event: r,
192
- isExpression: s = !0
192
+ rootSetState: r,
193
+ event: s,
194
+ isExpression: i = !0
193
195
  }) {
194
196
  if (e === "") {
195
197
  $.warn("Skipping evaluation of empty code block.");
196
198
  return;
197
199
  }
198
200
  const a = {
199
- code: ut(e, {
200
- isExpression: s
201
+ code: pt(e, {
202
+ isExpression: i
201
203
  }),
202
- builder: dt(),
204
+ builder: ut(),
203
205
  context: t,
204
- event: r,
205
- rootSetState: i,
206
+ event: s,
207
+ rootSetState: r,
206
208
  rootState: o,
207
209
  localState: n
208
210
  };
209
211
  try {
210
- return mt(a);
212
+ return ht(a);
211
213
  } catch (l) {
212
214
  $.error("Failed code evaluation: " + l.message, {
213
215
  code: e
@@ -215,82 +217,82 @@ function K({
215
217
  return;
216
218
  }
217
219
  }
218
- const F = (e) => JSON.parse(JSON.stringify(e)), ht = (e, t, n) => {
220
+ const F = (e) => JSON.parse(JSON.stringify(e)), ft = (e, t, n) => {
219
221
  if (Object(e) !== e)
220
222
  return e;
221
223
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
222
- return o.slice(0, -1).reduce((i, r, s) => Object(i[r]) === i[r] ? i[r] : i[r] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
224
+ return o.slice(0, -1).reduce((r, s, i) => Object(r[s]) === r[s] ? r[s] : r[s] = Math.abs(Number(o[i + 1])) >> 0 === +o[i + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
223
225
  };
224
- const ft = ({
226
+ const bt = ({
225
227
  block: e,
226
228
  context: t,
227
229
  localState: n,
228
230
  rootState: o,
229
- rootSetState: i
231
+ rootSetState: r
230
232
  }) => {
231
233
  if (!e.bindings)
232
234
  return e;
233
- const r = F(e), s = {
234
- ...r,
235
+ const s = F(e), i = {
236
+ ...s,
235
237
  properties: {
236
- ...r.properties
238
+ ...s.properties
237
239
  },
238
240
  actions: {
239
- ...r.actions
241
+ ...s.actions
240
242
  }
241
243
  };
242
244
  for (const a in e.bindings) {
243
- const l = e.bindings[a], c = K({
245
+ const l = e.bindings[a], d = D({
244
246
  code: l,
245
247
  localState: n,
246
248
  rootState: o,
247
- rootSetState: i,
249
+ rootSetState: r,
248
250
  context: t
249
251
  });
250
- ht(s, a, c);
252
+ ft(i, a, d);
251
253
  }
252
- return s;
254
+ return i;
253
255
  };
254
- function D({
256
+ function z({
255
257
  block: e,
256
258
  context: t,
257
259
  shouldEvaluateBindings: n,
258
260
  localState: o,
259
- rootState: i,
260
- rootSetState: r
261
+ rootState: r,
262
+ rootSetState: s
261
263
  }) {
262
- const s = e;
263
- return n ? ft({
264
- block: s,
264
+ const i = e;
265
+ return n ? bt({
266
+ block: i,
265
267
  localState: o,
266
- rootState: i,
267
- rootSetState: r,
268
+ rootState: r,
269
+ rootSetState: s,
268
270
  context: t
269
- }) : s;
271
+ }) : i;
270
272
  }
271
- const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], gt = (e) => typeof e == "string" && bt.includes(e.toLowerCase()), yt = ({
273
+ const gt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], kt = (e) => typeof e == "string" && gt.includes(e.toLowerCase()), yt = ({
272
274
  block: e,
273
275
  context: t,
274
276
  registeredComponents: n
275
277
  }) => {
276
- var r;
277
- const o = (r = D({
278
+ var s;
279
+ const o = (s = z({
278
280
  block: e,
279
281
  localState: t.localState,
280
282
  rootState: t.rootState,
281
283
  rootSetState: t.rootSetState,
282
284
  context: t.context,
283
285
  shouldEvaluateBindings: !1
284
- }).component) == null ? void 0 : r.name;
286
+ }).component) == null ? void 0 : s.name;
285
287
  if (!o)
286
288
  return null;
287
- const i = n[o];
288
- if (i)
289
- return i;
289
+ const r = n[o];
290
+ if (r)
291
+ return r;
290
292
  console.warn(`
291
293
  Could not find a registered component named "${o}".
292
294
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
293
- }, kt = ({
295
+ }, vt = ({
294
296
  block: e,
295
297
  context: t
296
298
  }) => {
@@ -300,60 +302,60 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
300
302
  } = e;
301
303
  if (!(n != null && n.collection))
302
304
  return;
303
- const i = K({
305
+ const r = D({
304
306
  code: n.collection,
305
307
  localState: t.localState,
306
308
  rootState: t.rootState,
307
309
  rootSetState: t.rootSetState,
308
310
  context: t.context
309
311
  });
310
- if (!Array.isArray(i))
312
+ if (!Array.isArray(r))
311
313
  return;
312
- const r = n.collection.split(".").pop(), s = n.itemName || (r ? r + "Item" : "item");
313
- return i.map((l, c) => ({
314
+ const s = n.collection.split(".").pop(), i = n.itemName || (s ? s + "Item" : "item");
315
+ return r.map((l, d) => ({
314
316
  context: {
315
317
  ...t,
316
318
  localState: {
317
319
  ...t.localState,
318
- $index: c,
320
+ $index: d,
319
321
  $item: l,
320
- [s]: l,
321
- [`$${s}Index`]: c
322
+ [i]: l,
323
+ [`$${i}Index`]: d
322
324
  }
323
325
  },
324
326
  block: o
325
327
  }));
326
- }, vt = () => Promise.resolve().then(() => Et).then((e) => e.default).catch((e) => {
328
+ }, St = () => Promise.resolve().then(() => xt).then((e) => e.default).catch((e) => {
327
329
  throw console.error(
328
330
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
329
331
  e
330
332
  ), e;
331
- }), St = () => import("./block-wrapper.352385b7.js").then((e) => e.default).catch((e) => {
333
+ }), Ct = () => import("./block-wrapper.15e14a7d.js").then((e) => e.default).catch((e) => {
332
334
  throw console.error(
333
335
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
334
336
  e
335
337
  ), e;
336
- }), Ct = () => import("./component-ref.bf30bc42.js").then((e) => e.default).catch((e) => {
338
+ }), wt = () => import("./component-ref.b4fe8508.js").then((e) => e.default).catch((e) => {
337
339
  throw console.error(
338
340
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
339
341
  e
340
342
  ), e;
341
- }), wt = () => import("./repeated-block.16b97544.js").then((e) => e.default).catch((e) => {
343
+ }), It = () => import("./repeated-block.c501aed0.js").then((e) => e.default).catch((e) => {
342
344
  throw console.error(
343
345
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
344
346
  e
345
347
  ), e;
346
- }), It = b({
348
+ }), $t = b({
347
349
  name: "block",
348
350
  components: {
349
- ComponentRef: W(Ct),
350
- BlockWrapper: W(St),
351
- RepeatedBlock: W(wt),
352
- BlockStyles: W(vt)
351
+ ComponentRef: M(wt),
352
+ BlockWrapper: M(Ct),
353
+ RepeatedBlock: M(It),
354
+ BlockStyles: M(St)
353
355
  },
354
356
  props: ["block", "context", "registeredComponents"],
355
357
  data() {
356
- return { childrenContext: this.context, isEmptyHtmlElement: gt };
358
+ return { childrenContext: this.context, isEmptyHtmlElement: kt };
357
359
  },
358
360
  computed: {
359
361
  blockComponent() {
@@ -364,14 +366,14 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
364
366
  });
365
367
  },
366
368
  repeatItem() {
367
- return kt({
369
+ return vt({
368
370
  block: this.block,
369
371
  context: this.context
370
372
  });
371
373
  },
372
374
  processedBlock() {
373
375
  var e;
374
- return (e = this.block.repeat) != null && e.collection ? this.block : D({
376
+ return (e = this.block.repeat) != null && e.collection ? this.block : z({
375
377
  block: this.block,
376
378
  localState: this.context.localState,
377
379
  rootState: this.context.rootState,
@@ -395,12 +397,12 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
395
397
  return !((t = this.blockComponent) != null && t.component) && !this.repeatItem ? (n = this.processedBlock.children) != null ? n : [] : [];
396
398
  },
397
399
  componentRefProps() {
398
- var e, t, n, o, i, r;
400
+ var e, t, n, o, r, s;
399
401
  return {
400
402
  blockChildren: (e = this.processedBlock.children) != null ? e : [],
401
403
  componentRef: (t = this.blockComponent) == null ? void 0 : t.component,
402
404
  componentOptions: {
403
- ...nt(this.processedBlock),
405
+ ...ot(this.processedBlock),
404
406
  builderContext: this.context,
405
407
  ...((n = this.blockComponent) == null ? void 0 : n.name) === "Symbol" || ((o = this.blockComponent) == null ? void 0 : o.name) === "Columns" ? {
406
408
  builderComponents: this.registeredComponents
@@ -409,17 +411,17 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
409
411
  context: this.childrenContext,
410
412
  registeredComponents: this.registeredComponents,
411
413
  builderBlock: this.processedBlock,
412
- includeBlockProps: ((i = this.blockComponent) == null ? void 0 : i.noWrap) === !0,
413
- isInteractive: !((r = this.blockComponent) != null && r.isRSC)
414
+ includeBlockProps: ((r = this.blockComponent) == null ? void 0 : r.noWrap) === !0,
415
+ isInteractive: !((s = this.blockComponent) != null && s.isRSC)
414
416
  };
415
417
  }
416
418
  }
417
419
  });
418
- function $t(e, t, n, o, i, r) {
419
- var h;
420
- const s = y("block-wrapper"), a = y("repeated-block"), l = y("component-ref"), c = y("block", !0), p = y("block-styles");
421
- return e.canShowBlock ? (d(), u(C, { key: 0 }, [
422
- (h = e.blockComponent) != null && h.noWrap ? (d(), k(l, {
420
+ function Rt(e, t, n, o, r, s) {
421
+ var m;
422
+ const i = k("block-wrapper"), a = k("repeated-block"), l = k("component-ref"), d = k("block", !0), u = k("block-styles");
423
+ return e.canShowBlock ? (c(), p(C, { key: 0 }, [
424
+ (m = e.blockComponent) != null && m.noWrap ? (c(), y(l, {
423
425
  key: 1,
424
426
  componentRef: e.componentRefProps.componentRef,
425
427
  componentOptions: e.componentRefProps.componentOptions,
@@ -429,29 +431,29 @@ function $t(e, t, n, o, i, r) {
429
431
  builderBlock: e.componentRefProps.builderBlock,
430
432
  includeBlockProps: e.componentRefProps.includeBlockProps,
431
433
  isInteractive: e.componentRefProps.isInteractive
432
- }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (d(), u(C, { key: 0 }, [
433
- e.isEmptyHtmlElement(e.Tag) ? (d(), k(s, {
434
+ }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (c(), p(C, { key: 0 }, [
435
+ e.isEmptyHtmlElement(e.Tag) ? (c(), y(i, {
434
436
  key: 0,
435
437
  Wrapper: e.Tag,
436
438
  block: e.processedBlock,
437
439
  context: e.context,
438
440
  hasChildren: !1
439
441
  }, null, 8, ["Wrapper", "block", "context"])) : f("v-if", !0),
440
- !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), u(C, { key: 1 }, A(e.repeatItem, (m, S) => (d(), k(a, {
442
+ !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (c(!0), p(C, { key: 1 }, B(e.repeatItem, (h, S) => (c(), y(a, {
441
443
  key: S,
442
- repeatContext: m.context,
443
- block: m.block,
444
+ repeatContext: h.context,
445
+ block: h.block,
444
446
  registeredComponents: e.registeredComponents
445
447
  }, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : f("v-if", !0),
446
- !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), k(s, {
448
+ !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (c(), y(i, {
447
449
  key: 2,
448
450
  Wrapper: e.Tag,
449
451
  block: e.processedBlock,
450
452
  context: e.context,
451
453
  hasChildren: !0
452
454
  }, {
453
- default: ne(() => [
454
- B(l, {
455
+ default: U(() => [
456
+ W(l, {
455
457
  componentRef: e.componentRefProps.componentRef,
456
458
  componentOptions: e.componentRefProps.componentOptions,
457
459
  blockChildren: e.componentRefProps.blockChildren,
@@ -461,15 +463,15 @@ function $t(e, t, n, o, i, r) {
461
463
  includeBlockProps: e.componentRefProps.includeBlockProps,
462
464
  isInteractive: e.componentRefProps.isInteractive
463
465
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"]),
464
- (d(!0), u(C, null, A(e.childrenWithoutParentComponent, (m, S) => (d(), k(c, {
465
- key: "block-" + m.id,
466
- block: m,
466
+ (c(!0), p(C, null, B(e.childrenWithoutParentComponent, (h, S) => (c(), y(d, {
467
+ key: "block-" + h.id,
468
+ block: h,
467
469
  context: e.childrenContext,
468
470
  registeredComponents: e.registeredComponents
469
471
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)),
470
- (d(!0), u(C, null, A(e.childrenWithoutParentComponent, (m, S) => (d(), k(p, {
471
- key: "block-style-" + m.id,
472
- block: m,
472
+ (c(!0), p(C, null, B(e.childrenWithoutParentComponent, (h, S) => (c(), y(u, {
473
+ key: "block-style-" + h.id,
474
+ block: h,
473
475
  context: e.childrenContext
474
476
  }, null, 8, ["block", "context"]))), 128))
475
477
  ]),
@@ -478,10 +480,10 @@ function $t(e, t, n, o, i, r) {
478
480
  ], 64))
479
481
  ], 64)) : f("v-if", !0);
480
482
  }
481
- const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
483
+ const Re = /* @__PURE__ */ g($t, [["render", Rt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
484
  __proto__: null,
483
- default: $e
484
- }, Symbol.toStringTag, { value: "Module" })), Re = {
485
+ default: Re
486
+ }, Symbol.toStringTag, { value: "Module" })), Te = {
485
487
  small: {
486
488
  min: 320,
487
489
  default: 321,
@@ -497,11 +499,11 @@ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/
497
499
  default: 991,
498
500
  max: 1200
499
501
  }
500
- }, de = (e, t = Re) => `@media (max-width: ${t[e].max}px)`, Te = ({
502
+ }, de = (e, t = Te) => `@media (max-width: ${t[e].max}px)`, Pe = ({
501
503
  small: e,
502
504
  medium: t
503
505
  }) => {
504
- const n = F(Re);
506
+ const n = F(Te);
505
507
  if (!e || !t)
506
508
  return n;
507
509
  const o = Math.floor(e / 2);
@@ -510,34 +512,34 @@ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/
510
512
  min: o,
511
513
  default: o + 1
512
514
  };
513
- const i = n.small.max + 1;
515
+ const r = n.small.max + 1;
514
516
  n.medium = {
515
517
  max: t,
516
- min: i,
517
- default: i + 1
518
+ min: r,
519
+ default: r + 1
518
520
  };
519
- const r = n.medium.max + 1;
521
+ const s = n.medium.max + 1;
520
522
  return n.large = {
521
523
  max: 2e3,
522
- min: r,
523
- default: r + 1
524
+ min: s,
525
+ default: s + 1
524
526
  }, n;
525
- }, Rt = b({
527
+ }, Tt = b({
526
528
  render() {
527
529
  return Se("style", { id: this.id, innerHTML: this.styles });
528
530
  },
529
531
  name: "inlined-styles",
530
532
  props: ["styles", "id"]
531
- }), q = /* @__PURE__ */ g(Rt, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), Tt = b({
533
+ }), G = /* @__PURE__ */ g(Tt, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), Pt = b({
532
534
  name: "block-styles",
533
- components: { InlinedStyles: q },
535
+ components: { InlinedStyles: G },
534
536
  props: ["block", "context"],
535
537
  data() {
536
538
  return { TARGET: R };
537
539
  },
538
540
  computed: {
539
541
  canShowBlock() {
540
- const e = D({
542
+ const e = z({
541
543
  block: this.block,
542
544
  localState: this.context.localState,
543
545
  rootState: this.context.rootState,
@@ -545,57 +547,64 @@ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/
545
547
  context: this.context.context,
546
548
  shouldEvaluateBindings: !0
547
549
  });
548
- return x(e.hide) ? !e.hide : x(e.show) ? e.show : !0;
550
+ return P(e.hide) ? !e.hide : P(e.show) ? e.show : !0;
549
551
  },
550
552
  css() {
551
- var h;
552
- const e = D({
553
+ var m;
554
+ const e = z({
553
555
  block: this.block,
554
556
  localState: this.context.localState,
555
557
  rootState: this.context.rootState,
556
558
  rootSetState: this.context.rootSetState,
557
559
  context: this.context.context,
558
560
  shouldEvaluateBindings: !0
559
- }), t = e.responsiveStyles, n = this.context.content, o = Te(
560
- ((h = n == null ? void 0 : n.meta) == null ? void 0 : h.breakpoints) || {}
561
- ), i = t == null ? void 0 : t.large, r = t == null ? void 0 : t.medium, s = t == null ? void 0 : t.small, a = e.id;
561
+ }), t = e.responsiveStyles, n = this.context.content, o = Pe(
562
+ ((m = n == null ? void 0 : n.meta) == null ? void 0 : m.breakpoints) || {}
563
+ ), r = t == null ? void 0 : t.large, s = t == null ? void 0 : t.medium, i = t == null ? void 0 : t.small, a = e.id;
562
564
  if (!a)
563
565
  return "";
564
- const l = i ? J({
566
+ const l = r ? Y({
565
567
  className: a,
566
- styles: i
567
- }) : "", c = r ? J({
568
+ styles: r
569
+ }) : "", d = s ? Y({
568
570
  className: a,
569
- styles: r,
571
+ styles: s,
570
572
  mediaQuery: de(
571
573
  "medium",
572
574
  o
573
575
  )
574
- }) : "", p = s ? J({
576
+ }) : "", u = i ? Y({
575
577
  className: a,
576
- styles: s,
578
+ styles: i,
577
579
  mediaQuery: de(
578
580
  "small",
579
581
  o
580
582
  )
581
583
  }) : "";
582
- return [l, c, p].join(" ");
584
+ return [l, d, u].join(" ");
583
585
  }
584
586
  }
585
587
  });
586
- function xt(e, t, n, o, i, r) {
587
- const s = y("inlined-styles");
588
- return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), k(s, {
588
+ function Et(e, t, n, o, r, s) {
589
+ const i = k("inlined-styles");
590
+ return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (c(), y(i, {
589
591
  key: 0,
590
592
  styles: e.css
591
593
  }, null, 8, ["styles"])) : f("v-if", !0);
592
594
  }
593
- const xe = /* @__PURE__ */ g(Tt, [["render", xt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
595
+ const Ee = /* @__PURE__ */ g(Pt, [["render", Et], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
594
596
  __proto__: null,
595
- default: xe
596
- }, Symbol.toStringTag, { value: "Module" })), Pt = b({
597
+ default: Ee
598
+ }, Symbol.toStringTag, { value: "Module" })), Bt = b({
597
599
  name: "builder-blocks-wrapper",
598
- props: ["blocks", "parent", "path", "styleProp"],
600
+ props: [
601
+ "BlocksWrapper",
602
+ "blocks",
603
+ "parent",
604
+ "path",
605
+ "styleProp",
606
+ "BlocksWrapperProps"
607
+ ],
599
608
  computed: {
600
609
  className() {
601
610
  var e;
@@ -640,26 +649,28 @@ const xe = /* @__PURE__ */ g(Tt, [["render", xt], ["__file", "/home/runner/work/
640
649
  }
641
650
  }
642
651
  });
643
- const At = ["builder-path", "builder-parent-id"];
644
- function Bt(e, t, n, o, i, r) {
645
- return d(), u("div", w({
646
- class: e._classStringToObject(e.className + " div-178o76acnws"),
652
+ function Wt(e, t, n, o, r, s) {
653
+ return c(), y(Ce(e.BlocksWrapper), w({
654
+ class: e._classStringToObject(e.className + " component-178o76acnws"),
647
655
  "builder-path": e.path,
648
656
  "builder-parent-id": e.parent,
649
657
  style: e.styleProp,
650
- onClick: t[0] || (t[0] = (s) => e.onClick()),
651
- onMouseenter: t[1] || (t[1] = (s) => e.onMouseEnter()),
652
- onKeypress: t[2] || (t[2] = (s) => e.onClick())
653
- }, {}), [
654
- P(e.$slots, "default", {}, void 0, !0)
655
- ], 16, At);
658
+ onClick: (i) => e.onClick(),
659
+ onMouseEnter: (i) => e.onMouseEnter(),
660
+ onKeyPress: (i) => e.onClick()
661
+ }, { ...e.BlocksWrapperProps }), {
662
+ default: U(() => [
663
+ x(e.$slots, "default", {}, void 0, !0)
664
+ ]),
665
+ _: 3
666
+ }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
656
667
  }
657
- const Vt = /* @__PURE__ */ g(Pt, [["render", Bt], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), _t = b({
668
+ const At = /* @__PURE__ */ g(Bt, [["render", Wt], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), Vt = b({
658
669
  name: "builder-blocks",
659
670
  components: {
660
- BlocksWrapper: Vt,
661
- Block: $e,
662
- BlockStyles: xe
671
+ BlocksWrapper: At,
672
+ Block: Re,
673
+ BlockStyles: Ee
663
674
  },
664
675
  props: [
665
676
  "blocks",
@@ -670,37 +681,40 @@ const Vt = /* @__PURE__ */ g(Pt, [["render", Bt], ["__scopeId", "data-v-1f8aab9f
670
681
  "registeredComponents"
671
682
  ],
672
683
  inject: {
673
- builderContext: Z.key,
674
- componentsContext: we.key
684
+ builderContext: ee.key,
685
+ componentsContext: Ie.key
675
686
  }
676
687
  });
677
- function Ot(e, t, n, o, i, r) {
678
- const s = y("block"), a = y("block-styles"), l = y("blocks-wrapper");
679
- return d(), k(l, {
688
+ function _t(e, t, n, o, r, s) {
689
+ var d, u;
690
+ const i = k("block"), a = k("block-styles"), l = k("blocks-wrapper");
691
+ return c(), y(l, {
680
692
  blocks: e.blocks,
681
693
  parent: e.parent,
682
694
  path: e.path,
683
- styleProp: e.styleProp
695
+ styleProp: e.styleProp,
696
+ BlocksWrapper: (d = e.context) == null ? void 0 : d.BlocksWrapper,
697
+ BlocksWrapperProps: (u = e.context) == null ? void 0 : u.BlocksWrapperProps
684
698
  }, {
685
- default: ne(() => [
686
- e.blocks ? (d(!0), u(C, { key: 0 }, A(e.blocks, (c, p) => (d(), k(s, {
687
- key: "render-block-" + c.id,
688
- block: c,
699
+ default: U(() => [
700
+ e.blocks ? (c(!0), p(C, { key: 0 }, B(e.blocks, (m, h) => (c(), y(i, {
701
+ key: "render-block-" + m.id,
702
+ block: m,
689
703
  context: e.context || e.builderContext,
690
704
  registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
691
705
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)) : f("v-if", !0),
692
- e.blocks ? (d(!0), u(C, { key: 1 }, A(e.blocks, (c, p) => (d(), k(a, {
693
- key: "block-style-" + c.id,
694
- block: c,
706
+ e.blocks ? (c(!0), p(C, { key: 1 }, B(e.blocks, (m, h) => (c(), y(a, {
707
+ key: "block-style-" + m.id,
708
+ block: m,
695
709
  context: e.context || e.builderContext
696
710
  }, null, 8, ["block", "context"]))), 128)) : f("v-if", !0)
697
711
  ]),
698
712
  _: 1
699
- }, 8, ["blocks", "parent", "path", "styleProp"]);
713
+ }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
700
714
  }
701
- const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), Nt = b({
715
+ const oe = /* @__PURE__ */ g(Vt, [["render", _t], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), Ot = b({
702
716
  name: "builder-columns",
703
- components: { InlinedStyles: q, Blocks: oe },
717
+ components: { InlinedStyles: G, Blocks: oe },
704
718
  props: [
705
719
  "js",
706
720
  "space",
@@ -780,31 +794,31 @@ const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/
780
794
  return this.stackAt === "never" ? t : e;
781
795
  },
782
796
  columnCssVars(e) {
783
- const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, i = "100%", r = 0;
797
+ const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, r = "100%", s = 0;
784
798
  return {
785
799
  width: n,
786
800
  ["margin-left"]: o,
787
801
  "--column-width-mobile": this.getMobileStyle({
788
- stackedStyle: i,
802
+ stackedStyle: r,
789
803
  desktopStyle: n
790
804
  }),
791
805
  "--column-margin-left-mobile": this.getMobileStyle({
792
- stackedStyle: r,
806
+ stackedStyle: s,
793
807
  desktopStyle: o
794
808
  }),
795
809
  "--column-width-tablet": this.getTabletStyle({
796
- stackedStyle: i,
810
+ stackedStyle: r,
797
811
  desktopStyle: n
798
812
  }),
799
813
  "--column-margin-left-tablet": this.getTabletStyle({
800
- stackedStyle: r,
814
+ stackedStyle: s,
801
815
  desktopStyle: o
802
816
  })
803
817
  };
804
818
  },
805
819
  getWidthForBreakpointSize(e) {
806
820
  var n, o;
807
- return Te(
821
+ return Pe(
808
822
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
809
823
  )[e].max;
810
824
  },
@@ -819,25 +833,25 @@ const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/
819
833
  }
820
834
  }
821
835
  });
822
- function jt(e, t, n, o, i, r) {
823
- const s = y("inlined-styles"), a = y("blocks");
824
- return d(), u("div", w({
836
+ function Nt(e, t, n, o, r, s) {
837
+ const i = k("inlined-styles"), a = k("blocks");
838
+ return c(), p("div", w({
825
839
  class: e._classStringToObject(
826
840
  `builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`
827
841
  ),
828
842
  style: e.columnsCssVars
829
843
  }, {}), [
830
- e.TARGET !== "reactNative" ? (d(), k(s, {
844
+ e.TARGET !== "reactNative" ? (c(), y(i, {
831
845
  key: 0,
832
846
  styles: e.columnsStyles
833
847
  }, null, 8, ["styles"])) : f("v-if", !0),
834
- (d(!0), u(C, null, A(e.columns, (l, c) => (d(), u("div", w({
835
- key: c,
848
+ (c(!0), p(C, null, B(e.columns, (l, d) => (c(), p("div", w({
849
+ key: d,
836
850
  class: "builder-column div-16nol0lwi20-2",
837
- style: e.columnCssVars(c)
851
+ style: e.columnCssVars(d)
838
852
  }, {}), [
839
- B(a, {
840
- path: `component.options.columns.${c}.blocks`,
853
+ W(a, {
854
+ path: `component.options.columns.${d}.blocks`,
841
855
  parent: e.builderBlock.id,
842
856
  styleProp: {
843
857
  flexGrow: "1"
@@ -849,22 +863,22 @@ function jt(e, t, n, o, i, r) {
849
863
  ], 16))), 128))
850
864
  ], 16);
851
865
  }
852
- const Ut = /* @__PURE__ */ g(Nt, [["render", jt], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Ft = b({
866
+ const jt = /* @__PURE__ */ g(Ot, [["render", Nt], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Ut = b({
853
867
  name: "builder-fragment-component",
854
868
  props: []
855
869
  });
856
- function Wt(e, t, n, o, i, r) {
857
- return d(), u("span", null, [
858
- P(e.$slots, "default")
870
+ function Ft(e, t, n, o, r, s) {
871
+ return c(), p("span", null, [
872
+ x(e.$slots, "default")
859
873
  ]);
860
874
  }
861
- const Mt = /* @__PURE__ */ g(Ft, [["render", Wt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
875
+ const Mt = /* @__PURE__ */ g(Ut, [["render", Ft], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
862
876
  function ue(e) {
863
877
  return e.replace(/http(s)?:/, "");
864
878
  }
865
879
  function Lt(e = "", t, n) {
866
- const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
867
- return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + i + t + "=" + encodeURIComponent(n);
880
+ const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
881
+ return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
868
882
  }
869
883
  function Ht(e, t) {
870
884
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
@@ -873,19 +887,19 @@ function Ht(e, t) {
873
887
  return ue(e);
874
888
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
875
889
  if (n) {
876
- const o = e.split(n[0]), i = n[3], r = t.match("x") ? t : `${t}x`;
877
- return ue(`${o[0]}_${r}${i}`);
890
+ const o = e.split(n[0]), r = n[3], s = t.match("x") ? t : `${t}x`;
891
+ return ue(`${o[0]}_${s}${r}`);
878
892
  }
879
893
  return null;
880
894
  }
881
- function Y(e) {
895
+ function Q(e) {
882
896
  if (!e)
883
897
  return e;
884
898
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
885
899
  if (e.match(/builder\.io/)) {
886
900
  let n = e;
887
901
  const o = Number(e.split("?width=")[1]);
888
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((i) => i !== o).map((i) => `${Lt(e, "width", i)} ${i}w`).concat([n]).join(", ");
902
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Lt(e, "width", r)} ${r}w`).concat([n]).join(", ");
889
903
  }
890
904
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ht(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
891
905
  }
@@ -913,10 +927,10 @@ const Kt = b({
913
927
  return this.srcset;
914
928
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
915
929
  if (!this.srcset.includes(this.image.split("?")[0]))
916
- return console.debug("Removed given srcset"), Y(t);
930
+ return console.debug("Removed given srcset"), Q(t);
917
931
  } else if (this.image && !this.srcset)
918
- return Y(t);
919
- return Y(t);
932
+ return Q(t);
933
+ return Q(t);
920
934
  },
921
935
  webpSrcSet() {
922
936
  var e;
@@ -949,25 +963,25 @@ const Dt = ["srcset"], zt = ["alt", "role", "src", "srcset", "sizes"], qt = {
949
963
  key: 2,
950
964
  class: "div-1be3j8m9ewb-2"
951
965
  };
952
- function Gt(e, t, n, o, i, r) {
953
- var s, a, l, c;
954
- return d(), u(C, null, [
955
- Q("picture", null, [
956
- e.webpSrcSet ? (d(), u("source", {
966
+ function Gt(e, t, n, o, r, s) {
967
+ var i, a, l, d;
968
+ return c(), p(C, null, [
969
+ X("picture", null, [
970
+ e.webpSrcSet ? (c(), p("source", {
957
971
  key: 0,
958
972
  type: "image/webp",
959
973
  srcset: e.webpSrcSet
960
974
  }, null, 8, Dt)) : f("v-if", !0),
961
- Q("img", {
975
+ X("img", {
962
976
  loading: "lazy",
963
977
  alt: e.altText,
964
978
  role: e.altText ? "presentation" : void 0,
965
- style: X({
979
+ style: Z({
966
980
  objectPosition: e.backgroundPosition || "center",
967
981
  objectFit: e.backgroundSize || "cover",
968
982
  ...e.aspectRatioCss
969
983
  }),
970
- class: Ce(
984
+ class: we(
971
985
  e._classStringToObject(
972
986
  "builder-image" + (e.className ? " " + e.className : "") + " img-1be3j8m9ewb"
973
987
  )
@@ -977,16 +991,16 @@ function Gt(e, t, n, o, i, r) {
977
991
  sizes: e.sizes
978
992
  }, null, 14, zt)
979
993
  ]),
980
- e.aspectRatio && !(((a = (s = e.builderBlock) == null ? void 0 : s.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), u("div", {
994
+ e.aspectRatio && !(((a = (i = e.builderBlock) == null ? void 0 : i.children) == null ? void 0 : a.length) && e.fitContent) ? (c(), p("div", {
981
995
  key: 0,
982
996
  class: "builder-image-sizer div-1be3j8m9ewb",
983
- style: X({
997
+ style: Z({
984
998
  paddingTop: e.aspectRatio * 100 + "%"
985
999
  })
986
1000
  }, null, 4)) : f("v-if", !0),
987
- ((c = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : c.length) && e.fitContent ? P(e.$slots, "default", { key: 1 }, void 0, !0) : f("v-if", !0),
988
- !e.fitContent && e.$slots.default ? (d(), u("div", qt, [
989
- P(e.$slots, "default", {}, void 0, !0)
1001
+ ((d = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : d.length) && e.fitContent ? x(e.$slots, "default", { key: 1 }, void 0, !0) : f("v-if", !0),
1002
+ !e.fitContent && e.$slots.default ? (c(), p("div", qt, [
1003
+ x(e.$slots, "default", {}, void 0, !0)
990
1004
  ])) : f("v-if", !0)
991
1005
  ], 64);
992
1006
  }
@@ -994,11 +1008,11 @@ const Jt = /* @__PURE__ */ g(Kt, [["render", Gt], ["__scopeId", "data-v-58ca75d1
994
1008
  name: "builder-section-component",
995
1009
  props: ["attributes", "maxWidth"],
996
1010
  data() {
997
- return { filterAttrs: z };
1011
+ return { filterAttrs: q };
998
1012
  }
999
1013
  });
1000
- function Qt(e, t, n, o, i, r) {
1001
- return d(), u("section", w({
1014
+ function Qt(e, t, n, o, r, s) {
1015
+ return c(), p("section", w({
1002
1016
  style: {
1003
1017
  width: "100%",
1004
1018
  alignSelf: "stretch",
@@ -1011,8 +1025,8 @@ function Qt(e, t, n, o, i, r) {
1011
1025
  marginLeft: "auto",
1012
1026
  marginRight: "auto"
1013
1027
  }
1014
- }, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1015
- P(e.$slots, "default")
1028
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1029
+ x(e.$slots, "default")
1016
1030
  ], 16);
1017
1031
  }
1018
1032
  const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/section/section.vue"]]), Zt = (e) => {
@@ -1020,7 +1034,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1020
1034
  return e;
1021
1035
  const t = e.split(".");
1022
1036
  return t.length > 2 ? t.slice(1).join(".") : e;
1023
- }, Ee = ({
1037
+ }, xe = ({
1024
1038
  name: e,
1025
1039
  canTrack: t
1026
1040
  }) => {
@@ -1031,14 +1045,14 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1031
1045
  $.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1032
1046
  return;
1033
1047
  }
1034
- }, Pe = async (e) => Ee(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(x).join("; "), tn = [["secure", ""], ["SameSite", "None"]], nn = ({
1048
+ }, Be = async (e) => xe(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(P).join("; "), tn = [["secure", ""], ["SameSite", "None"]], nn = ({
1035
1049
  name: e,
1036
1050
  value: t,
1037
1051
  expires: n
1038
1052
  }) => {
1039
- const i = (v() ? location.protocol === "https:" : !0) ? tn : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...r, ["path", "/"], ["domain", Zt(window.location.hostname)], ...i];
1040
- return en(s);
1041
- }, Ae = async ({
1053
+ const r = (v() ? location.protocol === "https:" : !0) ? tn : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", Zt(window.location.hostname)], ...r];
1054
+ return en(i);
1055
+ }, We = async ({
1042
1056
  name: e,
1043
1057
  value: t,
1044
1058
  expires: n,
@@ -1047,43 +1061,43 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1047
1061
  try {
1048
1062
  if (!o)
1049
1063
  return;
1050
- const i = nn({
1064
+ const r = nn({
1051
1065
  name: e,
1052
1066
  value: t,
1053
1067
  expires: n
1054
1068
  });
1055
- document.cookie = i;
1056
- } catch (i) {
1057
- $.warn("[COOKIE] SET error: ", (i == null ? void 0 : i.message) || i);
1069
+ document.cookie = r;
1070
+ } catch (r) {
1071
+ $.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
1058
1072
  }
1059
- }, on = "builder.tests", ie = (e) => `${on}.${e}`, rn = ({
1073
+ }, on = "builder.tests", re = (e) => `${on}.${e}`, rn = ({
1060
1074
  contentId: e
1061
- }) => Pe({
1062
- name: ie(e),
1075
+ }) => Be({
1076
+ name: re(e),
1063
1077
  canTrack: !0
1064
1078
  }), sn = ({
1065
1079
  contentId: e
1066
- }) => Ee({
1067
- name: ie(e),
1080
+ }) => xe({
1081
+ name: re(e),
1068
1082
  canTrack: !0
1069
1083
  }), an = ({
1070
1084
  contentId: e,
1071
1085
  value: t
1072
- }) => Ae({
1073
- name: ie(e),
1086
+ }) => We({
1087
+ name: re(e),
1074
1088
  value: t,
1075
1089
  canTrack: !0
1076
- }), Be = (e) => x(e.id) && x(e.variations) && Object.keys(e.variations).length > 0, ln = ({
1090
+ }), Ae = (e) => P(e.id) && P(e.variations) && Object.keys(e.variations).length > 0, ln = ({
1077
1091
  id: e,
1078
1092
  variations: t
1079
1093
  }) => {
1080
- var i;
1094
+ var r;
1081
1095
  let n = 0;
1082
1096
  const o = Math.random();
1083
- for (const r in t) {
1084
- const s = (i = t[r]) == null ? void 0 : i.testRatio;
1085
- if (n += s, o < n)
1086
- return r;
1097
+ for (const s in t) {
1098
+ const i = (r = t[s]) == null ? void 0 : r.testRatio;
1099
+ if (n += i, o < n)
1100
+ return s;
1087
1101
  }
1088
1102
  return e;
1089
1103
  }, Ve = (e) => {
@@ -1115,7 +1129,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1115
1129
  return e;
1116
1130
  if (!e)
1117
1131
  return;
1118
- if (!Be(e))
1132
+ if (!Ae(e))
1119
1133
  return e;
1120
1134
  const n = sn({
1121
1135
  contentId: e.id
@@ -1134,22 +1148,22 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1134
1148
  item: e,
1135
1149
  canTrack: t
1136
1150
  }) => {
1137
- if (!t || !Be(e))
1151
+ if (!t || !Ae(e))
1138
1152
  return e;
1139
1153
  const o = await rn({
1140
1154
  contentId: e.id
1141
1155
  }) || Ve({
1142
1156
  variations: e.variations,
1143
1157
  id: e.id
1144
- }), i = _e({
1158
+ }), r = _e({
1145
1159
  item: e,
1146
1160
  testGroupId: o
1147
1161
  });
1148
1162
  return {
1149
1163
  ...e,
1150
- ...i
1164
+ ...r
1151
1165
  };
1152
- }, U = (e) => x(e) ? e : !0, un = {
1166
+ }, j = (e) => P(e) ? e : !0, un = {
1153
1167
  name: "Core:Button",
1154
1168
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1155
1169
  defaultStyles: {
@@ -1359,7 +1373,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1359
1373
  });
1360
1374
  }
1361
1375
  const n = e.get("columns");
1362
- Array.isArray(n) && !!n.find((i) => i.get("width")) && (!!n.find((r) => !r.get("width")) || n.reduce((a, l) => a + l.get("width"), 0) !== 100) && t();
1376
+ Array.isArray(n) && !!n.find((r) => r.get("width")) && (!!n.find((s) => !s.get("width")) || n.reduce((a, l) => a + l.get("width"), 0) !== 100) && t();
1363
1377
  }
1364
1378
  }, {
1365
1379
  name: "space",
@@ -1420,8 +1434,8 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1420
1434
  if (this.scriptsInserted.includes(o.src))
1421
1435
  continue;
1422
1436
  this.scriptsInserted.push(o.src);
1423
- const i = document.createElement("script");
1424
- i.async = !0, i.src = o.src, document.head.appendChild(i);
1437
+ const r = document.createElement("script");
1438
+ r.async = !0, r.src = o.src, document.head.appendChild(r);
1425
1439
  } else if (!o.type || [
1426
1440
  "text/javascript",
1427
1441
  "application/javascript",
@@ -1431,8 +1445,8 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1431
1445
  continue;
1432
1446
  try {
1433
1447
  this.scriptsRun.push(o.innerText), new Function(o.innerText)();
1434
- } catch (i) {
1435
- console.warn("`CustomCode`: Error running script:", i);
1448
+ } catch (r) {
1449
+ console.warn("`CustomCode`: Error running script:", r);
1436
1450
  }
1437
1451
  }
1438
1452
  }
@@ -1449,10 +1463,10 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
1449
1463
  }
1450
1464
  }
1451
1465
  }), fn = ["innerHTML"];
1452
- function bn(e, t, n, o, i, r) {
1453
- return d(), u("div", {
1466
+ function bn(e, t, n, o, r, s) {
1467
+ return c(), p("div", {
1454
1468
  ref: "elementRef",
1455
- class: Ce(
1469
+ class: we(
1456
1470
  e._classStringToObject(
1457
1471
  "builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")
1458
1472
  )
@@ -1460,7 +1474,7 @@ function bn(e, t, n, o, i, r) {
1460
1474
  innerHTML: e.code
1461
1475
  }, null, 10, fn);
1462
1476
  }
1463
- const gn = /* @__PURE__ */ g(hn, [["render", bn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), yn = {
1477
+ const gn = /* @__PURE__ */ g(hn, [["render", bn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), kn = {
1464
1478
  name: "Embed",
1465
1479
  static: !0,
1466
1480
  inputs: [{
@@ -1485,7 +1499,7 @@ const gn = /* @__PURE__ */ g(hn, [["render", bn], ["__file", "/home/runner/work/
1485
1499
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
1486
1500
  hideFromUI: !0
1487
1501
  }]
1488
- }, kn = ["text/javascript", "application/javascript", "application/ecmascript"], vn = (e) => kn.includes(e.type), Sn = b({
1502
+ }, yn = ["text/javascript", "application/javascript", "application/ecmascript"], vn = (e) => yn.includes(e.type), Sn = b({
1489
1503
  name: "builder-embed",
1490
1504
  props: ["content"],
1491
1505
  data() {
@@ -1528,8 +1542,8 @@ const gn = /* @__PURE__ */ g(hn, [["render", bn], ["__file", "/home/runner/work/
1528
1542
  }
1529
1543
  }
1530
1544
  }), Cn = ["innerHTML"];
1531
- function wn(e, t, n, o, i, r) {
1532
- return d(), u("div", {
1545
+ function wn(e, t, n, o, r, s) {
1546
+ return c(), p("div", {
1533
1547
  class: "builder-embed",
1534
1548
  ref: "elem",
1535
1549
  innerHTML: e.content
@@ -1561,29 +1575,29 @@ const In = /* @__PURE__ */ g(Sn, [["render", wn], ["__file", "/home/runner/work/
1561
1575
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1562
1576
  onChange: (e) => {
1563
1577
  e.delete("srcset"), e.delete("noWebp");
1564
- function n(s, a = 6e4) {
1565
- return new Promise((l, c) => {
1566
- const p = document.createElement("img");
1567
- let h = !1;
1568
- p.onload = () => {
1569
- h = !0, l(p);
1570
- }, p.addEventListener("error", (m) => {
1571
- console.warn("Image load failed", m.error), c(m.error);
1572
- }), p.src = s, setTimeout(() => {
1573
- h || c(new Error("Image load timed out"));
1578
+ function n(i, a = 6e4) {
1579
+ return new Promise((l, d) => {
1580
+ const u = document.createElement("img");
1581
+ let m = !1;
1582
+ u.onload = () => {
1583
+ m = !0, l(u);
1584
+ }, u.addEventListener("error", (h) => {
1585
+ console.warn("Image load failed", h.error), d(h.error);
1586
+ }), u.src = i, setTimeout(() => {
1587
+ m || d(new Error("Image load timed out"));
1574
1588
  }, a);
1575
1589
  });
1576
1590
  }
1577
- function o(s) {
1578
- return Math.round(s * 1e3) / 1e3;
1591
+ function o(i) {
1592
+ return Math.round(i * 1e3) / 1e3;
1579
1593
  }
1580
- const i = e.get("image"), r = e.get("aspectRatio");
1581
- if (fetch(i).then((s) => s.blob()).then((s) => {
1582
- s.type.includes("svg") && e.set("noWebp", !0);
1583
- }), i && (!r || r === 0.7041))
1584
- return n(i).then((s) => {
1594
+ const r = e.get("image"), s = e.get("aspectRatio");
1595
+ if (fetch(r).then((i) => i.blob()).then((i) => {
1596
+ i.type.includes("svg") && e.set("noWebp", !0);
1597
+ }), r && (!s || s === 0.7041))
1598
+ return n(r).then((i) => {
1585
1599
  const a = e.get("aspectRatio");
1586
- e.get("image") === i && (!a || a === 0.7041) && s.width && s.height && (e.set("aspectRatio", o(s.height / s.width)), e.set("height", s.height), e.set("width", s.width));
1600
+ e.get("image") === r && (!a || a === 0.7041) && i.width && i.height && (e.set("aspectRatio", o(i.height / i.width)), e.set("height", i.height), e.set("width", i.width));
1587
1601
  });
1588
1602
  }
1589
1603
  }, {
@@ -1654,7 +1668,7 @@ const In = /* @__PURE__ */ g(Sn, [["render", wn], ["__file", "/home/runner/work/
1654
1668
  }],
1655
1669
  noWrap: !0,
1656
1670
  static: !0
1657
- }, xn = b({
1671
+ }, Pn = b({
1658
1672
  name: "builder-img-component",
1659
1673
  props: [
1660
1674
  "backgroundSize",
@@ -1665,11 +1679,11 @@ const In = /* @__PURE__ */ g(Sn, [["render", wn], ["__file", "/home/runner/work/
1665
1679
  "attributes"
1666
1680
  ],
1667
1681
  data() {
1668
- return { isEditing: T, filterAttrs: z };
1682
+ return { isEditing: T, filterAttrs: q };
1669
1683
  }
1670
1684
  }), En = ["alt", "src"];
1671
- function Pn(e, t, n, o, i, r) {
1672
- return d(), u("img", w({
1685
+ function xn(e, t, n, o, r, s) {
1686
+ return c(), p("img", w({
1673
1687
  style: {
1674
1688
  objectFit: e.backgroundSize || "cover",
1675
1689
  objectPosition: e.backgroundPosition || "center"
@@ -1677,9 +1691,9 @@ function Pn(e, t, n, o, i, r) {
1677
1691
  key: e.isEditing() && e.imgSrc || "default-key",
1678
1692
  alt: e.altText,
1679
1693
  src: e.imgSrc || e.image
1680
- }, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, En);
1694
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, En);
1681
1695
  }
1682
- const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Bn = {
1696
+ const Bn = /* @__PURE__ */ g(Pn, [["render", xn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Wn = {
1683
1697
  name: "Core:Section",
1684
1698
  static: !0,
1685
1699
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1718,7 +1732,7 @@ const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/
1718
1732
  }
1719
1733
  }
1720
1734
  }]
1721
- }, Vn = {
1735
+ }, An = {
1722
1736
  name: "Symbol",
1723
1737
  noWrap: !0,
1724
1738
  static: !0,
@@ -1751,7 +1765,7 @@ const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/
1751
1765
  hideFromUI: !0,
1752
1766
  type: "boolean"
1753
1767
  }]
1754
- }, _n = {
1768
+ }, Vn = {
1755
1769
  name: "Text",
1756
1770
  static: !0,
1757
1771
  isRSC: !0,
@@ -1769,21 +1783,21 @@ const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/
1769
1783
  height: "auto",
1770
1784
  textAlign: "center"
1771
1785
  }
1772
- }, On = b({
1786
+ }, _n = b({
1773
1787
  name: "builder-text",
1774
1788
  props: ["text"]
1775
- }), Nn = ["innerHTML"];
1776
- function jn(e, t, n, o, i, r) {
1777
- var s;
1778
- return d(), u("div", {
1789
+ }), On = ["innerHTML"];
1790
+ function Nn(e, t, n, o, r, s) {
1791
+ var i;
1792
+ return c(), p("div", {
1779
1793
  class: "builder-text",
1780
- innerHTML: ((s = e.text) == null ? void 0 : s.toString()) || "",
1794
+ innerHTML: ((i = e.text) == null ? void 0 : i.toString()) || "",
1781
1795
  style: {
1782
1796
  outline: "none"
1783
1797
  }
1784
- }, null, 8, Nn);
1798
+ }, null, 8, On);
1785
1799
  }
1786
- const Un = /* @__PURE__ */ g(On, [["render", jn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), Fn = {
1800
+ const jn = /* @__PURE__ */ g(_n, [["render", Nn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), Un = {
1787
1801
  name: "Video",
1788
1802
  canHaveChildren: !0,
1789
1803
  defaultStyles: {
@@ -1864,7 +1878,7 @@ const Un = /* @__PURE__ */ g(On, [["render", jn], ["__file", "/home/runner/work/
1864
1878
  defaultValue: !0,
1865
1879
  advanced: !0
1866
1880
  }]
1867
- }, Wn = b({
1881
+ }, Fn = b({
1868
1882
  name: "builder-video",
1869
1883
  props: [
1870
1884
  "autoPlay",
@@ -1932,16 +1946,16 @@ const Un = /* @__PURE__ */ g(On, [["render", jn], ["__file", "/home/runner/work/
1932
1946
  height: "100%"
1933
1947
  }
1934
1948
  };
1935
- function zn(e, t, n, o, i, r) {
1936
- var s, a, l, c, p, h, m;
1937
- return d(), u("div", Mn, [
1938
- Q("video", w({
1949
+ function zn(e, t, n, o, r, s) {
1950
+ var i, a, l, d, u, m, h;
1951
+ return c(), p("div", Mn, [
1952
+ X("video", w({
1939
1953
  class: "builder-video",
1940
1954
  preload: e.preload || "metadata",
1941
1955
  style: {
1942
1956
  width: "100%",
1943
1957
  height: "100%",
1944
- ...(s = e.attributes) == null ? void 0 : s.style,
1958
+ ...(i = e.attributes) == null ? void 0 : i.style,
1945
1959
  objectFit: e.fit,
1946
1960
  objectPosition: e.position,
1947
1961
  zIndex: 2,
@@ -1953,41 +1967,41 @@ function zn(e, t, n, o, i, r) {
1953
1967
  src: e.video || "no-src",
1954
1968
  poster: e.posterImage
1955
1969
  }, e.spreadProps), [
1956
- e.lazyLoad ? f("v-if", !0) : (d(), u("source", {
1970
+ e.lazyLoad ? f("v-if", !0) : (c(), p("source", {
1957
1971
  key: 0,
1958
1972
  type: "video/mp4",
1959
1973
  src: e.video
1960
1974
  }, null, 8, Hn))
1961
1975
  ], 16, Ln),
1962
- e.aspectRatio && !(e.fitContent && ((l = (a = e.builderBlock) == null ? void 0 : a.children) == null ? void 0 : l.length)) ? (d(), u("div", {
1976
+ e.aspectRatio && !(e.fitContent && ((l = (a = e.builderBlock) == null ? void 0 : a.children) == null ? void 0 : l.length)) ? (c(), p("div", {
1963
1977
  key: 0,
1964
- style: X({
1978
+ style: Z({
1965
1979
  width: "100%",
1966
1980
  paddingTop: e.aspectRatio * 100 + "%",
1967
1981
  pointerEvents: "none",
1968
1982
  fontSize: "0px"
1969
1983
  })
1970
1984
  }, null, 4)) : f("v-if", !0),
1971
- ((p = (c = e.builderBlock) == null ? void 0 : c.children) == null ? void 0 : p.length) && e.fitContent ? (d(), u("div", Kn, [
1972
- P(e.$slots, "default")
1985
+ ((u = (d = e.builderBlock) == null ? void 0 : d.children) == null ? void 0 : u.length) && e.fitContent ? (c(), p("div", Kn, [
1986
+ x(e.$slots, "default")
1973
1987
  ])) : f("v-if", !0),
1974
- ((m = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : m.length) && !e.fitContent ? (d(), u("div", Dn, [
1975
- P(e.$slots, "default")
1988
+ ((h = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : h.length) && !e.fitContent ? (c(), p("div", Dn, [
1989
+ x(e.$slots, "default")
1976
1990
  ])) : f("v-if", !0)
1977
1991
  ]);
1978
1992
  }
1979
- const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), pe = () => [{
1980
- component: Ze,
1993
+ const qn = /* @__PURE__ */ g(Fn, [["render", zn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), pe = () => [{
1994
+ component: et,
1981
1995
  ...un
1982
1996
  }, {
1983
- component: Ut,
1997
+ component: jt,
1984
1998
  ...pn
1985
1999
  }, {
1986
2000
  component: gn,
1987
2001
  ...mn
1988
2002
  }, {
1989
2003
  component: In,
1990
- ...yn
2004
+ ...kn
1991
2005
  }, {
1992
2006
  component: Mt,
1993
2007
  ...$n
@@ -1995,34 +2009,34 @@ const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/
1995
2009
  component: Jt,
1996
2010
  ...Rn
1997
2011
  }, {
1998
- component: An,
2012
+ component: Bn,
1999
2013
  ...Tn
2000
2014
  }, {
2001
2015
  component: Xt,
2002
- ...Bn
2016
+ ...Wn
2003
2017
  }, {
2004
- component: ti,
2005
- ...Vn
2018
+ component: er,
2019
+ ...An
2006
2020
  }, {
2007
- component: Un,
2008
- ..._n
2021
+ component: jn,
2022
+ ...Vn
2009
2023
  }, {
2010
2024
  component: qn,
2011
- ...Fn
2025
+ ...Un
2012
2026
  }], me = [], Gn = (e) => ({
2013
2027
  type: "builder.registerComponent",
2014
- data: ee(e)
2028
+ data: te(e)
2015
2029
  }), Jn = (e) => {
2016
2030
  const t = e.toString().trim();
2017
2031
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
2018
- }, Yn = (e) => typeof e == "function" ? Jn(e) : F(e), ee = ({
2032
+ }, Yn = (e) => typeof e == "function" ? Jn(e) : F(e), te = ({
2019
2033
  inputs: e,
2020
2034
  ...t
2021
2035
  }) => ({
2022
2036
  ...F(t),
2023
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [i, r]) => ({
2037
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, s]) => ({
2024
2038
  ...o,
2025
- [i]: Yn(r)
2039
+ [r]: Yn(s)
2026
2040
  }), {}))
2027
2041
  }), Qn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2028
2042
  function getAndSetVariantId() {
@@ -2114,14 +2128,14 @@ const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/
2114
2128
  thisScriptEl?.remove();
2115
2129
  }
2116
2130
  return;
2117
- }`, Oe = "builderIoAbTest", Ne = "builderIoRenderContent", L = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2131
+ }`, Oe = "builderIoAbTest", Ne = "builderIoRenderContent", H = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2118
2132
  ...t,
2119
2133
  testVariationId: t.id,
2120
2134
  id: e == null ? void 0 : e.id
2121
2135
  })), Zn = ({
2122
2136
  canTrack: e,
2123
2137
  content: t
2124
- }) => !(!(L(t).length > 0) || !e), eo = (e) => e === "react" || e === "reactNative", je = eo(R), to = () => `
2138
+ }) => !(!(H(t).length > 0) || !e), eo = (e) => e === "react" || e === "reactNative", je = eo(R), to = () => `
2125
2139
  window.${Oe} = ${Qn}
2126
2140
  window.${Ne} = ${Xn}
2127
2141
  `, no = (e, t) => `
@@ -2132,33 +2146,33 @@ const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/
2132
2146
  variationId: t
2133
2147
  }) => `window.${Ne}(
2134
2148
  "${t}", "${e}", ${je}
2135
- )`, io = b({
2149
+ )`, ro = b({
2136
2150
  render() {
2137
2151
  return Se("script", { id: this.id, innerHTML: this.scriptStr });
2138
2152
  },
2139
2153
  name: "inlined-script",
2140
2154
  props: ["scriptStr", "id"]
2141
- }), Ue = /* @__PURE__ */ g(io, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]);
2142
- function ro() {
2155
+ }), Ue = /* @__PURE__ */ g(ro, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]);
2156
+ function so() {
2143
2157
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
2144
2158
  }
2145
- function so() {
2146
- const e = ro().fetch;
2159
+ function io() {
2160
+ const e = so().fetch;
2147
2161
  if (typeof e > "u")
2148
2162
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
2149
2163
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
2150
2164
  return e;
2151
2165
  }
2152
- const Fe = so();
2153
- function H(e, t = null, n = ".") {
2154
- return Object.keys(e).reduce((o, i) => {
2155
- const r = e[i], s = [t, i].filter(Boolean).join(n);
2156
- return [typeof r == "object", r !== null, !(Array.isArray(r) && r.length === 0)].every(Boolean) ? {
2166
+ const Fe = io();
2167
+ function K(e, t = null, n = ".") {
2168
+ return Object.keys(e).reduce((o, r) => {
2169
+ const s = e[r], i = [t, r].filter(Boolean).join(n);
2170
+ return [typeof s == "object", s !== null, !(Array.isArray(s) && s.length === 0)].every(Boolean) ? {
2157
2171
  ...o,
2158
- ...H(r, s, n)
2172
+ ...K(s, i, n)
2159
2173
  } : {
2160
2174
  ...o,
2161
- [s]: r
2175
+ [i]: s
2162
2176
  };
2163
2177
  }, {});
2164
2178
  }
@@ -2167,101 +2181,101 @@ const ao = "v3", he = "builder.", lo = "options.", co = (e) => {
2167
2181
  return e.forEach((n, o) => {
2168
2182
  t[o] = n;
2169
2183
  }), t;
2170
- }, We = (e) => {
2184
+ }, Me = (e) => {
2171
2185
  if (!e)
2172
2186
  return {};
2173
- const t = Me(e), n = {};
2187
+ const t = Le(e), n = {};
2174
2188
  return Object.keys(t).forEach((o) => {
2175
2189
  if (o.startsWith(he)) {
2176
- const i = o.replace(he, "").replace(lo, "");
2177
- n[i] = t[o];
2190
+ const r = o.replace(he, "").replace(lo, "");
2191
+ n[r] = t[o];
2178
2192
  }
2179
2193
  }), n;
2180
2194
  }, uo = () => {
2181
2195
  if (!v())
2182
2196
  return {};
2183
2197
  const e = new URLSearchParams(window.location.search);
2184
- return We(e);
2185
- }, Me = (e) => e instanceof URLSearchParams ? co(e) : e, fe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, re = (e) => {
2198
+ return Me(e);
2199
+ }, Le = (e) => e instanceof URLSearchParams ? co(e) : e, fe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, se = (e) => {
2186
2200
  let {
2187
2201
  noTraverse: t = !1
2188
2202
  } = e;
2189
2203
  const {
2190
2204
  limit: n = 30,
2191
2205
  userAttributes: o,
2192
- query: i,
2193
- model: r,
2194
- apiKey: s,
2206
+ query: r,
2207
+ model: s,
2208
+ apiKey: i,
2195
2209
  includeRefs: a = !0,
2196
2210
  enrich: l,
2197
- locale: c,
2198
- apiVersion: p = ao,
2199
- fields: h,
2200
- omit: m,
2211
+ locale: d,
2212
+ apiVersion: u = ao,
2213
+ fields: m,
2214
+ omit: h,
2201
2215
  offset: S,
2202
- cacheSeconds: V,
2203
- staleCacheSeconds: _,
2204
- sort: O,
2205
- includeUnpublished: se
2216
+ cacheSeconds: A,
2217
+ staleCacheSeconds: V,
2218
+ sort: _,
2219
+ includeUnpublished: ie
2206
2220
  } = e;
2207
- if (!s)
2221
+ if (!i)
2208
2222
  throw new Error("Missing API key");
2209
- if (!["v2", "v3"].includes(p))
2210
- throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${p}'`);
2223
+ if (!["v2", "v3"].includes(u))
2224
+ throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${u}'`);
2211
2225
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
2212
- const I = new URL(`https://cdn.builder.io/api/${p}/content/${r}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${a}${c ? `&locale=${c}` : ""}${l ? `&enrich=${l}` : ""}`);
2213
- if (I.searchParams.set("omit", m || "meta.componentsUsed"), h && I.searchParams.set("fields", h), Number.isFinite(S) && S > -1 && I.searchParams.set("offset", String(Math.floor(S))), typeof se == "boolean" && I.searchParams.set("includeUnpublished", String(se)), V && fe(V) && I.searchParams.set("cacheSeconds", String(V)), _ && fe(_) && I.searchParams.set("staleCacheSeconds", String(_)), O) {
2214
- const E = H({
2215
- sort: O
2226
+ const I = new URL(`https://cdn.builder.io/api/${u}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${a}${d ? `&locale=${d}` : ""}${l ? `&enrich=${l}` : ""}`);
2227
+ if (I.searchParams.set("omit", h || "meta.componentsUsed"), m && I.searchParams.set("fields", m), Number.isFinite(S) && S > -1 && I.searchParams.set("offset", String(Math.floor(S))), typeof ie == "boolean" && I.searchParams.set("includeUnpublished", String(ie)), A && fe(A) && I.searchParams.set("cacheSeconds", String(A)), V && fe(V) && I.searchParams.set("staleCacheSeconds", String(V)), _) {
2228
+ const E = K({
2229
+ sort: _
2216
2230
  });
2217
- for (const N in E)
2218
- I.searchParams.set(N, JSON.stringify(E[N]));
2231
+ for (const O in E)
2232
+ I.searchParams.set(O, JSON.stringify(E[O]));
2219
2233
  }
2220
- const Ge = {
2234
+ const Je = {
2221
2235
  ...uo(),
2222
- ...Me(e.options || {})
2223
- }, ae = H(Ge);
2236
+ ...Le(e.options || {})
2237
+ }, ae = K(Je);
2224
2238
  for (const E in ae)
2225
2239
  I.searchParams.set(E, String(ae[E]));
2226
- if (o && I.searchParams.set("userAttributes", JSON.stringify(o)), i) {
2227
- const E = H({
2228
- query: i
2240
+ if (o && I.searchParams.set("userAttributes", JSON.stringify(o)), r) {
2241
+ const E = K({
2242
+ query: r
2229
2243
  });
2230
- for (const N in E)
2231
- I.searchParams.set(N, JSON.stringify(E[N]));
2244
+ for (const O in E)
2245
+ I.searchParams.set(O, JSON.stringify(E[O]));
2232
2246
  }
2233
2247
  return I;
2234
2248
  }, po = (e) => "results" in e;
2235
- async function G(e) {
2236
- const t = await Le({
2249
+ async function J(e) {
2250
+ const t = await He({
2237
2251
  ...e,
2238
2252
  limit: 1
2239
2253
  });
2240
2254
  return t && t.results[0] || null;
2241
2255
  }
2242
- const ri = G, mo = async (e) => {
2243
- const t = re(e);
2256
+ const rr = J, mo = async (e) => {
2257
+ const t = se(e);
2244
2258
  return await (await Fe(t.href)).json();
2245
- }, ho = async (e, t, n = re(e)) => {
2246
- const o = U(e.canTrack);
2259
+ }, ho = async (e, t, n = se(e)) => {
2260
+ const o = j(e.canTrack);
2247
2261
  if (n.search.includes("preview="), !o || !(v() || R === "reactNative"))
2248
2262
  return t;
2249
2263
  try {
2250
- const i = [];
2251
- for (const r of t.results)
2252
- i.push(await dn({
2253
- item: r,
2264
+ const r = [];
2265
+ for (const s of t.results)
2266
+ r.push(await dn({
2267
+ item: s,
2254
2268
  canTrack: o
2255
2269
  }));
2256
- t.results = i;
2257
- } catch (i) {
2258
- $.error("Could not process A/B tests. ", i);
2270
+ t.results = r;
2271
+ } catch (r) {
2272
+ $.error("Could not process A/B tests. ", r);
2259
2273
  }
2260
2274
  return t;
2261
2275
  };
2262
- async function Le(e) {
2276
+ async function He(e) {
2263
2277
  try {
2264
- const t = re(e), n = await mo(e);
2278
+ const t = se(e), n = await mo(e);
2265
2279
  return po(n) ? ho(e, n) : ($.error("Error fetching data. ", {
2266
2280
  url: t,
2267
2281
  content: n,
@@ -2271,7 +2285,7 @@ async function Le(e) {
2271
2285
  return $.error("Error fetching data. ", t), null;
2272
2286
  }
2273
2287
  }
2274
- const si = Le;
2288
+ const sr = He;
2275
2289
  function fo() {
2276
2290
  return !v() || T() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
2277
2291
  }
@@ -2281,41 +2295,41 @@ function bo() {
2281
2295
  return (e == "x" ? t : t & 3 | 8).toString(16);
2282
2296
  });
2283
2297
  }
2284
- function He() {
2298
+ function Ke() {
2285
2299
  return bo().replace(/-/g, "");
2286
2300
  }
2287
- const Ke = "builderSessionId", go = async ({
2301
+ const De = "builderSessionId", go = async ({
2288
2302
  canTrack: e
2289
2303
  }) => {
2290
2304
  if (!e)
2291
2305
  return;
2292
- const t = await Pe({
2293
- name: Ke,
2306
+ const t = await Be({
2307
+ name: De,
2294
2308
  canTrack: e
2295
2309
  });
2296
- if (x(t))
2310
+ if (P(t))
2297
2311
  return t;
2298
2312
  {
2299
- const n = yo();
2300
- return ko({
2313
+ const n = ko();
2314
+ return yo({
2301
2315
  id: n,
2302
2316
  canTrack: e
2303
2317
  }), n;
2304
2318
  }
2305
- }, yo = () => He(), ko = ({
2319
+ }, ko = () => Ke(), yo = ({
2306
2320
  id: e,
2307
2321
  canTrack: t
2308
- }) => Ae({
2309
- name: Ke,
2322
+ }) => We({
2323
+ name: De,
2310
2324
  value: e,
2311
2325
  canTrack: t
2312
- }), De = () => v() && typeof localStorage < "u" ? localStorage : void 0, vo = ({
2326
+ }), ze = () => v() && typeof localStorage < "u" ? localStorage : void 0, vo = ({
2313
2327
  key: e,
2314
2328
  canTrack: t
2315
2329
  }) => {
2316
2330
  var n;
2317
2331
  try {
2318
- return t ? (n = De()) == null ? void 0 : n.getItem(e) : void 0;
2332
+ return t ? (n = ze()) == null ? void 0 : n.getItem(e) : void 0;
2319
2333
  } catch (o) {
2320
2334
  console.debug("[LocalStorage] GET error: ", o);
2321
2335
  return;
@@ -2327,20 +2341,20 @@ const Ke = "builderSessionId", go = async ({
2327
2341
  }) => {
2328
2342
  var o;
2329
2343
  try {
2330
- t && ((o = De()) == null || o.setItem(e, n));
2331
- } catch (i) {
2332
- console.debug("[LocalStorage] SET error: ", i);
2344
+ t && ((o = ze()) == null || o.setItem(e, n));
2345
+ } catch (r) {
2346
+ console.debug("[LocalStorage] SET error: ", r);
2333
2347
  }
2334
- }, ze = "builderVisitorId", Co = ({
2348
+ }, qe = "builderVisitorId", Co = ({
2335
2349
  canTrack: e
2336
2350
  }) => {
2337
2351
  if (!e)
2338
2352
  return;
2339
2353
  const t = vo({
2340
- key: ze,
2354
+ key: qe,
2341
2355
  canTrack: e
2342
2356
  });
2343
- if (x(t))
2357
+ if (P(t))
2344
2358
  return t;
2345
2359
  {
2346
2360
  const n = wo();
@@ -2349,11 +2363,11 @@ const Ke = "builderSessionId", go = async ({
2349
2363
  canTrack: e
2350
2364
  }), n;
2351
2365
  }
2352
- }, wo = () => He(), Io = ({
2366
+ }, wo = () => Ke(), Io = ({
2353
2367
  id: e,
2354
2368
  canTrack: t
2355
2369
  }) => So({
2356
- key: ze,
2370
+ key: qe,
2357
2371
  value: e,
2358
2372
  canTrack: t
2359
2373
  }), $o = async ({
@@ -2378,11 +2392,11 @@ const Ke = "builderSessionId", go = async ({
2378
2392
  canTrack: t,
2379
2393
  apiKey: n,
2380
2394
  metadata: o,
2381
- ...i
2395
+ ...r
2382
2396
  }) => ({
2383
2397
  type: e,
2384
2398
  data: {
2385
- ...i,
2399
+ ...r,
2386
2400
  metadata: {
2387
2401
  url: location.href,
2388
2402
  ...o
@@ -2390,11 +2404,11 @@ const Ke = "builderSessionId", go = async ({
2390
2404
  ...await $o({
2391
2405
  canTrack: t
2392
2406
  }),
2393
- userAttributes: Ie(),
2407
+ userAttributes: $e(),
2394
2408
  ownerId: n
2395
2409
  }
2396
2410
  });
2397
- async function te(e) {
2411
+ async function ne(e) {
2398
2412
  if (!e.apiKey) {
2399
2413
  $.error("Missing API key for track call. Please provide your API key.");
2400
2414
  return;
@@ -2413,7 +2427,7 @@ async function te(e) {
2413
2427
  console.error("Failed to track: ", t);
2414
2428
  });
2415
2429
  }
2416
- const ai = (e) => te({
2430
+ const ir = (e) => ne({
2417
2431
  ...e,
2418
2432
  canTrack: !0
2419
2433
  });
@@ -2431,20 +2445,20 @@ const To = (e, t, n = !0) => {
2431
2445
  return o;
2432
2446
  } while (o = o.parentElement);
2433
2447
  return null;
2434
- }, xo = (e) => To(e, (t) => {
2448
+ }, Po = (e) => To(e, (t) => {
2435
2449
  const n = t.getAttribute("builder-id") || t.id;
2436
2450
  return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
2437
2451
  }), ge = ({
2438
2452
  event: e,
2439
2453
  target: t
2440
2454
  }) => {
2441
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, i = e.clientY - n.top, r = be(o / n.width), s = be(i / n.height);
2455
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, s = be(o / n.width), i = be(r / n.height);
2442
2456
  return {
2443
- x: r,
2444
- y: s
2457
+ x: s,
2458
+ y: i
2445
2459
  };
2446
2460
  }, Eo = (e) => {
2447
- const t = e.target, n = t && xo(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2461
+ const t = e.target, n = t && Po(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2448
2462
  return {
2449
2463
  targetBuilderElement: o || void 0,
2450
2464
  metadata: {
@@ -2459,10 +2473,10 @@ const To = (e, t, n = !0) => {
2459
2473
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
2460
2474
  }
2461
2475
  };
2462
- }, Po = "0.8.0", ye = {};
2463
- function Ao(e, t) {
2464
- let n = ye[e];
2465
- if (n || (n = ye[e] = []), n.push(t), v()) {
2476
+ }, xo = "0.9.0", ke = {};
2477
+ function Bo(e, t) {
2478
+ let n = ke[e];
2479
+ if (n || (n = ke[e] = []), n.push(t), v()) {
2466
2480
  const o = {
2467
2481
  type: "builder.register",
2468
2482
  data: {
@@ -2472,13 +2486,13 @@ function Ao(e, t) {
2472
2486
  };
2473
2487
  try {
2474
2488
  parent.postMessage(o, "*"), parent !== window && window.postMessage(o, "*");
2475
- } catch (i) {
2476
- console.debug("Could not postmessage", i);
2489
+ } catch (r) {
2490
+ console.debug("Could not postmessage", r);
2477
2491
  }
2478
2492
  }
2479
2493
  }
2480
- const Bo = () => {
2481
- Ao("insertMenu", {
2494
+ const Wo = () => {
2495
+ Bo("insertMenu", {
2482
2496
  name: "_default",
2483
2497
  default: !0,
2484
2498
  items: [{
@@ -2500,14 +2514,14 @@ const Bo = () => {
2500
2514
  }]
2501
2515
  });
2502
2516
  };
2503
- let ke = !1;
2504
- const Vo = (e = {}) => {
2517
+ let ye = !1;
2518
+ const Ao = (e = {}) => {
2505
2519
  var t, n;
2506
- ke || (ke = !0, v() && ((t = window.parent) == null || t.postMessage({
2520
+ ye || (ye = !0, v() && ((t = window.parent) == null || t.postMessage({
2507
2521
  type: "builder.sdkInfo",
2508
2522
  data: {
2509
2523
  target: R,
2510
- version: Po,
2524
+ version: xo,
2511
2525
  supportsPatchUpdates: !1,
2512
2526
  supportsAddBlockScoping: !0,
2513
2527
  supportsCustomBreakpoints: !0
@@ -2520,36 +2534,36 @@ const Vo = (e = {}) => {
2520
2534
  }, "*"), window.addEventListener("message", ({
2521
2535
  data: o
2522
2536
  }) => {
2523
- var i, r;
2537
+ var r, s;
2524
2538
  if (!!(o != null && o.type))
2525
2539
  switch (o.type) {
2526
2540
  case "builder.evaluate": {
2527
- const s = o.data.text, a = o.data.arguments || [], l = o.data.id, c = new Function(s);
2528
- let p, h = null;
2541
+ const i = o.data.text, a = o.data.arguments || [], l = o.data.id, d = new Function(i);
2542
+ let u, m = null;
2529
2543
  try {
2530
- p = c.apply(null, a);
2531
- } catch (m) {
2532
- h = m;
2544
+ u = d.apply(null, a);
2545
+ } catch (h) {
2546
+ m = h;
2533
2547
  }
2534
- h ? (i = window.parent) == null || i.postMessage({
2548
+ m ? (r = window.parent) == null || r.postMessage({
2535
2549
  type: "builder.evaluateError",
2536
2550
  data: {
2537
2551
  id: l,
2538
- error: h.message
2552
+ error: m.message
2539
2553
  }
2540
- }, "*") : p && typeof p.then == "function" ? p.then((m) => {
2554
+ }, "*") : u && typeof u.then == "function" ? u.then((h) => {
2541
2555
  var S;
2542
2556
  (S = window.parent) == null || S.postMessage({
2543
2557
  type: "builder.evaluateResult",
2544
2558
  data: {
2545
2559
  id: l,
2546
- result: m
2560
+ result: h
2547
2561
  }
2548
2562
  }, "*");
2549
- }).catch(console.error) : (r = window.parent) == null || r.postMessage({
2563
+ }).catch(console.error) : (s = window.parent) == null || s.postMessage({
2550
2564
  type: "builder.evaluateResult",
2551
2565
  data: {
2552
- result: p,
2566
+ result: u,
2553
2567
  id: l
2554
2568
  }
2555
2569
  }, "*");
@@ -2557,10 +2571,11 @@ const Vo = (e = {}) => {
2557
2571
  }
2558
2572
  }
2559
2573
  })));
2560
- }, _o = b({
2574
+ }, Vo = b({
2561
2575
  name: "enable-editor",
2562
2576
  props: [
2563
2577
  "builderContextSignal",
2578
+ "contentWrapper",
2564
2579
  "model",
2565
2580
  "context",
2566
2581
  "canTrack",
@@ -2569,22 +2584,24 @@ const Vo = (e = {}) => {
2569
2584
  "includeRefs",
2570
2585
  "enrich",
2571
2586
  "content",
2572
- "showContent"
2587
+ "showContent",
2588
+ "contentWrapperProps"
2573
2589
  ],
2574
2590
  data() {
2575
2591
  return {
2576
2592
  forceReRenderCount: 0,
2577
2593
  lastUpdated: 0,
2578
2594
  shouldSendResetCookie: !1,
2595
+ ContentWrapper: this.contentWrapper || "div",
2579
2596
  httpReqsData: {},
2580
2597
  clicked: !1,
2581
- builderContext: Z
2598
+ builderContext: ee
2582
2599
  };
2583
2600
  },
2584
2601
  provide() {
2585
2602
  const e = this;
2586
2603
  return {
2587
- [Z.key]: e.builderContextSignal
2604
+ [ee.key]: e.builderContextSignal
2588
2605
  };
2589
2606
  },
2590
2607
  mounted() {
@@ -2593,14 +2610,14 @@ const Vo = (e = {}) => {
2593
2610
  if (v()) {
2594
2611
  if (T() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
2595
2612
  new CustomEvent("initeditingbldr")
2596
- ), this.builderContextSignal.content && U(this.canTrack)) {
2597
- const r = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
2598
- te({
2613
+ ), this.builderContextSignal.content && j(this.canTrack)) {
2614
+ const s = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
2615
+ ne({
2599
2616
  type: "impression",
2600
2617
  canTrack: !0,
2601
- contentId: s,
2618
+ contentId: i,
2602
2619
  apiKey: a,
2603
- variationId: r !== s ? r : void 0
2620
+ variationId: s !== i ? s : void 0
2604
2621
  });
2605
2622
  }
2606
2623
  fo() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
@@ -2679,7 +2696,7 @@ const Vo = (e = {}) => {
2679
2696
  },
2680
2697
  methods: {
2681
2698
  mergeNewContent(e) {
2682
- var n, o, i, r, s;
2699
+ var n, o, r, s, i;
2683
2700
  const t = {
2684
2701
  ...this.builderContextSignal.content,
2685
2702
  ...e,
@@ -2690,7 +2707,7 @@ const Vo = (e = {}) => {
2690
2707
  meta: {
2691
2708
  ...(o = this.builderContextSignal.content) == null ? void 0 : o.meta,
2692
2709
  ...e == null ? void 0 : e.meta,
2693
- breakpoints: ((i = e == null ? void 0 : e.meta) == null ? void 0 : i.breakpoints) || ((s = (r = this.builderContextSignal.content) == null ? void 0 : r.meta) == null ? void 0 : s.breakpoints)
2710
+ breakpoints: ((r = e == null ? void 0 : e.meta) == null ? void 0 : r.breakpoints) || ((i = (s = this.builderContextSignal.content) == null ? void 0 : s.meta) == null ? void 0 : i.breakpoints)
2694
2711
  }
2695
2712
  };
2696
2713
  this.builderContextSignal.content = t;
@@ -2701,19 +2718,19 @@ const Vo = (e = {}) => {
2701
2718
  if (t)
2702
2719
  switch (t.type) {
2703
2720
  case "builder.configureSdk": {
2704
- const o = t.data, { breakpoints: i, contentId: r } = o;
2705
- if (!r || r !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2721
+ const o = t.data, { breakpoints: r, contentId: s } = o;
2722
+ if (!s || s !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2706
2723
  return;
2707
- i && this.mergeNewContent({
2724
+ r && this.mergeNewContent({
2708
2725
  meta: {
2709
- breakpoints: i
2726
+ breakpoints: r
2710
2727
  }
2711
2728
  }), this.forceReRenderCount = this.forceReRenderCount + 1;
2712
2729
  break;
2713
2730
  }
2714
2731
  case "builder.contentUpdate": {
2715
- const o = t.data, i = o.key || o.alias || o.entry || o.modelName, r = o.data;
2716
- i === this.model && (this.mergeNewContent(r), this.forceReRenderCount = this.forceReRenderCount + 1);
2732
+ const o = t.data, r = o.key || o.alias || o.entry || o.modelName, s = o.data;
2733
+ r === this.model && (this.mergeNewContent(s), this.forceReRenderCount = this.forceReRenderCount + 1);
2717
2734
  break;
2718
2735
  }
2719
2736
  }
@@ -2721,7 +2738,7 @@ const Vo = (e = {}) => {
2721
2738
  evaluateJsCode() {
2722
2739
  var t, n;
2723
2740
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
2724
- e && K({
2741
+ e && D({
2725
2742
  code: e,
2726
2743
  context: this.context || {},
2727
2744
  localState: void 0,
@@ -2732,13 +2749,13 @@ const Vo = (e = {}) => {
2732
2749
  onClick(e) {
2733
2750
  var t, n;
2734
2751
  if (this.builderContextSignal.content) {
2735
- const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, i = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2736
- te({
2752
+ const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2753
+ ne({
2737
2754
  type: "click",
2738
- canTrack: U(this.canTrack),
2739
- contentId: i,
2755
+ canTrack: j(this.canTrack),
2756
+ contentId: r,
2740
2757
  apiKey: this.apiKey,
2741
- variationId: o !== i ? o : void 0,
2758
+ variationId: o !== r ? o : void 0,
2742
2759
  ...Eo(e),
2743
2760
  unique: !this.clicked
2744
2761
  });
@@ -2748,7 +2765,7 @@ const Vo = (e = {}) => {
2748
2765
  evalExpression(e) {
2749
2766
  return e.replace(
2750
2767
  /{{([^}]+)}}/g,
2751
- (t, n) => K({
2768
+ (t, n) => D({
2752
2769
  code: n,
2753
2770
  context: this.context || {},
2754
2771
  localState: void 0,
@@ -2759,12 +2776,12 @@ const Vo = (e = {}) => {
2759
2776
  },
2760
2777
  handleRequest({ url: e, key: t }) {
2761
2778
  Fe(e).then((n) => n.json()).then((n) => {
2762
- var i, r;
2779
+ var r, s;
2763
2780
  const o = {
2764
2781
  ...this.builderContextSignal.rootState,
2765
2782
  [t]: n
2766
2783
  };
2767
- (r = (i = this.builderContextSignal).rootSetState) == null || r.call(i, o), this.httpReqsData[t] = !0;
2784
+ (s = (r = this.builderContextSignal).rootSetState) == null || s.call(r, o), this.httpReqsData[t] = !0;
2768
2785
  }).catch((n) => {
2769
2786
  console.error("error fetching dynamic data", e, n);
2770
2787
  });
@@ -2772,12 +2789,12 @@ const Vo = (e = {}) => {
2772
2789
  runHttpRequests() {
2773
2790
  var t, n, o;
2774
2791
  const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
2775
- Object.entries(e).forEach(([i, r]) => {
2776
- if (r && (!this.httpReqsData[i] || T())) {
2777
- const s = this.evalExpression(r);
2792
+ Object.entries(e).forEach(([r, s]) => {
2793
+ if (s && (!this.httpReqsData[r] || T())) {
2794
+ const i = this.evalExpression(s);
2778
2795
  this.handleRequest({
2779
- url: s,
2780
- key: i
2796
+ url: i,
2797
+ key: r
2781
2798
  });
2782
2799
  }
2783
2800
  });
@@ -2798,7 +2815,7 @@ const Vo = (e = {}) => {
2798
2815
  );
2799
2816
  },
2800
2817
  elementRef_onIniteditingbldr(e) {
2801
- this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), Bo(), Vo({
2818
+ this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), Wo(), Ao({
2802
2819
  ...this.locale ? {
2803
2820
  locale: this.locale
2804
2821
  } : {},
@@ -2822,13 +2839,13 @@ const Vo = (e = {}) => {
2822
2839
  elementRef_onInitpreviewingbldr(e) {
2823
2840
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
2824
2841
  `builder.preview.${n}`
2825
- ), i = t.get("apiKey") || t.get("builder.space");
2826
- n === this.model && i === this.apiKey && (!this.content || o === this.content.id) && G({
2842
+ ), r = t.get("apiKey") || t.get("builder.space");
2843
+ n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && J({
2827
2844
  model: this.model,
2828
2845
  apiKey: this.apiKey,
2829
2846
  apiVersion: this.builderContextSignal.apiVersion
2830
- }).then((r) => {
2831
- r && this.mergeNewContent(r);
2847
+ }).then((s) => {
2848
+ s && this.mergeNewContent(s);
2832
2849
  });
2833
2850
  },
2834
2851
  _classStringToObject(e) {
@@ -2841,34 +2858,38 @@ const Vo = (e = {}) => {
2841
2858
  return t;
2842
2859
  }
2843
2860
  }
2844
- }), Oo = ["builder-content-id", "builder-model"];
2845
- function No(e, t, n, o, i, r) {
2846
- var s, a, l;
2847
- return e.builderContextSignal.content ? (d(), u("div", w({
2861
+ });
2862
+ function _o(e, t, n, o, r, s) {
2863
+ var i, a, l;
2864
+ return e.builderContextSignal.content ? (c(), y(Ce(e.ContentWrapper), w({
2848
2865
  key: e.forceReRenderCount,
2849
2866
  ref: "elementRef",
2850
- onClick: t[0] || (t[0] = (c) => e.onClick(c)),
2851
- "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
2867
+ onClick: (d) => e.onClick(d),
2868
+ "builder-content-id": (i = e.builderContextSignal.content) == null ? void 0 : i.id,
2852
2869
  "builder-model": e.model,
2853
2870
  class: e._classStringToObject(
2854
2871
  `variant-${((a = e.content) == null ? void 0 : a.testVariationId) || ((l = e.content) == null ? void 0 : l.id)}`
2855
2872
  ),
2856
- onIniteditingbldr: t[1] || (t[1] = (c) => e.elementRef_onIniteditingbldr(c)),
2857
- onInitpreviewingbldr: t[2] || (t[2] = (c) => e.elementRef_onInitpreviewingbldr(c))
2873
+ onIniteditingbldr: (d) => e.elementRef_onIniteditingbldr(d),
2874
+ onInitpreviewingbldr: (d) => e.elementRef_onInitpreviewingbldr(d)
2858
2875
  }, {
2859
2876
  ...e.showContent ? {} : {
2860
2877
  hidden: !0,
2861
2878
  "aria-hidden": !0
2862
- }
2863
- }), [
2864
- P(e.$slots, "default")
2865
- ], 16, Oo)) : f("v-if", !0);
2879
+ },
2880
+ ...e.contentWrapperProps
2881
+ }), {
2882
+ default: U(() => [
2883
+ x(e.$slots, "default")
2884
+ ]),
2885
+ _: 3
2886
+ }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : f("v-if", !0);
2866
2887
  }
2867
- const jo = /* @__PURE__ */ g(_o, [["render", No], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Uo = (e) => {
2868
- var r, s;
2869
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (s = e.fileUrl) != null ? s : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
2870
- let i = "";
2871
- if (o && t && n && (i += `
2888
+ const Oo = /* @__PURE__ */ g(Vo, [["render", _o], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), No = (e) => {
2889
+ var s, i;
2890
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (i = e.fileUrl) != null ? i : (s = e == null ? void 0 : e.files) == null ? void 0 : s.regular;
2891
+ let r = "";
2892
+ if (o && t && n && (r += `
2872
2893
  @font-face {
2873
2894
  font-family: "${t}";
2874
2895
  src: local("${n}"), url('${o}') format('woff2');
@@ -2879,37 +2900,37 @@ font-weight: 400;
2879
2900
  for (const a in e.files) {
2880
2901
  if (!(String(Number(a)) === a))
2881
2902
  continue;
2882
- const c = e.files[a];
2883
- c && c !== o && (i += `
2903
+ const d = e.files[a];
2904
+ d && d !== o && (r += `
2884
2905
  @font-face {
2885
2906
  font-family: "${t}";
2886
- src: url('${c}') format('woff2');
2907
+ src: url('${d}') format('woff2');
2887
2908
  font-display: fallback;
2888
2909
  font-weight: ${a};
2889
2910
  }
2890
2911
  `.trim());
2891
2912
  }
2892
- return i;
2893
- }, Fo = ({
2913
+ return r;
2914
+ }, jo = ({
2894
2915
  customFonts: e
2895
2916
  }) => {
2896
2917
  var t;
2897
- return ((t = e == null ? void 0 : e.map((n) => Uo(n))) == null ? void 0 : t.join(" ")) || "";
2898
- }, Wo = ({
2918
+ return ((t = e == null ? void 0 : e.map((n) => No(n))) == null ? void 0 : t.join(" ")) || "";
2919
+ }, Uo = ({
2899
2920
  cssCode: e,
2900
2921
  contentId: t
2901
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Mo = b({
2922
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Fo = b({
2902
2923
  name: "content-styles",
2903
- components: { InlinedStyles: q },
2924
+ components: { InlinedStyles: G },
2904
2925
  props: ["cssCode", "contentId", "customFonts"],
2905
2926
  data() {
2906
2927
  return {
2907
2928
  injectedStyles: `
2908
- ${Wo({
2929
+ ${Uo({
2909
2930
  cssCode: this.cssCode,
2910
2931
  contentId: this.contentId
2911
2932
  })}
2912
- ${Fo({
2933
+ ${jo({
2913
2934
  customFonts: this.customFonts
2914
2935
  })}
2915
2936
 
@@ -2929,28 +2950,28 @@ ${Fo({
2929
2950
  };
2930
2951
  }
2931
2952
  });
2932
- function Lo(e, t, n, o, i, r) {
2933
- const s = y("inlined-styles");
2934
- return d(), k(s, { styles: e.injectedStyles }, null, 8, ["styles"]);
2953
+ function Mo(e, t, n, o, r, s) {
2954
+ const i = k("inlined-styles");
2955
+ return c(), y(i, { styles: e.injectedStyles }, null, 8, ["styles"]);
2935
2956
  }
2936
- const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Ko = ({
2957
+ const Lo = /* @__PURE__ */ g(Fo, [["render", Mo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Ho = ({
2937
2958
  content: e,
2938
2959
  data: t,
2939
2960
  locale: n
2940
2961
  }) => {
2941
- var r, s, a;
2942
- const o = {}, i = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.state) || {};
2943
- return (a = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || a.forEach((l) => {
2962
+ var s, i, a;
2963
+ const o = {}, r = ((s = e == null ? void 0 : e.data) == null ? void 0 : s.state) || {};
2964
+ return (a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.inputs) == null || a.forEach((l) => {
2944
2965
  l.name && l.defaultValue !== void 0 && (o[l.name] = l.defaultValue);
2945
2966
  }), {
2946
2967
  ...o,
2947
- ...i,
2968
+ ...r,
2948
2969
  ...t,
2949
2970
  ...n ? {
2950
2971
  locale: n
2951
2972
  } : {}
2952
2973
  };
2953
- }, Do = ({
2974
+ }, Ko = ({
2954
2975
  content: e,
2955
2976
  data: t
2956
2977
  }) => e ? {
@@ -2960,12 +2981,12 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
2960
2981
  ...t
2961
2982
  },
2962
2983
  meta: e == null ? void 0 : e.meta
2963
- } : void 0, zo = Je, qo = b({
2984
+ } : void 0, Do = Ye, zo = b({
2964
2985
  name: "content-component",
2965
2986
  components: {
2966
- EnableEditor: jo,
2987
+ EnableEditor: Oo,
2967
2988
  InlinedScript: Ue,
2968
- ContentStyles: Ho,
2989
+ ContentStyles: Lo,
2969
2990
  Blocks: oe
2970
2991
  },
2971
2992
  props: [
@@ -2976,11 +2997,15 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
2976
2997
  "context",
2977
2998
  "apiKey",
2978
2999
  "apiVersion",
3000
+ "blocksWrapper",
3001
+ "blocksWrapperProps",
2979
3002
  "model",
2980
3003
  "canTrack",
2981
3004
  "includeRefs",
2982
3005
  "enrich",
2983
3006
  "showContent",
3007
+ "contentWrapper",
3008
+ "contentWrapperProps",
2984
3009
  "isSsrAbTest"
2985
3010
  ],
2986
3011
  data() {
@@ -2995,22 +3020,22 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
2995
3020
  ...me,
2996
3021
  ...this.customComponents || []
2997
3022
  ].reduce(
2998
- (n, { component: o, ...i }) => ({
3023
+ (n, { component: o, ...r }) => ({
2999
3024
  ...n,
3000
- [i.name]: {
3001
- component: zo(o),
3002
- ...ee(i)
3025
+ [r.name]: {
3026
+ component: Do(o),
3027
+ ...te(r)
3003
3028
  }
3004
3029
  }),
3005
3030
  {}
3006
3031
  ),
3007
3032
  builderContextSignal: {
3008
- content: Do({
3033
+ content: Ko({
3009
3034
  content: this.content,
3010
3035
  data: this.data
3011
3036
  }),
3012
3037
  localState: void 0,
3013
- rootState: Ko({
3038
+ rootState: Ho({
3014
3039
  content: this.content,
3015
3040
  data: this.data,
3016
3041
  locale: this.locale
@@ -3024,13 +3049,15 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
3024
3049
  ...me,
3025
3050
  ...this.customComponents || []
3026
3051
  ].reduce(
3027
- (n, { component: o, ...i }) => ({
3052
+ (n, { component: o, ...r }) => ({
3028
3053
  ...n,
3029
- [i.name]: ee(i)
3054
+ [r.name]: te(r)
3030
3055
  }),
3031
3056
  {}
3032
3057
  ),
3033
- inheritedStyles: {}
3058
+ inheritedStyles: {},
3059
+ BlocksWrapper: this.blocksWrapper || "div",
3060
+ BlocksWrapperProps: this.blocksWrapperProps || {}
3034
3061
  },
3035
3062
  TARGET: R
3036
3063
  };
@@ -3038,7 +3065,7 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
3038
3065
  provide() {
3039
3066
  const e = this;
3040
3067
  return {
3041
- [we.key]: {
3068
+ [Ie.key]: {
3042
3069
  registeredComponents: e.registeredComponents
3043
3070
  }
3044
3071
  };
@@ -3049,9 +3076,9 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
3049
3076
  }
3050
3077
  }
3051
3078
  });
3052
- function Go(e, t, n, o, i, r) {
3053
- const s = y("inlined-script"), a = y("content-styles"), l = y("blocks"), c = y("enable-editor");
3054
- return d(), k(c, w({
3079
+ function qo(e, t, n, o, r, s) {
3080
+ const i = k("inlined-script"), a = k("content-styles"), l = k("blocks"), d = k("enable-editor");
3081
+ return c(), y(d, w({
3055
3082
  content: e.content,
3056
3083
  model: e.model,
3057
3084
  context: e.context,
@@ -3061,37 +3088,39 @@ function Go(e, t, n, o, i, r) {
3061
3088
  includeRefs: e.includeRefs,
3062
3089
  enrich: e.enrich,
3063
3090
  showContent: e.showContent,
3064
- builderContextSignal: e.builderContextSignal
3091
+ builderContextSignal: e.builderContextSignal,
3092
+ contentWrapper: e.contentWrapper,
3093
+ contentWrapperProps: e.contentWrapperProps
3065
3094
  }, {}), {
3066
- default: ne(() => {
3067
- var p, h, m, S, V, _, O;
3095
+ default: U(() => {
3096
+ var u, m, h, S, A, V, _;
3068
3097
  return [
3069
- e.isSsrAbTest ? (d(), k(s, {
3098
+ e.isSsrAbTest ? (c(), y(i, {
3070
3099
  key: 0,
3071
3100
  scriptStr: e.scriptStr
3072
3101
  }, null, 8, ["scriptStr"])) : f("v-if", !0),
3073
- e.TARGET !== "reactNative" ? (d(), k(a, {
3102
+ e.TARGET !== "reactNative" ? (c(), y(a, {
3074
3103
  key: 1,
3075
- contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
3076
- cssCode: (m = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : m.cssCode,
3077
- customFonts: (V = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : V.customFonts
3104
+ contentId: (u = e.builderContextSignal.content) == null ? void 0 : u.id,
3105
+ cssCode: (h = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : h.cssCode,
3106
+ customFonts: (A = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : A.customFonts
3078
3107
  }, null, 8, ["contentId", "cssCode", "customFonts"])) : f("v-if", !0),
3079
- B(l, {
3080
- blocks: (O = (_ = e.builderContextSignal.content) == null ? void 0 : _.data) == null ? void 0 : O.blocks,
3108
+ W(l, {
3109
+ blocks: (_ = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : _.blocks,
3081
3110
  context: e.builderContextSignal,
3082
3111
  registeredComponents: e.registeredComponents
3083
3112
  }, null, 8, ["blocks", "context", "registeredComponents"])
3084
3113
  ];
3085
3114
  }),
3086
3115
  _: 1
3087
- }, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal"]);
3116
+ }, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps"]);
3088
3117
  }
3089
- const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Yo = b({
3118
+ const Go = /* @__PURE__ */ g(zo, [["render", qo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Jo = b({
3090
3119
  name: "content-variants",
3091
3120
  components: {
3092
3121
  InlinedScript: Ue,
3093
- InlinedStyles: q,
3094
- ContentComponent: Jo
3122
+ InlinedStyles: G,
3123
+ ContentComponent: Go
3095
3124
  },
3096
3125
  props: [
3097
3126
  "canTrack",
@@ -3105,17 +3134,21 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/
3105
3134
  "customComponents",
3106
3135
  "locale",
3107
3136
  "includeRefs",
3108
- "enrich"
3137
+ "enrich",
3138
+ "blocksWrapper",
3139
+ "blocksWrapperProps",
3140
+ "contentWrapper",
3141
+ "contentWrapperProps"
3109
3142
  ],
3110
3143
  data() {
3111
3144
  return {
3112
3145
  shouldRenderVariants: Zn({
3113
- canTrack: U(this.canTrack),
3146
+ canTrack: j(this.canTrack),
3114
3147
  content: this.content
3115
3148
  }),
3116
3149
  TARGET: R,
3117
3150
  getScriptString: to,
3118
- getVariants: L
3151
+ getVariants: H
3119
3152
  };
3120
3153
  },
3121
3154
  mounted() {
@@ -3125,7 +3158,7 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/
3125
3158
  updateCookieAndStylesScriptStr() {
3126
3159
  var e;
3127
3160
  return no(
3128
- L(this.content).map((t) => ({
3161
+ H(this.content).map((t) => ({
3129
3162
  id: t.testVariationId,
3130
3163
  testRatio: t.testRatio
3131
3164
  })),
@@ -3133,7 +3166,7 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/
3133
3166
  );
3134
3167
  },
3135
3168
  hideVariantsStyleString() {
3136
- return L(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3169
+ return H(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3137
3170
  },
3138
3171
  defaultContent() {
3139
3172
  var e;
@@ -3142,28 +3175,28 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/
3142
3175
  testVariationId: (e = this.content) == null ? void 0 : e.id
3143
3176
  } : cn({
3144
3177
  item: this.content,
3145
- canTrack: U(this.canTrack)
3178
+ canTrack: j(this.canTrack)
3146
3179
  });
3147
3180
  }
3148
3181
  }
3149
3182
  });
3150
- function Qo(e, t, n, o, i, r) {
3151
- var c;
3152
- const s = y("inlined-script"), a = y("inlined-styles"), l = y("content-component");
3153
- return d(), u(C, null, [
3154
- !e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), k(s, {
3183
+ function Yo(e, t, n, o, r, s) {
3184
+ var d;
3185
+ const i = k("inlined-script"), a = k("inlined-styles"), l = k("content-component");
3186
+ return c(), p(C, null, [
3187
+ !e.__isNestedRender && e.TARGET !== "reactNative" ? (c(), y(i, {
3155
3188
  key: 0,
3156
3189
  scriptStr: e.getScriptString()
3157
3190
  }, null, 8, ["scriptStr"])) : f("v-if", !0),
3158
- e.shouldRenderVariants ? (d(), u(C, { key: 1 }, [
3159
- B(a, {
3160
- id: `variants-styles-${(c = e.content) == null ? void 0 : c.id}`,
3191
+ e.shouldRenderVariants ? (c(), p(C, { key: 1 }, [
3192
+ W(a, {
3193
+ id: `variants-styles-${(d = e.content) == null ? void 0 : d.id}`,
3161
3194
  styles: e.hideVariantsStyleString
3162
3195
  }, null, 8, ["id", "styles"]),
3163
- B(s, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
3164
- (d(!0), u(C, null, A(e.getVariants(e.content), (p, h) => (d(), k(l, {
3165
- key: p.testVariationId,
3166
- content: p,
3196
+ W(i, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
3197
+ (c(!0), p(C, null, B(e.getVariants(e.content), (u, m) => (c(), y(l, {
3198
+ key: u.testVariationId,
3199
+ content: u,
3167
3200
  showContent: !1,
3168
3201
  model: e.model,
3169
3202
  data: e.data,
@@ -3175,10 +3208,14 @@ function Qo(e, t, n, o, i, r) {
3175
3208
  locale: e.locale,
3176
3209
  includeRefs: e.includeRefs,
3177
3210
  enrich: e.enrich,
3178
- isSsrAbTest: e.shouldRenderVariants
3179
- }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"]))), 128))
3211
+ isSsrAbTest: e.shouldRenderVariants,
3212
+ blocksWrapper: e.blocksWrapper,
3213
+ blocksWrapperProps: e.blocksWrapperProps,
3214
+ contentWrapper: e.contentWrapper,
3215
+ contentWrapperProps: e.contentWrapperProps
3216
+ }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps"]))), 128))
3180
3217
  ], 64)) : f("v-if", !0),
3181
- B(l, w({
3218
+ W(l, w({
3182
3219
  content: e.defaultContent,
3183
3220
  showContent: !0,
3184
3221
  model: e.model,
@@ -3191,18 +3228,22 @@ function Qo(e, t, n, o, i, r) {
3191
3228
  locale: e.locale,
3192
3229
  includeRefs: e.includeRefs,
3193
3230
  enrich: e.enrich,
3194
- isSsrAbTest: e.shouldRenderVariants
3231
+ isSsrAbTest: e.shouldRenderVariants,
3232
+ blocksWrapper: e.blocksWrapper,
3233
+ blocksWrapperProps: e.blocksWrapperProps,
3234
+ contentWrapper: e.contentWrapper,
3235
+ contentWrapperProps: e.contentWrapperProps
3195
3236
  }, {
3196
3237
  key: e.shouldRenderVariants.toString()
3197
- }), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"])
3238
+ }), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps"])
3198
3239
  ], 64);
3199
3240
  }
3200
- const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Xo = async ({
3241
+ const Ge = /* @__PURE__ */ g(Jo, [["render", Yo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Qo = async ({
3201
3242
  builderContextValue: e,
3202
3243
  symbol: t
3203
3244
  }) => {
3204
3245
  if ((t == null ? void 0 : t.model) && (e == null ? void 0 : e.apiKey))
3205
- return G({
3246
+ return J({
3206
3247
  model: t.model,
3207
3248
  apiKey: e.apiKey,
3208
3249
  apiVersion: e.apiVersion,
@@ -3214,9 +3255,9 @@ const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/
3214
3255
  }).catch((n) => {
3215
3256
  $.error("Could not fetch symbol content: ", n);
3216
3257
  });
3217
- }, Zo = b({
3258
+ }, Xo = b({
3218
3259
  name: "builder-symbol",
3219
- components: { ContentVariants: qe },
3260
+ components: { ContentVariants: Ge },
3220
3261
  props: [
3221
3262
  "js",
3222
3263
  "attributes",
@@ -3227,7 +3268,7 @@ const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/
3227
3268
  ],
3228
3269
  data() {
3229
3270
  var e;
3230
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: z };
3271
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: q };
3231
3272
  },
3232
3273
  mounted() {
3233
3274
  this.setContent();
@@ -3258,7 +3299,7 @@ const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/
3258
3299
  },
3259
3300
  methods: {
3260
3301
  setContent() {
3261
- this.contentToUse || Xo({
3302
+ this.contentToUse || Qo({
3262
3303
  symbol: this.symbol,
3263
3304
  builderContextValue: this.builderContext
3264
3305
  }).then((e) => {
@@ -3276,13 +3317,13 @@ const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/
3276
3317
  }
3277
3318
  }
3278
3319
  });
3279
- function ei(e, t, n, o, i, r) {
3280
- var a, l, c, p;
3281
- const s = y("content-variants");
3282
- return d(), u("div", w({
3320
+ function Zo(e, t, n, o, r, s) {
3321
+ var a, l, d, u;
3322
+ const i = k("content-variants");
3323
+ return c(), p("div", w({
3283
3324
  class: e._classStringToObject(e.className)
3284
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3285
- B(s, {
3325
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3326
+ W(i, {
3286
3327
  __isNestedRender: !0,
3287
3328
  apiVersion: e.builderContext.apiVersion,
3288
3329
  apiKey: e.builderContext.apiKey,
@@ -3291,15 +3332,15 @@ function ei(e, t, n, o, i, r) {
3291
3332
  data: {
3292
3333
  ...(a = e.symbol) == null ? void 0 : a.data,
3293
3334
  ...e.builderContext.localState,
3294
- ...(c = (l = e.contentToUse) == null ? void 0 : l.data) == null ? void 0 : c.state
3335
+ ...(d = (l = e.contentToUse) == null ? void 0 : l.data) == null ? void 0 : d.state
3295
3336
  },
3296
- model: (p = e.symbol) == null ? void 0 : p.model,
3337
+ model: (u = e.symbol) == null ? void 0 : u.model,
3297
3338
  content: e.contentToUse
3298
3339
  }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
3299
3340
  ], 16);
3300
3341
  }
3301
- const ti = /* @__PURE__ */ g(Zo, [["render", ei], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), li = oe, ci = qe, ve = {};
3302
- function di(e) {
3342
+ const er = /* @__PURE__ */ g(Xo, [["render", Zo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), ar = oe, lr = Ge, ve = {};
3343
+ function cr(e) {
3303
3344
  if (v()) {
3304
3345
  Object.assign(ve, e);
3305
3346
  const t = {
@@ -3309,9 +3350,9 @@ function di(e) {
3309
3350
  parent.postMessage(t, "*");
3310
3351
  }
3311
3352
  }
3312
- const ui = async (e) => {
3313
- var o, i, r;
3314
- const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((i = e.userAttributes) == null ? void 0 : i.urlPath), n = {
3353
+ const dr = async (e) => {
3354
+ var o, r, s;
3355
+ const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
3315
3356
  ...e,
3316
3357
  apiKey: e.apiKey,
3317
3358
  model: e.model || "page",
@@ -3321,47 +3362,47 @@ const ui = async (e) => {
3321
3362
  urlPath: t
3322
3363
  } : {}
3323
3364
  },
3324
- options: We(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
3365
+ options: Me(e.searchParams || ((s = e.url) == null ? void 0 : s.searchParams) || e.options)
3325
3366
  };
3326
3367
  return {
3327
3368
  apiKey: n.apiKey,
3328
3369
  model: n.model,
3329
- content: await G(n)
3370
+ content: await J(n)
3330
3371
  };
3331
3372
  };
3332
3373
  export {
3333
- $e as B,
3334
- qe as C,
3374
+ Re as B,
3375
+ Ge as C,
3335
3376
  Mt as F,
3336
3377
  Jt as I,
3337
- li as R,
3378
+ ar as R,
3338
3379
  Xt as S,
3339
3380
  R as T,
3340
3381
  qn as V,
3341
3382
  g as _,
3342
- xe as a,
3343
- Z as b,
3344
- it as c,
3383
+ Ee as a,
3384
+ ee as b,
3385
+ st as c,
3345
3386
  oe as d,
3346
- K as e,
3347
- ci as f,
3348
- Ze as g,
3349
- Ut as h,
3350
- ti as i,
3351
- Un as j,
3387
+ D as e,
3388
+ lr as f,
3389
+ et as g,
3390
+ jt as h,
3391
+ er as i,
3392
+ jn as j,
3352
3393
  T as k,
3353
3394
  fo as l,
3354
3395
  Gn as m,
3355
3396
  ho as n,
3356
- Le as o,
3357
- G as p,
3358
- si as q,
3359
- Ao as r,
3360
- di as s,
3361
- ri as t,
3362
- We as u,
3363
- ai as v,
3364
- zo as w,
3365
- ui as x,
3366
- ii as y
3397
+ He as o,
3398
+ J as p,
3399
+ sr as q,
3400
+ Bo as r,
3401
+ cr as s,
3402
+ rr as t,
3403
+ Me as u,
3404
+ ir as v,
3405
+ Do as w,
3406
+ dr as x,
3407
+ or as y
3367
3408
  };