<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @OroFilter/Filter/layout.js.twig */
class __TwigTemplate_8d65a1d985a9a537a9e4916b7dc63754 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'oro_type_text_filter_js' => [$this, 'block_oro_type_text_filter_js'],
            'oro_type_number_filter_js' => [$this, 'block_oro_type_number_filter_js'],
            'oro_type_date_range_filter_js' => [$this, 'block_oro_type_date_range_filter_js'],
            'oro_type_datetime_range_filter_js' => [$this, 'block_oro_type_datetime_range_filter_js'],
            'oro_type_select_filter_js' => [$this, 'block_oro_type_select_filter_js'],
            'oro_type_selectrow_filter_js' => [$this, 'block_oro_type_selectrow_filter_js'],
            'oro_type_multiselect_filter_js' => [$this, 'block_oro_type_multiselect_filter_js'],
            'oro_type_choice_filter_js' => [$this, 'block_oro_type_choice_filter_js'],
            'oro_type_entity_filter_js' => [$this, 'block_oro_type_entity_filter_js'],
            'oro_type_boolean_filter_js' => [$this, 'block_oro_type_boolean_filter_js'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        yield from $this->unwrap()->yieldBlock('oro_type_text_filter_js', $context, $blocks);
        // line 9
        yield "
";
        // line 10
        yield from $this->unwrap()->yieldBlock('oro_type_number_filter_js', $context, $blocks);
        // line 19
        yield "
";
        // line 20
        yield from $this->unwrap()->yieldBlock('oro_type_date_range_filter_js', $context, $blocks);
        // line 29
        yield "
";
        // line 30
        yield from $this->unwrap()->yieldBlock('oro_type_datetime_range_filter_js', $context, $blocks);
        // line 39
        yield "
";
        // line 40
        yield from $this->unwrap()->yieldBlock('oro_type_select_filter_js', $context, $blocks);
        // line 49
        yield "
";
        // line 50
        yield from $this->unwrap()->yieldBlock('oro_type_selectrow_filter_js', $context, $blocks);
        // line 58
        yield "
";
        // line 59
        yield from $this->unwrap()->yieldBlock('oro_type_multiselect_filter_js', $context, $blocks);
        // line 67
        yield "
";
        // line 68
        yield from $this->unwrap()->yieldBlock('oro_type_choice_filter_js', $context, $blocks);
        // line 75
        yield "
";
        // line 76
        yield from $this->unwrap()->yieldBlock('oro_type_entity_filter_js', $context, $blocks);
        // line 79
        yield "
";
        // line 80
        yield from $this->unwrap()->yieldBlock('oro_type_boolean_filter_js', $context, $blocks);
        return; yield '';
    }

    // line 1
    public function block_oro_type_text_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        yield "    new (ChoiceFilter.extend({
        'name':    ";
        // line 3
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 3), "name", [], "any", false, false, false, 3));
        yield ",
        'label':   ";
        // line 4
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 4), "label", [], "any", false, false, false, 4));
        yield ",
        'enabled': ";
        // line 5
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 5), "show_filter", [], "any", false, false, false, 5));
        yield ",
        'choices': ";
        // line 6
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 6), "type", [], "any", false, false, false, 6), "vars", [], "any", false, false, false, 6), "choices", [], "any", false, false, false, 6)));
        yield "
    }))
";
        return; yield '';
    }

    // line 10
    public function block_oro_type_number_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 11
        yield "    new (NumberFilter.extend({
        'name':    ";
        // line 12
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 12), "name", [], "any", false, false, false, 12));
        yield ",
        'label':   ";
        // line 13
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 13), "label", [], "any", false, false, false, 13));
        yield ",
        'enabled': ";
        // line 14
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 14), "show_filter", [], "any", false, false, false, 14));
        yield ",
        'choices': ";
        // line 15
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 15), "type", [], "any", false, false, false, 15), "vars", [], "any", false, false, false, 15), "choices", [], "any", false, false, false, 15)));
        yield ",
        'formatterOptions': ";
        // line 16
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 16), "formatter_options", [], "any", false, false, false, 16));
        yield "
    }))
";
        return; yield '';
    }

    // line 20
    public function block_oro_type_date_range_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 21
        yield "    new (DateFilter.extend({
        'name':    ";
        // line 22
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 22), "name", [], "any", false, false, false, 22));
        yield ",
        'label':   ";
        // line 23
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 23), "label", [], "any", false, false, false, 23));
        yield ",
        'enabled': ";
        // line 24
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 24), "show_filter", [], "any", false, false, false, 24));
        yield ",
        'choices': ";
        // line 25
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 25), "type", [], "any", false, false, false, 25), "vars", [], "any", false, false, false, 25), "choices", [], "any", false, false, false, 25)));
        yield ",
        'typeValues': ";
        // line 26
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 26), "type_values", [], "any", false, false, false, 26));
        yield "
    }))
";
        return; yield '';
    }

    // line 30
    public function block_oro_type_datetime_range_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 31
        yield "    new (DatetimeFilter.extend({
        'name':    ";
        // line 32
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 32), "name", [], "any", false, false, false, 32));
        yield ",
        'label':   ";
        // line 33
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 33), "label", [], "any", false, false, false, 33));
        yield ",
        'enabled': ";
        // line 34
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 34), "show_filter", [], "any", false, false, false, 34));
        yield ",
        'choices': ";
        // line 35
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 35), "type", [], "any", false, false, false, 35), "vars", [], "any", false, false, false, 35), "choices", [], "any", false, false, false, 35)));
        yield ",
        'typeValues': ";
        // line 36
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 36), "type_values", [], "any", false, false, false, 36));
        yield "
    }))
";
        return; yield '';
    }

    // line 40
    public function block_oro_type_select_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 41
        yield "    new (SelectFilter.extend({
        'name':             ";
        // line 42
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 42), "name", [], "any", false, false, false, 42));
        yield ",
        'label':            ";
        // line 43
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 43), "label", [], "any", false, false, false, 43));
        yield ",
        'enabled':          ";
        // line 44
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 44), "show_filter", [], "any", false, false, false, 44));
        yield ",
        'populateDefault':  ";
        // line 45
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 45), "populate_default", [], "any", false, false, false, 45));
        yield ",
        'choices':          ";
        // line 46
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 46), "value", [], "any", false, false, false, 46), "vars", [], "any", false, false, false, 46), "choices", [], "any", false, false, false, 46)));
        yield "
    }))
";
        return; yield '';
    }

    // line 50
    public function block_oro_type_selectrow_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 51
        yield "    new (SelectRowFilter.extend({
        'name':    ";
        // line 52
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 52), "name", [], "any", false, false, false, 52));
        yield ",
        'label':   ";
        // line 53
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 53), "label", [], "any", false, false, false, 53));
        yield ",
        'enabled': ";
        // line 54
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 54), "show_filter", [], "any", false, false, false, 54));
        yield ",
        'choices': ";
        // line 55
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 55), "value", [], "any", false, false, false, 55), "vars", [], "any", false, false, false, 55), "choices", [], "any", false, false, false, 55)));
        yield "
    }))
";
        return; yield '';
    }

    // line 59
    public function block_oro_type_multiselect_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 60
        yield "    new (MultiSelectFilter.extend({
        'name':    ";
        // line 61
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61));
        yield ",
        'label':   ";
        // line 62
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 62), "label", [], "any", false, false, false, 62));
        yield ",
        'enabled': ";
        // line 63
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 63), "show_filter", [], "any", false, false, false, 63));
        yield ",
        'choices': ";
        // line 64
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 64), "value", [], "any", false, false, false, 64), "vars", [], "any", false, false, false, 64), "choices", [], "any", false, false, false, 64)));
        yield "
    }))
";
        return; yield '';
    }

    // line 68
    public function block_oro_type_choice_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 69
        yield "    ";
        if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 69), "value", [], "any", false, false, false, 69), "vars", [], "any", false, false, false, 69), "multiple", [], "any", false, false, false, 69)) {
            // line 70
            yield "        ";
            yield from             $this->unwrap()->yieldBlock("oro_type_multiselect_filter_js", $context, $blocks);
            yield "
    ";
        } else {
            // line 72
            yield "        ";
            yield from             $this->unwrap()->yieldBlock("oro_type_select_filter_js", $context, $blocks);
            yield "
    ";
        }
        return; yield '';
    }

    // line 76
    public function block_oro_type_entity_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 77
        yield "    ";
        yield from         $this->unwrap()->yieldBlock("oro_type_choice_filter_js", $context, $blocks);
        yield "
";
        return; yield '';
    }

    // line 80
    public function block_oro_type_boolean_filter_js($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 81
        yield "    new (SelectFilter.extend({
        'name':    ";
        // line 82
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 82), "name", [], "any", false, false, false, 82));
        yield ",
        'label':   ";
        // line 83
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 83), "label", [], "any", false, false, false, 83));
        yield ",
        'enabled': ";
        // line 84
        yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "vars", [], "any", false, false, false, 84), "show_filter", [], "any", false, false, false, 84));
        yield ",
        'choices': ";
        // line 85
        yield json_encode($this->extensions['Oro\Bundle\FilterBundle\Twig\RenderLayoutExtension']->getChoices(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["formView"] ?? null), "children", [], "any", false, false, false, 85), "value", [], "any", false, false, false, 85), "vars", [], "any", false, false, false, 85), "choices", [], "any", false, false, false, 85)));
        yield ",
        'contextSearch': false
    }))
";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "@OroFilter/Filter/layout.js.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  356 => 85,  352 => 84,  348 => 83,  344 => 82,  341 => 81,  337 => 80,  329 => 77,  325 => 76,  316 => 72,  310 => 70,  307 => 69,  303 => 68,  295 => 64,  291 => 63,  287 => 62,  283 => 61,  280 => 60,  276 => 59,  268 => 55,  264 => 54,  260 => 53,  256 => 52,  253 => 51,  249 => 50,  241 => 46,  237 => 45,  233 => 44,  229 => 43,  225 => 42,  222 => 41,  218 => 40,  210 => 36,  206 => 35,  202 => 34,  198 => 33,  194 => 32,  191 => 31,  187 => 30,  179 => 26,  175 => 25,  171 => 24,  167 => 23,  163 => 22,  160 => 21,  156 => 20,  148 => 16,  144 => 15,  140 => 14,  136 => 13,  132 => 12,  129 => 11,  125 => 10,  117 => 6,  113 => 5,  109 => 4,  105 => 3,  102 => 2,  98 => 1,  93 => 80,  90 => 79,  88 => 76,  85 => 75,  83 => 68,  80 => 67,  78 => 59,  75 => 58,  73 => 50,  70 => 49,  68 => 40,  65 => 39,  63 => 30,  60 => 29,  58 => 20,  55 => 19,  53 => 10,  50 => 9,  48 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@OroFilter/Filter/layout.js.twig", "/var/www/html/pim/vendor/akeneo/pim-community-dev/src/Oro/Bundle/FilterBundle/Resources/views/Filter/layout.js.twig");
    }
}
