()
| 57800 | })(s, _) |
| 57801 | } |
| 57802 | for ( |
| 57803 | var V = function _loop() { |
| 57804 | var s = L[U], |
| 57805 | o = s.children[0].value, |
| 57806 | i = (function getNewLines(s) { |
| 57807 | return s.match(bO) |
| 57808 | })(o) |
| 57809 | if (i) { |
| 57810 | var u = o.split('\n') |
| 57811 | ;(u.forEach(function (o, i) { |
| 57812 | var w = a && B.length + _, |
| 57813 | x = { type: 'text', value: ''.concat(o, '\n') } |
| 57814 | if (0 === i) { |
| 57815 | var C = createLine( |
| 57816 | L.slice($ + 1, U).concat( |
| 57817 | createLineElement({ children: [x], className: s.properties.className }) |
| 57818 | ), |
| 57819 | w |
| 57820 | ) |
| 57821 | B.push(C) |
| 57822 | } else if (i === u.length - 1) { |
| 57823 | var j = L[U + 1] && L[U + 1].children && L[U + 1].children[0], |
| 57824 | V = { type: 'text', value: ''.concat(o) } |
| 57825 | if (j) { |
| 57826 | var z = createLineElement({ |
| 57827 | children: [V], |
| 57828 | className: s.properties.className, |
| 57829 | }) |
| 57830 | L.splice(U + 1, 0, z) |
| 57831 | } else { |
| 57832 | var Y = createLine([V], w, s.properties.className) |
| 57833 | B.push(Y) |
| 57834 | } |
| 57835 | } else { |
| 57836 | var Z = createLine([x], w, s.properties.className) |
| 57837 | B.push(Z) |
| 57838 | } |
| 57839 | }), |
| 57840 | ($ = U)) |
| 57841 | } |
| 57842 | U++ |
| 57843 | }; |
| 57844 | U < L.length; |
| 57845 | ) |
no test coverage detected