<div style="position: relative; font-size: 64px; width: 80px">
<span></span>
</div>
<init>
<string-split self="đģđˇđĒģđđŋ">
<var-set name="emojis">
<loop-while value="true">
<var-get name="emojis">
<!-- <debug-log> -->
<array-get-first>
<array-remove-first>
<array-append>
<var-set name="emojis">
<selection-append-children>
<span style="position: absolute; opacity: 0.0"></span>
</selection-append-children>
<selection-scope last-child="span">
<selection-set-text>
<style-animate duration="2">
<style-set name="opacity" value="1.0">
<selection-change previous-sibling="span">
<style-set name="opacity" value="0.0">
</style-animate>
<selection-remove-from-parent>
</selection-scope>
<function-delay seconds="1">
</loop-while>
</init>
<form view="vstack" alignment="right" style="gap: 8px">
<input type="text" name="n" value="20">
<button>Calculate</button>
</form>
<on submit>
<form-get-value name="n">
<number-from-string>
<function-call name="fib"></function-call>
<debug-log>
</on>
<function name="fib" param-n="number" return="number">
<number-is-equal other="0">
<if-true>
<function-return value="0">
</if-true>
<number-is-equal other="1">
<if-true>
<function-return value="1">
</if-true>
<var-eval name="first">
<number-subtract self-var="n" value="1">
<function-call name="fib"></function-call>
</var-eval>
<var-eval name="second">
<number-subtract self-var="n" value="2">
<function-call name="fib"></function-call>
</var-eval>
<number-add self-var="first" value-var="second">
</function>