@builder.io/sdk-react 4.2.4 → 5.0.1

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 (67) hide show
  1. package/lib/browser/blocks-exports.cjs +10 -10
  2. package/lib/browser/blocks-exports.mjs +51 -50
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-1c122812.js → server-entry-48d8b908.js} +1 -1
  6. package/lib/browser/{server-entry-4452b993.cjs → server-entry-54562695.cjs} +1 -1
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-48a5b362.js → accordion-66ebf67c.js} +1 -1
  10. package/lib/edge/{accordion-3f30d417.cjs → accordion-8b1f60fc.cjs} +1 -1
  11. package/lib/edge/{blocks-3024bb2c.cjs → blocks-1dc43011.cjs} +1 -1
  12. package/lib/edge/{blocks-729e6331.js → blocks-c00ca88f.js} +2 -2
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-36cacb47.js → button-041e711c.js} +2 -2
  16. package/lib/edge/{button-8ab624e2.cjs → button-1984c901.cjs} +1 -1
  17. package/lib/edge/{columns-0d6d8b29.cjs → columns-2b2cf661.cjs} +1 -1
  18. package/lib/edge/{columns-597b4a0e.js → columns-92e5946e.js} +3 -3
  19. package/lib/edge/{content-variants-b2c99976.cjs → content-variants-bc4a2651.cjs} +8 -8
  20. package/lib/edge/{content-variants-78e04173.js → content-variants-cce99ed6.js} +35 -34
  21. package/lib/edge/{custom-code-1d8040fe.cjs → custom-code-1f128470.cjs} +1 -1
  22. package/lib/edge/{custom-code-0a11f81d.js → custom-code-f7e6cd68.js} +1 -1
  23. package/lib/edge/{embed-5b2461a4.js → embed-52205349.js} +1 -1
  24. package/lib/edge/{embed-89e540df.cjs → embed-bc36f168.cjs} +1 -1
  25. package/lib/edge/{form-4f5ea678.js → form-3df2f242.js} +3 -3
  26. package/lib/edge/{form-46264810.cjs → form-5786e8d3.cjs} +1 -1
  27. package/lib/edge/{get-class-prop-name-a8c4e896.cjs → get-class-prop-name-0276175d.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-e31571bf.js → get-class-prop-name-219095c0.js} +1 -1
  29. package/lib/edge/{img-194b08ce.js → img-b5312e74.js} +2 -2
  30. package/lib/edge/{img-821534bf.cjs → img-e7eefcb8.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-cfd5294a.js → input-0ae31d0b.js} +1 -1
  34. package/lib/edge/{input-6d65470b.cjs → input-46b7c2f4.cjs} +1 -1
  35. package/lib/edge/{personalization-container-0d92ab21.js → personalization-container-31c5a316.js} +4 -4
  36. package/lib/edge/{personalization-container-74138dc4.cjs → personalization-container-8000ecb8.cjs} +1 -1
  37. package/lib/edge/{select-d665e4e4.js → select-b32b2a7b.js} +1 -1
  38. package/lib/edge/{select-cec6b7d9.cjs → select-c02d2710.cjs} +1 -1
  39. package/lib/edge/{server-entry-fec7344c.js → server-entry-406d9576.js} +1 -1
  40. package/lib/edge/{server-entry-d79ba493.cjs → server-entry-5edd9be5.cjs} +1 -1
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-f2279693.js → slot-63da11c0.js} +3 -3
  44. package/lib/edge/{slot-4ad8e165.cjs → slot-d9dad534.cjs} +1 -1
  45. package/lib/edge/{symbol-064c9433.cjs → symbol-9c9940fb.cjs} +1 -1
  46. package/lib/edge/{symbol-93b85799.js → symbol-a6bc073a.js} +2 -2
  47. package/lib/edge/{tabs-f81e3a59.cjs → tabs-57b3f986.cjs} +1 -1
  48. package/lib/edge/{tabs-d87f99ab.js → tabs-bb475169.js} +3 -3
  49. package/lib/node/blocks-exports.cjs +11 -11
  50. package/lib/node/blocks-exports.mjs +53 -52
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +3 -3
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/{server-entry-fec6b9d9.cjs → server-entry-92d43cb8.cjs} +1 -1
  56. package/lib/node/{server-entry-b75016aa.js → server-entry-f9e5ab97.js} +1 -1
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-9ebbab5f.cjs → setIvm-b11f9172.cjs} +1 -1
  60. package/lib/node/{setIvm-6290921a.js → setIvm-fb14c72b.js} +1 -1
  61. package/lib/node/setIvm.cjs +1 -1
  62. package/lib/node/setIvm.mjs +2 -2
  63. package/lib/node/{should-force-browser-runtime-in-node-4ca1840a.js → should-force-browser-runtime-in-node-7a57d156.js} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-209c023a.cjs → should-force-browser-runtime-in-node-e9c386f7.cjs} +1 -1
  65. package/package.json +2 -2
  66. package/types/constants/sdk-version.d.ts +1 -1
  67. package/types/types/input.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";const g=require("react/jsx-runtime"),B=require("react"),Ft=require("./blocks-exports.cjs"),G=require("./server-entry-d79ba493.cjs"),jn=require("./get-class-prop-name-a8c4e896.cjs"),On=require("./dynamic-renderer-b29b45ca.cjs"),Wr=B.createContext({registeredComponents:{}}),Gr=(e,t,n)=>{const r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce((o,s)=>o!=null?o[s]:o,e);return r===void 0||r===e?n:r},$r=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),An=()=>({isEditing:G.isEditing(),isBrowser:G.isBrowser(),isServer:!G.isBrowser(),getUserAttributes:()=>G.getUserAttributes()}),In=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e;function Lt({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,o)=>{if(t&&o in t)return t[o];const s=r[o];return typeof s=="object"&&s!==null?Lt({rootState:s,localState:void 0,rootSetState:n?a=>{r[o]=a,n(r)}:void 0}):s},set:(r,o,s)=>{if(t&&o in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[o]=s,n==null||n(r),!0}})}const Tn=({code:e,builder:t,context:n,event:r,localState:o,rootSetState:s,rootState:a})=>{const f=$r({builder:t,context:n,event:r,state:Lt({rootState:a,localState:o,rootSetState:s})});return new Function(...f.map(([d])=>d),e)(...f.map(([,d])=>d))};var b,Pn=function(e){function t(i){return 48>i?i===36:58>i?!0:65>i?!1:91>i?!0:97>i?i===95:123>i?!0:170<=i&&kn.test(String.fromCharCode(i))}function n(i){return 65>i?i===36:91>i?!0:97>i?i===95:123>i?!0:170<=i&&Pr.test(String.fromCharCode(i))}function r(i,l){for(var u=y,p=1,k=0;;){ot.lastIndex=k;var L=ot.exec(u);if(L&&L.index<i)++p,k=L.index+L[0].length;else break}throw u={line:p,ab:i-k},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=i,l.X=u,l.o=c,l}function o(i){i=i.split(" ");for(var l=Object.create(null),u=0;u<i.length;u++)l[i[u]]=!0;return function(p){return l[p]||!1}}function s(){this.line=ge,this.ab=c-ne}function a(i,l){ve=c,j.C&&(xt=new s),E=i,d(),Z=l,Re=i.m}function f(){for(var i=c,l=j.va&&j.C&&new s,u=y.charCodeAt(c+=2);c<me&&u!==10&&u!==13&&u!==8232&&u!==8233;)++c,u=y.charCodeAt(c);j.va&&j.va(!1,y.slice(i+2,c),i,c,l,j.C&&new s)}function d(){for(;c<me;){var i=y.charCodeAt(c);if(i===32)++c;else if(i===13)++c,i=y.charCodeAt(c),i===10&&++c,j.C&&(++ge,ne=c);else if(i===10||i===8232||i===8233)++c,j.C&&(++ge,ne=c);else if(8<i&&14>i)++c;else if(i===47)if(i=y.charCodeAt(c+1),i===42){i=void 0;var l=j.va&&j.C&&new s,u=c,p=y.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,j.C)for(ot.lastIndex=u;(i=ot.exec(y))&&i.index<c;)++ge,ne=i.index+i[0].length;j.va&&j.va(!0,y.slice(u+2,p),u,c,l,j.C&&new s)}else if(i===47)f();else break;else if(i===160)++c;else if(5760<=i&&En.test(String.fromCharCode(i)))++c;else break}}function x(i){switch(i){case 46:i=y.charCodeAt(c+1),48<=i&&57>=i?P(!0):(++c,a(Er));return;case 40:return++c,a(oe);case 41:return++c,a(ee);case 59:return++c,a(ie);case 44:return++c,a(pe);case 91:return++c,a(Tt);case 93:return++c,a(Pt);case 123:return++c,a(Me);case 125:return++c,a(we);case 58:return++c,a(De);case 63:return++c,a(kr);case 48:if(i=y.charCodeAt(c+1),i===120||i===88){c+=2,i=X(16),i===null&&r(F+2,"Expected hexadecimal number"),n(y.charCodeAt(c))&&r(c,"Identifier directly after number"),a(Be,i);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return P(!1);case 34:case 39:c++;for(var l="";;){c>=me&&r(F,"Unterminated string constant");var u=y.charCodeAt(c);if(u===i){++c,a(et,l);break}if(u===92){u=y.charCodeAt(++c);var p=/^[0-7]+/.exec(y.slice(c,c+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++c,p)Y&&r(c-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),c+=p.length-1;else switch(u){case 110:l+=`
1
+ "use strict";const g=require("react/jsx-runtime"),B=require("react"),Ft=require("./blocks-exports.cjs"),G=require("./server-entry-5edd9be5.cjs"),jn=require("./get-class-prop-name-0276175d.cjs"),On=require("./dynamic-renderer-b29b45ca.cjs"),Wr=B.createContext({registeredComponents:{}}),Gr=(e,t,n)=>{const r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce((o,s)=>o!=null?o[s]:o,e);return r===void 0||r===e?n:r},$r=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),An=()=>({isEditing:G.isEditing(),isBrowser:G.isBrowser(),isServer:!G.isBrowser(),getUserAttributes:()=>G.getUserAttributes()}),In=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e;function Lt({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,o)=>{if(t&&o in t)return t[o];const s=r[o];return typeof s=="object"&&s!==null?Lt({rootState:s,localState:void 0,rootSetState:n?a=>{r[o]=a,n(r)}:void 0}):s},set:(r,o,s)=>{if(t&&o in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[o]=s,n==null||n(r),!0}})}const Tn=({code:e,builder:t,context:n,event:r,localState:o,rootSetState:s,rootState:a})=>{const f=$r({builder:t,context:n,event:r,state:Lt({rootState:a,localState:o,rootSetState:s})});return new Function(...f.map(([d])=>d),e)(...f.map(([,d])=>d))};var b,Pn=function(e){function t(i){return 48>i?i===36:58>i?!0:65>i?!1:91>i?!0:97>i?i===95:123>i?!0:170<=i&&kn.test(String.fromCharCode(i))}function n(i){return 65>i?i===36:91>i?!0:97>i?i===95:123>i?!0:170<=i&&Pr.test(String.fromCharCode(i))}function r(i,l){for(var u=y,p=1,k=0;;){ot.lastIndex=k;var L=ot.exec(u);if(L&&L.index<i)++p,k=L.index+L[0].length;else break}throw u={line:p,ab:i-k},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=i,l.X=u,l.o=c,l}function o(i){i=i.split(" ");for(var l=Object.create(null),u=0;u<i.length;u++)l[i[u]]=!0;return function(p){return l[p]||!1}}function s(){this.line=ge,this.ab=c-ne}function a(i,l){ve=c,j.C&&(xt=new s),E=i,d(),Z=l,Re=i.m}function f(){for(var i=c,l=j.va&&j.C&&new s,u=y.charCodeAt(c+=2);c<me&&u!==10&&u!==13&&u!==8232&&u!==8233;)++c,u=y.charCodeAt(c);j.va&&j.va(!1,y.slice(i+2,c),i,c,l,j.C&&new s)}function d(){for(;c<me;){var i=y.charCodeAt(c);if(i===32)++c;else if(i===13)++c,i=y.charCodeAt(c),i===10&&++c,j.C&&(++ge,ne=c);else if(i===10||i===8232||i===8233)++c,j.C&&(++ge,ne=c);else if(8<i&&14>i)++c;else if(i===47)if(i=y.charCodeAt(c+1),i===42){i=void 0;var l=j.va&&j.C&&new s,u=c,p=y.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,j.C)for(ot.lastIndex=u;(i=ot.exec(y))&&i.index<c;)++ge,ne=i.index+i[0].length;j.va&&j.va(!0,y.slice(u+2,p),u,c,l,j.C&&new s)}else if(i===47)f();else break;else if(i===160)++c;else if(5760<=i&&En.test(String.fromCharCode(i)))++c;else break}}function x(i){switch(i){case 46:i=y.charCodeAt(c+1),48<=i&&57>=i?P(!0):(++c,a(Er));return;case 40:return++c,a(oe);case 41:return++c,a(ee);case 59:return++c,a(ie);case 44:return++c,a(pe);case 91:return++c,a(Tt);case 93:return++c,a(Pt);case 123:return++c,a(Me);case 125:return++c,a(we);case 58:return++c,a(De);case 63:return++c,a(kr);case 48:if(i=y.charCodeAt(c+1),i===120||i===88){c+=2,i=X(16),i===null&&r(F+2,"Expected hexadecimal number"),n(y.charCodeAt(c))&&r(c,"Identifier directly after number"),a(Be,i);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return P(!1);case 34:case 39:c++;for(var l="";;){c>=me&&r(F,"Unterminated string constant");var u=y.charCodeAt(c);if(u===i){++c,a(et,l);break}if(u===92){u=y.charCodeAt(++c);var p=/^[0-7]+/.exec(y.slice(c,c+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++c,p)Y&&r(c-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),c+=p.length-1;else switch(u){case 110:l+=`
2
2
  `;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(O(2));break;case 117:l+=String.fromCharCode(O(4));break;case 85:l+=String.fromCharCode(O(8));break;case 116:l+=" ";break;case 98:l+="\b";break;case 118:l+="\v";break;case 102:l+="\f";break;case 48:l+="\0";break;case 13:y.charCodeAt(c)===10&&++c;case 10:j.C&&(ne=c,++ge);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(F,"Unterminated string constant"),l+=String.fromCharCode(u),++c}return;case 47:i=y.charCodeAt(c+1),Re?(++c,$()):i===61?I(ye,2):I(Cr,1);return;case 37:case 42:y.charCodeAt(c+1)===61?I(ye,2):I(xn,1);return;case 124:case 38:l=y.charCodeAt(c+1),l===i?I(i===124?Ar:Ir,2):l===61?I(ye,2):I(i===124?pn:dn,1);return;case 94:y.charCodeAt(c+1)===61?I(ye,2):I(hn,1);return;case 43:case 45:l=y.charCodeAt(c+1),l===i?l===45&&y.charCodeAt(c+2)===62&&nt.test(y.slice(fe,c))?(c+=3,f(),d(),T()):I(fn,2):l===61?I(ye,2):I(vn,1);return;case 60:case 62:l=y.charCodeAt(c+1),u=1,l===i?(u=i===62&&y.charCodeAt(c+2)===62?3:2,y.charCodeAt(c+u)===61?I(ye,u+1):I(mn,u)):l===33&&i===60&&y.charCodeAt(c+2)===45&&y.charCodeAt(c+3)===45?(c+=4,f(),d(),T()):(l===61&&(u=y.charCodeAt(c+2)===61?3:2),I(yn,u));return;case 61:case 33:y.charCodeAt(c+1)===61?I(gn,y.charCodeAt(c+2)===61?3:2):I(i===61?jr:Or,1);return;case 126:return I(Or,1)}return!1}function T(i){if(i?c=F+1:F=c,j.C&&(vt=new s),i)return $();if(c>=me)return a(Et);if(i=y.charCodeAt(c),n(i)||i===92)return U();if(x(i)===!1){if(i=String.fromCharCode(i),i==="\\"||Pr.test(i))return U();r(c,"Unexpected character '"+i+"'")}}function I(i,l){var u=y.slice(c,c+l);c+=l,a(i,u)}function $(){for(var i,l,u=c;;){c>=me&&r(u,"Unterminated regexp");var p=y.charAt(c);if(nt.test(p)&&r(u,"Unterminated regexp"),i)i=!1;else{if(p==="[")l=!0;else if(p==="]"&&l)l=!1;else if(p==="/"&&!l)break;i=p==="\\"}++c}i=y.slice(u,c),++c,(l=N())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var k=new RegExp(i,l)}catch(L){throw L instanceof SyntaxError&&r(u,L.message),L}a(nr,k)}function X(i,l){for(var u=c,p=0,k=l===void 0?1/0:l,L=0;L<k;++L){var z=y.charCodeAt(c);if(z=97<=z?z-97+10:65<=z?z-65+10:48<=z&&57>=z?z-48:1/0,z>=i)break;++c,p=p*i+z}return c===u||l!==void 0&&c-u!==l?null:p}function P(i){var l=c,u=!1,p=y.charCodeAt(c)===48;i||X(10)!==null||r(l,"Invalid number"),y.charCodeAt(c)===46&&(++c,X(10),u=!0),i=y.charCodeAt(c),(i===69||i===101)&&(i=y.charCodeAt(++c),i!==43&&i!==45||++c,X(10)===null&&r(l,"Invalid number"),u=!0),n(y.charCodeAt(c))&&r(c,"Identifier directly after number"),i=y.slice(l,c);var k;u?k=parseFloat(i):p&&i.length!==1?/[89]/.test(i)||Y?r(l,"Invalid number"):k=parseInt(i,8):k=parseInt(i,10),a(Be,k)}function O(i){return i=X(16,i),i===null&&r(F,"Bad character escape sequence"),i}function N(){Se=!1;for(var i,l=!0,u=c;;){var p=y.charCodeAt(c);if(t(p))Se&&(i+=y.charAt(c)),++c;else if(p===92){Se||(i=y.slice(u,c)),Se=!0,y.charCodeAt(++c)!==117&&r(c,"Expecting Unicode escape sequence \\uXXXX"),++c,p=O(4);var k=String.fromCharCode(p);k||r(c-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(c-4,"Invalid Unicode escape"),i+=k}else break;l=!1}return Se?i:y.slice(u,c)}function U(){var i=N(),l=xe;!Se&&Sn(i)&&(l=cn[i]),a(l,i)}function C(){wt=F,fe=ve,St=xt,T()}function ce(i){if(Y=i,c=F,j.C)for(;c<ne;)ne=y.lastIndexOf(`
3
3
  `,ne-2)+1,--ge;d(),T()}function Ae(){this.type=null,this.start=F,this.end=null}function Ie(){this.start=vt,this.end=null,mt&&(this.source=mt)}function M(){var i=new Ae;return j.C&&(i.X=new Ie),j.vb&&(i.sourceFile=j.vb),j.Xa&&(i.j=[F,0]),i}function q(i){var l=new Ae;return l.start=i.start,j.C&&(l.X=new Ie,l.X.start=i.X.start),j.Xa&&(l.j=[i.j[0],0]),l}function S(i,l){return i.type=l,i.end=fe,j.C&&(i.X.end=St),j.Xa&&(i.j[1]=fe),i}function ct(i){return i.type==="ExpressionStatement"&&i.la.type==="Literal"&&i.la.value==="use strict"}function R(i){return E===i?(C(),!0):!1}function Ze(){return!j.fc&&(E===Et||E===we||nt.test(y.slice(fe,F)))}function de(){R(ie)||Ze()||te()}function D(i){E===i?C():te()}function te(){r(F,"Unexpected token")}function qe(i){i.type!=="Identifier"&&i.type!=="MemberExpression"&&r(i.start,"Assigning to rvalue"),Y&&i.type==="Identifier"&&rt(i.name)&&r(i.start,"Assigning to "+i.name+" in strict mode")}function Q(){(E===Cr||E===ye&&Z==="/=")&&T(!0);var i=E,l=M();switch(i){case kt:case ir:C();var u=i===kt;R(ie)||Ze()?l.label=null:E!==xe?te():(l.label=re(),de());for(var p=0;p<_.length;++p){var k=_[p];if((l.label===null||k.name===l.label.name)&&(k.kind!==null&&(u||k.kind==="loop")||l.label&&u))break}return p===_.length&&r(l.start,"Unsyntactic "+i.l),S(l,u?"BreakStatement":"ContinueStatement");case sr:return C(),de(),S(l,"DebuggerStatement");case lr:return C(),_.push(bt),l.body=Q(),_.pop(),D(It),l.test=Te(),de(),S(l,"DoWhileStatement");case fr:return C(),_.push(bt),D(oe),E===ie?ft(l,null):E===At?(i=M(),C(),tr(i,!0),S(i,"VariableDeclaration"),i.fa.length===1&&R(tt)?er(l,i):ft(l,i)):(i=H(!1,!0),R(tt)?(qe(i),er(l,i)):ft(l,i));case jt:return C(),gt(l,!0);case pr:return C(),l.test=Te(),l.da=Q(),l.alternate=R(ur)?Q():null,S(l,"IfStatement");case hr:return Ne||j.Ib||r(F,"'return' outside of function"),C(),R(ie)||Ze()?l.K=null:(l.K=H(),de()),S(l,"ReturnStatement");case Ot:for(C(),l.Qb=Te(),l.tb=[],D(Me),_.push(Cn);E!==we;)E===Ct||E===ar?(i=E===Ct,p&&S(p,"SwitchCase"),l.tb.push(p=M()),p.da=[],C(),i?p.test=H():(u&&r(wt,"Multiple default clauses"),u=!0,p.test=null),D(De)):(p||te(),p.da.push(Q()));return p&&S(p,"SwitchCase"),C(),_.pop(),S(l,"SwitchStatement");case dr:return C(),nt.test(y.slice(fe,F))&&r(fe,"Illegal newline after throw"),l.K=H(),de(),S(l,"ThrowStatement");case gr:return C(),l.block=Pe(),l.Ea=null,E===or&&(i=M(),C(),D(oe),i.Ua=re(),Y&&rt(i.Ua.name)&&r(i.Ua.start,"Binding "+i.Ua.name+" in strict mode"),D(ee),i.body=Pe(),l.Ea=S(i,"CatchClause")),l.fb=R(cr)?Pe():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),S(l,"TryStatement");case At:return C(),tr(l),de(),S(l,"VariableDeclaration");case It:return C(),l.test=Te(),_.push(bt),l.body=Q(),_.pop(),S(l,"WhileStatement");case yr:return Y&&r(F,"'with' in strict mode"),C(),l.object=Te(),l.body=Q(),S(l,"WithStatement");case Me:return Pe();case ie:return C(),S(l,"EmptyStatement");default:if(u=Z,k=H(),i===xe&&k.type==="Identifier"&&R(De)){for(p=0;p<_.length;++p)_[p].name===u&&r(k.start,"Label '"+u+"' is already declared");return _.push({name:u,kind:E.W?"loop":E===Ot?"switch":null}),l.body=Q(),_.pop(),l.label=k,S(l,"LabeledStatement")}return l.la=k,de(),S(l,"ExpressionStatement")}}function Te(){D(oe);var i=H();return D(ee),i}function Pe(i){var l=M(),u=!0,p=!1;for(l.body=[],D(Me);!R(we);){var k=Q();if(l.body.push(k),u&&i&&ct(k)){var L=p;ce(p=!0)}u=!1}return p&&!L&&ce(!1),S(l,"BlockStatement")}function ft(i,l){return i.ua=l,D(ie),i.test=E===ie?null:H(),D(ie),i.update=E===ee?null:H(),D(ee),i.body=Q(),_.pop(),S(i,"ForStatement")}function er(i,l){return i.left=l,i.right=H(),D(ee),i.body=Q(),_.pop(),S(i,"ForInStatement")}function tr(i,l){for(i.fa=[],i.kind="var";;){var u=M();if(u.id=re(),Y&&rt(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=R(jr)?H(!0,l):null,i.fa.push(S(u,"VariableDeclarator")),!R(pe))break}}function H(i,l){var u=pt(l);if(!i&&E===pe){for(i=q(u),i.xb=[u];R(pe);)i.xb.push(pt(l));return S(i,"SequenceExpression")}return u}function pt(i){var l=ht(dt(),-1,i);if(R(kr)){var u=q(l);u.test=l,u.da=H(!0),D(De),u.alternate=H(!0,i),l=S(u,"ConditionalExpression")}return E.Cb?(u=q(l),u.operator=Z,u.left=l,C(),u.right=pt(i),qe(l),S(u,"AssignmentExpression")):l}function ht(i,l,u){var p=E.L;if(p!==null&&(!u||E!==tt)&&p>l){var k=q(i);return k.left=i,k.operator=Z,i=E,C(),k.right=ht(dt(),p,u),p=S(k,i===Ar||i===Ir?"LogicalExpression":"BinaryExpression"),ht(p,l,u)}return i}function dt(){if(E.prefix){var i=M(),l=E.$b;return i.operator=Z,Re=i.prefix=!0,C(),i.K=dt(),l?qe(i.K):Y&&i.operator==="delete"&&i.K.type==="Identifier"&&r(i.start,"Deleting local variable in strict mode"),S(i,l?"UpdateExpression":"UnaryExpression")}for(l=be(Qe());E.cc&&!Ze();)i=q(l),i.operator=Z,i.prefix=!1,i.K=l,qe(l),C(),l=S(i,"UpdateExpression");return l}function be(i,l){if(R(Er)){var u=q(i);return u.object=i,u.Wa=re(!0),u.bb=!1,be(S(u,"MemberExpression"),l)}return R(Tt)?(u=q(i),u.object=i,u.Wa=H(),u.bb=!0,D(Pt),be(S(u,"MemberExpression"),l)):!l&&R(oe)?(u=q(i),u.callee=i,u.arguments=yt(ee,!1),be(S(u,"CallExpression"),l)):i}function Qe(){switch(E){case vr:var i=M();return C(),S(i,"ThisExpression");case xe:return re();case Be:case et:case nr:return i=M(),i.value=Z,i.raw=y.slice(F,ve),C(),S(i,"Literal");case xr:case wr:case Sr:return i=M(),i.value=E.$a,i.raw=E.l,C(),S(i,"Literal");case oe:i=vt;var l=F;C();var u=H();return u.start=l,u.end=ve,j.C&&(u.X.start=i,u.X.end=xt),j.Xa&&(u.j=[l,ve]),D(ee),u;case Tt:return i=M(),C(),i.elements=yt(Pt,!0,!0),S(i,"ArrayExpression");case Me:for(i=M(),l=!0,u=!1,i.h=[],C();!R(we);){if(l)l=!1;else if(D(pe),j.sb&&R(we))break;var p={key:E===Be||E===et?Qe():re(!0)},k=!1;if(R(De)){p.value=H(!0);var L=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?te():(k=u=!0,L=p.kind=p.key.name,p.key=E===Be||E===et?Qe():re(!0),E!==oe&&te(),p.value=gt(M(),!1));if(p.key.type==="Identifier"&&(Y||u))for(var z=0;z<i.h.length;++z){var Ee=i.h[z];if(Ee.key.name===p.key.name){var Rt=L===Ee.kind||k&&Ee.kind==="init"||L==="init"&&(Ee.kind==="get"||Ee.kind==="set");Rt&&!Y&&L==="init"&&Ee.kind==="init"&&(Rt=!1),Rt&&r(p.key.start,"Redefinition of property")}}i.h.push(p)}return S(i,"ObjectExpression");case jt:return i=M(),C(),gt(i,!1);case mr:return i=M(),C(),i.callee=be(Qe(),!0),i.arguments=R(oe)?yt(ee,!1):un,S(i,"NewExpression")}te()}function gt(i,l){E===xe?i.id=re():l?te():i.id=null,i.oa=[];var u=!0;for(D(oe);!R(ee);)u?u=!1:D(pe),i.oa.push(re());u=Ne;var p=_;if(Ne=!0,_=[],i.body=Pe(!0),Ne=u,_=p,Y||i.body.body.length&&ct(i.body.body[0])){for(u=i.id?-1:0;u<i.oa.length;++u)if(p=0>u?i.id:i.oa[u],(Tr(p.name)||rt(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var k=0;k<u;++k)p.name===i.oa[k].name&&r(p.start,"Argument name clash in strict mode")}return S(i,l?"FunctionDeclaration":"FunctionExpression")}function yt(i,l,u){for(var p=[],k=!0;!R(i);){if(k)k=!1;else if(D(pe),l&&j.sb&&R(i))break;p.push(u&&E===pe?null:H(!0))}return p}function re(i){var l=M();return i&&j.yb==="everywhere"&&(i=!1),E===xe?(!i&&(j.yb&&wn(Z)||Y&&Tr(Z))&&y.slice(F,ve).indexOf("\\")===-1&&r(F,"The keyword '"+Z+"' is reserved"),l.name=Z):i&&E.l?l.name=E.l:te(),Re=!1,C(),S(l,"Identifier")}e.version="0.5.0";var j,y="",me,mt;e.parse=function(i,l){y=String(i),me=y.length,j=l||{};for(var u in rr)Object.prototype.hasOwnProperty.call(j,u)||(j[u]=rr[u]);for(mt=j.sourceFile,ge=1,c=ne=0,Re=!0,d(),u=j.dc,wt=fe=c,j.C&&(St=new s),Ne=Y=!1,_=[],T(),i=u||M(),l=!0,u||(i.body=[]);E!==Et;)u=Q(),i.body.push(u),l&&ct(u)&&ce(!0),l=!1;return S(i,"Program")};var rr={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,F=0,ve=0,vt,xt,E,Z,Re,ge,ne,wt=0,fe=0,St,Ne,_,Y,un=[],Be={type:"num"},nr={type:"regexp"},et={type:"string"},xe={type:"name"},Et={type:"eof"},kt={l:"break"},Ct={l:"case",m:!0},or={l:"catch"},ir={l:"continue"},sr={l:"debugger"},ar={l:"default"},lr={l:"do",W:!0},ur={l:"else",m:!0},cr={l:"finally"},fr={l:"for",W:!0},jt={l:"function"},pr={l:"if"},hr={l:"return",m:!0},Ot={l:"switch"},dr={l:"throw",m:!0},gr={l:"try"},At={l:"var"},It={l:"while",W:!0},yr={l:"with"},mr={l:"new",m:!0},vr={l:"this"},xr={l:"null",$a:null},wr={l:"true",$a:!0},Sr={l:"false",$a:!1},tt={l:"in",L:7,m:!0},cn={break:kt,case:Ct,catch:or,continue:ir,debugger:sr,default:ar,do:lr,else:ur,finally:cr,for:fr,function:jt,if:pr,return:hr,switch:Ot,throw:dr,try:gr,var:At,while:It,with:yr,null:xr,true:wr,false:Sr,new:mr,in:tt,instanceof:{l:"instanceof",L:7,m:!0},this:vr,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Tt={type:"[",m:!0},Pt={type:"]"},Me={type:"{",m:!0},we={type:"}"},oe={type:"(",m:!0},ee={type:")"},pe={type:",",m:!0},ie={type:";",m:!0},De={type:":",m:!0},Er={type:"."},kr={type:"?",m:!0},Cr={L:10,m:!0},jr={Cb:!0,m:!0},ye={Cb:!0,m:!0},fn={cc:!0,prefix:!0,$b:!0},Or={prefix:!0,m:!0},Ar={L:1,m:!0},Ir={L:2,m:!0},pn={L:3,m:!0},hn={L:4,m:!0},dn={L:5,m:!0},gn={L:6,m:!0},yn={L:7,m:!0},mn={L:8,m:!0},vn={L:9,prefix:!0,m:!0},xn={L:10,m:!0},wn=o("class enum extends super const export import"),Tr=o("implements interface let package private protected public static yield"),rt=o("eval arguments"),Sn=o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"),En=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Pr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),kn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),nt=/[\n\r\u2028\u2029]/,ot=/\r\n|[\n\r\u2028\u2029]/g,Se,bt={kind:"loop"},Cn={kind:"switch"}},Mt=Mt=typeof globalThis=="undefined"?void 0:globalThis;Pn(Mt.j||(Mt.j={}));function h(e,t){typeof e=="string"&&(e=Ce(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),o;for(o in e)r[o]=o==="body"?e[o].slice():e[o];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var s,a;for(a in this)typeof this[a]=="function"&&(s=a.match(e))&&(this.rb[s[1]]=this[a].bind(this));this.N=_t(this,this.ra,null),this.Na=this.N.object,this.ra=Ce(this.ba.join(`
4
4
  `),"polyfills"),this.ba=void 0,st(this.ra),s=new v(this.ra,this.N),s.done=!1,this.o=[s],this.Eb(),this.value=void 0,this.ra=r,s=new v(this.ra,this.N),s.done=!1,this.o.length=0,this.o[0]=s}var br={C:!0,kc:5},Wt={configurable:!0,enumerable:!0,writable:!1},m={configurable:!0,enumerable:!1,writable:!0},K={configurable:!0,enumerable:!1,writable:!1},Ue={configurable:!1,enumerable:!1,writable:!1},Rr={configurable:!1,enumerable:!0,writable:!0},Vr={STEP_ERROR:!0},Oe={SCOPE_REFERENCE:!0},Xe={VALUE_IN_DESCRIPTOR:!0},ke={REGEXP_TIMEOUT:!0},Nr=[],ae=null,$e=null,he=typeof globalThis=="undefined"?void 0:globalThis,bn=["onmessage = function(e) {","var result;","var data = e.data;","switch (data[0]) {","case 'split':","result = data[1].split(data[2], data[3]);","break;","case 'match':","result = data[1].match(data[2]);","break;","case 'search':","result = data[1].search(data[2]);","break;","case 'replace':","result = data[1].replace(data[2], data[3]);","break;","case 'exec':","var regexp = data[1];","regexp.lastIndex = data[2];","result = [regexp.exec(data[3]), data[1].lastIndex];","break;","default:","throw Error('Unknown RegExp operation: ' + data[0]);","}","postMessage(result);","close();","};"];function Gt(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ve(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function st(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var o=e[r];o&&typeof o=="object"&&st(o,t,n)}}h.prototype.REGEXP_MODE=2;h.prototype.REGEXP_THREAD_TIMEOUT=1e3;h.prototype.POLYFILL_TIMEOUT=1e3;b=h.prototype;b.P=!1;b.Ka=!1;b.Kb=0;b.ic=0;function Ce(e,t){var n={},r;for(r in br)n[r]=br[r];return n.sourceFile=t,he.j.parse(e,n)}b.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=Ce(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");ze(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};b.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&zr(this,n,n.interval);var r=new v(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var o=$e;$e=this;try{var s=this.rb[r.type](e,n,r)}catch(a){if(a!==Vr)throw this.value!==a&&(this.value=void 0),a}finally{$e=o}if(s&&e.push(s),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};b.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Rn(e,t){e.g(t,"NaN",NaN,Ue),e.g(t,"Infinity",1/0,Ue),e.g(t,"undefined",void 0,Ue),e.g(t,"window",t,Wt),e.g(t,"this",t,Ue),e.g(t,"self",t),e.M=new A(null),e.Z=new A(e.M),Nn(e,t),Bn(e,t),t.xa=e.M,e.g(t,"constructor",e.v,m),Mn(e,t),Dn(e,t),_n(e,t),Un(e,t),Fn(e,t),Ln(e,t),Wn(e,t),Gn(e,t),$n(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,m),e.g(t,"parseInt",e.i(parseInt,!1),m),e.g(t,"parseFloat",e.i(parseFloat,!1),m),e.g(t,"isNaN",e.i(isNaN,!1),m),e.g(t,"isFinite",e.i(isFinite,!1),m);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],o=0;o<r.length;o++)n=function(s){return function(a){try{return s(a)}catch(f){w(e,e.Gb,f.message)}}}(r[o][0]),e.g(t,r[o][1],e.i(n,!1),m);n=function(s){return Br(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),m),n=function(s){return Br(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),m),n=function(s){Mr(e,s)},e.g(t,"clearTimeout",e.i(n,!1),m),n=function(s){Mr(e,s)},e.g(t,"clearInterval",e.i(n,!1),m),e.OBJECT=e.v,e.OBJECT_PROTO=e.M,e.FUNCTION=e.O,e.FUNCTION_PROTO=e.Z,e.ARRAY=e.qa,e.ARRAY_PROTO=e.La,e.REGEXP=e.I,e.REGEXP_PROTO=e.Ma,e.DATE=e.$,e.DATE_PROTO=e.nb,e.qb&&e.qb(e,t)}b.Wb=0;function Nn(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(o){var s=arguments.length?String(arguments[arguments.length-1]):"",a=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(a){a=a.split(/\s*,\s*/);for(var f=0;f<a.length;f++){var d=a[f];n.test(d)||w(e,e.T,"Invalid function argument: "+d)}a=a.join(", ")}try{var x=Ce("(function("+a+") {"+s+"})","function"+e.Wb++)}catch(T){w(e,e.T,"Invalid code: "+T.message)}return x.body.length!==1&&w(e,e.T,"Invalid code in function body"),Ht(e,x.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,m),e.g(e.O,"prototype",e.Z,m),e.g(e.Z,"constructor",e.O,m),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,K),e.Z.H="Function",r=function(o,s){var a=e.o[e.o.length-1];a.U=this,a.B=o,a.F=[],s!=null&&(s instanceof A?a.F=Hr(e,s):w(e,e.j,"CreateListFromArrayLike called on non-object")),a.eb=!1},W(e,e.O,"apply",r),r=function(o){var s=e.o[e.o.length-1];s.U=this,s.B=o,s.F=[];for(var a=1;a<arguments.length;a++)s.F.push(arguments[a]);s.eb=!1},W(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},W(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),m),r=function(){return this.valueOf()},W(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),m)}function Bn(e,t){function n(o){o!=null||w(e,e.j,"Cannot convert '"+o+"' to object")}var r=function(o){if(o==null)return ue(e)?this:e.s(e.M);if(!(o instanceof A)){var s=e.s(le(e,o));return s.data=o,s}return o};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,m),e.g(e.M,"constructor",e.v,m),e.g(t,"Object",e.v,m),r=function(o){return n(o),se(e,Object.getOwnPropertyNames(o instanceof A?o.h:o))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),m),r=function(o){return n(o),o instanceof A&&(o=o.h),se(e,Object.keys(o))},e.g(e.v,"keys",e.i(r,!1),m),r=function(o){return o===null?e.s(null):(o instanceof A||w(e,e.j,"Object prototype may only be an Object or null, not "+o),e.s(o))},e.g(e.v,"create",e.i(r,!1),m),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(o,s,a){return s=String(s),o instanceof A||w(e,e.j,"Object.defineProperty called on non-object: "+o),a instanceof A||w(e,e.j,"Property description must be an object"),!o.preventExtensions||s in o.h||w(e,e.j,"Can't define property '"+s+"', object is not extensible"),e.g(o,s,Xe,a.h),o},e.g(e.v,"defineProperty",e.i(r,!1),m),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(o,s){if(o instanceof A||w(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+o),s=String(s),s in o.h){var a=Object.getOwnPropertyDescriptor(o.h,s),f=o.V[s];return o=o.Y[s],s=e.s(e.M),f||o?(e.g(s,"get",f),e.g(s,"set",o)):(e.g(s,"value",a.value),e.g(s,"writable",a.writable)),e.g(s,"configurable",a.configurable),e.g(s,"enumerable",a.enumerable),s}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),m),r=function(o){return n(o),le(e,o)},e.g(e.v,"getPrototypeOf",e.i(r,!1),m),r=function(o){return!!o&&!o.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),m),r=function(o){return o instanceof A&&(o.preventExtensions=!0),o},e.g(e.v,"preventExtensions",e.i(r,!1),m),W(e,e.v,"toString",A.prototype.toString),W(e,e.v,"toLocaleString",A.prototype.toString),W(e,e.v,"valueOf",A.prototype.valueOf),r=function(o){return n(this),this instanceof A?String(o)in this.h:this.hasOwnProperty(o)},W(e,e.v,"hasOwnProperty",r),r=function(o){return n(this),this instanceof A?Object.prototype.propertyIsEnumerable.call(this.h,o):this.propertyIsEnumerable(o)},W(e,e.v,"propertyIsEnumerable",r),r=function(o){for(;;){if(o=le(e,o),!o)return!1;if(o===this)return!0}},W(e,e.v,"isPrototypeOf",r)}function Mn(e,t){var n=function(r){var o=ue(e)?this:je(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(Gt(s))&&w(e,e.ob,"Invalid array length: "+s),o.h.length=s;else{for(s=0;s<arguments.length;s++)o.h[s]=arguments[s];o.h.length=s}return o};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,m),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),m),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),e.La.H="Array",e.ba.push("(function() {","function createArrayMethod_(f) {","Object.defineProperty(Array.prototype, f.name,","{configurable: true, writable: true, value: f});","}","createArrayMethod_(","function pop() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","len--;","var x = o[len];","delete o[len];","o.length = len;","return x;","}",");","createArrayMethod_(","function push(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","for (var i = 0; i < arguments.length; i++) {","o[len] = arguments[i];","len++;","}","o.length = len;","return len;","}",");","createArrayMethod_(","function shift() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","var value = o[0];","for (var i = 0; i < len - 1; i++) {","if ((i + 1) in o) {","o[i] = o[i + 1];","} else {","delete o[i];","}","}","delete o[i];","o.length = len - 1;","return value;","}",");","createArrayMethod_(","function unshift(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","len = 0;","}","for (var i = len - 1; i >= 0; i--) {","if (i in o) {","o[i + arguments.length] = o[i];","} else {","delete o[i + arguments.length];","}","}","for (var i = 0; i < arguments.length; i++) {","o[i] = arguments[i];","}","return (o.length = len + arguments.length);","}",");","createArrayMethod_(","function reverse() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 2) {","return o;","}","for (var i = 0; i < len / 2 - 0.5; i++) {","var x = o[i];","var hasX = i in o;","if ((len - i - 1) in o) {","o[i] = o[len - i - 1];","} else {","delete o[i];","}","if (hasX) {","o[len - i - 1] = x;","} else {","delete o[len - i - 1];","}","}","return o;","}",");","createArrayMethod_(","function indexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var n = fromIndex | 0;","if (!len || n >= len) {","return -1;","}","var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);","while (i < len) {","if (i in o && o[i] === searchElement) {","return i;","}","i++;","}","return -1;","}",");","createArrayMethod_(","function lastIndexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len) {","return -1;","}","var n = len - 1;","if (arguments.length > 1) {","n = fromIndex | 0;","if (n) {","n = (n > 0 || -1) * Math.floor(Math.abs(n));","}","}","var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);","while (i >= 0) {","if (i in o && o[i] === searchElement) {","return i;","}","i--;","}","return -1;","}",");","createArrayMethod_(","function slice(start, end) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","start = (start >= 0) ? start : Math.max(0, len + start);","if (typeof end !== 'undefined') {","if (end !== Infinity) {","end |= 0;","}","if (end < 0) {","end = len + end;","} else {","end = Math.min(end, len);","}","} else {","end = len;","}","var size = end - start;","var cloned = new Array(size);","for (var i = 0; i < size; i++) {","if ((start + i) in o) {","cloned[i] = o[start + i];","}","}","return cloned;","}",");","createArrayMethod_(","function splice(start, deleteCount, var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","if (start < 0) {","start = Math.max(len + start, 0);","} else {","start = Math.min(start, len);","}","if (arguments.length < 1) {","deleteCount = len - start;","} else {","deleteCount |= 0;","deleteCount = Math.max(0, Math.min(deleteCount, len - start));","}","var removed = [];","for (var i = start; i < start + deleteCount; i++) {","if (i in o) {","removed.push(o[i]);","} else {","removed.length++;","}","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = start + deleteCount; i < len - deleteCount; i++) {","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = len - deleteCount; i < len; i++) {","delete o[i];","}","len -= deleteCount;","var arl = arguments.length - 2;","for (var i = len - 1; i >= start; i--) {","if (i in o) {","o[i + arl] = o[i];","} else {","delete o[i + arl];","}","}","len += arl;","for (var i = 2; i < arguments.length; i++) {","o[start + i - 2] = arguments[i];","}","o.length = len;","return removed;","}",");","createArrayMethod_(","function concat(var_args) {","if (!this) throw TypeError();","var o = Object(this);","var cloned = [];","for (var i = -1; i < arguments.length; i++) {","var value = (i === -1) ? o : arguments[i];","if (Array.isArray(value)) {","for (var j = 0, l = value.length; j < l; j++) {","if (j in value) {","cloned.push(value[j]);","} else {","cloned.length++;","}","}","} else {","cloned.push(value);","}","}","return cloned;","}",");","createArrayMethod_(","function join(opt_separator) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var sep = typeof opt_separator === 'undefined' ?","',' : ('' + opt_separator);","var str = '';","for (var i = 0; i < len; i++) {","if (i && sep) str += sep;","str += (o[i] === null || o[i] === undefined) ? '' : o[i];","}","return str;","}",");","createArrayMethod_(","function every(callbackfn, thisArg) {","if (!this || typeof callbackfn !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o && !callbackfn.call(t, o[k], k, o)) return false;","k++;","}","return true;","}",");","createArrayMethod_(","function filter(fun, var_args) {","if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var res = [];","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o) {","var val = o[i];","if (fun.call(thisArg, val, i, o)) res.push(val);","}","}","return res;","}",");","createArrayMethod_(","function forEach(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o) callback.call(t, o[k], k, o);","k++;","}","}",");","createArrayMethod_(","function map(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","var a = new Array(len);","while (k < len) {","if (k in o) a[k] = callback.call(t, o[k], k, o);","k++;","}","return a;","}",");","createArrayMethod_(","function reduce(callback /*, initialValue*/) {","if (!this || typeof callback !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = 0, value;","if (arguments.length === 2) {","value = arguments[1];","} else {","while (k < len && !(k in o)) k++;","if (k >= len) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k++];","}","for (; k < len; k++) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function reduceRight(callback /*, initialValue*/) {","if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = len - 1, value;","if (arguments.length >= 2) {","value = arguments[1];","} else {","while (k >= 0 && !(k in o)) k--;","if (k < 0) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k--];","}","for (; k >= 0; k--) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function some(fun/*, thisArg*/) {","if (!this || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o && fun.call(thisArg, o[i], i, o)) return true;","}","return false;","}",");","createArrayMethod_(","function sort(opt_comp) {","if (!this) throw TypeError();","if (typeof opt_comp !== 'function') {","opt_comp = undefined;","}","for (var i = 0; i < this.length; i++) {","var changes = 0;","for (var j = 0; j < this.length - i - 1; j++) {","if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :","(String(this[j]) > String(this[j + 1]))) {","var swap = this[j];","var hasSwap = j in this;","if ((j + 1) in this) {","this[j] = this[j + 1];","} else {","delete this[j];","}","if (hasSwap) {","this[j + 1] = swap;","} else {","delete this[j + 1];","}","changes++;","}","}","if (!changes) break;","}","return this;","}",");","createArrayMethod_(","function toLocaleString() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var out = [];","for (var i = 0; i < len; i++) {","out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();","}","return out.join(',');","}",");","})();","")}function Dn(e,t){var n=function(r){return r=arguments.length?he.String(r):"",ue(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,m),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),m),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)W(e,e.J,t[n],String.prototype[t[n]]);n=function(r,o,s){o=e.R(o),s=e.R(s);try{return String(this).localeCompare(r,o,s)}catch(a){w(e,e.D,"localeCompare: "+a.message)}},W(e,e.J,"localeCompare",n),n=function(r,o,s){var a=String(this);if(o=o?Number(o):void 0,V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.split(separator, limit)",{string:a,separator:r,limit:o},r,s),r!==ke&&s(se(e,r));else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(x){clearTimeout(d),s(se(e,x.data))},f.postMessage(["split",a,r,o])}return}r=a.split(r,o),s(se(e,r))},Ge(e,e.J,"split",n),n=function(r,o){var s=String(this);if(r=V(e,r,e.I)?r.data:new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.match(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r&&se(e,r));else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data&&se(e,d.data))},a.postMessage(["match",s,r])}else r=s.match(r),o(r&&se(e,r))},Ge(e,e.J,"match",n),n=function(r,o){var s=String(this);if(V(e,r,e.I)?r=r.data:r=new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.search(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r);else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data)},a.postMessage(["search",s,r])}else o(s.search(r))},Ge(e,e.J,"search",n),n=function(r,o,s){var a=String(this);if(o=String(o),V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.replace(substr, newSubstr)",{string:a,substr:r,newSubstr:o},r,s),r!==ke&&s(r);else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(x){clearTimeout(d),s(x.data)},f.postMessage(["replace",a,r,o])}return}s(a.replace(r,o))},Ge(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function _n(e,t){e.mb=e.i(function(n){return n=he.Boolean(n),ue(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,m)}function Un(e,t){var n=function(r){return r=arguments.length?he.Number(r):0,ue(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,m),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],Ue);n=function(r){try{return Number(this).toExponential(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toString",n),n=function(r,o){r=r?e.R(r):void 0,o=o?e.R(o):void 0;try{return Number(this).toLocaleString(r,o)}catch(s){w(e,e.D,"toLocaleString: "+s.message)}},W(e,e.aa,"toLocaleString",n)}function Fn(e,t){var n=function(o,s){if(!ue(e))return he.Date();var a=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(he.Date,a)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,m),e.g(e.$,"now",e.i(Date.now,!1),m),e.g(e.$,"parse",e.i(Date.parse,!1),m),e.g(e.$,"UTC",e.i(Date.UTC,!1),m),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(o){return function(s){var a=this.data;a instanceof Date||w(e,e.j,o+" not called on a Date");for(var f=[],d=0;d<arguments.length;d++)f[d]=e.R(arguments[d]);return a[o].apply(a,f)}}(t[r]),W(e,e.$,t[r],n)}function Ln(e,t){var n=function(r,o){if(ue(e))var s=this;else{if(o===void 0&&V(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),o=o?String(o):"",/^[gmi]*$/.test(o)||w(e,e.T,"Invalid regexp flag: "+o);try{var a=new he.RegExp(r,o)}catch(f){w(e,e.T,f.message)}return $t(e,s,a),s};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,m),e.g(e.I.h.prototype,"global",void 0,K),e.g(e.I.h.prototype,"ignoreCase",void 0,K),e.g(e.I.h.prototype,"multiline",void 0,K),e.g(e.I.h.prototype,"source","(?:)",K),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,o){function s(T){if(T){var I=se(e,T);return e.g(I,"index",T.index),e.g(I,"input",T.input),I}return null}var a=this.data;if(r=String(r),a.lastIndex=Number(e.G(this,"lastIndex")),Le(e,a,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"regexp.exec(string)",{string:r,regexp:a},a,o),r!==ke&&(e.g(this,"lastIndex",a.lastIndex),o(s(r)));else{var f=e.ha(),d=We(e,a,f,o),x=this;f.onmessage=function(T){clearTimeout(d),e.g(x,"lastIndex",T.data[1]),o(s(T.data[0]))},f.postMessage(["exec",a,a.lastIndex,r])}else r=a.exec(r),e.g(this,"lastIndex",a.lastIndex),o(s(r))},Ge(e,e.I,"exec",n)}function Wn(e,t){function n(r){var o=e.i(function(s){var a=ue(e)?this:e.Aa(o);return Dt(e,a,s),a},!0);return e.g(o,"prototype",e.Aa(e.D),m),e.g(o.h.prototype,"name",r,m),e.g(t,r,o,m),o}e.D=e.i(function(r){var o=ue(e)?this:e.Aa(e.D);return Dt(e,o,r),o},!0),e.g(t,"Error",e.D,m),e.g(e.D.h.prototype,"message","",m),e.g(e.D.h.prototype,"name","Error",m),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function Gn(e,t){var n=e.s(e.M);e.g(t,"Math",n,m);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],K);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),m)}function $n(e,t){var n=e.s(e.M);e.g(t,"JSON",n,m),t=function(r){try{var o=JSON.parse(String(r))}catch(s){w(e,e.T,s.message)}return e.Ia(o)},e.g(n,"parse",e.i(t,!1)),t=function(r,o,s){o&&o.H==="Function"?w(e,e.j,"Function replacer on JSON.stringify not supported"):o&&o.H==="Array"?(o=Hr(e,o),o=o.filter(function(f){return typeof f=="string"||typeof f=="number"})):o=null,typeof s!="string"&&typeof s!="number"&&(s=void 0),r=e.R(r);try{var a=JSON.stringify(r,o,s)}catch(f){w(e,e.j,f.message)}return a},e.g(n,"stringify",e.i(t,!1))}function V(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=le(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function $t(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,m),e.g(t,"source",n.source,K),e.g(t,"global",n.global,K),e.g(t,"ignoreCase",n.ignoreCase,K),e.g(t,"multiline",n.multiline,K)}function Dt(e,t,n){n&&e.g(t,"message",String(n),m),n=[];for(var r=e.o.length-1;0<=r;r--){var o=e.o[r],s=o.node;s.type==="CallExpression"&&(o=o.U)&&n.length&&(n[n.length-1].Ob=e.G(o,"name")),!s.X||n.length&&s.type!=="CallExpression"||n.push({Nb:s.X})}for(r=String(e.G(t,"name")),s=String(e.G(t,"message")),s=r+": "+s+`
@@ -1,8 +1,8 @@
1
1
  import { jsx as O, Fragment as L, jsxs as it } from "react/jsx-runtime";
2
2
  import { createContext as On, useEffect as pe, useState as he, useContext as Lt, useRef as jn } from "react";
3
3
  import { BuilderContext as Xt } from "./blocks-exports.mjs";
4
- import { isEditing as Ft, isBrowser as Wt, getUserAttributes as An, checkIsDefined as st, logger as Jr, TARGET as lt, isPreviewing as In } from "./server-entry-fec7344c.js";
5
- import { getClassPropName as Tn } from "./get-class-prop-name-e31571bf.js";
4
+ import { isEditing as Ft, isBrowser as Wt, getUserAttributes as An, checkIsDefined as st, logger as Jr, TARGET as lt, isPreviewing as In } from "./server-entry-406d9576.js";
5
+ import { getClassPropName as Tn } from "./get-class-prop-name-219095c0.js";
6
6
  import { DynamicRenderer as Pn } from "./dynamic-renderer-8b343325.js";
7
7
  const bn = On({ registeredComponents: {} }), Nn = (e, t, n) => {
8
8
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, s) => o != null ? o[s] : o, e);
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./server-entry-d79ba493.cjs"),e=require("react"),r=e.lazy(()=>Promise.resolve().then(()=>require("./button-8ab624e2.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./columns-0d6d8b29.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./image-cce92f6c.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-064c9433.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./text-e6dbb721.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./video-cc58dd83.cjs"))),m=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-3024bb2c.cjs")).then(t=>t.blocks)),y=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-b2c99976.cjs")).then(t=>t.contentVariants)),v=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:"",model:""});exports.setClientUserAttributes=o.setClientUserAttributes;exports.Blocks=m;exports.BuilderContext=v;exports.Button=r;exports.Columns=n;exports.Content=y;exports.Fragment=s;exports.Image=i;exports.Section=l;exports.Symbol=c;exports.Text=a;exports.Video=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./server-entry-5edd9be5.cjs"),e=require("react"),r=e.lazy(()=>Promise.resolve().then(()=>require("./button-1984c901.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./columns-2b2cf661.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./image-cce92f6c.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-9c9940fb.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./text-e6dbb721.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./video-cc58dd83.cjs"))),m=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-1dc43011.cjs")).then(t=>t.blocks)),y=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-bc4a2651.cjs")).then(t=>t.contentVariants)),v=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:"",model:""});exports.setClientUserAttributes=o.setClientUserAttributes;exports.Blocks=m;exports.BuilderContext=v;exports.Button=r;exports.Columns=n;exports.Content=y;exports.Fragment=s;exports.Image=i;exports.Section=l;exports.Symbol=c;exports.Text=a;exports.Video=u;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { setClientUserAttributes as C } from "./server-entry-fec7344c.js";
2
+ import { setClientUserAttributes as C } from "./server-entry-406d9576.js";
3
3
  import { lazy as t, createContext as e } from "react";
4
- const s = t(() => import("./button-36cacb47.js")), r = t(() => import("./columns-597b4a0e.js")), i = t(() => import("./fragment-1492bc7f.js")), a = t(() => import("./image-d87761af.js")), c = t(() => import("./section-d83e2dd3.js")), m = t(() => import("./symbol-93b85799.js")), l = t(() => import("./text-5915f038.js")), p = t(() => import("./video-52df64e2.js")), u = t(() => import("./blocks-729e6331.js").then((o) => o.blocks)), d = t(() => import("./content-variants-78e04173.js").then((o) => o.contentVariants)), x = e({
4
+ const s = t(() => import("./button-041e711c.js")), r = t(() => import("./columns-92e5946e.js")), i = t(() => import("./fragment-1492bc7f.js")), a = t(() => import("./image-d87761af.js")), c = t(() => import("./section-d83e2dd3.js")), m = t(() => import("./symbol-a6bc073a.js")), l = t(() => import("./text-5915f038.js")), p = t(() => import("./video-52df64e2.js")), u = t(() => import("./blocks-c00ca88f.js").then((o) => o.blocks)), d = t(() => import("./content-variants-cce99ed6.js").then((o) => o.contentVariants)), x = e({
5
5
  content: null,
6
6
  context: {},
7
7
  localState: void 0,
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { DynamicRenderer as r } from "./dynamic-renderer-8b343325.js";
3
- import { getClassPropName as n } from "./get-class-prop-name-e31571bf.js";
4
- import "./server-entry-fec7344c.js";
3
+ import { getClassPropName as n } from "./get-class-prop-name-219095c0.js";
4
+ import "./server-entry-406d9576.js";
5
5
  function b(t) {
6
6
  function e() {
7
7
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),r=require("./dynamic-renderer-b29b45ca.cjs"),t=require("./get-class-prop-name-a8c4e896.cjs");require("./server-entry-d79ba493.cjs");function u(e){function n(){return{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}}}return i.jsx(r.DynamicRenderer,{attributes:n(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),r=require("./dynamic-renderer-b29b45ca.cjs"),t=require("./get-class-prop-name-0276175d.cjs");require("./server-entry-5edd9be5.cjs");function u(e){function n(){return{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}}}return i.jsx(r.DynamicRenderer,{attributes:n(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=u;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("./blocks-3024bb2c.cjs"),j=require("./dynamic-renderer-b29b45ca.cjs"),B=require("./get-class-prop-name-a8c4e896.cjs");require("react");require("./blocks-exports.cjs");require("./server-entry-d79ba493.cjs");const q=t=>`builder-columns ${t}-breakpoints`;function p(t){var f,k;function a(){return typeof t.space=="number"?t.space||0:20}function s(){return t.columns||[]}function u(){return t.stackColumnsAt||"tablet"}function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=s()[e])==null?void 0:n.width)||100/s().length}function S(e){const n=x(e),i=a()*(s().length-1)*(n/100);return`calc(${n}% - ${i}px)`}function c({stackedStyle:e,desktopStyle:n}){return u()==="tablet"?e:n}function d({stackedStyle:e,desktopStyle:n}){return u()==="never"?n:e}function m(){return t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column"}function C(){return{"--flex-dir":m(),"--flex-dir-tablet":c({stackedStyle:m(),desktopStyle:"row"})}}function v(e){const n=e===0?0:a(),i=S(e),r=`${n}px`,g="100%",h=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["marginLeft"]:r,"--column-width-mobile":d({stackedStyle:g,desktopStyle:i}),"--column-margin-left-mobile":d({stackedStyle:h,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:g,desktopStyle:i}),"--column-margin-left-tablet":c({stackedStyle:h,desktopStyle:r})}}function b(e){var i,r;return o.getSizesForBreakpoints(((r=(i=t.builderContext.content)==null?void 0:i.meta)==null?void 0:r.breakpoints)||{})[e].max}function w(){const e=`.${t.builderBlock.id}-breakpoints > .builder-column`;return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("./blocks-1dc43011.cjs"),j=require("./dynamic-renderer-b29b45ca.cjs"),B=require("./get-class-prop-name-0276175d.cjs");require("react");require("./blocks-exports.cjs");require("./server-entry-5edd9be5.cjs");const q=t=>`builder-columns ${t}-breakpoints`;function p(t){var f,k;function a(){return typeof t.space=="number"?t.space||0:20}function s(){return t.columns||[]}function u(){return t.stackColumnsAt||"tablet"}function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=s()[e])==null?void 0:n.width)||100/s().length}function S(e){const n=x(e),i=a()*(s().length-1)*(n/100);return`calc(${n}% - ${i}px)`}function c({stackedStyle:e,desktopStyle:n}){return u()==="tablet"?e:n}function d({stackedStyle:e,desktopStyle:n}){return u()==="never"?n:e}function m(){return t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column"}function C(){return{"--flex-dir":m(),"--flex-dir-tablet":c({stackedStyle:m(),desktopStyle:"row"})}}function v(e){const n=e===0?0:a(),i=S(e),r=`${n}px`,g="100%",h=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["marginLeft"]:r,"--column-width-mobile":d({stackedStyle:g,desktopStyle:i}),"--column-margin-left-mobile":d({stackedStyle:h,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:g,desktopStyle:i}),"--column-margin-left-tablet":c({stackedStyle:h,desktopStyle:r})}}function b(e){var i,r;return o.getSizesForBreakpoints(((r=(i=t.builderContext.content)==null?void 0:i.meta)==null?void 0:r.breakpoints)||{})[e].max}function w(){const e=`.${t.builderBlock.id}-breakpoints > .builder-column`;return`
2
2
  @media (max-width: ${b("medium")}px) {
3
3
  .${t.builderBlock.id}-breakpoints {
4
4
  flex-direction: var(--flex-dir-tablet);
@@ -1,10 +1,10 @@
1
1
  import { jsxs as g, Fragment as $, jsx as r } from "react/jsx-runtime";
2
- import { InlinedStyles as B, Blocks as L, mapStyleObjToStrIfNeeded as W, getSizesForBreakpoints as z } from "./blocks-729e6331.js";
2
+ import { InlinedStyles as B, Blocks as L, mapStyleObjToStrIfNeeded as W, getSizesForBreakpoints as z } from "./blocks-c00ca88f.js";
3
3
  import { DynamicRenderer as A } from "./dynamic-renderer-8b343325.js";
4
- import { getClassPropName as N } from "./get-class-prop-name-e31571bf.js";
4
+ import { getClassPropName as N } from "./get-class-prop-name-219095c0.js";
5
5
  import "react";
6
6
  import "./blocks-exports.mjs";
7
- import "./server-entry-fec7344c.js";
7
+ import "./server-entry-406d9576.js";
8
8
  const D = (e) => `builder-columns ${e}-breakpoints`;
9
9
  function O(e) {
10
10
  var b, f;
@@ -1,4 +1,4 @@
1
- "use strict";const h=require("react/jsx-runtime"),s=require("react"),o=require("./server-entry-d79ba493.cjs"),F=require("./blocks-exports.cjs"),W=require("./blocks-3024bb2c.cjs");function de(e,t,n,r){function l(f){return typeof f=="string"}function u(f){return typeof f=="number"}function i(f,y){return(()=>{const k=y.property,A=y.operator;let d=y.value;if(y&&y.property==="urlPath"&&y.value&&typeof y.value=="string"&&y.value!=="/"&&y.value.endsWith("/")&&(d=y.value.slice(0,-1)),!(k&&A))return!0;if(Array.isArray(d))return A==="isNot"?d.every(P=>i(f,{property:k,operator:A,value:P})):!!d.find(P=>i(f,{property:k,operator:A,value:P}));const m=f[k];if(Array.isArray(m))return m.includes(d);switch(A){case"is":return m===d;case"isNot":return m!==d;case"contains":return(l(m)||Array.isArray(m))&&m.includes(String(d));case"startsWith":return l(m)&&m.startsWith(String(d));case"endsWith":return l(m)&&m.endsWith(String(d));case"greaterThan":return u(m)&&u(d)&&m>d;case"lessThan":return u(m)&&u(d)&&m<d;case"greaterThanOrEqualTo":return u(m)&&u(d)&&m>=d;case"lessThanOrEqualTo":return u(m)&&u(d)&&m<=d;default:return!1}})()}const a={query:t,startDate:n,endDate:r},c=e.date&&new Date(e.date)||new Date;return a.startDate&&new Date(a.startDate)>c||a.endDate&&new Date(a.endDate)<c?!1:!a.query||!a.query.length?!0:a.query.every(f=>i(e,f))}const ce=`function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1
+ "use strict";const h=require("react/jsx-runtime"),r=require("react"),o=require("./server-entry-5edd9be5.cjs"),F=require("./blocks-exports.cjs"),W=require("./blocks-1dc43011.cjs");function de(e,t,n,s){function l(f){return typeof f=="string"}function u(f){return typeof f=="number"}function i(f,y){return(()=>{const k=y.property,A=y.operator;let d=y.value;if(y&&y.property==="urlPath"&&y.value&&typeof y.value=="string"&&y.value!=="/"&&y.value.endsWith("/")&&(d=y.value.slice(0,-1)),!(k&&A))return!0;if(Array.isArray(d))return A==="isNot"?d.every(P=>i(f,{property:k,operator:A,value:P})):!!d.find(P=>i(f,{property:k,operator:A,value:P}));const m=f[k];if(Array.isArray(m))return m.includes(d);switch(A){case"is":return m===d;case"isNot":return m!==d;case"contains":return(l(m)||Array.isArray(m))&&m.includes(String(d));case"startsWith":return l(m)&&m.startsWith(String(d));case"endsWith":return l(m)&&m.endsWith(String(d));case"greaterThan":return u(m)&&u(d)&&m>d;case"lessThan":return u(m)&&u(d)&&m<d;case"greaterThanOrEqualTo":return u(m)&&u(d)&&m>=d;case"lessThanOrEqualTo":return u(m)&&u(d)&&m<=d;default:return!1}})()}const a={query:t,startDate:n,endDate:s},c=e.date&&new Date(e.date)||new Date;return a.startDate&&new Date(a.startDate)>c||a.endDate&&new Date(a.endDate)<c?!1:!a.query||!a.query.length?!0:a.query.every(f=>i(e,f))}const ce=`function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
2
2
  if (!navigator.cookieEnabled) {
3
3
  return;
4
4
  }
@@ -159,11 +159,11 @@
159
159
  visibilityStylesEl.innerHTML = newStyleStr;
160
160
  }
161
161
  }
162
- }`,te="default",fe="filterWithCustomTargeting",ne="builderIoPersonalization",ie="updateVisibilityStylesScript",ae=["react","vue","svelte","qwik"],oe=["vue","svelte","qwik"];function ge(e,t){return!(e&&e.length>0)||!t?!1:oe.includes(o.TARGET)?!0:!o.isBrowser()}function he({variants:e,previewingIndex:t,isHydrated:n,filteredVariants:r,fallbackBlocks:l}){var i;const u={blocks:l!=null?l:[],path:"this.children",index:te};if(n&&o.isEditing()){if(typeof t=="number"&&t<((i=e==null?void 0:e.length)!=null?i:0)){const a=e==null?void 0:e[t];if(a)return{blocks:a.blocks,path:`variants.${t}.blocks`,index:t}}return u}if(o.isBrowser()){const a=r==null?void 0:r[0];if(a&&e){const c=e.indexOf(a);if(c!==-1)return{blocks:a.blocks,path:`variants.${c}.blocks`,index:c}}}return u}const be=()=>`
162
+ }`,te="default",fe="filterWithCustomTargeting",ne="builderIoPersonalization",ie="updateVisibilityStylesScript",ae=["react","vue","svelte","qwik"],oe=["vue","svelte","qwik"];function ge(e,t){return!(e&&e.length>0)||!t?!1:oe.includes(o.TARGET)?!0:!o.isBrowser()}function he({variants:e,previewingIndex:t,isHydrated:n,filteredVariants:s,fallbackBlocks:l}){var i;const u={blocks:l!=null?l:[],path:"this.children",index:te};if(n&&o.isEditing()){if(typeof t=="number"&&t<((i=e==null?void 0:e.length)!=null?i:0)){const a=e==null?void 0:e[t];if(a)return{blocks:a.blocks,path:`variants.${t}.blocks`,index:t}}return u}if(o.isBrowser()){const a=s==null?void 0:s[0];if(a&&e){const c=e.indexOf(a);if(c!==-1)return{blocks:a.blocks,path:`variants.${c}.blocks`,index:c}}}return u}const be=()=>`
163
163
  window.${fe} = ${me}
164
164
  window.${ne} = ${ce}
165
165
  window.${ie} = ${pe}
166
- `,re=o.TARGET==="react",ye=(e,t,n)=>`window.${ne}(${JSON.stringify(e)}, "${t}", ${re}${n?`, "${n}"`:""})`,ve=(e,t,n)=>`window.${ie}(${JSON.stringify(e)}, "${t}", ${re}${n?`, "${n}"`:""})`,U={"@type":"@builder.io/sdk:Element",layerName:"Accordion item title",responsiveStyles:{large:{marginTop:"10px",position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"left",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am an accordion title. Click me!"}}}]},H={"@type":"@builder.io/sdk:Element",layerName:"Accordion item detail",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",marginTop:"10px",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingTop:"50px",textAlign:"left",display:"flex",flexDirection:"column",paddingBottom:"50px"}},component:{name:"Text",options:{text:"I am an accordion detail, hello!"}}}]},xe={name:"Builder:Accordion",canHaveChildren:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",defaultStyles:{display:"flex",flexDirection:"column",alignItems:"stretch"},inputs:[{name:"items",type:"list",broadcast:!0,subFields:[{name:"title",type:"uiBlocks",hideFromUI:!0,defaultValue:[U]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[H]}],defaultValue:[{title:[U],detail:[H]},{title:[U],detail:[H]}],showIf:e=>!e.get("useChildrenForItems")},{name:"oneAtATime",helperText:"Only allow opening one at a time (collapse all others when new item openned)",type:"boolean",defaultValue:!1},{name:"grid",helperText:"Display as a grid",type:"boolean",defaultValue:!1},{name:"gridRowWidth",helperText:"Display as a grid",type:"string",showIf:e=>e.get("grid"),defaultValue:"25%"},{name:"useChildrenForItems",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating items",advanced:!0,defaultValue:!1,onChange:e=>{e.get("useChildrenForItems")===!0&&e.set("items",[])}}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Se=s.lazy(()=>Promise.resolve().then(()=>require("./accordion-3f30d417.cjs"))),Te={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,shouldReceiveBuilderProps:{builderLinkComponent:!0}},Ie={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(r=>{r.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(l=>l.get("width"))&&(n.find(u=>!u.get("width"))||n.reduce((a,c)=>a+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}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},ke={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},z=["jpeg","jpg","png","svg","webp","gif","jfif","pjpeg","pjp","apng","avif","tif","tiff","heif","bmp","eps","raw","cr2","nef","orf","sr2","psd","heic","dib","ai"],Ce=["mp4","webm","mkv","flv","vob","ogv","ogg","drc","gif","gifv","mng","avi","mov","qt","mts","m2ts","ts","wmv","yuv","rm","rmvb","viv","asf","amv","m4p","mpeg","mpe","m2v","m4v","svi","3gp","3g2","mxf","roq","nsv","f4v","f4p","f4a","f4b"],we={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:z,required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(i,a=6e4){return new Promise((c,f)=>{const y=document.createElement("img");let R=!1;y.onload=()=>{R=!0,c(y)},y.addEventListener("error",k=>{console.warn("Image load failed",k.error),f(k.error)}),y.src=i,setTimeout(()=>{R||f(new Error("Image load timed out"))},a)})}function r(i){return Math.round(i*1e3)/1e3}const l=e.get("image"),u=e.get("aspectRatio");if(fetch(l).then(i=>i.blob()).then(i=>{i.type.includes("svg")&&e.set("noWebp",!0)}),l&&(!u||u===.7041))return n(l).then(i=>{const a=e.get("aspectRatio");e.get("image")===l&&(!a||a===.7041)&&i.width&&i.height&&(e.set("aspectRatio",r(i.height/i.width)),e.set("height",i.height),e.set("width",i.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:"title",type:"string",helperText:"Text to display when hovering over the asset"},{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:"highPriority",type:"boolean",advanced:!0,helperText:"Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."},{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}],shouldReceiveBuilderProps:{builderBlock:!0}},Ee={name:"PersonalizationContainer",shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0},noWrap:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F37229ed30d8c41dfb10b8cca1992053a",canHaveChildren:!0,inputs:[{name:"variants",defaultValue:[],behavior:"personalizationVariantList",type:"list",subFields:[{name:"name",type:"text"},{name:"query",friendlyName:"Targeting rules",type:"BuilderQuery",defaultValue:[]},{name:"startDate",type:"date"},{name:"endDate",type:"date"},{name:"blocks",type:"uiBlocks",hideFromUI:!0,defaultValue:[]}]}]},Ve=s.lazy(()=>Promise.resolve().then(()=>require("./personalization-container-74138dc4.cjs"))),Re={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>"}}}]},Ae={name:"Slot",isRSC:!0,description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}],shouldReceiveBuilderProps:{builderContext:!0,builderComponents:!0}},Pe=s.lazy(()=>Promise.resolve().then(()=>require("./slot-4ad8e165.cjs"))),De={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"}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},j={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"10px",paddingBottom:"10px",minWidth:"100px",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",userSelect:"none"}},component:{name:"Text",options:{text:"New tab"}}},O={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},Fe={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[j]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[O]}],defaultValue:[{label:[{...j,component:{name:"Text",options:{text:"Tab 1"}}}],content:[{...O,component:{name:"Text",options:{text:"Tab 1 content"}}}]},{label:[{...j,component:{name:"Text",options:{text:"Tab 2"}}}],content:[{...O,component:{name:"Text",options:{text:"Tab 2 content"}}}]}]},{name:"activeTabStyle",type:"uiStyle",helperText:"CSS styles for the active tab",defaultValue:{backgroundColor:"rgba(0, 0, 0, 0.1)"}},{name:"defaultActiveTab",type:"number",helperText:'Default tab to open to. Set to "1" for the first tab, "2" for the second, or choose "0" for none',defaultValue:1,advanced:!0},{name:"collapsible",type:"boolean",helperText:"If on, clicking an open tab closes it so no tabs are active",defaultValue:!1,advanced:!0},{name:"tabHeaderLayout",type:"enum",helperText:"Change the layout of the tab headers (uses justify-content)",defaultValue:"flex-start",enum:[{label:"Center",value:"center"},{label:"Space between",value:"space-between"},{label:"Space around",value:"space-around"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"}]}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},We=s.lazy(()=>Promise.resolve().then(()=>require("./tabs-f81e3a59.cjs"))),Ne={shouldReceiveBuilderProps:{},name:"Text",static:!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"}},qe={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}]},_e=s.lazy(()=>Promise.resolve().then(()=>require("./custom-code-1d8040fe.cjs"))),$e={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc"},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},Be=s.lazy(()=>Promise.resolve().then(()=>require("./embed-89e540df.cjs"))),Le={name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"your@email.com",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:"application/json",advanced:!0,enum:["application/json","multipart/form-data","application/x-www-form-urlencoded"],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:"options.get('sendSubmissionsTo') === 'custom' && options.get('sendWithJs') === true",advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},{name:"customHeaders",type:"map",valueType:{type:"string"},advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'}],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"jane@doe.com"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Ue=s.lazy(()=>Promise.resolve().then(()=>require("./form-46264810.cjs"))),He={name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}},je=s.lazy(()=>Promise.resolve().then(()=>require("./input-6d65470b.cjs"))),Oe={name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0},ze=s.lazy(()=>Promise.resolve().then(()=>require("./select-cec6b7d9.cjs"))),Ke={name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0},Me=s.lazy(()=>Promise.resolve().then(()=>require("./submit-button-b363e0ed.cjs"))),Ge={name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",inputs:[{advanced:!0,name:"value",type:"string"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"placeholder",type:"string",defaultValue:"Hello there"},{name:"required",type:"boolean",defaultValue:!1}],defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"},static:!0,noWrap:!0},Je=s.lazy(()=>Promise.resolve().then(()=>require("./textarea-56a875bc.cjs"))),Qe={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:z,required:!0},{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:"title",type:"string",helperText:"Text to display when hovering over the asset"},{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}],noWrap:!0},Ye=s.lazy(()=>Promise.resolve().then(()=>require("./img-821534bf.cjs"))),Xe={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:Ce,bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:z,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}],shouldReceiveBuilderProps:{builderBlock:!0}},Ze=()=>[{component:_e,...qe},{component:Be,...$e},{component:Ue,...Le},{component:je,...He},{component:Me,...Ke},{component:ze,...Oe},{component:Je,...Ge},{component:Ye,...Qe},{component:F.Video,...Xe}],Q=()=>[{component:F.Button,...Te},{component:F.Columns,...Ie},{component:F.Fragment,...ke},{component:F.Image,...we},{component:F.Section,...Re},{component:Pe,...Ae},{component:F.Symbol,...De},{component:F.Text,...Ne},...ae.includes(o.TARGET)?[{component:Ve,...Ee}]:[],{component:We,...Fe},{component:Se,...xe},...Ze()],et=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
166
+ `,re=o.TARGET==="react",ye=(e,t,n)=>`window.${ne}(${JSON.stringify(e)}, "${t}", ${re}${n?`, "${n}"`:""})`,ve=(e,t,n)=>`window.${ie}(${JSON.stringify(e)}, "${t}", ${re}${n?`, "${n}"`:""})`,U={"@type":"@builder.io/sdk:Element",layerName:"Accordion item title",responsiveStyles:{large:{marginTop:"10px",position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"left",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am an accordion title. Click me!"}}}]},H={"@type":"@builder.io/sdk:Element",layerName:"Accordion item detail",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",marginTop:"10px",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingTop:"50px",textAlign:"left",display:"flex",flexDirection:"column",paddingBottom:"50px"}},component:{name:"Text",options:{text:"I am an accordion detail, hello!"}}}]},xe={name:"Builder:Accordion",canHaveChildren:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",defaultStyles:{display:"flex",flexDirection:"column",alignItems:"stretch"},inputs:[{name:"items",type:"list",broadcast:!0,subFields:[{name:"title",type:"uiBlocks",hideFromUI:!0,defaultValue:[U]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[H]}],defaultValue:[{title:[U],detail:[H]},{title:[U],detail:[H]}],showIf:e=>!e.get("useChildrenForItems")},{name:"oneAtATime",helperText:"Only allow opening one at a time (collapse all others when new item openned)",type:"boolean",defaultValue:!1},{name:"grid",helperText:"Display as a grid",type:"boolean",defaultValue:!1},{name:"gridRowWidth",helperText:"Display as a grid",type:"string",showIf:e=>e.get("grid"),defaultValue:"25%"},{name:"useChildrenForItems",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating items",advanced:!0,defaultValue:!1,onChange:e=>{e.get("useChildrenForItems")===!0&&e.set("items",[])}}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Se=r.lazy(()=>Promise.resolve().then(()=>require("./accordion-8b1f60fc.cjs"))),Te={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,shouldReceiveBuilderProps:{builderLinkComponent:!0}},Ie={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(s=>{s.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(l=>l.get("width"))&&(n.find(u=>!u.get("width"))||n.reduce((a,c)=>a+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}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},ke={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},z=["jpeg","jpg","png","svg","webp","gif","jfif","pjpeg","pjp","apng","avif","tif","tiff","heif","bmp","eps","raw","cr2","nef","orf","sr2","psd","heic","dib","ai"],Ce=["mp4","webm","mkv","flv","vob","ogv","ogg","drc","gif","gifv","mng","avi","mov","qt","mts","m2ts","ts","wmv","yuv","rm","rmvb","viv","asf","amv","m4p","mpeg","mpe","m2v","m4v","svi","3gp","3g2","mxf","roq","nsv","f4v","f4p","f4a","f4b"],we={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:z,required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(i,a=6e4){return new Promise((c,f)=>{const y=document.createElement("img");let R=!1;y.onload=()=>{R=!0,c(y)},y.addEventListener("error",k=>{console.warn("Image load failed",k.error),f(k.error)}),y.src=i,setTimeout(()=>{R||f(new Error("Image load timed out"))},a)})}function s(i){return Math.round(i*1e3)/1e3}const l=e.get("image"),u=e.get("aspectRatio");if(fetch(l).then(i=>i.blob()).then(i=>{i.type.includes("svg")&&e.set("noWebp",!0)}),l&&(!u||u===.7041))return n(l).then(i=>{const a=e.get("aspectRatio");e.get("image")===l&&(!a||a===.7041)&&i.width&&i.height&&(e.set("aspectRatio",s(i.height/i.width)),e.set("height",i.height),e.set("width",i.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:"title",type:"string",helperText:"Text to display when hovering over the asset"},{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:"highPriority",type:"boolean",advanced:!0,helperText:"Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."},{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}],shouldReceiveBuilderProps:{builderBlock:!0}},Ee={name:"PersonalizationContainer",shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0},noWrap:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F37229ed30d8c41dfb10b8cca1992053a",canHaveChildren:!0,inputs:[{name:"variants",defaultValue:[],behavior:"personalizationVariantList",type:"list",subFields:[{name:"name",type:"text"},{name:"query",friendlyName:"Targeting rules",type:"BuilderQuery",defaultValue:[]},{name:"startDate",type:"date"},{name:"endDate",type:"date"},{name:"blocks",type:"uiBlocks",hideFromUI:!0,defaultValue:[]}]}]},Ve=r.lazy(()=>Promise.resolve().then(()=>require("./personalization-container-8000ecb8.cjs"))),Re={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>"}}}]},Ae={name:"Slot",isRSC:!0,description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}],shouldReceiveBuilderProps:{builderContext:!0,builderComponents:!0}},Pe=r.lazy(()=>Promise.resolve().then(()=>require("./slot-d9dad534.cjs"))),De={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"}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},j={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"10px",paddingBottom:"10px",minWidth:"100px",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",userSelect:"none"}},component:{name:"Text",options:{text:"New tab"}}},O={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},Fe={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[j]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[O]}],defaultValue:[{label:[{...j,component:{name:"Text",options:{text:"Tab 1"}}}],content:[{...O,component:{name:"Text",options:{text:"Tab 1 content"}}}]},{label:[{...j,component:{name:"Text",options:{text:"Tab 2"}}}],content:[{...O,component:{name:"Text",options:{text:"Tab 2 content"}}}]}]},{name:"activeTabStyle",type:"uiStyle",helperText:"CSS styles for the active tab",defaultValue:{backgroundColor:"rgba(0, 0, 0, 0.1)"}},{name:"defaultActiveTab",type:"number",helperText:'Default tab to open to. Set to "1" for the first tab, "2" for the second, or choose "0" for none',defaultValue:1,advanced:!0},{name:"collapsible",type:"boolean",helperText:"If on, clicking an open tab closes it so no tabs are active",defaultValue:!1,advanced:!0},{name:"tabHeaderLayout",type:"enum",helperText:"Change the layout of the tab headers (uses justify-content)",defaultValue:"flex-start",enum:[{label:"Center",value:"center"},{label:"Space between",value:"space-between"},{label:"Space around",value:"space-around"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"}]}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},We=r.lazy(()=>Promise.resolve().then(()=>require("./tabs-57b3f986.cjs"))),Ne={shouldReceiveBuilderProps:{},name:"Text",static:!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"}},qe={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}]},_e=r.lazy(()=>Promise.resolve().then(()=>require("./custom-code-1f128470.cjs"))),$e={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc"},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},Be=r.lazy(()=>Promise.resolve().then(()=>require("./embed-bc36f168.cjs"))),Le={name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"your@email.com",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:"application/json",advanced:!0,enum:["application/json","multipart/form-data","application/x-www-form-urlencoded"],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:"options.get('sendSubmissionsTo') === 'custom' && options.get('sendWithJs') === true",advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},{name:"customHeaders",type:"map",valueType:{type:"string"},advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'}],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"jane@doe.com"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}],shouldReceiveBuilderProps:{builderBlock:!0,builderContext:!0,builderComponents:!0,builderLinkComponent:!0}},Ue=r.lazy(()=>Promise.resolve().then(()=>require("./form-5786e8d3.cjs"))),He={name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}},je=r.lazy(()=>Promise.resolve().then(()=>require("./input-46b7c2f4.cjs"))),Oe={name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0},ze=r.lazy(()=>Promise.resolve().then(()=>require("./select-c02d2710.cjs"))),Ke={name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0},Me=r.lazy(()=>Promise.resolve().then(()=>require("./submit-button-b363e0ed.cjs"))),Ge={name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",inputs:[{advanced:!0,name:"value",type:"string"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"placeholder",type:"string",defaultValue:"Hello there"},{name:"required",type:"boolean",defaultValue:!1}],defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"},static:!0,noWrap:!0},Je=r.lazy(()=>Promise.resolve().then(()=>require("./textarea-56a875bc.cjs"))),Qe={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:z,required:!0},{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:"title",type:"string",helperText:"Text to display when hovering over the asset"},{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}],noWrap:!0},Ye=r.lazy(()=>Promise.resolve().then(()=>require("./img-e7eefcb8.cjs"))),Xe={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:Ce,bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:z,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}],shouldReceiveBuilderProps:{builderBlock:!0}},Ze=()=>[{component:_e,...qe},{component:Be,...$e},{component:Ue,...Le},{component:je,...He},{component:Me,...Ke},{component:ze,...Oe},{component:Je,...Ge},{component:Ye,...Qe},{component:F.Video,...Xe}],Q=()=>[{component:F.Button,...Te},{component:F.Columns,...Ie},{component:F.Fragment,...ke},{component:F.Image,...we},{component:F.Section,...Re},{component:Pe,...Ae},{component:F.Symbol,...De},{component:F.Text,...Ne},...ae.includes(o.TARGET)?[{component:Ve,...Ee}]:[],{component:We,...Fe},{component:Se,...xe},...Ze()],et=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
167
167
  function getAndSetVariantId() {
168
168
  function setCookie(name, value, days) {
169
169
  let expires = '';
@@ -264,14 +264,14 @@
264
264
  "${t}",${JSON.stringify(e)}, ${ue}, ${at}
265
265
  )`,st=({contentId:e,variationId:t})=>`window.${le}(
266
266
  "${t}", "${e}", ${ue}
267
- )`;function _(e){return h.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},"data-id":e.id,nonce:e.nonce||""})}function Y(e){return Math.round(e*1e3)/1e3}const lt=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let r=n?e:e.parentElement;do{if(!r)return null;if(t(r))return r}while(r=r.parentElement);return null},ut=e=>lt(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),X=({event:e,target:t})=>{const n=t.getBoundingClientRect(),r=e.clientX-n.left,l=e.clientY-n.top,u=Y(r/n.width),i=Y(l/n.height);return{x:u,y:i}},dt=e=>{const t=e.target,n=t&&ut(t),r=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:r||void 0,metadata:{targetOffset:t?X({event:e,target:t}):void 0,builderTargetOffset:n?X({event:e,target:n}):void 0,builderElementIndex:n&&r?[].slice.call(document.getElementsByClassName(r)).indexOf(n):void 0}}},ct=["svelte","qwik","vue"],Z=()=>ct.includes(o.TARGET)&&(o.isEditing()||o.isPreviewing()),mt=e=>{var u,i;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),n=t.split(",")[0],r=(i=e.fileUrl)!=null?i:(u=e==null?void 0:e.files)==null?void 0:u.regular;let l="";if(r&&t&&n&&(l+=`
267
+ )`;function _(e){return h.jsx("script",{dangerouslySetInnerHTML:{__html:e.scriptStr},"data-id":e.id,nonce:e.nonce||""})}function Y(e){return Math.round(e*1e3)/1e3}const lt=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let s=n?e:e.parentElement;do{if(!s)return null;if(t(s))return s}while(s=s.parentElement);return null},ut=e=>lt(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),X=({event:e,target:t})=>{const n=t.getBoundingClientRect(),s=e.clientX-n.left,l=e.clientY-n.top,u=Y(s/n.width),i=Y(l/n.height);return{x:u,y:i}},dt=e=>{const t=e.target,n=t&&ut(t),s=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:s||void 0,metadata:{targetOffset:t?X({event:e,target:t}):void 0,builderTargetOffset:n?X({event:e,target:n}):void 0,builderElementIndex:n&&s?[].slice.call(document.getElementsByClassName(s)).indexOf(n):void 0}}},ct=["svelte","qwik","vue"],Z=()=>ct.includes(o.TARGET)&&(o.isEditing()||o.isPreviewing()),mt=e=>{var u,i;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),n=t.split(",")[0],s=(i=e.fileUrl)!=null?i:(u=e==null?void 0:e.files)==null?void 0:u.regular;let l="";if(s&&t&&n&&(l+=`
268
268
  @font-face {
269
269
  font-family: "${t}";
270
- src: local("${n}"), url('${r}') format('woff2');
270
+ src: local("${n}"), url('${s}') format('woff2');
271
271
  font-display: fallback;
272
272
  font-weight: 400;
273
273
  }
274
- `.trim()),e.files)for(const a in e.files){if(!(String(Number(a))===a))continue;const f=e.files[a];f&&f!==r&&(l+=`
274
+ `.trim()),e.files)for(const a in e.files){if(!(String(Number(a))===a))continue;const f=e.files[a];f&&f!==s&&(l+=`
275
275
  @font-face {
276
276
  font-family: "${t}";
277
277
  src: url('${f}') format('woff2');
@@ -295,8 +295,8 @@ font-weight: ${a};
295
295
  text-align: inherit;
296
296
  font-family: inherit;
297
297
  }
298
- `,ht=e=>e?"":gt,bt=e=>`variant-${e}`;function yt(e){var M,G,J;const t=s.useRef(null);s.useState(()=>!1),s.useState(()=>e.builderContextSignal);const[n,r]=s.useState(()=>null),[l,u]=s.useState(()=>"");function i(p,v){var S,g;const b={...e.builderContextSignal.rootState,...p};e.builderContextSignal.rootSetState?(g=(S=e.builderContextSignal).rootSetState)==null||g.call(S,b):e.setBuilderContextSignal(x=>({...x,rootState:b})),e.builderContextSignal.rootSetState?e.builderContextSignal.rootSetState(b):e.setBuilderContextSignal(x=>({...x,rootState:b}))}function a(p,v){var S,g,x,D,q;const b={...e.builderContextSignal.content,...p,data:{...(S=e.builderContextSignal.content)==null?void 0:S.data,...p==null?void 0:p.data},meta:{...(g=e.builderContextSignal.content)==null?void 0:g.meta,...p==null?void 0:p.meta,breakpoints:((x=p==null?void 0:p.meta)==null?void 0:x.breakpoints)||((q=(D=e.builderContextSignal.content)==null?void 0:D.meta)==null?void 0:q.breakpoints)}};e.setBuilderContextSignal(T=>({...T,content:b}))}function c(){return e.showContent?{}:{hidden:!0,"aria-hidden":!0}}const[f,y]=s.useState(()=>e.contentWrapper||"div");function R(p){return o.createEditorListener({model:e.model,trustedHosts:e.trustedHosts,callbacks:{configureSdk:v=>{var g;const{breakpoints:b,contentId:S}=v;!S||S!==((g=e.builderContextSignal.content)==null?void 0:g.id)||b&&a({meta:{breakpoints:b}})},animation:v=>{W.triggerAnimation(v)},contentUpdate:(v,b)=>{a(v)},stateUpdate:(v,b)=>{i(v)}}})(p)}const[k,A]=s.useState(()=>({})),[d,m]=s.useState(()=>({})),[P,$]=s.useState(()=>!1);function C(p){var v,b;if(e.builderContextSignal.content){const S=(v=e.builderContextSignal.content)==null?void 0:v.testVariationId,g=(b=e.builderContextSignal.content)==null?void 0:b.id;o._track({apiHost:e.apiHost,type:"click",canTrack:o.getDefaultCanTrack(e.canTrack),contentId:g,apiKey:e.apiKey,variationId:S!==g?S:void 0,...dt(p),unique:!P})}P||$(!0)}function w(){var v,b,S;const p=(S=(b=(v=e.builderContextSignal.content)==null?void 0:v.data)==null?void 0:b.httpRequests)!=null?S:{};Object.entries(p).forEach(([g,x])=>{if(!x)return;const D=typeof x=="object"&&x["@type"]==="@builder.io/core:Request";if(d[g]||k[g]&&!o.isEditing())return;const q=D?x.request.url:x;d[g]=!0;const T=q.replace(/{{([^}]+)}}/g,(V,B)=>String(W.evaluate({code:B,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState}))),I=D?{url:T,method:x.request.method,headers:x.request.headers,body:x.request.body}:{url:T,method:"GET"};o.logFetch(JSON.stringify(I));const N={method:I.method,headers:I.headers,body:I.body};I.method==="GET"&&delete N.body,fetch(I.url,N).then(V=>V.json()).then(V=>{i({[g]:V}),k[g]=!0}).catch(V=>{console.error("error fetching dynamic data",JSON.stringify(x),V)}).finally(()=>{d[g]=!1})})}function E(){o.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:W.fastClone(e.builderContextSignal.rootState),ref:{name:e.model}}}))}const K=s.useRef(!1);return K.current||(w(),E(),K.current=!0),s.useEffect(()=>{var p,v,b,S,g;if(o.isBrowser()){o.isEditing()&&!e.isNestedRender&&(window.addEventListener("message",R),o.setupBrowserForEditing({...e.locale?{locale:e.locale}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{},modelName:(p=e.model)!=null?p:"",apiKey:e.apiKey}),Object.values(e.builderContextSignal.componentInfos).forEach(T=>{var I,N;if(!((I=T.models)!=null&&I.length)||T.models.includes(e.model)){const V=o.createRegisterComponentMessage(T);(N=window.parent)==null||N.postMessage(V,"*")}}),window.addEventListener("builder:component:stateChangeListenerActivated",E));const x=e.builderContextSignal.content&&o.getDefaultCanTrack(e.canTrack),D=o.getCookieSync({name:`builder.tests.${(v=e.builderContextSignal.content)==null?void 0:v.id}`,canTrack:!0}),q=(b=e.builderContextSignal.content)==null?void 0:b.testVariationId;if(x&&q===D){const T=(S=e.builderContextSignal.content)==null?void 0:S.id,I=e.apiKey;o._track({apiHost:e.apiHost,type:"impression",canTrack:!0,contentId:T,apiKey:I,variationId:D!==T?D:void 0})}if(o.isPreviewing()&&!o.isEditing()){const T=new URL(location.href).searchParams,I=T.get("builder.preview"),N=T.get(`builder.overrides.${I}`),V=T.get("apiKey")||T.get("builder.space");(I==="BUILDER_STUDIO"||I===e.model&&V===e.apiKey&&(!e.content||N===e.content.id))&&o.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion,...I==="BUILDER_STUDIO"&&((g=e.context)!=null&&g.symbolId)?{query:{id:e.context.symbolId}}:{}}).then(B=>{B&&a(B)})}}},[]),s.useEffect(()=>{e.content&&a(e.content)},[e.content]),s.useEffect(()=>{E()},[e.builderContextSignal.rootState]),s.useEffect(()=>{if(e.data){if(n===e.data)return;i(e.data),r(e.data)}},[e.data]),s.useEffect(()=>{if(e.locale){if(l===e.locale)return;i({locale:e.locale}),u(e.locale)}},[e.locale]),s.useEffect(()=>()=>{o.isBrowser()&&(window.removeEventListener("message",R),window.removeEventListener("builder:component:stateChangeListenerActivated",E))},[]),h.jsx(F.BuilderContext.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content||Z()?h.jsx(f,{ref:t,onClick:p=>C(p),"builder-content-id":(M=e.builderContextSignal.content)==null?void 0:M.id,"builder-model":e.model,className:bt(((G=e.content)==null?void 0:G.testVariationId)||((J=e.content)==null?void 0:J.id)),style:{display:!e.builderContextSignal.content&&Z()?"none":void 0},...c(),...e.contentWrapperProps,children:e.children}):null})}function vt(e){const[t,n]=s.useState(()=>`
298
+ `,ht=e=>e?"":gt,bt=e=>`variant-${e}`;function yt(e){var M,G,J;const t=r.useRef(null);r.useState(()=>!1),r.useState(()=>e.builderContextSignal);const[n,s]=r.useState(()=>null),[l,u]=r.useState(()=>"");function i(p,v){var S,g;const b={...e.builderContextSignal.rootState,...p};e.builderContextSignal.rootSetState?(g=(S=e.builderContextSignal).rootSetState)==null||g.call(S,b):e.setBuilderContextSignal(x=>({...x,rootState:b})),e.builderContextSignal.rootSetState?e.builderContextSignal.rootSetState(b):e.setBuilderContextSignal(x=>({...x,rootState:b}))}function a(p,v){var S,g,x,D,q;const b={...e.builderContextSignal.content,...p,data:{...(S=e.builderContextSignal.content)==null?void 0:S.data,...p==null?void 0:p.data},meta:{...(g=e.builderContextSignal.content)==null?void 0:g.meta,...p==null?void 0:p.meta,breakpoints:((x=p==null?void 0:p.meta)==null?void 0:x.breakpoints)||((q=(D=e.builderContextSignal.content)==null?void 0:D.meta)==null?void 0:q.breakpoints)}};e.setBuilderContextSignal(T=>({...T,content:b}))}function c(){return e.showContent?{}:{hidden:!0,"aria-hidden":!0}}const[f,y]=r.useState(()=>e.contentWrapper||"div");function R(p){return o.createEditorListener({model:e.model,trustedHosts:e.trustedHosts,callbacks:{configureSdk:v=>{var g;const{breakpoints:b,contentId:S}=v;!S||S!==((g=e.builderContextSignal.content)==null?void 0:g.id)||b&&a({meta:{breakpoints:b}})},animation:v=>{W.triggerAnimation(v)},contentUpdate:(v,b)=>{a(v)},stateUpdate:(v,b)=>{i(v)}}})(p)}const[k,A]=r.useState(()=>({})),[d,m]=r.useState(()=>({})),[P,$]=r.useState(()=>!1);function C(p){var v,b;if(e.builderContextSignal.content){const S=(v=e.builderContextSignal.content)==null?void 0:v.testVariationId,g=(b=e.builderContextSignal.content)==null?void 0:b.id;o._track({apiHost:e.apiHost,type:"click",canTrack:o.getDefaultCanTrack(e.canTrack),contentId:g,apiKey:e.apiKey,variationId:S!==g?S:void 0,...dt(p),unique:!P})}P||$(!0)}function w(){var v,b,S;const p=(S=(b=(v=e.builderContextSignal.content)==null?void 0:v.data)==null?void 0:b.httpRequests)!=null?S:{};Object.entries(p).forEach(([g,x])=>{if(!x)return;const D=typeof x=="object"&&x["@type"]==="@builder.io/core:Request";if(d[g]||k[g]&&!o.isEditing())return;const q=D?x.request.url:x;d[g]=!0;const T=q.replace(/{{([^}]+)}}/g,(V,B)=>String(W.evaluate({code:B,context:e.context||{},localState:void 0,rootState:e.builderContextSignal.rootState,rootSetState:e.builderContextSignal.rootSetState}))),I=D?{url:T,method:x.request.method,headers:x.request.headers,body:x.request.body}:{url:T,method:"GET"};o.logFetch(JSON.stringify(I));const N={method:I.method,headers:I.headers,body:I.body};I.method==="GET"&&delete N.body,fetch(I.url,N).then(V=>V.json()).then(V=>{i({[g]:V}),k[g]=!0}).catch(V=>{console.error("error fetching dynamic data",JSON.stringify(x),V)}).finally(()=>{d[g]=!1})})}function E(){o.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:W.fastClone(e.builderContextSignal.rootState),ref:{name:e.model}}}))}const K=r.useRef(!1);return K.current||(w(),E(),K.current=!0),r.useEffect(()=>{var p,v,b,S,g;if(o.isBrowser()){o.isEditing()&&!e.isNestedRender&&(window.addEventListener("message",R),o.setupBrowserForEditing({...e.locale?{locale:e.locale}:{},...e.enrich?{enrich:e.enrich}:{},...e.trustedHosts?{trustedHosts:e.trustedHosts}:{},modelName:(p=e.model)!=null?p:"",apiKey:e.apiKey}),Object.values(e.builderContextSignal.componentInfos).forEach(T=>{var I,N;if(!((I=T.models)!=null&&I.length)||T.models.includes(e.model)){const V=o.createRegisterComponentMessage(T);(N=window.parent)==null||N.postMessage(V,"*")}}),window.addEventListener("builder:component:stateChangeListenerActivated",E));const x=e.builderContextSignal.content&&o.getDefaultCanTrack(e.canTrack),D=o.getCookieSync({name:`builder.tests.${(v=e.builderContextSignal.content)==null?void 0:v.id}`,canTrack:!0}),q=(b=e.builderContextSignal.content)==null?void 0:b.testVariationId;if(x&&q===D){const T=(S=e.builderContextSignal.content)==null?void 0:S.id,I=e.apiKey;o._track({apiHost:e.apiHost,type:"impression",canTrack:!0,contentId:T,apiKey:I,variationId:D!==T?D:void 0})}if(o.isPreviewing()&&!o.isEditing()){const T=new URL(location.href).searchParams,I=T.get("builder.preview"),N=T.get(`builder.overrides.${I}`),V=T.get("apiKey")||T.get("builder.space");(I==="BUILDER_STUDIO"||I===e.model&&V===e.apiKey&&(!e.content||N===e.content.id))&&o.fetchOneEntry({model:e.model,apiKey:e.apiKey,apiVersion:e.builderContextSignal.apiVersion,...I==="BUILDER_STUDIO"&&((g=e.context)!=null&&g.symbolId)?{query:{id:e.context.symbolId}}:{}}).then(B=>{B&&a(B)})}}},[]),r.useEffect(()=>{e.content&&a(e.content)},[e.content]),r.useEffect(()=>{E()},[e.builderContextSignal.rootState]),r.useEffect(()=>{if(e.data){if(n===e.data)return;i(e.data),s(e.data)}},[e.data]),r.useEffect(()=>{if(e.locale){if(l===e.locale)return;i({locale:e.locale}),u(e.locale)}},[e.locale]),r.useEffect(()=>()=>{o.isBrowser()&&(window.removeEventListener("message",R),window.removeEventListener("builder:component:stateChangeListenerActivated",E))},[]),h.jsx(F.BuilderContext.Provider,{value:e.builderContextSignal,children:e.builderContextSignal.content||Z()?h.jsx(f,{ref:t,onClick:p=>C(p),"builder-content-id":(M=e.builderContextSignal.content)==null?void 0:M.id,"builder-model":e.model,className:bt(((G=e.content)==null?void 0:G.testVariationId)||((J=e.content)==null?void 0:J.id)),style:{display:!e.builderContextSignal.content&&Z()?"none":void 0},...c(),...e.contentWrapperProps,children:e.children}):null})}function vt(e){const[t,n]=r.useState(()=>`
299
299
  ${ft({cssCode:e.cssCode,contentId:e.contentId})}
300
300
  ${pt({customFonts:e.customFonts})}
301
301
  ${ht(e.isNestedRender)}
302
- `.trim());return h.jsx(W.InlinedStyles,{id:"builderio-content",styles:t,nonce:e.nonce})}const xt=({content:e,data:t,locale:n})=>{var u,i,a;const r={},l=((u=e==null?void 0:e.data)==null?void 0:u.state)||{};return(a=(i=e==null?void 0:e.data)==null?void 0:i.inputs)==null||a.forEach(c=>{c.name&&c.defaultValue!==void 0&&(r[c.name]=c.defaultValue)}),{...r,...l,...t,...n?{locale:n}:{}}},St=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function ee(e){var f,y,R,k,A,d,m,P,$;const[t,n]=s.useState(()=>{var C,w;return st({variationId:(C=e.content)==null?void 0:C.testVariationId,contentId:(w=e.content)==null?void 0:w.id})});function r(C){a(w=>({...w,rootState:C}))}const[l,u]=s.useState(()=>[...Q(),...e.customComponents||[]].reduce((C,{component:w,...E})=>({...C,[E.name]:{component:w,...o.serializeIncludingFunctions(E)}}),{})),[i,a]=s.useState(()=>({content:St({content:e.content,data:e.data}),localState:void 0,rootState:xt({content:e.content,data:e.data,locale:e.locale}),rootSetState:r,context:e.context||{},canTrack:e.canTrack,apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...Q(),...e.customComponents||[]].reduce((C,{component:w,...E})=>({...C,[E.name]:o.serializeIncludingFunctions(E)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{},nonce:e.nonce||"",model:e.model})),c=s.useRef(!1);if(!c.current){e.apiKey||o.logger.error("No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop.");const C=(y=(f=i.content)==null?void 0:f.data)==null?void 0:y.jsCode;C&&W.evaluate({code:C,context:e.context||{},localState:void 0,rootState:i.rootState,rootSetState:w=>{Object.assign(i.rootState,w)},isExpression:!1}),c.current=!0}return h.jsx(W.ComponentsContext.Provider,{value:{registeredComponents:l},children:h.jsxs(yt,{apiHost:e.apiHost,nonce:e.nonce,content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,showContent:e.showContent,builderContextSignal:i,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts,isNestedRender:e.isNestedRender,setBuilderContextSignal:a,children:[e.isSsrAbTest?h.jsx(_,{id:"builderio-variant-visibility",scriptStr:t,nonce:e.nonce||""}):null,h.jsx(vt,{nonce:e.nonce||"",isNestedRender:e.isNestedRender,contentId:(R=i.content)==null?void 0:R.id,cssCode:(A=(k=i.content)==null?void 0:k.data)==null?void 0:A.cssCode,customFonts:(m=(d=i.content)==null?void 0:d.data)==null?void 0:m.customFonts}),h.jsx(W.Blocks,{blocks:($=(P=i.content)==null?void 0:P.data)==null?void 0:$.blocks,context:i,registeredComponents:l,linkComponent:e.linkComponent})]})})}function Tt(e){var i;const[t,n]=s.useState(()=>nt({canTrack:o.getDefaultCanTrack(e.canTrack),content:e.content}));function r(){var a;return rt(L(e.content).map(c=>({id:c.testVariationId,testRatio:c.testRatio})),((a=e.content)==null?void 0:a.id)||"")}function l(){return L(e.content).map(a=>`.variant-${a.testVariationId} { display: none; } `).join("")}function u(){var a;return t?{...e.content,testVariationId:(a=e.content)==null?void 0:a.id}:o.handleABTestingSync({item:e.content,canTrack:o.getDefaultCanTrack(e.canTrack)})}return s.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[!e.isNestedRender&&o.TARGET!=="reactNative"?h.jsxs(h.Fragment,{children:[h.jsx(_,{id:"builderio-init-variants-fns",scriptStr:ot(),nonce:e.nonce||""}),ae.includes(o.TARGET)?h.jsx(_,{id:"builderio-init-personalization-variants-fns",nonce:e.nonce||"",scriptStr:be()}):null]}):null,t?h.jsxs(h.Fragment,{children:[h.jsx(W.InlinedStyles,{id:"builderio-variants",styles:l(),nonce:e.nonce||""}),h.jsx(_,{id:"builderio-variants-visibility",scriptStr:r(),nonce:e.nonce||""}),(i=L(e.content))==null?void 0:i.map(a=>h.jsx(ee,{apiHost:e.apiHost,isNestedRender:e.isNestedRender,nonce:e.nonce,content:a,showContent:!1,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},a.testVariationId))]}):null,h.jsx(ee,{apiHost:e.apiHost,nonce:e.nonce,isNestedRender:e.isNestedRender,content:u(),showContent:!0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const It=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));exports.DEFAULT_INDEX=te;exports.InlinedScript=_;exports.SDKS_REQUIRING_RESET_APPROACH=oe;exports.checkShouldRenderVariants=ge;exports.contentVariants=It;exports.filterWithCustomTargeting=de;exports.getBlocksToRender=he;exports.getPersonalizationScript=ye;exports.getUpdateVisibilityStylesScript=ve;
302
+ `.trim());return h.jsx(W.InlinedStyles,{id:"builderio-content",styles:t,nonce:e.nonce})}const xt=({content:e,data:t,locale:n})=>{var u,i,a;const s={},l=((u=e==null?void 0:e.data)==null?void 0:u.state)||{};return(a=(i=e==null?void 0:e.data)==null?void 0:i.inputs)==null||a.forEach(c=>{c.name&&c.defaultValue!==void 0&&(s[c.name]=c.defaultValue)}),{...s,...l,...t,...n?{locale:n}:{}}},St=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function ee(e){var f,y,R,k,A,d,m,P,$;const[t,n]=r.useState(()=>{var C,w;return st({variationId:(C=e.content)==null?void 0:C.testVariationId,contentId:(w=e.content)==null?void 0:w.id})});function s(C){a(w=>({...w,rootState:C}))}const[l,u]=r.useState(()=>[...Q(),...e.customComponents||[]].reduce((C,{component:w,...E})=>({...C,[E.name]:{component:w,...o.serializeIncludingFunctions(E)}}),{})),[i,a]=r.useState(()=>({content:St({content:e.content,data:e.data}),localState:void 0,rootState:xt({content:e.content,data:e.data,locale:e.locale}),rootSetState:s,context:e.context||{},canTrack:e.canTrack,apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...Q(),...e.customComponents||[]].reduce((C,{component:w,...E})=>({...C,[E.name]:o.serializeIncludingFunctions(E)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{},nonce:e.nonce||"",model:e.model})),c=r.useRef(!1);if(!c.current){e.apiKey||o.logger.error("No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop.");const C=(y=(f=i.content)==null?void 0:f.data)==null?void 0:y.jsCode;C&&W.evaluate({code:C,context:e.context||{},localState:void 0,rootState:i.rootState,rootSetState:w=>{Object.assign(i.rootState,w)},isExpression:!1}),c.current=!0}return r.useEffect(()=>{},[e.content,e.data,e.locale]),h.jsx(W.ComponentsContext.Provider,{value:{registeredComponents:l},children:h.jsxs(yt,{apiHost:e.apiHost,nonce:e.nonce,content:e.content,data:e.data,model:e.model,context:e.context,apiKey:e.apiKey,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,showContent:e.showContent,builderContextSignal:i,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts,isNestedRender:e.isNestedRender,setBuilderContextSignal:a,children:[e.isSsrAbTest?h.jsx(_,{id:"builderio-variant-visibility",scriptStr:t,nonce:e.nonce||""}):null,h.jsx(vt,{nonce:e.nonce||"",isNestedRender:e.isNestedRender,contentId:(R=i.content)==null?void 0:R.id,cssCode:(A=(k=i.content)==null?void 0:k.data)==null?void 0:A.cssCode,customFonts:(m=(d=i.content)==null?void 0:d.data)==null?void 0:m.customFonts}),h.jsx(W.Blocks,{blocks:($=(P=i.content)==null?void 0:P.data)==null?void 0:$.blocks,context:i,registeredComponents:l,linkComponent:e.linkComponent})]})})}function Tt(e){var i;const[t,n]=r.useState(()=>nt({canTrack:o.getDefaultCanTrack(e.canTrack),content:e.content}));function s(){var a;return rt(L(e.content).map(c=>({id:c.testVariationId,testRatio:c.testRatio})),((a=e.content)==null?void 0:a.id)||"")}function l(){return L(e.content).map(a=>`.variant-${a.testVariationId} { display: none; } `).join("")}function u(){var a;return t?{...e.content,testVariationId:(a=e.content)==null?void 0:a.id}:o.handleABTestingSync({item:e.content,canTrack:o.getDefaultCanTrack(e.canTrack)})}return r.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[!e.isNestedRender&&o.TARGET!=="reactNative"?h.jsxs(h.Fragment,{children:[h.jsx(_,{id:"builderio-init-variants-fns",scriptStr:ot(),nonce:e.nonce||""}),ae.includes(o.TARGET)?h.jsx(_,{id:"builderio-init-personalization-variants-fns",nonce:e.nonce||"",scriptStr:be()}):null]}):null,t?h.jsxs(h.Fragment,{children:[h.jsx(W.InlinedStyles,{id:"builderio-variants",styles:l(),nonce:e.nonce||""}),h.jsx(_,{id:"builderio-variants-visibility",scriptStr:s(),nonce:e.nonce||""}),(i=L(e.content))==null?void 0:i.map(a=>h.jsx(ee,{apiHost:e.apiHost,isNestedRender:e.isNestedRender,nonce:e.nonce,content:a,showContent:!1,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts},a.testVariationId))]}):null,h.jsx(ee,{apiHost:e.apiHost,nonce:e.nonce,isNestedRender:e.isNestedRender,content:u(),showContent:!0,model:e.model,data:e.data,context:e.context,apiKey:e.apiKey,apiVersion:e.apiVersion,customComponents:e.customComponents,linkComponent:e.linkComponent,canTrack:e.canTrack,locale:e.locale,enrich:e.enrich,isSsrAbTest:t,blocksWrapper:e.blocksWrapper,blocksWrapperProps:e.blocksWrapperProps,contentWrapper:e.contentWrapper,contentWrapperProps:e.contentWrapperProps,trustedHosts:e.trustedHosts})]})}const It=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));exports.DEFAULT_INDEX=te;exports.InlinedScript=_;exports.SDKS_REQUIRING_RESET_APPROACH=oe;exports.checkShouldRenderVariants=ge;exports.contentVariants=It;exports.filterWithCustomTargeting=de;exports.getBlocksToRender=he;exports.getPersonalizationScript=ye;exports.getUpdateVisibilityStylesScript=ve;