<?php

/* AdminBundle:TicketFeatures:index.html.twig */
class __TwigTemplate_5606916e046564c00a491bb39167a997 extends \Application\DeskPRO\Twig\Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("AdminBundle::layout.html.twig");

        $this->blocks = array(
            'pagebar' => array($this, 'block_pagebar'),
            'page' => array($this, 'block_page'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "AdminBundle::layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 2
    public function block_pagebar($context, array $blocks = array())
    {
        // line 3
        echo "<ul>
\t<li>";
        // line 4
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "admin.tickets.ticket_features_settings");
        echo "</li>
</ul>
";
    }

    // line 7
    public function block_page($context, array $blocks = array())
    {
        // line 8
        echo "
";
        // line 9
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($this->getAttribute($_app_, "getSession", array(), "method"), "getFlash", array(0 => "saved_settings"), "method")) {
            // line 10
            echo "\t<div class=\"alert-message block-message success\">
\t\tSettings were saved successfully.
\t</div>
";
        }
        // line 14
        echo "
<form action=\"";
        // line 15
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_settings_saveform", array("type" => "ticket_features", "auth" => $this->env->getExtension('deskpro_templating')->securityToken("settings_ticket_features"))), "html", null, true);
        echo "\" method=\"post\" id=\"settings_form\">
<input type=\"hidden\" name=\"return\" value=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_features"), "html", null, true);
        echo "\" />

<input type=\"hidden\" name=\"set_settings[]\" value=\"core.tickets.enable_feedback\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core.tickets.feedback_agents_read\" />
<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core.show_ticket_suggestions\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core.ref_pattern\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core.tickets.use_ref\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.use_archive\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.auto_archive_time\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reply_status\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reply_assign_unassigned\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reply_assign_assigned\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reply_assignteam_unassigned\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reply_assignteam_assigned\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.new_status\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.new_assign\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.new_assignteam\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.reassign_auto_change_status\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.resolve_auto_close_tab\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.default_send_user_notify\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.new_default_send_user_notify\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.default_ticket_reverse_order\" />
<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.default_ticket_reverse_order\" />

<div class=\"setting_field_row\">
\t<h4>";
        // line 41
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.general.feedback");
        echo "</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core.tickets.enable_feedback]\" ";
        // line 44
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core.tickets.enable_feedback"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\t";
        // line 45
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "admin.tickets.enable_ticket_feedback");
        echo "</label>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core.tickets.feedback_agents_read]\" ";
        // line 48
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core.tickets.feedback_agents_read"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\t";
        // line 49
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "admin.tickets.choice_agents_read_ticket_feedback");
        echo "</label>
\t\t</div>
\t</div>
</div>

";
        // line 54
        $this->env->loadTemplate("AdminBundle:TicketFeatures:message-templates-bit.html.twig")->display($context);
        // line 55
        echo "
<div class=\"setting_field_row\">
\t<h4>Ticket Defaults</h4>
\t<div class=\"setting_fields\">
\t\t<strong>Ticket Replies</strong>
\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">
\t\t\t<tr>
\t\t\t\t<td width=\"200\">Default Status</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.reply_status]\">
\t\t\t\t\t\t<option ";
        // line 65
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_status"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Do not change status</option>
\t\t\t\t\t\t<option ";
        // line 66
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_status"), "method") == "awaiting_user")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"awaiting_user\">Awaiting User</option>
\t\t\t\t\t\t<option ";
        // line 67
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_status"), "method") == "awaiting_agent")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"awaiting_agent\">Awaiting Agent</option>
\t\t\t\t\t\t<option ";
        // line 68
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_status"), "method") == "resolved")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"resolved\">Resolved</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td>Default Agent - Unassigned</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.reply_assign_unassigned]\">
\t\t\t\t\t\t<option ";
        // line 76
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assign_unassigned"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Keep unassigned</option>
\t\t\t\t\t\t<option ";
        // line 77
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assign_unassigned"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Assign to self</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td>Default Agent - Assigned</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.reply_assign_assigned]\">
\t\t\t\t\t\t<option ";
        // line 85
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assign_assigned"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Keep assignment</option>
\t\t\t\t\t\t<option ";
        // line 86
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assign_assigned"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Reassign to self</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td>Default Team - No Team</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.reply_assignteam_unassigned]\">
\t\t\t\t\t\t<option ";
        // line 94
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assignteam_unassigned"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Keep no team</option>
\t\t\t\t\t\t<option ";
        // line 95
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assignteam_unassigned"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Assign to own team</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td>Default Team - With Team</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.reply_assignteam_assigned]\">
\t\t\t\t\t\t<option ";
        // line 103
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assignteam_assigned"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Keep team</option>
\t\t\t\t\t\t<option ";
        // line 104
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reply_assignteam_assigned"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Reassign to own team</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<td>Send User Notification</td>
\t\t\t\t<td>
\t\t\t\t\t<select name=\"settings[core_tickets.default_send_user_notify]\">
\t\t\t\t\t\t<option ";
        // line 112
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.default_send_user_notify"), "method")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"1\">Default on - user notifications are sent</option>
\t\t\t\t\t\t<option ";
        // line 113
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.default_send_user_notify"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Default off - no user notifications are sent</option>
\t\t\t\t\t</select>
\t\t\t\t</td>
\t\t\t</tr>
\t\t</table>
\t\t<div class=\"field_row\" style=\"margin-top: 10px;\">
\t\t\t<label>
\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.reassign_auto_change_status]\" value=\"1\" ";
        // line 120
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.reassign_auto_change_status"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tWhen changing the assigned agent from the reply box, automatically set the status to Awaiting Agent
\t\t\t</label>
\t\t\t<label>
\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.resolve_auto_close_tab]\" value=\"1\" ";
        // line 124
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.resolve_auto_close_tab"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tWhen changing the status to Resolved from the reply box, automatically check the \"close tab after reply\" option
\t\t\t</label>
\t\t</div>
\t\t<div class=\"field_row\" style=\"margin-top: 10px;\">
\t\t\t<strong>Ticket Message Ordering</strong>
\t\t\t<label>
\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.default_ticket_reverse_order]\" value=\"1\" ";
        // line 131
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.default_ticket_reverse_order"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tShow newest messages first (reverse chronological order) with the replybox at the top. This setting can be overriden by each agent from their profile settings.
\t\t\t</label>
\t\t</div>
\t\t<div class=\"field_row\" style=\"margin-top: 10px;\">
\t\t\t<strong>New Ticket</strong>
\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">
\t\t\t\t<tr>
\t\t\t\t\t<td width=\"200\">Default Status</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t<select name=\"settings[core_tickets.new_status]\">
\t\t\t\t\t\t\t<option ";
        // line 142
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_status"), "method") == "awaiting_user")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"awaiting_user\">Awaiting User</option>
\t\t\t\t\t\t\t<option ";
        // line 143
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_status"), "method") == "awaiting_agent")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"awaiting_agent\">Awaiting Agent</option>
\t\t\t\t\t\t\t<option ";
        // line 144
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_status"), "method") == "resolved")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"resolved\">Resolved</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t\t<tr>
\t\t\t\t\t<td width=\"200\">Default Agent</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t<select name=\"settings[core_tickets.new_assign]\">
\t\t\t\t\t\t\t<option ";
        // line 152
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_assign"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Unassigned</option>
\t\t\t\t\t\t\t<option ";
        // line 153
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_assign"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Assign to self</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t\t<tr>
\t\t\t\t\t<td width=\"200\">Default Team</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t<select name=\"settings[core_tickets.new_assignteam]\">
\t\t\t\t\t\t\t<option ";
        // line 161
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_assignteam"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Unassigned</option>
\t\t\t\t\t\t\t<option ";
        // line 162
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_assignteam"), "method") == "assign")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"assign\">Assign to own team</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t\t<tr>
\t\t\t\t\t<td width=\"200\">Send User Notification</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t<select name=\"settings[core_tickets.new_default_send_user_notify]\">
\t\t\t\t\t\t\t<option ";
        // line 170
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_default_send_user_notify"), "method")) {
            echo "selected=\"selected\"";
        }
        echo " value=\"1\">Default on - user notification is sent</option>
\t\t\t\t\t\t\t<option ";
        // line 171
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.new_default_send_user_notify"), "method"))) {
            echo "selected=\"selected\"";
        }
        echo " value=\"0\">Default off - no user notification is sent</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t</table>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Ticket Billing</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core_tickets.enable_billing]\" ";
        // line 184
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.enable_billing"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " id=\"billing_enable\" />
\t\t\t\tEnable ticket billing</label>
\t\t</div>
\t\t<div id=\"billing_dependencies\" style=\"";
        // line 187
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.enable_billing"), "method"))) {
            echo "display: none;";
        }
        echo "\">
\t\t\t<div class=\"field_row\">
\t\t\t\t<label>
\t\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.billing_auto_timer]\" ";
        // line 190
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_auto_timer"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " id=\"bill_auto_opt\" />
\t\t\t\t\tAutomatically start billing timer when viewing a ticket
\t\t\t\t</label>

\t\t\t\t<div id=\"show_reply_bill\" style=\"margin-left: 15px; ";
        // line 194
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_auto_timer"), "method"))) {
            echo "display: none;";
        }
        echo "\">
\t\t\t\t\t<label><input type=\"checkbox\" name=\"settings[core_tickets.billing_on_reply]\" ";
        // line 195
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_on_reply"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\t\tShow billing on reply form</label>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"field_row\">
\t\t\t\t<label>
\t\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.billing_on_new]\" ";
        // line 201
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_on_new"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " id=\"billing_on_new\" />
\t\t\t\t\tShow billing on new ticket
\t\t\t\t</label>

\t\t\t\t<div id=\"billing_auto_timer_new\" style=\"margin-left: 15px; ";
        // line 205
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_on_new"), "method"))) {
            echo "display: none;";
        }
        echo "\">
\t\t\t\t\t<label><input type=\"checkbox\" name=\"settings[core_tickets.billing_auto_timer_new]\" ";
        // line 206
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_auto_timer_new"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\t\tAutomatically start billing timer</label>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"field_row\">
\t\t\t\t<label>Billing currency name</label>
\t\t\t\t<input type=\"text\" name=\"settings[core_tickets.billing_currency]\" value=\"";
        // line 212
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.billing_currency"), "method"), "html", null, true);
        echo "\" />
\t\t\t</div>
\t\t</div>
\t</div>
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.enable_billing\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.billing_on_reply\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.billing_currency\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.billing_auto_timer\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.billing_on_new\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.billing_auto_timer_new\" />
</div>

<div class=\"setting_field_row\">
\t<h4>Working Hours</h4>
\t<div class=\"setting_fields\">
\t\t";
        // line 227
        if (isset($context["work_hours"])) { $_work_hours_ = $context["work_hours"]; } else { $_work_hours_ = null; }
        if (($this->getAttribute($_work_hours_, "active_time") == "all")) {
            // line 228
            echo "\t\t\t24 hours a day, 7 days a week
\t\t";
        } else {
            // line 230
            echo "\t\t\t";
            if (isset($context["work_hours"])) { $_work_hours_ = $context["work_hours"]; } else { $_work_hours_ = null; }
            echo twig_escape_filter($this->env, sprintf("%02d:%02d - %02d:%02d", $this->getAttribute($_work_hours_, "start_hour"), $this->getAttribute($_work_hours_, "start_minute"), $this->getAttribute($_work_hours_, "end_hour"), $this->getAttribute($_work_hours_, "end_minute")), "html", null, true);
            echo "
\t\t\t(time zone: ";
            // line 231
            if (isset($context["work_hours"])) { $_work_hours_ = $context["work_hours"]; } else { $_work_hours_ = null; }
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            echo twig_escape_filter($this->env, (($this->getAttribute($_work_hours_, "timezone", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($_work_hours_, "timezone"), $this->getAttribute($_app_, "getSetting", array(0 => "core.default_timezone"), "method"))) : ($this->getAttribute($_app_, "getSetting", array(0 => "core.default_timezone"), "method"))), "html", null, true);
            echo ")";
            // line 232
            if (isset($context["work_hours"])) { $_work_hours_ = $context["work_hours"]; } else { $_work_hours_ = null; }
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_work_hours_, "days"));
            foreach ($context['_seq'] as $context["day"] => $context["null"]) {
                echo ",
\t\t\t\t";
                // line 233
                if (isset($context["day"])) { $_day_ = $context["day"]; } else { $_day_ = null; }
                if (($_day_ == 0)) {
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_sunday");
                } elseif (($_day_ == 1)) {
                    // line 234
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_monday");
                } elseif (($_day_ == 2)) {
                    // line 235
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_tuesday");
                } elseif (($_day_ == 3)) {
                    // line 236
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_wednesday");
                } elseif (($_day_ == 4)) {
                    // line 237
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_thursday");
                } elseif (($_day_ == 5)) {
                    // line 238
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_friday");
                } elseif (($_day_ == 6)) {
                    // line 239
                    echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "agent.time.long-day_saturday");
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['day'], $context['null'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 240
            echo " (excluding holidays)
\t\t";
        }
        // line 242
        echo "\t\t<div>
\t\t\t<a class=\"clean-white\" style=\"padding: 1px 6px\" href=\"";
        // line 243
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_features_work_hours"), "html", null, true);
        echo "\">Edit Working Hours</a>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Rich Text Editor</h4>
\t<div class=\"setting_fields\">
\t\t";
        // line 257
        echo "\t\t<div class=\"field_row\">
\t\t\t<strong>Available Text Editor Buttons:</strong>
\t\t\t<ul>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_html]\" value=\"1\" ";
        // line 260
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_html"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> View HTML Source</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_bold]\" value=\"1\" ";
        // line 261
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_bold"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Bold</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_italic]\" value=\"1\" ";
        // line 262
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_italic"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Italics</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_underline]\" value=\"1\" ";
        // line 263
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_underline"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Underline</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_strike]\" value=\"1\" ";
        // line 264
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_strike"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Strikethrough</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_color]\" value=\"1\" ";
        // line 265
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_color"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Change Color</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_alignment]\" value=\"1\" ";
        // line 266
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_alignment"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Change Alignment</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_list]\" value=\"1\" ";
        // line 267
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_list"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Insert List</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_image]\" value=\"1\" ";
        // line 268
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_image"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Insert Image</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_link]\" value=\"1\" ";
        // line 269
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_link"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Insert Link</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_table]\" value=\"1\" ";
        // line 270
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_table"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Insert Table</label></li>
\t\t\t\t<li><label><input type=\"checkbox\" name=\"settings[core_tickets.agent_rte_button_hr]\" value=\"1\" ";
        // line 271
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.agent_rte_button_hr"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " /> Insert Horizontal Rule</label></li>
\t\t\t</ul>
\t\t</div>
\t</div>
\t";
        // line 276
        echo "\t";
        // line 277
        echo "\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_html\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_html\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_bold\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_bold\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_italic\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_italic\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_italic\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_italic\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_underline\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_underline\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_strike\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_strike\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_color\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_color\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_list\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_list\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_image\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_image\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_link\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_link\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_alignment\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_alignment\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_table\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_table\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.agent_rte_button_hr\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.agent_rte_button_hr\" />
</div>

<div class=\"setting_field_row\">
\t<h4>Ticket Locking</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core_tickets.lock_on_view]\" ";
        // line 309
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.lock_on_view"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tAutomatically lock tickets when agents view them</label>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core_tickets.unlock_on_close]\" ";
        // line 313
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.unlock_on_close"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tAutomatically unlock tickets when the lock owner stops viewing the ticket</label>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t";
        // line 317
        $context["options"] = array(900 => "15 minutes", 1800 => "30 minutes", 3600 => "1 hour", 7200 => "2 hours", 14400 => "4 hours", 28000 => "8 hours", 86400 => "1 day", 259200 => "3 days", 432000 => "5 days", 604800 => "1 week", 1209600 => "2 weeks");
        // line 330
        echo "\t\t\t<label>Automatically unlock tickets after:</label>
\t\t\t<select name=\"settings[core_tickets.lock_lifetime]\">
\t\t\t\t";
        // line 332
        if (isset($context["options"])) { $_options_ = $context["options"]; } else { $_options_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_options_);
        foreach ($context['_seq'] as $context["k"] => $context["v"]) {
            // line 333
            echo "\t\t\t\t\t<option value=\"";
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            echo twig_escape_filter($this->env, $_k_, "html", null, true);
            echo "\" ";
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.lock_lifetime"), "method") == $_k_)) {
                echo "selected=\"selected\"";
            }
            echo ">";
            if (isset($context["v"])) { $_v_ = $context["v"]; } else { $_v_ = null; }
            echo twig_escape_filter($this->env, $_v_, "html", null, true);
            echo "</option>
\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 335
        echo "\t\t\t</select>
\t\t</div>
\t</div>
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.lock_on_view\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.lock_on_view\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.unlock_on_close\" />
\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.unlock_on_close\" />
\t<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.lock_lifetime\" />
</div>

<div class=\"setting_field_row\">
\t<h4>Suggestions</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<label><input type=\"checkbox\" name=\"settings[core.show_ticket_suggestions]\" ";
        // line 349
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core.show_ticket_suggestions"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tShow automatic article suggestions on new ticket form</label>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Ticket Forwarding</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<p>
\t\t\t\tThese settings control how messages are forwarded out of the helpdesk using the \"Forward Message\" function from the Agent Interface.
\t\t\t\tThis feature is available from the gear menu on each message in a ticket.
\t\t\t</p>
\t\t\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.fwd_use_account\" />
\t\t\t<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.fwd_use_agent_address\" />
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label>
\t\t\t\tSelect the account to send messages from
\t\t\t</label>
\t\t\t<select name=\"settings[core_tickets.fwd_use_account]\">
\t\t\t\t<option value=\"0\">Default no-reply account</option>
\t\t\t\t";
        // line 372
        if (isset($context["email_accounts"])) { $_email_accounts_ = $context["email_accounts"]; } else { $_email_accounts_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_email_accounts_);
        foreach ($context['_seq'] as $context["_key"] => $context["account"]) {
            // line 373
            echo "\t\t\t\t\t<option value=\"";
            if (isset($context["account"])) { $_account_ = $context["account"]; } else { $_account_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($_account_, "id"), "html", null, true);
            echo "\" ";
            if (isset($context["account"])) { $_account_ = $context["account"]; } else { $_account_ = null; }
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (($this->getAttribute($_account_, "id") == $this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.fwd_use_account"), "method"))) {
                echo "selected=\"selected\"";
            }
            echo ">
\t\t\t\t\t\t";
            // line 374
            if (isset($context["account"])) { $_account_ = $context["account"]; } else { $_account_ = null; }
            echo twig_escape_filter($this->env, (($this->getAttribute($_account_, "getAliasEmailAddress", array(), "method", true, true)) ? (_twig_default_filter($this->getAttribute($_account_, "getAliasEmailAddress", array(), "method"), $this->getAttribute($_account_, "getPrimaryEmailAddress", array(), "method"))) : ($this->getAttribute($_account_, "getPrimaryEmailAddress", array(), "method"))), "html", null, true);
            echo "
\t\t\t\t\t</option>
\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['account'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 377
        echo "\t\t\t</select>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label>
\t\t\t\t<input id=\"fwd_use_agent_address\" type=\"checkbox\" name=\"settings[core_tickets.fwd_use_agent_address]\" ";
        // line 381
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.fwd_use_agent_address"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tSend messages with the agent's email address in the \"From\" line
\t\t\t</label>
\t\t\t<p>
\t\t\t\tThis will make forwarded messages appear as though they came from the agent's personal email account, and means replies will
\t\t\t\tgo directly to the agent.
\t\t\t</p>
\t\t\t<p>
\t\t\t\t<strong>Important:</strong> For this feature to work, the email account selected above must be able to send messages from arbitrary email addresses. This may require special
\t\t\t\tconfiguration on your email server.
\t\t\t</p>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Ticket Refs</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<p>
\t\t\t\tEach ticket is given a unique numeric ID that identifies it. You may also add \"ref codes\" to
\t\t\t\tenable a reference string that your end-users will see instead of the ID. These ref codes are generally more readable
\t\t\t\tand user-friendly. By default, ref codes look like <em>ABCD-1234-EFGH</em> but you can customize it to include other tokens.
\t\t\t</p>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label><input id=\"ref_options_toggle\" type=\"checkbox\" name=\"settings[core.tickets.use_ref]\" ";
        // line 407
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core.tickets.use_ref"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\tUse ref codes
\t\t\t</label>

\t\t\t<div id=\"ref_options\" ";
        // line 411
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core.tickets.use_ref"), "method"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t<div style=\"padding-top: 5px; padding-bottom: 5px;\">
\t\t\t\t\t<input type=\"text\" name=\"settings[core.ref_pattern]\" id=\"ref_format\" value=\"";
        // line 413
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        echo twig_escape_filter($this->env, $this->getAttribute($_app_, "getSetting", array(0 => "core.ref_pattern"), "method"), "html", null, true);
        echo "\" placeholder=\"";
        echo twig_escape_filter($this->env, "<A><A><A><A>-<#><#><#><#>-<A><A><A><A>");
        echo "\" style=\"width: 350px; font-family: 'Monaco', 'Courier New', monospaced; color: #000;\" />
\t\t\t\t\tand append <select name=\"settings[core.ref_append_counter]\" id=\"ref_format_digits\">
\t\t\t\t\t\t";
        // line 415
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable(array(0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8));
        foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
            // line 416
            echo "\t\t\t\t\t\t\t<option value=\"";
            if (isset($context["i"])) { $_i_ = $context["i"]; } else { $_i_ = null; }
            echo twig_escape_filter($this->env, $_i_, "html", null, true);
            echo "\" ";
            if (isset($context["i"])) { $_i_ = $context["i"]; } else { $_i_ = null; }
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (($_i_ == $this->getAttribute($_app_, "getSetting", array(0 => "core.ref_append_counter"), "method"))) {
                echo "selected=\"selected\"";
            }
            echo ">
\t\t\t\t\t\t\t\t";
            // line 417
            if (isset($context["i"])) { $_i_ = $context["i"]; } else { $_i_ = null; }
            if (($_i_ == 1)) {
                echo "1 Digit
\t\t\t\t\t\t\t\t";
            } else {
                // line 418
                if (isset($context["i"])) { $_i_ = $context["i"]; } else { $_i_ = null; }
                echo twig_escape_filter($this->env, $_i_, "html", null, true);
                echo " Digits";
            }
            // line 419
            echo "\t\t\t\t\t\t\t</option>
\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 421
        echo "\t\t\t\t\t</select>
\t\t\t\t\t<span class=\"small-light-icon tipped\" data-tipped-options=\"maxWidth: 250\" title=\"This will append a counter to the end of your pattern. For example, if you based it on the year, you might choose 5 digits and get refs like 2012-00001 and 2012-00002, counting upwards.<br /><br />If your pattern has a low number of possibilities, then it is highly recommended to use a counter to avoid collisions.\"></span>
\t\t\t\t</div>

\t\t\t\t<div class=\"alert-message block-message error\" id=\"ref_format_err_len\" style=\"display: none;\">
\t\t\t\t\tThis ref code is too long. Remove some segments and try again.
\t\t\t\t</div>
\t\t\t\t<div class=\"alert-message block-message error\" id=\"ref_format_err_regex\" style=\"display: none;\">
\t\t\t\t\tRef codes can only contain:<br/>
\t\t\t\t\t&middot; The tokens below<br/>
\t\t\t\t\t&middot; Letters and numbers (A-Z and 0-9)<br/>
\t\t\t\t\t&middot; Dashes and underscores (- and _)
\t\t\t\t</div>

\t\t\t\t<p>Your pattern can use tokens surrounded by &lt;brackets&gt;. Here are the available tokens:</p>

\t\t\t\t<ul class=\"token-list inline\">
\t\t\t\t\t<li><em>&lt;A&gt;</em> - A random letter</li>
\t\t\t\t\t<li><em>&lt;#&gt;</em> - A random number</li>
\t\t\t\t\t<li><em>&lt;?&gt;</em> - A random letter or number</li>
\t\t\t\t\t<li><em>&lt;YEAR&gt;</em> - Year as a four-digit number (";
        // line 441
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "Y"), "html", null, true);
        echo ")</li>
\t\t\t\t\t<li><em>&lt;MONTH&gt;</em> - Month as a two-digit number (";
        // line 442
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "m"), "html", null, true);
        echo ")</li>
\t\t\t\t\t<li><em>&lt;DAY&gt;</em> - Day as a two-digit number (";
        // line 443
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "d"), "html", null, true);
        echo ")</li>
\t\t\t\t\t<li><em>&lt;HOUR&gt;</em> - Hour in 24h time (";
        // line 444
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "H"), "html", null, true);
        echo ")</li>
\t\t\t\t\t<li><em>&lt;MIN&gt;</em> - Minute (";
        // line 445
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "i"), "html", null, true);
        echo ")</li>
\t\t\t\t\t<li><em>&lt;SEC&gt;</em> - Second (";
        // line 446
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "s"), "html", null, true);
        echo ")</li>
\t\t\t\t</ul>

\t\t\t\t<br />
\t\t\t\t<p>Here are some examples:</p>
\t\t\t\t<ul class=\"token-list\">
\t\t\t\t\t<li><em>";
        // line 452
        echo twig_escape_filter($this->env, "<YEAR>-<MONTH>");
        echo "- and 3 digits</em> creates <em>";
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "Y"), "html", null, true);
        echo "-";
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "m"), "html", null, true);
        echo "-001</em>, then <em>";
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "Y"), "html", null, true);
        echo "-";
        echo twig_escape_filter($this->env, $this->env->getExtension('deskpro_templating')->userDate($context, "now", "m"), "html", null, true);
        echo "-002</em></li>
\t\t\t\t\t<li><em>";
        // line 453
        echo twig_escape_filter($this->env, "<?><?><?><?><?><?>");
        echo "</em> creates <em>";
        echo twig_escape_filter($this->env, ((((($this->env->getExtension('deskpro_templating')->rand() . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()), "html", null, true);
        echo "</em></li>
\t\t\t\t\t<li><em>";
        // line 454
        echo twig_escape_filter($this->env, "<YEAR>-<A><A><?><?><?>");
        echo "</em> creates <em>";
        echo twig_escape_filter($this->env, ((($this->env->getExtension('deskpro_templating')->userDate($context, "now", "Y") . "-AB") . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()), "html", null, true);
        echo "</em></li>
\t\t\t\t\t<li><em>";
        // line 455
        echo twig_escape_filter($this->env, "TICKET-<A><A><?><?><?><?><?>");
        echo "</em> creates <em>";
        echo twig_escape_filter($this->env, ((((("TICKET" . "-AB") . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()) . $this->env->getExtension('deskpro_templating')->rand()), "html", null, true);
        echo "</em></li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.add_agent_ccs\" />
<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.add_agent_ccs\" />
<input type=\"hidden\" name=\"set_settings[]\" value=\"core_tickets.process_agent_fwd\" />
<input type=\"hidden\" name=\"set_settings_falseable[]\" value=\"core_tickets.process_agent_fwd\" />
<div class=\"setting_field_row\">
\t<h4>Email Gateway</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\t<label>
\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.add_agent_ccs]\" ";
        // line 471
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.add_agent_ccs"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tIf an agent email address is CC'd in an email to the helpdesk, add the agent as a follower.
\t\t\t\t<span class=\"small-light-icon tipped\" title=\"When this option is disabled, any CC'd agent email addresses will be ignored. This means agents must be assigned or added as followers using triggers or manually by another agent. When this option is disabled there is no way for end-users to add specific agents to tickets.\"></span>
\t\t\t</label>
\t\t</div>
\t\t<div class=\"field_row\">
\t\t\t<label>
\t\t\t\t<input type=\"checkbox\" name=\"settings[core_tickets.process_agent_fwd]\" ";
        // line 478
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.process_agent_fwd"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " />
\t\t\t\tWhen an agent forwards an email to helpdesk, attempt to extract and process original email and add the agents reply as a reply. <a href=\"https://support.deskpro.com/kb/articles/106\" target=\"_blank\">Visit our helpdesk for more information</a>.
\t\t\t</label>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Archiving</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\tFor very large helpdesks with millions of tickets, archiving can greatly improve performance of the agent interace and filters.
\t\t\tWhen an old ticket is archived it is moved out of your filters and into the 'Archived' section. You can still view archived
\t\t\ttickets and agents with permission can restore archived tickets.
\t\t\t<br />
\t\t\t<br />

\t\t\t<label><input id=\"archive_toggle\" type=\"checkbox\" name=\"settings[core_tickets.use_archive]\" ";
        // line 495
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.use_archive"), "method")) {
            echo "checked=\"checked\"";
        }
        echo " value=\"1\" />
\t\t\tUse ticket archiving
\t\t\t</label>

\t\t\t<div id=\"archive_options\" ";
        // line 499
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ((!$this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.use_archive"), "method"))) {
            echo "style=\"display: none\"";
        }
        echo ">
\t\t\t\t<div style=\"padding-top: 5px; padding-bottom: 5px;\">
\t\t\t\t\tHow long until resolved tickets are automatically sent to the archive?
\t\t\t\t\t";
        // line 502
        $context["options"] = array(86400 => "1 day", 259200 => "3 days", 432000 => "5 days", 604800 => "1 week", 1209600 => "2 weeks", 1814400 => "3 weeks", 2419000 => "1 month", 4838000 => "2 months", 7257000 => "3 months", 14514000 => "6 months", 21771000 => "9 months", 29028000 => "1 year", 58056000 => "2 years");
        // line 517
        echo "\t\t\t\t\t<select name=\"settings[core_tickets.auto_archive_time]\">
\t\t\t\t\t\t";
        // line 518
        if (isset($context["options"])) { $_options_ = $context["options"]; } else { $_options_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_options_);
        foreach ($context['_seq'] as $context["k"] => $context["v"]) {
            // line 519
            echo "\t\t\t\t\t\t\t<option value=\"";
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            echo twig_escape_filter($this->env, $_k_, "html", null, true);
            echo "\" ";
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.auto_archive_time"), "method") == $_k_)) {
                echo "selected=\"selected\"";
            }
            echo ">";
            if (isset($context["v"])) { $_v_ = $context["v"]; } else { $_v_ = null; }
            echo twig_escape_filter($this->env, $_v_, "html", null, true);
            echo "</option>
\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 521
        echo "\t\t\t\t\t</select>
\t\t\t\t</div>

\t\t\t\t";
        // line 524
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.use_archive"), "method")) {
            // line 525
            echo "\t\t\t\t\t<div class=\"alert-message block-message\" style=\"margin: 4px 25px 0 25px\">
\t\t\t\t\t\tIf there has been an error and the tickets you see in the agent interface do not seem to be correct,
\t\t\t\t\t\tthere may be a problem with your search tables containing invalid records.
\t\t\t\t\t\t<br /><br />
\t\t\t\t\t\t<a class=\"clean-white\" href=\"";
            // line 529
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_ticketfeatures_regensearch"), "html", null, true);
            echo "\">Click here to regenerate the ticket search tables</a>
\t\t\t\t\t</div>
\t\t\t\t";
        }
        // line 532
        echo "\t\t\t</div>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\">
\t<h4>Recycle Bin</h4>
\t<div class=\"setting_fields\">
\t\t<div class=\"field_row\">
\t\t\tWhen agents delete or spam a ticket, it is sent to the Recycle Bin. Tickets in the Recycle Bin can be viewed by from the Agent Interface by clicking on the button in the Tickets section.

\t\t\t<br />
\t\t\t<br />

\t\t\t<table cellspacing=\"0\" cellpadding=\"2\">
\t\t\t\t<tr>
\t\t\t\t\t<td>How long until deleted tickets are permanently purged from the system?</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t";
        // line 550
        $context["options"] = array(86400 => "1 day", 259200 => "3 days", 432000 => "5 days", 604800 => "1 week", 172800 => "2 weeks", 1814400 => "3 weeks", 2419000 => "1 month", 4838000 => "2 months", 7257000 => "3 months", 14514000 => "6 months", 21771000 => "9 months", 29028000 => "1 year", 58056000 => "2 years");
        // line 565
        echo "\t\t\t\t\t\t<select name=\"settings[core_tickets.hard_delete_time]\">
\t\t\t\t\t\t\t";
        // line 566
        if (isset($context["options"])) { $_options_ = $context["options"]; } else { $_options_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_options_);
        foreach ($context['_seq'] as $context["k"] => $context["v"]) {
            // line 567
            echo "\t\t\t\t\t\t\t\t<option value=\"";
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            echo twig_escape_filter($this->env, $_k_, "html", null, true);
            echo "\" ";
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.hard_delete_time"), "method") == $_k_)) {
                echo "selected=\"selected\"";
            }
            echo ">";
            if (isset($context["v"])) { $_v_ = $context["v"]; } else { $_v_ = null; }
            echo twig_escape_filter($this->env, $_v_, "html", null, true);
            echo "</option>
\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 569
        echo "\t\t\t\t\t\t</select><br />
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t\t<tr>
\t\t\t\t\t<td>How long until spammed tickets are permanently purged from the system?&nbsp;&nbsp;</td>
\t\t\t\t\t<td>
\t\t\t\t\t\t";
        // line 575
        $context["options"] = array(86400 => "1 day", 259200 => "3 days", 432000 => "5 days", 604800 => "1 week", 172800 => "2 weeks", 1814400 => "3 weeks", 2419000 => "1 month", 4838000 => "2 months", 7257000 => "3 months", 14514000 => "6 months", 21771000 => "9 months", 29028000 => "1 year", 58056000 => "2 years");
        // line 590
        echo "\t\t\t\t\t\t<select name=\"settings[core_tickets.spam_delete_time]\">
\t\t\t\t\t\t\t";
        // line 591
        if (isset($context["options"])) { $_options_ = $context["options"]; } else { $_options_ = null; }
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($_options_);
        foreach ($context['_seq'] as $context["k"] => $context["v"]) {
            // line 592
            echo "\t\t\t\t\t\t\t\t<option value=\"";
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            echo twig_escape_filter($this->env, $_k_, "html", null, true);
            echo "\" ";
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            if (isset($context["k"])) { $_k_ = $context["k"]; } else { $_k_ = null; }
            if (($this->getAttribute($_app_, "getSetting", array(0 => "core_tickets.spam_delete_time"), "method") == $_k_)) {
                echo "selected=\"selected\"";
            }
            echo ">";
            if (isset($context["v"])) { $_v_ = $context["v"]; } else { $_v_ = null; }
            echo twig_escape_filter($this->env, $_v_, "html", null, true);
            echo "</option>
\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['k'], $context['v'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 594
        echo "\t\t\t\t\t\t</select>
\t\t\t\t\t</td>
\t\t\t\t</tr>
\t\t\t</table>

\t\t\t<div class=\"alert-message block-message\" style=\"margin: 4px 25px 0 25px\">
\t\t\t\tClick the button below to run the cleanup now to delete everything in the Recycle Bin.
\t\t\t\t<br /><br />
\t\t\t\t<a class=\"clean-white\" href=\"";
        // line 602
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_ticketfeatures_purgetrash", array("security_token" => $this->env->getExtension('deskpro_templating')->securityToken("purge_trash"))), "html", null, true);
        echo "\">Click here to permanently purge everything in the Recycle Bin</a>
\t\t\t</div>
\t\t</div>
\t</div>
</div>

<div class=\"setting_field_row\" style=\"text-align: center\">
\t<button class=\"btn primary\">";
        // line 609
        echo $this->env->getExtension('deskpro_templating')->getPhrase($context, "admin.general.save_settings");
        echo "</button>
</div>

</form>

<script type=\"text/javascript\">
\$(document).ready(function() {
\t\$('#ref_options_toggle').on('click', function() {
\t\tif (\$(this).is(':checked')) {
\t\t\t\$('#ref_options').slideDown();
\t\t} else {
\t\t\t\$('#ref_options').slideUp();
\t\t}
\t});

\t\$('#archive_toggle').on('click', function() {
\t\tif (\$(this).is(':checked')) {
\t\t\t\$('#archive_options').slideDown();
\t\t} else {
\t\t\t\$('#archive_options').slideUp();
\t\t}
\t});

\t\$('#bill_auto_opt').on('click', function() {
\t\tif (this.checked) {
\t\t\t\$('#show_reply_bill').slideDown();
\t\t} else {
\t\t\t\$('#show_reply_bill').slideUp();
\t\t\t\$('#show_reply_bill').find(':checkbox').prop('checked', false);
\t\t}
\t});

\t\$('#billing_on_new').on('click', function() {
\t\tif (this.checked) {
\t\t\t\$('#billing_auto_timer_new').slideDown();
\t\t} else {
\t\t\t\$('#billing_auto_timer_new').slideUp();
\t\t\t\$('#billing_auto_timer_new').find(':checkbox').prop('checked', false);
\t\t}
\t});

\t\$('#billing_enable').on('click', function() {
\t\tif (this.checked) {
\t\t\t\$('#billing_dependencies').slideDown();
\t\t} else {
\t\t\t\$('#billing_dependencies').slideUp();
\t\t}
\t});

\tfunction validateRefFormat()
\t{
\t\tif (!\$('#ref_options_toggle').is(':checked')) {
\t\t\t\$('#ref_format').val('');
\t\t\treturn true;
\t\t}

\t\tvar format   = \$.trim(\$('#ref_format').val());
\t\tvar digitLen = parseInt(\$('#ref_format_digits').find(':selected').val() || 0);

\t\tif (!format) {
\t\t\t\$('#ref_options_toggle').prop('checked', false);
\t\t\treturn true;
\t\t}

\t\t\$('#ref_format_err_len').hide();
\t\t\$('#ref_format_err_regex').hide();

\t\tif (format.length + digitLen > 80) {
\t\t\tconsole.log(\"Ref: Bad length\");
\t\t\t\$('#ref_format_err_len').show();
\t\t\treturn false;
\t\t}

\t\tif (!format.match(/^[a-zA-Z0-9_\\-<>#\\?]+\$/)) {
\t\t\tconsole.log(\"Ref: Bad format\");
\t\t\t\$('#ref_format_err_regex').show();
\t\t\treturn false;
\t\t}

\t\treturn true;
\t}

\t\$('#ref_format').on('blur', validateRefFormat);
\t\$('#ref_format_digits').on('change', validateRefFormat);

\t\$('#settings_form').on('submit', function(ev) {
\t\tif (!validateRefFormat()) {
\t\t\tev.preventDefault();
\t\t\tvar offset = \$('#ref_format').offset();
\t\t\toffset.top -= 30;

\t\t\t\$('html, body').animate({
\t\t\t\tscrollTop: offset.top
\t\t\t});

\t\t\treturn;
\t\t}
\t});
});
</script>
";
    }

    public function getTemplateName()
    {
        return "AdminBundle:TicketFeatures:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1234 => 609,  1224 => 602,  1214 => 594,  1195 => 592,  1190 => 591,  1187 => 590,  1185 => 575,  1177 => 569,  1148 => 550,  1128 => 532,  1122 => 529,  1108 => 521,  1037 => 478,  991 => 453,  921 => 419,  878 => 411,  836 => 381,  730 => 330,  648 => 269,  933 => 149,  914 => 133,  909 => 132,  833 => 359,  783 => 332,  755 => 320,  737 => 318,  685 => 293,  539 => 262,  635 => 281,  582 => 177,  577 => 257,  609 => 447,  593 => 436,  497 => 240,  20 => 1,  774 => 349,  747 => 325,  736 => 317,  524 => 220,  469 => 203,  437 => 101,  546 => 236,  532 => 236,  485 => 153,  479 => 206,  537 => 90,  457 => 145,  947 => 402,  936 => 394,  924 => 387,  917 => 382,  906 => 378,  872 => 368,  860 => 362,  851 => 352,  796 => 336,  767 => 328,  578 => 261,  519 => 87,  852 => 216,  814 => 200,  739 => 333,  722 => 308,  565 => 171,  559 => 245,  471 => 190,  1853 => 842,  1849 => 841,  1839 => 837,  1810 => 820,  1803 => 819,  1799 => 818,  1782 => 813,  1778 => 812,  1770 => 807,  1749 => 795,  1738 => 793,  1728 => 789,  1721 => 788,  1717 => 787,  1709 => 782,  1705 => 781,  1688 => 770,  1681 => 769,  1677 => 768,  1667 => 764,  1656 => 762,  1648 => 757,  1644 => 756,  1636 => 750,  1624 => 744,  1617 => 743,  1606 => 738,  1588 => 732,  1570 => 726,  1545 => 719,  1534 => 714,  1527 => 713,  1509 => 707,  1500 => 701,  1496 => 700,  1489 => 695,  1474 => 688,  1456 => 682,  1449 => 681,  1438 => 676,  1431 => 675,  1420 => 670,  1413 => 669,  1404 => 663,  1400 => 662,  1383 => 651,  1379 => 650,  1356 => 632,  1351 => 631,  1338 => 621,  1332 => 617,  1315 => 613,  1302 => 610,  1289 => 607,  1276 => 604,  1263 => 601,  1244 => 596,  1241 => 595,  1236 => 594,  1218 => 578,  1215 => 577,  1191 => 565,  1181 => 561,  1171 => 557,  1158 => 567,  1114 => 530,  1104 => 526,  1062 => 508,  1042 => 500,  1024 => 471,  1014 => 490,  1000 => 482,  990 => 478,  980 => 474,  970 => 446,  918 => 448,  888 => 436,  834 => 402,  817 => 342,  765 => 386,  746 => 319,  502 => 242,  287 => 67,  1144 => 542,  1139 => 399,  1133 => 400,  1131 => 399,  1127 => 397,  1124 => 534,  1113 => 524,  1110 => 396,  1103 => 394,  1092 => 391,  1086 => 520,  1063 => 387,  1060 => 495,  1055 => 385,  1035 => 372,  1019 => 267,  1003 => 455,  996 => 262,  981 => 257,  959 => 251,  952 => 464,  930 => 148,  908 => 444,  900 => 233,  880 => 373,  867 => 212,  859 => 220,  848 => 215,  839 => 362,  828 => 357,  809 => 181,  803 => 372,  797 => 177,  779 => 169,  769 => 165,  740 => 162,  729 => 309,  703 => 354,  693 => 350,  688 => 113,  671 => 296,  667 => 296,  630 => 278,  626 => 140,  567 => 95,  557 => 169,  512 => 227,  380 => 151,  734 => 332,  701 => 261,  680 => 278,  674 => 277,  659 => 274,  653 => 248,  613 => 264,  602 => 265,  589 => 100,  569 => 243,  542 => 263,  529 => 259,  487 => 213,  475 => 186,  454 => 103,  368 => 161,  717 => 362,  684 => 261,  656 => 325,  647 => 245,  637 => 273,  618 => 269,  597 => 221,  522 => 186,  501 => 265,  340 => 170,  201 => 117,  383 => 188,  374 => 149,  292 => 105,  631 => 313,  616 => 315,  605 => 446,  596 => 102,  561 => 215,  504 => 398,  498 => 213,  491 => 212,  388 => 137,  330 => 148,  445 => 221,  439 => 129,  433 => 190,  413 => 172,  316 => 131,  296 => 142,  370 => 147,  395 => 221,  294 => 72,  273 => 170,  220 => 36,  492 => 242,  468 => 201,  456 => 197,  377 => 84,  319 => 142,  262 => 113,  250 => 55,  5659 => 53,  5653 => 52,  5642 => 51,  5628 => 48,  5623 => 47,  5617 => 46,  5606 => 45,  5588 => 42,  5579 => 41,  5570 => 40,  5561 => 39,  5552 => 38,  5543 => 37,  5534 => 36,  5525 => 35,  5516 => 34,  5507 => 33,  5498 => 32,  5489 => 31,  5486 => 30,  5482 => 29,  5478 => 28,  5467 => 27,  5450 => 24,  5442 => 23,  5434 => 22,  5428 => 21,  5421 => 20,  5407 => 19,  5403 => 4677,  5358 => 4636,  5231 => 4513,  5166 => 4452,  5063 => 4352,  5024 => 4316,  5014 => 4309,  4973 => 4271,  4941 => 4242,  4892 => 4196,  4827 => 4135,  4812 => 4124,  4774 => 4090,  4759 => 4078,  4748 => 4070,  4734 => 4060,  4679 => 4009,  4629 => 3963,  4615 => 3953,  4573 => 3915,  4561 => 3906,  4475 => 3824,  4410 => 3763,  4382 => 3739,  4368 => 3729,  4361 => 3726,  4353 => 3722,  4346 => 3719,  4338 => 3715,  4331 => 3712,  4302 => 3687,  4280 => 3669,  4257 => 3650,  4248 => 3645,  4223 => 3624,  4211 => 3616,  4175 => 3584,  4066 => 3478,  4062 => 3477,  4040 => 3458,  4034 => 3455,  4021 => 3445,  4015 => 3442,  4009 => 3439,  3967 => 3400,  3960 => 3396,  3866 => 3305,  3810 => 3252,  3709 => 3154,  3696 => 3145,  3688 => 3140,  3659 => 3115,  3650 => 3110,  3553 => 3017,  3548 => 3016,  3543 => 3015,  3538 => 3014,  3533 => 3013,  3528 => 3012,  3523 => 3011,  3518 => 3010,  3513 => 3009,  3508 => 3008,  3503 => 3007,  3498 => 3006,  3493 => 3005,  3488 => 3004,  3483 => 3003,  3478 => 3002,  3470 => 2998,  3447 => 2978,  3423 => 2958,  3370 => 2909,  3234 => 2776,  3148 => 2694,  3130 => 2679,  3124 => 2676,  3040 => 2596,  2963 => 2522,  2861 => 2424,  2853 => 2420,  2820 => 2391,  2803 => 2377,  2799 => 2376,  2794 => 2375,  2649 => 2234,  2625 => 2213,  2517 => 2108,  2498 => 2092,  2482 => 2079,  2472 => 2072,  2464 => 2067,  2450 => 2056,  2446 => 2055,  2436 => 2049,  2428 => 2045,  2378 => 1998,  2303 => 1926,  2293 => 1919,  2252 => 1881,  2224 => 1856,  2176 => 1811,  2114 => 1753,  2107 => 1750,  2102 => 1749,  2086 => 1737,  2079 => 1734,  1967 => 1637,  1826 => 1502,  1819 => 1498,  1732 => 1414,  1723 => 1408,  1695 => 1383,  1672 => 1363,  1664 => 1359,  1611 => 1310,  1601 => 1303,  1533 => 1238,  1526 => 1235,  1518 => 1230,  1511 => 1227,  1454 => 1173,  1439 => 1161,  1417 => 1143,  1409 => 1139,  1308 => 1041,  1301 => 1037,  1252 => 999,  1243 => 994,  1223 => 978,  1212 => 970,  1167 => 936,  1161 => 933,  1145 => 923,  1140 => 922,  1106 => 900,  1100 => 897,  983 => 816,  975 => 812,  956 => 800,  939 => 786,  902 => 130,  894 => 415,  879 => 746,  757 => 631,  735 => 313,  727 => 316,  702 => 601,  678 => 149,  670 => 297,  600 => 516,  528 => 232,  476 => 238,  447 => 143,  243 => 54,  780 => 348,  758 => 335,  742 => 336,  700 => 221,  655 => 270,  652 => 472,  638 => 282,  620 => 265,  587 => 14,  579 => 175,  535 => 233,  523 => 231,  516 => 248,  494 => 10,  480 => 254,  441 => 239,  428 => 185,  351 => 135,  347 => 152,  402 => 198,  268 => 65,  430 => 141,  411 => 201,  322 => 123,  289 => 124,  284 => 102,  255 => 115,  1150 => 565,  1134 => 538,  1129 => 55,  1126 => 916,  1121 => 51,  1116 => 525,  1089 => 519,  1084 => 518,  1081 => 517,  1075 => 358,  1072 => 512,  1069 => 356,  1065 => 354,  1061 => 352,  1053 => 349,  1050 => 384,  1047 => 347,  1033 => 337,  1029 => 335,  1026 => 841,  1004 => 322,  997 => 454,  989 => 316,  985 => 315,  978 => 313,  966 => 445,  963 => 305,  960 => 466,  951 => 301,  948 => 300,  944 => 298,  931 => 294,  925 => 291,  916 => 418,  913 => 288,  904 => 282,  899 => 280,  891 => 127,  885 => 374,  882 => 271,  870 => 430,  865 => 365,  829 => 249,  823 => 188,  820 => 374,  811 => 340,  800 => 178,  793 => 350,  786 => 174,  773 => 347,  764 => 321,  761 => 326,  743 => 380,  725 => 164,  720 => 363,  686 => 300,  673 => 342,  662 => 271,  649 => 324,  636 => 185,  632 => 141,  612 => 188,  584 => 259,  562 => 240,  472 => 205,  442 => 185,  438 => 382,  386 => 195,  373 => 149,  304 => 114,  270 => 101,  265 => 164,  477 => 138,  455 => 227,  422 => 176,  407 => 119,  399 => 162,  375 => 162,  364 => 174,  358 => 110,  349 => 131,  338 => 165,  327 => 124,  298 => 144,  249 => 205,  194 => 112,  142 => 32,  344 => 140,  295 => 74,  290 => 105,  266 => 113,  357 => 154,  334 => 129,  300 => 111,  286 => 80,  282 => 104,  279 => 120,  269 => 103,  254 => 56,  128 => 55,  237 => 118,  165 => 42,  122 => 33,  798 => 337,  770 => 179,  759 => 112,  748 => 337,  731 => 108,  721 => 305,  718 => 313,  708 => 309,  696 => 147,  617 => 451,  607 => 289,  590 => 91,  563 => 96,  553 => 264,  550 => 156,  540 => 234,  533 => 255,  507 => 156,  500 => 206,  493 => 225,  489 => 257,  464 => 202,  458 => 220,  452 => 217,  449 => 132,  434 => 212,  424 => 187,  415 => 184,  382 => 172,  372 => 157,  361 => 129,  356 => 171,  339 => 132,  302 => 131,  285 => 105,  258 => 136,  123 => 31,  108 => 51,  418 => 201,  404 => 149,  389 => 170,  354 => 153,  325 => 126,  321 => 122,  276 => 105,  252 => 109,  206 => 75,  110 => 44,  240 => 93,  224 => 95,  217 => 94,  186 => 70,  170 => 114,  100 => 25,  67 => 17,  14 => 1,  1096 => 524,  1090 => 290,  1088 => 289,  1085 => 288,  1066 => 284,  1034 => 282,  1031 => 281,  1018 => 836,  1013 => 275,  1007 => 274,  1002 => 823,  993 => 317,  986 => 264,  982 => 314,  976 => 402,  971 => 91,  964 => 255,  949 => 403,  946 => 251,  940 => 249,  937 => 245,  928 => 421,  926 => 243,  915 => 239,  912 => 236,  903 => 231,  898 => 416,  892 => 229,  889 => 376,  887 => 227,  884 => 747,  876 => 270,  874 => 215,  871 => 222,  863 => 214,  861 => 213,  850 => 413,  840 => 406,  815 => 201,  812 => 200,  808 => 373,  804 => 395,  799 => 337,  791 => 193,  787 => 333,  785 => 188,  771 => 183,  754 => 325,  751 => 163,  728 => 317,  723 => 270,  715 => 105,  711 => 152,  709 => 222,  706 => 302,  698 => 157,  692 => 155,  689 => 302,  681 => 300,  677 => 297,  675 => 289,  663 => 276,  661 => 277,  650 => 291,  644 => 284,  641 => 268,  633 => 272,  629 => 183,  622 => 270,  586 => 170,  575 => 174,  571 => 242,  566 => 242,  554 => 240,  551 => 243,  541 => 163,  536 => 261,  531 => 158,  511 => 269,  509 => 244,  506 => 217,  488 => 155,  483 => 213,  465 => 147,  463 => 216,  460 => 229,  450 => 195,  427 => 177,  419 => 100,  371 => 182,  362 => 111,  353 => 141,  337 => 126,  333 => 144,  309 => 117,  303 => 70,  299 => 143,  291 => 176,  272 => 93,  261 => 91,  256 => 135,  239 => 82,  235 => 44,  228 => 79,  218 => 77,  213 => 140,  200 => 45,  198 => 85,  159 => 39,  149 => 36,  146 => 43,  131 => 36,  116 => 21,  79 => 17,  74 => 22,  71 => 24,  64 => 16,  858 => 265,  843 => 206,  838 => 347,  819 => 320,  816 => 319,  807 => 314,  794 => 336,  781 => 186,  778 => 389,  775 => 331,  753 => 328,  749 => 294,  744 => 318,  726 => 271,  716 => 308,  712 => 156,  707 => 278,  682 => 264,  669 => 254,  664 => 194,  651 => 259,  646 => 112,  642 => 255,  625 => 180,  614 => 280,  608 => 266,  604 => 228,  601 => 178,  598 => 174,  592 => 261,  585 => 260,  572 => 251,  568 => 280,  564 => 229,  556 => 244,  548 => 165,  544 => 230,  527 => 233,  525 => 258,  515 => 252,  513 => 228,  505 => 267,  486 => 207,  481 => 152,  473 => 221,  467 => 184,  461 => 246,  443 => 194,  435 => 208,  432 => 211,  429 => 179,  410 => 169,  397 => 141,  394 => 139,  379 => 219,  341 => 212,  335 => 139,  318 => 86,  315 => 119,  312 => 118,  306 => 116,  280 => 102,  267 => 96,  253 => 162,  234 => 81,  229 => 75,  223 => 78,  219 => 128,  202 => 109,  192 => 30,  51 => 10,  2159 => 821,  2155 => 820,  2152 => 819,  2149 => 818,  2145 => 817,  2142 => 816,  2139 => 815,  2136 => 814,  2132 => 813,  2129 => 812,  2126 => 811,  2123 => 810,  2117 => 809,  2109 => 805,  2104 => 802,  2101 => 801,  2087 => 799,  2080 => 798,  2077 => 797,  2063 => 795,  2056 => 794,  2053 => 1712,  2042 => 1705,  2037 => 789,  2031 => 788,  2028 => 787,  2024 => 786,  2021 => 785,  2008 => 776,  2004 => 775,  2001 => 1668,  1996 => 771,  1994 => 770,  1987 => 766,  1983 => 765,  1979 => 764,  1972 => 761,  1969 => 760,  1966 => 759,  1961 => 756,  1959 => 755,  1952 => 751,  1948 => 750,  1944 => 749,  1937 => 746,  1933 => 1606,  1930 => 744,  1925 => 741,  1923 => 740,  1916 => 736,  1912 => 735,  1908 => 734,  1901 => 731,  1897 => 730,  1894 => 729,  1889 => 726,  1887 => 725,  1880 => 721,  1876 => 720,  1872 => 719,  1865 => 716,  1861 => 715,  1858 => 714,  1855 => 713,  1850 => 710,  1841 => 708,  1835 => 836,  1829 => 706,  1827 => 831,  1820 => 701,  1816 => 700,  1809 => 697,  1804 => 696,  1801 => 695,  1798 => 694,  1795 => 693,  1789 => 814,  1776 => 687,  1771 => 686,  1768 => 685,  1766 => 806,  1759 => 672,  1755 => 671,  1750 => 668,  1745 => 667,  1742 => 794,  1739 => 665,  1736 => 664,  1730 => 660,  1720 => 658,  1716 => 657,  1711 => 655,  1708 => 654,  1698 => 652,  1694 => 651,  1689 => 649,  1682 => 645,  1678 => 644,  1671 => 641,  1666 => 640,  1663 => 639,  1660 => 763,  1657 => 637,  1651 => 633,  1641 => 631,  1637 => 630,  1632 => 628,  1629 => 627,  1619 => 625,  1615 => 624,  1610 => 622,  1603 => 618,  1599 => 737,  1592 => 614,  1587 => 613,  1584 => 612,  1581 => 731,  1576 => 608,  1574 => 607,  1567 => 603,  1563 => 725,  1559 => 601,  1552 => 720,  1548 => 597,  1542 => 593,  1529 => 591,  1525 => 590,  1516 => 708,  1512 => 583,  1503 => 576,  1490 => 574,  1486 => 694,  1477 => 567,  1473 => 566,  1467 => 687,  1460 => 557,  1447 => 555,  1442 => 554,  1427 => 542,  1423 => 541,  1418 => 538,  1415 => 537,  1412 => 536,  1406 => 532,  1393 => 530,  1388 => 529,  1380 => 524,  1376 => 523,  1371 => 645,  1367 => 519,  1364 => 518,  1361 => 517,  1355 => 513,  1342 => 624,  1337 => 510,  1328 => 504,  1324 => 503,  1317 => 500,  1313 => 499,  1310 => 498,  1304 => 494,  1291 => 492,  1286 => 491,  1279 => 486,  1274 => 484,  1270 => 483,  1266 => 482,  1262 => 1001,  1257 => 1000,  1254 => 479,  1250 => 598,  1246 => 477,  1239 => 474,  1235 => 473,  1232 => 472,  1226 => 468,  1213 => 466,  1208 => 465,  1201 => 569,  1196 => 958,  1192 => 457,  1188 => 456,  1184 => 455,  1179 => 454,  1176 => 453,  1172 => 938,  1168 => 451,  1164 => 450,  1160 => 449,  1153 => 566,  1149 => 412,  1146 => 64,  1137 => 57,  1123 => 426,  1119 => 388,  1115 => 424,  1111 => 26,  1107 => 422,  1102 => 898,  1099 => 393,  1095 => 419,  1091 => 418,  1082 => 413,  1079 => 502,  1076 => 411,  1070 => 499,  1057 => 350,  1052 => 504,  1045 => 382,  1040 => 377,  1036 => 283,  1032 => 496,  1028 => 274,  1023 => 333,  1020 => 392,  1016 => 266,  1012 => 390,  1005 => 273,  1001 => 386,  998 => 385,  992 => 821,  979 => 452,  974 => 256,  967 => 416,  962 => 444,  958 => 443,  954 => 442,  950 => 441,  945 => 152,  942 => 460,  938 => 150,  934 => 364,  927 => 147,  923 => 242,  920 => 359,  910 => 417,  901 => 377,  897 => 129,  890 => 343,  886 => 413,  883 => 341,  868 => 407,  856 => 320,  853 => 319,  849 => 318,  845 => 348,  841 => 210,  835 => 346,  830 => 377,  826 => 202,  822 => 354,  818 => 307,  813 => 183,  810 => 345,  806 => 180,  802 => 338,  795 => 194,  792 => 299,  789 => 349,  784 => 188,  782 => 333,  777 => 235,  772 => 289,  768 => 334,  763 => 343,  760 => 329,  756 => 228,  752 => 176,  745 => 281,  741 => 292,  738 => 314,  732 => 216,  719 => 307,  714 => 272,  710 => 310,  704 => 278,  699 => 206,  695 => 297,  683 => 346,  679 => 288,  668 => 295,  665 => 285,  658 => 197,  645 => 277,  640 => 142,  634 => 267,  628 => 271,  623 => 309,  619 => 298,  615 => 305,  611 => 268,  603 => 267,  599 => 262,  595 => 132,  580 => 257,  573 => 274,  560 => 268,  549 => 237,  543 => 235,  526 => 229,  521 => 226,  518 => 22,  510 => 227,  503 => 266,  499 => 244,  496 => 216,  484 => 143,  474 => 202,  470 => 235,  451 => 243,  446 => 241,  431 => 186,  425 => 312,  416 => 205,  412 => 204,  408 => 141,  403 => 194,  400 => 225,  396 => 171,  392 => 139,  385 => 152,  381 => 133,  367 => 147,  363 => 164,  359 => 136,  355 => 326,  350 => 108,  346 => 140,  343 => 134,  328 => 162,  324 => 125,  313 => 81,  307 => 108,  301 => 110,  288 => 116,  283 => 167,  271 => 160,  257 => 148,  251 => 88,  238 => 103,  233 => 81,  195 => 122,  191 => 35,  187 => 33,  183 => 52,  130 => 52,  88 => 44,  76 => 30,  115 => 45,  95 => 23,  694 => 308,  690 => 266,  687 => 279,  676 => 299,  672 => 276,  660 => 145,  657 => 287,  654 => 144,  643 => 244,  639 => 110,  627 => 266,  624 => 109,  621 => 408,  610 => 103,  606 => 263,  594 => 269,  591 => 263,  588 => 305,  583 => 169,  581 => 247,  574 => 165,  570 => 172,  558 => 244,  555 => 239,  552 => 238,  547 => 242,  545 => 259,  538 => 162,  534 => 233,  530 => 450,  520 => 249,  517 => 230,  514 => 221,  508 => 268,  495 => 239,  490 => 214,  482 => 223,  478 => 235,  466 => 248,  462 => 201,  459 => 226,  448 => 242,  444 => 193,  440 => 102,  436 => 183,  426 => 193,  423 => 166,  420 => 208,  409 => 178,  405 => 94,  401 => 148,  391 => 173,  387 => 134,  384 => 160,  378 => 91,  365 => 131,  360 => 89,  348 => 191,  336 => 132,  332 => 150,  329 => 127,  323 => 135,  310 => 114,  305 => 112,  277 => 171,  274 => 102,  263 => 97,  259 => 112,  247 => 161,  244 => 51,  241 => 91,  222 => 105,  210 => 122,  207 => 110,  204 => 89,  184 => 28,  181 => 110,  167 => 50,  157 => 95,  96 => 46,  421 => 147,  417 => 71,  414 => 142,  406 => 130,  398 => 165,  393 => 177,  390 => 153,  376 => 115,  369 => 90,  366 => 174,  352 => 140,  345 => 213,  342 => 127,  331 => 125,  326 => 143,  320 => 121,  317 => 82,  314 => 136,  311 => 85,  308 => 116,  297 => 111,  293 => 119,  281 => 106,  278 => 71,  275 => 133,  264 => 103,  260 => 107,  248 => 75,  245 => 104,  242 => 89,  231 => 52,  227 => 131,  215 => 88,  212 => 111,  209 => 89,  197 => 130,  177 => 49,  171 => 46,  161 => 68,  132 => 34,  121 => 24,  105 => 45,  99 => 45,  81 => 31,  77 => 19,  180 => 54,  176 => 109,  156 => 38,  143 => 71,  139 => 25,  118 => 49,  189 => 88,  185 => 46,  173 => 54,  166 => 36,  152 => 54,  174 => 55,  164 => 58,  154 => 67,  150 => 90,  137 => 88,  133 => 64,  127 => 36,  107 => 50,  102 => 41,  83 => 26,  78 => 37,  53 => 10,  23 => 6,  42 => 7,  138 => 86,  134 => 44,  109 => 40,  103 => 30,  97 => 43,  94 => 28,  84 => 9,  75 => 25,  69 => 32,  66 => 16,  54 => 27,  44 => 7,  230 => 74,  226 => 142,  203 => 86,  193 => 58,  188 => 29,  182 => 77,  178 => 66,  168 => 62,  163 => 78,  160 => 68,  155 => 55,  148 => 33,  145 => 47,  140 => 65,  136 => 18,  125 => 16,  120 => 30,  113 => 14,  101 => 33,  92 => 41,  89 => 27,  85 => 23,  73 => 19,  62 => 16,  59 => 15,  56 => 11,  41 => 14,  126 => 54,  119 => 65,  111 => 48,  106 => 37,  98 => 44,  93 => 31,  86 => 27,  70 => 18,  60 => 15,  28 => 114,  36 => 5,  114 => 33,  104 => 37,  91 => 31,  80 => 25,  63 => 30,  58 => 29,  40 => 6,  34 => 4,  45 => 8,  61 => 12,  55 => 13,  48 => 9,  39 => 6,  35 => 4,  31 => 6,  26 => 1,  21 => 2,  46 => 10,  29 => 2,  57 => 14,  50 => 11,  47 => 8,  38 => 8,  33 => 13,  49 => 19,  32 => 3,  246 => 140,  236 => 87,  232 => 43,  225 => 82,  221 => 69,  216 => 65,  214 => 135,  211 => 111,  208 => 67,  205 => 87,  199 => 65,  196 => 85,  190 => 101,  179 => 94,  175 => 76,  172 => 52,  169 => 37,  162 => 80,  158 => 28,  153 => 27,  151 => 24,  147 => 66,  144 => 51,  141 => 55,  135 => 35,  129 => 35,  124 => 70,  117 => 32,  112 => 40,  90 => 19,  87 => 21,  82 => 20,  72 => 33,  68 => 18,  65 => 17,  52 => 12,  43 => 8,  37 => 5,  30 => 1,  27 => 2,  25 => 65,  24 => 3,  22 => 34,  19 => 1,);
    }
}
