<?php

class __Mustache_3e8b1c409f30c75bd4b13b18e8bddbdb extends Mustache_Template
{
    private $lambdaHelper;

    public function renderInternal(Mustache_Context $context, $indent = '')
    {
        $this->lambdaHelper = new Mustache_LambdaHelper($this->mustache, $context);
        $buffer = '';

        $buffer .= $indent . '<div class="mfc">
';
        $buffer .= $indent . '    <section class="mfc-welcome">
';
        $buffer .= $indent . '        <img class="mfc-avatar" src="';
        $value = $this->resolveValue($context->find('pictureurl'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '" alt="';
        $value = $this->resolveValue($context->find('fullname'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '">
';
        $buffer .= $indent . '        <div>
';
        $buffer .= $indent . '            <span class="mfc-eyebrow">';
        $value = $this->resolveValue($context->find('greeting'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '</span>
';
        $buffer .= $indent . '            <h2>';
        $value = $this->resolveValue($context->find('firstname'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '</h2>
';
        $buffer .= $indent . '            <p>';
        $value = $context->find('str');
        $buffer .= $this->sectionF296f050e96225411aa827f2ba7bf2ac($context, $indent, $value);
        $buffer .= '</p>
';
        $buffer .= $indent . '            <a class="btn btn-primary" href="';
        $value = $this->resolveValue($context->find('profileurl'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '">
';
        $buffer .= $indent . '                ';
        $value = $context->find('str');
        $buffer .= $this->section0aa070a950058595d59eab4d7ebe15a3($context, $indent, $value);
        $buffer .= '
';
        $buffer .= $indent . '            </a>
';
        $buffer .= $indent . '        </div>
';
        $value = $context->find('showhero');
        $buffer .= $this->section4252ac521e1006079d4ae4ea2135c710($context, $indent, $value);
        $buffer .= $indent . '    </section>
';
        $buffer .= $indent . '
';
        $buffer .= $indent . '    <section class="mfc-section">
';
        $buffer .= $indent . '        <div class="mfc-heading">
';
        $buffer .= $indent . '            <div>
';
        $buffer .= $indent . '                <span>';
        $value = $context->find('str');
        $buffer .= $this->section9295a07f1be6e14f2b5701a740983942($context, $indent, $value);
        $buffer .= '</span>
';
        $buffer .= $indent . '                <h3>';
        $value = $context->find('str');
        $buffer .= $this->sectionF3973b8a20774b34a5ce4730b69a6c92($context, $indent, $value);
        $buffer .= '</h3>
';
        $buffer .= $indent . '            </div>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '
';
        $buffer .= $indent . '        <div class="mfc-actions">
';
        $value = $context->find('actions');
        $buffer .= $this->sectionCf306b6617e0049582d8a0a20edf4bba($context, $indent, $value);
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '    </section>
';
        $buffer .= $indent . '
';
        $buffer .= $indent . '    <section class="mfc-section">
';
        $buffer .= $indent . '        <div class="mfc-heading">
';
        $buffer .= $indent . '            <div>
';
        $buffer .= $indent . '                <span>';
        $value = $context->find('str');
        $buffer .= $this->sectionF64307418571b46cf9e9f2fd2507624e($context, $indent, $value);
        $buffer .= '</span>
';
        $buffer .= $indent . '                <h3>';
        $value = $context->find('str');
        $buffer .= $this->sectionDa3a07920ab82cae149f265e0196922d($context, $indent, $value);
        $buffer .= '</h3>
';
        $buffer .= $indent . '            </div>
';
        $buffer .= $indent . '            <a href="';
        $value = $this->resolveValue($context->find('coursesurl'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '">';
        $value = $context->find('str');
        $buffer .= $this->section0b45d290bc311d470619aa71cb0c0490($context, $indent, $value);
        $buffer .= '</a>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '
';
        $value = $context->find('hasareas');
        $buffer .= $this->sectionBbc5bf3a6f9da5d88407bc37a32ad2ae($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('hasareas');
        if (empty($value)) {
            
            $buffer .= $indent . '            <p class="mfc-muted">';
            $value = $context->find('str');
            $buffer .= $this->section740864098a03a04da704dcc3d78de970($context, $indent, $value);
            $buffer .= '</p>
';
        }
        $buffer .= $indent . '    </section>
';
        $buffer .= $indent . '
';
        $value = $context->find('hasworkshops');
        $buffer .= $this->sectionCf3fe65f171cef8678293b42be40f070($context, $indent, $value);
        $buffer .= $indent . '
';
        $buffer .= $indent . '    <section class="mfc-section">
';
        $buffer .= $indent . '        <div class="mfc-heading">
';
        $buffer .= $indent . '            <div>
';
        $buffer .= $indent . '                <span>';
        $value = $context->find('str');
        $buffer .= $this->sectionEb79bfb75de7132ff87e2a4dbe7f767a($context, $indent, $value);
        $buffer .= '</span>
';
        $buffer .= $indent . '                <h3>';
        $value = $context->find('str');
        $buffer .= $this->section92cf273038c4ba230e1a6467ec7fde16($context, $indent, $value);
        $buffer .= '</h3>
';
        $buffer .= $indent . '            </div>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '
';
        $buffer .= $indent . '        <div class="mfc-links">
';
        $buffer .= $indent . '            <a href="';
        $value = $this->resolveValue($context->find('calendarurl'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '">';
        $value = $context->find('str');
        $buffer .= $this->sectionBc2c1e74e26ece50f3cbd3a03fcc2495($context, $indent, $value);
        $buffer .= '</a>
';
        $buffer .= $indent . '            <a href="';
        $value = $this->resolveValue($context->find('coursesurl'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '">';
        $value = $context->find('str');
        $buffer .= $this->sectionF870cf92426deaef3e90c68f33111c89($context, $indent, $value);
        $buffer .= '</a>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '    </section>
';
        $buffer .= $indent . '</div>
';

        return $buffer;
    }

    private function sectionF296f050e96225411aa827f2ba7bf2ac(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'welcometext, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'welcometext, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section0aa070a950058595d59eab4d7ebe15a3(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'viewprofile, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'viewprofile, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section896e78672eb771470622d2e79d7671b4(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'mfc-dashboardhero--has-image';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'mfc-dashboardhero--has-image';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section3d619cfdcf059a8bf46635e20960d4fa(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                        background-image:
                            linear-gradient(
                                rgba(7,34,64,{{hero.overlay}}),
                                rgba(7,34,64,{{hero.overlay}})
                            ),
                            url(\'{{hero.imageurl}}\');
                        background-position: {{hero.position}} center;
                    ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                        background-image:
';
                $buffer .= $indent . '                            linear-gradient(
';
                $buffer .= $indent . '                                rgba(7,34,64,';
                $value = $this->resolveValue($context->findDot('hero.overlay'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '),
';
                $buffer .= $indent . '                                rgba(7,34,64,';
                $value = $this->resolveValue($context->findDot('hero.overlay'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ')
';
                $buffer .= $indent . '                            ),
';
                $buffer .= $indent . '                            url(\'';
                $value = $this->resolveValue($context->findDot('hero.imageurl'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '\');
';
                $buffer .= $indent . '                        background-position: ';
                $value = $this->resolveValue($context->findDot('hero.position'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ' center;
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section4252ac521e1006079d4ae4ea2135c710(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
            <div
                class="mfc-dashboardhero {{#hero.hasimage}}mfc-dashboardhero--has-image{{/hero.hasimage}}"
                style="
                    min-height: {{hero.height}}px;
                    color: {{hero.textcolour}};
                    {{#hero.hasimage}}
                        background-image:
                            linear-gradient(
                                rgba(7,34,64,{{hero.overlay}}),
                                rgba(7,34,64,{{hero.overlay}})
                            ),
                            url(\'{{hero.imageurl}}\');
                        background-position: {{hero.position}} center;
                    {{/hero.hasimage}}
                "
            >
                <span>Mi Flora</span>
                <strong>{{hero.title}}</strong>
                <small>{{hero.subtitle}}</small>
            </div>
        ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '            <div
';
                $buffer .= $indent . '                class="mfc-dashboardhero ';
                $value = $context->findDot('hero.hasimage');
                $buffer .= $this->section896e78672eb771470622d2e79d7671b4($context, $indent, $value);
                $buffer .= '"
';
                $buffer .= $indent . '                style="
';
                $buffer .= $indent . '                    min-height: ';
                $value = $this->resolveValue($context->findDot('hero.height'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= 'px;
';
                $buffer .= $indent . '                    color: ';
                $value = $this->resolveValue($context->findDot('hero.textcolour'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ';
';
                $value = $context->findDot('hero.hasimage');
                $buffer .= $this->section3d619cfdcf059a8bf46635e20960d4fa($context, $indent, $value);
                $buffer .= $indent . '                "
';
                $buffer .= $indent . '            >
';
                $buffer .= $indent . '                <span>Mi Flora</span>
';
                $buffer .= $indent . '                <strong>';
                $value = $this->resolveValue($context->findDot('hero.title'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</strong>
';
                $buffer .= $indent . '                <small>';
                $value = $this->resolveValue($context->findDot('hero.subtitle'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</small>
';
                $buffer .= $indent . '            </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section9295a07f1be6e14f2b5701a740983942(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'principalaccess, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'principalaccess, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF3973b8a20774b34a5ce4730b69a6c92(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'myspace, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'myspace, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionE4ca52f49f58724e1d077c06e8eaec41(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'mfc-action--has-background';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'mfc-action--has-background';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section8c3687a96ade9da67accee79ca7fdc86(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'background-color: {{backgroundcolor}};';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'background-color: ';
                $value = $this->resolveValue($context->find('backgroundcolor'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ';';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionC0ae0b8276b261ca0b562f601acf78c8(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'color: {{textcolor}};';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'color: ';
                $value = $this->resolveValue($context->find('textcolor'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ';';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section2c7dbc4d1bfdbbe5acd7767374e15662(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'background-image: linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.80)), url(\'{{backgroundurl}}\');';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'background-image: linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.80)), url(\'';
                $value = $this->resolveValue($context->find('backgroundurl'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '\');';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF53083a9cabc882be78385b0a379840f(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                        <span class="mfc-action__icon mfc-action__icon--custom">
                            <img src="{{iconurl}}" alt="{{label}}">
                        </span>
                    ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                        <span class="mfc-action__icon mfc-action__icon--custom">
';
                $buffer .= $indent . '                            <img src="';
                $value = $this->resolveValue($context->find('iconurl'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '" alt="';
                $value = $this->resolveValue($context->find('label'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '">
';
                $buffer .= $indent . '                        </span>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionB7b82e32b8abcf65eaa03f25bc8e2b09(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                        <span class="mfc-action__badge">{{badge}}</span>
                    ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                        <span class="mfc-action__badge">';
                $value = $this->resolveValue($context->find('badge'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</span>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionCf306b6617e0049582d8a0a20edf4bba(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                <a
                    class="mfc-action {{^enabled}}is-disabled{{/enabled}} {{#hasbackground}}mfc-action--has-background{{/hasbackground}}"
                    href="{{url}}"
                    style="
                        {{#backgroundcolor}}background-color: {{backgroundcolor}};{{/backgroundcolor}}
                        {{#textcolor}}color: {{textcolor}};{{/textcolor}}
                        {{#hasbackground}}background-image: linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.80)), url(\'{{backgroundurl}}\');{{/hasbackground}}
                    "
                    {{^enabled}}aria-disabled="true"{{/enabled}}
                >
                    {{#customicon}}
                        <span class="mfc-action__icon mfc-action__icon--custom">
                            <img src="{{iconurl}}" alt="{{label}}">
                        </span>
                    {{/customicon}}
                    {{^customicon}}
                        <span class="mfc-action__icon">{{icon}}</span>
                    {{/customicon}}
                    {{#hasbadge}}
                        <span class="mfc-action__badge">{{badge}}</span>
                    {{/hasbadge}}
                    <strong>{{label}}</strong>
                    <span>{{description}}</span>
                </a>
            ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                <a
';
                $buffer .= $indent . '                    class="mfc-action ';
                $value = $context->find('enabled');
                if (empty($value)) {
                    
                    $buffer .= 'is-disabled';
                }
                $buffer .= ' ';
                $value = $context->find('hasbackground');
                $buffer .= $this->sectionE4ca52f49f58724e1d077c06e8eaec41($context, $indent, $value);
                $buffer .= '"
';
                $buffer .= $indent . '                    href="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '"
';
                $buffer .= $indent . '                    style="
';
                $buffer .= $indent . '                        ';
                $value = $context->find('backgroundcolor');
                $buffer .= $this->section8c3687a96ade9da67accee79ca7fdc86($context, $indent, $value);
                $buffer .= '
';
                $buffer .= $indent . '                        ';
                $value = $context->find('textcolor');
                $buffer .= $this->sectionC0ae0b8276b261ca0b562f601acf78c8($context, $indent, $value);
                $buffer .= '
';
                $buffer .= $indent . '                        ';
                $value = $context->find('hasbackground');
                $buffer .= $this->section2c7dbc4d1bfdbbe5acd7767374e15662($context, $indent, $value);
                $buffer .= '
';
                $buffer .= $indent . '                    "
';
                $buffer .= $indent . '                    ';
                $value = $context->find('enabled');
                if (empty($value)) {
                    
                    $buffer .= 'aria-disabled="true"';
                }
                $buffer .= '
';
                $buffer .= $indent . '                >
';
                $value = $context->find('customicon');
                $buffer .= $this->sectionF53083a9cabc882be78385b0a379840f($context, $indent, $value);
                $value = $context->find('customicon');
                if (empty($value)) {
                    
                    $buffer .= $indent . '                        <span class="mfc-action__icon">';
                    $value = $this->resolveValue($context->find('icon'), $context);
                    $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                    $buffer .= '</span>
';
                }
                $value = $context->find('hasbadge');
                $buffer .= $this->sectionB7b82e32b8abcf65eaa03f25bc8e2b09($context, $indent, $value);
                $buffer .= $indent . '                    <strong>';
                $value = $this->resolveValue($context->find('label'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</strong>
';
                $buffer .= $indent . '                    <span>';
                $value = $this->resolveValue($context->find('description'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</span>
';
                $buffer .= $indent . '                </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF64307418571b46cf9e9f2fd2507624e(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'learning, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'learning, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionDa3a07920ab82cae149f265e0196922d(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'learningareas, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'learningareas, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section0b45d290bc311d470619aa71cb0c0490(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'viewall, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'viewall, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionEeeda5825862186bb43576647e56822b(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                    <a class="mfc-course" href="{{url}}">
                        <span class="mfc-course__initial">{{initial}}</span>
                        <span>
                            <strong>{{fullname}}</strong>
                            <small>{{shortname}}</small>
                        </span>
                    </a>
                ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                    <a class="mfc-course" href="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '">
';
                $buffer .= $indent . '                        <span class="mfc-course__initial">';
                $value = $this->resolveValue($context->find('initial'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</span>
';
                $buffer .= $indent . '                        <span>
';
                $buffer .= $indent . '                            <strong>';
                $value = $this->resolveValue($context->find('fullname'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</strong>
';
                $buffer .= $indent . '                            <small>';
                $value = $this->resolveValue($context->find('shortname'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</small>
';
                $buffer .= $indent . '                        </span>
';
                $buffer .= $indent . '                    </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionBbc5bf3a6f9da5d88407bc37a32ad2ae(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
            <div class="mfc-coursegrid">
                {{#areas}}
                    <a class="mfc-course" href="{{url}}">
                        <span class="mfc-course__initial">{{initial}}</span>
                        <span>
                            <strong>{{fullname}}</strong>
                            <small>{{shortname}}</small>
                        </span>
                    </a>
                {{/areas}}
            </div>
        ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '            <div class="mfc-coursegrid">
';
                $value = $context->find('areas');
                $buffer .= $this->sectionEeeda5825862186bb43576647e56822b($context, $indent, $value);
                $buffer .= $indent . '            </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section740864098a03a04da704dcc3d78de970(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'nocourses, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'nocourses, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section0e7516845298ea5400d2d121e9863f63(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'complementary, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'complementary, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section5ccf3dffd1233894c1815670024ed6c5(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'myworkshops, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'myworkshops, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section1e2424f35a1033e8a8fc8e9a8ea47e58(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                    <a class="mfc-workshop" href="{{url}}">
                        <span>{{initial}}</span>
                        <strong>{{fullname}}</strong>
                    </a>
                ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                    <a class="mfc-workshop" href="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '">
';
                $buffer .= $indent . '                        <span>';
                $value = $this->resolveValue($context->find('initial'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</span>
';
                $buffer .= $indent . '                        <strong>';
                $value = $this->resolveValue($context->find('fullname'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</strong>
';
                $buffer .= $indent . '                    </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionCf3fe65f171cef8678293b42be40f070(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <section class="mfc-section">
            <div class="mfc-heading">
                <div>
                    <span>{{#str}}complementary, local_miflora_core{{/str}}</span>
                    <h3>{{#str}}myworkshops, local_miflora_core{{/str}}</h3>
                </div>
            </div>

            <div class="mfc-workshopgrid">
                {{#workshops}}
                    <a class="mfc-workshop" href="{{url}}">
                        <span>{{initial}}</span>
                        <strong>{{fullname}}</strong>
                    </a>
                {{/workshops}}
            </div>
        </section>
    ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '        <section class="mfc-section">
';
                $buffer .= $indent . '            <div class="mfc-heading">
';
                $buffer .= $indent . '                <div>
';
                $buffer .= $indent . '                    <span>';
                $value = $context->find('str');
                $buffer .= $this->section0e7516845298ea5400d2d121e9863f63($context, $indent, $value);
                $buffer .= '</span>
';
                $buffer .= $indent . '                    <h3>';
                $value = $context->find('str');
                $buffer .= $this->section5ccf3dffd1233894c1815670024ed6c5($context, $indent, $value);
                $buffer .= '</h3>
';
                $buffer .= $indent . '                </div>
';
                $buffer .= $indent . '            </div>
';
                $buffer .= $indent . '
';
                $buffer .= $indent . '            <div class="mfc-workshopgrid">
';
                $value = $context->find('workshops');
                $buffer .= $this->section1e2424f35a1033e8a8fc8e9a8ea47e58($context, $indent, $value);
                $buffer .= $indent . '            </div>
';
                $buffer .= $indent . '        </section>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionEb79bfb75de7132ff87e2a4dbe7f767a(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'tools, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'tools, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section92cf273038c4ba230e1a6467ec7fde16(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'usefullinks, local_miflora_core';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'usefullinks, local_miflora_core';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionBc2c1e74e26ece50f3cbd3a03fcc2495(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'calendar, core_calendar';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'calendar, core_calendar';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF870cf92426deaef3e90c68f33111c89(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'courses';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'courses';
                $context->pop();
            }
        }
    
        return $buffer;
    }

}
