@builder.io/sdk-react-nextjs 0.5.8 → 0.6.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 (287) hide show
  1. package/lib/browser/USE_CLIENT_BUNDLE-29f9ac5c.js +23 -0
  2. package/lib/browser/USE_CLIENT_BUNDLE-dfa97c43.mjs +664 -0
  3. package/lib/browser/USE_SERVER_BUNDLE-25e181fa.js +1 -0
  4. package/lib/browser/USE_SERVER_BUNDLE-fcd44ecb.mjs +11 -0
  5. package/lib/browser/bundle-5cab6113.js +76 -0
  6. package/lib/browser/bundle-babbd573.mjs +2419 -0
  7. package/lib/browser/index.cjs +1 -0
  8. package/lib/browser/index.mjs +34 -0
  9. package/lib/edge/USE_CLIENT_BUNDLE-3cbb02d5.mjs +664 -0
  10. package/lib/edge/USE_CLIENT_BUNDLE-d0b99f60.js +23 -0
  11. package/lib/edge/USE_SERVER_BUNDLE-4eeb4634.mjs +11 -0
  12. package/lib/edge/USE_SERVER_BUNDLE-bbd89085.js +1 -0
  13. package/lib/edge/bundle-9ed99f98.mjs +4863 -0
  14. package/lib/edge/bundle-e4764e2a.js +96 -0
  15. package/lib/edge/index.cjs +1 -0
  16. package/lib/edge/index.mjs +34 -0
  17. package/lib/node/USE_CLIENT_BUNDLE-29f9ac5c.js +23 -0
  18. package/lib/node/USE_CLIENT_BUNDLE-dfa97c43.mjs +664 -0
  19. package/lib/node/USE_SERVER_BUNDLE-25e181fa.js +1 -0
  20. package/lib/node/USE_SERVER_BUNDLE-fcd44ecb.mjs +11 -0
  21. package/lib/node/bundle-5cab6113.js +76 -0
  22. package/lib/node/bundle-babbd573.mjs +2419 -0
  23. package/lib/node/index.cjs +1 -0
  24. package/lib/node/index.mjs +34 -0
  25. package/package.json +96 -13
  26. package/{dist → types}/components/content/content.types.d.ts +2 -2
  27. package/{dist → types}/components/content-variants/content-variants.d.ts +2 -2
  28. package/{dist → types}/components/content-variants/content-variants.types.d.ts +1 -1
  29. package/types/constants/sdk-version.d.ts +1 -0
  30. package/types/functions/deopt.d.ts +4 -0
  31. package/types/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  32. package/types/functions/evaluate/browser-runtime/index.d.ts +1 -0
  33. package/types/functions/evaluate/evaluate.d.ts +6 -0
  34. package/types/functions/evaluate/helpers.d.ts +18 -0
  35. package/types/functions/evaluate/index.d.ts +1 -0
  36. package/{dist → types}/functions/fetch-builder-props.d.ts +4 -3
  37. package/{dist → types}/functions/get-content/index.d.ts +4 -5
  38. package/{dist → types}/index-helpers/blocks-exports.d.ts +2 -2
  39. package/types/index.d.ts +7 -0
  40. package/{dist/index.d.ts → types/server-index.d.ts} +0 -1
  41. package/dist/blocks/button/button.js +0 -12
  42. package/dist/blocks/button/component-info.js +0 -34
  43. package/dist/blocks/columns/columns.js +0 -119
  44. package/dist/blocks/columns/component-info.js +0 -219
  45. package/dist/blocks/custom-code/component-info.js +0 -23
  46. package/dist/blocks/custom-code/custom-code.js +0 -51
  47. package/dist/blocks/embed/component-info.js +0 -39
  48. package/dist/blocks/embed/embed.js +0 -42
  49. package/dist/blocks/embed/helpers.js +0 -2
  50. package/dist/blocks/fragment/component-info.js +0 -7
  51. package/dist/blocks/fragment/fragment.js +0 -6
  52. package/dist/blocks/helpers.js +0 -40
  53. package/dist/blocks/image/component-info.js +0 -122
  54. package/dist/blocks/image/image.helpers.js +0 -47
  55. package/dist/blocks/image/image.js +0 -82
  56. package/dist/blocks/img/component-info.js +0 -15
  57. package/dist/blocks/img/img.js +0 -10
  58. package/dist/blocks/section/component-info.js +0 -40
  59. package/dist/blocks/section/section.js +0 -17
  60. package/dist/blocks/symbol/component-info.js +0 -34
  61. package/dist/blocks/symbol/symbol.helpers.js +0 -31
  62. package/dist/blocks/symbol/symbol.js +0 -29
  63. package/dist/blocks/text/component-info.js +0 -19
  64. package/dist/blocks/text/text.js +0 -7
  65. package/dist/blocks/video/component-info.js +0 -82
  66. package/dist/blocks/video/video.js +0 -50
  67. package/dist/components/block/block.helpers.js +0 -69
  68. package/dist/components/block/block.js +0 -92
  69. package/dist/components/block/components/block-styles.js +0 -65
  70. package/dist/components/block/components/block-wrapper.js +0 -36
  71. package/dist/components/block/components/component-ref/component-ref.helpers.js +0 -22
  72. package/dist/components/block/components/component-ref/component-ref.js +0 -21
  73. package/dist/components/block/components/interactive-element.js +0 -20
  74. package/dist/components/block/components/repeated-block.js +0 -7
  75. package/dist/components/block/types.js +0 -1
  76. package/dist/components/blocks/blocks-wrapper.js +0 -38
  77. package/dist/components/blocks/blocks.js +0 -10
  78. package/dist/components/content/components/enable-editor.js +0 -250
  79. package/dist/components/content/components/styles.helpers.js +0 -58
  80. package/dist/components/content/components/styles.js +0 -30
  81. package/dist/components/content/content.helpers.js +0 -30
  82. package/dist/components/content/content.js +0 -74
  83. package/dist/components/content/content.types.js +0 -1
  84. package/dist/components/content/wrap-component-ref.js +0 -6
  85. package/dist/components/content-variants/content-variants.js +0 -45
  86. package/dist/components/content-variants/content-variants.types.js +0 -1
  87. package/dist/components/content-variants/helpers.js +0 -189
  88. package/dist/components/inlined-script.js +0 -5
  89. package/dist/components/inlined-styles.js +0 -5
  90. package/dist/constants/builder-registered-components.js +0 -60
  91. package/dist/constants/device-sizes.js +0 -45
  92. package/dist/constants/sdk-version.d.ts +0 -1
  93. package/dist/constants/sdk-version.js +0 -1
  94. package/dist/constants/target.js +0 -2
  95. package/dist/context/builder.context.js +0 -12
  96. package/dist/context/components.context.js +0 -2
  97. package/dist/context/types.js +0 -1
  98. package/dist/functions/camel-to-kebab-case.js +0 -1
  99. package/dist/functions/evaluate/acorn-interpreter.d.ts +0 -2
  100. package/dist/functions/evaluate/acorn-interpreter.js +0 -3111
  101. package/dist/functions/evaluate/evaluate.d.ts +0 -10
  102. package/dist/functions/evaluate/evaluate.js +0 -70
  103. package/dist/functions/evaluate/index.d.ts +0 -1
  104. package/dist/functions/evaluate/index.js +0 -1
  105. package/dist/functions/evaluate/non-node-runtime/index.d.ts +0 -1
  106. package/dist/functions/evaluate/non-node-runtime/index.js +0 -2
  107. package/dist/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +0 -2
  108. package/dist/functions/evaluate/non-node-runtime/non-node-runtime.js +0 -84
  109. package/dist/functions/evaluate/types.d.ts +0 -11
  110. package/dist/functions/evaluate/types.js +0 -1
  111. package/dist/functions/event-handler-name.js +0 -4
  112. package/dist/functions/extract-text-styles.js +0 -22
  113. package/dist/functions/fast-clone.js +0 -4
  114. package/dist/functions/fetch-builder-props.js +0 -25
  115. package/dist/functions/get-block-actions-handler.js +0 -10
  116. package/dist/functions/get-block-actions.js +0 -28
  117. package/dist/functions/get-block-component-options.js +0 -10
  118. package/dist/functions/get-block-properties.js +0 -72
  119. package/dist/functions/get-builder-search-params/index.js +0 -38
  120. package/dist/functions/get-content/generate-content-url.js +0 -33
  121. package/dist/functions/get-content/index.js +0 -100
  122. package/dist/functions/get-content/types.js +0 -1
  123. package/dist/functions/get-fetch.js +0 -11
  124. package/dist/functions/get-global-this.js +0 -15
  125. package/dist/functions/get-processed-block.js +0 -46
  126. package/dist/functions/get-react-native-block-styles.js +0 -17
  127. package/dist/functions/is-browser.js +0 -3
  128. package/dist/functions/is-editing.js +0 -5
  129. package/dist/functions/is-iframe.js +0 -4
  130. package/dist/functions/is-non-node-server.d.ts +0 -4
  131. package/dist/functions/is-non-node-server.js +0 -8
  132. package/dist/functions/is-previewing.js +0 -11
  133. package/dist/functions/register-component.js +0 -38
  134. package/dist/functions/register.js +0 -27
  135. package/dist/functions/sanitize-react-native-block-styles.js +0 -61
  136. package/dist/functions/set-editor-settings.js +0 -12
  137. package/dist/functions/set.js +0 -14
  138. package/dist/functions/track/helpers.js +0 -51
  139. package/dist/functions/track/index.js +0 -71
  140. package/dist/functions/track/interaction.js +0 -53
  141. package/dist/functions/transform-block-properties.js +0 -5
  142. package/dist/functions/transform-block.js +0 -4
  143. package/dist/helpers/ab-tests.js +0 -122
  144. package/dist/helpers/canTrack.js +0 -2
  145. package/dist/helpers/cookie.js +0 -55
  146. package/dist/helpers/css.js +0 -27
  147. package/dist/helpers/flatten.js +0 -19
  148. package/dist/helpers/localStorage.js +0 -24
  149. package/dist/helpers/logger.js +0 -7
  150. package/dist/helpers/nullable.js +0 -1
  151. package/dist/helpers/preview-lru-cache/get.js +0 -9
  152. package/dist/helpers/preview-lru-cache/helpers.js +0 -9
  153. package/dist/helpers/preview-lru-cache/init.js +0 -15
  154. package/dist/helpers/preview-lru-cache/set.js +0 -7
  155. package/dist/helpers/preview-lru-cache/types.js +0 -6
  156. package/dist/helpers/sessionId.js +0 -30
  157. package/dist/helpers/url.js +0 -15
  158. package/dist/helpers/uuid.js +0 -15
  159. package/dist/helpers/visitorId.js +0 -30
  160. package/dist/index-helpers/blocks-exports.js +0 -19
  161. package/dist/index-helpers/top-of-file.js +0 -4
  162. package/dist/index.js +0 -11
  163. package/dist/scripts/init-editing.js +0 -110
  164. package/dist/types/api-version.js +0 -1
  165. package/dist/types/builder-block.js +0 -1
  166. package/dist/types/builder-content.js +0 -1
  167. package/dist/types/builder-props.js +0 -1
  168. package/dist/types/can-track.js +0 -1
  169. package/dist/types/components.js +0 -1
  170. package/dist/types/deep-partial.js +0 -1
  171. package/dist/types/element.js +0 -1
  172. package/dist/types/enforced-partials.js +0 -1
  173. package/dist/types/input.js +0 -1
  174. package/dist/types/targets.js +0 -1
  175. package/dist/types/typescript.js +0 -1
  176. /package/{dist → types}/blocks/button/button.d.ts +0 -0
  177. /package/{dist → types}/blocks/button/component-info.d.ts +0 -0
  178. /package/{dist → types}/blocks/columns/columns.d.ts +0 -0
  179. /package/{dist → types}/blocks/columns/component-info.d.ts +0 -0
  180. /package/{dist → types}/blocks/custom-code/component-info.d.ts +0 -0
  181. /package/{dist → types}/blocks/custom-code/custom-code.d.ts +0 -0
  182. /package/{dist → types}/blocks/embed/component-info.d.ts +0 -0
  183. /package/{dist → types}/blocks/embed/embed.d.ts +0 -0
  184. /package/{dist → types}/blocks/embed/helpers.d.ts +0 -0
  185. /package/{dist → types}/blocks/fragment/component-info.d.ts +0 -0
  186. /package/{dist → types}/blocks/fragment/fragment.d.ts +0 -0
  187. /package/{dist → types}/blocks/helpers.d.ts +0 -0
  188. /package/{dist → types}/blocks/image/component-info.d.ts +0 -0
  189. /package/{dist → types}/blocks/image/image.d.ts +0 -0
  190. /package/{dist → types}/blocks/image/image.helpers.d.ts +0 -0
  191. /package/{dist → types}/blocks/img/component-info.d.ts +0 -0
  192. /package/{dist → types}/blocks/img/img.d.ts +0 -0
  193. /package/{dist → types}/blocks/section/component-info.d.ts +0 -0
  194. /package/{dist → types}/blocks/section/section.d.ts +0 -0
  195. /package/{dist → types}/blocks/symbol/component-info.d.ts +0 -0
  196. /package/{dist → types}/blocks/symbol/symbol.d.ts +0 -0
  197. /package/{dist → types}/blocks/symbol/symbol.helpers.d.ts +0 -0
  198. /package/{dist → types}/blocks/text/component-info.d.ts +0 -0
  199. /package/{dist → types}/blocks/text/text.d.ts +0 -0
  200. /package/{dist → types}/blocks/video/component-info.d.ts +0 -0
  201. /package/{dist → types}/blocks/video/video.d.ts +0 -0
  202. /package/{dist → types}/components/block/block.d.ts +0 -0
  203. /package/{dist → types}/components/block/block.helpers.d.ts +0 -0
  204. /package/{dist → types}/components/block/components/block-styles.d.ts +0 -0
  205. /package/{dist → types}/components/block/components/block-wrapper.d.ts +0 -0
  206. /package/{dist → types}/components/block/components/component-ref/component-ref.d.ts +0 -0
  207. /package/{dist → types}/components/block/components/component-ref/component-ref.helpers.d.ts +0 -0
  208. /package/{dist → types}/components/block/components/interactive-element.d.ts +0 -0
  209. /package/{dist → types}/components/block/components/repeated-block.d.ts +0 -0
  210. /package/{dist → types}/components/block/types.d.ts +0 -0
  211. /package/{dist → types}/components/blocks/blocks-wrapper.d.ts +0 -0
  212. /package/{dist → types}/components/blocks/blocks.d.ts +0 -0
  213. /package/{dist → types}/components/content/components/enable-editor.d.ts +0 -0
  214. /package/{dist → types}/components/content/components/styles.d.ts +0 -0
  215. /package/{dist → types}/components/content/components/styles.helpers.d.ts +0 -0
  216. /package/{dist → types}/components/content/content.d.ts +0 -0
  217. /package/{dist → types}/components/content/content.helpers.d.ts +0 -0
  218. /package/{dist → types}/components/content/wrap-component-ref.d.ts +0 -0
  219. /package/{dist → types}/components/content-variants/helpers.d.ts +0 -0
  220. /package/{dist → types}/components/inlined-script.d.ts +0 -0
  221. /package/{dist → types}/components/inlined-styles.d.ts +0 -0
  222. /package/{dist → types}/constants/builder-registered-components.d.ts +0 -0
  223. /package/{dist → types}/constants/device-sizes.d.ts +0 -0
  224. /package/{dist → types}/constants/target.d.ts +0 -0
  225. /package/{dist → types}/context/builder.context.d.ts +0 -0
  226. /package/{dist → types}/context/components.context.d.ts +0 -0
  227. /package/{dist → types}/context/types.d.ts +0 -0
  228. /package/{dist → types}/functions/camel-to-kebab-case.d.ts +0 -0
  229. /package/{dist → types}/functions/event-handler-name.d.ts +0 -0
  230. /package/{dist → types}/functions/extract-text-styles.d.ts +0 -0
  231. /package/{dist → types}/functions/fast-clone.d.ts +0 -0
  232. /package/{dist → types}/functions/get-block-actions-handler.d.ts +0 -0
  233. /package/{dist → types}/functions/get-block-actions.d.ts +0 -0
  234. /package/{dist → types}/functions/get-block-component-options.d.ts +0 -0
  235. /package/{dist → types}/functions/get-block-properties.d.ts +0 -0
  236. /package/{dist → types}/functions/get-builder-search-params/index.d.ts +0 -0
  237. /package/{dist → types}/functions/get-content/generate-content-url.d.ts +0 -0
  238. /package/{dist → types}/functions/get-content/types.d.ts +0 -0
  239. /package/{dist → types}/functions/get-fetch.d.ts +0 -0
  240. /package/{dist → types}/functions/get-global-this.d.ts +0 -0
  241. /package/{dist → types}/functions/get-processed-block.d.ts +0 -0
  242. /package/{dist → types}/functions/get-react-native-block-styles.d.ts +0 -0
  243. /package/{dist → types}/functions/is-browser.d.ts +0 -0
  244. /package/{dist → types}/functions/is-editing.d.ts +0 -0
  245. /package/{dist → types}/functions/is-iframe.d.ts +0 -0
  246. /package/{dist → types}/functions/is-previewing.d.ts +0 -0
  247. /package/{dist → types}/functions/register-component.d.ts +0 -0
  248. /package/{dist → types}/functions/register.d.ts +0 -0
  249. /package/{dist → types}/functions/sanitize-react-native-block-styles.d.ts +0 -0
  250. /package/{dist → types}/functions/set-editor-settings.d.ts +0 -0
  251. /package/{dist → types}/functions/set.d.ts +0 -0
  252. /package/{dist → types}/functions/track/helpers.d.ts +0 -0
  253. /package/{dist → types}/functions/track/index.d.ts +0 -0
  254. /package/{dist → types}/functions/track/interaction.d.ts +0 -0
  255. /package/{dist → types}/functions/transform-block-properties.d.ts +0 -0
  256. /package/{dist → types}/functions/transform-block.d.ts +0 -0
  257. /package/{dist → types}/helpers/ab-tests.d.ts +0 -0
  258. /package/{dist → types}/helpers/canTrack.d.ts +0 -0
  259. /package/{dist → types}/helpers/cookie.d.ts +0 -0
  260. /package/{dist → types}/helpers/css.d.ts +0 -0
  261. /package/{dist → types}/helpers/flatten.d.ts +0 -0
  262. /package/{dist → types}/helpers/localStorage.d.ts +0 -0
  263. /package/{dist → types}/helpers/logger.d.ts +0 -0
  264. /package/{dist → types}/helpers/nullable.d.ts +0 -0
  265. /package/{dist → types}/helpers/preview-lru-cache/get.d.ts +0 -0
  266. /package/{dist → types}/helpers/preview-lru-cache/helpers.d.ts +0 -0
  267. /package/{dist → types}/helpers/preview-lru-cache/init.d.ts +0 -0
  268. /package/{dist → types}/helpers/preview-lru-cache/set.d.ts +0 -0
  269. /package/{dist → types}/helpers/preview-lru-cache/types.d.ts +0 -0
  270. /package/{dist → types}/helpers/sessionId.d.ts +0 -0
  271. /package/{dist → types}/helpers/url.d.ts +0 -0
  272. /package/{dist → types}/helpers/uuid.d.ts +0 -0
  273. /package/{dist → types}/helpers/visitorId.d.ts +0 -0
  274. /package/{dist → types}/index-helpers/top-of-file.d.ts +0 -0
  275. /package/{dist → types}/scripts/init-editing.d.ts +0 -0
  276. /package/{dist → types}/types/api-version.d.ts +0 -0
  277. /package/{dist → types}/types/builder-block.d.ts +0 -0
  278. /package/{dist → types}/types/builder-content.d.ts +0 -0
  279. /package/{dist → types}/types/builder-props.d.ts +0 -0
  280. /package/{dist → types}/types/can-track.d.ts +0 -0
  281. /package/{dist → types}/types/components.d.ts +0 -0
  282. /package/{dist → types}/types/deep-partial.d.ts +0 -0
  283. /package/{dist → types}/types/element.d.ts +0 -0
  284. /package/{dist → types}/types/enforced-partials.d.ts +0 -0
  285. /package/{dist → types}/types/input.d.ts +0 -0
  286. /package/{dist → types}/types/targets.d.ts +0 -0
  287. /package/{dist → types}/types/typescript.d.ts +0 -0
@@ -0,0 +1,76 @@
1
+ "use strict";const Ve=require("lru-cache"),s=require("react/jsx-runtime"),$e=require("react"),v=require("./USE_CLIENT_BUNDLE-29f9ac5c.js");require("next/navigation");const I=e=>JSON.parse(JSON.stringify(e)),ie={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Be=(e,t=ie)=>`@media (max-width: ${t[e].max}px)`,re=({small:e,medium:t})=>{const n=I(ie);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const i=n.small.max+1;n.medium={max:t,min:i,default:i+1};const r=n.medium.max+1;return n.large={max:2e3,min:r,default:r+1},n},C="rsc",T="[Builder.io]: ",k={log:(...e)=>console.log(T,...e),error:(...e)=>console.error(T,...e),warn:(...e)=>console.warn(T,...e),debug:(...e)=>console.debug(T,...e)};function S(){return typeof window<"u"&&typeof document<"u"}function Fe(){return S()&&window.self!==window.top}function E(){return Fe()&&window.location.search.indexOf("builder.frameEditing=")!==-1}const Pe=()=>{if(S()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},Oe=()=>typeof navigator=="object"&&navigator.userAgent||"",ae=()=>{const e=Oe(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||C==="reactNative"}},n=e.match(/Tablet|iPad/i),o=Pe();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},We=({builder:e,context:t,event:n,state:o})=>Object.entries({state:o,Builder:e,builder:e,context:t,event:n}),Ne=({code:e,builder:t,context:n,event:o,localState:i,rootSetState:r,rootState:a})=>{const l=We({builder:t,context:n,event:o,state:Le(a,i,r)});return new Function(...l.map(([c])=>c),e)(...l.map(([,c])=>c))};function Le(e,t,n){if(e===t)throw new Error("rootState === localState");return new Proxy(e,{get:(o,i)=>t&&i in t?t[i]:e[i],set:(o,i,r)=>{if(t&&i in t)throw new Error("Writing to local state is not allowed as it is read-only.");return e[i]=r,n==null||n(e),!0}})}function A({code:e,context:t,localState:n,rootState:o,rootSetState:i,event:r,isExpression:a=!0}){if(e===""){k.warn("Skipping evaluation of empty code block.");return}const l={isEditing:E(),isBrowser:S(),isServer:!S(),getUserAttributes:()=>ae()},f={code:a&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,builder:l,context:t,event:r,rootSetState:i,rootState:o,localState:n};try{return Ne(f)}catch(h){k.error("Failed code evaluation: "+h.message,{code:e});return}}const Me=(e,t,n)=>{if(Object(e)!==e)return e;const o=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return o.slice(0,-1).reduce((i,r,a)=>Object(i[r])===i[r]?i[r]:i[r]=Math.abs(Number(o[a+1]))>>0===+o[a+1]?[]:{},e)[o[o.length-1]]=n,e};const _e=({block:e,context:t,localState:n,rootState:o,rootSetState:i})=>{if(!e.bindings)return e;const r=I(e),a={...r,properties:{...r.properties},actions:{...r.actions}};for(const l in e.bindings){const c=e.bindings[l],u=A({code:c,localState:n,rootState:o,rootSetState:i,context:t});Me(a,l,u)}return a};function L({block:e,context:t,shouldEvaluateBindings:n,localState:o,rootState:i,rootSetState:r}){const a=e;return n?_e({block:a,localState:o,rootState:i,rootSetState:r,context:t}):a}const Ue=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),w=e=>e!=null,se=e=>Object.entries(e).map(([n,o])=>{if(typeof o=="string")return`${Ue(n)}: ${o};`}).filter(w),Ke=e=>se(e).join(`
2
+ `),He=({mediaQuery:e,className:t,styles:n})=>{const o=`.${t} {
3
+ ${Ke(n)}
4
+ }`;return e?`${e} {
5
+ ${o}
6
+ }`:o};function j(e){return s.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},id:e.id})}function De(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options,builderBlock:e}}const ze=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],F=e=>typeof e=="string"&&ze.includes(e.toLowerCase()),qe=({block:e,context:t,registeredComponents:n})=>{var r;const o=(r=L({block:e,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,shouldEvaluateBindings:!1}).component)==null?void 0:r.name;if(!o)return null;const i=n[o];if(i)return i;console.warn(`
7
+ Could not find a registered component named "${o}".
8
+ If you registered it, is the file that registered it imported by the file that needs to render it?`)},Ge=({block:e,context:t})=>{const{repeat:n,...o}=e;if(!(n!=null&&n.collection))return;const i=A({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(i))return;const r=n.collection.split(".").pop(),a=n.itemName||(r?r+"Item":"item");return i.map((c,u)=>({context:{...t,localState:{...t.localState,$index:u,$item:c,[a]:c,[`$${a}Index`]:u}},block:o}))};function Je(e){const t=e.repeatContext;return s.jsx(V,{block:e.block,context:t,registeredComponents:e.registeredComponents})}function Ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Xe=e=>`on${Ye(e)}`,Qe=(e,t)=>n=>A({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function Ze(e){const t={},n=e.block.actions??{};for(const o in n){if(!n.hasOwnProperty(o))continue;const i=n[o];let r=Xe(o);if(e.stripPrefix)switch(C){case"vue2":case"vue3":r=r.replace("v-on:","");break;case"svelte":r=r.replace("on:","");break}t[r]=Qe(i,e)}return t}function et(e){return e.className=e.class,delete e.class,e}const tt=e=>({href:e.href});function ce({block:e,context:t}){var o;const n={...tt(e),...e.properties,"builder-id":e.id,style:e.style?nt(e.style):void 0,class:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return et(n)}function nt(e){switch(C){case"svelte":case"vue2":case"vue3":case"solid":return se(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const ot=({componentOptions:e,builderBlock:t,context:n,componentRef:o,includeBlockProps:i,isInteractive:r,contextValue:a})=>r?{Wrapper:o,block:t,context:n,wrapperProps:e}:{...e,...i?{attributes:ce({block:t,context:a})}:{}};function q(e){var n,o;const t=e.isInteractive?v.InteractiveElement:e.componentRef;return s.jsx(s.Fragment,{children:e.componentRef?s.jsx(s.Fragment,{children:s.jsxs(t,{...ot({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:[(n=e.blockChildren)==null?void 0:n.map(i=>s.jsx(V,{block:i,context:e.context,registeredComponents:e.registeredComponents},"block-"+i.id)),(o=e.blockChildren)==null?void 0:o.map(i=>s.jsx(v.BlockStyles,{block:i,context:e.context},"block-style-"+i.id))]})}):null})}function V(e){var u,f,h,p;const t=function(){return qe({block:e.block,context:e.context,registeredComponents:e.registeredComponents})},n=function(){return Ge({block:e.block,context:e.context})},o=function(){return n()?e.block:L({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0})},i=function(){return e.block.tagName||"div"},r=function(){return"hide"in o()?!o().hide:"show"in o()?o().show:!0},a=function(){var d;return!((d=t())!=null&&d.component)&&!n()?o().children??[]:[]},l=function(){var g,d,b,x,y;return{blockChildren:o().children??[],componentRef:(g=t())==null?void 0:g.component,componentOptions:{...De(o()),builderContext:e.context,...((d=t())==null?void 0:d.name)==="Symbol"||((b=t())==null?void 0:b.name)==="Columns"?{builderComponents:e.registeredComponents}:{}},context:c,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((x=t())==null?void 0:x.noWrap)===!0,isInteractive:!((y=t())!=null&&y.isRSC)}},c=e.context;return s.jsx(s.Fragment,{children:r()?s.jsx(s.Fragment,{children:(u=t())!=null&&u.noWrap?s.jsx(s.Fragment,{children:s.jsx(q,{...l()})}):s.jsxs(s.Fragment,{children:[F(i())?s.jsx(s.Fragment,{children:s.jsx(v.BlockWrapper,{Wrapper:i(),block:o(),context:e.context,hasChildren:!1})}):null,!F(i())&&n()?s.jsx(s.Fragment,{children:(f=n())==null?void 0:f.map((m,g)=>s.jsx(Je,{repeatContext:m.context,block:m.block,registeredComponents:e.registeredComponents},g))}):null,!F(i())&&!n()?s.jsx(s.Fragment,{children:s.jsxs(v.BlockWrapper,{Wrapper:i(),block:o(),context:e.context,hasChildren:!0,children:[s.jsx(q,{...l()}),(h=a())==null?void 0:h.map(m=>s.jsx(V,{block:m,context:c,registeredComponents:e.registeredComponents},"block-"+m.id)),(p=a())==null?void 0:p.map(m=>s.jsx(v.BlockStyles,{block:m,context:c},"block-style-"+m.id))]})}):null]})}):null})}function $(e){var t,n;return s.jsxs(v.BlocksWrapper,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,children:[e.blocks?s.jsx(s.Fragment,{children:(t=e.blocks)==null?void 0:t.map(o=>s.jsx(V,{block:o,context:e.context,registeredComponents:e.registeredComponents},"render-block-"+o.id))}):null,e.blocks?s.jsx(s.Fragment,{children:(n=e.blocks)==null?void 0:n.map(o=>s.jsx(v.BlockStyles,{block:o,context:e.context},"block-style-"+o.id))}):null]})}function le(e){var m;const t=typeof e.space=="number"?e.space||0:20,n=e.columns||[],o=e.stackColumnsAt||"tablet",i=function(d){var b;return((b=n[d])==null?void 0:b.width)||100/n.length},r=function(d){const b=t*(n.length-1)/n.length;return`calc(${i(d)}% - ${b}px)`},a=function({stackedStyle:d,desktopStyle:b}){return o==="tablet"?d:b},l=function({stackedStyle:d,desktopStyle:b}){return o==="never"?b:d},c=e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column",u=function(){return{"--flex-dir":c,"--flex-dir-tablet":a({stackedStyle:c,desktopStyle:"row"})}},f=function(d){const b=d===0?0:t,x=r(d),y=`${b}px`,D="100%",z=0;return{width:x,["marginLeft"]:y,"--column-width-mobile":l({stackedStyle:D,desktopStyle:x}),"--column-margin-left-mobile":l({stackedStyle:z,desktopStyle:y}),"--column-width-tablet":a({stackedStyle:D,desktopStyle:x}),"--column-margin-left-tablet":a({stackedStyle:z,desktopStyle:y})}},h=function(d){var x,y;return re(((y=(x=e.builderContext.content)==null?void 0:x.meta)==null?void 0:y.breakpoints)||{})[d].max},p=function(){return`
9
+ @media (max-width: ${h("medium")}px) {
10
+ .${e.builderBlock.id}-breakpoints {
11
+ flex-direction: var(--flex-dir-tablet);
12
+ align-items: stretch;
13
+ }
14
+
15
+ .${e.builderBlock.id}-breakpoints > .builder-column {
16
+ width: var(--column-width-tablet) !important;
17
+ margin-left: var(--column-margin-left-tablet) !important;
18
+ }
19
+ }
20
+
21
+ @media (max-width: ${h("small")}px) {
22
+ .${e.builderBlock.id}-breakpoints {
23
+ flex-direction: var(--flex-dir);
24
+ align-items: stretch;
25
+ }
26
+
27
+ .${e.builderBlock.id}-breakpoints > .builder-column {
28
+ width: var(--column-width-mobile) !important;
29
+ margin-left: var(--column-margin-left-mobile) !important;
30
+ }
31
+ },
32
+ `};return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:`builder-columns ${e.builderBlock.id}-breakpoints div-119431c8`,style:u(),children:[s.jsx(s.Fragment,{children:s.jsx(j,{styles:p()})}),(m=e.columns)==null?void 0:m.map((g,d)=>$e.createElement("div",{className:"builder-column div-119431c8-2",style:f(d),key:d},s.jsx($,{path:`component.options.columns.${d}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,blocks:g.blocks})))]}),s.jsx("style",{children:`.div-119431c8 {
33
+ display: flex;
34
+ line-height: normal;
35
+ }.div-119431c8-2 {
36
+ display: flex;
37
+ flex-direction: column;
38
+ align-items: stretch;
39
+ }`})]})}function G(e){return e.replace(/http(s)?:/,"")}function it(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+i+t+"="+encodeURIComponent(n)}function rt(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return G(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),i=n[3],r=t.match("x")?t:`${t}x`;return G(`${o[0]}_${r}${i}`)}return null}function at(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(i=>i!==o).map(i=>`${it(e,"width",i)} ${i}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[rt(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const R=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),st=({canTrack:e,content:t})=>!(!(R(t).length>0)||!e||S());function ct(e,t,n){var a;function o(){function l(g,d,b){let x="";if(b){const y=new Date;y.setTime(y.getTime()+b*24*60*60*1e3),x="; expires="+y.toUTCString()}document.cookie=g+"="+(d||"")+x+"; path=/; Secure; SameSite=None"}function c(g){const d=g+"=",b=document.cookie.split(";");for(let x=0;x<b.length;x++){let y=b[x];for(;y.charAt(0)===" ";)y=y.substring(1,y.length);if(y.indexOf(d)===0)return y.substring(d.length,y.length)}return null}const u=`builder.tests.${e}`,f=c(u),h=t.map(g=>g.id).concat(e);if(f&&h.includes(f))return f;let p=0;const m=Math.random();for(let g=0;g<t.length;g++){const d=t[g],b=d.testRatio;if(p+=b,m<p)return l(u,d.id),d.id}return l(u,e),e}const i=o(),r=(a=document.currentScript)==null?void 0:a.previousElementSibling;if(n){r.remove();const l=document.currentScript;l==null||l.remove()}else{const l=t.concat({id:e}).filter(c=>c.id!==i).map(c=>`.variant-${c.id} { display: none; }
40
+ `).join("");r.innerHTML=l}}function lt(e,t,n){var c;if(!navigator.cookieEnabled)return;function o(u){const f=u+"=",h=document.cookie.split(";");for(let p=0;p<h.length;p++){let m=h[p];for(;m.charAt(0)===" ";)m=m.substring(1,m.length);if(m.indexOf(f)===0)return m.substring(f.length,m.length)}return null}const i=`builder.tests.${t}`,r=o(i),a=(c=document.currentScript)==null?void 0:c.parentElement,l=e===t;if(r===e){if(l)return;a==null||a.removeAttribute("hidden"),a==null||a.removeAttribute("aria-hidden")}else{l&&(n?a==null||a.remove():(a==null||a.setAttribute("hidden","true"),a==null||a.setAttribute("aria-hidden","true")));return}}const ut=e=>e==="react"||e==="reactNative",ue=ut(C),de="builderIoAbTest",me="builderIoRenderContent",dt=()=>{const e=ct.toString().replace(/\s+/g," "),t=lt.toString().replace(/\s+/g," ");return`
41
+ window.${de} = ${e}
42
+ window.${me} = ${t}
43
+ `},mt=(e,t)=>`
44
+ window.${de}("${t}",${JSON.stringify(e)}, ${ue})`,ft=({contentId:e,variationId:t})=>`
45
+ window.${me}("${t}", "${e}", ${ue})`,gt={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},ht={name:"Columns",isRSC:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:e=>{function t(){n.forEach(o=>{o.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(i=>i.get("width"))&&(n.find(r=>!r.get("width"))||n.reduce((l,c)=>l+c.get("width"),0)!==100)&&t()}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},pt={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},bt={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(a,l=6e4){return new Promise((c,u)=>{const f=document.createElement("img");let h=!1;f.onload=()=>{h=!0,c(f)},f.addEventListener("error",p=>{console.warn("Image load failed",p.error),u(p.error)}),f.src=a,setTimeout(()=>{h||u(new Error("Image load timed out"))},l)})}function o(a){return Math.round(a*1e3)/1e3}const i=e.get("image"),r=e.get("aspectRatio");if(fetch(i).then(a=>a.blob()).then(a=>{a.type.includes("svg")&&e.set("noWebp",!0)}),i&&(!r||r===.7041))return n(i).then(a=>{const l=e.get("aspectRatio");e.get("image")===i&&(!l||l===.7041)&&a.width&&a.height&&(e.set("aspectRatio",o(a.height/a.width)),e.set("height",a.height),e.set("width",a.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},yt={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},xt={name:"Symbol",noWrap:!0,static:!0,isRSC:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},vt={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}};function fe(e){var t;return s.jsx("span",{className:"builder-text",dangerouslySetInnerHTML:{__html:((t=e.text)==null?void 0:t.toString())||""},style:{outline:"none"}})}const St={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},kt={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(o=>o.json()).then(o=>{e.get("url")===t&&(o.html?e.set("content",o.html):e.set("content","Invalid url, please try another"))}).catch(o=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},wt=["text/javascript","application/javascript","application/ecmascript"],Ct=e=>wt.includes(e.type),It={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},Tt={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]},J=()=>[{component:v.Button,...gt},{component:le,...ht},{component:v.CustomCode,...Tt},{component:v.Embed,...kt},{component:v.FragmentComponent,...pt},{component:v.Image,...bt},{component:v.ImgComponent,...It},{component:v.SectionComponent,...yt},{component:Ee,...xt},{component:fe,...vt},{component:v.Video,...St}],Y=[],Rt=e=>({type:"builder.registerComponent",data:P(e)}),Et=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},At=e=>typeof e=="function"?Et(e):I(e),P=({inputs:e,...t})=>({...I(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[i,r])=>({...o,[i]:At(r)}),{}))}),jt=e=>{var r;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),n=t.split(",")[0],o=e.fileUrl??((r=e==null?void 0:e.files)==null?void 0:r.regular);let i="";if(o&&t&&n&&(i+=`
46
+ @font-face {
47
+ font-family: "${t}";
48
+ src: local("${n}"), url('${o}') format('woff2');
49
+ font-display: fallback;
50
+ font-weight: 400;
51
+ }
52
+ `.trim()),e.files)for(const a in e.files){if(!(String(Number(a))===a))continue;const c=e.files[a];c&&c!==o&&(i+=`
53
+ @font-face {
54
+ font-family: "${t}";
55
+ src: url('${c}') format('woff2');
56
+ font-display: fallback;
57
+ font-weight: ${a};
58
+ }
59
+ `.trim())}return i},Vt=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>jt(n)))==null?void 0:t.join(" "))||""},$t=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"";function Bt(e){const t=`
60
+ ${$t({cssCode:e.cssCode,contentId:e.contentId})}
61
+ ${Vt({customFonts:e.customFonts})}
62
+
63
+ .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
64
+ margin: 0;
65
+ }
66
+ .builder-text > p, .builder-text > .builder-paragraph {
67
+ color: inherit;
68
+ line-height: inherit;
69
+ letter-spacing: inherit;
70
+ font-weight: inherit;
71
+ font-size: inherit;
72
+ text-align: inherit;
73
+ font-family: inherit;
74
+ }
75
+ `.trim();return s.jsx(j,{styles:t})}const Ft=({content:e,data:t,locale:n})=>{var r,a,l;const o={};(a=(r=e==null?void 0:e.data)==null?void 0:r.inputs)==null||a.forEach(c=>{var u;c.name&&c.defaultValue!==void 0&&((u=e==null?void 0:e.data)!=null&&u.state)&&e.data.state[c.name]===void 0&&(o[c.name]=c.defaultValue)});const i={...(l=e==null?void 0:e.data)==null?void 0:l.state,...t,...n?{locale:n}:{}};return{...o,...i}},Pt=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function Ot(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function Wt(){const e=Ot().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
76
+ For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const ge=Wt(),Nt=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},he=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){k.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},pe=async e=>he(e),Lt=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(w).join("; "),Mt=[["secure",""],["SameSite","None"]],_t=({name:e,value:t,expires:n})=>{const i=(S()?location.protocol==="https:":!0)?Mt:[[]],r=n?[["expires",n.toUTCString()]]:[[]],a=[[e,t],...r,["path","/"],["domain",Nt(window.location.hostname)],...i];return Lt(a)},be=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const i=_t({name:e,value:t,expires:n});document.cookie=i}catch(i){k.warn("[COOKIE] SET error: ",(i==null?void 0:i.message)||i)}};function Ut(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function ye(){return Ut().replace(/-/g,"")}const xe="builderSessionId",Kt=async({canTrack:e})=>{if(!e)return;const t=await pe({name:xe,canTrack:e});if(w(t))return t;{const n=Ht();return Dt({id:n,canTrack:e}),n}},Ht=()=>ye(),Dt=({id:e,canTrack:t})=>be({name:xe,value:e,canTrack:t}),ve=()=>S()&&typeof localStorage<"u"?localStorage:void 0,zt=({key:e,canTrack:t})=>{var n;try{return t?(n=ve())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},qt=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=ve())==null||o.setItem(e,n))}catch(i){console.debug("[LocalStorage] SET error: ",i)}},Se="builderVisitorId",Gt=({canTrack:e})=>{if(!e)return;const t=zt({key:Se,canTrack:e});if(w(t))return t;{const n=Jt();return Yt({id:n,canTrack:e}),n}},Jt=()=>ye(),Yt=({id:e,canTrack:t})=>qt({key:Se,value:e,canTrack:t}),Xt=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await Kt({canTrack:e}),n=Gt({canTrack:e});return{sessionId:t,visitorId:n}},Qt=async({type:e,canTrack:t,apiKey:n,metadata:o,...i})=>({type:e,data:{...i,metadata:{url:location.href,...o},...await Xt({canTrack:t}),userAttributes:ae(),ownerId:n}});async function ke(e){if(!e.apiKey){k.error("Missing API key for track call. Please provide your API key.");return}if(e.canTrack&&!E()&&(S()||C==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await Qt(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const Zt=e=>ke({...e,canTrack:!0}),en="0.6.0",X={};function we(e,t){let n=X[e];if(n||(n=X[e]=[]),n.push(t),S()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(i){console.debug("Could not postmessage",i)}}}const tn=()=>{we("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let Q=!1;const nn=(e={})=>{var t,n;Q||(Q=!0,S()&&((t=window.parent)==null||t.postMessage({type:"builder.sdkInfo",data:{target:C,version:en,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(n=window.parent)==null||n.postMessage({type:"builder.updateContent",data:{options:e}},"*"),window.addEventListener("message",({data:o})=>{var i,r;if(o!=null&&o.type)switch(o.type){case"builder.evaluate":{const a=o.data.text,l=o.data.arguments||[],c=o.data.id,u=new Function(a);let f,h=null;try{f=u.apply(null,l)}catch(p){h=p}h?(i=window.parent)==null||i.postMessage({type:"builder.evaluateError",data:{id:c,error:h.message}},"*"):f&&typeof f.then=="function"?f.then(p=>{var m;(m=window.parent)==null||m.postMessage({type:"builder.evaluateResult",data:{id:c,result:p}},"*")}).catch(console.error):(r=window.parent)==null||r.postMessage({type:"builder.evaluateResult",data:{result:f,id:c}},"*");break}}})))};function Z(e){return Math.round(e*1e3)/1e3}const on=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let o=n?e:e.parentElement;do{if(!o)return null;if(t(o))return o}while(o=o.parentElement);return null},rn=e=>on(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),ee=({event:e,target:t})=>{const n=t.getBoundingClientRect(),o=e.clientX-n.left,i=e.clientY-n.top,r=Z(o/n.width),a=Z(i/n.height);return{x:r,y:a}},an=e=>{const t=e.target,n=t&&rn(t),o=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:o||void 0,metadata:{targetOffset:t?ee({event:e,target:t}):void 0,builderTargetOffset:n?ee({event:e,target:n}):void 0,builderElementIndex:n&&o?[].slice.call(document.getElementsByClassName(o)).indexOf(n):void 0}}};function Ce(){globalThis._BUILDER_PREVIEW_LRU_CACHE||(globalThis._BUILDER_PREVIEW_LRU_CACHE=new Ve.LRUCache({max:500,ttl:1e3*60*5}))}function O(e){return s.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},id:e.id})}function te(e){var i,r,a,l,c,u,f,h,p;const t=ft({variationId:(i=e.content)==null?void 0:i.testVariationId,contentId:(r=e.content)==null?void 0:r.id}),n=[...J(),...Y,...e.customComponents||[]].reduce((m,{component:g,...d})=>({...m,[d.name]:{component:g,...P(d)}}),{}),o={content:Pt({content:e.content,data:e.data}),localState:void 0,rootState:Ft({content:e.content,data:e.data,locale:e.locale}),rootSetState:void 0,context:e.context||{},apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...J(),...Y,...e.customComponents||[]].reduce((m,{component:g,...d})=>({...m,[d.name]:P(d)}),{}),inheritedStyles:{}};return s.jsxs(v.EnableEditor,{content:e.content,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,classNameProp:e.classNameProp,showContent:e.showContent,builderContextSignal:o,children:[e.isSsrAbTest?s.jsx(s.Fragment,{children:s.jsx(O,{scriptStr:t})}):null,s.jsx(s.Fragment,{children:s.jsx(Bt,{contentId:(a=o.content)==null?void 0:a.id,cssCode:(c=(l=o.content)==null?void 0:l.data)==null?void 0:c.cssCode,customFonts:(f=(u=o.content)==null?void 0:u.data)==null?void 0:f.customFonts})}),s.jsx($,{blocks:(p=(h=o.content)==null?void 0:h.data)==null?void 0:p.blocks,context:o,registeredComponents:n})]})}const W=e=>w(e)?e:!0,sn="builder.tests",M=e=>`${sn}.${e}`,cn=({contentId:e})=>pe({name:M(e),canTrack:!0}),ln=({contentId:e})=>he({name:M(e),canTrack:!0}),un=({contentId:e,value:t})=>be({name:M(e),value:t,canTrack:!0}),Ie=e=>w(e.id)&&w(e.variations)&&Object.keys(e.variations).length>0,dn=({id:e,variations:t})=>{var i;let n=0;const o=Math.random();for(const r in t){const a=(i=t[r])==null?void 0:i.testRatio;if(n+=a,o<n)return r}return e},Te=e=>{const t=dn(e);return un({contentId:e.id,value:t}).catch(n=>{k.error("could not store A/B test variation: ",n)}),t},Re=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},mn=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!Ie(e))return e;const n=ln({contentId:e.id})||Te({variations:e.variations,id:e.id}),o=Re({item:e,testGroupId:n});return{...e,...o}},fn=async({item:e,canTrack:t})=>{if(!t||!Ie(e))return e;const o=await cn({contentId:e.id})||Te({variations:e.variations,id:e.id}),i=Re({item:e,testGroupId:o});return{...e,...i}};function _(e){var r,a,l;const t=st({canTrack:W(e.canTrack),content:e.content}),n=function(){var u;return mt(R(e.content).map(f=>({id:f.testVariationId,testRatio:f.testRatio})),((u=e.content)==null?void 0:u.id)||"")},o=function(){return R(e.content).map(u=>`.variant-${u.testVariationId} { display: none; } `).join("")},i=function(){var u;return t?{...e.content,testVariationId:(u=e.content)==null?void 0:u.id}:mn({item:e.content,canTrack:W(e.canTrack)})};return s.jsxs(s.Fragment,{children:[!e.__isNestedRender&&C!=="reactNative"?s.jsx(s.Fragment,{children:s.jsx(O,{scriptStr:dt()})}):null,t?s.jsxs(s.Fragment,{children:[s.jsx(j,{id:`variants-styles-${(r=e.content)==null?void 0:r.id}`,styles:o()}),s.jsx(O,{scriptStr:n()}),(a=R(e.content))==null?void 0:a.map(c=>s.jsx(te,{content:c,showContent:!1,classNameProp:void 0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t},c.testVariationId))]}):null,s.jsx(te,{content:i(),classNameProp:`variant-${(l=e.content)==null?void 0:l.id}`,showContent:!0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,canTrack:e.canTrack,locale:e.locale,includeRefs:e.includeRefs,enrich:e.enrich,isSsrAbTest:t})]})}const gn=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return B({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{k.error("Could not fetch symbol content: ",n)})};async function Ee(e){var o,i,r,a;const t=function(){var c,u;return[e.attributes.className,"builder-symbol",(c=e.symbol)!=null&&c.inline?"builder-inline-symbol":void 0,(u=e.symbol)!=null&&u.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},n=((o=e.symbol)==null?void 0:o.content)||await gn({symbol:e.symbol,builderContextValue:e.builderContext});return s.jsx("div",{...e.attributes,className:t(),children:s.jsx(_,{__isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:e.builderContext.context,customComponents:Object.values(e.builderComponents),data:{...(i=e.symbol)==null?void 0:i.data,...e.builderContext.localState,...(r=n==null?void 0:n.data)==null?void 0:r.state},model:(a=e.symbol)==null?void 0:a.model,content:n})})}const hn=$,pn=_;function bn(){return!S()||E()?!1:location.search.indexOf("builder.preview=")!==-1}const ne={};function yn(e){if(S()){Object.assign(ne,e);const t={type:"builder.settingsChange",data:ne};parent.postMessage(t,"*")}}const xn=e=>{const t=e.get("preview"),n=e.get("overrides."+t);return n||k.warn("No previewed ID found in search params."),n};function vn(e){Ce();const t=xn(e);return typeof t=="string"?globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t):void 0}function N(e,t=null,n="."){return Object.keys(e).reduce((o,i)=>{const r=e[i],a=[t,i].filter(Boolean).join(n);return[typeof r=="object",r!==null,!(Array.isArray(r)&&r.length===0)].every(Boolean)?{...o,...N(r,a,n)}:{...o,[a]:r}},{})}const oe="builder.",Sn="options.",kn=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},U=e=>{if(!e)return{};const t=Ae(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(oe)){const i=o.replace(oe,"").replace(Sn,"");n[i]=t[o]}}),n},wn=()=>{if(!S())return{};const e=new URLSearchParams(window.location.search);return U(e)},Ae=e=>e instanceof URLSearchParams?kn(e):e,Cn="v3",K=e=>{const{limit:t=30,userAttributes:n,query:o,noTraverse:i=!1,model:r,apiKey:a,includeRefs:l=!0,enrich:c,locale:u,apiVersion:f=Cn}=e;if(!a)throw new Error("Missing API key");if(!["v2","v3"].includes(f))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);const h=new URL(`https://cdn.builder.io/api/${f}/content/${r}?apiKey=${a}&limit=${t}&noTraverse=${i}&includeRefs=${l}${u?`&locale=${u}`:""}${c?`&enrich=${c}`:""}`),p={...wn(),...Ae(e.options||{})},m=N(p);for(const g in m)h.searchParams.set(g,String(m[g]));if(n&&h.searchParams.set("userAttributes",JSON.stringify(n)),o){const g=N({query:o});for(const d in g)h.searchParams.set(d,JSON.stringify(g[d]))}return h},In=e=>"results"in e;async function B(e){const t=await H({...e,limit:1});return t&&t.results[0]||null}const Tn=B,Rn=async e=>{const t=K(e);return await(await ge(t.href)).json()},je=async(e,t,n=K(e))=>{const o=W(e.canTrack);if(n.search.includes("preview=")){const r=[];for(const a of t.results){const l=vn(n.searchParams);r.push(l||a)}t.results=r}if(!o||!(S()||C==="reactNative"))return t;try{const r=[];for(const a of t.results)r.push(await fn({item:a,canTrack:o}));t.results=r}catch(r){k.error("Could not process A/B tests. ",r)}return t};async function H(e){try{const t=K(e),n=await Rn(e);return In(n)?je(e,n):(k.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return k.error("Error fetching data. ",t),null}}const En=H,An=async e=>{var o,i,r;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((i=e.userAttributes)==null?void 0:i.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:U(e.searchParams||((r=e.url)==null?void 0:r.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await B(n)}};exports.Blocks=$;exports.Columns=le;exports.ContentVariants=_;exports.InlinedStyles=j;exports.RenderBlocks=hn;exports.RenderContent=pn;exports.Symbol=Ee;exports.Text=fe;exports._processContentResult=je;exports._track=ke;exports.checkIsDefined=w;exports.createCssClass=He;exports.createRegisterComponentMessage=Rt;exports.evaluate=A;exports.fastClone=I;exports.fetch=ge;exports.fetchBuilderProps=An;exports.fetchEntries=H;exports.fetchOneEntry=B;exports.getAllContent=En;exports.getBlockActions=Ze;exports.getBlockProperties=ce;exports.getBuilderSearchParams=U;exports.getContent=Tn;exports.getInteractionPropertiesForEvent=an;exports.getMaxWidthQueryForSize=Be;exports.getProcessedBlock=L;exports.getSizesForBreakpoints=re;exports.getSrcSet=at;exports.init=Ce;exports.isBrowser=S;exports.isEditing=E;exports.isJsScript=Ct;exports.isPreviewing=bn;exports.logger=k;exports.register=we;exports.registerInsertMenu=tn;exports.setEditorSettings=yn;exports.setupBrowserForEditing=nn;exports.track=Zt;