@builder.io/sdk-react 1.0.30 → 1.0.31
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.
- package/lib/browser/blocks-exports.cjs +8 -8
- package/lib/browser/blocks-exports.mjs +3 -1
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-18e1f507.js → server-entry-26776eea.js} +1 -1
- package/lib/browser/{server-entry-2861c7a6.cjs → server-entry-93dd2fe7.cjs} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-14a05089.cjs → accordion-61d8c841.cjs} +1 -1
- package/lib/edge/{accordion-cc89c292.js → accordion-8600e362.js} +1 -1
- package/lib/edge/{blocks-ed7aae6f.js → blocks-bf8d4f42.js} +2 -2
- package/lib/edge/{blocks-c15b6781.cjs → blocks-c0ecd775.cjs} +1 -1
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-6935f8a9.cjs → button-3aead671.cjs} +1 -1
- package/lib/edge/{button-14f6336b.js → button-a1ecbbb4.js} +2 -2
- package/lib/edge/{columns-408ef2e7.cjs → columns-6f0bea35.cjs} +1 -1
- package/lib/edge/{columns-4a4a4256.js → columns-f8252cd4.js} +3 -3
- package/lib/edge/{content-variants-1a8c02b5.js → content-variants-a7515e25.js} +11 -10
- package/lib/edge/{content-variants-b7c4f9db.cjs → content-variants-d536d382.cjs} +2 -2
- package/lib/edge/{form-bad3dae9.js → form-4c514836.js} +3 -3
- package/lib/edge/{form-201ef75e.cjs → form-aa86b853.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-78623d3f.js → get-class-prop-name-7245a80c.js} +1 -1
- package/lib/edge/{get-class-prop-name-cee86e8a.cjs → get-class-prop-name-d6e10697.cjs} +1 -1
- package/lib/edge/{img-554cab42.cjs → img-266babf5.cjs} +1 -1
- package/lib/edge/{img-9ca907ed.js → img-916857d0.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{input-062b45e9.cjs → input-1c89bf19.cjs} +1 -1
- package/lib/edge/{input-c2e2c642.js → input-ecbd900c.js} +1 -1
- package/lib/edge/{select-a199fa22.cjs → select-31017554.cjs} +1 -1
- package/lib/edge/{select-3ba305d1.js → select-679760ee.js} +1 -1
- package/lib/edge/{server-entry-8d4b3380.js → server-entry-438d03b9.js} +1 -1
- package/lib/edge/{server-entry-297b8bc2.cjs → server-entry-c373353a.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-44dde011.cjs → slot-70d56fb7.cjs} +1 -1
- package/lib/edge/{slot-66401244.js → slot-a7c301c7.js} +3 -3
- package/lib/edge/{symbol-cb2b8480.js → symbol-c1b26e8b.js} +12 -11
- package/lib/edge/{symbol-d42977a0.cjs → symbol-e2b27478.cjs} +1 -1
- package/lib/edge/{tabs-a79a88d2.js → tabs-91468f03.js} +3 -3
- package/lib/edge/{tabs-4cc4f967.cjs → tabs-d69a6adc.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +8 -8
- package/lib/node/blocks-exports.mjs +4 -2
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-1bf956f9.js → node-runtime-218b3a7e.js} +1 -1
- package/lib/node/{node-runtime-391c5628.cjs → node-runtime-3bebd191.cjs} +1 -1
- package/lib/node/{server-entry-ad5e15cc.cjs → server-entry-75bba771.cjs} +1 -1
- package/lib/node/{server-entry-8b839485.js → server-entry-9ab92db7.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/context/types.d.ts +1 -0
|
@@ -4,8 +4,8 @@ var Rt = (e, t, n) => (En(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
|
4
4
|
import { jsx as T, Fragment as Y, jsxs as Bt } from "react/jsx-runtime";
|
|
5
5
|
import { createContext as Cn, useState as $r, useEffect as jn, useContext as Rr } from "react";
|
|
6
6
|
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
-
import { isEditing as Dt, isBrowser as Ut, getUserAttributes as On, logger as nt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr } from "./server-entry-
|
|
8
|
-
import { getClassPropName as An } from "./get-class-prop-name-
|
|
7
|
+
import { isEditing as Dt, isBrowser as Ut, getUserAttributes as On, logger as nt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr } from "./server-entry-438d03b9.js";
|
|
8
|
+
import { getClassPropName as An } from "./get-class-prop-name-7245a80c.js";
|
|
9
9
|
import { DynamicRenderer as bn } from "./dynamic-renderer-8b343325.js";
|
|
10
10
|
const Hr = (e, t, n) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Sn=Object.defineProperty;var wn=(e,t,n)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Rt=(e,t,n)=>(wn(e,typeof t!="symbol"?t+"":t,n),n);const E=require("react/jsx-runtime"),je=require("react"),Fr=require("./blocks-exports.cjs"),U=require("./server-entry-
|
|
1
|
+
"use strict";var Sn=Object.defineProperty;var wn=(e,t,n)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Rt=(e,t,n)=>(wn(e,typeof t!="symbol"?t+"":t,n),n);const E=require("react/jsx-runtime"),je=require("react"),Fr=require("./blocks-exports.cjs"),U=require("./server-entry-c373353a.cjs"),kn=require("./get-class-prop-name-d6e10697.cjs"),En=require("./dynamic-renderer-b29b45ca.cjs"),Ft=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((o,s,a)=>Object(o[s])===o[s]?o[s]:o[s]=Math.abs(Number(r[a+1]))>>0===+r[a+1]?[]:{},e)[r[r.length-1]]=n,e},Lr=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),Cn=()=>({isEditing:U.isEditing(),isBrowser:U.isBrowser(),isServer:!U.isBrowser(),getUserAttributes:()=>U.getUserAttributes()}),jn=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,_r=je.createContext({registeredComponents:{}});function On(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options,builderBlock:e}}const An=({code:e,builder:t,context:n,event:r,localState:o,rootSetState:s,rootState:a})=>{const f=Lr({builder:t,context:n,event:r,state:Wr({rootState:a,localState:o,rootSetState:s})});return new Function(...f.map(([g])=>g),e)(...f.map(([,g])=>g))};function Wr({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?Wr({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}})}var T,bn=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&&mn.test(String.fromCharCode(i))}function n(i){return 65>i?i===36:91>i?!0:97>i?i===95:123>i?!0:170<=i&&Ir.test(String.fromCharCode(i))}function r(i,l){for(var u=d,p=1,w=0;;){nt.lastIndex=w;var F=nt.exec(u);if(F&&F.index<i)++p,w=F.index+F[0].length;else break}throw u={line:p,ab:i-w},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=de,this.ab=c-ee}function a(i,l){me=c,j.C&&(xt=new s),S=i,g(),J=l,Ne=i.m}function f(){for(var i=c,l=j.va&&j.C&&new s,u=d.charCodeAt(c+=2);c<ve&&u!==10&&u!==13&&u!==8232&&u!==8233;)++c,u=d.charCodeAt(c);j.va&&j.va(!1,d.slice(i+2,c),i,c,l,j.C&&new s)}function g(){for(;c<ve;){var i=d.charCodeAt(c);if(i===32)++c;else if(i===13)++c,i=d.charCodeAt(c),i===10&&++c,j.C&&(++de,ee=c);else if(i===10||i===8232||i===8233)++c,j.C&&(++de,ee=c);else if(8<i&&14>i)++c;else if(i===47)if(i=d.charCodeAt(c+1),i===42){i=void 0;var l=j.va&&j.C&&new s,u=c,p=d.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,j.C)for(nt.lastIndex=u;(i=nt.exec(d))&&i.index<c;)++de,ee=i.index+i[0].length;j.va&&j.va(!0,d.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&&vn.test(String.fromCharCode(i)))++c;else break}}function O(i){switch(i){case 46:i=d.charCodeAt(c+1),48<=i&&57>=i?I(!0):(++c,a(wr));return;case 40:return++c,a(te);case 41:return++c,a(z);case 59:return++c,a(re);case 44:return++c,a(ce);case 91:return++c,a(It);case 93:return++c,a(Tt);case 123:return++c,a(Me);case 125:return++c,a(Se);case 58:return++c,a(De);case 63:return++c,a(kr);case 48:if(i=d.charCodeAt(c+1),i===120||i===88){c+=2,i=R(16),i===null&&r(D+2,"Expected hexadecimal number"),n(d.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 I(!1);case 34:case 39:c++;for(var l="";;){c>=ve&&r(D,"Unterminated string constant");var u=d.charCodeAt(c);if(u===i){++c,a(Qe,l);break}if(u===92){u=d.charCodeAt(++c);var p=/^[0-7]+/.exec(d.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)K&&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($(2));break;case 117:l+=String.fromCharCode($(4));break;case 85:l+=String.fromCharCode($(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:d.charCodeAt(c)===10&&++c;case 10:j.C&&(ee=c,++de);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(D,"Unterminated string constant"),l+=String.fromCharCode(u),++c}return;case 47:i=d.charCodeAt(c+1),Ne?(++c,P()):i===61?x(ye,2):x(Er,1);return;case 37:case 42:d.charCodeAt(c+1)===61?x(ye,2):x(gn,1);return;case 124:case 38:l=d.charCodeAt(c+1),l===i?x(i===124?Or:Ar,2):l===61?x(ye,2):x(i===124?an:un,1);return;case 94:d.charCodeAt(c+1)===61?x(ye,2):x(ln,1);return;case 43:case 45:l=d.charCodeAt(c+1),l===i?l===45&&d.charCodeAt(c+2)===62&&rt.test(d.slice(ue,c))?(c+=3,f(),g(),C()):x(sn,2):l===61?x(ye,2):x(hn,1);return;case 60:case 62:l=d.charCodeAt(c+1),u=1,l===i?(u=i===62&&d.charCodeAt(c+2)===62?3:2,d.charCodeAt(c+u)===61?x(ye,u+1):x(pn,u)):l===33&&i===60&&d.charCodeAt(c+2)===45&&d.charCodeAt(c+3)===45?(c+=4,f(),g(),C()):(l===61&&(u=d.charCodeAt(c+2)===61?3:2),x(fn,u));return;case 61:case 33:d.charCodeAt(c+1)===61?x(cn,d.charCodeAt(c+2)===61?3:2):x(i===61?Cr:jr,1);return;case 126:return x(jr,1)}return!1}function C(i){if(i?c=D+1:D=c,j.C&&(mt=new s),i)return P();if(c>=ve)return a(kt);if(i=d.charCodeAt(c),n(i)||i===92)return pe();if(O(i)===!1){if(i=String.fromCharCode(i),i==="\\"||Ir.test(i))return pe();r(c,"Unexpected character '"+i+"'")}}function x(i,l){var u=d.slice(c,c+l);c+=l,a(i,u)}function P(){for(var i,l,u=c;;){c>=ve&&r(u,"Unterminated regexp");var p=d.charAt(c);if(rt.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=d.slice(u,c),++c,(l=Z())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var w=new RegExp(i,l)}catch(F){throw F instanceof SyntaxError&&r(u,F.message),F}a(rr,w)}function R(i,l){for(var u=c,p=0,w=l===void 0?1/0:l,F=0;F<w;++F){var V=d.charCodeAt(c);if(V=97<=V?V-97+10:65<=V?V-65+10:48<=V&&57>=V?V-48:1/0,V>=i)break;++c,p=p*i+V}return c===u||l!==void 0&&c-u!==l?null:p}function I(i){var l=c,u=!1,p=d.charCodeAt(c)===48;i||R(10)!==null||r(l,"Invalid number"),d.charCodeAt(c)===46&&(++c,R(10),u=!0),i=d.charCodeAt(c),(i===69||i===101)&&(i=d.charCodeAt(++c),i!==43&&i!==45||++c,R(10)===null&&r(l,"Invalid number"),u=!0),n(d.charCodeAt(c))&&r(c,"Identifier directly after number"),i=d.slice(l,c);var w;u?w=parseFloat(i):p&&i.length!==1?/[89]/.test(i)||K?r(l,"Invalid number"):w=parseInt(i,8):w=parseInt(i,10),a(Be,w)}function $(i){return i=R(16,i),i===null&&r(D,"Bad character escape sequence"),i}function Z(){we=!1;for(var i,l=!0,u=c;;){var p=d.charCodeAt(c);if(t(p))we&&(i+=d.charAt(c)),++c;else if(p===92){we||(i=d.slice(u,c)),we=!0,d.charCodeAt(++c)!==117&&r(c,"Expecting Unicode escape sequence \\uXXXX"),++c,p=$(4);var w=String.fromCharCode(p);w||r(c-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(c-4,"Invalid Unicode escape"),i+=w}else break;l=!1}return we?i:d.slice(u,c)}function pe(){var i=Z(),l=xe;!we&&yn(i)&&(l=on[i]),a(l,i)}function A(){St=D,ue=me,wt=xt,C()}function he(i){if(K=i,c=D,j.C)for(;c<ee;)ee=d.lastIndexOf(`
|
|
3
3
|
`,ee-2)+1,--de;g(),C()}function Zt(){this.type=null,this.start=D,this.end=null}function qt(){this.start=mt,this.end=null,vt&&(this.source=vt)}function _(){var i=new Zt;return j.C&&(i.X=new qt),j.vb&&(i.sourceFile=j.vb),j.Xa&&(i.j=[D,0]),i}function le(i){var l=new Zt;return l.start=i.start,j.C&&(l.X=new qt,l.X.start=i.X.start),j.Xa&&(l.j=[i.j[0],0]),l}function k(i,l){return i.type=l,i.end=ue,j.C&&(i.X.end=wt),j.Xa&&(i.j[1]=ue),i}function ct(i){return i.type==="ExpressionStatement"&&i.la.type==="Literal"&&i.la.value==="use strict"}function N(i){return S===i?(A(),!0):!1}function ze(){return!j.fc&&(S===kt||S===Se||rt.test(d.slice(ue,D)))}function ge(){N(re)||ze()||q()}function B(i){S===i?A():q()}function q(){r(D,"Unexpected token")}function Ze(i){i.type!=="Identifier"&&i.type!=="MemberExpression"&&r(i.start,"Assigning to rvalue"),K&&i.type==="Identifier"&&tt(i.name)&&r(i.start,"Assigning to "+i.name+" in strict mode")}function Y(){(S===Er||S===ye&&J==="/=")&&C(!0);var i=S,l=_();switch(i){case Et:case or:A();var u=i===Et;N(re)||ze()?l.label=null:S!==xe?q():(l.label=Q(),ge());for(var p=0;p<M.length;++p){var w=M[p];if((l.label===null||w.name===l.label.name)&&(w.kind!==null&&(u||w.kind==="loop")||l.label&&u))break}return p===M.length&&r(l.start,"Unsyntactic "+i.l),k(l,u?"BreakStatement":"ContinueStatement");case ir:return A(),ge(),k(l,"DebuggerStatement");case ar:return A(),M.push(Pt),l.body=Y(),M.pop(),B(bt),l.test=Ie(),ge(),k(l,"DoWhileStatement");case cr:return A(),M.push(Pt),B(te),S===re?ft(l,null):S===At?(i=_(),A(),er(i,!0),k(i,"VariableDeclaration"),i.fa.length===1&&N(et)?Qt(l,i):ft(l,i)):(i=G(!1,!0),N(et)?(Ze(i),Qt(l,i)):ft(l,i));case jt:return A(),dt(l,!0);case fr:return A(),l.test=Ie(),l.da=Y(),l.alternate=N(lr)?Y():null,k(l,"IfStatement");case pr:return Re||j.Ib||r(D,"'return' outside of function"),A(),N(re)||ze()?l.K=null:(l.K=G(),ge()),k(l,"ReturnStatement");case Ot:for(A(),l.Qb=Ie(),l.tb=[],B(Me),M.push(xn);S!==Se;)S===Ct||S===sr?(i=S===Ct,p&&k(p,"SwitchCase"),l.tb.push(p=_()),p.da=[],A(),i?p.test=G():(u&&r(St,"Multiple default clauses"),u=!0,p.test=null),B(De)):(p||q(),p.da.push(Y()));return p&&k(p,"SwitchCase"),A(),M.pop(),k(l,"SwitchStatement");case hr:return A(),rt.test(d.slice(ue,D))&&r(ue,"Illegal newline after throw"),l.K=G(),ge(),k(l,"ThrowStatement");case gr:return A(),l.block=Te(),l.Ea=null,S===nr&&(i=_(),A(),B(te),i.Ua=Q(),K&&tt(i.Ua.name)&&r(i.Ua.start,"Binding "+i.Ua.name+" in strict mode"),B(z),i.body=Te(),l.Ea=k(i,"CatchClause")),l.fb=N(ur)?Te():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),k(l,"TryStatement");case At:return A(),er(l),ge(),k(l,"VariableDeclaration");case bt:return A(),l.test=Ie(),M.push(Pt),l.body=Y(),M.pop(),k(l,"WhileStatement");case dr:return K&&r(D,"'with' in strict mode"),A(),l.object=Ie(),l.body=Y(),k(l,"WithStatement");case Me:return Te();case re:return A(),k(l,"EmptyStatement");default:if(u=J,w=G(),i===xe&&w.type==="Identifier"&&N(De)){for(p=0;p<M.length;++p)M[p].name===u&&r(w.start,"Label '"+u+"' is already declared");return M.push({name:u,kind:S.W?"loop":S===Ot?"switch":null}),l.body=Y(),M.pop(),l.label=w,k(l,"LabeledStatement")}return l.la=w,ge(),k(l,"ExpressionStatement")}}function Ie(){B(te);var i=G();return B(z),i}function Te(i){var l=_(),u=!0,p=!1;for(l.body=[],B(Me);!N(Se);){var w=Y();if(l.body.push(w),u&&i&&ct(w)){var F=p;he(p=!0)}u=!1}return p&&!F&&he(!1),k(l,"BlockStatement")}function ft(i,l){return i.ua=l,B(re),i.test=S===re?null:G(),B(re),i.update=S===z?null:G(),B(z),i.body=Y(),M.pop(),k(i,"ForStatement")}function Qt(i,l){return i.left=l,i.right=G(),B(z),i.body=Y(),M.pop(),k(i,"ForInStatement")}function er(i,l){for(i.fa=[],i.kind="var";;){var u=_();if(u.id=Q(),K&&tt(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=N(Cr)?G(!0,l):null,i.fa.push(k(u,"VariableDeclarator")),!N(ce))break}}function G(i,l){var u=pt(l);if(!i&&S===ce){for(i=le(u),i.xb=[u];N(ce);)i.xb.push(pt(l));return k(i,"SequenceExpression")}return u}function pt(i){var l=ht(gt(),-1,i);if(N(kr)){var u=le(l);u.test=l,u.da=G(!0),B(De),u.alternate=G(!0,i),l=k(u,"ConditionalExpression")}return S.Cb?(u=le(l),u.operator=J,u.left=l,A(),u.right=pt(i),Ze(l),k(u,"AssignmentExpression")):l}function ht(i,l,u){var p=S.L;if(p!==null&&(!u||S!==et)&&p>l){var w=le(i);return w.left=i,w.operator=J,i=S,A(),w.right=ht(gt(),p,u),p=k(w,i===Or||i===Ar?"LogicalExpression":"BinaryExpression"),ht(p,l,u)}return i}function gt(){if(S.prefix){var i=_(),l=S.$b;return i.operator=J,Ne=i.prefix=!0,A(),i.K=gt(),l?Ze(i.K):K&&i.operator==="delete"&&i.K.type==="Identifier"&&r(i.start,"Deleting local variable in strict mode"),k(i,l?"UpdateExpression":"UnaryExpression")}for(l=Pe(qe());S.cc&&!ze();)i=le(l),i.operator=J,i.prefix=!1,i.K=l,Ze(l),A(),l=k(i,"UpdateExpression");return l}function Pe(i,l){if(N(wr)){var u=le(i);return u.object=i,u.Wa=Q(!0),u.bb=!1,Pe(k(u,"MemberExpression"),l)}return N(It)?(u=le(i),u.object=i,u.Wa=G(),u.bb=!0,B(Tt),Pe(k(u,"MemberExpression"),l)):!l&&N(te)?(u=le(i),u.callee=i,u.arguments=yt(z,!1),Pe(k(u,"CallExpression"),l)):i}function qe(){switch(S){case vr:var i=_();return A(),k(i,"ThisExpression");case xe:return Q();case Be:case Qe:case rr:return i=_(),i.value=J,i.raw=d.slice(D,me),A(),k(i,"Literal");case mr:case xr:case Sr:return i=_(),i.value=S.$a,i.raw=S.l,A(),k(i,"Literal");case te:i=mt;var l=D;A();var u=G();return u.start=l,u.end=me,j.C&&(u.X.start=i,u.X.end=xt),j.Xa&&(u.j=[l,me]),B(z),u;case It:return i=_(),A(),i.elements=yt(Tt,!0,!0),k(i,"ArrayExpression");case Me:for(i=_(),l=!0,u=!1,i.h=[],A();!N(Se);){if(l)l=!1;else if(B(ce),j.sb&&N(Se))break;var p={key:S===Be||S===Qe?qe():Q(!0)},w=!1;if(N(De)){p.value=G(!0);var F=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?q():(w=u=!0,F=p.kind=p.key.name,p.key=S===Be||S===Qe?qe():Q(!0),S!==te&&q(),p.value=dt(_(),!1));if(p.key.type==="Identifier"&&(K||u))for(var V=0;V<i.h.length;++V){var ke=i.h[V];if(ke.key.name===p.key.name){var Nt=F===ke.kind||w&&ke.kind==="init"||F==="init"&&(ke.kind==="get"||ke.kind==="set");Nt&&!K&&F==="init"&&ke.kind==="init"&&(Nt=!1),Nt&&r(p.key.start,"Redefinition of property")}}i.h.push(p)}return k(i,"ObjectExpression");case jt:return i=_(),A(),dt(i,!1);case yr:return i=_(),A(),i.callee=Pe(qe(),!0),i.arguments=N(te)?yt(z,!1):nn,k(i,"NewExpression")}q()}function dt(i,l){S===xe?i.id=Q():l?q():i.id=null,i.oa=[];var u=!0;for(B(te);!N(z);)u?u=!1:B(ce),i.oa.push(Q());u=Re;var p=M;if(Re=!0,M=[],i.body=Te(!0),Re=u,M=p,K||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],(br(p.name)||tt(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var w=0;w<u;++w)p.name===i.oa[w].name&&r(p.start,"Argument name clash in strict mode")}return k(i,l?"FunctionDeclaration":"FunctionExpression")}function yt(i,l,u){for(var p=[],w=!0;!N(i);){if(w)w=!1;else if(B(ce),l&&j.sb&&N(i))break;p.push(u&&S===ce?null:G(!0))}return p}function Q(i){var l=_();return i&&j.yb==="everywhere"&&(i=!1),S===xe?(!i&&(j.yb&&dn(J)||K&&br(J))&&d.slice(D,me).indexOf("\\")===-1&&r(D,"The keyword '"+J+"' is reserved"),l.name=J):i&&S.l?l.name=S.l:q(),Ne=!1,A(),k(l,"Identifier")}e.version="0.5.0";var j,d="",ve,vt;e.parse=function(i,l){d=String(i),ve=d.length,j=l||{};for(var u in tr)Object.prototype.hasOwnProperty.call(j,u)||(j[u]=tr[u]);for(vt=j.sourceFile,de=1,c=ee=0,Ne=!0,g(),u=j.dc,St=ue=c,j.C&&(wt=new s),Re=K=!1,M=[],C(),i=u||_(),l=!0,u||(i.body=[]);S!==kt;)u=Y(),i.body.push(u),l&&ct(u)&&he(!0),l=!1;return k(i,"Program")};var tr={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,D=0,me=0,mt,xt,S,J,Ne,de,ee,St=0,ue=0,wt,Re,M,K,nn=[],Be={type:"num"},rr={type:"regexp"},Qe={type:"string"},xe={type:"name"},kt={type:"eof"},Et={l:"break"},Ct={l:"case",m:!0},nr={l:"catch"},or={l:"continue"},ir={l:"debugger"},sr={l:"default"},ar={l:"do",W:!0},lr={l:"else",m:!0},ur={l:"finally"},cr={l:"for",W:!0},jt={l:"function"},fr={l:"if"},pr={l:"return",m:!0},Ot={l:"switch"},hr={l:"throw",m:!0},gr={l:"try"},At={l:"var"},bt={l:"while",W:!0},dr={l:"with"},yr={l:"new",m:!0},vr={l:"this"},mr={l:"null",$a:null},xr={l:"true",$a:!0},Sr={l:"false",$a:!1},et={l:"in",L:7,m:!0},on={break:Et,case:Ct,catch:nr,continue:or,debugger:ir,default:sr,do:ar,else:lr,finally:ur,for:cr,function:jt,if:fr,return:pr,switch:Ot,throw:hr,try:gr,var:At,while:bt,with:dr,null:mr,true:xr,false:Sr,new:yr,in:et,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}},It={type:"[",m:!0},Tt={type:"]"},Me={type:"{",m:!0},Se={type:"}"},te={type:"(",m:!0},z={type:")"},ce={type:",",m:!0},re={type:";",m:!0},De={type:":",m:!0},wr={type:"."},kr={type:"?",m:!0},Er={L:10,m:!0},Cr={Cb:!0,m:!0},ye={Cb:!0,m:!0},sn={cc:!0,prefix:!0,$b:!0},jr={prefix:!0,m:!0},Or={L:1,m:!0},Ar={L:2,m:!0},an={L:3,m:!0},ln={L:4,m:!0},un={L:5,m:!0},cn={L:6,m:!0},fn={L:7,m:!0},pn={L:8,m:!0},hn={L:9,prefix:!0,m:!0},gn={L:10,m:!0},dn=o("class enum extends super const export import"),br=o("implements interface let package private protected public static yield"),tt=o("eval arguments"),yn=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"),vn=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ir=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),mn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),rt=/[\n\r\u2028\u2029]/,nt=/\r\n|[\n\r\u2028\u2029]/g,we,Pt={kind:"loop"},xn={kind:"switch"}},Mt=Mt=typeof globalThis=="undefined"?void 0:globalThis;bn(Mt.j||(Mt.j={}));function h(e,t){typeof e=="string"&&(e=Oe(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=Ut(this,this.ra,null),this.Na=this.N.object,this.ra=Oe(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 Tr={C:!0,kc:5},Lt={configurable:!0,enumerable:!0,writable:!1},y={configurable:!0,enumerable:!1,writable:!0},H={configurable:!0,enumerable:!1,writable:!1},Ue={configurable:!1,enumerable:!1,writable:!1},Pr={configurable:!1,enumerable:!0,writable:!0},$r={STEP_ERROR:!0},be={SCOPE_REFERENCE:!0},Xe={VALUE_IN_DESCRIPTOR:!0},Ee={REGEXP_TIMEOUT:!0},Nr=[],ie=null,$e=null,fe=typeof globalThis=="undefined"?void 0:globalThis,In=["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 _t(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ge(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;T=h.prototype;T.P=!1;T.Ka=!1;T.Kb=0;T.ic=0;function Oe(e,t){var n={},r;for(r in Tr)n[r]=Tr[r];return n.sourceFile=t,fe.j.parse(e,n)}T.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=Oe(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");He(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};T.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&&Xr(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!==$r)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};T.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Tn(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,Lt),e.g(t,"this",t,Ue),e.g(t,"self",t),e.M=new b(null),e.Z=new b(e.M),Pn(e,t),Nn(e,t),t.xa=e.M,e.g(t,"constructor",e.v,y),Rn(e,t),Bn(e,t),Mn(e,t),Dn(e,t),Un(e,t),Fn(e,t),Ln(e,t),_n(e,t),Wn(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,y),e.g(t,"parseInt",e.i(parseInt,!1),y),e.g(t,"parseFloat",e.i(parseFloat,!1),y),e.g(t,"isNaN",e.i(isNaN,!1),y),e.g(t,"isFinite",e.i(isFinite,!1),y);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){m(e,e.Gb,f.message)}}}(r[o][0]),e.g(t,r[o][1],e.i(n,!1),y);n=function(s){return Rr(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),y),n=function(s){return Rr(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),y),n=function(s){Br(e,s)},e.g(t,"clearTimeout",e.i(n,!1),y),n=function(s){Br(e,s)},e.g(t,"clearInterval",e.i(n,!1),y),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)}T.Wb=0;function Pn(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 g=a[f];n.test(g)||m(e,e.T,"Invalid function argument: "+g)}a=a.join(", ")}try{var O=Oe("(function("+a+") {"+s+"})","function"+e.Wb++)}catch(C){m(e,e.T,"Invalid code: "+C.message)}return O.body.length!==1&&m(e,e.T,"Invalid code in function body"),Gt(e,O.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,y),e.g(e.O,"prototype",e.Z,y),e.g(e.Z,"constructor",e.O,y),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,H),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 b?a.F=Gr(e,s):m(e,e.j,"CreateListFromArrayLike called on non-object")),a.eb=!1},L(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},L(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)},L(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),y),r=function(){return this.valueOf()},L(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),y)}function Nn(e,t){function n(o){o!=null||m(e,e.j,"Cannot convert '"+o+"' to object")}var r=function(o){if(o==null)return ae(e)?this:e.s(e.M);if(!(o instanceof b)){var s=e.s(se(e,o));return s.data=o,s}return o};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,y),e.g(e.M,"constructor",e.v,y),e.g(t,"Object",e.v,y),r=function(o){return n(o),oe(e,Object.getOwnPropertyNames(o instanceof b?o.h:o))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),y),r=function(o){return n(o),o instanceof b&&(o=o.h),oe(e,Object.keys(o))},e.g(e.v,"keys",e.i(r,!1),y),r=function(o){return o===null?e.s(null):(o instanceof b||m(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),y),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 b||m(e,e.j,"Object.defineProperty called on non-object: "+o),a instanceof b||m(e,e.j,"Property description must be an object"),!o.preventExtensions||s in o.h||m(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),y),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 b||m(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),y),r=function(o){return n(o),se(e,o)},e.g(e.v,"getPrototypeOf",e.i(r,!1),y),r=function(o){return!!o&&!o.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),y),r=function(o){return o instanceof b&&(o.preventExtensions=!0),o},e.g(e.v,"preventExtensions",e.i(r,!1),y),L(e,e.v,"toString",b.prototype.toString),L(e,e.v,"toLocaleString",b.prototype.toString),L(e,e.v,"valueOf",b.prototype.valueOf),r=function(o){return n(this),this instanceof b?String(o)in this.h:this.hasOwnProperty(o)},L(e,e.v,"hasOwnProperty",r),r=function(o){return n(this),this instanceof b?Object.prototype.propertyIsEnumerable.call(this.h,o):this.propertyIsEnumerable(o)},L(e,e.v,"propertyIsEnumerable",r),r=function(o){for(;;){if(o=se(e,o),!o)return!1;if(o===this)return!0}},L(e,e.v,"isPrototypeOf",r)}function Rn(e,t){var n=function(r){var o=ae(e)?this:Ae(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(_t(s))&&m(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,y),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),y),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 Bn(e,t){var n=function(r){return r=arguments.length?fe.String(r):"",ae(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,y),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),y),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)L(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){m(e,e.D,"localeCompare: "+a.message)}},L(e,e.J,"localeCompare",n),n=function(r,o,s){var a=String(this);if(o=o?Number(o):void 0,W(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ie)r=Fe(e,"string.split(separator, limit)",{string:a,separator:r,limit:o},r,s),r!==Ee&&s(oe(e,r));else{var f=e.ha(),g=_e(e,r,f,s);f.onmessage=function(O){clearTimeout(g),s(oe(e,O.data))},f.postMessage(["split",a,r,o])}return}r=a.split(r,o),s(oe(e,r))},We(e,e.J,"split",n),n=function(r,o){var s=String(this);if(r=W(e,r,e.I)?r.data:new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ie)r=Fe(e,"string.match(regexp)",{string:s,regexp:r},r,o),r!==Ee&&o(r&&oe(e,r));else{var a=e.ha(),f=_e(e,r,a,o);a.onmessage=function(g){clearTimeout(f),o(g.data&&oe(e,g.data))},a.postMessage(["match",s,r])}else r=s.match(r),o(r&&oe(e,r))},We(e,e.J,"match",n),n=function(r,o){var s=String(this);if(W(e,r,e.I)?r=r.data:r=new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ie)r=Fe(e,"string.search(regexp)",{string:s,regexp:r},r,o),r!==Ee&&o(r);else{var a=e.ha(),f=_e(e,r,a,o);a.onmessage=function(g){clearTimeout(f),o(g.data)},a.postMessage(["search",s,r])}else o(s.search(r))},We(e,e.J,"search",n),n=function(r,o,s){var a=String(this);if(o=String(o),W(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ie)r=Fe(e,"string.replace(substr, newSubstr)",{string:a,substr:r,newSubstr:o},r,s),r!==Ee&&s(r);else{var f=e.ha(),g=_e(e,r,f,s);f.onmessage=function(O){clearTimeout(g),s(O.data)},f.postMessage(["replace",a,r,o])}return}s(a.replace(r,o))},We(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 Mn(e,t){e.mb=e.i(function(n){return n=fe.Boolean(n),ae(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,y)}function Dn(e,t){var n=function(r){return r=arguments.length?fe.Number(r):0,ae(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,y),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){m(e,e.D,o.message)}},L(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(o){m(e,e.D,o.message)}},L(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(o){m(e,e.D,o.message)}},L(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(o){m(e,e.D,o.message)}},L(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){m(e,e.D,"toLocaleString: "+s.message)}},L(e,e.aa,"toLocaleString",n)}function Un(e,t){var n=function(o,s){if(!ae(e))return fe.Date();var a=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(fe.Date,a)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,y),e.g(e.$,"now",e.i(Date.now,!1),y),e.g(e.$,"parse",e.i(Date.parse,!1),y),e.g(e.$,"UTC",e.i(Date.UTC,!1),y),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||m(e,e.j,o+" not called on a Date");for(var f=[],g=0;g<arguments.length;g++)f[g]=e.R(arguments[g]);return a[o].apply(a,f)}}(t[r]),L(e,e.$,t[r],n)}function Fn(e,t){var n=function(r,o){if(ae(e))var s=this;else{if(o===void 0&&W(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),o=o?String(o):"",/^[gmi]*$/.test(o)||m(e,e.T,"Invalid regexp flag: "+o);try{var a=new fe.RegExp(r,o)}catch(f){m(e,e.T,f.message)}return Wt(e,s,a),s};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,y),e.g(e.I.h.prototype,"global",void 0,H),e.g(e.I.h.prototype,"ignoreCase",void 0,H),e.g(e.I.h.prototype,"multiline",void 0,H),e.g(e.I.h.prototype,"source","(?:)",H),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(C){if(C){var x=oe(e,C);return e.g(x,"index",C.index),e.g(x,"input",C.input),x}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(ie)r=Fe(e,"regexp.exec(string)",{string:r,regexp:a},a,o),r!==Ee&&(e.g(this,"lastIndex",a.lastIndex),o(s(r)));else{var f=e.ha(),g=_e(e,a,f,o),O=this;f.onmessage=function(C){clearTimeout(g),e.g(O,"lastIndex",C.data[1]),o(s(C.data[0]))},f.postMessage(["exec",a,a.lastIndex,r])}else r=a.exec(r),e.g(this,"lastIndex",a.lastIndex),o(s(r))},We(e,e.I,"exec",n)}function Ln(e,t){function n(r){var o=e.i(function(s){var a=ae(e)?this:e.Aa(o);return Dt(e,a,s),a},!0);return e.g(o,"prototype",e.Aa(e.D),y),e.g(o.h.prototype,"name",r,y),e.g(t,r,o,y),o}e.D=e.i(function(r){var o=ae(e)?this:e.Aa(e.D);return Dt(e,o,r),o},!0),e.g(t,"Error",e.D,y),e.g(e.D.h.prototype,"message","",y),e.g(e.D.h.prototype,"name","Error",y),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function _n(e,t){var n=e.s(e.M);e.g(t,"Math",n,y);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]],H);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),y)}function Wn(e,t){var n=e.s(e.M);e.g(t,"JSON",n,y),t=function(r){try{var o=JSON.parse(String(r))}catch(s){m(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"?m(e,e.j,"Function replacer on JSON.stringify not supported"):o&&o.H==="Array"?(o=Gr(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){m(e,e.j,f.message)}return a},e.g(n,"stringify",e.i(t,!1))}function W(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=se(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Wt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,y),e.g(t,"source",n.source,H),e.g(t,"global",n.global,H),e.g(t,"ignoreCase",n.ignoreCase,H),e.g(t,"multiline",n.multiline,H)}function Dt(e,t,n){n&&e.g(t,"message",String(n),y),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 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-c373353a.cjs");const t=e.lazy(()=>Promise.resolve().then(()=>require("./button-3aead671.cjs"))),r=e.lazy(()=>Promise.resolve().then(()=>require("./columns-6f0bea35.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./image-764070f8.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-e2b27478.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-e6dbb721.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./video-e20dcbbc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-c0ecd775.cjs")).then(o=>o.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-d536d382.cjs"))),y=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{}});exports.Blocks=u;exports.BuilderContext=y;exports.Button=t;exports.Columns=r;exports.Content=m;exports.Fragment=n;exports.Image=s;exports.Section=i;exports.Symbol=l;exports.Text=c;exports.Video=a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { lazy as t, createContext as n } from "react";
|
|
3
|
-
import "./server-entry-
|
|
4
|
-
const i = t(() => import("./button-
|
|
3
|
+
import "./server-entry-438d03b9.js";
|
|
4
|
+
const i = t(() => import("./button-a1ecbbb4.js")), r = t(() => import("./columns-f8252cd4.js")), a = t(() => import("./fragment-1492bc7f.js")), c = t(() => import("./image-9d24a962.js")), m = t(() => import("./section-d83e2dd3.js")), p = t(() => import("./symbol-c1b26e8b.js")), l = t(() => import("./text-5915f038.js")), u = t(() => import("./video-58c2cc8d.js")), d = t(() => import("./blocks-bf8d4f42.js").then((o) => o.blocks)), x = t(() => import("./content-variants-a7515e25.js")), S = n({
|
|
5
5
|
content: null,
|
|
6
6
|
context: {},
|
|
7
7
|
localState: void 0,
|
|
@@ -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-
|
|
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-d6e10697.cjs");require("./server-entry-c373353a.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,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-
|
|
4
|
-
import "./server-entry-
|
|
3
|
+
import { getClassPropName as n } from "./get-class-prop-name-7245a80c.js";
|
|
4
|
+
import "./server-entry-438d03b9.js";
|
|
5
5
|
function b(t) {
|
|
6
6
|
function e() {
|
|
7
7
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("react"),a=require("./blocks-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("react"),a=require("./blocks-c0ecd775.cjs"),p=require("./dynamic-renderer-b29b45ca.cjs"),B=require("./get-class-prop-name-d6e10697.cjs");require("./blocks-exports.cjs");require("./server-entry-c373353a.cjs");const q=t=>`builder-columns ${t}-breakpoints`;function z(t){var f,g;const[u,A]=s.useState(()=>typeof t.space=="number"?t.space||0:20),[o,L]=s.useState(()=>t.columns||[]),[d,N]=s.useState(()=>t.stackColumnsAt||"tablet");function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=o[e])==null?void 0:n.width)||100/o.length}function C(e){const n=u*(o.length-1)/o.length;return`calc(${x(e)}% - ${n}px)`}function c({stackedStyle:e,desktopStyle:n}){return d==="tablet"?e:n}function m({stackedStyle:e,desktopStyle:n}){return d==="never"?n:e}const[b,W]=s.useState(()=>t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column");function v(){return{"--flex-dir":b,"--flex-dir-tablet":c({stackedStyle:b,desktopStyle:"row"})}}function w(e){const n=e===0?0:u,l=C(e),r=`${n}px`,h="100%",S=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:l,["marginLeft"]:r,"--column-width-mobile":m({stackedStyle:h,desktopStyle:l}),"--column-margin-left-mobile":m({stackedStyle:S,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:h,desktopStyle:l}),"--column-margin-left-tablet":c({stackedStyle:S,desktopStyle:r})}}function k(e){var l,r;return a.getSizesForBreakpoints(((r=(l=t.builderContext.content)==null?void 0:l.meta)==null?void 0:r.breakpoints)||{})[e].max}function $(){return`
|
|
2
2
|
@media (max-width: ${k("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 y, Fragment as B, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s } from "react";
|
|
3
|
-
import { InlinedStyles as z, Blocks as A, mapStyleObjToStrIfNeeded as L, getSizesForBreakpoints as W } from "./blocks-
|
|
3
|
+
import { InlinedStyles as z, Blocks as A, mapStyleObjToStrIfNeeded as L, getSizesForBreakpoints as W } from "./blocks-bf8d4f42.js";
|
|
4
4
|
import { DynamicRenderer as N } from "./dynamic-renderer-8b343325.js";
|
|
5
|
-
import { getClassPropName as D } from "./get-class-prop-name-
|
|
5
|
+
import { getClassPropName as D } from "./get-class-prop-name-7245a80c.js";
|
|
6
6
|
import "./blocks-exports.mjs";
|
|
7
|
-
import "./server-entry-
|
|
7
|
+
import "./server-entry-438d03b9.js";
|
|
8
8
|
const F = (e) => `builder-columns ${e}-breakpoints`;
|
|
9
9
|
function J(e) {
|
|
10
10
|
var f, k;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as f, jsxs as $, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { lazy as T, useRef as le, useState as k, useEffect as S } from "react";
|
|
3
|
-
import { isBrowser as H, TARGET as te, isEditing as F, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ce, getDefaultCanTrack as A, _track as J, isPreviewing as ue, fetchOneEntry as me, logger as pe, createEditorListener as ge, fetch as fe, fastClone as he, serializeComponentInfo as Y, handleABTestingSync as be } from "./server-entry-
|
|
3
|
+
import { isBrowser as H, TARGET as te, isEditing as F, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ce, getDefaultCanTrack as A, _track as J, isPreviewing as ue, fetchOneEntry as me, logger as pe, createEditorListener as ge, fetch as fe, fastClone as he, serializeComponentInfo as Y, handleABTestingSync as be } from "./server-entry-438d03b9.js";
|
|
4
4
|
import { Video as ye, Button as xe, Columns as ve, Fragment as Se, Image as Te, Section as Ie, Symbol as ke, Text as Ce, BuilderContext as we } from "./blocks-exports.mjs";
|
|
5
|
-
import { triggerAnimation as Ve, evaluate as Q, InlinedStyles as ne, ComponentsContext as Re, Blocks as Ee } from "./blocks-
|
|
6
|
-
import "./get-class-prop-name-
|
|
5
|
+
import { triggerAnimation as Ve, evaluate as Q, InlinedStyles as ne, ComponentsContext as Re, Blocks as Ee } from "./blocks-bf8d4f42.js";
|
|
6
|
+
import "./get-class-prop-name-7245a80c.js";
|
|
7
7
|
import "./dynamic-renderer-8b343325.js";
|
|
8
8
|
const P = {
|
|
9
9
|
"@type": "@builder.io/sdk:Element",
|
|
@@ -123,7 +123,7 @@ const P = {
|
|
|
123
123
|
e.get("useChildrenForItems") === !0 && e.set("items", []);
|
|
124
124
|
}
|
|
125
125
|
}]
|
|
126
|
-
}, We = T(() => import("./accordion-
|
|
126
|
+
}, We = T(() => import("./accordion-8600e362.js")), Ae = {
|
|
127
127
|
name: "Core:Button",
|
|
128
128
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
129
129
|
defaultStyles: {
|
|
@@ -515,7 +515,7 @@ const P = {
|
|
|
515
515
|
required: !0,
|
|
516
516
|
defaultValue: "children"
|
|
517
517
|
}]
|
|
518
|
-
}, He = T(() => import("./slot-
|
|
518
|
+
}, He = T(() => import("./slot-a7c301c7.js")), Ne = {
|
|
519
519
|
name: "Symbol",
|
|
520
520
|
noWrap: !0,
|
|
521
521
|
static: !0,
|
|
@@ -683,7 +683,7 @@ const P = {
|
|
|
683
683
|
value: "flex-end"
|
|
684
684
|
}]
|
|
685
685
|
}]
|
|
686
|
-
}, je = T(() => import("./tabs-
|
|
686
|
+
}, je = T(() => import("./tabs-91468f03.js")), qe = {
|
|
687
687
|
name: "Text",
|
|
688
688
|
static: !0,
|
|
689
689
|
isRSC: !0,
|
|
@@ -979,7 +979,7 @@ const P = {
|
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
}]
|
|
982
|
-
}, Je = T(() => import("./form-
|
|
982
|
+
}, Je = T(() => import("./form-4c514836.js")), Ye = {
|
|
983
983
|
name: "Form:Input",
|
|
984
984
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
985
985
|
inputs: [
|
|
@@ -1030,7 +1030,7 @@ const P = {
|
|
|
1030
1030
|
borderStyle: "solid",
|
|
1031
1031
|
borderColor: "#ccc"
|
|
1032
1032
|
}
|
|
1033
|
-
}, Qe = T(() => import("./input-
|
|
1033
|
+
}, Qe = T(() => import("./input-ecbd900c.js")), Ge = {
|
|
1034
1034
|
name: "Form:Select",
|
|
1035
1035
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
1036
1036
|
defaultStyles: {
|
|
@@ -1072,7 +1072,7 @@ const P = {
|
|
|
1072
1072
|
}],
|
|
1073
1073
|
static: !0,
|
|
1074
1074
|
noWrap: !0
|
|
1075
|
-
}, Xe = T(() => import("./select-
|
|
1075
|
+
}, Xe = T(() => import("./select-679760ee.js")), Ze = {
|
|
1076
1076
|
name: "Form:SubmitButton",
|
|
1077
1077
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
1078
1078
|
defaultStyles: {
|
|
@@ -1111,7 +1111,7 @@ const P = {
|
|
|
1111
1111
|
}],
|
|
1112
1112
|
noWrap: !0,
|
|
1113
1113
|
static: !0
|
|
1114
|
-
}, nt = T(() => import("./img-
|
|
1114
|
+
}, nt = T(() => import("./img-916857d0.js")), at = {
|
|
1115
1115
|
name: "Video",
|
|
1116
1116
|
canHaveChildren: !0,
|
|
1117
1117
|
defaultStyles: {
|
|
@@ -1775,6 +1775,7 @@ function ee(e) {
|
|
|
1775
1775
|
}),
|
|
1776
1776
|
rootSetState: a,
|
|
1777
1777
|
context: e.context || {},
|
|
1778
|
+
canTrack: e.canTrack,
|
|
1778
1779
|
apiKey: e.apiKey,
|
|
1779
1780
|
apiVersion: e.apiVersion,
|
|
1780
1781
|
componentInfos: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),r=require("react"),l=require("./server-entry-297b8bc2.cjs"),k=require("./blocks-exports.cjs"),w=require("./blocks-c15b6781.cjs");require("./get-class-prop-name-cee86e8a.cjs");require("./dynamic-renderer-b29b45ca.cjs");const W={"@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!"}}}]},A={"@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!"}}}]},X={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:[W]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[A]}],defaultValue:[{title:[W],detail:[A]},{title:[W],detail:[A]}],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",[])}}]},Z=r.lazy(()=>Promise.resolve().then(()=>require("./accordion-14a05089.cjs"))),ee={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},te={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(a=>{a.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(u=>u.get("width"))&&(n.find(p=>!p.get("width"))||n.reduce((o,f)=>o+f.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}]},ne={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},ae={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(i,o=6e4){return new Promise((f,y)=>{const C=document.createElement("img");let I=!1;C.onload=()=>{I=!0,f(C)},C.addEventListener("error",V=>{console.warn("Image load failed",V.error),y(V.error)}),C.src=i,setTimeout(()=>{I||y(new Error("Image load timed out"))},o)})}function a(i){return Math.round(i*1e3)/1e3}const u=e.get("image"),p=e.get("aspectRatio");if(fetch(u).then(i=>i.blob()).then(i=>{i.type.includes("svg")&&e.set("noWebp",!0)}),u&&(!p||p===.7041))return n(u).then(i=>{const o=e.get("aspectRatio");e.get("image")===u&&(!o||o===.7041)&&i.width&&i.height&&(e.set("aspectRatio",a(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:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},ie={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>"}}}]},oe={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"}]},re=r.lazy(()=>Promise.resolve().then(()=>require("./slot-44dde011.cjs"))),le={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"}]},D={"@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"}}},q={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},se={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[D]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[q]}],defaultValue:[{label:[{...D,component:{name:"Text",options:{text:"Tab 1"}}}],content:[{...q,component:{name:"Text",options:{text:"Tab 1 content"}}}]},{label:[{...D,component:{name:"Text",options:{text:"Tab 2"}}}],content:[{...q,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"}]}]},de=r.lazy(()=>Promise.resolve().then(()=>require("./tabs-4cc4f967.cjs"))),ce={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}},ue={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}]},me=r.lazy(()=>Promise.resolve().then(()=>require("./custom-code-6d9730ff.cjs"))),pe={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(a=>a.json()).then(a=>{e.get("url")===t&&(a.html?e.set("content",a.html):e.set("content","Invalid url, please try another"))}).catch(a=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},fe=r.lazy(()=>Promise.resolve().then(()=>require("./embed-32bdd007.cjs"))),ge={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"}}}]},he=r.lazy(()=>Promise.resolve().then(()=>require("./form-201ef75e.cjs"))),be={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"}},ye=r.lazy(()=>Promise.resolve().then(()=>require("./input-062b45e9.cjs"))),xe={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},ve=r.lazy(()=>Promise.resolve().then(()=>require("./select-a199fa22.cjs"))),Se={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},Te=r.lazy(()=>Promise.resolve().then(()=>require("./submit-button-b363e0ed.cjs"))),Ie={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},ke=r.lazy(()=>Promise.resolve().then(()=>require("./img-554cab42.cjs"))),Ce={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},we=()=>[{component:me,...ue},{component:fe,...pe},{component:he,...ge},{component:ye,...be},{component:Te,...Se},{component:ve,...xe},{component:ke,...Ie},{component:k.Video,...Ce}],z=()=>[{component:k.Button,...ee},{component:k.Columns,...te},{component:k.Fragment,...ne},{component:k.Image,...ae},{component:k.Section,...ie},{component:re,...oe},{component:k.Symbol,...le},{component:k.Text,...ce},{component:de,...se},{component:Z,...X},...we()],Ve=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),r=require("react"),l=require("./server-entry-c373353a.cjs"),k=require("./blocks-exports.cjs"),w=require("./blocks-c0ecd775.cjs");require("./get-class-prop-name-d6e10697.cjs");require("./dynamic-renderer-b29b45ca.cjs");const W={"@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!"}}}]},A={"@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!"}}}]},X={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:[W]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[A]}],defaultValue:[{title:[W],detail:[A]},{title:[W],detail:[A]}],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",[])}}]},Z=r.lazy(()=>Promise.resolve().then(()=>require("./accordion-61d8c841.cjs"))),ee={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},te={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(a=>{a.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(u=>u.get("width"))&&(n.find(p=>!p.get("width"))||n.reduce((o,f)=>o+f.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}]},ne={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},ae={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(i,o=6e4){return new Promise((f,y)=>{const C=document.createElement("img");let I=!1;C.onload=()=>{I=!0,f(C)},C.addEventListener("error",V=>{console.warn("Image load failed",V.error),y(V.error)}),C.src=i,setTimeout(()=>{I||y(new Error("Image load timed out"))},o)})}function a(i){return Math.round(i*1e3)/1e3}const u=e.get("image"),p=e.get("aspectRatio");if(fetch(u).then(i=>i.blob()).then(i=>{i.type.includes("svg")&&e.set("noWebp",!0)}),u&&(!p||p===.7041))return n(u).then(i=>{const o=e.get("aspectRatio");e.get("image")===u&&(!o||o===.7041)&&i.width&&i.height&&(e.set("aspectRatio",a(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:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},ie={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>"}}}]},oe={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"}]},re=r.lazy(()=>Promise.resolve().then(()=>require("./slot-70d56fb7.cjs"))),le={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"}]},D={"@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"}}},q={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},se={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[D]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[q]}],defaultValue:[{label:[{...D,component:{name:"Text",options:{text:"Tab 1"}}}],content:[{...q,component:{name:"Text",options:{text:"Tab 1 content"}}}]},{label:[{...D,component:{name:"Text",options:{text:"Tab 2"}}}],content:[{...q,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"}]}]},de=r.lazy(()=>Promise.resolve().then(()=>require("./tabs-d69a6adc.cjs"))),ce={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}},ue={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}]},me=r.lazy(()=>Promise.resolve().then(()=>require("./custom-code-6d9730ff.cjs"))),pe={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(a=>a.json()).then(a=>{e.get("url")===t&&(a.html?e.set("content",a.html):e.set("content","Invalid url, please try another"))}).catch(a=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},fe=r.lazy(()=>Promise.resolve().then(()=>require("./embed-32bdd007.cjs"))),ge={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"}}}]},he=r.lazy(()=>Promise.resolve().then(()=>require("./form-aa86b853.cjs"))),be={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"}},ye=r.lazy(()=>Promise.resolve().then(()=>require("./input-1c89bf19.cjs"))),xe={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},ve=r.lazy(()=>Promise.resolve().then(()=>require("./select-31017554.cjs"))),Se={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},Te=r.lazy(()=>Promise.resolve().then(()=>require("./submit-button-b363e0ed.cjs"))),Ie={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},ke=r.lazy(()=>Promise.resolve().then(()=>require("./img-266babf5.cjs"))),Ce={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},we=()=>[{component:me,...ue},{component:fe,...pe},{component:he,...ge},{component:ye,...be},{component:Te,...Se},{component:ve,...xe},{component:ke,...Ie},{component:k.Video,...Ce}],z=()=>[{component:k.Button,...ee},{component:k.Columns,...te},{component:k.Fragment,...ne},{component:k.Image,...ae},{component:k.Section,...ie},{component:re,...oe},{component:k.Symbol,...le},{component:k.Text,...ce},{component:de,...se},{component:Z,...X},...we()],Ve=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
2
2
|
function getAndSetVariantId() {
|
|
3
3
|
function setCookie(name, value, days) {
|
|
4
4
|
let expires = '';
|
|
@@ -131,4 +131,4 @@ font-weight: ${o};
|
|
|
131
131
|
${He({cssCode:e.cssCode,contentId:e.contentId})}
|
|
132
132
|
${Le({customFonts:e.customFonts})}
|
|
133
133
|
${Be(e.isNestedRender)}
|
|
134
|
-
`.trim());return h.jsx(w.InlinedStyles,{id:"builderio-content",styles:t})}const Oe=({content:e,data:t,locale:n})=>{var p,i,o;const a={},u=((p=e==null?void 0:e.data)==null?void 0:p.state)||{};return(o=(i=e==null?void 0:e.data)==null?void 0:i.inputs)==null||o.forEach(f=>{f.name&&f.defaultValue!==void 0&&(a[f.name]=f.defaultValue)}),{...a,...u,...t,...n?{locale:n}:{}}},_e=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function M(e){var f,y,C,I,V,R,F;const[t,n]=r.useState(()=>{var v,S;return Ae({variationId:(v=e.content)==null?void 0:v.testVariationId,contentId:(S=e.content)==null?void 0:S.id})});function a(v){o(S=>({...S,rootState:v}))}const[u,p]=r.useState(()=>[...z(),...e.customComponents||[]].reduce((v,{component:S,...T})=>({...v,[T.name]:{component:S,...l.serializeComponentInfo(T)}}),{})),[i,o]=r.useState(()=>({content:_e({content:e.content,data:e.data}),localState:void 0,rootState:Oe({content:e.content,data:e.data,locale:e.locale}),rootSetState:a,context:e.context||{},apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...z(),...e.customComponents||[]].reduce((v,{component:S,...T})=>({...v,[T.name]:l.serializeComponentInfo(T)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{}}));return h.jsx(w.ComponentsContext.Provider,{value:{registeredComponents:u},children:h.jsxs(Ke,{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,linkComponent:e.linkComponent,trustedHosts:e.trustedHosts,setBuilderContextSignal:o,children:[e.isSsrAbTest?h.jsx(j,{id:"builderio-variant-visibility",scriptStr:t}):null,h.jsx(ze,{isNestedRender:e.isNestedRender,contentId:(f=i.content)==null?void 0:f.id,cssCode:(C=(y=i.content)==null?void 0:y.data)==null?void 0:C.cssCode,customFonts:(V=(I=i.content)==null?void 0:I.data)==null?void 0:V.customFonts}),h.jsx(w.Blocks,{blocks:(F=(R=i.content)==null?void 0:R.data)==null?void 0:F.blocks,context:i,registeredComponents:u,linkComponent:e.linkComponent})]})})}function Me(e){var i;const[t,n]=r.useState(()=>Re({canTrack:l.getDefaultCanTrack(e.canTrack),content:e.content}));function a(){var o;return We(P(e.content).map(f=>({id:f.testVariationId,testRatio:f.testRatio})),((o=e.content)==null?void 0:o.id)||"")}function u(){return P(e.content).map(o=>`.variant-${o.testVariationId} { display: none; } `).join("")}function p(){var o;return t?{...e.content,testVariationId:(o=e.content)==null?void 0:o.id}:l.handleABTestingSync({item:e.content,canTrack:l.getDefaultCanTrack(e.canTrack)})}return r.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[!e.isNestedRender&&l.TARGET!=="reactNative"?h.jsx(j,{id:"builderio-init-variants-fns",scriptStr:Pe()}):null,t?h.jsxs(h.Fragment,{children:[h.jsx(w.InlinedStyles,{id:"builderio-variants",styles:u()}),h.jsx(j,{id:"builderio-variants-visibility",scriptStr:a()}),(i=P(e.content))==null?void 0:i.map(o=>h.jsx(M,{isNestedRender:e.isNestedRender,content:o,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},o.testVariationId))]}):null,h.jsx(M,{isNestedRender:e.isNestedRender,content:p(),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})]})}exports.default=Me;
|
|
134
|
+
`.trim());return h.jsx(w.InlinedStyles,{id:"builderio-content",styles:t})}const Oe=({content:e,data:t,locale:n})=>{var p,i,o;const a={},u=((p=e==null?void 0:e.data)==null?void 0:p.state)||{};return(o=(i=e==null?void 0:e.data)==null?void 0:i.inputs)==null||o.forEach(f=>{f.name&&f.defaultValue!==void 0&&(a[f.name]=f.defaultValue)}),{...a,...u,...t,...n?{locale:n}:{}}},_e=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0;function M(e){var f,y,C,I,V,R,F;const[t,n]=r.useState(()=>{var v,S;return Ae({variationId:(v=e.content)==null?void 0:v.testVariationId,contentId:(S=e.content)==null?void 0:S.id})});function a(v){o(S=>({...S,rootState:v}))}const[u,p]=r.useState(()=>[...z(),...e.customComponents||[]].reduce((v,{component:S,...T})=>({...v,[T.name]:{component:S,...l.serializeComponentInfo(T)}}),{})),[i,o]=r.useState(()=>({content:_e({content:e.content,data:e.data}),localState:void 0,rootState:Oe({content:e.content,data:e.data,locale:e.locale}),rootSetState:a,context:e.context||{},canTrack:e.canTrack,apiKey:e.apiKey,apiVersion:e.apiVersion,componentInfos:[...z(),...e.customComponents||[]].reduce((v,{component:S,...T})=>({...v,[T.name]:l.serializeComponentInfo(T)}),{}),inheritedStyles:{},BlocksWrapper:e.blocksWrapper||"div",BlocksWrapperProps:e.blocksWrapperProps||{}}));return h.jsx(w.ComponentsContext.Provider,{value:{registeredComponents:u},children:h.jsxs(Ke,{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,linkComponent:e.linkComponent,trustedHosts:e.trustedHosts,setBuilderContextSignal:o,children:[e.isSsrAbTest?h.jsx(j,{id:"builderio-variant-visibility",scriptStr:t}):null,h.jsx(ze,{isNestedRender:e.isNestedRender,contentId:(f=i.content)==null?void 0:f.id,cssCode:(C=(y=i.content)==null?void 0:y.data)==null?void 0:C.cssCode,customFonts:(V=(I=i.content)==null?void 0:I.data)==null?void 0:V.customFonts}),h.jsx(w.Blocks,{blocks:(F=(R=i.content)==null?void 0:R.data)==null?void 0:F.blocks,context:i,registeredComponents:u,linkComponent:e.linkComponent})]})})}function Me(e){var i;const[t,n]=r.useState(()=>Re({canTrack:l.getDefaultCanTrack(e.canTrack),content:e.content}));function a(){var o;return We(P(e.content).map(f=>({id:f.testVariationId,testRatio:f.testRatio})),((o=e.content)==null?void 0:o.id)||"")}function u(){return P(e.content).map(o=>`.variant-${o.testVariationId} { display: none; } `).join("")}function p(){var o;return t?{...e.content,testVariationId:(o=e.content)==null?void 0:o.id}:l.handleABTestingSync({item:e.content,canTrack:l.getDefaultCanTrack(e.canTrack)})}return r.useEffect(()=>{},[]),h.jsxs(h.Fragment,{children:[!e.isNestedRender&&l.TARGET!=="reactNative"?h.jsx(j,{id:"builderio-init-variants-fns",scriptStr:Pe()}):null,t?h.jsxs(h.Fragment,{children:[h.jsx(w.InlinedStyles,{id:"builderio-variants",styles:u()}),h.jsx(j,{id:"builderio-variants-visibility",scriptStr:a()}),(i=P(e.content))==null?void 0:i.map(o=>h.jsx(M,{isNestedRender:e.isNestedRender,content:o,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},o.testVariationId))]}):null,h.jsx(M,{isNestedRender:e.isNestedRender,content:p(),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})]})}exports.default=Me;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as N, Fragment as w, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as J, useState as y } from "react";
|
|
3
|
-
import { Block as O, Blocks as S, set as U } from "./blocks-
|
|
4
|
-
import { isEditing as j } from "./server-entry-
|
|
3
|
+
import { Block as O, Blocks as S, set as U } from "./blocks-bf8d4f42.js";
|
|
4
|
+
import { isEditing as j } from "./server-entry-438d03b9.js";
|
|
5
5
|
import "./blocks-exports.mjs";
|
|
6
|
-
import "./get-class-prop-name-
|
|
6
|
+
import "./get-class-prop-name-7245a80c.js";
|
|
7
7
|
import "./dynamic-renderer-8b343325.js";
|
|
8
8
|
const R = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $ = () => {
|
|
9
9
|
const e = process.env.NODE_ENV || "production";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),y=require("react"),b=require("./blocks-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),y=require("react"),b=require("./blocks-c0ecd775.cjs"),P=require("./server-entry-c373353a.cjs");require("./blocks-exports.cjs");require("./get-class-prop-name-d6e10697.cjs");require("./dynamic-renderer-b29b45ca.cjs");const B=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"],D=()=>{const e=process.env.NODE_ENV||"production";return B.includes(e)?e:"production"},A=(e,i,S)=>{const a=String.prototype.split.call(i,/[,[\].]+?/).filter(Boolean).reduce((c,h)=>c!=null?c[h]:c,e);return a===void 0||a===e?S:a};function O(e){var x,E;const i=y.useRef(null),[S,a]=y.useState(()=>"unsubmitted"),[c,h]=y.useState(()=>null),[J,T]=y.useState(()=>"");function q(s){var f,m;const u={...e.builderContext.rootState,...s};e.builderContext.rootSetState?(m=(f=e.builderContext).rootSetState)==null||m.call(f,u):e.builderContext.rootState=u}function g(){return P.isEditing()&&e.previewState||S}function F(s){var f;const u=e.sendWithJs||e.sendSubmissionsTo==="email";if(e.sendSubmissionsTo==="zapier")s.preventDefault();else if(u){if(!(e.action||e.sendSubmissionsTo==="email")){s.preventDefault();return}s.preventDefault();const m=s.currentTarget||s.target,k=e.customHeaders||{};let v;const N=new FormData(m),C=Array.from(m.querySelectorAll("input,select,textarea")).filter(t=>!!t.name).map(t=>{let n;const l=t.name;if(t instanceof HTMLInputElement)if(t.type==="radio"){if(t.checked)return n=t.name,{key:l,value:n}}else if(t.type==="checkbox")n=t.checked;else if(t.type==="number"||t.type==="range"){const r=t.valueAsNumber;isNaN(r)||(n=r)}else t.type==="file"?n=t.files:n=t.value;else n=t.value;return{key:l,value:n}});let d=e.contentType;if(e.sendSubmissionsTo==="email"&&(d="multipart/form-data"),Array.from(C).forEach(({value:t})=>{(t instanceof File||Array.isArray(t)&&t[0]instanceof File||t instanceof FileList)&&(d="multipart/form-data")}),d!=="application/json")v=N;else{const t={};Array.from(C).forEach(({value:n,key:l})=>{b.set(t,l,n)}),v=JSON.stringify(t)}d&&d!=="multipart/form-data"&&(u&&((f=e.action)!=null&&f.includes("zapier.com"))||(k["content-type"]=d));const j=new CustomEvent("presubmit",{detail:{body:v}});if(i.current&&(i.current.dispatchEvent(j),j.defaultPrevented))return;a("sending");const w=`${D()==="dev"?"http://localhost:5000":"https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(e.sendSubmissionsToEmail||"")}&name=${encodeURIComponent(e.name||"")}`;fetch(e.sendSubmissionsTo==="email"?w:e.action,{body:v,headers:k,method:e.method||"post"}).then(async t=>{let n;const l=t.headers.get("content-type");if(l&&l.indexOf("application/json")!==-1?n=await t.json():n=await t.text(),!t.ok&&e.errorMessagePath){let r=A(n,e.errorMessagePath);r&&(typeof r!="string"&&(r=JSON.stringify(r)),T(r),q({formErrorMessage:r}))}if(h(n),a(t.ok?"success":"error"),t.ok){const r=new CustomEvent("submit:success",{detail:{res:t,body:n}});if(i.current){if(i.current.dispatchEvent(r),r.defaultPrevented)return;e.resetFormOnSubmit!==!1&&i.current.reset()}if(e.successUrl)if(i.current){const M=new CustomEvent("route",{detail:{url:e.successUrl}});i.current.dispatchEvent(M),M.defaultPrevented||(location.href=e.successUrl)}else location.href=e.successUrl}},t=>{const n=new CustomEvent("submit:error",{detail:{error:t}});i.current&&(i.current.dispatchEvent(n),n.defaultPrevented)||(h(t),a("error"))})}}return o.jsxs(o.Fragment,{children:[" ",o.jsxs("form",{validate:e.validate,ref:i,action:!e.sendWithJs&&e.action,method:e.method,name:e.name,onSubmit:s=>F(s),...e.attributes,children:[e.builderBlock&&e.builderBlock.children?o.jsx(o.Fragment,{children:(E=(x=e.builderBlock)==null?void 0:x.children)==null?void 0:E.map((s,u)=>o.jsx(b.Block,{block:s,context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent},`form-block-${u}`))}):null,g()==="error"?o.jsx(b.Blocks,{path:"errorMessage",blocks:e.errorMessage,context:e.builderContext}):null,g()==="sending"?o.jsx(b.Blocks,{path:"sendingMessage",blocks:e.sendingMessage,context:e.builderContext}):null,g()==="error"&&c?o.jsx("pre",{className:"builder-form-error-text pre-3a20f614",children:JSON.stringify(c,null,2)}):null,g()==="success"?o.jsx(b.Blocks,{path:"successMessage",blocks:e.successMessage,context:e.builderContext}):null]})," ",o.jsx("style",{children:".pre-3a20f614 { padding: 10px; color: red; text-align: center; }"})," "]})}exports.default=O;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./server-entry-
|
|
1
|
+
"use strict";const e=require("./server-entry-c373353a.cjs"),s=()=>{switch(e.TARGET){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":case"angular":return"class"}};exports.getClassPropName=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("./server-entry-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("./server-entry-c373353a.cjs");function n(e){return t.jsx("img",{style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},alt:e.altText,src:e.imgSrc||e.image,...e.attributes},i.isEditing()&&e.imgSrc||"default-key")}exports.default=n;
|
package/lib/edge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./blocks-exports.cjs"),e=require("./server-entry-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./blocks-exports.cjs"),e=require("./server-entry-c373353a.cjs");require("react");exports.Blocks=t.Blocks;exports.BuilderContext=t.BuilderContext;exports.Button=t.Button;exports.Columns=t.Columns;exports.Content=t.Content;exports.Fragment=t.Fragment;exports.Image=t.Image;exports.Section=t.Section;exports.Symbol=t.Symbol;exports.Text=t.Text;exports.Video=t.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/edge/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Blocks as o, BuilderContext as i, Button as s, Columns as n, Content as c, Fragment as g, Image as m, Section as a, Symbol as d, Text as l, Video as u } from "./blocks-exports.mjs";
|
|
2
|
-
import { _processContentResult as f, createRegisterComponentMessage as B, fetchBuilderProps as C, fetchEntries as E, fetchOneEntry as h, getBuilderSearchParams as x, isEditing as S, isPreviewing as b, register as P, setEditorSettings as k, subscribeToEditor as y, track as R } from "./server-entry-
|
|
2
|
+
import { _processContentResult as f, createRegisterComponentMessage as B, fetchBuilderProps as C, fetchEntries as E, fetchOneEntry as h, getBuilderSearchParams as x, isEditing as S, isPreviewing as b, register as P, setEditorSettings as k, subscribeToEditor as y, track as R } from "./server-entry-438d03b9.js";
|
|
3
3
|
import "react";
|
|
4
4
|
export {
|
|
5
5
|
o as Blocks,
|