@builder.io/sdk-react 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks-exports.cjs +30 -30
- package/lib/browser/blocks-exports.mjs +676 -623
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/server-entry-0817de95.cjs +2 -0
- package/lib/browser/{server-entry-074665de.js → server-entry-331e2fd4.js} +248 -246
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-0768e15a.cjs → accordion-1559ca68.cjs} +1 -1
- package/lib/edge/{accordion-d3831f48.js → accordion-3e9ee224.js} +1 -1
- package/lib/edge/{blocks-2af1d7c9.cjs → blocks-4f20c19a.cjs} +14 -14
- package/lib/edge/{blocks-0269007e.js → blocks-b9be7dc1.js} +735 -721
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-050f4fef.cjs → button-0a632d4f.cjs} +1 -1
- package/lib/edge/{button-a478ff1a.js → button-ba852235.js} +2 -2
- package/lib/edge/{columns-25375990.cjs → columns-66170ac9.cjs} +1 -1
- package/lib/edge/{columns-0b3181f1.js → columns-ee2fba7b.js} +3 -3
- package/lib/edge/{content-variants-4cab7215.cjs → content-variants-4f54d98a.cjs} +3 -3
- package/lib/edge/{content-variants-0dd65b50.js → content-variants-c013569a.js} +142 -108
- package/lib/edge/{custom-code-f7a0f1c1.js → custom-code-38e2c9d5.js} +1 -1
- package/lib/edge/{custom-code-eb5aedd2.cjs → custom-code-48579935.cjs} +1 -1
- package/lib/edge/{embed-e4979560.js → embed-1ce0435c.js} +1 -1
- package/lib/edge/{embed-69114c35.cjs → embed-9a7f29ff.cjs} +1 -1
- package/lib/edge/{form-7b4bd399.cjs → form-d9b6dea6.cjs} +1 -1
- package/lib/edge/{form-30fba682.js → form-f558f5d4.js} +3 -3
- package/lib/edge/{get-class-prop-name-770bdff2.js → get-class-prop-name-35ccd32a.js} +1 -1
- package/lib/edge/{get-class-prop-name-f470d5ce.cjs → get-class-prop-name-d2be9a48.cjs} +1 -1
- package/lib/edge/image-cce92f6c.cjs +17 -0
- package/lib/edge/image-d87761af.js +123 -0
- package/lib/edge/img-a1e0f10e.js +33 -0
- package/lib/edge/img-b21eb075.cjs +1 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-e4a9fe0b.js → input-5c0d3350.js} +1 -1
- package/lib/edge/{input-a6caf021.cjs → input-6854bc85.cjs} +1 -1
- package/lib/edge/{personalization-container-64f3cd71.js → personalization-container-adf9e0bd.js} +4 -4
- package/lib/edge/{personalization-container-f7030f08.cjs → personalization-container-f7fdc090.cjs} +1 -1
- package/lib/edge/{select-c217566c.cjs → select-6c4637ae.cjs} +1 -1
- package/lib/edge/{select-c59c9ac6.js → select-713e73f6.js} +1 -1
- package/lib/edge/server-entry-0bef3cb1.cjs +2 -0
- package/lib/{node/server-entry-83d3751d.js → edge/server-entry-71badd34.js} +307 -307
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-ccd946e2.cjs → slot-59a86f46.cjs} +1 -1
- package/lib/edge/{slot-26ec2911.js → slot-a3c27352.js} +3 -3
- package/lib/edge/{symbol-4548e942.cjs → symbol-3d81a9de.cjs} +1 -1
- package/lib/edge/{symbol-10cb2f77.js → symbol-86e5a3f0.js} +2 -2
- package/lib/edge/{tabs-82a9170c.cjs → tabs-0d914e5c.cjs} +1 -1
- package/lib/edge/{tabs-f9110171.js → tabs-60f8bb61.js} +3 -3
- package/lib/node/blocks-exports.cjs +32 -32
- package/lib/node/blocks-exports.mjs +821 -768
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/server-entry-05b0f263.cjs +2 -0
- package/lib/{edge/server-entry-fb5f2b80.js → node/server-entry-68823bb0.js} +346 -342
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-596668c3.js → setIvm-bb3d0e32.js} +1 -1
- package/lib/node/{setIvm-0a5b2ba2.cjs → setIvm-bec8f1ed.cjs} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-180c3315.js → should-force-browser-runtime-in-node-a4c71d14.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-5b9e373d.cjs → should-force-browser-runtime-in-node-bbbdf124.cjs} +1 -1
- package/package.json +1 -1
- package/types/blocks/img/img.d.ts +2 -0
- package/types/components/block/components/live-edit-block-styles.d.ts +8 -0
- package/types/components/block/components/style-wrapper.d.ts +9 -0
- package/types/components/live-edit.d.ts +9 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/helpers/find-block.d.ts +18 -0
- package/types/helpers/subscribe-to-editor.d.ts +3 -2
- package/lib/browser/server-entry-06504dba.cjs +0 -2
- package/lib/edge/image-209835f4.js +0 -94
- package/lib/edge/image-87a4e006.cjs +0 -17
- package/lib/edge/image.helpers-3e926d47.js +0 -33
- package/lib/edge/image.helpers-dba8a869.cjs +0 -1
- package/lib/edge/img-3bb375bf.js +0 -28
- package/lib/edge/img-ddf74e12.cjs +0 -1
- package/lib/edge/server-entry-67200cf1.cjs +0 -2
- package/lib/node/server-entry-d40e4b66.cjs +0 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";const
|
|
2
|
-
`;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(O(2));break;case 117:l+=String.fromCharCode(O(4));break;case 85:l+=String.fromCharCode(O(8));break;case 116:l+=" ";break;case 98:l+="\b";break;case 118:l+="\v";break;case 102:l+="\f";break;case 48:l+="\0";break;case 13:
|
|
3
|
-
`,ne-2)+1,--ge;d(),T()}function Ae(){this.type=null,this.start=U,this.end=null}function Ie(){this.start=vt,this.end=null,mt&&(this.source=mt)}function B(){var i=new Ae;return j.C&&(i.X=new Ie),j.vb&&(i.sourceFile=j.vb),j.Xa&&(i.j=[U,0]),i}function q(i){var l=new Ae;return l.start=i.start,j.C&&(l.X=new Ie,l.X.start=i.X.start),j.Xa&&(l.j=[i.j[0],0]),l}function S(i,l){return i.type=l,i.end=fe,j.C&&(i.X.end=St),j.Xa&&(i.j[1]=fe),i}function ct(i){return i.type==="ExpressionStatement"&&i.la.type==="Literal"&&i.la.value==="use strict"}function R(i){return E===i?(C(),!0):!1}function Ze(){return!j.fc&&(E===Et||E===we||nt.test(g.slice(fe,U)))}function de(){R(ie)||Ze()||te()}function M(i){E===i?C():te()}function te(){r(U,"Unexpected token")}function qe(i){i.type!=="Identifier"&&i.type!=="MemberExpression"&&r(i.start,"Assigning to rvalue"),Y&&i.type==="Identifier"&&rt(i.name)&&r(i.start,"Assigning to "+i.name+" in strict mode")}function Q(){(E===kr||E===ye&&Z==="/=")&&T(!0);var i=E,l=B();switch(i){case kt:case or:C();var u=i===kt;R(ie)||Ze()?l.label=null:E!==xe?te():(l.label=re(),de());for(var p=0;p<D.length;++p){var k=D[p];if((l.label===null||k.name===l.label.name)&&(k.kind!==null&&(u||k.kind==="loop")||l.label&&u))break}return p===D.length&&r(l.start,"Unsyntactic "+i.l),S(l,u?"BreakStatement":"ContinueStatement");case ir:return C(),de(),S(l,"DebuggerStatement");case ar:return C(),D.push(bt),l.body=Q(),D.pop(),M(It),l.test=Te(),de(),S(l,"DoWhileStatement");case cr:return C(),D.push(bt),M(oe),E===ie?ft(l,null):E===At?(i=B(),C(),er(i,!0),S(i,"VariableDeclaration"),i.fa.length===1&&R(tt)?Qt(l,i):ft(l,i)):(i=X(!1,!0),R(tt)?(qe(i),Qt(l,i)):ft(l,i));case jt:return C(),gt(l,!0);case fr:return C(),l.test=Te(),l.da=Q(),l.alternate=R(lr)?Q():null,S(l,"IfStatement");case pr:return Ne||j.Ib||r(U,"'return' outside of function"),C(),R(ie)||Ze()?l.K=null:(l.K=X(),de()),S(l,"ReturnStatement");case Ot:for(C(),l.Qb=Te(),l.tb=[],M(Me),D.push(kn);E!==we;)E===Ct||E===sr?(i=E===Ct,p&&S(p,"SwitchCase"),l.tb.push(p=B()),p.da=[],C(),i?p.test=X():(u&&r(wt,"Multiple default clauses"),u=!0,p.test=null),M(De)):(p||te(),p.da.push(Q()));return p&&S(p,"SwitchCase"),C(),D.pop(),S(l,"SwitchStatement");case hr:return C(),nt.test(g.slice(fe,U))&&r(fe,"Illegal newline after throw"),l.K=X(),de(),S(l,"ThrowStatement");case dr:return C(),l.block=Pe(),l.Ea=null,E===nr&&(i=B(),C(),M(oe),i.Ua=re(),Y&&rt(i.Ua.name)&&r(i.Ua.start,"Binding "+i.Ua.name+" in strict mode"),M(ee),i.body=Pe(),l.Ea=S(i,"CatchClause")),l.fb=R(ur)?Pe():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),S(l,"TryStatement");case At:return C(),er(l),de(),S(l,"VariableDeclaration");case It:return C(),l.test=Te(),D.push(bt),l.body=Q(),D.pop(),S(l,"WhileStatement");case gr:return Y&&r(U,"'with' in strict mode"),C(),l.object=Te(),l.body=Q(),S(l,"WithStatement");case Me:return Pe();case ie:return C(),S(l,"EmptyStatement");default:if(u=Z,k=X(),i===xe&&k.type==="Identifier"&&R(De)){for(p=0;p<D.length;++p)D[p].name===u&&r(k.start,"Label '"+u+"' is already declared");return D.push({name:u,kind:E.W?"loop":E===Ot?"switch":null}),l.body=Q(),D.pop(),l.label=k,S(l,"LabeledStatement")}return l.la=k,de(),S(l,"ExpressionStatement")}}function Te(){M(oe);var i=X();return M(ee),i}function Pe(i){var l=B(),u=!0,p=!1;for(l.body=[],M(Me);!R(we);){var k=Q();if(l.body.push(k),u&&i&&ct(k)){var F=p;ce(p=!0)}u=!1}return p&&!F&&ce(!1),S(l,"BlockStatement")}function ft(i,l){return i.ua=l,M(ie),i.test=E===ie?null:X(),M(ie),i.update=E===ee?null:X(),M(ee),i.body=Q(),D.pop(),S(i,"ForStatement")}function Qt(i,l){return i.left=l,i.right=X(),M(ee),i.body=Q(),D.pop(),S(i,"ForInStatement")}function er(i,l){for(i.fa=[],i.kind="var";;){var u=B();if(u.id=re(),Y&&rt(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=R(Cr)?X(!0,l):null,i.fa.push(S(u,"VariableDeclarator")),!R(pe))break}}function X(i,l){var u=pt(l);if(!i&&E===pe){for(i=q(u),i.xb=[u];R(pe);)i.xb.push(pt(l));return S(i,"SequenceExpression")}return u}function pt(i){var l=ht(dt(),-1,i);if(R(Er)){var u=q(l);u.test=l,u.da=X(!0),M(De),u.alternate=X(!0,i),l=S(u,"ConditionalExpression")}return E.Cb?(u=q(l),u.operator=Z,u.left=l,C(),u.right=pt(i),qe(l),S(u,"AssignmentExpression")):l}function ht(i,l,u){var p=E.L;if(p!==null&&(!u||E!==tt)&&p>l){var k=q(i);return k.left=i,k.operator=Z,i=E,C(),k.right=ht(dt(),p,u),p=S(k,i===Or||i===Ar?"LogicalExpression":"BinaryExpression"),ht(p,l,u)}return i}function dt(){if(E.prefix){var i=B(),l=E.$b;return i.operator=Z,Re=i.prefix=!0,C(),i.K=dt(),l?qe(i.K):Y&&i.operator==="delete"&&i.K.type==="Identifier"&&r(i.start,"Deleting local variable in strict mode"),S(i,l?"UpdateExpression":"UnaryExpression")}for(l=be(Qe());E.cc&&!Ze();)i=q(l),i.operator=Z,i.prefix=!1,i.K=l,qe(l),C(),l=S(i,"UpdateExpression");return l}function be(i,l){if(R(Sr)){var u=q(i);return u.object=i,u.Wa=re(!0),u.bb=!1,be(S(u,"MemberExpression"),l)}return R(Tt)?(u=q(i),u.object=i,u.Wa=X(),u.bb=!0,M(Pt),be(S(u,"MemberExpression"),l)):!l&&R(oe)?(u=q(i),u.callee=i,u.arguments=yt(ee,!1),be(S(u,"CallExpression"),l)):i}function Qe(){switch(E){case mr:var i=B();return C(),S(i,"ThisExpression");case xe:return re();case Be:case et:case rr:return i=B(),i.value=Z,i.raw=g.slice(U,ve),C(),S(i,"Literal");case vr:case xr:case wr:return i=B(),i.value=E.$a,i.raw=E.l,C(),S(i,"Literal");case oe:i=vt;var l=U;C();var u=X();return u.start=l,u.end=ve,j.C&&(u.X.start=i,u.X.end=xt),j.Xa&&(u.j=[l,ve]),M(ee),u;case Tt:return i=B(),C(),i.elements=yt(Pt,!0,!0),S(i,"ArrayExpression");case Me:for(i=B(),l=!0,u=!1,i.h=[],C();!R(we);){if(l)l=!1;else if(M(pe),j.sb&&R(we))break;var p={key:E===Be||E===et?Qe():re(!0)},k=!1;if(R(De)){p.value=X(!0);var F=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?te():(k=u=!0,F=p.kind=p.key.name,p.key=E===Be||E===et?Qe():re(!0),E!==oe&&te(),p.value=gt(B(),!1));if(p.key.type==="Identifier"&&(Y||u))for(var z=0;z<i.h.length;++z){var Ee=i.h[z];if(Ee.key.name===p.key.name){var Rt=F===Ee.kind||k&&Ee.kind==="init"||F==="init"&&(Ee.kind==="get"||Ee.kind==="set");Rt&&!Y&&F==="init"&&Ee.kind==="init"&&(Rt=!1),Rt&&r(p.key.start,"Redefinition of property")}}i.h.push(p)}return S(i,"ObjectExpression");case jt:return i=B(),C(),gt(i,!1);case yr:return i=B(),C(),i.callee=be(Qe(),!0),i.arguments=R(oe)?yt(ee,!1):ln,S(i,"NewExpression")}te()}function gt(i,l){E===xe?i.id=re():l?te():i.id=null,i.oa=[];var u=!0;for(M(oe);!R(ee);)u?u=!1:M(pe),i.oa.push(re());u=Ne;var p=D;if(Ne=!0,D=[],i.body=Pe(!0),Ne=u,D=p,Y||i.body.body.length&&ct(i.body.body[0])){for(u=i.id?-1:0;u<i.oa.length;++u)if(p=0>u?i.id:i.oa[u],(Ir(p.name)||rt(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var k=0;k<u;++k)p.name===i.oa[k].name&&r(p.start,"Argument name clash in strict mode")}return S(i,l?"FunctionDeclaration":"FunctionExpression")}function yt(i,l,u){for(var p=[],k=!0;!R(i);){if(k)k=!1;else if(M(pe),l&&j.sb&&R(i))break;p.push(u&&E===pe?null:X(!0))}return p}function re(i){var l=B();return i&&j.yb==="everywhere"&&(i=!1),E===xe?(!i&&(j.yb&&xn(Z)||Y&&Ir(Z))&&g.slice(U,ve).indexOf("\\")===-1&&r(U,"The keyword '"+Z+"' is reserved"),l.name=Z):i&&E.l?l.name=E.l:te(),Re=!1,C(),S(l,"Identifier")}e.version="0.5.0";var j,g="",me,mt;e.parse=function(i,l){g=String(i),me=g.length,j=l||{};for(var u in tr)Object.prototype.hasOwnProperty.call(j,u)||(j[u]=tr[u]);for(mt=j.sourceFile,ge=1,c=ne=0,Re=!0,d(),u=j.dc,wt=fe=c,j.C&&(St=new s),Ne=Y=!1,D=[],T(),i=u||B(),l=!0,u||(i.body=[]);E!==Et;)u=Q(),i.body.push(u),l&&ct(u)&&ce(!0),l=!1;return S(i,"Program")};var tr={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,U=0,ve=0,vt,xt,E,Z,Re,ge,ne,wt=0,fe=0,St,Ne,D,Y,ln=[],Be={type:"num"},rr={type:"regexp"},et={type:"string"},xe={type:"name"},Et={type:"eof"},kt={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},dr={l:"try"},At={l:"var"},It={l:"while",W:!0},gr={l:"with"},yr={l:"new",m:!0},mr={l:"this"},vr={l:"null",$a:null},xr={l:"true",$a:!0},wr={l:"false",$a:!1},tt={l:"in",L:7,m:!0},un={break:kt,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:dr,var:At,while:It,with:gr,null:vr,true:xr,false:wr,new:yr,in:tt,instanceof:{l:"instanceof",L:7,m:!0},this:mr,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Tt={type:"[",m:!0},Pt={type:"]"},Me={type:"{",m:!0},we={type:"}"},oe={type:"(",m:!0},ee={type:")"},pe={type:",",m:!0},ie={type:";",m:!0},De={type:":",m:!0},Sr={type:"."},Er={type:"?",m:!0},kr={L:10,m:!0},Cr={Cb:!0,m:!0},ye={Cb:!0,m:!0},cn={cc:!0,prefix:!0,$b:!0},jr={prefix:!0,m:!0},Or={L:1,m:!0},Ar={L:2,m:!0},fn={L:3,m:!0},pn={L:4,m:!0},hn={L:5,m:!0},dn={L:6,m:!0},gn={L:7,m:!0},yn={L:8,m:!0},mn={L:9,prefix:!0,m:!0},vn={L:10,m:!0},xn=o("class enum extends super const export import"),Ir=o("implements interface let package private protected public static yield"),rt=o("eval arguments"),wn=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"),Sn=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Tr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),En=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),nt=/[\n\r\u2028\u2029]/,ot=/\r\n|[\n\r\u2028\u2029]/g,Se,bt={kind:"loop"},kn={kind:"switch"}},Mt=Mt=typeof globalThis=="undefined"?void 0:globalThis;Tn(Mt.j||(Mt.j={}));function h(e,t){typeof e=="string"&&(e=Ce(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),o;for(o in e)r[o]=o==="body"?e[o].slice():e[o];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var s,a;for(a in this)typeof this[a]=="function"&&(s=a.match(e))&&(this.rb[s[1]]=this[a].bind(this));this.N=_t(this,this.ra,null),this.Na=this.N.object,this.ra=Ce(this.ba.join(`
|
|
4
|
-
`),"polyfills"),this.ba=void 0,st(this.ra),s=new m(this.ra,this.N),s.done=!1,this.o=[s],this.Eb(),this.value=void 0,this.ra=r,s=new m(this.ra,this.N),s.done=!1,this.o.length=0,this.o[0]=s}var Pr={C:!0,kc:5},Lt={configurable:!0,enumerable:!0,writable:!1},y={configurable:!0,enumerable:!1,writable:!0},K={configurable:!0,enumerable:!1,writable:!1},Ue={configurable:!1,enumerable:!1,writable:!1},br={configurable:!1,enumerable:!0,writable:!0},$r={STEP_ERROR:!0},Oe={SCOPE_REFERENCE:!0},He={VALUE_IN_DESCRIPTOR:!0},ke={REGEXP_TIMEOUT:!0},Rr=[],ae=null,$e=null,he=typeof globalThis=="undefined"?void 0:globalThis,Pn=["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 Wt(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ve(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function st(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var o=e[r];o&&typeof o=="object"&&st(o,t,n)}}h.prototype.REGEXP_MODE=2;h.prototype.REGEXP_THREAD_TIMEOUT=1e3;h.prototype.POLYFILL_TIMEOUT=1e3;b=h.prototype;b.P=!1;b.Ka=!1;b.Kb=0;b.ic=0;function Ce(e,t){var n={},r;for(r in Pr)n[r]=Pr[r];return n.sourceFile=t,he.j.parse(e,n)}b.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=Ce(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");ze(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};b.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&Hr(this,n,n.interval);var r=new m(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};b.Eb=function(){for(;!this.za&&this.lb(););return this.za};function bn(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 A(null),e.Z=new A(e.M),Rn(e,t),Nn(e,t),t.xa=e.M,e.g(t,"constructor",e.v,y),Bn(e,t),Mn(e,t),Dn(e,t),_n(e,t),Un(e,t),Fn(e,t),Ln(e,t),Wn(e,t),Gn(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){w(e,e.Gb,f.message)}}}(r[o][0]),e.g(t,r[o][1],e.i(n,!1),y);n=function(s){return Nr(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),y),n=function(s){return Nr(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)}b.Wb=0;function Rn(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(o){var s=arguments.length?String(arguments[arguments.length-1]):"",a=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(a){a=a.split(/\s*,\s*/);for(var f=0;f<a.length;f++){var d=a[f];n.test(d)||w(e,e.T,"Invalid function argument: "+d)}a=a.join(", ")}try{var v=Ce("(function("+a+") {"+s+"})","function"+e.Wb++)}catch(T){w(e,e.T,"Invalid code: "+T.message)}return v.body.length!==1&&w(e,e.T,"Invalid code in function body"),Vt(e,v.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,K),e.Z.H="Function",r=function(o,s){var a=e.o[e.o.length-1];a.U=this,a.B=o,a.F=[],s!=null&&(s instanceof A?a.F=Vr(e,s):w(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||w(e,e.j,"Cannot convert '"+o+"' to object")}var r=function(o){if(o==null)return ue(e)?this:e.s(e.M);if(!(o instanceof A)){var s=e.s(le(e,o));return s.data=o,s}return o};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,y),e.g(e.M,"constructor",e.v,y),e.g(t,"Object",e.v,y),r=function(o){return n(o),se(e,Object.getOwnPropertyNames(o instanceof A?o.h:o))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),y),r=function(o){return n(o),o instanceof A&&(o=o.h),se(e,Object.keys(o))},e.g(e.v,"keys",e.i(r,!1),y),r=function(o){return o===null?e.s(null):(o instanceof A||w(e,e.j,"Object prototype may only be an Object or null, not "+o),e.s(o))},e.g(e.v,"create",e.i(r,!1),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 A||w(e,e.j,"Object.defineProperty called on non-object: "+o),a instanceof A||w(e,e.j,"Property description must be an object"),!o.preventExtensions||s in o.h||w(e,e.j,"Can't define property '"+s+"', object is not extensible"),e.g(o,s,He,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 A||w(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+o),s=String(s),s in o.h){var a=Object.getOwnPropertyDescriptor(o.h,s),f=o.V[s];return o=o.Y[s],s=e.s(e.M),f||o?(e.g(s,"get",f),e.g(s,"set",o)):(e.g(s,"value",a.value),e.g(s,"writable",a.writable)),e.g(s,"configurable",a.configurable),e.g(s,"enumerable",a.enumerable),s}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),y),r=function(o){return n(o),le(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 A&&(o.preventExtensions=!0),o},e.g(e.v,"preventExtensions",e.i(r,!1),y),L(e,e.v,"toString",A.prototype.toString),L(e,e.v,"toLocaleString",A.prototype.toString),L(e,e.v,"valueOf",A.prototype.valueOf),r=function(o){return n(this),this instanceof A?String(o)in this.h:this.hasOwnProperty(o)},L(e,e.v,"hasOwnProperty",r),r=function(o){return n(this),this instanceof A?Object.prototype.propertyIsEnumerable.call(this.h,o):this.propertyIsEnumerable(o)},L(e,e.v,"propertyIsEnumerable",r),r=function(o){for(;;){if(o=le(e,o),!o)return!1;if(o===this)return!0}},L(e,e.v,"isPrototypeOf",r)}function Bn(e,t){var n=function(r){var o=ue(e)?this:je(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(Wt(s))&&w(e,e.ob,"Invalid array length: "+s),o.h.length=s;else{for(s=0;s<arguments.length;s++)o.h[s]=arguments[s];o.h.length=s}return o};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,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 Mn(e,t){var n=function(r){return r=arguments.length?he.String(r):"",ue(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,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){w(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,V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.split(separator, limit)",{string:a,separator:r,limit:o},r,s),r!==ke&&s(se(e,r));else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(v){clearTimeout(d),s(se(e,v.data))},f.postMessage(["split",a,r,o])}return}r=a.split(r,o),s(se(e,r))},Ge(e,e.J,"split",n),n=function(r,o){var s=String(this);if(r=V(e,r,e.I)?r.data:new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.match(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r&&se(e,r));else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data&&se(e,d.data))},a.postMessage(["match",s,r])}else r=s.match(r),o(r&&se(e,r))},Ge(e,e.J,"match",n),n=function(r,o){var s=String(this);if(V(e,r,e.I)?r=r.data:r=new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.search(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r);else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data)},a.postMessage(["search",s,r])}else o(s.search(r))},Ge(e,e.J,"search",n),n=function(r,o,s){var a=String(this);if(o=String(o),V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.replace(substr, newSubstr)",{string:a,substr:r,newSubstr:o},r,s),r!==ke&&s(r);else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(v){clearTimeout(d),s(v.data)},f.postMessage(["replace",a,r,o])}return}s(a.replace(r,o))},Ge(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function Dn(e,t){e.mb=e.i(function(n){return n=he.Boolean(n),ue(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,y)}function _n(e,t){var n=function(r){return r=arguments.length?he.Number(r):0,ue(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,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){w(e,e.D,o.message)}},L(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(o){w(e,e.D,o.message)}},L(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(o){w(e,e.D,o.message)}},L(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(o){w(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){w(e,e.D,"toLocaleString: "+s.message)}},L(e,e.aa,"toLocaleString",n)}function Un(e,t){var n=function(o,s){if(!ue(e))return he.Date();var a=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(he.Date,a)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,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||w(e,e.j,o+" not called on a Date");for(var f=[],d=0;d<arguments.length;d++)f[d]=e.R(arguments[d]);return a[o].apply(a,f)}}(t[r]),L(e,e.$,t[r],n)}function Fn(e,t){var n=function(r,o){if(ue(e))var s=this;else{if(o===void 0&&V(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),o=o?String(o):"",/^[gmi]*$/.test(o)||w(e,e.T,"Invalid regexp flag: "+o);try{var a=new he.RegExp(r,o)}catch(f){w(e,e.T,f.message)}return Gt(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,K),e.g(e.I.h.prototype,"ignoreCase",void 0,K),e.g(e.I.h.prototype,"multiline",void 0,K),e.g(e.I.h.prototype,"source","(?:)",K),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,o){function s(T){if(T){var I=se(e,T);return e.g(I,"index",T.index),e.g(I,"input",T.input),I}return null}var a=this.data;if(r=String(r),a.lastIndex=Number(e.G(this,"lastIndex")),Le(e,a,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"regexp.exec(string)",{string:r,regexp:a},a,o),r!==ke&&(e.g(this,"lastIndex",a.lastIndex),o(s(r)));else{var f=e.ha(),d=We(e,a,f,o),v=this;f.onmessage=function(T){clearTimeout(d),e.g(v,"lastIndex",T.data[1]),o(s(T.data[0]))},f.postMessage(["exec",a,a.lastIndex,r])}else r=a.exec(r),e.g(this,"lastIndex",a.lastIndex),o(s(r))},Ge(e,e.I,"exec",n)}function Ln(e,t){function n(r){var o=e.i(function(s){var a=ue(e)?this:e.Aa(o);return Dt(e,a,s),a},!0);return e.g(o,"prototype",e.Aa(e.D),y),e.g(o.h.prototype,"name",r,y),e.g(t,r,o,y),o}e.D=e.i(function(r){var o=ue(e)?this:e.Aa(e.D);return Dt(e,o,r),o},!0),e.g(t,"Error",e.D,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 Wn(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]],K);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),y)}function Gn(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){w(e,e.T,s.message)}return e.Ia(o)},e.g(n,"parse",e.i(t,!1)),t=function(r,o,s){o&&o.H==="Function"?w(e,e.j,"Function replacer on JSON.stringify not supported"):o&&o.H==="Array"?(o=Vr(e,o),o=o.filter(function(f){return typeof f=="string"||typeof f=="number"})):o=null,typeof s!="string"&&typeof s!="number"&&(s=void 0),r=e.R(r);try{var a=JSON.stringify(r,o,s)}catch(f){w(e,e.j,f.message)}return a},e.g(n,"stringify",e.i(t,!1))}function V(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=le(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Gt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,y),e.g(t,"source",n.source,K),e.g(t,"global",n.global,K),e.g(t,"ignoreCase",n.ignoreCase,K),e.g(t,"multiline",n.multiline,K)}function Dt(e,t,n){n&&e.g(t,"message",String(n),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
|
+
"use strict";const g=require("react/jsx-runtime"),B=require("react"),Ft=require("./blocks-exports.cjs"),G=require("./server-entry-0bef3cb1.cjs"),jn=require("./get-class-prop-name-d2be9a48.cjs"),On=require("./dynamic-renderer-b29b45ca.cjs"),Wr=B.createContext({registeredComponents:{}}),Gr=(e,t,n)=>{const r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce((o,s)=>o!=null?o[s]:o,e);return r===void 0||r===e?n:r},$r=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),An=()=>({isEditing:G.isEditing(),isBrowser:G.isBrowser(),isServer:!G.isBrowser(),getUserAttributes:()=>G.getUserAttributes()}),In=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e;function Lt({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(r,o)=>{if(t&&o in t)return t[o];const s=r[o];return typeof s=="object"&&s!==null?Lt({rootState:s,localState:void 0,rootSetState:n?a=>{r[o]=a,n(r)}:void 0}):s},set:(r,o,s)=>{if(t&&o in t)throw new Error("Writing to local state is not allowed as it is read-only.");return r[o]=s,n==null||n(r),!0}})}const Tn=({code:e,builder:t,context:n,event:r,localState:o,rootSetState:s,rootState:a})=>{const f=$r({builder:t,context:n,event:r,state:Lt({rootState:a,localState:o,rootSetState:s})});return new Function(...f.map(([d])=>d),e)(...f.map(([,d])=>d))};var b,Pn=function(e){function t(i){return 48>i?i===36:58>i?!0:65>i?!1:91>i?!0:97>i?i===95:123>i?!0:170<=i&&kn.test(String.fromCharCode(i))}function n(i){return 65>i?i===36:91>i?!0:97>i?i===95:123>i?!0:170<=i&&Pr.test(String.fromCharCode(i))}function r(i,l){for(var u=y,p=1,k=0;;){ot.lastIndex=k;var L=ot.exec(u);if(L&&L.index<i)++p,k=L.index+L[0].length;else break}throw u={line:p,ab:i-k},l+=" ("+u.line+":"+u.ab+")",l=new SyntaxError(l),l.j=i,l.X=u,l.o=c,l}function o(i){i=i.split(" ");for(var l=Object.create(null),u=0;u<i.length;u++)l[i[u]]=!0;return function(p){return l[p]||!1}}function s(){this.line=ge,this.ab=c-ne}function a(i,l){ve=c,j.C&&(xt=new s),E=i,d(),Z=l,Re=i.m}function f(){for(var i=c,l=j.va&&j.C&&new s,u=y.charCodeAt(c+=2);c<me&&u!==10&&u!==13&&u!==8232&&u!==8233;)++c,u=y.charCodeAt(c);j.va&&j.va(!1,y.slice(i+2,c),i,c,l,j.C&&new s)}function d(){for(;c<me;){var i=y.charCodeAt(c);if(i===32)++c;else if(i===13)++c,i=y.charCodeAt(c),i===10&&++c,j.C&&(++ge,ne=c);else if(i===10||i===8232||i===8233)++c,j.C&&(++ge,ne=c);else if(8<i&&14>i)++c;else if(i===47)if(i=y.charCodeAt(c+1),i===42){i=void 0;var l=j.va&&j.C&&new s,u=c,p=y.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,j.C)for(ot.lastIndex=u;(i=ot.exec(y))&&i.index<c;)++ge,ne=i.index+i[0].length;j.va&&j.va(!0,y.slice(u+2,p),u,c,l,j.C&&new s)}else if(i===47)f();else break;else if(i===160)++c;else if(5760<=i&&En.test(String.fromCharCode(i)))++c;else break}}function x(i){switch(i){case 46:i=y.charCodeAt(c+1),48<=i&&57>=i?P(!0):(++c,a(Er));return;case 40:return++c,a(oe);case 41:return++c,a(ee);case 59:return++c,a(ie);case 44:return++c,a(pe);case 91:return++c,a(Tt);case 93:return++c,a(Pt);case 123:return++c,a(Me);case 125:return++c,a(we);case 58:return++c,a(De);case 63:return++c,a(kr);case 48:if(i=y.charCodeAt(c+1),i===120||i===88){c+=2,i=X(16),i===null&&r(F+2,"Expected hexadecimal number"),n(y.charCodeAt(c))&&r(c,"Identifier directly after number"),a(Be,i);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return P(!1);case 34:case 39:c++;for(var l="";;){c>=me&&r(F,"Unterminated string constant");var u=y.charCodeAt(c);if(u===i){++c,a(et,l);break}if(u===92){u=y.charCodeAt(++c);var p=/^[0-7]+/.exec(y.slice(c,c+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++c,p)Y&&r(c-2,"Octal literal in strict mode"),l+=String.fromCharCode(parseInt(p,8)),c+=p.length-1;else switch(u){case 110:l+=`
|
|
2
|
+
`;break;case 114:l+="\r";break;case 120:l+=String.fromCharCode(O(2));break;case 117:l+=String.fromCharCode(O(4));break;case 85:l+=String.fromCharCode(O(8));break;case 116:l+=" ";break;case 98:l+="\b";break;case 118:l+="\v";break;case 102:l+="\f";break;case 48:l+="\0";break;case 13:y.charCodeAt(c)===10&&++c;case 10:j.C&&(ne=c,++ge);break;default:l+=String.fromCharCode(u)}}else u!==13&&u!==10&&u!==8232&&u!==8233||r(F,"Unterminated string constant"),l+=String.fromCharCode(u),++c}return;case 47:i=y.charCodeAt(c+1),Re?(++c,$()):i===61?I(ye,2):I(Cr,1);return;case 37:case 42:y.charCodeAt(c+1)===61?I(ye,2):I(xn,1);return;case 124:case 38:l=y.charCodeAt(c+1),l===i?I(i===124?Ar:Ir,2):l===61?I(ye,2):I(i===124?pn:dn,1);return;case 94:y.charCodeAt(c+1)===61?I(ye,2):I(hn,1);return;case 43:case 45:l=y.charCodeAt(c+1),l===i?l===45&&y.charCodeAt(c+2)===62&&nt.test(y.slice(fe,c))?(c+=3,f(),d(),T()):I(fn,2):l===61?I(ye,2):I(vn,1);return;case 60:case 62:l=y.charCodeAt(c+1),u=1,l===i?(u=i===62&&y.charCodeAt(c+2)===62?3:2,y.charCodeAt(c+u)===61?I(ye,u+1):I(mn,u)):l===33&&i===60&&y.charCodeAt(c+2)===45&&y.charCodeAt(c+3)===45?(c+=4,f(),d(),T()):(l===61&&(u=y.charCodeAt(c+2)===61?3:2),I(yn,u));return;case 61:case 33:y.charCodeAt(c+1)===61?I(gn,y.charCodeAt(c+2)===61?3:2):I(i===61?jr:Or,1);return;case 126:return I(Or,1)}return!1}function T(i){if(i?c=F+1:F=c,j.C&&(vt=new s),i)return $();if(c>=me)return a(Et);if(i=y.charCodeAt(c),n(i)||i===92)return U();if(x(i)===!1){if(i=String.fromCharCode(i),i==="\\"||Pr.test(i))return U();r(c,"Unexpected character '"+i+"'")}}function I(i,l){var u=y.slice(c,c+l);c+=l,a(i,u)}function $(){for(var i,l,u=c;;){c>=me&&r(u,"Unterminated regexp");var p=y.charAt(c);if(nt.test(p)&&r(u,"Unterminated regexp"),i)i=!1;else{if(p==="[")l=!0;else if(p==="]"&&l)l=!1;else if(p==="/"&&!l)break;i=p==="\\"}++c}i=y.slice(u,c),++c,(l=N())&&!/^[gmi]*$/.test(l)&&r(u,"Invalid regexp flag");try{var k=new RegExp(i,l)}catch(L){throw L instanceof SyntaxError&&r(u,L.message),L}a(nr,k)}function X(i,l){for(var u=c,p=0,k=l===void 0?1/0:l,L=0;L<k;++L){var z=y.charCodeAt(c);if(z=97<=z?z-97+10:65<=z?z-65+10:48<=z&&57>=z?z-48:1/0,z>=i)break;++c,p=p*i+z}return c===u||l!==void 0&&c-u!==l?null:p}function P(i){var l=c,u=!1,p=y.charCodeAt(c)===48;i||X(10)!==null||r(l,"Invalid number"),y.charCodeAt(c)===46&&(++c,X(10),u=!0),i=y.charCodeAt(c),(i===69||i===101)&&(i=y.charCodeAt(++c),i!==43&&i!==45||++c,X(10)===null&&r(l,"Invalid number"),u=!0),n(y.charCodeAt(c))&&r(c,"Identifier directly after number"),i=y.slice(l,c);var k;u?k=parseFloat(i):p&&i.length!==1?/[89]/.test(i)||Y?r(l,"Invalid number"):k=parseInt(i,8):k=parseInt(i,10),a(Be,k)}function O(i){return i=X(16,i),i===null&&r(F,"Bad character escape sequence"),i}function N(){Se=!1;for(var i,l=!0,u=c;;){var p=y.charCodeAt(c);if(t(p))Se&&(i+=y.charAt(c)),++c;else if(p===92){Se||(i=y.slice(u,c)),Se=!0,y.charCodeAt(++c)!==117&&r(c,"Expecting Unicode escape sequence \\uXXXX"),++c,p=O(4);var k=String.fromCharCode(p);k||r(c-1,"Invalid Unicode escape"),(l?n(p):t(p))||r(c-4,"Invalid Unicode escape"),i+=k}else break;l=!1}return Se?i:y.slice(u,c)}function U(){var i=N(),l=xe;!Se&&Sn(i)&&(l=cn[i]),a(l,i)}function C(){wt=F,fe=ve,St=xt,T()}function ce(i){if(Y=i,c=F,j.C)for(;c<ne;)ne=y.lastIndexOf(`
|
|
3
|
+
`,ne-2)+1,--ge;d(),T()}function Ae(){this.type=null,this.start=F,this.end=null}function Ie(){this.start=vt,this.end=null,mt&&(this.source=mt)}function M(){var i=new Ae;return j.C&&(i.X=new Ie),j.vb&&(i.sourceFile=j.vb),j.Xa&&(i.j=[F,0]),i}function q(i){var l=new Ae;return l.start=i.start,j.C&&(l.X=new Ie,l.X.start=i.X.start),j.Xa&&(l.j=[i.j[0],0]),l}function S(i,l){return i.type=l,i.end=fe,j.C&&(i.X.end=St),j.Xa&&(i.j[1]=fe),i}function ct(i){return i.type==="ExpressionStatement"&&i.la.type==="Literal"&&i.la.value==="use strict"}function R(i){return E===i?(C(),!0):!1}function Ze(){return!j.fc&&(E===Et||E===we||nt.test(y.slice(fe,F)))}function de(){R(ie)||Ze()||te()}function D(i){E===i?C():te()}function te(){r(F,"Unexpected token")}function qe(i){i.type!=="Identifier"&&i.type!=="MemberExpression"&&r(i.start,"Assigning to rvalue"),Y&&i.type==="Identifier"&&rt(i.name)&&r(i.start,"Assigning to "+i.name+" in strict mode")}function Q(){(E===Cr||E===ye&&Z==="/=")&&T(!0);var i=E,l=M();switch(i){case kt:case ir:C();var u=i===kt;R(ie)||Ze()?l.label=null:E!==xe?te():(l.label=re(),de());for(var p=0;p<_.length;++p){var k=_[p];if((l.label===null||k.name===l.label.name)&&(k.kind!==null&&(u||k.kind==="loop")||l.label&&u))break}return p===_.length&&r(l.start,"Unsyntactic "+i.l),S(l,u?"BreakStatement":"ContinueStatement");case sr:return C(),de(),S(l,"DebuggerStatement");case lr:return C(),_.push(bt),l.body=Q(),_.pop(),D(It),l.test=Te(),de(),S(l,"DoWhileStatement");case fr:return C(),_.push(bt),D(oe),E===ie?ft(l,null):E===At?(i=M(),C(),tr(i,!0),S(i,"VariableDeclaration"),i.fa.length===1&&R(tt)?er(l,i):ft(l,i)):(i=H(!1,!0),R(tt)?(qe(i),er(l,i)):ft(l,i));case jt:return C(),gt(l,!0);case pr:return C(),l.test=Te(),l.da=Q(),l.alternate=R(ur)?Q():null,S(l,"IfStatement");case hr:return Ne||j.Ib||r(F,"'return' outside of function"),C(),R(ie)||Ze()?l.K=null:(l.K=H(),de()),S(l,"ReturnStatement");case Ot:for(C(),l.Qb=Te(),l.tb=[],D(Me),_.push(Cn);E!==we;)E===Ct||E===ar?(i=E===Ct,p&&S(p,"SwitchCase"),l.tb.push(p=M()),p.da=[],C(),i?p.test=H():(u&&r(wt,"Multiple default clauses"),u=!0,p.test=null),D(De)):(p||te(),p.da.push(Q()));return p&&S(p,"SwitchCase"),C(),_.pop(),S(l,"SwitchStatement");case dr:return C(),nt.test(y.slice(fe,F))&&r(fe,"Illegal newline after throw"),l.K=H(),de(),S(l,"ThrowStatement");case gr:return C(),l.block=Pe(),l.Ea=null,E===or&&(i=M(),C(),D(oe),i.Ua=re(),Y&&rt(i.Ua.name)&&r(i.Ua.start,"Binding "+i.Ua.name+" in strict mode"),D(ee),i.body=Pe(),l.Ea=S(i,"CatchClause")),l.fb=R(cr)?Pe():null,l.Ea||l.fb||r(l.start,"Missing catch or finally clause"),S(l,"TryStatement");case At:return C(),tr(l),de(),S(l,"VariableDeclaration");case It:return C(),l.test=Te(),_.push(bt),l.body=Q(),_.pop(),S(l,"WhileStatement");case yr:return Y&&r(F,"'with' in strict mode"),C(),l.object=Te(),l.body=Q(),S(l,"WithStatement");case Me:return Pe();case ie:return C(),S(l,"EmptyStatement");default:if(u=Z,k=H(),i===xe&&k.type==="Identifier"&&R(De)){for(p=0;p<_.length;++p)_[p].name===u&&r(k.start,"Label '"+u+"' is already declared");return _.push({name:u,kind:E.W?"loop":E===Ot?"switch":null}),l.body=Q(),_.pop(),l.label=k,S(l,"LabeledStatement")}return l.la=k,de(),S(l,"ExpressionStatement")}}function Te(){D(oe);var i=H();return D(ee),i}function Pe(i){var l=M(),u=!0,p=!1;for(l.body=[],D(Me);!R(we);){var k=Q();if(l.body.push(k),u&&i&&ct(k)){var L=p;ce(p=!0)}u=!1}return p&&!L&&ce(!1),S(l,"BlockStatement")}function ft(i,l){return i.ua=l,D(ie),i.test=E===ie?null:H(),D(ie),i.update=E===ee?null:H(),D(ee),i.body=Q(),_.pop(),S(i,"ForStatement")}function er(i,l){return i.left=l,i.right=H(),D(ee),i.body=Q(),_.pop(),S(i,"ForInStatement")}function tr(i,l){for(i.fa=[],i.kind="var";;){var u=M();if(u.id=re(),Y&&rt(u.id.name)&&r(u.id.start,"Binding "+u.id.name+" in strict mode"),u.ua=R(jr)?H(!0,l):null,i.fa.push(S(u,"VariableDeclarator")),!R(pe))break}}function H(i,l){var u=pt(l);if(!i&&E===pe){for(i=q(u),i.xb=[u];R(pe);)i.xb.push(pt(l));return S(i,"SequenceExpression")}return u}function pt(i){var l=ht(dt(),-1,i);if(R(kr)){var u=q(l);u.test=l,u.da=H(!0),D(De),u.alternate=H(!0,i),l=S(u,"ConditionalExpression")}return E.Cb?(u=q(l),u.operator=Z,u.left=l,C(),u.right=pt(i),qe(l),S(u,"AssignmentExpression")):l}function ht(i,l,u){var p=E.L;if(p!==null&&(!u||E!==tt)&&p>l){var k=q(i);return k.left=i,k.operator=Z,i=E,C(),k.right=ht(dt(),p,u),p=S(k,i===Ar||i===Ir?"LogicalExpression":"BinaryExpression"),ht(p,l,u)}return i}function dt(){if(E.prefix){var i=M(),l=E.$b;return i.operator=Z,Re=i.prefix=!0,C(),i.K=dt(),l?qe(i.K):Y&&i.operator==="delete"&&i.K.type==="Identifier"&&r(i.start,"Deleting local variable in strict mode"),S(i,l?"UpdateExpression":"UnaryExpression")}for(l=be(Qe());E.cc&&!Ze();)i=q(l),i.operator=Z,i.prefix=!1,i.K=l,qe(l),C(),l=S(i,"UpdateExpression");return l}function be(i,l){if(R(Er)){var u=q(i);return u.object=i,u.Wa=re(!0),u.bb=!1,be(S(u,"MemberExpression"),l)}return R(Tt)?(u=q(i),u.object=i,u.Wa=H(),u.bb=!0,D(Pt),be(S(u,"MemberExpression"),l)):!l&&R(oe)?(u=q(i),u.callee=i,u.arguments=yt(ee,!1),be(S(u,"CallExpression"),l)):i}function Qe(){switch(E){case vr:var i=M();return C(),S(i,"ThisExpression");case xe:return re();case Be:case et:case nr:return i=M(),i.value=Z,i.raw=y.slice(F,ve),C(),S(i,"Literal");case xr:case wr:case Sr:return i=M(),i.value=E.$a,i.raw=E.l,C(),S(i,"Literal");case oe:i=vt;var l=F;C();var u=H();return u.start=l,u.end=ve,j.C&&(u.X.start=i,u.X.end=xt),j.Xa&&(u.j=[l,ve]),D(ee),u;case Tt:return i=M(),C(),i.elements=yt(Pt,!0,!0),S(i,"ArrayExpression");case Me:for(i=M(),l=!0,u=!1,i.h=[],C();!R(we);){if(l)l=!1;else if(D(pe),j.sb&&R(we))break;var p={key:E===Be||E===et?Qe():re(!0)},k=!1;if(R(De)){p.value=H(!0);var L=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?te():(k=u=!0,L=p.kind=p.key.name,p.key=E===Be||E===et?Qe():re(!0),E!==oe&&te(),p.value=gt(M(),!1));if(p.key.type==="Identifier"&&(Y||u))for(var z=0;z<i.h.length;++z){var Ee=i.h[z];if(Ee.key.name===p.key.name){var Rt=L===Ee.kind||k&&Ee.kind==="init"||L==="init"&&(Ee.kind==="get"||Ee.kind==="set");Rt&&!Y&&L==="init"&&Ee.kind==="init"&&(Rt=!1),Rt&&r(p.key.start,"Redefinition of property")}}i.h.push(p)}return S(i,"ObjectExpression");case jt:return i=M(),C(),gt(i,!1);case mr:return i=M(),C(),i.callee=be(Qe(),!0),i.arguments=R(oe)?yt(ee,!1):un,S(i,"NewExpression")}te()}function gt(i,l){E===xe?i.id=re():l?te():i.id=null,i.oa=[];var u=!0;for(D(oe);!R(ee);)u?u=!1:D(pe),i.oa.push(re());u=Ne;var p=_;if(Ne=!0,_=[],i.body=Pe(!0),Ne=u,_=p,Y||i.body.body.length&&ct(i.body.body[0])){for(u=i.id?-1:0;u<i.oa.length;++u)if(p=0>u?i.id:i.oa[u],(Tr(p.name)||rt(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=u)for(var k=0;k<u;++k)p.name===i.oa[k].name&&r(p.start,"Argument name clash in strict mode")}return S(i,l?"FunctionDeclaration":"FunctionExpression")}function yt(i,l,u){for(var p=[],k=!0;!R(i);){if(k)k=!1;else if(D(pe),l&&j.sb&&R(i))break;p.push(u&&E===pe?null:H(!0))}return p}function re(i){var l=M();return i&&j.yb==="everywhere"&&(i=!1),E===xe?(!i&&(j.yb&&wn(Z)||Y&&Tr(Z))&&y.slice(F,ve).indexOf("\\")===-1&&r(F,"The keyword '"+Z+"' is reserved"),l.name=Z):i&&E.l?l.name=E.l:te(),Re=!1,C(),S(l,"Identifier")}e.version="0.5.0";var j,y="",me,mt;e.parse=function(i,l){y=String(i),me=y.length,j=l||{};for(var u in rr)Object.prototype.hasOwnProperty.call(j,u)||(j[u]=rr[u]);for(mt=j.sourceFile,ge=1,c=ne=0,Re=!0,d(),u=j.dc,wt=fe=c,j.C&&(St=new s),Ne=Y=!1,_=[],T(),i=u||M(),l=!0,u||(i.body=[]);E!==Et;)u=Q(),i.body.push(u),l&&ct(u)&&ce(!0),l=!1;return S(i,"Program")};var rr={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,F=0,ve=0,vt,xt,E,Z,Re,ge,ne,wt=0,fe=0,St,Ne,_,Y,un=[],Be={type:"num"},nr={type:"regexp"},et={type:"string"},xe={type:"name"},Et={type:"eof"},kt={l:"break"},Ct={l:"case",m:!0},or={l:"catch"},ir={l:"continue"},sr={l:"debugger"},ar={l:"default"},lr={l:"do",W:!0},ur={l:"else",m:!0},cr={l:"finally"},fr={l:"for",W:!0},jt={l:"function"},pr={l:"if"},hr={l:"return",m:!0},Ot={l:"switch"},dr={l:"throw",m:!0},gr={l:"try"},At={l:"var"},It={l:"while",W:!0},yr={l:"with"},mr={l:"new",m:!0},vr={l:"this"},xr={l:"null",$a:null},wr={l:"true",$a:!0},Sr={l:"false",$a:!1},tt={l:"in",L:7,m:!0},cn={break:kt,case:Ct,catch:or,continue:ir,debugger:sr,default:ar,do:lr,else:ur,finally:cr,for:fr,function:jt,if:pr,return:hr,switch:Ot,throw:dr,try:gr,var:At,while:It,with:yr,null:xr,true:wr,false:Sr,new:mr,in:tt,instanceof:{l:"instanceof",L:7,m:!0},this:vr,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},Tt={type:"[",m:!0},Pt={type:"]"},Me={type:"{",m:!0},we={type:"}"},oe={type:"(",m:!0},ee={type:")"},pe={type:",",m:!0},ie={type:";",m:!0},De={type:":",m:!0},Er={type:"."},kr={type:"?",m:!0},Cr={L:10,m:!0},jr={Cb:!0,m:!0},ye={Cb:!0,m:!0},fn={cc:!0,prefix:!0,$b:!0},Or={prefix:!0,m:!0},Ar={L:1,m:!0},Ir={L:2,m:!0},pn={L:3,m:!0},hn={L:4,m:!0},dn={L:5,m:!0},gn={L:6,m:!0},yn={L:7,m:!0},mn={L:8,m:!0},vn={L:9,prefix:!0,m:!0},xn={L:10,m:!0},wn=o("class enum extends super const export import"),Tr=o("implements interface let package private protected public static yield"),rt=o("eval arguments"),Sn=o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"),En=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Pr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),kn=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),nt=/[\n\r\u2028\u2029]/,ot=/\r\n|[\n\r\u2028\u2029]/g,Se,bt={kind:"loop"},Cn={kind:"switch"}},Mt=Mt=typeof globalThis=="undefined"?void 0:globalThis;Pn(Mt.j||(Mt.j={}));function h(e,t){typeof e=="string"&&(e=Ce(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),o;for(o in e)r[o]=o==="body"?e[o].slice():e[o];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var s,a;for(a in this)typeof this[a]=="function"&&(s=a.match(e))&&(this.rb[s[1]]=this[a].bind(this));this.N=_t(this,this.ra,null),this.Na=this.N.object,this.ra=Ce(this.ba.join(`
|
|
4
|
+
`),"polyfills"),this.ba=void 0,st(this.ra),s=new v(this.ra,this.N),s.done=!1,this.o=[s],this.Eb(),this.value=void 0,this.ra=r,s=new v(this.ra,this.N),s.done=!1,this.o.length=0,this.o[0]=s}var br={C:!0,kc:5},Wt={configurable:!0,enumerable:!0,writable:!1},m={configurable:!0,enumerable:!1,writable:!0},K={configurable:!0,enumerable:!1,writable:!1},Ue={configurable:!1,enumerable:!1,writable:!1},Rr={configurable:!1,enumerable:!0,writable:!0},Vr={STEP_ERROR:!0},Oe={SCOPE_REFERENCE:!0},Xe={VALUE_IN_DESCRIPTOR:!0},ke={REGEXP_TIMEOUT:!0},Nr=[],ae=null,$e=null,he=typeof globalThis=="undefined"?void 0:globalThis,bn=["onmessage = function(e) {","var result;","var data = e.data;","switch (data[0]) {","case 'split':","result = data[1].split(data[2], data[3]);","break;","case 'match':","result = data[1].match(data[2]);","break;","case 'search':","result = data[1].search(data[2]);","break;","case 'replace':","result = data[1].replace(data[2], data[3]);","break;","case 'exec':","var regexp = data[1];","regexp.lastIndex = data[2];","result = [regexp.exec(data[3]), data[1].lastIndex];","break;","default:","throw Error('Unknown RegExp operation: ' + data[0]);","}","postMessage(result);","close();","};"];function Gt(e){var t=e>>>0;return t===Number(e)?t:NaN}function Ve(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function st(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var o=e[r];o&&typeof o=="object"&&st(o,t,n)}}h.prototype.REGEXP_MODE=2;h.prototype.REGEXP_THREAD_TIMEOUT=1e3;h.prototype.POLYFILL_TIMEOUT=1e3;b=h.prototype;b.P=!1;b.Ka=!1;b.Kb=0;b.ic=0;function Ce(e,t){var n={},r;for(r in br)n[r]=br[r];return n.sourceFile=t,he.j.parse(e,n)}b.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=Ce(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");ze(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};b.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&zr(this,n,n.interval);var r=new v(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var o=$e;$e=this;try{var s=this.rb[r.type](e,n,r)}catch(a){if(a!==Vr)throw this.value!==a&&(this.value=void 0),a}finally{$e=o}if(s&&e.push(s),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};b.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Rn(e,t){e.g(t,"NaN",NaN,Ue),e.g(t,"Infinity",1/0,Ue),e.g(t,"undefined",void 0,Ue),e.g(t,"window",t,Wt),e.g(t,"this",t,Ue),e.g(t,"self",t),e.M=new A(null),e.Z=new A(e.M),Nn(e,t),Bn(e,t),t.xa=e.M,e.g(t,"constructor",e.v,m),Mn(e,t),Dn(e,t),_n(e,t),Un(e,t),Fn(e,t),Ln(e,t),Wn(e,t),Gn(e,t),$n(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,m),e.g(t,"parseInt",e.i(parseInt,!1),m),e.g(t,"parseFloat",e.i(parseFloat,!1),m),e.g(t,"isNaN",e.i(isNaN,!1),m),e.g(t,"isFinite",e.i(isFinite,!1),m);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],o=0;o<r.length;o++)n=function(s){return function(a){try{return s(a)}catch(f){w(e,e.Gb,f.message)}}}(r[o][0]),e.g(t,r[o][1],e.i(n,!1),m);n=function(s){return Br(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),m),n=function(s){return Br(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),m),n=function(s){Mr(e,s)},e.g(t,"clearTimeout",e.i(n,!1),m),n=function(s){Mr(e,s)},e.g(t,"clearInterval",e.i(n,!1),m),e.OBJECT=e.v,e.OBJECT_PROTO=e.M,e.FUNCTION=e.O,e.FUNCTION_PROTO=e.Z,e.ARRAY=e.qa,e.ARRAY_PROTO=e.La,e.REGEXP=e.I,e.REGEXP_PROTO=e.Ma,e.DATE=e.$,e.DATE_PROTO=e.nb,e.qb&&e.qb(e,t)}b.Wb=0;function Nn(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(o){var s=arguments.length?String(arguments[arguments.length-1]):"",a=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(a){a=a.split(/\s*,\s*/);for(var f=0;f<a.length;f++){var d=a[f];n.test(d)||w(e,e.T,"Invalid function argument: "+d)}a=a.join(", ")}try{var x=Ce("(function("+a+") {"+s+"})","function"+e.Wb++)}catch(T){w(e,e.T,"Invalid code: "+T.message)}return x.body.length!==1&&w(e,e.T,"Invalid code in function body"),Ht(e,x.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,m),e.g(e.O,"prototype",e.Z,m),e.g(e.Z,"constructor",e.O,m),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,K),e.Z.H="Function",r=function(o,s){var a=e.o[e.o.length-1];a.U=this,a.B=o,a.F=[],s!=null&&(s instanceof A?a.F=Hr(e,s):w(e,e.j,"CreateListFromArrayLike called on non-object")),a.eb=!1},W(e,e.O,"apply",r),r=function(o){var s=e.o[e.o.length-1];s.U=this,s.B=o,s.F=[];for(var a=1;a<arguments.length;a++)s.F.push(arguments[a]);s.eb=!1},W(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},W(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),m),r=function(){return this.valueOf()},W(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),m)}function Bn(e,t){function n(o){o!=null||w(e,e.j,"Cannot convert '"+o+"' to object")}var r=function(o){if(o==null)return ue(e)?this:e.s(e.M);if(!(o instanceof A)){var s=e.s(le(e,o));return s.data=o,s}return o};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,m),e.g(e.M,"constructor",e.v,m),e.g(t,"Object",e.v,m),r=function(o){return n(o),se(e,Object.getOwnPropertyNames(o instanceof A?o.h:o))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),m),r=function(o){return n(o),o instanceof A&&(o=o.h),se(e,Object.keys(o))},e.g(e.v,"keys",e.i(r,!1),m),r=function(o){return o===null?e.s(null):(o instanceof A||w(e,e.j,"Object prototype may only be an Object or null, not "+o),e.s(o))},e.g(e.v,"create",e.i(r,!1),m),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(o,s,a){return s=String(s),o instanceof A||w(e,e.j,"Object.defineProperty called on non-object: "+o),a instanceof A||w(e,e.j,"Property description must be an object"),!o.preventExtensions||s in o.h||w(e,e.j,"Can't define property '"+s+"', object is not extensible"),e.g(o,s,Xe,a.h),o},e.g(e.v,"defineProperty",e.i(r,!1),m),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(o,s){if(o instanceof A||w(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+o),s=String(s),s in o.h){var a=Object.getOwnPropertyDescriptor(o.h,s),f=o.V[s];return o=o.Y[s],s=e.s(e.M),f||o?(e.g(s,"get",f),e.g(s,"set",o)):(e.g(s,"value",a.value),e.g(s,"writable",a.writable)),e.g(s,"configurable",a.configurable),e.g(s,"enumerable",a.enumerable),s}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),m),r=function(o){return n(o),le(e,o)},e.g(e.v,"getPrototypeOf",e.i(r,!1),m),r=function(o){return!!o&&!o.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),m),r=function(o){return o instanceof A&&(o.preventExtensions=!0),o},e.g(e.v,"preventExtensions",e.i(r,!1),m),W(e,e.v,"toString",A.prototype.toString),W(e,e.v,"toLocaleString",A.prototype.toString),W(e,e.v,"valueOf",A.prototype.valueOf),r=function(o){return n(this),this instanceof A?String(o)in this.h:this.hasOwnProperty(o)},W(e,e.v,"hasOwnProperty",r),r=function(o){return n(this),this instanceof A?Object.prototype.propertyIsEnumerable.call(this.h,o):this.propertyIsEnumerable(o)},W(e,e.v,"propertyIsEnumerable",r),r=function(o){for(;;){if(o=le(e,o),!o)return!1;if(o===this)return!0}},W(e,e.v,"isPrototypeOf",r)}function Mn(e,t){var n=function(r){var o=ue(e)?this:je(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(Gt(s))&&w(e,e.ob,"Invalid array length: "+s),o.h.length=s;else{for(s=0;s<arguments.length;s++)o.h[s]=arguments[s];o.h.length=s}return o};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,m),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),m),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),e.La.H="Array",e.ba.push("(function() {","function createArrayMethod_(f) {","Object.defineProperty(Array.prototype, f.name,","{configurable: true, writable: true, value: f});","}","createArrayMethod_(","function pop() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","len--;","var x = o[len];","delete o[len];","o.length = len;","return x;","}",");","createArrayMethod_(","function push(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","for (var i = 0; i < arguments.length; i++) {","o[len] = arguments[i];","len++;","}","o.length = len;","return len;","}",");","createArrayMethod_(","function shift() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","var value = o[0];","for (var i = 0; i < len - 1; i++) {","if ((i + 1) in o) {","o[i] = o[i + 1];","} else {","delete o[i];","}","}","delete o[i];","o.length = len - 1;","return value;","}",");","createArrayMethod_(","function unshift(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","len = 0;","}","for (var i = len - 1; i >= 0; i--) {","if (i in o) {","o[i + arguments.length] = o[i];","} else {","delete o[i + arguments.length];","}","}","for (var i = 0; i < arguments.length; i++) {","o[i] = arguments[i];","}","return (o.length = len + arguments.length);","}",");","createArrayMethod_(","function reverse() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 2) {","return o;","}","for (var i = 0; i < len / 2 - 0.5; i++) {","var x = o[i];","var hasX = i in o;","if ((len - i - 1) in o) {","o[i] = o[len - i - 1];","} else {","delete o[i];","}","if (hasX) {","o[len - i - 1] = x;","} else {","delete o[len - i - 1];","}","}","return o;","}",");","createArrayMethod_(","function indexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var n = fromIndex | 0;","if (!len || n >= len) {","return -1;","}","var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);","while (i < len) {","if (i in o && o[i] === searchElement) {","return i;","}","i++;","}","return -1;","}",");","createArrayMethod_(","function lastIndexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len) {","return -1;","}","var n = len - 1;","if (arguments.length > 1) {","n = fromIndex | 0;","if (n) {","n = (n > 0 || -1) * Math.floor(Math.abs(n));","}","}","var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);","while (i >= 0) {","if (i in o && o[i] === searchElement) {","return i;","}","i--;","}","return -1;","}",");","createArrayMethod_(","function slice(start, end) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","start = (start >= 0) ? start : Math.max(0, len + start);","if (typeof end !== 'undefined') {","if (end !== Infinity) {","end |= 0;","}","if (end < 0) {","end = len + end;","} else {","end = Math.min(end, len);","}","} else {","end = len;","}","var size = end - start;","var cloned = new Array(size);","for (var i = 0; i < size; i++) {","if ((start + i) in o) {","cloned[i] = o[start + i];","}","}","return cloned;","}",");","createArrayMethod_(","function splice(start, deleteCount, var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","if (start < 0) {","start = Math.max(len + start, 0);","} else {","start = Math.min(start, len);","}","if (arguments.length < 1) {","deleteCount = len - start;","} else {","deleteCount |= 0;","deleteCount = Math.max(0, Math.min(deleteCount, len - start));","}","var removed = [];","for (var i = start; i < start + deleteCount; i++) {","if (i in o) {","removed.push(o[i]);","} else {","removed.length++;","}","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = start + deleteCount; i < len - deleteCount; i++) {","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = len - deleteCount; i < len; i++) {","delete o[i];","}","len -= deleteCount;","var arl = arguments.length - 2;","for (var i = len - 1; i >= start; i--) {","if (i in o) {","o[i + arl] = o[i];","} else {","delete o[i + arl];","}","}","len += arl;","for (var i = 2; i < arguments.length; i++) {","o[start + i - 2] = arguments[i];","}","o.length = len;","return removed;","}",");","createArrayMethod_(","function concat(var_args) {","if (!this) throw TypeError();","var o = Object(this);","var cloned = [];","for (var i = -1; i < arguments.length; i++) {","var value = (i === -1) ? o : arguments[i];","if (Array.isArray(value)) {","for (var j = 0, l = value.length; j < l; j++) {","if (j in value) {","cloned.push(value[j]);","} else {","cloned.length++;","}","}","} else {","cloned.push(value);","}","}","return cloned;","}",");","createArrayMethod_(","function join(opt_separator) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var sep = typeof opt_separator === 'undefined' ?","',' : ('' + opt_separator);","var str = '';","for (var i = 0; i < len; i++) {","if (i && sep) str += sep;","str += (o[i] === null || o[i] === undefined) ? '' : o[i];","}","return str;","}",");","createArrayMethod_(","function every(callbackfn, thisArg) {","if (!this || typeof callbackfn !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o && !callbackfn.call(t, o[k], k, o)) return false;","k++;","}","return true;","}",");","createArrayMethod_(","function filter(fun, var_args) {","if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var res = [];","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o) {","var val = o[i];","if (fun.call(thisArg, val, i, o)) res.push(val);","}","}","return res;","}",");","createArrayMethod_(","function forEach(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o) callback.call(t, o[k], k, o);","k++;","}","}",");","createArrayMethod_(","function map(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","var a = new Array(len);","while (k < len) {","if (k in o) a[k] = callback.call(t, o[k], k, o);","k++;","}","return a;","}",");","createArrayMethod_(","function reduce(callback /*, initialValue*/) {","if (!this || typeof callback !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = 0, value;","if (arguments.length === 2) {","value = arguments[1];","} else {","while (k < len && !(k in o)) k++;","if (k >= len) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k++];","}","for (; k < len; k++) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function reduceRight(callback /*, initialValue*/) {","if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = len - 1, value;","if (arguments.length >= 2) {","value = arguments[1];","} else {","while (k >= 0 && !(k in o)) k--;","if (k < 0) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k--];","}","for (; k >= 0; k--) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function some(fun/*, thisArg*/) {","if (!this || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o && fun.call(thisArg, o[i], i, o)) return true;","}","return false;","}",");","createArrayMethod_(","function sort(opt_comp) {","if (!this) throw TypeError();","if (typeof opt_comp !== 'function') {","opt_comp = undefined;","}","for (var i = 0; i < this.length; i++) {","var changes = 0;","for (var j = 0; j < this.length - i - 1; j++) {","if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :","(String(this[j]) > String(this[j + 1]))) {","var swap = this[j];","var hasSwap = j in this;","if ((j + 1) in this) {","this[j] = this[j + 1];","} else {","delete this[j];","}","if (hasSwap) {","this[j + 1] = swap;","} else {","delete this[j + 1];","}","changes++;","}","}","if (!changes) break;","}","return this;","}",");","createArrayMethod_(","function toLocaleString() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var out = [];","for (var i = 0; i < len; i++) {","out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();","}","return out.join(',');","}",");","})();","")}function Dn(e,t){var n=function(r){return r=arguments.length?he.String(r):"",ue(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,m),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),m),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)W(e,e.J,t[n],String.prototype[t[n]]);n=function(r,o,s){o=e.R(o),s=e.R(s);try{return String(this).localeCompare(r,o,s)}catch(a){w(e,e.D,"localeCompare: "+a.message)}},W(e,e.J,"localeCompare",n),n=function(r,o,s){var a=String(this);if(o=o?Number(o):void 0,V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.split(separator, limit)",{string:a,separator:r,limit:o},r,s),r!==ke&&s(se(e,r));else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(x){clearTimeout(d),s(se(e,x.data))},f.postMessage(["split",a,r,o])}return}r=a.split(r,o),s(se(e,r))},Ge(e,e.J,"split",n),n=function(r,o){var s=String(this);if(r=V(e,r,e.I)?r.data:new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.match(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r&&se(e,r));else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data&&se(e,d.data))},a.postMessage(["match",s,r])}else r=s.match(r),o(r&&se(e,r))},Ge(e,e.J,"match",n),n=function(r,o){var s=String(this);if(V(e,r,e.I)?r=r.data:r=new RegExp(r),Le(e,r,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"string.search(regexp)",{string:s,regexp:r},r,o),r!==ke&&o(r);else{var a=e.ha(),f=We(e,r,a,o);a.onmessage=function(d){clearTimeout(f),o(d.data)},a.postMessage(["search",s,r])}else o(s.search(r))},Ge(e,e.J,"search",n),n=function(r,o,s){var a=String(this);if(o=String(o),V(e,r,e.I)&&(r=r.data,Le(e,r,s),e.REGEXP_MODE===2)){if(ae)r=Fe(e,"string.replace(substr, newSubstr)",{string:a,substr:r,newSubstr:o},r,s),r!==ke&&s(r);else{var f=e.ha(),d=We(e,r,f,s);f.onmessage=function(x){clearTimeout(d),s(x.data)},f.postMessage(["replace",a,r,o])}return}s(a.replace(r,o))},Ge(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function _n(e,t){e.mb=e.i(function(n){return n=he.Boolean(n),ue(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,m)}function Un(e,t){var n=function(r){return r=arguments.length?he.Number(r):0,ue(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,m),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],Ue);n=function(r){try{return Number(this).toExponential(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(o){w(e,e.D,o.message)}},W(e,e.aa,"toString",n),n=function(r,o){r=r?e.R(r):void 0,o=o?e.R(o):void 0;try{return Number(this).toLocaleString(r,o)}catch(s){w(e,e.D,"toLocaleString: "+s.message)}},W(e,e.aa,"toLocaleString",n)}function Fn(e,t){var n=function(o,s){if(!ue(e))return he.Date();var a=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(he.Date,a)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,m),e.g(e.$,"now",e.i(Date.now,!1),m),e.g(e.$,"parse",e.i(Date.parse,!1),m),e.g(e.$,"UTC",e.i(Date.UTC,!1),m),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(o){return function(s){var a=this.data;a instanceof Date||w(e,e.j,o+" not called on a Date");for(var f=[],d=0;d<arguments.length;d++)f[d]=e.R(arguments[d]);return a[o].apply(a,f)}}(t[r]),W(e,e.$,t[r],n)}function Ln(e,t){var n=function(r,o){if(ue(e))var s=this;else{if(o===void 0&&V(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),o=o?String(o):"",/^[gmi]*$/.test(o)||w(e,e.T,"Invalid regexp flag: "+o);try{var a=new he.RegExp(r,o)}catch(f){w(e,e.T,f.message)}return $t(e,s,a),s};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,m),e.g(e.I.h.prototype,"global",void 0,K),e.g(e.I.h.prototype,"ignoreCase",void 0,K),e.g(e.I.h.prototype,"multiline",void 0,K),e.g(e.I.h.prototype,"source","(?:)",K),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,o){function s(T){if(T){var I=se(e,T);return e.g(I,"index",T.index),e.g(I,"input",T.input),I}return null}var a=this.data;if(r=String(r),a.lastIndex=Number(e.G(this,"lastIndex")),Le(e,a,o),e.REGEXP_MODE===2)if(ae)r=Fe(e,"regexp.exec(string)",{string:r,regexp:a},a,o),r!==ke&&(e.g(this,"lastIndex",a.lastIndex),o(s(r)));else{var f=e.ha(),d=We(e,a,f,o),x=this;f.onmessage=function(T){clearTimeout(d),e.g(x,"lastIndex",T.data[1]),o(s(T.data[0]))},f.postMessage(["exec",a,a.lastIndex,r])}else r=a.exec(r),e.g(this,"lastIndex",a.lastIndex),o(s(r))},Ge(e,e.I,"exec",n)}function Wn(e,t){function n(r){var o=e.i(function(s){var a=ue(e)?this:e.Aa(o);return Dt(e,a,s),a},!0);return e.g(o,"prototype",e.Aa(e.D),m),e.g(o.h.prototype,"name",r,m),e.g(t,r,o,m),o}e.D=e.i(function(r){var o=ue(e)?this:e.Aa(e.D);return Dt(e,o,r),o},!0),e.g(t,"Error",e.D,m),e.g(e.D.h.prototype,"message","",m),e.g(e.D.h.prototype,"name","Error",m),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function Gn(e,t){var n=e.s(e.M);e.g(t,"Math",n,m);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],K);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),m)}function $n(e,t){var n=e.s(e.M);e.g(t,"JSON",n,m),t=function(r){try{var o=JSON.parse(String(r))}catch(s){w(e,e.T,s.message)}return e.Ia(o)},e.g(n,"parse",e.i(t,!1)),t=function(r,o,s){o&&o.H==="Function"?w(e,e.j,"Function replacer on JSON.stringify not supported"):o&&o.H==="Array"?(o=Hr(e,o),o=o.filter(function(f){return typeof f=="string"||typeof f=="number"})):o=null,typeof s!="string"&&typeof s!="number"&&(s=void 0),r=e.R(r);try{var a=JSON.stringify(r,o,s)}catch(f){w(e,e.j,f.message)}return a},e.g(n,"stringify",e.i(t,!1))}function V(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=le(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function $t(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,m),e.g(t,"source",n.source,K),e.g(t,"global",n.global,K),e.g(t,"ignoreCase",n.ignoreCase,K),e.g(t,"multiline",n.multiline,K)}function Dt(e,t,n){n&&e.g(t,"message",String(n),m),n=[];for(var r=e.o.length-1;0<=r;r--){var o=e.o[r],s=o.node;s.type==="CallExpression"&&(o=o.U)&&n.length&&(n[n.length-1].Ob=e.G(o,"name")),!s.X||n.length&&s.type!=="CallExpression"||n.push({Nb:s.X})}for(r=String(e.G(t,"name")),s=String(e.G(t,"message")),s=r+": "+s+`
|
|
5
5
|
`,r=0;r<n.length;r++){var a=n[r].Nb;o=n[r].Ob,a=a.source+":"+a.start.line+":"+a.start.ab,s=o?s+(" at "+o+" ("+a+`)
|
|
6
6
|
`):s+(" at "+a+`
|
|
7
|
-
`)}e.g(t,"stack",s.trim(),
|
|
8
|
-
`)],{type:"application/javascript"}),this.ha.Mb=e),new Worker(URL.createObjectURL(e))};function Fe(e,t,n,r,o){var s={timeout:e.REGEXP_THREAD_TIMEOUT};try{return ae.runInNewContext(t,n,s)}catch{o(null),w(e,e.D,"RegExp Timeout: "+r)}return ke}function Le(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(ae)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{ae=require("vm")}catch{}r=!!ae}else r=!1;r||(n(null),w(e,e.D,"Regular expressions not supported: "+t))}function We(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{w(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}b.Aa=function(e){return this.s(e&&e.h.prototype)};b.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new A(e),V(this,e,this.D)&&(e.H="Error"),e};function je(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function $t(e,t,n){var r=e.s(e.Z);return n?(n=e.s(e.M),e.g(r,"prototype",n,y),e.g(n,"constructor",r,y)):r.Ab=!0,e.g(r,"length",t,K),r.H="Function",r}function Vt(e,t,n,r){var o=$t(e,t.oa.length,!0);return o.Va=n,o.node=t,e.g(o,"name",t.id?String(t.id.name):r||"",K),o}b.i=function(e,t){return t=$t(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,K),t};b.ub=function(e){var t=$t(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,K),t};b.Ia=function(e){if(e instanceof A)throw Error("Object is already pseudo");if(e==null||e===!0||e===!1||typeof e=="string"||typeof e=="number")return e;if(e instanceof RegExp){var t=this.s(this.Ma);return Gt(this,t,e),t}if(e instanceof Date)return t=this.s(this.nb),t.data=new Date(e.valueOf()),t;if(typeof e=="function"){var n=this;return t=Object.getOwnPropertyDescriptor(e,"prototype"),this.i(function(){var o=Array.prototype.slice.call(arguments).map(function(s){return n.R(s)});return o=e.apply(n,o),n.Ia(o)},!!t)}if(Array.isArray(e)){t=je(this);for(var r=0;r<e.length;r++)r in e&&this.g(t,r,this.Ia(e[r]));return t}t=this.s(this.M);for(r in e)this.g(t,r,this.Ia(e[r]));return t};b.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof A))throw Error("Object is not pseudo");if(V(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(V(this,e,this.$))return new Date(e.data.valueOf());t=t||{hb:[],Sa:[]};var n=t.hb.indexOf(e);if(n!==-1)return t.Sa[n];if(t.hb.push(e),V(this,e,this.qa)){n=[],t.Sa.push(n);for(var r=this.G(e,"length"),o=0;o<r;o++)at(this,e,o)&&(n[o]=this.R(this.G(e,o),t))}else for(r in n={},t.Sa.push(n),e.h)o=this.R(e.h[r],t),Object.defineProperty(n,r,{value:o,writable:!0,enumerable:!0,configurable:!0});return t.hb.pop(),t.Sa.pop(),n};function se(e,t){for(var n=je(e),r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e.g(n,r[o],t[r[o]]);return n}function Vr(e,t){var n=[],r;for(r in t.h)n[r]=e.G(t,r);return n.length=Wt(e.G(t,"length"))||0,n}function le(e,t){switch(typeof t){case"number":return e.aa.h.prototype;case"boolean":return e.mb.h.prototype;case"string":return e.J.h.prototype}return t?t.xa:null}b.G=function(e,t){if(this.P)throw Error("Getter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot read property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof A))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(V(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&V(this,e,this.J)){var n=Ve(t);if(!isNaN(n)&&n<String(e).length)return String(e)[n]}do if(e.h&&t in e.h)return(n=e.V[t])?(this.P=!0,n):e.h[t];while(e=le(this,e))};function at(e,t,n){if(!(t instanceof A))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&V(e,t,e.J))return!0;if(V(e,t,e.J)){var r=Ve(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=le(e,t));return!1}b.g=function(e,t,n,r){if(this.Ka)throw Error("Setter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot set property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof A))throw TypeError("Expecting native value or pseudo object");r&&("get"in r||"set"in r)&&("value"in r||"writable"in r)&&w(this,this.j,"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");var o=!this.o||Xt(this).S;if(e instanceof A){if(V(this,e,this.J)){var s=Ve(t);if(t==="length"||!isNaN(s)&&s<String(e).length){o&&w(this,this.j,"Cannot assign to read only property '"+t+"' of String '"+e.data+"'");return}}if(e.H==="Array")if(s=e.h.length,t==="length"){if(r){if(!("value"in r))return;n=r.value}if(n=Wt(n),isNaN(n)&&w(this,this.ob,"Invalid array length"),n<s)for(a in e.h){var a=Ve(a);!isNaN(a)&&n<=a&&delete e.h[a]}}else isNaN(a=Ve(t))||(e.h.length=Math.max(s,a+1));if(!e.preventExtensions||t in e.h)if(r){o={},"get"in r&&r.get&&(e.V[t]=r.get,o.get=this.g.ac),"set"in r&&r.set&&(e.Y[t]=r.set,o.set=this.g.bc),"configurable"in r&&(o.configurable=r.configurable),"enumerable"in r&&(o.enumerable=r.enumerable),"writable"in r&&(o.writable=r.writable,delete e.V[t],delete e.Y[t]),"value"in r?(o.value=r.value,delete e.V[t],delete e.Y[t]):n!==He&&(o.value=n,delete e.V[t],delete e.Y[t]);try{Object.defineProperty(e.h,t,o)}catch{w(this,this.j,"Cannot redefine property: "+t)}"get"in r&&!r.get&&delete e.V[t],"set"in r&&!r.set&&delete e.Y[t]}else{if(n===He)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=le(this,r),!r){r=e;break}if(r.Y&&r.Y[t])return this.Ka=!0,r.Y[t];if(r.V&&r.V[t])o&&w(this,this.j,"Cannot set property '"+t+"' of object '"+e+"' which only has a getter");else try{e.h[t]=n}catch{o&&w(this,this.j,"Cannot assign to read only property '"+t+"' of object '"+e+"'")}}else o&&w(this,this.j,"Can't add property '"+t+"', object is not extensible")}else o&&w(this,this.j,"Can't create property '"+t+"' on '"+e+"'")};b.g.ac=function(){throw Error("Placeholder getter")};b.g.bc=function(){throw Error("Placeholder setter")};function L(e,t,n,r){e.g(t.h.prototype,n,e.i(r,!1),y)}function Ge(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),y)}function Xt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function _t(e,t,n){var r=!1;if(n&&n.S)r=!0;else{var o=t.body&&t.body[0];o&&o.la&&o.la.type==="Literal"&&o.la.value==="use strict"&&(r=!0)}return o=e.s(null),r=new zr(n,r,o),n||bn(e,r.object),ze(e,t,r),r}function Ht(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new zr(t,t.S,e)}function zt(e,t){for(var n=Xt(e);n&&n!==e.N;){if(t in n.object.h)return n.object.h[t];n=n.Va}if(n===e.N&&at(e,n.object,t))return e.G(n.object,t);n=e.o[e.o.length-1].node,n.type==="UnaryExpression"&&n.operator==="typeof"||w(e,e.pb,t+" is not defined")}function Xr(e,t,n){for(var r=Xt(e),o=r.S;r&&r!==e.N;){if(t in r.object.h){try{r.object.h[t]=n}catch{o&&w(e,e.j,"Cannot assign to read only variable '"+t+"'")}return}r=r.Va}if(r===e.N&&(!o||at(e,r.object,t)))return e.g(r.object,t,n);w(e,e.pb,t+" is not defined")}function ze(e,t,n){if(t.jb)var r=t.jb;else{switch(r=Object.create(null),t.type){case"VariableDeclaration":for(var o=0;o<t.fa.length;o++)r[t.fa[o].id.name]=!0;break;case"FunctionDeclaration":r[t.id.name]=t;break;case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"Program":case"SwitchCase":case"SwitchStatement":case"TryStatement":case"WithStatement":case"WhileStatement":var s=t.constructor,a;for(a in t)if(a!=="loc"){var f=t[a];if(f&&typeof f=="object"){if(Array.isArray(f)){for(o=0;o<f.length;o++)if(f[o]&&f[o].constructor===s){var d=ze(e,f[o],n);for(a in d)r[a]=d[a]}}else if(f.constructor===s)for(a in d=ze(e,f,n),d)r[a]=d[a]}}}t.jb=r}for(a in r)r[a]===!0?e.g(n.object,a,void 0,br):e.g(n.object,a,Vt(e,r[a],n),br);return r}function ue(e){return e.o[e.o.length-1].isConstructor}function Jt(e,t){return t[0]===Oe?zt(e,t[1]):e.G(t[0],t[1])}function Kt(e,t,n){return t[0]===Oe?Xr(e,t[1],n):e.g(t[0],t[1],n)}function w(e,t,n){throw e.N?(n!==void 0&&t instanceof A&&(t=e.Aa(t),Dt(e,t,n)),Je(e,4,t),$r):n===void 0?t:n}function Je(e,t,n,r){if(t===0)throw TypeError("Should not unwind for NORMAL completions");var o=e.o;e:for(;0<o.length;o.pop()){var s=o[o.length-1];switch(s.node.type){case"TryStatement":s.ea={type:t,value:n,label:r};return;case"CallExpression":case"NewExpression":if(t===3){s.value=n;return}if(t!==4)throw Error("Unsynatctic break/continue not rejected by Acorn");break;case"Program":s.done=!0;break e}if(t===1){if(r?s.labels&&s.labels.indexOf(r)!==-1:s.W||s.Zb){o.pop();return}}else if(t===2&&(r?s.labels&&s.labels.indexOf(r)!==-1:s.W))return}throw V(e,n,e.D)?(t={EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError},r=String(e.G(n,"name")),o=e.G(n,"message").valueOf(),t=(t[r]||Error)(o),t.stack=String(e.G(n,"stack"))):t=String(n),e.value=t,t}function J(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return J(e,t.left)+" "+t.operator+" "+J(e,t.right);case"CallExpression":return J(e,t.callee)+"(...)";case"ConditionalExpression":return J(e,t.test)+" ? "+J(e,t.da)+" : "+J(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=J(e,t.object);return e=J(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+J(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+J(e,t.K);case"UpdateExpression":return n=J(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Nr(e,t,n){var r=e.o[e.o.length-1],o=Array.from(n),s=o.shift();n=Math.max(Number(o.shift()||0),0);var a=e.ya();if(s instanceof A&&s.H==="Function"){var f=s;a.type="CallExpression",r=r.scope}else{try{var d=Ce(String(s),"taskCode"+e.ic++)}catch(v){w(e,e.T,"Invalid code: "+v.message)}a.type="EvalProgram_",a.body=d.body,r=r.node.arguments[0],st(a,r?r.start:void 0,r?r.end:void 0),r=e.N,o.length=0}return t=new $n(f,o,r,a,t?n:-1),Hr(e,t,n),t.Db}function Hr(e,t,n){t.time=Date.now()+n,e.ca.push(t),e.ca.sort(function(r,o){return r.time-o.time})}function Br(e,t){for(var n=0;n<e.ca.length;n++)if(e.ca[n].Db==t){e.ca.splice(n,1);break}}function Ke(e,t,n){if(!e.P)throw Error("Unexpected call to createGetter");e.P=!1,n=Array.isArray(n)?n[0]:n;var r=e.ya();return r.type="CallExpression",e=new m(r,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[],e}function Yt(e,t,n,r){if(!e.Ka)throw Error("Unexpected call to createSetter");e.Ka=!1,n=Array.isArray(n)?n[0]:e.Na;var o=e.ya();return o.type="CallExpression",e=new m(o,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[r],e}function Nt(e,t){return t==null?e.Na:t instanceof A?t:(e=e.s(le(e,t)),e.data=t,e)}b.Xb=function(){return this.N};b.Yb=function(){return this.o};b.ec=function(e){this.o=e};function m(e,t){this.node=e,this.scope=t}function zr(e,t,n){this.Va=e,this.S=t,this.object=n}function A(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}b=A.prototype;b.xa=null;b.H="Object";b.data=null;b.toString=function(){if(!$e)return"[object Interpreter.Object]";if(!(this instanceof A))return String(this);if(this.H==="Array"){var e=Rr;e.push(this);try{var t=[],n=this.h.length,r=!1;1024<n&&(n=1e3,r=!0);for(var o=0;o<n;o++){var s=this.h[o];t[o]=s instanceof A&&e.indexOf(s)!==-1?"...":s}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=Rr,e.indexOf(this)!==-1)return"[object Error]";n=this;do if("name"in n.h){t=n.h.name;break}while(n=n.xa);n=this;do if("message"in n.h){r=n.h.message;break}while(n=n.xa);e.push(this);try{t=t&&String(t),r=r&&String(r)}finally{e.pop()}return r?t+": "+r:String(t)}return this.data!==null?String(this.data):"[object "+this.H+"]"};b.valueOf=function(){return!$e||this.data===void 0||this.data===null||this.data instanceof RegExp?this:this.data instanceof Date?this.data.valueOf():this.data};function $n(e,t,n,r,o){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=o,this.Db=++Vn,this.time=0}var Vn=0;h.prototype.stepArrayExpression=function(e,t,n){n=n.elements;var r=t.A||0;for(t.Oa?(this.g(t.Oa,r,t.value),r++):(t.Oa=je(this),t.Oa.h.length=n.length);r<n.length;){if(n[r])return t.A=r,new m(n[r],t.scope);r++}e.pop(),e[e.length-1].value=t.Oa};h.prototype.stepAssignmentExpression=function(e,t,n){if(!t.ja)return t.ja=!0,t=new m(n.left,t.scope),t.sa=!0,t;if(!t.Da)return t.Fa||(t.Fa=t.value),t.Ba&&(t.ma=t.value),!t.Ba&&n.operator!=="="&&(e=Jt(this,t.Fa),t.ma=e,this.P)?(t.Ba=!0,Ke(this,e,t.Fa)):(t.Da=!0,n.operator==="="&&n.left.type==="Identifier"&&(t.Pa=n.left.name),new m(n.right,t.scope));if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{var r=t.ma,o=t.value;switch(n.operator){case"=":r=o;break;case"+=":r+=o;break;case"-=":r-=o;break;case"*=":r*=o;break;case"/=":r/=o;break;case"%=":r%=o;break;case"<<=":r<<=o;break;case">>=":r>>=o;break;case">>>=":r>>>=o;break;case"&=":r&=o;break;case"^=":r^=o;break;case"|=":r|=o;break;default:throw SyntaxError("Unknown assignment expression: "+n.operator)}if(n=Kt(this,t.Fa,r))return t.ta=!0,t.ib=r,Yt(this,n,t.Fa,r);e.pop(),e[e.length-1].value=r}};h.prototype.stepBinaryExpression=function(e,t,n){if(!t.ja)return t.ja=!0,new m(n.left,t.scope);if(!t.Da)return t.Da=!0,t.ma=t.value,new m(n.right,t.scope);e.pop();var r=t.ma;switch(t=t.value,n.operator){case"==":n=r==t;break;case"!=":n=r!=t;break;case"===":n=r===t;break;case"!==":n=r!==t;break;case">":n=r>t;break;case">=":n=r>=t;break;case"<":n=r<t;break;case"<=":n=r<=t;break;case"+":n=r+t;break;case"-":n=r-t;break;case"*":n=r*t;break;case"/":n=r/t;break;case"%":n=r%t;break;case"&":n=r&t;break;case"|":n=r|t;break;case"^":n=r^t;break;case"<<":n=r<<t;break;case">>":n=r>>t;break;case">>>":n=r>>>t;break;case"in":t instanceof A||w(this,this.j,"'in' expects an object, not '"+t+"'"),n=at(this,t,r);break;case"instanceof":V(this,t,this.O)||w(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof A?V(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};h.prototype.stepBlockStatement=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new m(n,t.scope);e.pop()};h.prototype.stepBreakStatement=function(e,t,n){Je(this,1,void 0,n.label&&n.label.name)};h.prototype.Hb=0;h.prototype.stepCallExpression=function(e,t,n){if(!t.ia){t.ia=1;var r=new m(n.callee,t.scope);return r.sa=!0,r}if(t.ia===1){t.ia=2;var o=t.value;if(Array.isArray(o)){if(t.U=Jt(this,o),o[0]===Oe?t.Pb=o[1]==="eval":t.B=o[0],o=t.U,this.P)return t.ia=1,Ke(this,o,t.value)}else t.U=o;t.F=[],t.A=0}if(o=t.U,!t.Qa){if(t.A!==0&&t.F.push(t.value),n.arguments[t.A])return new m(n.arguments[t.A++],t.scope);if(n.type==="NewExpression"){if(o instanceof A&&!o.Ab||w(this,this.j,J(this,n.callee)+" is not a constructor"),o===this.qa)t.B=je(this);else{var s=o.h.prototype;(typeof s!="object"||s===null)&&(s=this.M),t.B=this.s(s)}t.isConstructor=!0}t.Qa=!0}if(t.eb)e.pop(),e[e.length-1].value=t.isConstructor&&typeof t.value!="object"?t.B:t.value;else{if(t.eb=!0,o instanceof A||w(this,this.j,J(this,n.callee)+" is not a function"),e=o.node){for(n=_t(this,e.body,o.Va),r=je(this),o=0;o<t.F.length;o++)this.g(r,o,t.F[o]);for(this.g(n.object,"arguments",r),o=0;o<e.oa.length;o++)this.g(n.object,e.oa[o].name,t.F.length>o?t.F[o]:void 0);return n.S||(t.B=Nt(this,t.B)),this.g(n.object,"this",t.B,Lt),t.value=void 0,new m(e.body,n)}if(o.eval)if(o=t.F[0],typeof o!="string")t.value=o;else{try{r=Ce(String(o),"eval"+this.Hb++)}catch(f){w(this,this.T,"Invalid code: "+f.message)}return o=this.ya(),o.type="EvalProgram_",o.body=r.body,st(o,n.start,n.end),n=t.Pb?t.scope:this.N,n.S?n=_t(this,r,n):ze(this,r,n),this.value=void 0,new m(o,n)}else if(o.Ta)t.scope.S||(t.B=Nt(this,t.B)),t.value=o.Ta.apply(t.B,t.F);else if(o.Za){var a=this;r=o.Za.length-1,r=t.F.concat(Array(r)).slice(0,r),r.push(function(f){t.value=f,a.za=!1}),this.za=!0,t.scope.S||(t.B=Nt(this,t.B)),o.Za.apply(t.B,r)}else w(this,this.j,J(this,n.callee)+" is not callable")}};h.prototype.stepConditionalExpression=function(e,t,n){var r=t.na||0;if(r===0)return t.na=1,new m(n.test,t.scope);if(r===1){if(t.na=2,(r=!!t.value)&&n.da)return new m(n.da,t.scope);if(!r&&n.alternate)return new m(n.alternate,t.scope);this.value=void 0}e.pop(),n.type==="ConditionalExpression"&&(e[e.length-1].value=t.value)};h.prototype.stepContinueStatement=function(e,t,n){Je(this,2,void 0,n.label&&n.label.name)};h.prototype.stepDebuggerStatement=function(e){e.pop()};h.prototype.stepDoWhileStatement=function(e,t,n){if(n.type==="DoWhileStatement"&&t.ga===void 0&&(t.value=!0,t.ga=!0),!t.ga)return t.ga=!0,new m(n.test,t.scope);if(!t.value)e.pop();else if(n.body)return t.ga=!1,t.W=!0,new m(n.body,t.scope)};h.prototype.stepEmptyStatement=function(e){e.pop()};h.prototype.stepEvalProgram_=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new m(n,t.scope);e.pop(),e[e.length-1].value=this.value};h.prototype.stepExpressionStatement=function(e,t,n){if(!t.ka)return this.value=void 0,t.ka=!0,new m(n.la,t.scope);e.pop(),this.value=t.value};h.prototype.stepForInStatement=function(e,t,n){if(!t.Ub&&(t.Ub=!0,n.left.fa&&n.left.fa[0].ua))return t.scope.S&&w(this,this.T,"for-in loop variable declaration may not have an initializer"),new m(n.left,t.scope);if(!t.Ca)return t.Ca=!0,t.pa||(t.pa=t.value),new m(n.right,t.scope);if(t.W||(t.W=!0,t.u=t.value,t.kb=Object.create(null)),t.Ra===void 0)e:for(;;){if(t.u instanceof A)for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u.h));;){var r=t.wa.shift();if(r===void 0)break;if(Object.prototype.hasOwnProperty.call(t.u.h,r)&&!t.kb[r]&&(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u.h,r))){t.Ra=r;break e}}else if(t.u!==null&&t.u!==void 0){for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u));r=t.wa.shift(),r!==void 0;)if(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u,r)){t.Ra=r;break e}}if(t.u=le(this,t.u),t.wa=null,t.u===null){e.pop();return}}if(!t.wb)if(t.wb=!0,e=n.left,e.type==="VariableDeclaration")t.pa=[Oe,e.fa[0].id.name];else return t.pa=null,t=new m(e,t.scope),t.sa=!0,t;if(t.pa||(t.pa=t.value),!t.ta&&(t.ta=!0,e=t.Ra,r=Kt(this,t.pa,e)))return Yt(this,r,t.pa,e);if(t.Ra=void 0,t.wb=!1,t.ta=!1,n.body)return new m(n.body,t.scope)};h.prototype.stepForStatement=function(e,t,n){switch(t.na){default:if(t.na=1,n.ua)return new m(n.ua,t.scope);break;case 1:if(t.na=2,n.test)return new m(n.test,t.scope);break;case 2:if(t.na=3,n.test&&!t.value)e.pop();else return t.W=!0,new m(n.body,t.scope);break;case 3:if(t.na=1,n.update)return new m(n.update,t.scope)}};h.prototype.stepFunctionDeclaration=function(e){e.pop()};h.prototype.stepFunctionExpression=function(e,t,n){e.pop(),t=e[e.length-1],e=t.scope,n.id&&(e=Ht(this,e)),t.value=Vt(this,n,e,t.Pa),n.id&&this.g(e.object,n.id.name,t.value,Lt)};h.prototype.stepIdentifier=function(e,t,n){if(e.pop(),t.sa)e[e.length-1].value=[Oe,n.name];else{if(t=zt(this,n.name),this.P)return Ke(this,t,this.Na);e[e.length-1].value=t}};h.prototype.stepIfStatement=h.prototype.stepConditionalExpression;h.prototype.stepLabeledStatement=function(e,t,n){return e.pop(),e=t.labels||[],e.push(n.label.name),t=new m(n.body,t.scope),t.labels=e,t};h.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),Gt(this,n,t),t=n),e[e.length-1].value=t};h.prototype.stepLogicalExpression=function(e,t,n){if(n.operator!=="&&"&&n.operator!=="||")throw SyntaxError("Unknown logical operator: "+n.operator);if(!t.ja)return t.ja=!0,new m(n.left,t.scope);if(t.Da)e.pop(),e[e.length-1].value=t.value;else if(n.operator==="&&"&&!t.value||n.operator==="||"&&t.value)e.pop(),e[e.length-1].value=t.value;else return t.Da=!0,new m(n.right,t.scope)};h.prototype.stepMemberExpression=function(e,t,n){if(!t.Ca)return t.Ca=!0,new m(n.object,t.scope);if(n.bb)if(t.Vb)n=t.value;else return t.u=t.value,t.Vb=!0,new m(n.Wa,t.scope);else t.u=t.value,n=n.Wa.name;if(e.pop(),t.sa)e[e.length-1].value=[t.u,n];else{if(n=this.G(t.u,n),this.P)return Ke(this,n,t.u);e[e.length-1].value=n}};h.prototype.stepNewExpression=h.prototype.stepCallExpression;h.prototype.stepObjectExpression=function(e,t,n){var r=t.A||0,o=n.h[r];if(t.u){var s=t.Pa;t.Ja[s]||(t.Ja[s]={}),t.Ja[s][o.kind]=t.value,t.A=++r,o=n.h[r]}else t.u=this.s(this.M),t.Ja=Object.create(null);if(o){var a=o.key;if(a.type==="Identifier")s=a.name;else if(a.type==="Literal")s=a.value;else throw SyntaxError("Unknown object structure: "+a.type);return t.Pa=s,new m(o.value,t.scope)}for(a in t.Ja)n=t.Ja[a],"get"in n||"set"in n?this.g(t.u,a,He,{configurable:!0,enumerable:!0,get:n.get,set:n.set}):this.g(t.u,a,n.init);e.pop(),e[e.length-1].value=t.u};h.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new m(e,t.scope);t.done=!0};h.prototype.stepReturnStatement=function(e,t,n){if(n.K&&!t.ka)return t.ka=!0,new m(n.K,t.scope);Je(this,3,t.value)};h.prototype.stepSequenceExpression=function(e,t,n){var r=t.A||0;if(n=n.xb[r])return t.A=r+1,new m(n,t.scope);e.pop(),e[e.length-1].value=t.value};h.prototype.stepSwitchStatement=function(e,t,n){if(!t.ga)return t.ga=1,new m(n.Qb,t.scope);for(t.ga===1&&(t.ga=2,t.hc=t.value,t.cb=-1);;){var r=t.gb||0,o=n.tb[r];if(t.Ha||!o||o.test)if(o||t.Ha||t.cb===-1)if(o){if(!t.Ha&&!t.Fb&&o.test)return t.Fb=!0,new m(o.test,t.scope);if(t.Ha||t.value===t.hc){t.Ha=!0;var s=t.A||0;if(o.da[s])return t.Zb=!0,t.A=s+1,new m(o.da[s],t.scope)}t.Fb=!1,t.A=0,t.gb=r+1}else{e.pop();break}else t.Ha=!0,t.gb=t.cb;else t.cb=r,t.gb=r+1}};h.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=zt(this,"this")};h.prototype.stepThrowStatement=function(e,t,n){if(t.ka)w(this,t.value);else return t.ka=!0,new m(n.K,t.scope)};h.prototype.stepTryStatement=function(e,t,n){if(!t.Rb)return t.Rb=!0,new m(n.block,t.scope);if(t.ea&&t.ea.type===4&&!t.Tb&&n.Ea)return t.Tb=!0,e=Ht(this,t.scope),this.g(e.object,n.Ea.Ua.name,t.ea.value),t.ea=void 0,new m(n.Ea.body,e);if(!t.Sb&&n.fb)return t.Sb=!0,new m(n.fb,t.scope);e.pop(),t.ea&&Je(this,t.ea.type,t.ea.value,t.ea.label)};h.prototype.stepUnaryExpression=function(e,t,n){if(!t.ka)return t.ka=!0,e=new m(n.K,t.scope),e.sa=n.operator==="delete",e;e.pop();var r=t.value;switch(n.operator){case"-":r=-r;break;case"+":r=+r;break;case"!":r=!r;break;case"~":r=~r;break;case"delete":if(n=!0,Array.isArray(r)){var o=r[0];o===Oe&&(o=t.scope),r=String(r[1]);try{delete o.h[r]}catch{t.scope.S?w(this,this.j,"Cannot delete property '"+r+"' of '"+o+"'"):n=!1}}r=n;break;case"typeof":r=r&&r.H==="Function"?"function":typeof r;break;case"void":r=void 0;break;default:throw SyntaxError("Unknown unary operator: "+n.operator)}e[e.length-1].value=r};h.prototype.stepUpdateExpression=function(e,t,n){if(!t.ja)return t.ja=!0,e=new m(n.K,t.scope),e.sa=!0,e;if(t.Ga||(t.Ga=t.value),t.Ba&&(t.ma=t.value),!t.Ba){var r=Jt(this,t.Ga);if(t.ma=r,this.P)return t.Ba=!0,Ke(this,r,t.Ga)}if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{if(r=Number(t.ma),n.operator==="++")var o=r+1;else if(n.operator==="--")o=r-1;else throw SyntaxError("Unknown update expression: "+n.operator);if(n=n.prefix?o:r,r=Kt(this,t.Ga,o))return t.ta=!0,t.ib=n,Yt(this,r,t.Ga,o);e.pop(),e[e.length-1].value=n}};h.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,o=n[r];for(t.Bb&&o&&(Xr(this,o.id.name,t.value),t.Bb=!1,o=n[++r]);o;){if(o.ua)return t.A=r,t.Bb=!0,t.Pa=o.id.name,new m(o.ua,t.scope);o=n[++r]}e.pop()};h.prototype.stepWithStatement=function(e,t,n){return t.Ca?(e.pop(),e=Ht(this,t.scope,t.value),new m(n.body,e)):(t.Ca=!0,new m(n.object,t.scope))};h.prototype.stepWhileStatement=h.prototype.stepDoWhileStatement;he.Interpreter=h;h.prototype.step=h.prototype.lb;h.prototype.run=h.prototype.Eb;h.prototype.appendCode=h.prototype.Jb;h.prototype.createObject=h.prototype.Aa;h.prototype.createObjectProto=h.prototype.s;h.prototype.createAsyncFunction=h.prototype.ub;h.prototype.createNativeFunction=h.prototype.i;h.prototype.getProperty=h.prototype.G;h.prototype.setProperty=h.prototype.g;h.prototype.nativeToPseudo=h.prototype.Ia;h.prototype.pseudoToNative=h.prototype.R;h.prototype.getGlobalScope=h.prototype.Xb;h.prototype.getStateStack=h.prototype.Yb;h.prototype.setStateStack=h.prototype.ec;h.VALUE_IN_DESCRIPTOR=He;function Xn(){const e=h.prototype.getProperty,t=h.prototype.setProperty;function n(a,f){if(a==null||!a._connected)return e.call(this,a,f);const d=a._connected[f];return Array.isArray(d)?this.nativeToPseudo(d):typeof d=="object"?this.createConnectedObject(d):d}function r(a,f,d,v){if(a==null||!a._connected)return t.call(this,a,f,d,v);a._connected[f]=this.pseudoToNative(d)}const o=[],s=[];for(const a of Object.keys(h.prototype))h.prototype[a]===e&&o.push(a),h.prototype[a]===t&&s.push(a);for(const a of o)h.prototype[a]=n;for(const a of s)h.prototype[a]=r;h.prototype.createConnectedObject=function(a){const f=this.createObject(this.OBJECT);return f._connected=a,f}}Xn();const Hn=e=>e.replace(/^.*?function main\(\)/,`
|
|
7
|
+
`)}e.g(t,"stack",s.trim(),m)}b.ha=function(){var e=this.ha.Mb;return e||(e=new Blob([bn.join(`
|
|
8
|
+
`)],{type:"application/javascript"}),this.ha.Mb=e),new Worker(URL.createObjectURL(e))};function Fe(e,t,n,r,o){var s={timeout:e.REGEXP_THREAD_TIMEOUT};try{return ae.runInNewContext(t,n,s)}catch{o(null),w(e,e.D,"RegExp Timeout: "+r)}return ke}function Le(e,t,n){if(e.REGEXP_MODE===0)var r=!1;else if(e.REGEXP_MODE===1)r=!0;else if(ae)r=!0;else if(typeof Worker=="function"&&typeof URL=="function")r=!0;else if(typeof require=="function"){try{ae=require("vm")}catch{}r=!!ae}else r=!1;r||(n(null),w(e,e.D,"Regular expressions not supported: "+t))}function We(e,t,n,r){return setTimeout(function(){n.terminate(),r(null);try{w(e,e.D,"RegExp Timeout: "+t)}catch{}},e.REGEXP_THREAD_TIMEOUT)}b.Aa=function(e){return this.s(e&&e.h.prototype)};b.s=function(e){if(typeof e!="object")throw Error("Non object prototype");return e=new A(e),V(this,e,this.D)&&(e.H="Error"),e};function je(e){var t=e.s(e.La);return e.g(t,"length",0,{configurable:!1,enumerable:!1,writable:!0}),t.H="Array",t}function Vt(e,t,n){var r=e.s(e.Z);return n?(n=e.s(e.M),e.g(r,"prototype",n,m),e.g(n,"constructor",r,m)):r.Ab=!0,e.g(r,"length",t,K),r.H="Function",r}function Ht(e,t,n,r){var o=Vt(e,t.oa.length,!0);return o.Va=n,o.node=t,e.g(o,"name",t.id?String(t.id.name):r||"",K),o}b.i=function(e,t){return t=Vt(this,e.length,t),t.Ta=e,e.id=this.Ya++,this.g(t,"name",e.name,K),t};b.ub=function(e){var t=Vt(this,e.length,!0);return t.Za=e,e.id=this.Ya++,this.g(t,"name",e.name,K),t};b.Ia=function(e){if(e instanceof A)throw Error("Object is already pseudo");if(e==null||e===!0||e===!1||typeof e=="string"||typeof e=="number")return e;if(e instanceof RegExp){var t=this.s(this.Ma);return $t(this,t,e),t}if(e instanceof Date)return t=this.s(this.nb),t.data=new Date(e.valueOf()),t;if(typeof e=="function"){var n=this;return t=Object.getOwnPropertyDescriptor(e,"prototype"),this.i(function(){var o=Array.prototype.slice.call(arguments).map(function(s){return n.R(s)});return o=e.apply(n,o),n.Ia(o)},!!t)}if(Array.isArray(e)){t=je(this);for(var r=0;r<e.length;r++)r in e&&this.g(t,r,this.Ia(e[r]));return t}t=this.s(this.M);for(r in e)this.g(t,r,this.Ia(e[r]));return t};b.R=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)return e;if(!(e instanceof A))throw Error("Object is not pseudo");if(V(this,e,this.I))return t=new RegExp(e.data.source,e.data.flags),t.lastIndex=e.data.lastIndex,t;if(V(this,e,this.$))return new Date(e.data.valueOf());t=t||{hb:[],Sa:[]};var n=t.hb.indexOf(e);if(n!==-1)return t.Sa[n];if(t.hb.push(e),V(this,e,this.qa)){n=[],t.Sa.push(n);for(var r=this.G(e,"length"),o=0;o<r;o++)at(this,e,o)&&(n[o]=this.R(this.G(e,o),t))}else for(r in n={},t.Sa.push(n),e.h)o=this.R(e.h[r],t),Object.defineProperty(n,r,{value:o,writable:!0,enumerable:!0,configurable:!0});return t.hb.pop(),t.Sa.pop(),n};function se(e,t){for(var n=je(e),r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e.g(n,r[o],t[r[o]]);return n}function Hr(e,t){var n=[],r;for(r in t.h)n[r]=e.G(t,r);return n.length=Gt(e.G(t,"length"))||0,n}function le(e,t){switch(typeof t){case"number":return e.aa.h.prototype;case"boolean":return e.mb.h.prototype;case"string":return e.J.h.prototype}return t?t.xa:null}b.G=function(e,t){if(this.P)throw Error("Getter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot read property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof A))throw TypeError("Expecting native value or pseudo object");if(t==="length"){if(V(this,e,this.J))return String(e).length}else if(64>t.charCodeAt(0)&&V(this,e,this.J)){var n=Ve(t);if(!isNaN(n)&&n<String(e).length)return String(e)[n]}do if(e.h&&t in e.h)return(n=e.V[t])?(this.P=!0,n):e.h[t];while(e=le(this,e))};function at(e,t,n){if(!(t instanceof A))throw TypeError("Primitive data type has no properties");if(n=String(n),n==="length"&&V(e,t,e.J))return!0;if(V(e,t,e.J)){var r=Ve(n);if(!isNaN(r)&&r<String(t).length)return!0}do if(t.h&&n in t.h)return!0;while(t=le(e,t));return!1}b.g=function(e,t,n,r){if(this.Ka)throw Error("Setter not supported in that context");if(t=String(t),e!=null||w(this,this.j,"Cannot set property '"+t+"' of "+e),typeof e=="object"&&!(e instanceof A))throw TypeError("Expecting native value or pseudo object");r&&("get"in r||"set"in r)&&("value"in r||"writable"in r)&&w(this,this.j,"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");var o=!this.o||Xt(this).S;if(e instanceof A){if(V(this,e,this.J)){var s=Ve(t);if(t==="length"||!isNaN(s)&&s<String(e).length){o&&w(this,this.j,"Cannot assign to read only property '"+t+"' of String '"+e.data+"'");return}}if(e.H==="Array")if(s=e.h.length,t==="length"){if(r){if(!("value"in r))return;n=r.value}if(n=Gt(n),isNaN(n)&&w(this,this.ob,"Invalid array length"),n<s)for(a in e.h){var a=Ve(a);!isNaN(a)&&n<=a&&delete e.h[a]}}else isNaN(a=Ve(t))||(e.h.length=Math.max(s,a+1));if(!e.preventExtensions||t in e.h)if(r){o={},"get"in r&&r.get&&(e.V[t]=r.get,o.get=this.g.ac),"set"in r&&r.set&&(e.Y[t]=r.set,o.set=this.g.bc),"configurable"in r&&(o.configurable=r.configurable),"enumerable"in r&&(o.enumerable=r.enumerable),"writable"in r&&(o.writable=r.writable,delete e.V[t],delete e.Y[t]),"value"in r?(o.value=r.value,delete e.V[t],delete e.Y[t]):n!==Xe&&(o.value=n,delete e.V[t],delete e.Y[t]);try{Object.defineProperty(e.h,t,o)}catch{w(this,this.j,"Cannot redefine property: "+t)}"get"in r&&!r.get&&delete e.V[t],"set"in r&&!r.set&&delete e.Y[t]}else{if(n===Xe)throw ReferenceError("Value not specified");for(r=e;!(t in r.h);)if(r=le(this,r),!r){r=e;break}if(r.Y&&r.Y[t])return this.Ka=!0,r.Y[t];if(r.V&&r.V[t])o&&w(this,this.j,"Cannot set property '"+t+"' of object '"+e+"' which only has a getter");else try{e.h[t]=n}catch{o&&w(this,this.j,"Cannot assign to read only property '"+t+"' of object '"+e+"'")}}else o&&w(this,this.j,"Can't add property '"+t+"', object is not extensible")}else o&&w(this,this.j,"Can't create property '"+t+"' on '"+e+"'")};b.g.ac=function(){throw Error("Placeholder getter")};b.g.bc=function(){throw Error("Placeholder setter")};function W(e,t,n,r){e.g(t.h.prototype,n,e.i(r,!1),m)}function Ge(e,t,n,r){e.g(t.h.prototype,n,e.ub(r),m)}function Xt(e){if(e=e.o[e.o.length-1].scope,!e)throw Error("No scope found");return e}function _t(e,t,n){var r=!1;if(n&&n.S)r=!0;else{var o=t.body&&t.body[0];o&&o.la&&o.la.type==="Literal"&&o.la.value==="use strict"&&(r=!0)}return o=e.s(null),r=new Jr(n,r,o),n||Rn(e,r.object),ze(e,t,r),r}function zt(e,t,n){if(!t)throw Error("parentScope required");return e=n||e.s(null),new Jr(t,t.S,e)}function Jt(e,t){for(var n=Xt(e);n&&n!==e.N;){if(t in n.object.h)return n.object.h[t];n=n.Va}if(n===e.N&&at(e,n.object,t))return e.G(n.object,t);n=e.o[e.o.length-1].node,n.type==="UnaryExpression"&&n.operator==="typeof"||w(e,e.pb,t+" is not defined")}function Xr(e,t,n){for(var r=Xt(e),o=r.S;r&&r!==e.N;){if(t in r.object.h){try{r.object.h[t]=n}catch{o&&w(e,e.j,"Cannot assign to read only variable '"+t+"'")}return}r=r.Va}if(r===e.N&&(!o||at(e,r.object,t)))return e.g(r.object,t,n);w(e,e.pb,t+" is not defined")}function ze(e,t,n){if(t.jb)var r=t.jb;else{switch(r=Object.create(null),t.type){case"VariableDeclaration":for(var o=0;o<t.fa.length;o++)r[t.fa[o].id.name]=!0;break;case"FunctionDeclaration":r[t.id.name]=t;break;case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"Program":case"SwitchCase":case"SwitchStatement":case"TryStatement":case"WithStatement":case"WhileStatement":var s=t.constructor,a;for(a in t)if(a!=="loc"){var f=t[a];if(f&&typeof f=="object"){if(Array.isArray(f)){for(o=0;o<f.length;o++)if(f[o]&&f[o].constructor===s){var d=ze(e,f[o],n);for(a in d)r[a]=d[a]}}else if(f.constructor===s)for(a in d=ze(e,f,n),d)r[a]=d[a]}}}t.jb=r}for(a in r)r[a]===!0?e.g(n.object,a,void 0,Rr):e.g(n.object,a,Ht(e,r[a],n),Rr);return r}function ue(e){return e.o[e.o.length-1].isConstructor}function Kt(e,t){return t[0]===Oe?Jt(e,t[1]):e.G(t[0],t[1])}function Yt(e,t,n){return t[0]===Oe?Xr(e,t[1],n):e.g(t[0],t[1],n)}function w(e,t,n){throw e.N?(n!==void 0&&t instanceof A&&(t=e.Aa(t),Dt(e,t,n)),Je(e,4,t),Vr):n===void 0?t:n}function Je(e,t,n,r){if(t===0)throw TypeError("Should not unwind for NORMAL completions");var o=e.o;e:for(;0<o.length;o.pop()){var s=o[o.length-1];switch(s.node.type){case"TryStatement":s.ea={type:t,value:n,label:r};return;case"CallExpression":case"NewExpression":if(t===3){s.value=n;return}if(t!==4)throw Error("Unsynatctic break/continue not rejected by Acorn");break;case"Program":s.done=!0;break e}if(t===1){if(r?s.labels&&s.labels.indexOf(r)!==-1:s.W||s.Zb){o.pop();return}}else if(t===2&&(r?s.labels&&s.labels.indexOf(r)!==-1:s.W))return}throw V(e,n,e.D)?(t={EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError},r=String(e.G(n,"name")),o=e.G(n,"message").valueOf(),t=(t[r]||Error)(o),t.stack=String(e.G(n,"stack"))):t=String(n),e.value=t,t}function J(e,t){switch(t.type){case"ArrayExpression":return"[...]";case"BinaryExpression":case"LogicalExpression":return J(e,t.left)+" "+t.operator+" "+J(e,t.right);case"CallExpression":return J(e,t.callee)+"(...)";case"ConditionalExpression":return J(e,t.test)+" ? "+J(e,t.da)+" : "+J(e,t.alternate);case"Identifier":return t.name;case"Literal":return t.raw;case"MemberExpression":var n=J(e,t.object);return e=J(e,t.Wa),t.bb?n+"["+e+"]":n+"."+e;case"NewExpression":return"new "+J(e,t.callee)+"(...)";case"ObjectExpression":return"{...}";case"ThisExpression":return"this";case"UnaryExpression":return t.operator+" "+J(e,t.K);case"UpdateExpression":return n=J(e,t.K),t.prefix?t.operator+n:n+t.operator}return"???"}function Br(e,t,n){var r=e.o[e.o.length-1],o=Array.from(n),s=o.shift();n=Math.max(Number(o.shift()||0),0);var a=e.ya();if(s instanceof A&&s.H==="Function"){var f=s;a.type="CallExpression",r=r.scope}else{try{var d=Ce(String(s),"taskCode"+e.ic++)}catch(x){w(e,e.T,"Invalid code: "+x.message)}a.type="EvalProgram_",a.body=d.body,r=r.node.arguments[0],st(a,r?r.start:void 0,r?r.end:void 0),r=e.N,o.length=0}return t=new Vn(f,o,r,a,t?n:-1),zr(e,t,n),t.Db}function zr(e,t,n){t.time=Date.now()+n,e.ca.push(t),e.ca.sort(function(r,o){return r.time-o.time})}function Mr(e,t){for(var n=0;n<e.ca.length;n++)if(e.ca[n].Db==t){e.ca.splice(n,1);break}}function Ke(e,t,n){if(!e.P)throw Error("Unexpected call to createGetter");e.P=!1,n=Array.isArray(n)?n[0]:n;var r=e.ya();return r.type="CallExpression",e=new v(r,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[],e}function Zt(e,t,n,r){if(!e.Ka)throw Error("Unexpected call to createSetter");e.Ka=!1,n=Array.isArray(n)?n[0]:e.Na;var o=e.ya();return o.type="CallExpression",e=new v(o,e.o[e.o.length-1].scope),e.ia=2,e.B=n,e.U=t,e.Qa=!0,e.F=[r],e}function Nt(e,t){return t==null?e.Na:t instanceof A?t:(e=e.s(le(e,t)),e.data=t,e)}b.Xb=function(){return this.N};b.Yb=function(){return this.o};b.ec=function(e){this.o=e};function v(e,t){this.node=e,this.scope=t}function Jr(e,t,n){this.Va=e,this.S=t,this.object=n}function A(e){this.V=Object.create(null),this.Y=Object.create(null),this.h=Object.create(null),this.xa=e}b=A.prototype;b.xa=null;b.H="Object";b.data=null;b.toString=function(){if(!$e)return"[object Interpreter.Object]";if(!(this instanceof A))return String(this);if(this.H==="Array"){var e=Nr;e.push(this);try{var t=[],n=this.h.length,r=!1;1024<n&&(n=1e3,r=!0);for(var o=0;o<n;o++){var s=this.h[o];t[o]=s instanceof A&&e.indexOf(s)!==-1?"...":s}r&&t.push("...")}finally{e.pop()}return t.join(",")}if(this.H==="Error"){if(e=Nr,e.indexOf(this)!==-1)return"[object Error]";n=this;do if("name"in n.h){t=n.h.name;break}while(n=n.xa);n=this;do if("message"in n.h){r=n.h.message;break}while(n=n.xa);e.push(this);try{t=t&&String(t),r=r&&String(r)}finally{e.pop()}return r?t+": "+r:String(t)}return this.data!==null?String(this.data):"[object "+this.H+"]"};b.valueOf=function(){return!$e||this.data===void 0||this.data===null||this.data instanceof RegExp?this:this.data instanceof Date?this.data.valueOf():this.data};function Vn(e,t,n,r,o){this.zb=e,this.Lb=t,this.scope=n,this.node=r,this.interval=o,this.Db=++Hn,this.time=0}var Hn=0;h.prototype.stepArrayExpression=function(e,t,n){n=n.elements;var r=t.A||0;for(t.Oa?(this.g(t.Oa,r,t.value),r++):(t.Oa=je(this),t.Oa.h.length=n.length);r<n.length;){if(n[r])return t.A=r,new v(n[r],t.scope);r++}e.pop(),e[e.length-1].value=t.Oa};h.prototype.stepAssignmentExpression=function(e,t,n){if(!t.ja)return t.ja=!0,t=new v(n.left,t.scope),t.sa=!0,t;if(!t.Da)return t.Fa||(t.Fa=t.value),t.Ba&&(t.ma=t.value),!t.Ba&&n.operator!=="="&&(e=Kt(this,t.Fa),t.ma=e,this.P)?(t.Ba=!0,Ke(this,e,t.Fa)):(t.Da=!0,n.operator==="="&&n.left.type==="Identifier"&&(t.Pa=n.left.name),new v(n.right,t.scope));if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{var r=t.ma,o=t.value;switch(n.operator){case"=":r=o;break;case"+=":r+=o;break;case"-=":r-=o;break;case"*=":r*=o;break;case"/=":r/=o;break;case"%=":r%=o;break;case"<<=":r<<=o;break;case">>=":r>>=o;break;case">>>=":r>>>=o;break;case"&=":r&=o;break;case"^=":r^=o;break;case"|=":r|=o;break;default:throw SyntaxError("Unknown assignment expression: "+n.operator)}if(n=Yt(this,t.Fa,r))return t.ta=!0,t.ib=r,Zt(this,n,t.Fa,r);e.pop(),e[e.length-1].value=r}};h.prototype.stepBinaryExpression=function(e,t,n){if(!t.ja)return t.ja=!0,new v(n.left,t.scope);if(!t.Da)return t.Da=!0,t.ma=t.value,new v(n.right,t.scope);e.pop();var r=t.ma;switch(t=t.value,n.operator){case"==":n=r==t;break;case"!=":n=r!=t;break;case"===":n=r===t;break;case"!==":n=r!==t;break;case">":n=r>t;break;case">=":n=r>=t;break;case"<":n=r<t;break;case"<=":n=r<=t;break;case"+":n=r+t;break;case"-":n=r-t;break;case"*":n=r*t;break;case"/":n=r/t;break;case"%":n=r%t;break;case"&":n=r&t;break;case"|":n=r|t;break;case"^":n=r^t;break;case"<<":n=r<<t;break;case">>":n=r>>t;break;case">>>":n=r>>>t;break;case"in":t instanceof A||w(this,this.j,"'in' expects an object, not '"+t+"'"),n=at(this,t,r);break;case"instanceof":V(this,t,this.O)||w(this,this.j,"'instanceof' expects an object, not '"+t+"'"),n=r instanceof A?V(this,r,t):!1;break;default:throw SyntaxError("Unknown binary operator: "+n.operator)}e[e.length-1].value=n};h.prototype.stepBlockStatement=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new v(n,t.scope);e.pop()};h.prototype.stepBreakStatement=function(e,t,n){Je(this,1,void 0,n.label&&n.label.name)};h.prototype.Hb=0;h.prototype.stepCallExpression=function(e,t,n){if(!t.ia){t.ia=1;var r=new v(n.callee,t.scope);return r.sa=!0,r}if(t.ia===1){t.ia=2;var o=t.value;if(Array.isArray(o)){if(t.U=Kt(this,o),o[0]===Oe?t.Pb=o[1]==="eval":t.B=o[0],o=t.U,this.P)return t.ia=1,Ke(this,o,t.value)}else t.U=o;t.F=[],t.A=0}if(o=t.U,!t.Qa){if(t.A!==0&&t.F.push(t.value),n.arguments[t.A])return new v(n.arguments[t.A++],t.scope);if(n.type==="NewExpression"){if(o instanceof A&&!o.Ab||w(this,this.j,J(this,n.callee)+" is not a constructor"),o===this.qa)t.B=je(this);else{var s=o.h.prototype;(typeof s!="object"||s===null)&&(s=this.M),t.B=this.s(s)}t.isConstructor=!0}t.Qa=!0}if(t.eb)e.pop(),e[e.length-1].value=t.isConstructor&&typeof t.value!="object"?t.B:t.value;else{if(t.eb=!0,o instanceof A||w(this,this.j,J(this,n.callee)+" is not a function"),e=o.node){for(n=_t(this,e.body,o.Va),r=je(this),o=0;o<t.F.length;o++)this.g(r,o,t.F[o]);for(this.g(n.object,"arguments",r),o=0;o<e.oa.length;o++)this.g(n.object,e.oa[o].name,t.F.length>o?t.F[o]:void 0);return n.S||(t.B=Nt(this,t.B)),this.g(n.object,"this",t.B,Wt),t.value=void 0,new v(e.body,n)}if(o.eval)if(o=t.F[0],typeof o!="string")t.value=o;else{try{r=Ce(String(o),"eval"+this.Hb++)}catch(f){w(this,this.T,"Invalid code: "+f.message)}return o=this.ya(),o.type="EvalProgram_",o.body=r.body,st(o,n.start,n.end),n=t.Pb?t.scope:this.N,n.S?n=_t(this,r,n):ze(this,r,n),this.value=void 0,new v(o,n)}else if(o.Ta)t.scope.S||(t.B=Nt(this,t.B)),t.value=o.Ta.apply(t.B,t.F);else if(o.Za){var a=this;r=o.Za.length-1,r=t.F.concat(Array(r)).slice(0,r),r.push(function(f){t.value=f,a.za=!1}),this.za=!0,t.scope.S||(t.B=Nt(this,t.B)),o.Za.apply(t.B,r)}else w(this,this.j,J(this,n.callee)+" is not callable")}};h.prototype.stepConditionalExpression=function(e,t,n){var r=t.na||0;if(r===0)return t.na=1,new v(n.test,t.scope);if(r===1){if(t.na=2,(r=!!t.value)&&n.da)return new v(n.da,t.scope);if(!r&&n.alternate)return new v(n.alternate,t.scope);this.value=void 0}e.pop(),n.type==="ConditionalExpression"&&(e[e.length-1].value=t.value)};h.prototype.stepContinueStatement=function(e,t,n){Je(this,2,void 0,n.label&&n.label.name)};h.prototype.stepDebuggerStatement=function(e){e.pop()};h.prototype.stepDoWhileStatement=function(e,t,n){if(n.type==="DoWhileStatement"&&t.ga===void 0&&(t.value=!0,t.ga=!0),!t.ga)return t.ga=!0,new v(n.test,t.scope);if(!t.value)e.pop();else if(n.body)return t.ga=!1,t.W=!0,new v(n.body,t.scope)};h.prototype.stepEmptyStatement=function(e){e.pop()};h.prototype.stepEvalProgram_=function(e,t,n){var r=t.A||0;if(n=n.body[r])return t.A=r+1,new v(n,t.scope);e.pop(),e[e.length-1].value=this.value};h.prototype.stepExpressionStatement=function(e,t,n){if(!t.ka)return this.value=void 0,t.ka=!0,new v(n.la,t.scope);e.pop(),this.value=t.value};h.prototype.stepForInStatement=function(e,t,n){if(!t.Ub&&(t.Ub=!0,n.left.fa&&n.left.fa[0].ua))return t.scope.S&&w(this,this.T,"for-in loop variable declaration may not have an initializer"),new v(n.left,t.scope);if(!t.Ca)return t.Ca=!0,t.pa||(t.pa=t.value),new v(n.right,t.scope);if(t.W||(t.W=!0,t.u=t.value,t.kb=Object.create(null)),t.Ra===void 0)e:for(;;){if(t.u instanceof A)for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u.h));;){var r=t.wa.shift();if(r===void 0)break;if(Object.prototype.hasOwnProperty.call(t.u.h,r)&&!t.kb[r]&&(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u.h,r))){t.Ra=r;break e}}else if(t.u!==null&&t.u!==void 0){for(t.wa||(t.wa=Object.getOwnPropertyNames(t.u));r=t.wa.shift(),r!==void 0;)if(t.kb[r]=!0,Object.prototype.propertyIsEnumerable.call(t.u,r)){t.Ra=r;break e}}if(t.u=le(this,t.u),t.wa=null,t.u===null){e.pop();return}}if(!t.wb)if(t.wb=!0,e=n.left,e.type==="VariableDeclaration")t.pa=[Oe,e.fa[0].id.name];else return t.pa=null,t=new v(e,t.scope),t.sa=!0,t;if(t.pa||(t.pa=t.value),!t.ta&&(t.ta=!0,e=t.Ra,r=Yt(this,t.pa,e)))return Zt(this,r,t.pa,e);if(t.Ra=void 0,t.wb=!1,t.ta=!1,n.body)return new v(n.body,t.scope)};h.prototype.stepForStatement=function(e,t,n){switch(t.na){default:if(t.na=1,n.ua)return new v(n.ua,t.scope);break;case 1:if(t.na=2,n.test)return new v(n.test,t.scope);break;case 2:if(t.na=3,n.test&&!t.value)e.pop();else return t.W=!0,new v(n.body,t.scope);break;case 3:if(t.na=1,n.update)return new v(n.update,t.scope)}};h.prototype.stepFunctionDeclaration=function(e){e.pop()};h.prototype.stepFunctionExpression=function(e,t,n){e.pop(),t=e[e.length-1],e=t.scope,n.id&&(e=zt(this,e)),t.value=Ht(this,n,e,t.Pa),n.id&&this.g(e.object,n.id.name,t.value,Wt)};h.prototype.stepIdentifier=function(e,t,n){if(e.pop(),t.sa)e[e.length-1].value=[Oe,n.name];else{if(t=Jt(this,n.name),this.P)return Ke(this,t,this.Na);e[e.length-1].value=t}};h.prototype.stepIfStatement=h.prototype.stepConditionalExpression;h.prototype.stepLabeledStatement=function(e,t,n){return e.pop(),e=t.labels||[],e.push(n.label.name),t=new v(n.body,t.scope),t.labels=e,t};h.prototype.stepLiteral=function(e,t,n){e.pop(),t=n.value,t instanceof RegExp&&(n=this.s(this.Ma),$t(this,n,t),t=n),e[e.length-1].value=t};h.prototype.stepLogicalExpression=function(e,t,n){if(n.operator!=="&&"&&n.operator!=="||")throw SyntaxError("Unknown logical operator: "+n.operator);if(!t.ja)return t.ja=!0,new v(n.left,t.scope);if(t.Da)e.pop(),e[e.length-1].value=t.value;else if(n.operator==="&&"&&!t.value||n.operator==="||"&&t.value)e.pop(),e[e.length-1].value=t.value;else return t.Da=!0,new v(n.right,t.scope)};h.prototype.stepMemberExpression=function(e,t,n){if(!t.Ca)return t.Ca=!0,new v(n.object,t.scope);if(n.bb)if(t.Vb)n=t.value;else return t.u=t.value,t.Vb=!0,new v(n.Wa,t.scope);else t.u=t.value,n=n.Wa.name;if(e.pop(),t.sa)e[e.length-1].value=[t.u,n];else{if(n=this.G(t.u,n),this.P)return Ke(this,n,t.u);e[e.length-1].value=n}};h.prototype.stepNewExpression=h.prototype.stepCallExpression;h.prototype.stepObjectExpression=function(e,t,n){var r=t.A||0,o=n.h[r];if(t.u){var s=t.Pa;t.Ja[s]||(t.Ja[s]={}),t.Ja[s][o.kind]=t.value,t.A=++r,o=n.h[r]}else t.u=this.s(this.M),t.Ja=Object.create(null);if(o){var a=o.key;if(a.type==="Identifier")s=a.name;else if(a.type==="Literal")s=a.value;else throw SyntaxError("Unknown object structure: "+a.type);return t.Pa=s,new v(o.value,t.scope)}for(a in t.Ja)n=t.Ja[a],"get"in n||"set"in n?this.g(t.u,a,Xe,{configurable:!0,enumerable:!0,get:n.get,set:n.set}):this.g(t.u,a,n.init);e.pop(),e[e.length-1].value=t.u};h.prototype.stepProgram=function(e,t,n){if(e=n.body.shift())return t.done=!1,new v(e,t.scope);t.done=!0};h.prototype.stepReturnStatement=function(e,t,n){if(n.K&&!t.ka)return t.ka=!0,new v(n.K,t.scope);Je(this,3,t.value)};h.prototype.stepSequenceExpression=function(e,t,n){var r=t.A||0;if(n=n.xb[r])return t.A=r+1,new v(n,t.scope);e.pop(),e[e.length-1].value=t.value};h.prototype.stepSwitchStatement=function(e,t,n){if(!t.ga)return t.ga=1,new v(n.Qb,t.scope);for(t.ga===1&&(t.ga=2,t.hc=t.value,t.cb=-1);;){var r=t.gb||0,o=n.tb[r];if(t.Ha||!o||o.test)if(o||t.Ha||t.cb===-1)if(o){if(!t.Ha&&!t.Fb&&o.test)return t.Fb=!0,new v(o.test,t.scope);if(t.Ha||t.value===t.hc){t.Ha=!0;var s=t.A||0;if(o.da[s])return t.Zb=!0,t.A=s+1,new v(o.da[s],t.scope)}t.Fb=!1,t.A=0,t.gb=r+1}else{e.pop();break}else t.Ha=!0,t.gb=t.cb;else t.cb=r,t.gb=r+1}};h.prototype.stepThisExpression=function(e){e.pop(),e[e.length-1].value=Jt(this,"this")};h.prototype.stepThrowStatement=function(e,t,n){if(t.ka)w(this,t.value);else return t.ka=!0,new v(n.K,t.scope)};h.prototype.stepTryStatement=function(e,t,n){if(!t.Rb)return t.Rb=!0,new v(n.block,t.scope);if(t.ea&&t.ea.type===4&&!t.Tb&&n.Ea)return t.Tb=!0,e=zt(this,t.scope),this.g(e.object,n.Ea.Ua.name,t.ea.value),t.ea=void 0,new v(n.Ea.body,e);if(!t.Sb&&n.fb)return t.Sb=!0,new v(n.fb,t.scope);e.pop(),t.ea&&Je(this,t.ea.type,t.ea.value,t.ea.label)};h.prototype.stepUnaryExpression=function(e,t,n){if(!t.ka)return t.ka=!0,e=new v(n.K,t.scope),e.sa=n.operator==="delete",e;e.pop();var r=t.value;switch(n.operator){case"-":r=-r;break;case"+":r=+r;break;case"!":r=!r;break;case"~":r=~r;break;case"delete":if(n=!0,Array.isArray(r)){var o=r[0];o===Oe&&(o=t.scope),r=String(r[1]);try{delete o.h[r]}catch{t.scope.S?w(this,this.j,"Cannot delete property '"+r+"' of '"+o+"'"):n=!1}}r=n;break;case"typeof":r=r&&r.H==="Function"?"function":typeof r;break;case"void":r=void 0;break;default:throw SyntaxError("Unknown unary operator: "+n.operator)}e[e.length-1].value=r};h.prototype.stepUpdateExpression=function(e,t,n){if(!t.ja)return t.ja=!0,e=new v(n.K,t.scope),e.sa=!0,e;if(t.Ga||(t.Ga=t.value),t.Ba&&(t.ma=t.value),!t.Ba){var r=Kt(this,t.Ga);if(t.ma=r,this.P)return t.Ba=!0,Ke(this,r,t.Ga)}if(t.ta)e.pop(),e[e.length-1].value=t.ib;else{if(r=Number(t.ma),n.operator==="++")var o=r+1;else if(n.operator==="--")o=r-1;else throw SyntaxError("Unknown update expression: "+n.operator);if(n=n.prefix?o:r,r=Yt(this,t.Ga,o))return t.ta=!0,t.ib=n,Zt(this,r,t.Ga,o);e.pop(),e[e.length-1].value=n}};h.prototype.stepVariableDeclaration=function(e,t,n){n=n.fa;var r=t.A||0,o=n[r];for(t.Bb&&o&&(Xr(this,o.id.name,t.value),t.Bb=!1,o=n[++r]);o;){if(o.ua)return t.A=r,t.Bb=!0,t.Pa=o.id.name,new v(o.ua,t.scope);o=n[++r]}e.pop()};h.prototype.stepWithStatement=function(e,t,n){return t.Ca?(e.pop(),e=zt(this,t.scope,t.value),new v(n.body,e)):(t.Ca=!0,new v(n.object,t.scope))};h.prototype.stepWhileStatement=h.prototype.stepDoWhileStatement;he.Interpreter=h;h.prototype.step=h.prototype.lb;h.prototype.run=h.prototype.Eb;h.prototype.appendCode=h.prototype.Jb;h.prototype.createObject=h.prototype.Aa;h.prototype.createObjectProto=h.prototype.s;h.prototype.createAsyncFunction=h.prototype.ub;h.prototype.createNativeFunction=h.prototype.i;h.prototype.getProperty=h.prototype.G;h.prototype.setProperty=h.prototype.g;h.prototype.nativeToPseudo=h.prototype.Ia;h.prototype.pseudoToNative=h.prototype.R;h.prototype.getGlobalScope=h.prototype.Xb;h.prototype.getStateStack=h.prototype.Yb;h.prototype.setStateStack=h.prototype.ec;h.VALUE_IN_DESCRIPTOR=Xe;function Xn(){const e=h.prototype.getProperty,t=h.prototype.setProperty;function n(a,f){if(a==null||!a._connected)return e.call(this,a,f);const d=a._connected[f];return Array.isArray(d)?this.nativeToPseudo(d):typeof d=="object"?this.createConnectedObject(d):d}function r(a,f,d,x){if(a==null||!a._connected)return t.call(this,a,f,d,x);a._connected[f]=this.pseudoToNative(d)}const o=[],s=[];for(const a of Object.keys(h.prototype))h.prototype[a]===e&&o.push(a),h.prototype[a]===t&&s.push(a);for(const a of o)h.prototype[a]=n;for(const a of s)h.prototype[a]=r;h.prototype.createConnectedObject=function(a){const f=this.createObject(this.OBJECT);return f._connected=a,f}}Xn();const zn=e=>e.replace(/^.*?function main\(\)/,`
|
|
9
9
|
var __awaiter = function (e, t, n, r) {return r()},
|
|
10
10
|
__generator = function (e, t) { return t() };
|
|
11
|
-
function main()`).replace(/\?\./g,"."),
|
|
12
|
-
`),T=
|
|
11
|
+
function main()`).replace(/\?\./g,"."),Dr=e=>e+"JSON",Jn=({builder:e,context:t,event:n,rootState:r,localState:o,rootSetState:s,code:a})=>{const f=Lt({rootState:r,localState:o,rootSetState:s}),d=$r({builder:e,context:t,event:n,state:f}),x=d.map(([O])=>{const N=Dr(O);return O==="state"?"":`var ${O} = ${N} === undefined ? undefined : JSON.parse(${N});`}).join(`
|
|
12
|
+
`),T=zn(a);if(T==="")return;const I=`
|
|
13
13
|
function theFunction() {
|
|
14
|
-
${
|
|
14
|
+
${x}
|
|
15
15
|
|
|
16
16
|
${T}
|
|
17
17
|
}
|
|
18
18
|
theFunction();
|
|
19
|
-
|
|
19
|
+
`,$=function(O,N){d.forEach(([U,C])=>{if(U==="state")O.setProperty(N,U,O.createConnectedObject(C),O.READONLY_DESCRIPTOR);else{const ce=JSON.stringify(C);O.setProperty(N,Dr(U),ce)}})},X=new h(I,$);return X.run(),X.pseudoToNative(X.value)};function Kn(){var e;return typeof process!="undefined"&&G.checkIsDefined((e=process==null?void 0:process.versions)==null?void 0:e.node)}const Yn=({shouldLogWarning:e})=>{var o;if(!Kn())return!1;const t=process.arch==="arm64",n=process.version.startsWith("v20"),r=(o=process.env.NODE_OPTIONS)==null?void 0:o.includes("--no-node-snapshot");return t&&n&&!r?(e&&G.logger.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "),!0):!1},Zn=e=>G.isBrowser()||Yn({shouldLogWarning:!0})?Tn(e):Jn(e),qn=/^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/,Qn=/(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/,eo=e=>{var t,n,r,o,s,a;return((r=(n=(t=qn.exec(e.trim()))==null?void 0:t.groups)==null?void 0:n.getPath)==null?void 0:r.slice(1))||((a=(s=(o=Qn.exec(e.trim()))==null?void 0:o.groups)==null?void 0:s.getPath)==null?void 0:a.slice(1))};function Ye({code:e,context:t,localState:n,rootState:r,rootSetState:o,event:s,isExpression:a=!0}){if(e.trim()==="")return;const f=eo(e.trim());if(f)return Gr({...r,...n},f);const d={code:In(e,{isExpression:a}),builder:An(),context:t,event:s,rootSetState:o,rootState:r,localState:n};try{return Zn(d)}catch(x){G.logger.error("Failed code evaluation: "+x.message,{code:e});return}}function to(e,t){var n;return{...(n=e.component)==null?void 0:n.options,...e.options,...ro(e,t)}}const ro=(e,t)=>{var n,r;if(((n=e.component)==null?void 0:n.name)==="Text"&&((r=e.component.options)!=null&&r.text)&&typeof e.component.options.text=="string")return{...e.component.options,text:e.component.options.text.replace(/{{([^}]+)}}/g,(o,s)=>Ye({code:s,context:t,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState}))}};function no(e,...t){const n=Object.assign({},e);for(const r of t)delete n[r];return n}function it(e,t,n=null,r=null,o=new WeakSet){if(e==null||typeof e!="object"){t(e,s=>{n!==null&&r!==null&&(n[r]=s)});return}o.has(e)||(o.add(e),Array.isArray(e)?e.forEach((s,a)=>{t(s,d=>{e[a]=d}),it(s,t,e,a,o)}):Object.entries(e).forEach(([s,a])=>{t(a,d=>{e[s]=d}),it(a,t,e,s,o)}))}function Kr(e){return e&&typeof e=="object"&&e["@type"]==="@builder.io/core:LocalizedValue"}function oo(e){if(!e||!Object.getOwnPropertyNames(e).length)return!1;let t=!1;return it(e,n=>{if(Kr(n)){t=!0;return}}),t}function io(e,t){return!e||!Object.getOwnPropertyNames(e).length?{}:(it(e,(n,r)=>{var o;Kr(n)&&r((o=n[t])!=null?o:void 0)}),e)}function so(e,t){var n,r;return(n=e.component)!=null&&n.options&&oo((r=e.component)==null?void 0:r.options)&&(t||console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"),e.component.options=io(e.component.options,t!=null?t:"Default")),e}const qt=e=>JSON.parse(JSON.stringify(e)),Yr=(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};function Ut(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>Ut(n));if(e["@type"]==="@builder.io/sdk:Element")return e;const t={};for(const n in e)n!=="meta"&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=Ut(e[n]));return t}const ao=["svelte","vue","angular","qwik","solid"].includes(G.TARGET),lo=e=>{if(ao){const t=qt(e);return{...t,properties:{...t.properties},actions:{...t.actions}}}else{const t=Ut(no(e,"children","meta"));return{...t,properties:{...t.properties},actions:{...t.actions},children:e.children,meta:e.meta}}},uo=({block:e,context:t,localState:n,rootState:r,rootSetState:o})=>{if(!e.bindings)return e;const s=lo(e);for(const a in e.bindings){const f=e.bindings[a],d=Ye({code:f,localState:n,rootState:r,rootSetState:o,context:t});Yr(s,a,d)}return s};function co({block:e,context:t,localState:n,rootState:r,rootSetState:o}){let s=e;return s=uo({block:s,localState:n,rootState:r,rootSetState:o,context:t}),s=so(s,r.locale),s}const lt=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"";function fo(e,t,n={}){let r,o,s,a=null,f=0;const d=function(){f=n.leading===!1?0:Date.now(),a=null,s=e.apply(r,o),a||(r=o=null)};return function(){const x=Date.now();!f&&n.leading===!1&&(f=x);const T=t-(x-f);return r=this,o=arguments,T<=0||T>t?(a&&(clearTimeout(a),a=null),f=x,s=e.apply(r,o),a||(r=o=null)):!a&&n.trailing!==!1&&(a=setTimeout(d,T)),s}}function He(e,...t){const n=Object(e);for(let r=1;r<arguments.length;r++){const o=arguments[r];if(o!=null)for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n}function po(e){for(const t of e)switch(t.trigger){case"pageLoad":Qr(t);break;case"scrollInView":go(t);break}}function Zr(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function qr(e,t){const n=ho(e),r=getComputedStyle(t),o=e.steps[0].styles,s=e.steps[e.steps.length-1].styles,a=[o,s];for(const f of a)for(const d of n)d in f||(f[d]=r[d])}function ho(e){const t=[];for(const n of e.steps)for(const r in n.styles)t.indexOf(r)===-1&&t.push(r);return t}function Qr(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){Zr(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{qr(e,n),n.style.transition="none",n.style.transitionDelay="0",He(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${lt(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),He(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function go(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){Zr(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{qr(e,n);let r=!1,o=!1;function s(){!r&&f(n)?(r=!0,o=!0,setTimeout(()=>{He(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",a),setTimeout(()=>{o=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!o&&!f(n)&&(r=!1,He(n.style,e.steps[0].styles))}const a=fo(s,200,{leading:!1});function f(T){const I=T.getBoundingClientRect(),$=window.innerHeight,P=(e.thresholdPercent||0)/100*$;return I.bottom>P&&I.top<$-P}const d=e.steps[0].styles;function x(){He(n.style,d)}x(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${lt(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",a,{capture:!0,passive:!0}),s()})}const en=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${lt(n)}: ${r};`}).filter(G.checkIsDefined),yo=e=>en(e).join(`
|
|
20
20
|
`),_e=({mediaQuery:e,className:t,styles:n})=>{const r=`.${t} {
|
|
21
|
-
${
|
|
21
|
+
${yo(n)}
|
|
22
22
|
}`;return e?`${e} {
|
|
23
23
|
${r}
|
|
24
|
-
}`:r};function
|
|
24
|
+
}`:r};function mo({style:e}){return e}const vo=({block:e,context:t})=>tn(mo({style:e.style||{},context:t,block:e}));function tn(e){switch(G.TARGET){case"svelte":case"vue":case"solid":case"angular":return en(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const rn=(e,t)=>e?t?e.models&&e.models.length>0&&!e.models.includes(t):!1:!0,xo=({block:e,registeredComponents:t,model:n})=>{var s;const r=(s=e.component)==null?void 0:s.name;if(!r)return null;const o=t[r];if(!o||rn(o,n)){console.warn(`
|
|
25
25
|
Could not find a registered component named "${r}".
|
|
26
|
-
If you registered it, is the file that registered it imported by the file that needs to render it?`);return}else return o},xo=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const o=Ye({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(o))return;const s=n.collection.split(".").pop(),a=n.itemName||(s?s+"Item":"item");return o.map((d,v)=>({context:{...t,localState:{...t.localState,$index:v,$item:d,[a]:d,[`$${a}Index`]:v}},block:r}))},wo=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},So=(e,t,n)=>{var r;return(r=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&r.builderComponents?{builderComponents:Object.fromEntries(Object.entries(t).filter(([s,a])=>!tn(a,n)))}:{}},Eo=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},ko=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},Dr=e=>e.toString(),rn={xsmall:{min:0,default:160,max:320},small:{min:321,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Bt=(e,t=rn)=>`@media (max-width: ${t[e].max}px)`,nn=e=>{const t=Zt(rn);if(!e)return t;const{xsmall:n,small:r,medium:o}=e;if(n){const d=Math.floor(n/2);t.xsmall={max:n,min:d,default:d+1}}if(!r||!o)return t;const s=n?t.xsmall.max+1:Math.floor(r/2);t.small={max:r,min:s,default:s+1};const a=t.small.max+1;t.medium={max:o,min:a,default:a+1};const f=t.medium.max+1;return t.large={max:2e3,min:f,default:f+1},t};function on(e){return x.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function Co(e){function t(){const r=e.block;return W.checkIsDefined(r.hide)?!r.hide:W.checkIsDefined(r.show)?r.show:!0}function n(){var ce,Ae,Ie,B,q;const r=e.block,o=r.responsiveStyles,s=e.context.content,a=nn(((ce=s==null?void 0:s.meta)==null?void 0:ce.breakpoints)||{}),f=!!((Ie=(Ae=s==null?void 0:s.meta)==null?void 0:Ae.breakpoints)!=null&&Ie.xsmall),d=o==null?void 0:o.large,v=o==null?void 0:o.medium,T=o==null?void 0:o.small,I=o==null?void 0:o.xsmall,G=r.id;if(!G)return"";const H=d?_e({className:G,styles:d}):"",P=v?_e({className:G,styles:v,mediaQuery:Bt("medium",a)}):"",O=T?_e({className:G,styles:T,mediaQuery:Bt("small",a)}):"",N=I&&f?_e({className:G,styles:I,mediaQuery:Bt("xsmall",a)}):"",_=r.animations&&r.animations.find(S=>S.trigger==="hover");let C="";if(_){const S=((q=(B=_.steps)==null?void 0:B[1])==null?void 0:q.styles)||{};C=_e({className:`${G}:hover`,styles:{...S,transition:`all ${_.duration}s ${lt(_.easing)}`,transitionDelay:_.delay?`${_.delay}s`:"0s"}})||""}return[H,P,O,N,C].join(" ")}return x.jsx(x.Fragment,{children:n()&&t()?x.jsx(x.Fragment,{children:x.jsx(on,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function jo(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Oo=e=>`on${jo(e)}`,Ao=(e,t)=>n=>Ye({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function sn(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];let a=Oo(o);if(e.stripPrefix)switch(W.TARGET){case"vue":a=a.replace("v-on:","");break;case"svelte":a=a.replace("on:","");break}t[a]=Ao(s,e)}return t}function Io({properties:e}){return e}const To=e=>({href:e.href});function qt({block:e,context:t}){var r;const n={...To(e),...e.properties,"builder-id":e.id,style:mo({block:e,context:t}),[Cn.getClassPropName()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Io({properties:n,context:t,block:e})}function Po(e){return x.jsx(jn.DynamicRenderer,{TagName:e.Wrapper,attributes:qt({block:e.block,context:e.context}),actionAttributes:sn({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function bo(e){return $.useEffect(()=>{},[]),x.jsx(x.Fragment,{children:e.children})}function Ro(e){var r,o;$.useState(()=>0);function t(){return e.includeBlockProps?{...qt({block:e.block,context:e.context}),...sn({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}function n(){return e.wrapperProps}return $.useEffect(()=>{},[e.wrapperProps,(o=(r=e.block)==null?void 0:r.component)==null?void 0:o.options]),x.jsx(x.Fragment,{children:e.Wrapper.load?x.jsx(x.Fragment,{children:x.jsx(bo,{load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:t(),children:e.children})}):x.jsx(e.Wrapper,{...n(),attributes:t(),children:e.children})})}const No=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:o,isInteractive:s,contextValue:a})=>{const f={...e,...o?{attributes:qt({block:t,context:a})}:{}};return s?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:o}:f};function _r(e){var r;$.useState(()=>!1);const[t,n]=$.useState(()=>e.isInteractive?Ro:e.componentRef);return x.jsx(x.Fragment,{children:e.componentRef?x.jsx(x.Fragment,{children:x.jsx(t,{...No({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:e.componentRef?x.jsx(x.Fragment,{children:(r=e.blockChildren)==null?void 0:r.map(o=>x.jsx(ut,{block:o,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},o.id))}):null})}):null})}function Ur(e){const[t,n]=$.useState(()=>e.repeatContext);return $.useEffect(()=>{n(e.repeatContext)},[e.repeatContext]),x.jsx(Fr.BuilderContext.Provider,{value:t,children:x.jsx(ut,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function ut(e){var T,I,G,H;function t(){return xo({block:e.block,context:e.context})}const[n,r]=$.useState(()=>({value:null,update:!1}));function o(){var O;if(n.value&&!n.update&&!W.isPreviewing())return n.value;const P=(O=e.block.repeat)!=null&&O.collection?e.block:uo({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context});return n.value=P,n.update=!1,P}function s(){return vo({block:o(),registeredComponents:e.registeredComponents,model:e.context.model})}function a(){var O;return e.block.tagName==="a"||((O=o().properties)==null?void 0:O.href)||o().href?e.linkComponent||"a":e.block.tagName||"div"}function f(){var N,_;if((N=e.block.repeat)!=null&&N.collection)return!!((_=t==null?void 0:t())!=null&&_.length);const P="hide"in o()?o().hide:!1;return("show"in o()?o().show:!0)&&!P}function d(){var O,N;return!((O=s==null?void 0:s())!=null&&O.component)&&!t()?(N=o().children)!=null?N:[]:[]}function v(){var P,O,N,_;return{blockChildren:(P=o().children)!=null?P:[],componentRef:(O=s==null?void 0:s())==null?void 0:O.component,componentOptions:{...eo(o(),e.context),...Eo(s(),o()),...ko(s(),e.context),...wo(s(),e.linkComponent),...So(s(),e.registeredComponents,e.context.model)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((N=s==null?void 0:s())==null?void 0:N.noWrap)===!0,isInteractive:!((_=s==null?void 0:s())!=null&&_.isRSC&&W.TARGET==="rsc")}}return $.useEffect(()=>{const P=o().id,O=o().animations;O&&P&&fo(O.map(N=>({...N,elementId:P})))},[]),$.useEffect(()=>{n.update=!0}),x.jsx(x.Fragment,{children:f()?x.jsxs(x.Fragment,{children:[x.jsx(Co,{block:o(),context:e.context}),(T=s==null?void 0:s())!=null&&T.noWrap?t()?x.jsx(x.Fragment,{children:(H=t())==null?void 0:H.map((P,O)=>x.jsx(Ur,{repeatContext:P.context,block:P.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},Dr(O)))}):x.jsx(_r,{componentRef:v().componentRef,componentOptions:v().componentOptions,blockChildren:v().blockChildren,context:v().context,registeredComponents:v().registeredComponents,linkComponent:v().linkComponent,builderBlock:v().builderBlock,includeBlockProps:v().includeBlockProps,isInteractive:v().isInteractive}):x.jsx(x.Fragment,{children:t()?x.jsx(x.Fragment,{children:(G=t())==null?void 0:G.map((P,O)=>x.jsx(Ur,{repeatContext:P.context,block:P.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},Dr(O)))}):x.jsxs(Po,{Wrapper:a(),block:o(),context:e.context,children:[x.jsx(_r,{componentRef:v().componentRef,componentOptions:v().componentOptions,blockChildren:v().blockChildren,context:v().context,registeredComponents:v().registeredComponents,linkComponent:v().linkComponent,builderBlock:v().builderBlock,includeBlockProps:v().includeBlockProps,isInteractive:v().isInteractive}),(I=d())==null?void 0:I.map(P=>x.jsx(ut,{block:P,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},P.id))]})})]}):null})}function Bo(e){const t=$.useRef(null);$.useState(()=>!1);function n(){var a;return["builder-blocks",(a=e.blocks)!=null&&a.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function r(){if(!e.path)return;const a="this.",f="component.options.";return e.path.startsWith(a)?e.path.replace(a,""):e.path.startsWith(f)?e.path:`${f}${e.path||""}`}function o(){var a,f;W.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((f=window.parent)==null||f.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}function s(){var a,f;W.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((f=window.parent)==null||f.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}return $.useEffect(()=>{},[]),$.useEffect(()=>{},[e.blocks]),x.jsxs(x.Fragment,{children:[x.jsx("style",{children:`.props-blocks-wrapper-b46bf284 {
|
|
26
|
+
If you registered it, is the file that registered it imported by the file that needs to render it?`);return}else return o},wo=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const o=Ye({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(o))return;const s=n.collection.split(".").pop(),a=n.itemName||(s?s+"Item":"item");return o.map((d,x)=>({context:{...t,localState:{...t.localState,$index:x,$item:d,[a]:d,[`$${a}Index`]:x}},block:r}))},So=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},Eo=(e,t,n)=>{var r;return(r=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&r.builderComponents?{builderComponents:Object.fromEntries(Object.entries(t).filter(([s,a])=>!rn(a,n)))}:{}},ko=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},Co=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},_r=e=>e.toString();function jo(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Oo=e=>`on${jo(e)}`,Ao=(e,t)=>n=>Ye({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function nn(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];let a=Oo(o);if(e.stripPrefix)switch(G.TARGET){case"vue":a=a.replace("v-on:","");break;case"svelte":a=a.replace("on:","");break}t[a]=Ao(s,e)}return t}function Io({properties:e}){return e}const To=e=>({href:e.href});function Qt({block:e,context:t}){var r;const n={...To(e),...e.properties,"builder-id":e.id,style:vo({block:e,context:t}),[jn.getClassPropName()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return Io({properties:n,context:t,block:e})}function Po(e){return g.jsx(On.DynamicRenderer,{TagName:e.Wrapper,attributes:Qt({block:e.block,context:e.context}),actionAttributes:nn({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function bo(e){return B.useEffect(()=>{},[]),g.jsx(g.Fragment,{children:e.children})}function Ro(e){var r,o;B.useState(()=>0);function t(){return e.includeBlockProps?{...Qt({block:e.block,context:e.context}),...nn({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}function n(){return e.wrapperProps}return B.useEffect(()=>{},[e.wrapperProps,(o=(r=e.block)==null?void 0:r.component)==null?void 0:o.options]),g.jsx(g.Fragment,{children:e.Wrapper.load?g.jsx(g.Fragment,{children:g.jsx(bo,{load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:t(),children:e.children})}):g.jsx(e.Wrapper,{...n(),attributes:t(),children:e.children})})}const No=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:o,isInteractive:s,contextValue:a})=>{const f={...e,...o?{attributes:Qt({block:t,context:a})}:{}};return s?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:o}:f};function Ur(e){var r;B.useState(()=>!1);const[t,n]=B.useState(()=>e.isInteractive?Ro:e.componentRef);return g.jsx(g.Fragment,{children:e.componentRef?g.jsx(g.Fragment,{children:g.jsx(t,{...No({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:e.componentRef?g.jsx(g.Fragment,{children:(r=e.blockChildren)==null?void 0:r.map(o=>g.jsx(ut,{block:o,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},o.id))}):null})}):null})}function Fr(e){const[t,n]=B.useState(()=>e.repeatContext);return B.useEffect(()=>{n(e.repeatContext)},[e.repeatContext]),g.jsx(Ft.BuilderContext.Provider,{value:t,children:g.jsx(ut,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}const on={xsmall:{min:0,default:160,max:320},small:{min:321,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Bt=(e,t=on)=>`@media (max-width: ${t[e].max}px)`,sn=e=>{const t=qt(on);if(!e)return t;const{xsmall:n,small:r,medium:o}=e;if(n){const d=Math.floor(n/2);t.xsmall={max:n,min:d,default:d+1}}if(!r||!o)return t;const s=n?t.xsmall.max+1:Math.floor(r/2);t.small={max:r,min:s,default:s+1};const a=t.small.max+1;t.medium={max:o,min:a,default:a+1};const f=t.medium.max+1;return t.large={max:2e3,min:f,default:f+1},t};function an(e){return g.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function Lr(e){function t(){const r=e.block;return G.checkIsDefined(r.hide)?!r.hide:G.checkIsDefined(r.show)?r.show:!0}function n(){var ce,Ae,Ie,M,q;const r=e.block,o=r.responsiveStyles,s=e.context.content,a=sn(((ce=s==null?void 0:s.meta)==null?void 0:ce.breakpoints)||{}),f=!!((Ie=(Ae=s==null?void 0:s.meta)==null?void 0:Ae.breakpoints)!=null&&Ie.xsmall),d=o==null?void 0:o.large,x=o==null?void 0:o.medium,T=o==null?void 0:o.small,I=o==null?void 0:o.xsmall,$=r.id;if(!$)return"";const X=d?_e({className:$,styles:d}):"",P=x?_e({className:$,styles:x,mediaQuery:Bt("medium",a)}):"",O=T?_e({className:$,styles:T,mediaQuery:Bt("small",a)}):"",N=I&&f?_e({className:$,styles:I,mediaQuery:Bt("xsmall",a)}):"",U=r.animations&&r.animations.find(S=>S.trigger==="hover");let C="";if(U){const S=((q=(M=U.steps)==null?void 0:M[1])==null?void 0:q.styles)||{};C=_e({className:`${$}:hover`,styles:{...S,transition:`all ${U.duration}s ${lt(U.easing)}`,transitionDelay:U.delay?`${U.delay}s`:"0s"}})||""}return[X,P,O,N,C].join(" ")}return g.jsx(g.Fragment,{children:n()&&t()?g.jsx(g.Fragment,{children:g.jsx(an,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function Bo(e){B.useState(()=>!1);const[t,n]=B.useState(()=>!1);return B.useContext(Ft.BuilderContext),B.useEffect(()=>{},[]),g.jsx(g.Fragment,{children:t?g.jsx(g.Fragment,{children:g.jsx(g.Fragment,{children:g.jsx(Lr,{block:e.block,context:e.context})})}):g.jsx(g.Fragment,{children:g.jsx(Lr,{block:e.block,context:e.context})})})}function ut(e){var T,I,$,X;function t(){return wo({block:e.block,context:e.context})}const[n,r]=B.useState(()=>({value:null,update:!1}));function o(){var O;if(n.value&&!n.update&&!G.isPreviewing())return n.value;const P=(O=e.block.repeat)!=null&&O.collection?e.block:co({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context});return n.value=P,n.update=!1,P}function s(){return xo({block:o(),registeredComponents:e.registeredComponents,model:e.context.model})}function a(){var O;return e.block.tagName==="a"||((O=o().properties)==null?void 0:O.href)||o().href?e.linkComponent||"a":e.block.tagName||"div"}function f(){var N,U;if((N=e.block.repeat)!=null&&N.collection)return!!((U=t==null?void 0:t())!=null&&U.length);const P="hide"in o()?o().hide:!1;return("show"in o()?o().show:!0)&&!P}function d(){var O,N;return!((O=s==null?void 0:s())!=null&&O.component)&&!t()?(N=o().children)!=null?N:[]:[]}function x(){var P,O,N,U;return{blockChildren:(P=o().children)!=null?P:[],componentRef:(O=s==null?void 0:s())==null?void 0:O.component,componentOptions:{...to(o(),e.context),...ko(s(),o()),...Co(s(),e.context),...So(s(),e.linkComponent),...Eo(s(),e.registeredComponents,e.context.model)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((N=s==null?void 0:s())==null?void 0:N.noWrap)===!0,isInteractive:!((U=s==null?void 0:s())!=null&&U.isRSC&&G.TARGET==="rsc")}}return B.useEffect(()=>{const P=o().id,O=o().animations;O&&P&&po(O.map(N=>({...N,elementId:P})))},[]),B.useEffect(()=>{n.update=!0}),g.jsx(g.Fragment,{children:f()?g.jsxs(g.Fragment,{children:[g.jsx(Bo,{block:o(),context:e.context,id:e.block.id}),(T=s==null?void 0:s())!=null&&T.noWrap?t()?g.jsx(g.Fragment,{children:(X=t())==null?void 0:X.map((P,O)=>g.jsx(Fr,{repeatContext:P.context,block:P.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},_r(O)))}):g.jsx(Ur,{componentRef:x().componentRef,componentOptions:x().componentOptions,blockChildren:x().blockChildren,context:x().context,registeredComponents:x().registeredComponents,linkComponent:x().linkComponent,builderBlock:x().builderBlock,includeBlockProps:x().includeBlockProps,isInteractive:x().isInteractive}):g.jsx(g.Fragment,{children:t()?g.jsx(g.Fragment,{children:($=t())==null?void 0:$.map((P,O)=>g.jsx(Fr,{repeatContext:P.context,block:P.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},_r(O)))}):g.jsxs(Po,{Wrapper:a(),block:o(),context:e.context,children:[g.jsx(Ur,{componentRef:x().componentRef,componentOptions:x().componentOptions,blockChildren:x().blockChildren,context:x().context,registeredComponents:x().registeredComponents,linkComponent:x().linkComponent,builderBlock:x().builderBlock,includeBlockProps:x().includeBlockProps,isInteractive:x().isInteractive}),(I=d())==null?void 0:I.map(P=>g.jsx(ut,{block:P,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},P.id))]})})]}):null})}function Mo(e){const t=B.useRef(null);B.useState(()=>!1);function n(){var a;return["builder-blocks",(a=e.blocks)!=null&&a.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function r(){if(!e.path)return;const a="this.",f="component.options.";return e.path.startsWith(a)?e.path.replace(a,""):e.path.startsWith(f)?e.path:`${f}${e.path||""}`}function o(){var a,f;G.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((f=window.parent)==null||f.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}function s(){var a,f;G.isEditing()&&!((a=e.blocks)!=null&&a.length)&&((f=window.parent)==null||f.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}return B.useEffect(()=>{},[]),B.useEffect(()=>{},[e.blocks]),g.jsxs(g.Fragment,{children:[g.jsx("style",{children:`.props-blocks-wrapper-b46bf284 {
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
align-items: stretch;
|
|
30
|
-
}`}),
|
|
30
|
+
}`}),g.jsx(e.BlocksWrapper,{ref:t,className:n()+" props-blocks-wrapper-b46bf284","builder-path":r(),"builder-parent-id":e.parent,style:e.styleProp,onClick:a=>o(),onMouseEnter:a=>s(),onKeyPress:a=>o(),...e.BlocksWrapperProps,children:e.children})]})}function ln(e){var r,o,s;const t=B.useContext(Ft.BuilderContext),n=B.useContext(Wr);return g.jsxs(Mo,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapperProps:e.BlocksWrapperProps||((r=e.context)==null?void 0:r.BlocksWrapperProps)||(t==null?void 0:t.BlocksWrapperProps),classNameProp:e.className,BlocksWrapper:((o=e.context)==null?void 0:o.BlocksWrapper)||(t==null?void 0:t.BlocksWrapper),children:[e.children,e.blocks?g.jsx(g.Fragment,{children:(s=e.blocks)==null?void 0:s.map(a=>g.jsx(ut,{block:a,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||(n==null?void 0:n.registeredComponents)},a.id))}):null]})}const Do=Object.freeze(Object.defineProperty({__proto__:null,default:ln},Symbol.toStringTag,{value:"Module"}));exports.Blocks=ln;exports.ComponentsContext=Wr;exports.InlinedStyles=an;exports.blocks=Do;exports.evaluate=Ye;exports.fastClone=qt;exports.get=Gr;exports.getSizesForBreakpoints=sn;exports.mapStyleObjToStrIfNeeded=tn;exports.set=Yr;exports.triggerAnimation=Qr;
|