<?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;
use Twig\TemplateWrapper;

/* components/itilobject/fields_panel.html.twig */
class __TwigTemplate_572f173ac2ce9166ac5eebfbc5cacf76 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "
";
        // line 33
        $macros["fields"] = $this->macros["fields"] = $this->load("components/form/fields_macros.html.twig", 33)->unwrap();
        // line 34
        $context["field_options"] = ["full_width" => true, "fields_template" =>         // line 36
($context["itiltemplate"] ?? null), "disabled" => (!        // line 37
($context["canupdate"] ?? null)), "add_field_class" => (((($tmp =         // line 38
($context["is_expanded"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("col-sm-6") : (""))];
        // line 40
        yield "
";
        // line 41
        $context["itil_layout"] = $this->extensions['Glpi\Application\View\Extension\SessionExtension']->userPref("itil_layout", true);
        // line 42
        $context["headers_states"] = (($_v0 = ($context["itil_layout"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0["items"] ?? null) : null);
        // line 43
        yield "
<div class=\"accordion open accordion-flush\" id=\"itil-data\">
   ";
        // line 45
        $context["main_show"] = ((( !CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "item-main", [], "array", true, true, false, 45) || ((($_v1 = ($context["headers_states"] ?? null)) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1["item-main"] ?? null) : null) == "true"))) ? (true) : (false));
        // line 46
        yield "   <div class=\"accordion-item\">
      <h2 class=\"accordion-header\" id=\"heading-main-item\">
         <button class=\"accordion-button ";
        // line 48
        yield (((($tmp = ($context["main_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
        yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#item-main\" aria-expanded=\"true\" aria-controls=\"ticket-main\">
            <i class=\"ti ti-alert-circle me-1 item-icon\"></i>
            <span class=\x27status-recall\x27>
                ";
        // line 51
        yield CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getStatusIcon", [(($_v2 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 51)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2["status"] ?? null) : null)], "method", false, false, false, 51);
        yield "
            </span>
            <span class=\"item-title\">
                ";
        // line 54
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getTypeName", [1], "method", false, false, false, 54), "html", null, true);
        yield "
            </span>
         </button>
      </h2>
      <div id=\"item-main\" class=\"accordion-collapse collapse ";
        // line 58
        yield (((($tmp = ($context["main_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
        yield "\" aria-labelledby=\"heading-main-item\">
         <div class=\"accordion-body row m-0 mt-n2\">

            ";
        // line 61
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\PluginExtension']->callPluginHook("pre_item_form", ["item" => ($context["item"] ?? null), "options" => ($context["params"] ?? null)]), "html", null, true);
        yield "

            ";
        // line 63
        if ((($tmp = Session::isMultiEntitiesMode()) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 64
            yield "               ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 64)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 65
                yield "                  ";
                yield $macros["fields"]->getTemplateForMacro("macro_dropdownField", $context, 65, $this->getSourceContext())->macro_dropdownField(...["Entity", "entities_id", (($_v3 = CoreExtension::getAttribute($this->env, $this->source,                 // line 68
($context["item"] ?? null), "fields", [], "any", false, false, false, 68)) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3["entities_id"] ?? null) : null), _n("Entity", "Entities", 1), Twig\Extension\CoreExtension::merge(                // line 70
($context["field_options"] ?? null), ["entity" =>                 // line 71
($context["userentities"] ?? null), "on_change" => "this.form.submit()"])]);
                // line 74
                yield "
               ";
            } else {
                // line 76
                yield "                  ";
                $context["entity_html"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                    // line 77
                    yield "                     ";
                    yield $this->extensions['Glpi\Application\View\Extension\PhpExtension']->call("Entity::badgeCompletenameLinkById", [(($_v4 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 77)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4["entities_id"] ?? null) : null)]);
                    yield "
                  ";
                    yield from [];
                })())) ? '' : new Markup($tmp, $this->env->getCharset());
                // line 79
                yield "
                  ";
                // line 80
                yield $macros["fields"]->getTemplateForMacro("macro_field", $context, 80, $this->getSourceContext())->macro_field(...["",                 // line 82
($context["entity_html"] ?? null), _n("Entity", "Entities", 1), Twig\Extension\CoreExtension::merge(                // line 84
($context["field_options"] ?? null), ["add_field_class" => "d-flex align-items-center"])]);
                // line 87
                yield "
               ";
            }
            // line 89
            yield "
               ";
            // line 90
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["is_recursive"], "method", false, false, false, 90)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 91
                yield "                  ";
                yield $macros["fields"]->getTemplateForMacro("macro_dropdownYesNo", $context, 91, $this->getSourceContext())->macro_dropdownYesNo(...["is_recursive", (($_v5 = CoreExtension::getAttribute($this->env, $this->source,                 // line 93
($context["item"] ?? null), "fields", [], "any", false, false, false, 93)) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5["is_recursive"] ?? null) : null), __("Child entities"),                 // line 95
($context["field_options"] ?? null)]);
                // line 96
                yield "
               ";
            }
            // line 98
            yield "            ";
        }
        // line 99
        yield "
            ";
        // line 100
        yield $macros["fields"]->getTemplateForMacro("macro_datetimeField", $context, 100, $this->getSourceContext())->macro_datetimeField(...["date", (($_v6 = CoreExtension::getAttribute($this->env, $this->source,         // line 102
($context["item"] ?? null), "fields", [], "any", false, false, false, 102)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6["date"] ?? null) : null), __("Opening date"),         // line 104
($context["field_options"] ?? null)]);
        // line 105
        yield "

            ";
        // line 107
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 107) != "Ticket")) {
            // line 108
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_datetimeField", $context, 108, $this->getSourceContext())->macro_datetimeField(...["time_to_resolve", (($_v7 = CoreExtension::getAttribute($this->env, $this->source,             // line 110
($context["item"] ?? null), "fields", [], "any", false, false, false, 110)) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7["time_to_resolve"] ?? null) : null), __("Time to resolve"),             // line 112
($context["field_options"] ?? null)]);
            // line 113
            yield "
            ";
        }
        // line 115
        yield "
            ";
        // line 116
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isSolved", [true], "method", false, false, false, 116)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 117
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_datetimeField", $context, 117, $this->getSourceContext())->macro_datetimeField(...["solvedate", (($_v8 = CoreExtension::getAttribute($this->env, $this->source,             // line 119
($context["item"] ?? null), "fields", [], "any", false, false, false, 119)) && is_array($_v8) || $_v8 instanceof ArrayAccess ? ($_v8["solvedate"] ?? null) : null), __("Resolution date"),             // line 121
($context["field_options"] ?? null)]);
            // line 122
            yield "
            ";
        }
        // line 124
        yield "
            ";
        // line 125
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isClosed", [], "method", false, false, false, 125)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 126
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_datetimeField", $context, 126, $this->getSourceContext())->macro_datetimeField(...["closedate", (($_v9 = CoreExtension::getAttribute($this->env, $this->source,             // line 128
($context["item"] ?? null), "fields", [], "any", false, false, false, 128)) && is_array($_v9) || $_v9 instanceof ArrayAccess ? ($_v9["closedate"] ?? null) : null), __("Close date"),             // line 130
($context["field_options"] ?? null)]);
            // line 131
            yield "
            ";
        }
        // line 133
        yield "
            ";
        // line 134
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 134) == "Ticket")) {
            // line 135
            yield "               ";
            $context["type_params"] = Twig\Extension\CoreExtension::merge(["value" => (($_v10 = CoreExtension::getAttribute($this->env, $this->source,             // line 136
($context["item"] ?? null), "fields", [], "any", false, false, false, 136)) && is_array($_v10) || $_v10 instanceof ArrayAccess ? ($_v10["type"] ?? null) : null), "width" => "100%", "display" => false],             // line 139
($context["field_options"] ?? null));
            // line 140
            yield "               ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 140)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 141
                yield "                  ";
                $context["type_params"] = Twig\Extension\CoreExtension::merge(($context["type_params"] ?? null), ["on_change" => "this.form.submit()"]);
                // line 142
                yield "               ";
            } else {
                // line 143
                yield "                  ";
                $context["type_params"] = Twig\Extension\CoreExtension::merge(($context["type_params"] ?? null), ["on_change" => "reloadCategory()"]);
                // line 144
                yield "               ";
            }
            // line 145
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_field", $context, 145, $this->getSourceContext())->macro_field(...["type", CoreExtension::getAttribute($this->env, $this->source,             // line 147
($context["item"] ?? null), "dropdownType", ["type", ($context["type_params"] ?? null)], "method", false, false, false, 147), _n("Type", "Types", 1),             // line 149
($context["field_options"] ?? null)]);
            // line 150
            yield "
            ";
        }
        // line 152
        yield "
            ";
        // line 153
        $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["field_options"] ?? null), ["entity" => (($_v11 = CoreExtension::getAttribute($this->env, $this->source,         // line 154
($context["item"] ?? null), "fields", [], "any", false, false, false, 154)) && is_array($_v11) || $_v11 instanceof ArrayAccess ? ($_v11["entities_id"] ?? null) : null), "disabled" => (!(        // line 155
($context["canupdate"] ?? null) || ($context["can_requester"] ?? null)))]);
        // line 157
        yield "            ";
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 157)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 158
            yield "               ";
            $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["on_change" => "this.form.submit()"]);
            // line 161
            yield "            ";
        }
        // line 162
        yield "            ";
        if ((( !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 162) && CoreExtension::getAttribute($this->env, $this->source, ($context["itiltemplate"] ?? null), "isMandatoryField", ["itilcategories_id"], "method", false, false, false, 162)) && ((($_v12 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 162)) && is_array($_v12) || $_v12 instanceof ArrayAccess ? ($_v12["itilcategories_id"] ?? null) : null) > 0))) {
            // line 163
            yield "               ";
            $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["display_emptychoice" => false]);
            // line 166
            yield "            ";
        }
        // line 167
        yield "            ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 167) == "Ticket")) {
            // line 168
            yield "               ";
            if (((($_v13 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 168)) && is_array($_v13) || $_v13 instanceof ArrayAccess ? ($_v13["type"] ?? null) : null) == Twig\Extension\CoreExtension::constant("Ticket::INCIDENT_TYPE"))) {
                // line 169
                yield "                  ";
                $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["condition" => ["is_incident" => 1]]);
                // line 170
                yield "               ";
            } elseif (((($_v14 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 170)) && is_array($_v14) || $_v14 instanceof ArrayAccess ? ($_v14["type"] ?? null) : null) == Twig\Extension\CoreExtension::constant("Ticket::DEMAND_TYPE"))) {
                // line 171
                yield "                  ";
                $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["condition" => ["is_request" => 1]]);
                // line 172
                yield "               ";
            }
            // line 173
            yield "            ";
        } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 173) == "Problem")) {
            // line 174
            yield "               ";
            $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["condition" => ["is_problem" => 1]]);
            // line 175
            yield "            ";
        } elseif ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 175) == "Change")) {
            // line 176
            yield "               ";
            $context["cat_params"] = Twig\Extension\CoreExtension::merge(($context["cat_params"] ?? null), ["condition" => ["is_change" => 1]]);
            // line 177
            yield "            ";
        }
        // line 178
        yield "            <span id=\"category_block_";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
        yield "\">
            ";
        // line 179
        yield $macros["fields"]->getTemplateForMacro("macro_dropdownField", $context, 179, $this->getSourceContext())->macro_dropdownField(...["ITILCategory", "itilcategories_id", (($_v15 = CoreExtension::getAttribute($this->env, $this->source,         // line 182
($context["item"] ?? null), "fields", [], "any", false, false, false, 182)) && is_array($_v15) || $_v15 instanceof ArrayAccess ? ($_v15["itilcategories_id"] ?? null) : null), _n("Category", "Categories", 1),         // line 184
($context["cat_params"] ?? null)]);
        // line 185
        yield "
            </span>

            ";
        // line 188
        yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/fields/status.html.twig");
        yield "

            ";
        // line 190
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["requesttypes_id"], "method", false, false, false, 190)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 191
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_dropdownField", $context, 191, $this->getSourceContext())->macro_dropdownField(...["RequestType", "requesttypes_id", (($_v16 = CoreExtension::getAttribute($this->env, $this->source,             // line 194
($context["item"] ?? null), "fields", [], "any", false, false, false, 194)) && is_array($_v16) || $_v16 instanceof ArrayAccess ? ($_v16["requesttypes_id"] ?? null) : null), $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeName("RequestType"), Twig\Extension\CoreExtension::merge(            // line 196
($context["field_options"] ?? null), ["condition" => ["is_active" => 1, "is_ticketheader" => 1]])]);
            // line 202
            yield "
            ";
        }
        // line 204
        yield "
            ";
        // line 205
        yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/fields/priority_matrix.html.twig");
        yield "

            ";
        // line 207
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", ["locations_id"], "method", false, false, false, 207)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 208
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_dropdownField", $context, 208, $this->getSourceContext())->macro_dropdownField(...["Location", "locations_id", (($_v17 = CoreExtension::getAttribute($this->env, $this->source,             // line 211
($context["item"] ?? null), "fields", [], "any", false, false, false, 211)) && is_array($_v17) || $_v17 instanceof ArrayAccess ? ($_v17["locations_id"] ?? null) : null), $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeName("Location"), Twig\Extension\CoreExtension::merge(            // line 213
($context["field_options"] ?? null), ["hide_if_no_elements" => true, "entity" => (($_v18 = CoreExtension::getAttribute($this->env, $this->source,             // line 215
($context["item"] ?? null), "fields", [], "any", false, false, false, 215)) && is_array($_v18) || $_v18 instanceof ArrayAccess ? ($_v18["entities_id"] ?? null) : null), "entity_sons" => true])]);
            // line 218
            yield "
            ";
        }
        // line 220
        yield "
            ";
        // line 221
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 221) && (CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 221) == "Ticket"))) {
            // line 222
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_dropdownField", $context, 222, $this->getSourceContext())->macro_dropdownField(...["Contract", "_contracts_id", ((CoreExtension::getAttribute($this->env, $this->source,             // line 225
($context["params"] ?? null), "_contracts_id", [], "array", true, true, false, 225)) ? (Twig\Extension\CoreExtension::default((($_v19 = ($context["params"] ?? null)) && is_array($_v19) || $_v19 instanceof ArrayAccess ? ($_v19["_contracts_id"] ?? null) : null), 0)) : (0)), $this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeName("Contract"), Twig\Extension\CoreExtension::merge(            // line 227
($context["field_options"] ?? null), ["entity" => (($_v20 = CoreExtension::getAttribute($this->env, $this->source,             // line 228
($context["item"] ?? null), "fields", [], "any", false, false, false, 228)) && is_array($_v20) || $_v20 instanceof ArrayAccess ? ($_v20["entities_id"] ?? null) : null), "width" => "100%", "hide_if_no_elements" => true, "nochecklimit" => true])]);
            // line 233
            yield "
            ";
        }
        // line 235
        yield "
            ";
        // line 236
        if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 236) == "Ticket") && CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 236)) ||  !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 236))) {
            // line 237
            yield "               ";
            yield $macros["fields"]->getTemplateForMacro("macro_dropdownTimestampField", $context, 237, $this->getSourceContext())->macro_dropdownTimestampField(...["actiontime", (($_v21 = CoreExtension::getAttribute($this->env, $this->source,             // line 239
($context["item"] ?? null), "fields", [], "any", false, false, false, 239)) && is_array($_v21) || $_v21 instanceof ArrayAccess ? ($_v21["actiontime"] ?? null) : null), __("Total duration"),             // line 241
($context["field_options"] ?? null)]);
            // line 242
            yield "
            ";
        }
        // line 244
        yield "
            ";
        // line 245
        yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/fields/global_validation.html.twig");
        yield "

            ";
        // line 247
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\PluginExtension']->callPluginHook("post_item_form", ["item" => ($context["item"] ?? null), "options" => ($context["params"] ?? null)]), "html", null, true);
        yield "
         </div>
      </div>
   </div>

   ";
        // line 252
        $context["actors_show"] = ((( !CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "actors", [], "array", true, true, false, 252) || ((($_v22 = ($context["headers_states"] ?? null)) && is_array($_v22) || $_v22 instanceof ArrayAccess ? ($_v22["actors"] ?? null) : null) == "true"))) ? (true) : (false));
        // line 253
        yield "   <div class=\"accordion-item\">
      <h2 class=\"accordion-header\" id=\"heading-actor\" title=\"";
        // line 254
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Actors"), "html", null, true);
        yield "\" data-bs-toggle=\"tooltip\">
         <button class=\"accordion-button ";
        // line 255
        yield (((($tmp = ($context["actors_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
        yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#actors\" aria-expanded=\"true\" aria-controls=\"actors\">
            <i class=\"ti ti-users me-1\"></i>
            <span class=\"item-title\">
                ";
        // line 258
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Actors"), "html", null, true);
        yield "
            </span>
            <span class=\"badge bg-secondary ms-2\">
               ";
        // line 261
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "countActors", [], "method", false, false, false, 261), "html", null, true);
        yield "
            </span>
         </button>
      </h2>
      <div id=\"actors\" class=\"accordion-collapse collapse ";
        // line 265
        yield (((($tmp = ($context["actors_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
        yield "\" aria-labelledby=\"heading-actor\">
         <div class=\"accordion-body accordion-actors row m-0 mt-n2\">
            ";
        // line 267
        yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/actors/main.html.twig");
        yield "
         </div>
      </div>
   </div>

   ";
        // line 272
        if ((array_key_exists("item_ticket", $context) &&  !(null === ($context["item_ticket"] ?? null)))) {
            // line 273
            yield "      ";
            $context["items_show"] = ((( !CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "items", [], "array", true, true, false, 273) || ((($_v23 = ($context["headers_states"] ?? null)) && is_array($_v23) || $_v23 instanceof ArrayAccess ? ($_v23["items"] ?? null) : null) == "true"))) ? (true) : (false));
            // line 274
            yield "      <div class=\"accordion-item\">
         <h2 class=\"accordion-header\" id=\"items-heading\" title=\"";
            // line 275
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_n("Item", "Items", Session::getPluralNumber()), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
            <button class=\"accordion-button ";
            // line 276
            yield (((($tmp = ($context["items_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
            yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#items\" aria-expanded=\"true\" aria-controls=\"items\">
               <i class=\"ti ti-package me-1\"></i>
               <span class=\"item-title\">
                    ";
            // line 279
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_n("Item", "Items", Session::getPluralNumber()), "html", null, true);
            yield "
                </span>
               <span class=\"item-counter badge bg-secondary ms-2\"></span>
               ";
            // line 282
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["itiltemplate"] ?? null), "isMandatoryField", ["items_id"], "method", false, false, false, 282)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 283
                yield "                  <span class=\"required\">*</span>
               ";
            }
            // line 285
            yield "            </button>
         </h2>
         <div id=\"items\" class=\"accordion-collapse collapse ";
            // line 287
            yield (((($tmp = ($context["items_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
            yield "\" aria-labelledby=\"items-heading\">
            <div class=\"accordion-body accordion-items row m-0 mt-n2\">
               ";
            // line 289
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["item_ticket"] ?? null), "itemAddForm", [($context["item"] ?? null), Twig\Extension\CoreExtension::merge(((array_key_exists("params", $context)) ? (Twig\Extension\CoreExtension::default(($context["params"] ?? null), [])) : ([])), ["entities_id" => ($context["entities_id"] ?? null)])], "method", false, false, false, 289), "html", null, true);
            yield "
            </div>
         </div>
      </div>
   ";
        }
        // line 294
        yield "
   ";
        // line 295
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 295) == "Ticket")) {
            // line 296
            yield "      ";
            $context["la_content"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
                // line 297
                yield "         ";
                yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/service_levels.html.twig");
                yield "
      ";
                yield from [];
            })())) ? '' : new Markup($tmp, $this->env->getCharset());
            // line 299
            yield "
      ";
            // line 300
            if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::trim(($context["la_content"] ?? null))) > 0)) {
                // line 301
                yield "         ";
                $context["nb_la"] = (((((((($_v24 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 301)) && is_array($_v24) || $_v24 instanceof ArrayAccess ? ($_v24["slas_id_tto"] ?? null) : null) > 0)) ? (1) : (0)) + ((((($_v25 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 301)) && is_array($_v25) || $_v25 instanceof ArrayAccess ? ($_v25["slas_id_ttr"] ?? null) : null) > 0)) ? (1) : (0))) + ((((($_v26 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 301)) && is_array($_v26) || $_v26 instanceof ArrayAccess ? ($_v26["olas_id_tto"] ?? null) : null) > 0)) ? (1) : (0))) + ((((($_v27 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 301)) && is_array($_v27) || $_v27 instanceof ArrayAccess ? ($_v27["olas_id_ttr"] ?? null) : null) > 0)) ? (1) : (0)));
                // line 302
                yield "         ";
                $context["servicelevels_show"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "service-levels", [], "array", true, true, false, 302) && ((($_v28 = ($context["headers_states"] ?? null)) && is_array($_v28) || $_v28 instanceof ArrayAccess ? ($_v28["service-levels"] ?? null) : null) == "true"))) ? (true) : (false));
                // line 303
                yield "         <div class=\"accordion-item\">
            <h2 class=\"accordion-header\" id=\"service-levels-heading\" title=\"";
                // line 304
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_n("Service level", "Service levels", Session::getPluralNumber()), "html", null, true);
                yield "\" data-bs-toggle=\"tooltip\">
               <button class=\"accordion-button ";
                // line 305
                yield (((($tmp = ($context["servicelevels_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
                yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#service-levels\" aria-expanded=\"true\" aria-controls=\"service-levels\">
                  <i class=\"ti ti-alarm me-1\"></i>
                  <span class=\"item-title\">
                     ";
                // line 308
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_n("Service level", "Service levels", Session::getPluralNumber()), "html", null, true);
                yield "
                  </span>
                  ";
                // line 310
                if ((($context["nb_la"] ?? null) > 0)) {
                    // line 311
                    yield "                     <span class=\"badge bg-secondary ms-2\">";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nb_la"] ?? null), "html", null, true);
                    yield "</span>
                  ";
                }
                // line 313
                yield "               </button>
            </h2>
            <div id=\"service-levels\" class=\"accordion-collapse collapse ";
                // line 315
                yield (((($tmp = ($context["servicelevels_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
                yield "\" aria-labelledby=\"service-levels-heading\">
               <div class=\"accordion-body row m-0 mt-n2\">
                  ";
                // line 317
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["la_content"] ?? null), "html", null, true);
                yield "
               </div>
            </div>
         </div>
      ";
            }
            // line 322
            yield "   ";
        }
        // line 323
        yield "
   ";
        // line 324
        if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 324), ["Problem", "Change"])) {
            // line 325
            yield "      ";
            $context["analysis_fields"] = ["impactcontent" => __("Impacts"), "causecontent" => __("Causes"), "symptomcontent" => __("Symptoms"), "controlistcontent" => __("Control list")];
            // line 331
            yield "
      ";
            // line 332
            $context["nb_analysis"] = 0;
            // line 333
            yield "      ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["analysis_fields"] ?? null));
            foreach ($context['_seq'] as $context["analysis_field"] => $context["label"]) {
                // line 334
                yield "         ";
                if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", [$context["analysis_field"]], "method", false, false, false, 334) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::trim((($_v29 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 334)) && is_array($_v29) || $_v29 instanceof ArrayAccess ? ($_v29[$context["analysis_field"]] ?? null) : null))) > 0))) {
                    // line 335
                    yield "            ";
                    $context["nb_analysis"] = (($context["nb_analysis"] ?? null) + 1);
                    // line 336
                    yield "         ";
                }
                // line 337
                yield "      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['analysis_field'], $context['label'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 338
            yield "      ";
            $context["analysis_show"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "analysis", [], "array", true, true, false, 338) && ((($_v30 = ($context["headers_states"] ?? null)) && is_array($_v30) || $_v30 instanceof ArrayAccess ? ($_v30["analysis"] ?? null) : null) == "true"))) ? (true) : (false));
            // line 339
            yield "      <div class=\"accordion-item\">
         <h2 class=\"accordion-header\" id=\"analysis-heading\" title=\"";
            // line 340
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Analysis"), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
            <button class=\"accordion-button ";
            // line 341
            yield (((($tmp = ($context["analysis_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
            yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#analysis\" aria-expanded=\"true\" aria-controls=\"analysis\">
               <i class=\"ti ti-eyeglass me-1\"></i>
               <span class=\"item-title\">
                    ";
            // line 344
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Analysis"), "html", null, true);
            yield "
               </span>
               ";
            // line 346
            if ((($context["nb_analysis"] ?? null) > 0)) {
                // line 347
                yield "                  <span class=\"badge bg-secondary ms-2\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nb_analysis"] ?? null), "html", null, true);
                yield "</span>
               ";
            }
            // line 349
            yield "            </button>
         </h2>
         <div id=\"analysis\" class=\"accordion-collapse collapse ";
            // line 351
            yield (((($tmp = ($context["analysis_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
            yield "\" aria-labelledby=\"analysis-heading\">
            <div class=\"accordion-body row m-0 mt-n2\">
               ";
            // line 353
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["analysis_fields"] ?? null));
            foreach ($context['_seq'] as $context["analysis_field"] => $context["label"]) {
                // line 354
                yield "                  ";
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", [$context["analysis_field"]], "method", false, false, false, 354)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 355
                    yield "                     ";
                    yield $macros["fields"]->getTemplateForMacro("macro_textareaField", $context, 355, $this->getSourceContext())->macro_textareaField(...[                    // line 356
$context["analysis_field"], (($_v31 = CoreExtension::getAttribute($this->env, $this->source,                     // line 357
($context["item"] ?? null), "fields", [], "any", false, false, false, 357)) && is_array($_v31) || $_v31 instanceof ArrayAccess ? ($_v31[$context["analysis_field"]] ?? null) : null),                     // line 358
$context["label"], Twig\Extension\CoreExtension::merge(                    // line 359
($context["field_options"] ?? null), ["enable_richtext" => true, "is_horizontal" => false])]);
                    // line 363
                    yield "
                  ";
                }
                // line 365
                yield "               ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['analysis_field'], $context['label'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 366
            yield "            </div>
         </div>
      </div>
   ";
        }
        // line 370
        yield "
   ";
        // line 371
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getType", [], "method", false, false, false, 371) == "Change")) {
            // line 372
            yield "      ";
            $context["plans_fields"] = ["rolloutplancontent" => __("Deployment plan"), "backoutplancontent" => __("Backup plan"), "checklistcontent" => __("Checklist")];
            // line 377
            yield "
      ";
            // line 378
            $context["nb_plans"] = 0;
            // line 379
            yield "      ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["plans_fields"] ?? null));
            foreach ($context['_seq'] as $context["plans_field"] => $context["label"]) {
                // line 380
                yield "         ";
                if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", [$context["plans_field"]], "method", false, false, false, 380) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::trim((($_v32 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 380)) && is_array($_v32) || $_v32 instanceof ArrayAccess ? ($_v32[$context["plans_field"]] ?? null) : null))) > 0))) {
                    // line 381
                    yield "            ";
                    $context["nb_plans"] = (($context["nb_plans"] ?? null) + 1);
                    // line 382
                    yield "         ";
                }
                // line 383
                yield "      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['plans_field'], $context['label'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 384
            yield "
      ";
            // line 385
            $context["plans_show"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "plans", [], "array", true, true, false, 385) && ((($_v33 = ($context["headers_states"] ?? null)) && is_array($_v33) || $_v33 instanceof ArrayAccess ? ($_v33["plans"] ?? null) : null) == "true"))) ? (true) : (false));
            // line 386
            yield "      <div class=\"accordion-item\">
         <h2 class=\"accordion-header\" id=\"plans-heading\" title=\"";
            // line 387
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Plans"), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
            <button class=\"accordion-button ";
            // line 388
            yield (((($tmp = ($context["plans_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
            yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#plans\" aria-expanded=\"true\" aria-controls=\"plans\">
               <i class=\"ti ti-checkup-list me-1\"></i>
               <span class=\"item-title\">
                    ";
            // line 391
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(__("Plans"), "html", null, true);
            yield "
               </span>
               ";
            // line 393
            if ((($context["nb_plans"] ?? null) > 0)) {
                // line 394
                yield "                  <span class=\"badge bg-secondary ms-2\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nb_plans"] ?? null), "html", null, true);
                yield "</span>
               ";
            }
            // line 396
            yield "            </button>
         </h2>
         <div id=\"plans\" class=\"accordion-collapse collapse ";
            // line 398
            yield (((($tmp = ($context["plans_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
            yield "\" aria-labelledby=\"plans-heading\">
            <div class=\"accordion-body row m-0 mt-n2\">
               ";
            // line 400
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["plans_fields"] ?? null));
            foreach ($context['_seq'] as $context["plans_field"] => $context["label"]) {
                // line 401
                yield "                  ";
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isField", [$context["plans_field"]], "method", false, false, false, 401)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 402
                    yield "                     ";
                    yield $macros["fields"]->getTemplateForMacro("macro_textareaField", $context, 402, $this->getSourceContext())->macro_textareaField(...[                    // line 403
$context["plans_field"], (($_v34 = CoreExtension::getAttribute($this->env, $this->source,                     // line 404
($context["item"] ?? null), "fields", [], "any", false, false, false, 404)) && is_array($_v34) || $_v34 instanceof ArrayAccess ? ($_v34[$context["plans_field"]] ?? null) : null),                     // line 405
$context["label"], Twig\Extension\CoreExtension::merge(                    // line 406
($context["field_options"] ?? null), ["enable_richtext" => true, "is_horizontal" => false])]);
                    // line 410
                    yield "
                  ";
                }
                // line 412
                yield "               ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['plans_field'], $context['label'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 413
            yield "            </div>
         </div>
      </div>
   ";
        }
        // line 417
        yield "
   ";
        // line 418
        if ((($tmp = ($context["ticket_ticket"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 419
            yield "      ";
            $context["linked_tickets_show"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["headers_states"] ?? null), "linked_tickets", [], "array", true, true, false, 419) && ((($_v35 = ($context["headers_states"] ?? null)) && is_array($_v35) || $_v35 instanceof ArrayAccess ? ($_v35["linked_tickets"] ?? null) : null) == "true"))) ? (true) : (false));
            // line 420
            yield "      <div class=\"accordion-item\">
         <h2 class=\"accordion-header\" id=\"linked_tickets-heading\" title=\"";
            // line 421
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeName("Ticket_Ticket", ($context["nb_linked_tickets"] ?? null)), "html", null, true);
            yield "\" data-bs-toggle=\"tooltip\">
            <button class=\"accordion-button ";
            // line 422
            yield (((($tmp = ($context["linked_tickets_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("collapsed"));
            yield "\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#linked_tickets\" aria-expanded=\"true\" aria-controls=\"linked_tickets\">
               <i class=\"ti ti-link me-1\"></i>
               ";
            // line 424
            $context["linked_tickets"] = CoreExtension::getAttribute($this->env, $this->source, ($context["ticket_ticket"] ?? null), "getLinkedTicketsTo", [(($_v36 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 424)) && is_array($_v36) || $_v36 instanceof ArrayAccess ? ($_v36["id"] ?? null) : null), true], "method", false, false, false, 424);
            // line 425
            yield "               ";
            $context["nb_linked_tickets"] = Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["linked_tickets"] ?? null));
            // line 426
            yield "               ";
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 426) && ((($_v37 = (($_v38 = ($context["params"] ?? null)) && is_array($_v38) || $_v38 instanceof ArrayAccess ? ($_v38["_link"] ?? null) : null)) && is_array($_v37) || $_v37 instanceof ArrayAccess ? ($_v37["tickets_id_2"] ?? null) : null) > 0))) {
                // line 427
                yield "                  ";
                $context["nb_linked_tickets"] = 1;
                // line 428
                yield "               ";
            }
            // line 429
            yield "               <span class=\"item-title\">
                    ";
            // line 430
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\ItemtypeExtension']->getItemtypeName("Ticket_Ticket", ($context["nb_linked_tickets"] ?? null)), "html", null, true);
            yield "
               </span>
               ";
            // line 432
            if ((($context["nb_linked_tickets"] ?? null) > 0)) {
                // line 433
                yield "                  <span class=\"badge bg-secondary ms-2\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nb_linked_tickets"] ?? null), "html", null, true);
                yield "</span>
               ";
            }
            // line 435
            yield "            </button>
         </h2>
         <div id=\"linked_tickets\" class=\"accordion-collapse collapse ";
            // line 437
            yield (((($tmp = ($context["linked_tickets_show"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("show") : (""));
            yield "\" aria-labelledby=\"linked_tickets-heading\">
            <div class=\"accordion-body\">
               ";
            // line 439
            yield Twig\Extension\CoreExtension::include($this->env, $context, "components/itilobject/linked_tickets.html.twig");
            yield "
            </div>
         </div>
      </div>
   ";
        }
        // line 444
        yield "
    <span class=\"d-none d-md-block\">
        <button type=\"button\" class=\"switch-panel-width btn btn-icon btn-ghost-secondary position-absolute bottom-0 start-0 mb-2\">
            <i class=\"fas fa-caret-left\"></i>
        </button>
    </span>
</div>

<script type=\"text/javascript\">
\$(function() {
   if (\$(window).width() < 768) { // medium breakpoint (Todo check if it\x27s possible to get bootstrap breakpoints withint javascript)
      \$(\x27#itil-data .accordion-collapse\x27).each(function() {
         \$(this).removeClass(\x27show\x27);
      })
   }
});

var reloadCategory = function() {
    var type = \$(\x27[name=type]\x27).val();

    \$(\x27#category_block_";
        // line 464
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["rand"] ?? null), "html", null, true);
        yield " .field-container\x27).load(
        \x27";
        // line 465
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Glpi\Application\View\Extension\RoutingExtension']->path("ajax/dropdownTicketCategories.php"), "html", null, true);
        yield "\x27,
        {
            \x27type\x27: type,
            \x27entity_restrict\x27: ";
        // line 468
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v39 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 468)) && is_array($_v39) || $_v39 instanceof ArrayAccess ? ($_v39["entities_id"] ?? null) : null), "html", null, true);
        yield ",
            \x27value\x27: ";
        // line 469
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v40 = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "fields", [], "any", false, false, false, 469)) && is_array($_v40) || $_v40 instanceof ArrayAccess ? ($_v40["itilcategories_id"] ?? null) : null), "html", null, true);
        yield ",
        }
    );
};
</script>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "components/itilobject/fields_panel.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  856 => 469,  852 => 468,  846 => 465,  842 => 464,  820 => 444,  812 => 439,  807 => 437,  803 => 435,  797 => 433,  795 => 432,  790 => 430,  787 => 429,  784 => 428,  781 => 427,  778 => 426,  775 => 425,  773 => 424,  768 => 422,  764 => 421,  761 => 420,  758 => 419,  756 => 418,  753 => 417,  747 => 413,  741 => 412,  737 => 410,  735 => 406,  734 => 405,  733 => 404,  732 => 403,  730 => 402,  727 => 401,  723 => 400,  718 => 398,  714 => 396,  708 => 394,  706 => 393,  701 => 391,  695 => 388,  691 => 387,  688 => 386,  686 => 385,  683 => 384,  677 => 383,  674 => 382,  671 => 381,  668 => 380,  663 => 379,  661 => 378,  658 => 377,  655 => 372,  653 => 371,  650 => 370,  644 => 366,  638 => 365,  634 => 363,  632 => 359,  631 => 358,  630 => 357,  629 => 356,  627 => 355,  624 => 354,  620 => 353,  615 => 351,  611 => 349,  605 => 347,  603 => 346,  598 => 344,  592 => 341,  588 => 340,  585 => 339,  582 => 338,  576 => 337,  573 => 336,  570 => 335,  567 => 334,  562 => 333,  560 => 332,  557 => 331,  554 => 325,  552 => 324,  549 => 323,  546 => 322,  538 => 317,  533 => 315,  529 => 313,  523 => 311,  521 => 310,  516 => 308,  510 => 305,  506 => 304,  503 => 303,  500 => 302,  497 => 301,  495 => 300,  492 => 299,  485 => 297,  482 => 296,  480 => 295,  477 => 294,  469 => 289,  464 => 287,  460 => 285,  456 => 283,  454 => 282,  448 => 279,  442 => 276,  438 => 275,  435 => 274,  432 => 273,  430 => 272,  422 => 267,  417 => 265,  410 => 261,  404 => 258,  398 => 255,  394 => 254,  391 => 253,  389 => 252,  381 => 247,  376 => 245,  373 => 244,  369 => 242,  367 => 241,  366 => 239,  364 => 237,  362 => 236,  359 => 235,  355 => 233,  353 => 228,  352 => 227,  351 => 225,  349 => 222,  347 => 221,  344 => 220,  340 => 218,  338 => 215,  337 => 213,  336 => 211,  334 => 208,  332 => 207,  327 => 205,  324 => 204,  320 => 202,  318 => 196,  317 => 194,  315 => 191,  313 => 190,  308 => 188,  303 => 185,  301 => 184,  300 => 182,  299 => 179,  294 => 178,  291 => 177,  288 => 176,  285 => 175,  282 => 174,  279 => 173,  276 => 172,  273 => 171,  270 => 170,  267 => 169,  264 => 168,  261 => 167,  258 => 166,  255 => 163,  252 => 162,  249 => 161,  246 => 158,  243 => 157,  241 => 155,  240 => 154,  239 => 153,  236 => 152,  232 => 150,  230 => 149,  229 => 147,  227 => 145,  224 => 144,  221 => 143,  218 => 142,  215 => 141,  212 => 140,  210 => 139,  209 => 136,  207 => 135,  205 => 134,  202 => 133,  198 => 131,  196 => 130,  195 => 128,  193 => 126,  191 => 125,  188 => 124,  184 => 122,  182 => 121,  181 => 119,  179 => 117,  177 => 116,  174 => 115,  170 => 113,  168 => 112,  167 => 110,  165 => 108,  163 => 107,  159 => 105,  157 => 104,  156 => 102,  155 => 100,  152 => 99,  149 => 98,  145 => 96,  143 => 95,  142 => 93,  140 => 91,  138 => 90,  135 => 89,  131 => 87,  129 => 84,  128 => 82,  127 => 80,  124 => 79,  117 => 77,  114 => 76,  110 => 74,  108 => 71,  107 => 70,  106 => 68,  104 => 65,  101 => 64,  99 => 63,  94 => 61,  88 => 58,  81 => 54,  75 => 51,  69 => 48,  65 => 46,  63 => 45,  59 => 43,  57 => 42,  55 => 41,  52 => 40,  50 => 38,  49 => 37,  48 => 36,  47 => 34,  45 => 33,  42 => 32,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "components/itilobject/fields_panel.html.twig", "C:\\xampp\\htdocs\\itsm\\templates\\components\\itilobject\\fields_panel.html.twig");
    }
}
