/* Decoded by unphp.net */ getConfigForModule("knm_gpt_chats"); goto abhMc; qcMVd: Ma_yt: foreach ($UP7Cu as $UeVd1 => $raavG) { $yDVx9->saveSetting("knm_gpt_chats", $UeVd1, $raavG, "base"); lIo5g: } goto KRj3v; abhMc: $UP7Cu = self::getDefaults(); if (empty($GYX4r["is_setup"])) { goto Ma_yt; } goto lgZG6; lgZG6: foreach ($GYX4r as $pl1Vd => $Xpv3B) { $UP7Cu[$pl1Vd] = $Xpv3B; b3iZ9: } ToG11: goto qcMVd; gmU5s: } public static function addDefaults($bSqLP) { goto p1DcK; udBkl: $GYX4r = $yDVx9->getConfigForModule("knm_gpt_chats"); goto f9H2m; f9H2m: $bSqLP = array_merge_recursive($bSqLP, $GYX4r); goto T3xWY; T3xWY: foreach ($bSqLP as $pl1Vd => $raavG) { $yDVx9->saveSetting("knm_gpt_chats", $pl1Vd, $raavG, "base"); gfJlv: } goto pn36D; p1DcK: $yDVx9 = BeanFactory::newBean("Administration"); goto udBkl; pn36D: aemJV: goto zOqeo; zOqeo: } public static function getDefaults($UD9qZ = 0) { goto obtHd; obtHd: if (!($UD9qZ === false)) { goto kg1rk; } goto hWJnq; XqOlZ: kg1rk: goto sNe1g; sNe1g: return array("is_setup" => $UD9qZ, "enabled_modules" => array("Accounts", "Contacts", "Leads", "Opportunities", "Meetings", "Calls", "Leads", "Tasks", "Notes", "Emails"), "autocomplete_fields" => array("Accounts" => array("name", "account_type", "phone_office", "website", "industry"), "Contacts" => array("full_name", "title", "department", "account_name", "phone_work"), "Leads" => array("full_name", "title", "department", "account_name", "phone_work", "lead_source", "lead_source_description"), "Opportunities" => array("name", "account_name", "amount", "sales_stage", "probability", "lost", "next_step", "sales_status", "opportunity_type"), "Meetings" => array("name", "location", "description", "duration_hours", "duration_minutes", "date_start", "date_end", "internal_notes"), "Calls" => array("name", "location", "description", "duration_hours", "duration_minutes", "date_start", "date_end", "internal_notes"), "Tasks" => array("name", "date_due", "date_start", "status", "prority", "parent_name", "parent_type"), "Notes" => array("name", "description", "filename", "parent_name", "contact_name", "assigned_user_name"), "Emails" => array("subject", "description"))); goto OSnNh; hWJnq: $UD9qZ = 0; goto XqOlZ; OSnNh: } } ?>