// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`t-esc default with backslash at top level 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { withDefault } = helpers; return function template(ctx, node, key = \\"\\") { return text(withDefault(undefined, \`\\\\\\\\\`)); } }" `; exports[`t-esc default with backtick at top-level 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { withDefault } = helpers; return function template(ctx, node, key = \\"\\") { return text(withDefault(undefined, \`\\\\\`\`)); } }" `; exports[`t-esc default with interpolation sigil at top level 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { withDefault } = helpers; return function template(ctx, node, key = \\"\\") { return text(withDefault(undefined, \`\\\\\${very cool}\`)); } }" `; exports[`t-esc div with falsy values 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { let txt1 = ctx['v1']; let txt2 = ctx['v2']; let txt3 = ctx['v3']; let txt4 = ctx['v4']; let txt5 = ctx['v5']; return block1([txt1, txt2, txt3, txt4, txt5]); } }" `; exports[`t-esc escaping 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = ctx['var']; return block1([txt1]); } }" `; exports[`t-esc escaping on a node 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = 'ok'; return block1([txt1]); } }" `; exports[`t-esc escaping on a node with a body 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { withDefault } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = withDefault('ok', \`nope\`); return block1([txt1]); } }" `; exports[`t-esc escaping on a node with a body, as a default 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { withDefault } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = withDefault(ctx['var'], \`nope\`); return block1([txt1]); } }" `; exports[`t-esc falsy values in text nodes 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; return function template(ctx, node, key = \\"\\") { const b2 = text(ctx['v1']); const b3 = text(\`:\`); const b4 = text(ctx['v2']); const b5 = text(\`:\`); const b6 = text(ctx['v3']); const b7 = text(\`:\`); const b8 = text(ctx['v4']); const b9 = text(\`:\`); const b10 = text(ctx['v5']); return multi([b2, b3, b4, b5, b6, b7, b8, b9, b10]); } }" `; exports[`t-esc literal 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = 'ok'; return block1([txt1]); } }" `; exports[`t-esc t-esc is escaped 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { isBoundary, withDefault, LazyValue } = helpers; let block1 = createBlock(\`
\`); let block2 = createBlock(\`

escaped

\`); function value1(ctx, node, key = \\"\\") { return block2(); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx[\`var\`] = new LazyValue(value1, ctx, this, node, key); let txt1 = ctx['var']; return block1([txt1]); } }" `; exports[`t-esc t-esc with the 0 number 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; return function template(ctx, node, key = \\"\\") { return text(ctx['var']); } }" `; exports[`t-esc t-esc with the 0 number, in a p 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`

\`); return function template(ctx, node, key = \\"\\") { let txt1 = ctx['var']; return block1([txt1]); } }" `; exports[`t-esc t-esc work with spread operator 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = [...ctx['state'].list]; return block1([txt1]); } }" `; exports[`t-esc t-esc=0 is escaped 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { isBoundary, zero } = helpers; const callTemplate_1 = app.getTemplate(\`sub\`); let block1 = createBlock(\`
\`); let block3 = createBlock(\`

escaped

\`); return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1; const b3 = block3(); ctx[zero] = b3; const b2 = callTemplate_1.call(this, ctx, node, key + \`__1\`); return block1([], [b2]); } }" `; exports[`t-esc t-esc=0 is escaped 2`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { zero } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = ctx[zero]; return block1([txt1]); } }" `; exports[`t-esc top level t-esc with undefined 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; return function template(ctx, node, key = \\"\\") { return text(ctx['var']); } }" `; exports[`t-esc variable 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let txt1 = ctx['var']; return block1([txt1]); } }" `;