var e,n;function r(){return n?e:(n=1,e=function(e){const n=[{mode:"normal",character:null,isCalculationEnabled:!0}],r={};let t=0,l="";for(let a=0;a<e.length;a++){const o=e[a],u=e[a-1];if('"'!==o&&"'"!==o||(!0===n[t].isCalculationEnabled?(n.push({mode:"string",isCalculationEnabled:!1,character:o}),t++):"string"===n[t].mode&&n[t].character===o&&"\\"!==u&&(n.pop(),t--)),"{"===o?(n.push({mode:"interpolation",isCalculationEnabled:!0}),t++):"}"===o&&(n.pop(),t--),"normal"===n[t].mode&&":"===o&&"\\"!==u){const n=e.substring(a+1);if(n.length){const e={before:/^(\s*)/.exec(n)[1],value:n.trim()};if(""===e.before&&!/^[\d.$'"]/.test(e.value))return null;e.sourceIndex=e.before.length+a+1,r.propValue=e}return r.propName={after:/(\s*)$/.exec(l)[1],value:l.trim()},r}l+=o}return null})}export{r as __require};