// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`t-call (template calling) basic caller 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`ok\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) basic caller 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`_basic-callee\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) basic caller, no parent node 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`ok\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) basic caller, no parent node 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`_basic-callee\`); return function template(ctx, node, key = \\"\\") { return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) call with several sub nodes on same line 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx[zero]); return block1([], [b2]); } }" `; exports[`t-call (template calling) call with several sub nodes on same line 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); let block3 = createBlock(\`hey\`); let block5 = createBlock(\`yay\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b3 = block3(); let b4 = text(\` \`); let b5 = block5(); let b2 = multi([b3, b4, b5]); ctx[zero] = b2; let b6 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b6]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0' 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
cascade 2
\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx[zero]); return block1([], [b2]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0' 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`finalTemplate\`); let block1 = createBlock(\`
\`); let block3 = createBlock(\`cascade 1\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b3 = block3(); let b4 = html(ctx[zero]); let b2 = multi([b3, b4]); ctx[zero] = b2; let b5 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b5]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0' 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`subSubTemplate\`); let block1 = createBlock(\`
\`); let block3 = createBlock(\`cascade 0\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b3 = block3(); let b4 = html(ctx[zero]); let b2 = multi([b3, b4]); ctx[zero] = b2; let b5 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b5]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0' 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`subTemplate\`); let block1 = createBlock(\`
\`); let block3 = createBlock(\`hey\`); let block5 = createBlock(\`yay\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b3 = block3(); let b4 = text(\` \`); let b5 = block5(); let b2 = multi([b3, b4, b5]); ctx[zero] = b2; let b6 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b6]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0', without external divs 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block2 = createBlock(\`cascade 2\`); return function template(ctx, node, key = \\"\\") { let b2 = block2(); let b3 = html(ctx[zero]); return multi([b2, b3]); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0', without external divs 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`finalTemplate\`); let block2 = createBlock(\`cascade 1\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b2 = block2(); let b3 = html(ctx[zero]); let b1 = multi([b2, b3]); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0', without external divs 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`subSubTemplate\`); let block2 = createBlock(\`cascade 0\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b2 = block2(); let b3 = html(ctx[zero]); let b1 = multi([b2, b3]); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) cascading t-call t-raw='0', without external divs 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`subTemplate\`); let block2 = createBlock(\`hey\`); let block4 = createBlock(\`yay\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b2 = block2(); let b3 = text(\` \`); let b4 = block4(); let b1 = multi([b2, b3, b4]); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) dynamic t-call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['val']; return block1([d1]); } }" `; exports[`t-call (template calling) dynamic t-call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['val']; return block1([d1]); } }" `; exports[`t-call (template calling) dynamic t-call 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { const template2 = (ctx['template']); let b2 = call(template2, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) inherit context 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(ctx['foo']); } }" `; exports[`t-call (template calling) inherit context 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"foo\\", 1); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 1 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`recursive\`); let block1 = createBlock(\`
hey
\`); return function template(ctx, node, key = \\"\\") { let b2; if (false) { b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); } return block1([], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 2 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"node\\", ctx['root']); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 2 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 let d1 = ctx['node'].val; ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['node'].children||[]); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`subtree\`] = v_block2[i1]; ctx[\`subtree_first\`] = i1 === 0; ctx[\`subtree_last\`] = i1 === v_block2.length - 1; ctx[\`subtree_index\`] = i1; ctx[\`subtree_value\`] = k_block2[i1]; let key1 = ctx['subtree_index']; ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"node\\", ctx['subtree']); c_block2[i1] = withKey(callTemplate_2.call(this, ctx, node, key + \`__1__\${key1}\`), key1); ctx = ctx.__proto__; } let b2 = list(c_block2); return block1([d1], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 3 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"node\\", ctx['root']); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 3 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 let d1 = ctx['node'].val; ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['node'].children||[]); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`subtree\`] = v_block2[i1]; ctx[\`subtree_first\`] = i1 === 0; ctx[\`subtree_last\`] = i1 === v_block2.length - 1; ctx[\`subtree_index\`] = i1; ctx[\`subtree_value\`] = k_block2[i1]; let key1 = ctx['subtree_index']; ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"node\\", ctx['subtree']); c_block2[i1] = withKey(callTemplate_2.call(this, ctx, node, key + \`__1__\${key1}\`), key1); ctx = ctx.__proto__; } let b2 = list(c_block2); return block1([d1], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 4: with t-set recursive index 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"recursive_idx\\", 1); setContextValue(ctx, \\"node\\", ctx['root']); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) recursive template, part 4: with t-set recursive index 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`nodeTemplate\`); let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"recursive_idx\\", ctx['recursive_idx']+1); let d1 = ctx['node'].val; let d2 = ctx['recursive_idx']; ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['node'].children||[]); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`subtree\`] = v_block2[i1]; ctx[\`subtree_first\`] = i1 === 0; ctx[\`subtree_last\`] = i1 === v_block2.length - 1; ctx[\`subtree_index\`] = i1; ctx[\`subtree_value\`] = k_block2[i1]; let key1 = ctx['subtree_index']; ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"node\\", ctx['subtree']); c_block2[i1] = withKey(callTemplate_2.call(this, ctx, node, key + \`__1__\${key1}\`), key1); ctx = ctx.__proto__; } let b2 = list(c_block2); return block1([d1, d2], [b2]); } }" `; exports[`t-call (template calling) scoped parameters 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(\`ok\`); } }" `; exports[`t-call (template calling) scoped parameters 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"foo\\", 42); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); ctx = ctx.__proto__; let d1 = ctx['foo']; return block1([d1], [b2]); } }" `; exports[`t-call (template calling) scoped parameters, part 2 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(ctx['foo']); } }" `; exports[`t-call (template calling) scoped parameters, part 2 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"foo\\", 11); ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"foo\\", 42); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); ctx = ctx.__proto__; let d1 = ctx['foo']; return block1([d1], [b2]); } }" `; exports[`t-call (template calling) t-call allowed on a non t node 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call allowed on a non t node 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`ok\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) t-call with body content as root of a template 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = html(ctx[zero]); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call with body content as root of a template 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`antony\`); let block1 = createBlock(\`

antony

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b1 = block1(); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) t-call with t-if 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2; if (ctx['flag']) { b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); } return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call with t-if 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`ok\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) t-call with t-set inside and body text content 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"val\\", \`yip yip\`); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call with t-set inside and body text content 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['val']; return block1([d1]); } }" `; exports[`t-call (template calling) t-call with t-set inside and outside 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['list']); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`v\`] = v_block2[i1]; ctx[\`v_first\`] = i1 === 0; ctx[\`v_last\`] = i1 === v_block2.length - 1; ctx[\`v_index\`] = i1; ctx[\`v_value\`] = k_block2[i1]; let key1 = ctx['v_index']; setContextValue(ctx, \\"val\\", ctx['v'].val); ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"val3\\", ctx['val']*3); c_block2[i1] = withKey(callTemplate_2.call(this, ctx, node, key + \`__1__\${key1}\`), key1); ctx = ctx.__proto__; } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call with t-set inside and outside 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['val3']; return block1([d1]); } }" `; exports[`t-call (template calling) t-call with t-set inside and outside. 2 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['list']); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`v\`] = v_block2[i1]; ctx[\`v_first\`] = i1 === 0; ctx[\`v_last\`] = i1 === v_block2.length - 1; ctx[\`v_index\`] = i1; ctx[\`v_value\`] = k_block2[i1]; let key1 = ctx['v_index']; setContextValue(ctx, \\"val\\", ctx['v'].val); ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"val3\\", ctx['val']*3); c_block2[i1] = withKey(callTemplate_2.call(this, ctx, node, key + \`__1__\${key1}\`), key1); ctx = ctx.__proto__; } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call with t-set inside and outside. 2 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block2 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['val3']; let b2 = block2([d1]); let b3 = text(ctx['w']); return multi([b2, b3]); } }" `; exports[`t-call (template calling) t-call with t-set inside and outside. 2 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`main\`); let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"w\\", 'fromwrapper'); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-call, conditional and t-set in t-call body 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
callee1
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) t-call, conditional and t-set in t-call body 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
callee2
\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['v']; return block1([d1]); } }" `; exports[`t-call (template calling) t-call, conditional and t-set in t-call body 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`callee1\`); const callTemplate_4 = getTemplate(\`callee2\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 let b2,b3; setContextValue(ctx, \\"v1\\", 'elif'); if (ctx['v1']==='if') { b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); } else if (ctx['v1']==='elif') { ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"v\\", 'success'); b3 = callTemplate_4.call(this, ctx, node, key + \`__3\`); ctx = ctx.__proto__; } return block1([], [b2, b3]); } }" `; exports[`t-call (template calling) t-esc inside t-call, with t-set outside 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"v\\", \`Hi\`); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-call (template calling) t-esc inside t-call, with t-set outside 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['v']; return block1([d1]); } }" `; exports[`t-call (template calling) with unused body 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
ok
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) with unused body 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b1 = text(\`WHEEE\`); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) with unused setbody 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
ok
\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`t-call (template calling) with unused setbody 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"qux\\", 3); return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) with used body 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx[zero]; return block1([d1]); } }" `; exports[`t-call (template calling) with used body 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; let b1 = text(\`ok\`); ctx[zero] = b1; return callTemplate_2.call(this, ctx, node, key + \`__1\`); } }" `; exports[`t-call (template calling) with used setbody 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(ctx['foo']); } }" `; exports[`t-call (template calling) with used setbody 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; const callTemplate_2 = getTemplate(\`sub\`); let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"foo\\", 'ok'); let b2 = callTemplate_2.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `;