diff --git a/.travis.yml b/.travis.yml index c88c9560a851..d0438c98764a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,6 @@ sudo: true group: deprecated-2017Q4 php: -# - 7.0 - - 7.1 - 7.2 addons: @@ -110,10 +108,10 @@ after_script: - mysql -u root -e 'select * from account_gateways;' ninja - mysql -u root -e 'select * from clients;' ninja - mysql -u root -e 'select * from contacts;' ninja - - mysql -u root -e 'select id, account_id, invoice_number, amount, balance from invoices;' ninja + - mysql -u root -e 'select id, public_id, account_id, invoice_number, amount, balance from invoices;' ninja - mysql -u root -e 'select * from invoice_items;' ninja - mysql -u root -e 'select * from invitations;' ninja - - mysql -u root -e 'select id, account_id, invoice_id, amount, transaction_reference from payments;' ninja + - mysql -u root -e 'select id, public_id, account_id, invoice_id, amount, transaction_reference from payments;' ninja - mysql -u root -e 'select * from credits;' ninja - mysql -u root -e 'select * from expenses;' ninja - mysql -u root -e 'select * from accounts;' ninja @@ -129,5 +127,5 @@ notifications: email: on_success: never on_failure: change - slack: + slack: invoiceninja: SLraaKBDvjeRuRtY9o3Yvp1b diff --git a/app/Console/Commands/MakeModule.php b/app/Console/Commands/MakeModule.php index 88291b78c50f..3b95d0d45e28 100644 --- a/app/Console/Commands/MakeModule.php +++ b/app/Console/Commands/MakeModule.php @@ -42,7 +42,7 @@ class MakeModule extends Command $fields = $this->argument('fields'); $migrate = $this->option('migrate'); $lower = strtolower($name); - + // convert 'name:string,description:text' to 'name,description' $fillable = explode(',', $fields); $fillable = array_map(function ($item) { @@ -69,10 +69,10 @@ class MakeModule extends Command Artisan::call('ninja:make-class', ['name' => $name, 'module' => $name, 'class' => 'transformer', '--fields' => $fields]); Artisan::call('ninja:make-class', ['name' => $name, 'module' => $name, 'class' => 'lang', '--filename' => 'texts']); - if ($migrate == 'false') { - $this->info("Use the following command to run the migrations:\nphp artisan module:migrate $name"); - } else { + if ($migrate == 'true') { Artisan::call('module:migrate', ['module' => $name]); + } else { + $this->info("Use the following command to run the migrations:\nphp artisan module:migrate $name"); } Artisan::call('module:dump'); diff --git a/app/Console/Commands/SendRecurringInvoices.php b/app/Console/Commands/SendRecurringInvoices.php index fbb4347d7d51..28a62e2b41c8 100644 --- a/app/Console/Commands/SendRecurringInvoices.php +++ b/app/Console/Commands/SendRecurringInvoices.php @@ -91,7 +91,7 @@ class SendRecurringInvoices extends Command ->whereRaw('is_deleted IS FALSE AND deleted_at IS NULL AND is_recurring IS TRUE AND is_public IS TRUE AND frequency_id > 0 AND start_date <= ? AND (end_date IS NULL OR end_date >= ?)', [$today, $today]) ->orderBy('id', 'asc') ->get(); - $this->info($invoices->count() . ' recurring invoice(s) found'); + $this->info(date('r ') . $invoices->count() . ' recurring invoice(s) found'); foreach ($invoices as $recurInvoice) { $shouldSendToday = $recurInvoice->shouldSendToday(); @@ -100,7 +100,7 @@ class SendRecurringInvoices extends Command continue; } - $this->info('Processing Invoice: '. $recurInvoice->id); + $this->info(date('r') . ' Processing Invoice: '. $recurInvoice->id); $account = $recurInvoice->account; $account->loadLocalizationSettings($recurInvoice->client); @@ -109,13 +109,13 @@ class SendRecurringInvoices extends Command try { $invoice = $this->invoiceRepo->createRecurringInvoice($recurInvoice); if ($invoice && ! $invoice->isPaid() && $account->auto_email_invoice) { - $this->info('Not billed - Sending Invoice'); + $this->info(date('r') . ' Not billed - Sending Invoice'); dispatch(new SendInvoiceEmail($invoice, $invoice->user_id)); } elseif ($invoice) { - $this->info('Successfully billed invoice'); + $this->info(date('r') . ' Successfully billed invoice'); } } catch (Exception $exception) { - $this->info('Error: ' . $exception->getMessage()); + $this->info(date('r') . ' Error: ' . $exception->getMessage()); Utils::logError($exception); } @@ -133,7 +133,7 @@ class SendRecurringInvoices extends Command [$today->format('Y-m-d')]) ->orderBy('invoices.id', 'asc') ->get(); - $this->info($delayedAutoBillInvoices->count() . ' due recurring invoice instance(s) found'); + $this->info(date('r ') . $delayedAutoBillInvoices->count() . ' due recurring invoice instance(s) found'); /** @var Invoice $invoice */ foreach ($delayedAutoBillInvoices as $invoice) { @@ -142,7 +142,7 @@ class SendRecurringInvoices extends Command } if ($invoice->getAutoBillEnabled() && $invoice->client->autoBillLater()) { - $this->info('Processing Autobill-delayed Invoice: ' . $invoice->id); + $this->info(date('r') . ' Processing Autobill-delayed Invoice: ' . $invoice->id); Auth::loginUsingId($invoice->activeUser()->id); $this->paymentService->autoBillInvoice($invoice); Auth::logout(); @@ -158,7 +158,7 @@ class SendRecurringInvoices extends Command ->whereRaw('is_deleted IS FALSE AND deleted_at IS NULL AND start_date <= ? AND (end_date IS NULL OR end_date >= ?)', [$today, $today]) ->orderBy('id', 'asc') ->get(); - $this->info($expenses->count() . ' recurring expenses(s) found'); + $this->info(date('r ') . $expenses->count() . ' recurring expenses(s) found'); foreach ($expenses as $expense) { $shouldSendToday = $expense->shouldSendToday(); @@ -167,7 +167,7 @@ class SendRecurringInvoices extends Command continue; } - $this->info('Processing Expense: '. $expense->id); + $this->info(date('r') . ' Processing Expense: '. $expense->id); $this->recurringExpenseRepo->createRecurringExpense($expense); } } diff --git a/app/Console/Commands/SendReminders.php b/app/Console/Commands/SendReminders.php index d58c80f1df22..dd34bdd86283 100644 --- a/app/Console/Commands/SendReminders.php +++ b/app/Console/Commands/SendReminders.php @@ -6,6 +6,7 @@ use App\Libraries\CurlUtils; use Carbon; use Str; use Cache; +use Utils; use Exception; use App\Jobs\SendInvoiceEmail; use App\Models\Invoice; @@ -73,7 +74,7 @@ class SendReminders extends Command $this->sendScheduledReports(); $this->loadExchangeRates(); - $this->info('Done'); + $this->info(date('r') . ' Done'); if ($errorEmail = env('ERROR_EMAIL')) { \Mail::raw('EOM', function ($message) use ($errorEmail, $database) { @@ -87,7 +88,7 @@ class SendReminders extends Command private function chargeLateFees() { $accounts = $this->accountRepo->findWithFees(); - $this->info($accounts->count() . ' accounts found with fees'); + $this->info(date('r ') . $accounts->count() . ' accounts found with fees'); foreach ($accounts as $account) { if (! $account->hasFeature(FEATURE_EMAIL_TEMPLATES_REMINDERS)) { @@ -95,11 +96,11 @@ class SendReminders extends Command } $invoices = $this->invoiceRepo->findNeedingReminding($account, false); - $this->info($account->name . ': ' . $invoices->count() . ' invoices found'); + $this->info(date('r ') . $account->name . ': ' . $invoices->count() . ' invoices found'); foreach ($invoices as $invoice) { if ($reminder = $account->getInvoiceReminder($invoice, false)) { - $this->info('Charge fee: ' . $invoice->id); + $this->info(date('r') . ' Charge fee: ' . $invoice->id); $account->loadLocalizationSettings($invoice->client); // support trans to add fee line item $number = preg_replace('/[^0-9]/', '', $reminder); @@ -114,7 +115,7 @@ class SendReminders extends Command private function sendReminderEmails() { $accounts = $this->accountRepo->findWithReminders(); - $this->info(count($accounts) . ' accounts found with reminders'); + $this->info(date('r ') . count($accounts) . ' accounts found with reminders'); foreach ($accounts as $account) { if (! $account->hasFeature(FEATURE_EMAIL_TEMPLATES_REMINDERS)) { @@ -123,27 +124,27 @@ class SendReminders extends Command // standard reminders $invoices = $this->invoiceRepo->findNeedingReminding($account); - $this->info($account->name . ': ' . $invoices->count() . ' invoices found'); + $this->info(date('r ') . $account->name . ': ' . $invoices->count() . ' invoices found'); foreach ($invoices as $invoice) { if ($reminder = $account->getInvoiceReminder($invoice)) { if ($invoice->last_sent_date == date('Y-m-d')) { continue; } - $this->info('Send email: ' . $invoice->id); + $this->info(date('r') . ' Send email: ' . $invoice->id); dispatch(new SendInvoiceEmail($invoice, $invoice->user_id, $reminder)); } } // endless reminders $invoices = $this->invoiceRepo->findNeedingEndlessReminding($account); - $this->info($account->name . ': ' . $invoices->count() . ' endless invoices found'); + $this->info(date('r ') . $account->name . ': ' . $invoices->count() . ' endless invoices found'); foreach ($invoices as $invoice) { if ($invoice->last_sent_date == date('Y-m-d')) { continue; } - $this->info('Send email: ' . $invoice->id); + $this->info(date('r') . ' Send email: ' . $invoice->id); dispatch(new SendInvoiceEmail($invoice, $invoice->user_id, 'reminder4')); } } @@ -154,10 +155,10 @@ class SendReminders extends Command $scheduledReports = ScheduledReport::where('send_date', '<=', date('Y-m-d')) ->with('user', 'account.company') ->get(); - $this->info($scheduledReports->count() . ' scheduled reports'); + $this->info(date('r ') . $scheduledReports->count() . ' scheduled reports'); foreach ($scheduledReports as $scheduledReport) { - $this->info('Processing report: ' . $scheduledReport->id); + $this->info(date('r') . ' Processing report: ' . $scheduledReport->id); $user = $scheduledReport->user; $account = $scheduledReport->account; @@ -179,12 +180,12 @@ class SendReminders extends Command if ($file) { try { $this->userMailer->sendScheduledReport($scheduledReport, $file); - $this->info('Sent report'); + $this->info(date('r') . ' Sent report'); } catch (Exception $exception) { - $this->info('ERROR: ' . $exception->getMessage()); + $this->info(date('r') . ' ERROR: ' . $exception->getMessage()); } } else { - $this->info('ERROR: Failed to run report'); + $this->info(date('r') . ' ERROR: Failed to run report'); } $scheduledReport->updateSendDate(); @@ -195,7 +196,11 @@ class SendReminders extends Command private function loadExchangeRates() { - $this->info('Loading latest exchange rates...'); + if (Utils::isNinjaDev()) { + return; + } + + $this->info(date('r') . ' Loading latest exchange rates...'); $data = CurlUtils::get(config('ninja.exchange_rates_url')); $data = json_decode($data); diff --git a/app/Constants.php b/app/Constants.php index bc706d549d0d..1cb42c7d1e0a 100644 --- a/app/Constants.php +++ b/app/Constants.php @@ -3,7 +3,7 @@ if (! defined('APP_NAME')) { define('APP_NAME', env('APP_NAME', 'Invoice Ninja')); define('APP_DOMAIN', env('APP_DOMAIN', 'invoiceninja.com')); - define('CONTACT_EMAIL', env('MAIL_FROM_ADDRESS', env('MAIL_USERNAME'))); + define('CONTACT_EMAIL', env('MAIL_FROM_ADDRESS')); define('CONTACT_NAME', env('MAIL_FROM_NAME')); define('SITE_URL', env('APP_URL')); @@ -158,7 +158,11 @@ if (! defined('APP_NAME')) { define('MAX_DOCUMENT_SIZE', env('MAX_DOCUMENT_SIZE', 10000)); // KB define('MAX_EMAIL_DOCUMENTS_SIZE', env('MAX_EMAIL_DOCUMENTS_SIZE', 10000)); // Total KB define('MAX_ZIP_DOCUMENTS_SIZE', env('MAX_EMAIL_DOCUMENTS_SIZE', 30000)); // Total KB (uncompressed) +<<<<<<< HEAD define('MAX_EMAILS_SENT_PER_DAY', 500); +======= + define('MAX_EMAILS_SENT_PER_DAY', 300); +>>>>>>> release-4.4.0 define('DOCUMENT_PREVIEW_SIZE', env('DOCUMENT_PREVIEW_SIZE', 300)); // pixels define('DEFAULT_FONT_SIZE', 9); define('DEFAULT_HEADER_FONT', 1); // Roboto @@ -180,6 +184,7 @@ if (! defined('APP_NAME')) { define('IMPORT_INVOICEPLANE', 'InvoicePlane'); define('IMPORT_HARVEST', 'Harvest'); define('IMPORT_STRIPE', 'Stripe'); + define('IMPORT_PANCAKE', 'Pancake'); define('MAX_NUM_CLIENTS', 100); define('MAX_NUM_CLIENTS_PRO', 20000); @@ -299,9 +304,11 @@ if (! defined('APP_NAME')) { define('GATEWAY_PAYTRACE', 56); define('GATEWAY_WEPAY', 60); define('GATEWAY_BRAINTREE', 61); - define('GATEWAY_CUSTOM', 62); + define('GATEWAY_CUSTOM1', 62); define('GATEWAY_GOCARDLESS', 64); define('GATEWAY_PAYMILL', 66); + define('GATEWAY_CUSTOM2', 67); + define('GATEWAY_CUSTOM3', 68); // The customer exists, but only as a local concept // The remote gateway doesn't understand the concept of customers @@ -339,7 +346,7 @@ if (! defined('APP_NAME')) { define('NINJA_APP_URL', env('NINJA_APP_URL', 'https://app.invoiceninja.com')); define('NINJA_DOCS_URL', env('NINJA_DOCS_URL', 'http://docs.invoiceninja.com/en/latest')); define('NINJA_DATE', '2000-01-01'); - define('NINJA_VERSION', '4.3.1' . env('NINJA_VERSION_SUFFIX')); + define('NINJA_VERSION', '4.4.0' . env('NINJA_VERSION_SUFFIX')); define('NINJA_TERMS_VERSION', ''); define('SOCIAL_LINK_FACEBOOK', env('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja')); @@ -451,12 +458,14 @@ if (! defined('APP_NAME')) { define('GATEWAY_TYPE_PAYPAL', 3); define('GATEWAY_TYPE_BITCOIN', 4); define('GATEWAY_TYPE_DWOLLA', 5); - define('GATEWAY_TYPE_CUSTOM', 6); + define('GATEWAY_TYPE_CUSTOM1', 6); define('GATEWAY_TYPE_ALIPAY', 7); define('GATEWAY_TYPE_SOFORT', 8); define('GATEWAY_TYPE_SEPA', 9); define('GATEWAY_TYPE_GOCARDLESS', 10); define('GATEWAY_TYPE_APPLE_PAY', 11); + define('GATEWAY_TYPE_CUSTOM2', 12); + define('GATEWAY_TYPE_CUSTOM3', 13); define('GATEWAY_TYPE_TOKEN', 'token'); define('TEMPLATE_INVOICE', 'invoice'); @@ -469,6 +478,14 @@ if (! defined('APP_NAME')) { define('TEMPLATE_REMINDER3', 'reminder3'); define('TEMPLATE_REMINDER4', 'reminder4'); + define('CUSTOM_MESSAGE_DASHBOARD', 'dashboard'); + define('CUSTOM_MESSAGE_UNPAID_INVOICE', 'unpaid_invoice'); + define('CUSTOM_MESSAGE_PAID_INVOICE', 'paid_invoice'); + define('CUSTOM_MESSAGE_UNAPPROVED_QUOTE', 'unapproved_quote'); + define('CUSTOM_MESSAGE_APPROVED_QUOTE', 'approved_quote'); + define('CUSTOM_MESSAGE_UNAPPROVED_PROPOSAL', 'unapproved_proposal'); + define('CUSTOM_MESSAGE_APPROVED_PROPOSAL', 'approved_proposal'); + define('RESET_FREQUENCY_DAILY', 1); define('RESET_FREQUENCY_WEEKLY', 2); define('RESET_FREQUENCY_MONTHLY', 3); diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index 56a3df9e24bd..b3d233b23fb7 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -30,6 +30,7 @@ use App\Ninja\Repositories\ReferralRepository; use App\Services\AuthService; use App\Services\PaymentService; use App\Services\TemplateService; +use Nwidart\Modules\Facades\Module; use Auth; use Cache; use File; @@ -551,71 +552,78 @@ class AccountController extends BaseController private function showInvoiceDesign($section) { $account = Auth::user()->account->load('country'); - $invoice = new stdClass(); - $client = new stdClass(); - $contact = new stdClass(); - $invoiceItem = new stdClass(); - $document = new stdClass(); - $client->name = 'Sample Client'; - $client->address1 = '10 Main St.'; - $client->city = 'New York'; - $client->state = 'NY'; - $client->postal_code = '10000'; - $client->work_phone = '(212) 555-0000'; - $client->work_email = 'sample@example.com'; - $client->balance = 100; - $client->vat_number = $account->vat_number ? '1234567890' : ''; - $client->id_number = $account->id_number ? '1234567890' : ''; + if ($invoice = Invoice::scope()->invoices()->orderBy('id')->first()) { + $invoice->load('account', 'client.contacts', 'invoice_items'); + $invoice->invoice_date = Utils::fromSqlDate($invoice->invoice_date); + $invoice->due_date = Utils::fromSqlDate($invoice->due_date); + } else { + $client = new stdClass(); + $contact = new stdClass(); + $invoiceItem = new stdClass(); + $document = new stdClass(); - if ($account->custom_client_label1) { - $client->custom_value1 = '0000'; + $client->name = 'Sample Client'; + $client->address1 = '10 Main St.'; + $client->city = 'New York'; + $client->state = 'NY'; + $client->postal_code = '10000'; + $client->work_phone = '(212) 555-0000'; + $client->work_email = 'sample@example.com'; + $client->balance = 100; + $client->vat_number = $account->vat_number ? '1234567890' : ''; + $client->id_number = $account->id_number ? '1234567890' : ''; + + if ($account->customLabel('client1')) { + $client->custom_value1 = '0000'; + } + if ($account->customLabel('client2')) { + $client->custom_value2 = '0000'; + } + + $invoice = new stdClass(); + $invoice->invoice_number = '0000'; + $invoice->invoice_date = Utils::fromSqlDate(date('Y-m-d')); + $invoice->account = json_decode($account->toJson()); + $invoice->amount = $invoice->balance = 100; + + if ($account->customLabel('invoice_text1')) { + $invoice->custom_text_value1 = '0000'; + } + if ($account->customLabel('invoice_text2')) { + $invoice->custom_text_value2 = '0000'; + } + + $invoice->terms = trim($account->invoice_terms); + $invoice->invoice_footer = trim($account->invoice_footer); + + $contact->first_name = 'Test'; + $contact->last_name = 'Contact'; + $contact->email = 'contact@gmail.com'; + $client->contacts = [$contact]; + + $invoiceItem->cost = 100; + $invoiceItem->qty = 1; + $invoiceItem->notes = 'Notes'; + $invoiceItem->product_key = 'Item'; + $invoiceItem->discount = 10; + $invoiceItem->tax_name1 = 'Tax'; + $invoiceItem->tax_rate1 = 10; + + if ($account->customLabel('product1')) { + $invoiceItem->custom_value1 = '0000'; + } + if ($account->customLabel('product2')) { + $invoiceItem->custom_value2 = '0000'; + } + + $document->base64 = 'data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAyAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNBCUAAAAAABAAAAAAAAAAAAAAAAAAAAAA/+4AIUFkb2JlAGTAAAAAAQMAEAMDBgkAAAW8AAALrQAAEWf/2wCEAAgGBgYGBggGBggMCAcIDA4KCAgKDhANDQ4NDRARDA4NDQ4MEQ8SExQTEg8YGBoaGBgjIiIiIycnJycnJycnJycBCQgICQoJCwkJCw4LDQsOEQ4ODg4REw0NDg0NExgRDw8PDxEYFhcUFBQXFhoaGBgaGiEhICEhJycnJycnJycnJ//CABEIAGQAlgMBIgACEQEDEQH/xADtAAABBQEBAAAAAAAAAAAAAAAAAQIDBAUGBwEBAAMBAQEAAAAAAAAAAAAAAAIDBAUBBhAAAQQCAQMDBQEAAAAAAAAAAgABAwQRBRIQIBMwIQYxIiMUFUARAAIBAgMFAwgHBwUBAAAAAAECAwARIRIEMUFRYROhIkIgcYGRsdFSIzDBMpKyFAVA4WJyM0MkUPGiU3OTEgABAgQBCQYEBwAAAAAAAAABEQIAITESAyBBUWFxkaGxIhAwgdEyE8HxYnLw4UJSgiMUEwEAAgIBAwQCAwEBAAAAAAABABEhMVFBYXEQgZGhILEwwdHw8f/aAAwDAQACEQMRAAAA9ScqiDlGjgRUUcqSCOVfTEeETZI/TABQBHCxAiDmcvz1O3rM7i7HG29J1nGW6c/ZO4i1ry9ZZwJOzk2Gc11N8YVe6FsZKEQqwR8v0vnEpz4isza7FaovCjNThxulztSxiz6597PwkfQ99R6vxT0S7N2yuXJpQceKrkIq3L9kK/OuR9F8rpjCsmdZXLUN+H0Obp9H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UXhzAK5y/XUnskCEqEqMLSHNUwwLAQBRotLMeIdlDn5FpRZUUm5R2ZJ7EpNZRMobAO5K5hOAUuBYHYG+8SddNHz0+EKEOCcKzlT1BZYb4uB90OpYUAVM2rcL3vCknNK+bjWGKs6bZa9oVhmRdpg/YWAAlUVJkcjdXD11Lgke0VcU2MbHfygaFKWEnTL5GJZzMyGuGMPMbSQlbPagPOZaKOHjusEyaLtXgeW3iK4+oDc4bNYnwcKiQaks/Caxh5wK7kdeZvb3LEJhAMqbKrhAqim522Qv5gPgqp9FxlL7mnZpXi3MxIMgDkG/ug65qHbsEF8zXvjwBFAU4jmwArRmKjV6XLdNd1TvoiF1X5vX/fMHBChWDvd+4paeJz4FDgzLjs70CdhHznQBjzv7Sxo8bd2NfcZmYNWs8RxQGYGe1+olGV9n7Z+0UPFyYwlYvmDNJctGQPGwnyQAWPv0haPhQ4abtsUxZfaFBalqvypK8pGizJpYO+aShBw+h2xgHf3CNeSAXzRnTRxS/szKo3P+IMAszsGE7iUiOwZy99tXZg3BCqz2L+qH0gU09RzxfaMDrstvwgKoDsPRrCLj7jcKSy6oH5pLZC0I+L/UPAvRNDQUa9oMU7aNedH3NWIKBWuO+m4lsAS60VfopKsCajNR6AT7l8D418EaQCisod0YIUK9U/PBh6loQegqKly/QfkBmNzMzM/i+jOk/9k='; + + $invoice->client = $client; + $invoice->invoice_items = [$invoiceItem]; + //$invoice->documents = $account->hasFeature(FEATURE_DOCUMENTS) ? [$document] : []; + $invoice->documents = []; } - if ($account->custom_client_label2) { - $client->custom_value2 = '0000'; - } - - $invoice->invoice_number = '0000'; - $invoice->invoice_date = Utils::fromSqlDate(date('Y-m-d')); - $invoice->account = json_decode($account->toJson()); - $invoice->amount = $invoice->balance = 100; - - if ($account->custom_invoice_text_label1) { - $invoice->custom_text_value1 = '0000'; - } - if ($account->custom_invoice_text_label2) { - $invoice->custom_text_value2 = '0000'; - } - - $invoice->terms = trim($account->invoice_terms); - $invoice->invoice_footer = trim($account->invoice_footer); - - $contact->first_name = 'Test'; - $contact->last_name = 'Contact'; - $contact->email = 'contact@gmail.com'; - $client->contacts = [$contact]; - - $invoiceItem->cost = 100; - $invoiceItem->qty = 1; - $invoiceItem->notes = 'Notes'; - $invoiceItem->product_key = 'Item'; - $invoiceItem->discount = 10; - $invoiceItem->tax_name1 = 'Tax'; - $invoiceItem->tax_rate1 = 10; - - if ($account->custom_invoice_item_label1) { - $invoiceItem->custom_value1 = '0000'; - } - if ($account->custom_invoice_item_label2) { - $invoiceItem->custom_value2 = '0000'; - } - - $document->base64 = 'data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAyAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNBCUAAAAAABAAAAAAAAAAAAAAAAAAAAAA/+4AIUFkb2JlAGTAAAAAAQMAEAMDBgkAAAW8AAALrQAAEWf/2wCEAAgGBgYGBggGBggMCAcIDA4KCAgKDhANDQ4NDRARDA4NDQ4MEQ8SExQTEg8YGBoaGBgjIiIiIycnJycnJycnJycBCQgICQoJCwkJCw4LDQsOEQ4ODg4REw0NDg0NExgRDw8PDxEYFhcUFBQXFhoaGBgaGiEhICEhJycnJycnJycnJ//CABEIAGQAlgMBIgACEQEDEQH/xADtAAABBQEBAAAAAAAAAAAAAAAAAQIDBAUGBwEBAAMBAQEAAAAAAAAAAAAAAAIDBAUBBhAAAQQCAQMDBQEAAAAAAAAAAgABAwQRBRIQIBMwIQYxIiMUFUARAAIBAgMFAwgHBwUBAAAAAAECAwARIRIEMUFRYROhIkIgcYGRsdFSIzDBMpKyFAVA4WJyM0MkUPGiU3OTEgABAgQBCQYEBwAAAAAAAAABEQIAITESAyBBUWFxkaGxIhAwgdEyE8HxYnLw4UJSgiMUEwEAAgIBAwQCAwEBAAAAAAABABEhMVFBYXEQgZGhILEwwdHw8f/aAAwDAQACEQMRAAAA9ScqiDlGjgRUUcqSCOVfTEeETZI/TABQBHCxAiDmcvz1O3r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gtAYVZcF7afsYf9lQisQlRdvDkWyqGZBthXx7RPvKkUrlb5Q/CrdFT5neoWdIZSWgR/VBQwZ0nUGPeBAJdZvWE38qghbIlumjVcdMzdAL5o/BAVDYFa5xT2qVhDQIAA5pB+5aemryoxhX0jk3pALPvUXhzAK5y/XUnskCEqEqMLSHNUwwLAQBRotLMeIdlDn5FpRZUUm5R2ZJ7EpNZRMobAO5K5hOAUuBYHYG+8SddNHz0+EKEOCcKzlT1BZYb4uB90OpYUAVM2rcL3vCknNK+bjWGKs6bZa9oVhmRdpg/YWAAlUVJkcjdXD11Lgke0VcU2MbHfygaFKWEnTL5GJZzMyGuGMPMbSQlbPagPOZaKOHjusEyaLtXgeW3iK4+oDc4bNYnwcKiQaks/Caxh5wK7kdeZvb3LEJhAMqbKrhAqim522Qv5gPgqp9FxlL7mnZpXi3MxIMgDkG/ug65qHbsEF8zXvjwBFAU4jmwArRmKjV6XLdNd1TvoiF1X5vX/fMHBChWDvd+4paeJz4FDgzLjs70CdhHznQBjzv7Sxo8bd2NfcZmYNWs8RxQGYGe1+olGV9n7Z+0UPFyYwlYvmDNJctGQPGwnyQAWPv0haPhQ4abtsUxZfaFBalqvypK8pGizJpYO+aShBw+h2xgHf3CNeSAXzRnTRxS/szKo3P+IMAszsGE7iUiOwZy99tXZg3BCqz2L+qH0gU09RzxfaMDrstvwgKoDsPRrCLj7jcKSy6oH5pLZC0I+L/UPAvRNDQUa9oMU7aNedH3NWIKBWuO+m4lsAS60VfopKsCajNR6AT7l8D418EaQCisod0YIUK9U/PBh6loQegqKly/QfkBmNzMzM/i+jOk/9k='; - - $invoice->client = $client; - $invoice->invoice_items = [$invoiceItem]; - //$invoice->documents = $account->hasFeature(FEATURE_DOCUMENTS) ? [$document] : []; - $invoice->documents = []; $data['account'] = $account; $data['invoice'] = $invoice; @@ -758,6 +766,22 @@ class AccountController extends BaseController $account = $user->account; $modules = Input::get('modules'); + if (Utils::isSelfHost()) { + // get all custom modules, including disabled + $custom_modules = collect(Input::get('custom_modules'))->each(function ($item, $key) { + $module = Module::find($item); + if ($module && $module->disabled()) { + $module->enable(); + } + }); + + (Module::toCollection()->diff($custom_modules))->each(function ($item, $key) { + if ($item->enabled()) { + $item->disable(); + } + }); + } + $user->force_pdfjs = Input::get('force_pdfjs') ? true : false; $user->save(); @@ -960,23 +984,11 @@ class AccountController extends BaseController ->withInput(); } else { $account = Auth::user()->account; - $account->custom_label1 = trim(Input::get('custom_label1')); - $account->custom_value1 = trim(Input::get('custom_value1')); - $account->custom_label2 = trim(Input::get('custom_label2')); - $account->custom_value2 = trim(Input::get('custom_value2')); - $account->custom_client_label1 = trim(Input::get('custom_client_label1')); - $account->custom_client_label2 = trim(Input::get('custom_client_label2')); - $account->custom_contact_label1 = trim(Input::get('custom_contact_label1')); - $account->custom_contact_label2 = trim(Input::get('custom_contact_label2')); - $account->custom_invoice_label1 = trim(Input::get('custom_invoice_label1')); - $account->custom_invoice_label2 = trim(Input::get('custom_invoice_label2')); + $account->custom_value1 = Input::get('custom_value1'); + $account->custom_value2 = Input::get('custom_value2'); $account->custom_invoice_taxes1 = Input::get('custom_invoice_taxes1') ? true : false; $account->custom_invoice_taxes2 = Input::get('custom_invoice_taxes2') ? true : false; - $account->custom_invoice_text_label1 = trim(Input::get('custom_invoice_text_label1')); - $account->custom_invoice_text_label2 = trim(Input::get('custom_invoice_text_label2')); - $account->custom_invoice_item_label1 = trim(Input::get('custom_invoice_item_label1')); - $account->custom_invoice_item_label2 = trim(Input::get('custom_invoice_item_label2')); - + $account->custom_fields = request()->custom_fields; $account->invoice_number_padding = Input::get('invoice_number_padding'); $account->invoice_number_counter = Input::get('invoice_number_counter'); $account->quote_number_prefix = Input::get('quote_number_prefix'); @@ -1053,6 +1065,7 @@ class AccountController extends BaseController $account->quote_design_id = Input::get('quote_design_id'); $account->font_size = intval(Input::get('font_size')); $account->page_size = Input::get('page_size'); + $account->background_image_id = Document::getPrivateId(request()->background_image_id); $labels = []; foreach (Account::$customLabels as $field) { diff --git a/app/Http/Controllers/AccountGatewayController.php b/app/Http/Controllers/AccountGatewayController.php index 8c022828120a..a824e9043a47 100644 --- a/app/Http/Controllers/AccountGatewayController.php +++ b/app/Http/Controllers/AccountGatewayController.php @@ -52,7 +52,7 @@ class AccountGatewayController extends BaseController $accountGateway = AccountGateway::scope($publicId)->firstOrFail(); $config = $accountGateway->getConfig(); - if ($accountGateway->gateway_id != GATEWAY_CUSTOM) { + if (! $accountGateway->isCustom()) { foreach ($config as $field => $value) { $config->$field = str_repeat('*', strlen($value)); } @@ -257,8 +257,6 @@ class AccountGatewayController extends BaseController } if (! $value && in_array($field, ['testMode', 'developerMode', 'sandbox'])) { // do nothing - } elseif ($gatewayId == GATEWAY_CUSTOM) { - $config->$field = Utils::isNinjaProd() ? strip_tags($value) : $value; } else { $config->$field = $value; } diff --git a/app/Http/Controllers/AppController.php b/app/Http/Controllers/AppController.php index a04f449c0f32..4cb3a6c69bcf 100644 --- a/app/Http/Controllers/AppController.php +++ b/app/Http/Controllers/AppController.php @@ -282,7 +282,10 @@ class AppController extends BaseController if (! Utils::isNinjaProd()) { if ($password = env('UPDATE_SECRET')) { if (! hash_equals($password, request('secret') ?: '')) { - abort(400, 'Invalid secret: /update?secret='); + $message = 'Invalid secret: /update?secret='; + Utils::logError($message); + echo $message; + exit; } } @@ -328,7 +331,7 @@ class AppController extends BaseController } } - return Redirect::to('/'); + return Redirect::to('/?clear_cache=true'); } // MySQL changed the default table type from MyISAM to InnoDB diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php index f99fc56e397b..5a3421e59f42 100644 --- a/app/Http/Controllers/Auth/ResetPasswordController.php +++ b/app/Http/Controllers/Auth/ResetPasswordController.php @@ -58,8 +58,9 @@ class ResetPasswordController extends Controller public function showResetForm(Request $request, $token = null) { - return view('auth.passwords.reset')->with( - ['token' => $token] - ); + return view('auth.passwords.reset')->with([ + 'token' => $token, + 'url' => '/password/reset' + ]); } } diff --git a/app/Http/Controllers/BotController.php b/app/Http/Controllers/BotController.php index 5d3ddb47077e..0d28f03d7cf6 100644 --- a/app/Http/Controllers/BotController.php +++ b/app/Http/Controllers/BotController.php @@ -158,8 +158,8 @@ class BotController extends Controller private function parseMessage($message) { - $appId = env('MSBOT_LUIS_APP_ID'); - $subKey = env('MSBOT_LUIS_SUBSCRIPTION_KEY'); + $appId = config('ninja.voice_commands.app_id'); + $subKey = config('ninja.voice_commands.subscription_key'); $message = rawurlencode($message); $url = sprintf('%s/%s?subscription-key=%s&verbose=true&q=%s', MSBOT_LUIS_URL, $appId, $subKey, $message); diff --git a/app/Http/Controllers/ClientAuth/ResetPasswordController.php b/app/Http/Controllers/ClientAuth/ResetPasswordController.php index 511c10cfa92e..62ef7019ac81 100644 --- a/app/Http/Controllers/ClientAuth/ResetPasswordController.php +++ b/app/Http/Controllers/ClientAuth/ResetPasswordController.php @@ -54,9 +54,10 @@ class ResetPasswordController extends Controller public function showResetForm(Request $request, $token = null) { - return view('clientauth.passwords.reset')->with( - ['token' => $token] - ); + return view('auth.passwords.reset')->with([ + 'token' => $token, + 'url' => '/client/password/reset' + ]); } } diff --git a/app/Http/Controllers/ClientController.php b/app/Http/Controllers/ClientController.php index bdf7bcc7cb39..abebe92f5b4f 100644 --- a/app/Http/Controllers/ClientController.php +++ b/app/Http/Controllers/ClientController.php @@ -197,8 +197,8 @@ class ClientController extends BaseController 'data' => Input::old('data'), 'account' => Auth::user()->account, 'sizes' => Cache::get('sizes'), - 'customLabel1' => Auth::user()->account->custom_client_label1, - 'customLabel2' => Auth::user()->account->custom_client_label2, + 'customLabel1' => Auth::user()->account->customLabel('client1'), + 'customLabel2' => Auth::user()->account->customLabel('client2'), ]; } diff --git a/app/Http/Controllers/ClientPortalController.php b/app/Http/Controllers/ClientPortalController.php index 7c565e88bb54..cec3026024e7 100644 --- a/app/Http/Controllers/ClientPortalController.php +++ b/app/Http/Controllers/ClientPortalController.php @@ -128,7 +128,7 @@ class ClientPortalController extends BaseController $paymentURL = ''; if (count($paymentTypes) == 1) { $paymentURL = $paymentTypes[0]['url']; - if ($paymentTypes[0]['gatewayTypeId'] == GATEWAY_TYPE_CUSTOM) { + if (in_array($paymentTypes[0]['gatewayTypeId'], [GATEWAY_TYPE_CUSTOM1, GATEWAY_TYPE_CUSTOM2, GATEWAY_TYPE_CUSTOM3])) { // do nothing } elseif (! $account->isGatewayConfigured(GATEWAY_PAYPAL_EXPRESS)) { $paymentURL = URL::to($paymentURL); @@ -170,13 +170,6 @@ class ClientPortalController extends BaseController 'accountGateway' => $paymentDriver->accountGateway, ]; } - - if ($accountGateway = $account->getGatewayByType(GATEWAY_TYPE_CUSTOM)) { - $data += [ - 'customGatewayName' => $accountGateway->getConfigField('name'), - 'customGatewayText' => $accountGateway->getConfigField('text'), - ]; - } } if ($account->hasFeature(FEATURE_DOCUMENTS) && $this->canCreateZip()) { @@ -215,7 +208,7 @@ class ClientPortalController extends BaseController $invoice = $invitation->invoice; $decode = ! request()->base64; - $pdfString = $invoice->getPDFString($decode); + $pdfString = $invoice->getPDFString($invitation, $decode); header('Content-Type: application/pdf'); header('Content-Length: ' . strlen($pdfString)); diff --git a/app/Http/Controllers/DashboardApiController.php b/app/Http/Controllers/DashboardApiController.php index 0ca7eb6475bc..894a2e3593a9 100644 --- a/app/Http/Controllers/DashboardApiController.php +++ b/app/Http/Controllers/DashboardApiController.php @@ -21,6 +21,7 @@ class DashboardApiController extends BaseAPIController $viewAll = $user->hasPermission('view_all'); $userId = $user->id; $accountId = $user->account->id; + $defaultCurrency = $user->account->currency_id; $dashboardRepo = $this->dashboardRepo; $metrics = $dashboardRepo->totals($accountId, $userId, $viewAll); @@ -44,11 +45,11 @@ class DashboardApiController extends BaseAPIController $data = [ 'id' => 1, 'paidToDate' => $paidToDate->count() && $paidToDate[0]->value ? $paidToDate[0]->value : 0, - 'paidToDateCurrency' => $paidToDate->count() && $paidToDate[0]->currency_id ? $paidToDate[0]->currency_id : 0, + 'paidToDateCurrency' => $paidToDate->count() && $paidToDate[0]->currency_id ? $paidToDate[0]->currency_id : $defaultCurrency, 'balances' => $balances->count() && $balances[0]->value ? $balances[0]->value : 0, - 'balancesCurrency' => $balances->count() && $balances[0]->currency_id ? $balances[0]->currency_id : 0, + 'balancesCurrency' => $balances->count() && $balances[0]->currency_id ? $balances[0]->currency_id : $defaultCurrency, 'averageInvoice' => $averageInvoice->count() && $averageInvoice[0]->invoice_avg ? $averageInvoice[0]->invoice_avg : 0, - 'averageInvoiceCurrency' => $averageInvoice->count() && $averageInvoice[0]->currency_id ? $averageInvoice[0]->currency_id : 0, + 'averageInvoiceCurrency' => $averageInvoice->count() && $averageInvoice[0]->currency_id ? $averageInvoice[0]->currency_id : $defaultCurrency, 'invoicesSent' => $metrics ? $metrics->invoices_sent : 0, 'activeClients' => $metrics ? $metrics->active_clients : 0, 'activities' => $this->createCollection($activities, new ActivityTransformer(), ENTITY_ACTIVITY), diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 6838ca154275..445fe2375de3 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -149,17 +149,7 @@ class HomeController extends BaseController $subject = 'Customer Message ['; if (Utils::isNinjaProd()) { $subject .= str_replace('db-ninja-', '', config('database.default')); - $account = Auth::user()->account; - if ($account->isTrial()) { - $subject .= 'T'; - } elseif ($account->isEnterprise()) { - $subject .= 'E'; - } elseif ($account->isPro()) { - $subject .= 'P'; - } else { - $subject .= 'H'; - } - $subject .= '] '; + $subject .= Auth::user()->present()->statusCode . '] '; } else { $subject .= 'Self-Host] | '; } diff --git a/app/Http/Controllers/NinjaController.php b/app/Http/Controllers/NinjaController.php index c90b45b26c52..4a265a2a73d2 100644 --- a/app/Http/Controllers/NinjaController.php +++ b/app/Http/Controllers/NinjaController.php @@ -244,6 +244,16 @@ class NinjaController extends BaseController $licenseKey = Input::get('license_key'); $productId = Input::get('product_id', PRODUCT_ONE_CLICK_INSTALL); + // add in dashes + if (strlen($licenseKey) == 20) { + $licenseKey = sprintf('%s-%s-%s-%s-%s', + substr($licenseKey, 0, 4), + substr($licenseKey, 4, 4), + substr($licenseKey, 8, 4), + substr($licenseKey, 12, 4), + substr($licenseKey, 16, 4)); + } + $license = License::where('license_key', '=', $licenseKey) ->where('is_claimed', '<', 10) ->where('product_id', '=', $productId) diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index 18f7a2159e44..6ec9b04e2219 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -162,6 +162,7 @@ class ReportController extends BaseController $schedule->config = json_encode($options); $schedule->frequency = request('frequency'); $schedule->send_date = Utils::toSqlDate(request('send_date')); + $schedule->ip = request()->getClientIp(); $schedule->save(); session()->flash('message', trans('texts.created_scheduled_report')); diff --git a/app/Http/Controllers/TaskApiController.php b/app/Http/Controllers/TaskApiController.php index 6fd08074f4ee..117c9bc63218 100644 --- a/app/Http/Controllers/TaskApiController.php +++ b/app/Http/Controllers/TaskApiController.php @@ -149,6 +149,9 @@ class TaskApiController extends BaseAPIController */ public function update(UpdateTaskRequest $request) { + if ($request->action) { + return $this->handleAction($request); + } $task = $request->entity(); diff --git a/app/Http/Controllers/TaskController.php b/app/Http/Controllers/TaskController.php index 9495406cd387..51c882d6b439 100644 --- a/app/Http/Controllers/TaskController.php +++ b/app/Http/Controllers/TaskController.php @@ -8,6 +8,7 @@ use App\Http\Requests\UpdateTaskRequest; use App\Models\Client; use App\Models\Project; use App\Models\Task; +use App\Models\TaskStatus; use App\Ninja\Datatables\TaskDatatable; use App\Ninja\Repositories\InvoiceRepository; use App\Ninja\Repositories\TaskRepository; @@ -267,6 +268,14 @@ class TaskController extends BaseController $this->taskRepo->save($ids, ['action' => $action]); Session::flash('message', trans($action == 'stop' ? 'texts.stopped_task' : 'texts.resumed_task')); return $this->returnBulk($this->entityType, $action, $ids); + } elseif (strpos($action, 'update_status') === 0) { + list($action, $statusPublicId) = explode(':', $action); + Task::scope($ids)->update([ + 'task_status_id' => TaskStatus::getPrivateId($statusPublicId), + 'task_status_sort_order' => 9999, + ]); + Session::flash('message', trans('texts.updated_task_status')); + return $this->returnBulk($this->entityType, $action, $ids); } elseif ($action == 'invoice' || $action == 'add_to_invoice') { $tasks = Task::scope($ids)->with('account', 'client', 'project')->orderBy('project_id', 'id')->get(); $clientPublicId = false; diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 1aaca6fe3861..ddc30a2d1567 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -103,7 +103,7 @@ class Authenticate } else { if ($guard == 'client') { $url = '/client/login'; - if (Utils::isNinja()) { + if (Utils::isNinjaProd()) { if ($account && Utils::getSubdomain() == 'app') { $url .= '?account_key=' . $account->account_key; } diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index 98cc00e5717f..79bc158a8d9d 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -431,14 +431,12 @@ class Utils public static function prepareErrorData($context) { - return [ + $data = [ 'context' => $context, 'user_id' => Auth::check() ? Auth::user()->id : 0, 'account_id' => Auth::check() ? Auth::user()->account_id : 0, 'user_name' => Auth::check() ? Auth::user()->getDisplayName() : '', 'method' => Request::method(), - 'url' => Input::get('url', Request::url()), - 'previous' => url()->previous(), 'user_agent' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '', 'locale' => App::getLocale(), 'ip' => Request::getClientIp(), @@ -447,6 +445,15 @@ class Utils 'is_api' => session('token_id') ? 'yes' : 'no', 'db_server' => config('database.default'), ]; + + if (static::isNinja()) { + $data['url'] = Input::get('url', Request::url()); + $data['previous'] = url()->previous(); + } else { + $data['url'] = request()->path(); + } + + return $data; } public static function getErrors() @@ -489,6 +496,21 @@ class Utils return intval($value); } + public static function lookupIdInCache($name, $type) + { + $cache = Cache::get($type); + + $data = $cache->filter(function ($item) use ($name) { + return strtolower($item->name) == trim(strtolower($name)); + }); + + if ($record = $data->first()) { + return $record->id; + } else { + return null; + } + } + public static function getFromCache($id, $type) { $cache = Cache::get($type); diff --git a/app/Listeners/HandleUserLoggedIn.php b/app/Listeners/HandleUserLoggedIn.php index 4e85abe2fc0d..a17140bb4ffe 100644 --- a/app/Listeners/HandleUserLoggedIn.php +++ b/app/Listeners/HandleUserLoggedIn.php @@ -79,7 +79,7 @@ class HandleUserLoggedIn if (! Utils::isNinja()) { // check custom gateway id is correct - $gateway = Gateway::find(GATEWAY_CUSTOM); + $gateway = Gateway::find(GATEWAY_CUSTOM1); if (! $gateway || $gateway->name !== 'Custom') { Session::flash('error', trans('texts.error_incorrect_gateway_ids')); } diff --git a/app/Models/Account.php b/app/Models/Account.php index 98daf5a88fe5..d2b41875e754 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -9,6 +9,7 @@ use App\Models\Traits\GeneratesNumbers; use App\Models\Traits\PresentsInvoice; use App\Models\Traits\SendsEmails; use App\Models\Traits\HasLogo; +use App\Models\Traits\HasCustomMessages; use Cache; use Carbon; use DateTime; @@ -30,6 +31,7 @@ class Account extends Eloquent use GeneratesNumbers; use SendsEmails; use HasLogo; + use HasCustomMessages; /** * @var string @@ -72,22 +74,12 @@ class Account extends Eloquent 'work_phone', 'work_email', 'language_id', - 'custom_label1', - 'custom_value1', - 'custom_label2', - 'custom_value2', - 'custom_client_label1', - 'custom_client_label2', 'fill_products', 'update_products', 'primary_color', 'secondary_color', 'hide_quantity', 'hide_paid_to_date', - 'custom_invoice_label1', - 'custom_invoice_label2', - 'custom_invoice_taxes1', - 'custom_invoice_taxes2', 'vat_number', 'invoice_number_prefix', 'invoice_number_counter', @@ -112,8 +104,6 @@ class Account extends Eloquent 'num_days_reminder1', 'num_days_reminder2', 'num_days_reminder3', - 'custom_invoice_text_label1', - 'custom_invoice_text_label2', 'tax_name1', 'tax_rate1', 'tax_name2', @@ -142,8 +132,6 @@ class Account extends Eloquent 'show_currency_code', 'enable_portal_password', 'send_portal_password', - 'custom_invoice_item_label1', - 'custom_invoice_item_label2', 'recurring_invoice_number_prefix', 'enable_client_portal', 'invoice_fields', @@ -175,8 +163,6 @@ class Account extends Eloquent 'gateway_fee_enabled', 'send_item_details', 'reset_counter_date', - 'custom_contact_label1', - 'custom_contact_label2', 'domain_id', 'analytics_key', 'credit_number_counter', @@ -186,6 +172,10 @@ class Account extends Eloquent 'inclusive_taxes', 'convert_products', 'signature_on_pdf', + 'custom_fields', + 'custom_value1', + 'custom_value2', + 'custom_messages', ]; /** @@ -233,6 +223,27 @@ class Account extends Eloquent 'outstanding' => 4, ]; + public static $customFields = [ + 'client1', + 'client2', + 'contact1', + 'contact2', + 'product1', + 'product2', + 'invoice1', + 'invoice2', + 'invoice_surcharge1', + 'invoice_surcharge2', + 'task1', + 'task2', + 'project1', + 'project2', + 'expense1', + 'expense2', + 'vendor1', + 'vendor2', + ]; + public static $customLabels = [ 'balance_due', 'credit_card', @@ -240,6 +251,8 @@ class Account extends Eloquent 'description', 'discount', 'due_date', + 'gateway_fee_item', + 'gateway_fee_description', 'hours', 'id_number', 'invoice', @@ -265,6 +278,16 @@ class Account extends Eloquent 'vat_number', ]; + public static $customMessageTypes = [ + CUSTOM_MESSAGE_DASHBOARD, + CUSTOM_MESSAGE_UNPAID_INVOICE, + CUSTOM_MESSAGE_PAID_INVOICE, + CUSTOM_MESSAGE_UNAPPROVED_QUOTE, + //CUSTOM_MESSAGE_APPROVED_QUOTE, + //CUSTOM_MESSAGE_UNAPPROVED_PROPOSAL, + //CUSTOM_MESSAGE_APPROVED_PROPOSAL, + ]; + /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ @@ -361,6 +384,11 @@ class Account extends Eloquent return $this->hasMany('App\Models\Document')->whereIsDefault(true); } + public function background_image() + { + return $this->hasOne('App\Models\Document', 'id', 'background_image_id'); + } + /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ @@ -497,6 +525,38 @@ class Account extends Eloquent $this->attributes['size_id'] = $value ?: null; } + /** + * @param $value + */ + public function setCustomFieldsAttribute($data) + { + $fields = []; + + if (! is_array($data)) { + $data = json_decode($data); + } + + foreach ($data as $key => $value) { + if ($value) { + $fields[$key] = $value; + } + } + + $this->attributes['custom_fields'] = count($fields) ? json_encode($fields) : null; + } + + public function getCustomFieldsAttribute($value) + { + return json_decode($value ?: '{}'); + } + + public function customLabel($field) + { + $labels = $this->custom_fields; + + return ! empty($labels->$field) ? $labels->$field : ''; + } + /** * @param int $gatewayId * @@ -707,6 +767,14 @@ class Account extends Eloquent return $this->currency_id ?: DEFAULT_CURRENCY; } + /** + * @return mixed + */ + public function getCountryId() + { + return $this->country_id ?: DEFAULT_COUNTRY; + } + /** * @param $date * @@ -825,8 +893,10 @@ class Account extends Eloquent $gatewayTypes = []; $gatewayIds = []; + $usedGatewayIds = []; foreach ($this->account_gateways as $accountGateway) { + $usedGatewayIds[] = $accountGateway->gateway_id; $paymentDriver = $accountGateway->paymentDriver(); $gatewayTypes = array_unique(array_merge($gatewayTypes, $paymentDriver->gatewayTypes())); } @@ -1476,28 +1546,6 @@ class Account extends Eloquent return true; } - /** - * @param $field - * @param bool $entity - * - * @return bool - */ - public function showCustomField($field, $entity = false) - { - if ($this->hasFeature(FEATURE_INVOICE_SETTINGS) && $this->$field) { - return true; - } - - if (! $entity) { - return false; - } - - // convert (for example) 'custom_invoice_label1' to 'invoice.custom_value1' - $field = str_replace(['invoice_', 'label'], ['', 'value'], $field); - - return Utils::isEmpty($entity->$field) ? false : true; - } - /** * @return bool */ diff --git a/app/Models/AccountGateway.php b/app/Models/AccountGateway.php index 5f54eedfacbd..22e901aee197 100644 --- a/app/Models/AccountGateway.php +++ b/app/Models/AccountGateway.php @@ -2,6 +2,8 @@ namespace App\Models; +use Utils; +use HTMLUtils; use Crypt; use Illuminate\Database\Eloquent\SoftDeletes; use Laracasts\Presenter\PresentableTrait; @@ -114,6 +116,11 @@ class AccountGateway extends EntityModel } } + public function isCustom() + { + return in_array($this->gateway_id, [GATEWAY_CUSTOM1, GATEWAY_CUSTOM2, GATEWAY_CUSTOM3]); + } + /** * @param $config */ @@ -293,4 +300,22 @@ class AccountGateway extends EntityModel return $this->getConfigField('testMode'); } } + + public function getCustomHtml($invitation) + { + $text = $this->getConfigField('text'); + + if ($text == strip_tags($text)) { + $text = nl2br($text); + } + + if (Utils::isNinja()) { + $text = HTMLUtils::sanitizeHTML($text); + } + + $templateService = app('App\Services\TemplateService'); + $text = $templateService->processVariables($text, ['invitation' => $invitation]); + + return $text; + } } diff --git a/app/Models/Client.php b/app/Models/Client.php index 24b45e131fc2..9541e4c9dddf 100644 --- a/app/Models/Client.php +++ b/app/Models/Client.php @@ -6,6 +6,7 @@ use Carbon; use DB; use Illuminate\Database\Eloquent\SoftDeletes; use Laracasts\Presenter\PresentableTrait; +use App\Models\Traits\HasCustomMessages; use Utils; /** @@ -15,6 +16,7 @@ class Client extends EntityModel { use PresentableTrait; use SoftDeletes; + use HasCustomMessages; /** * @var string @@ -61,6 +63,7 @@ class Client extends EntityModel 'shipping_country_id', 'show_tasks_in_portal', 'send_reminders', + 'custom_messages', ]; /** diff --git a/app/Models/Document.php b/app/Models/Document.php index a1d03ee355b6..9d570882d267 100644 --- a/app/Models/Document.php +++ b/app/Models/Document.php @@ -234,6 +234,23 @@ class Document extends EntityModel return $disk->get($this->path); } + /** + * @return mixed + */ + public function getRawCached() + { + $key = 'image:' . $this->path; + + if ($image = cache($key)) { + // do nothing + } else { + $image = $this->getRaw(); + cache([$key => $image], 120); + } + + return $image; + } + /** * @return mixed */ @@ -356,6 +373,11 @@ class Document extends EntityModel return $document; } + + public function scopeProposalImages($query) + { + return $query->whereIsProposal(1); + } } Document::deleted(function ($document) { diff --git a/app/Models/EntityModel.php b/app/Models/EntityModel.php index 56935a64b301..cc08b33ef7de 100644 --- a/app/Models/EntityModel.php +++ b/app/Models/EntityModel.php @@ -108,7 +108,11 @@ class EntityModel extends Eloquent $className = get_called_class(); - return $className::scope($publicId)->withTrashed()->value('id'); + if (method_exists($className, 'trashed')) { + return $className::scope($publicId)->withTrashed()->value('id'); + } else { + return $className::scope($publicId)->value('id'); + } } /** diff --git a/app/Models/Expense.php b/app/Models/Expense.php index 34c92288a83c..0be9a89b3eab 100644 --- a/app/Models/Expense.php +++ b/app/Models/Expense.php @@ -52,6 +52,8 @@ class Expense extends EntityModel 'transaction_reference', 'invoice_documents', 'should_be_invoiced', + 'custom_value1', + 'custom_value2', ]; public static function getImportColumns() @@ -64,6 +66,9 @@ class Expense extends EntityModel 'private_notes', 'expense_category', 'expense_date', + 'payment_type', + 'payment_date', + 'transaction_reference', ]; } @@ -76,7 +81,10 @@ class Expense extends EntityModel 'vendor' => 'vendor', 'notes|details^private' => 'public_notes', 'notes|details^public' => 'private_notes', - 'date' => 'expense_date', + 'date^payment' => 'expense_date', + 'payment type' => 'payment_type', + 'payment date' => 'payment_date', + 'reference' => 'transaction_reference', ]; } diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index 66609291b998..9ce356aa37c6 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -48,7 +48,9 @@ class Gateway extends Eloquent GATEWAY_AUTHORIZE_NET, GATEWAY_MOLLIE, GATEWAY_GOCARDLESS, - GATEWAY_CUSTOM, + GATEWAY_CUSTOM1, + GATEWAY_CUSTOM2, + GATEWAY_CUSTOM3, ]; // allow adding these gateway if another gateway @@ -61,7 +63,9 @@ class Gateway extends Eloquent GATEWAY_GOCARDLESS, GATEWAY_BITPAY, GATEWAY_DWOLLA, - GATEWAY_CUSTOM, + GATEWAY_CUSTOM1, + GATEWAY_CUSTOM2, + GATEWAY_CUSTOM3, ]; /** @@ -141,6 +145,10 @@ class Gateway extends Eloquent $query->where('payment_library_id', '=', 1) ->whereIn('id', static::$preferred) ->whereIn('id', $accountGatewaysIds); + + if (! Utils::isNinja()) { + $query->where('id', '!=', GATEWAY_WEPAY); + } } /** @@ -205,6 +213,6 @@ class Gateway extends Eloquent public function isCustom() { - return $this->id === GATEWAY_CUSTOM; + return in_array($this->id, [GATEWAY_CUSTOM1, GATEWAY_CUSTOM2, GATEWAY_CUSTOM3]); } } diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 868fb660d109..abd5f774568c 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -529,6 +529,18 @@ class Invoice extends EntityModel implements BalanceAffecting return $this->isType(INVOICE_TYPE_QUOTE); } + /** + * @return string + */ + public function getCustomMessageType() + { + if ($this->isQuote()) { + return $this->quote_invoice_id ? CUSTOM_MESSAGE_APPROVED_QUOTE : CUSTOM_MESSAGE_UNAPPROVED_QUOTE; + } else { + return $this->balance > 0 ? CUSTOM_MESSAGE_UNPAID_INVOICE : CUSTOM_MESSAGE_PAID_INVOICE; + } + } + /** * @return bool */ @@ -1001,28 +1013,17 @@ class Invoice extends EntityModel implements BalanceAffecting 'country', 'country_id', 'currency_id', - 'custom_label1', + 'custom_fields', 'custom_value1', - 'custom_label2', 'custom_value2', - 'custom_client_label1', - 'custom_client_label2', - 'custom_contact_label1', - 'custom_contact_label2', 'primary_color', 'secondary_color', 'hide_quantity', 'hide_paid_to_date', 'all_pages_header', 'all_pages_footer', - 'custom_invoice_label1', - 'custom_invoice_label2', 'pdf_email_attachment', 'show_item_taxes', - 'custom_invoice_text_label1', - 'custom_invoice_text_label2', - 'custom_invoice_item_label1', - 'custom_invoice_item_label2', 'invoice_embed_documents', 'page_size', 'include_item_taxes_inline', @@ -1224,7 +1225,7 @@ class Invoice extends EntityModel implements BalanceAffecting /** * @return bool|string */ - public function getPDFString($decode = true) + public function getPDFString($invitation = false, $decode = true) { if (! env('PHANTOMJS_CLOUD_KEY') && ! env('PHANTOMJS_BIN_PATH')) { return false; @@ -1234,7 +1235,7 @@ class Invoice extends EntityModel implements BalanceAffecting return false; } - $invitation = $this->invitations[0]; + $invitation = $invitation ?: $this->invitations[0]; $link = $invitation->getLink('view', true, true); $pdfString = false; $phantomjsSecret = env('PHANTOMJS_SECRET'); diff --git a/app/Models/InvoiceItem.php b/app/Models/InvoiceItem.php index 6d96e7201ec1..8b11498426ce 100644 --- a/app/Models/InvoiceItem.php +++ b/app/Models/InvoiceItem.php @@ -75,7 +75,7 @@ class InvoiceItem extends EntityModel return $this->belongsTo('App\Models\Account'); } - public function amount() + public function getPreTaxAmount() { $amount = $this->cost * $this->qty; @@ -83,21 +83,32 @@ class InvoiceItem extends EntityModel if ($this->invoice->is_amount_discount) { $amount -= $this->discount; } else { - $amount -= $amount * $this->discount / 100; + $amount -= round($amount * $this->discount / 100, 4); } } - $preTaxAmount = $amount; + return $amount; + } + + public function getTaxAmount() + { + $tax = 0; + $preTaxAmount = $this->getPreTaxAmount(); if ($this->tax_rate1) { - $amount += $preTaxAmount * $this->tax_rate1 / 100; + $tax += round($preTaxAmount * $this->tax_rate1 / 100, 2); } if ($this->tax_rate2) { - $amount += $preTaxAmount * $this->tax_rate2 / 100; + $tax += round($preTaxAmount * $this->tax_rate2 / 100, 2); } - return $amount; + return $tax; + } + + public function amount() + { + return $this->getPreTaxAmount() + $this->getTaxAmount(); } public function markFeePaid() diff --git a/app/Models/Project.php b/app/Models/Project.php index 7b694a42b419..54d70fc473e4 100644 --- a/app/Models/Project.php +++ b/app/Models/Project.php @@ -28,6 +28,8 @@ class Project extends EntityModel 'private_notes', 'due_date', 'budgeted_hours', + 'custom_value1', + 'custom_value2', ]; /** diff --git a/app/Models/Proposal.php b/app/Models/Proposal.php index b079bf347923..b6e4962fb763 100644 --- a/app/Models/Proposal.php +++ b/app/Models/Proposal.php @@ -115,6 +115,19 @@ class Proposal extends EntityModel return trans('texts.proposal') . '_' . $this->invoice->invoice_number . '.' . $extension; } + + /** + * @return string + */ + public function getCustomMessageType() + { + if ($this->invoice->quote_invoice_id) { + return CUSTOM_MESSAGE_APPROVED_PROPOSAL; + } else { + return CUSTOM_MESSAGE_UNAPPROVED_PROPOSAL; + } + } + } Proposal::creating(function ($project) { diff --git a/app/Models/Task.php b/app/Models/Task.php index 5c54c6ba42b4..201fc3bba1d7 100644 --- a/app/Models/Task.php +++ b/app/Models/Task.php @@ -24,6 +24,8 @@ class Task extends EntityModel 'description', 'time_log', 'is_running', + 'custom_value1', + 'custom_value2', ]; /** @@ -259,10 +261,7 @@ class Task extends EntityModel $statuses[$status->public_id] = $status->name; } - if (! $taskStatues->count()) { - $statuses[TASK_STATUS_LOGGED] = trans('texts.logged'); - } - + $statuses[TASK_STATUS_LOGGED] = trans('texts.logged'); $statuses[TASK_STATUS_RUNNING] = trans('texts.running'); $statuses[TASK_STATUS_INVOICED] = trans('texts.invoiced'); $statuses[TASK_STATUS_PAID] = trans('texts.paid'); diff --git a/app/Models/Traits/HasCustomMessages.php b/app/Models/Traits/HasCustomMessages.php new file mode 100644 index 000000000000..49472cdf85dc --- /dev/null +++ b/app/Models/Traits/HasCustomMessages.php @@ -0,0 +1,49 @@ + $value) { + if ($value) { + $fields[$key] = $value; + } + } + + $this->attributes['custom_messages'] = count($fields) ? json_encode($fields) : null; + } + + public function getCustomMessagesAttribute($value) + { + return json_decode($value ?: '{}'); + } + + public function customMessage($type) + { + $messages = $this->custom_messages; + + if (! empty($messages->$type)) { + return $messages->$type; + } + + if ($this->account) { + return $this->account->customMessage($type); + } else { + return ''; + } + } +} diff --git a/app/Models/Traits/HasRecurrence.php b/app/Models/Traits/HasRecurrence.php index 87cab5187c19..610fefa860b1 100644 --- a/app/Models/Traits/HasRecurrence.php +++ b/app/Models/Traits/HasRecurrence.php @@ -15,6 +15,18 @@ trait HasRecurrence * @return bool */ public function shouldSendToday() + { + if (Utils::isSelfHost()) { + return $this->shouldSendTodayNew(); + } else { + return $this->shouldSendTodayOld(); + } + } + + /** + * @return bool + */ + public function shouldSendTodayOld() { if (! $this->user->confirmed) { return false; @@ -79,8 +91,7 @@ trait HasRecurrence return false; } - /* - public function shouldSendToday() + public function shouldSendTodayNew() { if (! $this->user->confirmed) { return false; @@ -114,7 +125,6 @@ trait HasRecurrence return $this->account->getDateTime() >= $nextSendDate; } } - */ /** * @throws \Recurr\Exception\MissingData diff --git a/app/Models/Traits/PresentsInvoice.php b/app/Models/Traits/PresentsInvoice.php index 157211f5b1a3..2e00e4ff823a 100644 --- a/app/Models/Traits/PresentsInvoice.php +++ b/app/Models/Traits/PresentsInvoice.php @@ -101,22 +101,22 @@ trait PresentsInvoice ] ]; - if ($this->custom_invoice_text_label1) { + if ($this->customLabel('invoice_text1')) { $fields[INVOICE_FIELDS_INVOICE][] = 'invoice.custom_text_value1'; } - if ($this->custom_invoice_text_label2) { + if ($this->customLabel('invoice_text2')) { $fields[INVOICE_FIELDS_INVOICE][] = 'invoice.custom_text_value2'; } - if ($this->custom_client_label1) { + if ($this->customLabel('client1')) { $fields[INVOICE_FIELDS_CLIENT][] = 'client.custom_value1'; } - if ($this->custom_client_label2) { + if ($this->customLabel('client2')) { $fields[INVOICE_FIELDS_CLIENT][] = 'client.custom_value2'; } - if ($this->custom_contact_label1) { + if ($this->customLabel('contact1')) { $fields[INVOICE_FIELDS_CLIENT][] = 'contact.custom_value1'; } - if ($this->custom_contact_label2) { + if ($this->customLabel('contact2')) { $fields[INVOICE_FIELDS_CLIENT][] = 'contact.custom_value2'; } if ($this->custom_label1) { @@ -354,18 +354,18 @@ trait PresentsInvoice } foreach ([ - 'account.custom_value1' => 'custom_label1', - 'account.custom_value2' => 'custom_label2', - 'invoice.custom_text_value1' => 'custom_invoice_text_label1', - 'invoice.custom_text_value2' => 'custom_invoice_text_label2', - 'client.custom_value1' => 'custom_client_label1', - 'client.custom_value2' => 'custom_client_label2', - 'contact.custom_value1' => 'custom_contact_label1', - 'contact.custom_value2' => 'custom_contact_label2', - 'product.custom_value1' => 'custom_invoice_item_label1', - 'product.custom_value2' => 'custom_invoice_item_label2', + 'account.custom_value1' => 'account1', + 'account.custom_value2' => 'account2', + 'invoice.custom_text_value1' => 'invoice_text1', + 'invoice.custom_text_value2' => 'invoice_text2', + 'client.custom_value1' => 'client1', + 'client.custom_value2' => 'client2', + 'contact.custom_value1' => 'contact1', + 'contact.custom_value2' => 'contact2', + 'product.custom_value1' => 'product1', + 'product.custom_value2' => 'product2', ] as $field => $property) { - $data[$field] = e(Utils::getCustomLabel($this->$property)) ?: trans('texts.custom_field'); + $data[$field] = e($this->present()->customLabel($property)) ?: trans('texts.custom_field'); } return $data; diff --git a/app/Models/Traits/SendsEmails.php b/app/Models/Traits/SendsEmails.php index a3a07b58c918..60ac2a5644e6 100644 --- a/app/Models/Traits/SendsEmails.php +++ b/app/Models/Traits/SendsEmails.php @@ -204,4 +204,13 @@ trait SendsEmails return Domain::getEmailFromId($this->domain_id); } + + public function getDailyEmailLimit() + { + $limit = MAX_EMAILS_SENT_PER_DAY; + + $limit += $this->created_at->diffInMonths() * 100; + + return min($limit, 1000); + } } diff --git a/app/Models/Vendor.php b/app/Models/Vendor.php index afc48afbc21f..a3cd62178243 100644 --- a/app/Models/Vendor.php +++ b/app/Models/Vendor.php @@ -44,6 +44,8 @@ class Vendor extends EntityModel 'currency_id', 'website', 'transaction_name', + 'custom_value1', + 'custom_value2', ]; /** @@ -98,10 +100,10 @@ class Vendor extends EntityModel self::$fieldPostalCode, self::$fieldCountry, self::$fieldNotes, - VendorContact::$fieldFirstName, - VendorContact::$fieldLastName, - VendorContact::$fieldPhone, - VendorContact::$fieldEmail, + 'contact_first_name', + 'contact_last_name', + 'contact_email', + 'contact_phone', ]; } @@ -111,11 +113,12 @@ class Vendor extends EntityModel public static function getImportMap() { return [ - 'first' => 'first_name', - 'last' => 'last_name', - 'email' => 'email', - 'mobile|phone' => 'phone', - 'name|organization' => 'name', + 'first' => 'contact_first_name', + 'last' => 'contact_last_name', + 'email' => 'contact_email', + 'mobile|phone' => 'contact_phone', + 'work|office' => 'work_phone', + 'name|organization|vendor' => 'name', 'street2|address2' => 'address2', 'street|address|address1' => 'address1', 'city' => 'city', diff --git a/app/Ninja/Datatables/AccountGatewayDatatable.php b/app/Ninja/Datatables/AccountGatewayDatatable.php index a97df299b869..00720c5c2856 100644 --- a/app/Ninja/Datatables/AccountGatewayDatatable.php +++ b/app/Ninja/Datatables/AccountGatewayDatatable.php @@ -25,7 +25,7 @@ class AccountGatewayDatatable extends EntityDatatable $accountGateway = $this->getAccountGateway($model->id); if ($model->deleted_at) { return $model->name; - } elseif ($model->gateway_id == GATEWAY_CUSTOM) { + } elseif (in_array($model->gateway_id, [GATEWAY_CUSTOM1, GATEWAY_CUSTOM2, GATEWAY_CUSTOM3])) { $name = $accountGateway->getConfigField('name') . ' [' . trans('texts.custom') . ']'; return link_to("gateways/{$model->public_id}/edit", $name)->toHtml(); } elseif ($model->gateway_id != GATEWAY_WEPAY) { @@ -191,8 +191,12 @@ class AccountGatewayDatatable extends EntityDatatable }, function ($model) use ($gatewayType) { // Only show this action if the given gateway supports this gateway type - if ($model->gateway_id == GATEWAY_CUSTOM) { - return $gatewayType->id == GATEWAY_TYPE_CUSTOM; + if ($model->gateway_id == GATEWAY_CUSTOM1) { + return $gatewayType->id == GATEWAY_TYPE_CUSTOM1; + } elseif ($model->gateway_id == GATEWAY_CUSTOM2) { + return $gatewayType->id == GATEWAY_TYPE_CUSTOM2; + } elseif ($model->gateway_id == GATEWAY_CUSTOM3) { + return $gatewayType->id == GATEWAY_TYPE_CUSTOM3; } else { $accountGateway = $this->getAccountGateway($model->id); return $accountGateway->paymentDriver()->supportsGatewayType($gatewayType->id); @@ -229,8 +233,12 @@ class AccountGatewayDatatable extends EntityDatatable private function getGatewayTypes($id, $gatewayId) { - if ($gatewayId == GATEWAY_CUSTOM) { - $gatewayTypes = [GATEWAY_TYPE_CUSTOM]; + if ($gatewayId == GATEWAY_CUSTOM1) { + $gatewayTypes = [GATEWAY_TYPE_CUSTOM1]; + } elseif ($gatewayId == GATEWAY_CUSTOM2) { + $gatewayTypes = [GATEWAY_TYPE_CUSTOM2]; + } elseif ($gatewayId == GATEWAY_CUSTOM3) { + $gatewayTypes = [GATEWAY_TYPE_CUSTOM3]; } else { $accountGateway = $this->getAccountGateway($id); $paymentDriver = $accountGateway->paymentDriver(); diff --git a/app/Ninja/Datatables/ProductDatatable.php b/app/Ninja/Datatables/ProductDatatable.php index 9c51418cd6be..504c69e35cda 100644 --- a/app/Ninja/Datatables/ProductDatatable.php +++ b/app/Ninja/Datatables/ProductDatatable.php @@ -47,14 +47,14 @@ class ProductDatatable extends EntityDatatable function ($model) { return $model->custom_value1; }, - $account->custom_invoice_item_label1 + $account->customLabel('product1') ], [ 'custom_value2', function ($model) { return $model->custom_value2; }, - $account->custom_invoice_item_label2 + $account->customLabel('product2') ] ]; } diff --git a/app/Ninja/Datatables/TaskDatatable.php b/app/Ninja/Datatables/TaskDatatable.php index c4a5814afd44..051e1d2d5bde 100644 --- a/app/Ninja/Datatables/TaskDatatable.php +++ b/app/Ninja/Datatables/TaskDatatable.php @@ -3,6 +3,7 @@ namespace App\Ninja\Datatables; use App\Models\Task; +use App\Models\TaskStatus; use Auth; use URL; use Utils; @@ -129,4 +130,26 @@ class TaskDatatable extends EntityDatatable return "

$label

"; } + + public function bulkActions() + { + $actions = []; + + $statuses = TaskStatus::scope()->orderBy('sort_order')->get(); + + foreach ($statuses as $status) { + $actions[] = [ + 'label' => sprintf('%s %s', trans('texts.mark'), $status->name), + 'url' => 'javascript:submitForm_' . $this->entityType . '("update_status:' . $status->public_id . '")', + ]; + } + + if (count($actions)) { + $actions[] = \DropdownButton::DIVIDER; + } + + $actions = array_merge($actions, parent::bulkActions()); + + return $actions; + } } diff --git a/app/Ninja/Import/BaseTransformer.php b/app/Ninja/Import/BaseTransformer.php index 8018685a585b..68333bb4532c 100644 --- a/app/Ninja/Import/BaseTransformer.php +++ b/app/Ninja/Import/BaseTransformer.php @@ -39,6 +39,19 @@ class BaseTransformer extends TransformerAbstract return isset($this->maps[ENTITY_CLIENT][$name]); } + /** + * @param $name + * + * @return bool + */ + public function hasVendor($name) + { + $name = trim(strtolower($name)); + + return isset($this->maps[ENTITY_VENDOR][$name]); + } + + /** * @param $key * diff --git a/app/Ninja/Import/CSV/ExpenseTransformer.php b/app/Ninja/Import/CSV/ExpenseTransformer.php index 4d1c5299f176..efb9cd274080 100644 --- a/app/Ninja/Import/CSV/ExpenseTransformer.php +++ b/app/Ninja/Import/CSV/ExpenseTransformer.php @@ -2,6 +2,7 @@ namespace App\Ninja\Import\CSV; +use Utils; use App\Ninja\Import\BaseTransformer; use League\Fractal\Resource\Item; @@ -18,14 +19,20 @@ class ExpenseTransformer extends BaseTransformer public function transform($data) { return new Item($data, function ($data) { + $clientId = isset($data->client) ? $this->getClientId($data->client) : null; + return [ 'amount' => $this->getFloat($data, 'amount'), 'vendor_id' => isset($data->vendor) ? $this->getVendorId($data->vendor) : null, - 'client_id' => isset($data->client) ? $this->getClientId($data->client) : null, + 'client_id' => $clientId, 'expense_date' => isset($data->expense_date) ? date('Y-m-d', strtotime($data->expense_date)) : null, 'public_notes' => $this->getString($data, 'public_notes'), 'private_notes' => $this->getString($data, 'private_notes'), 'expense_category_id' => isset($data->expense_category) ? $this->getExpenseCategoryId($data->expense_category) : null, + 'payment_type_id' => isset($data->payment_type) ? Utils::lookupIdInCache($data->payment_type, 'paymentTypes') : null, + 'payment_date' => isset($data->payment_date) ? date('Y-m-d', strtotime($data->payment_date)) : null, + 'transaction_reference' => $this->getString($data, 'transaction_reference'), + 'should_be_invoiced' => $clientId ? true : false, ]; }); } diff --git a/app/Ninja/Import/CSV/VendorTransformer.php b/app/Ninja/Import/CSV/VendorTransformer.php index 58270b49d8df..62e83944442d 100644 --- a/app/Ninja/Import/CSV/VendorTransformer.php +++ b/app/Ninja/Import/CSV/VendorTransformer.php @@ -31,12 +31,12 @@ class VendorTransformer extends BaseTransformer 'state' => $this->getString($data, 'state'), 'postal_code' => $this->getString($data, 'postal_code'), 'private_notes' => $this->getString($data, 'notes'), - 'contacts' => [ + 'vendor_contacts' => [ [ - 'first_name' => $this->getString($data, 'first_name'), - 'last_name' => $this->getString($data, 'last_name'), - 'email' => $this->getString($data, 'email'), - 'phone' => $this->getString($data, 'phone'), + 'first_name' => $this->getString($data, 'contact_first_name'), + 'last_name' => $this->getString($data, 'contact_last_name'), + 'email' => $this->getString($data, 'contact_email'), + 'phone' => $this->getString($data, 'contact_phone'), ], ], 'country_id' => isset($data->country) ? $this->getCountryId($data->country) : null, diff --git a/app/Ninja/Import/Pancake/ClientTransformer.php b/app/Ninja/Import/Pancake/ClientTransformer.php new file mode 100644 index 000000000000..ef8334606220 --- /dev/null +++ b/app/Ninja/Import/Pancake/ClientTransformer.php @@ -0,0 +1,41 @@ +hasClient($data->company)) { + return false; + } + + return new Item($data, function ($data) { + return [ + 'name' => $this->getString($data, 'company'), + 'work_phone' => $this->getString($data, 'telephone_number'), + 'website' => $this->getString($data, 'website_url'), + 'private_notes' => $this->getString($data, 'notes'), + 'contacts' => [ + [ + 'first_name' => $this->getString($data, 'first_name'), + 'last_name' => $this->getString($data, 'last_name'), + 'email' => $this->getString($data, 'email'), + 'phone' => $this->getString($data, 'mobile_number'), + ], + ], + ]; + }); + } +} diff --git a/app/Ninja/Import/Pancake/InvoiceTransformer.php b/app/Ninja/Import/Pancake/InvoiceTransformer.php new file mode 100644 index 000000000000..1be89bf36ac1 --- /dev/null +++ b/app/Ninja/Import/Pancake/InvoiceTransformer.php @@ -0,0 +1,71 @@ +getClientId($data->client)) { + return false; + } + + if ($this->hasInvoice($data->invoice)) { + return false; + } + + if ($data->recurring == 'Yes') { + return false; + } + + return new Item($data, function ($data) { + return [ + 'client_id' => $this->getClientId($data->client), + 'invoice_number' => $this->getInvoiceNumber($data->invoice), + 'invoice_date' => ! empty($data->date_of_creation) ? date('Y-m-d', strtotime($data->date_of_creation)) : null, + 'due_date' => ! empty($data->due_date) ? date('Y-m-d', strtotime($data->due_date)) : null, + 'paid' => (float) $data->amount_paid, + 'public_notes' => $this->getString($data, 'notes'), + 'private_notes' => $this->getString($data, 'description'), + 'invoice_date_sql' => $data->create_date, + 'invoice_items' => [ + [ + 'product_key' => $data->item_1_gross_discount > 0 ? trans('texts.discount') : $data->item_1_name, + 'notes' => $data->item_1_description, + 'cost' => (float) $data->item_1_gross_discount > 0 ? $data->item_1_gross_discount * -1 : $data->item_1_rate, + 'qty' => $data->item_1_quantity, + ], + [ + 'product_key' => $data->item_2_gross_discount > 0 ? trans('texts.discount') : $data->item_2_name, + 'notes' => $data->item_2_description, + 'cost' => (float) $data->item_2_gross_discount > 0 ? $data->item_2_gross_discount * -1 : $data->item_2_rate, + 'qty' => $data->item_2_quantity, + ], + [ + 'product_key' => $data->item_3_gross_discount > 0 ? trans('texts.discount') : $data->item_3_name, + 'notes' => $data->item_3_description, + 'cost' => (float) $data->item_3_gross_discount > 0 ? $data->item_3_gross_discount * -1 : $data->item_3_rate, + 'qty' => $data->item_3_quantity, + ], + [ + 'product_key' => $data->item_4_gross_discount > 0 ? trans('texts.discount') : $data->item_4_name, + 'notes' => $data->item_4_description, + 'cost' => (float) $data->item_4_gross_discount > 0 ? $data->item_4_gross_discount * -1 : $data->item_4_rate, + 'qty' => $data->item_4_quantity, + ], + ], + ]; + }); + } +} diff --git a/app/Ninja/Mailers/ContactMailer.php b/app/Ninja/Mailers/ContactMailer.php index 1de3cf6715e6..9901f5e3e594 100644 --- a/app/Ninja/Mailers/ContactMailer.php +++ b/app/Ninja/Mailers/ContactMailer.php @@ -70,9 +70,6 @@ class ContactMailer extends Mailer $pdfString = false; $ublString = false; - if ($account->attachPDF() && ! $proposal) { - $pdfString = $invoice->getPDFString(); - } if ($account->attachUBL() && ! $proposal) { $ublString = dispatch(new ConvertInvoiceToUbl($invoice)); } @@ -100,6 +97,9 @@ class ContactMailer extends Mailer $isFirst = true; $invitations = $proposal ? $proposal->invitations : $invoice->invitations; foreach ($invitations as $invitation) { + if ($account->attachPDF() && ! $proposal) { + $pdfString = $invoice->getPDFString($invitation); + } $data = [ 'pdfString' => $pdfString, 'documentStrings' => $documentStrings, @@ -266,6 +266,7 @@ class ContactMailer extends Mailer $account->loadLocalizationSettings($client); $invoice = $payment->invoice; + $invitation = $payment->invitation ?: $payment->invoice->invitations[0]; $accountName = $account->getDisplayName(); if ($refunded > 0) { @@ -282,11 +283,9 @@ class ContactMailer extends Mailer if ($payment->invitation) { $user = $payment->invitation->user; $contact = $payment->contact; - $invitation = $payment->invitation; } else { $user = $payment->user; $contact = $client->contacts->count() ? $client->contacts[0] : ''; - $invitation = $payment->invoice->invitations[0]; } $variables = [ @@ -382,7 +381,7 @@ class ContactMailer extends Mailer // http://stackoverflow.com/questions/1375501/how-do-i-throttle-my-sites-api-users $day = 60 * 60 * 24; - $day_limit = MAX_EMAILS_SENT_PER_DAY; + $day_limit = $account->getDailyEmailLimit(); $day_throttle = Cache::get("email_day_throttle:{$key}", null); $last_api_request = Cache::get("last_email_request:{$key}", 0); $last_api_diff = time() - $last_api_request; diff --git a/app/Ninja/Mailers/Mailer.php b/app/Ninja/Mailers/Mailer.php index 5fcad1bd416c..ab6e27ceb0f3 100644 --- a/app/Ninja/Mailers/Mailer.php +++ b/app/Ninja/Mailers/Mailer.php @@ -40,7 +40,10 @@ class Mailer $toEmail = strtolower($toEmail); $replyEmail = $fromEmail; $fromEmail = CONTACT_EMAIL; - //\Log::info("{$toEmail} | {$replyEmail} | $fromEmail"); + + if (Utils::isSelfHost() && config('app.debug')) { + \Log::info("Sending email - To: {$toEmail} | Reply: {$replyEmail} | From: $fromEmail"); + } // Optionally send for alternate domain if (! empty($data['fromEmail'])) { diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 16c03696d883..20938b4ba3cb 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -986,8 +986,14 @@ class BasePaymentDriver $gatewayTypeAlias = GatewayType::getAliasFromId($gatewayTypeId); - if ($gatewayTypeId == GATEWAY_TYPE_CUSTOM) { - $url = 'javascript:showCustomModal();'; + if ($gatewayTypeId == GATEWAY_TYPE_CUSTOM1) { + $url = 'javascript:showCustom1Modal();'; + $label = e($this->accountGateway->getConfigField('name')); + } elseif ($gatewayTypeId == GATEWAY_TYPE_CUSTOM2) { + $url = 'javascript:showCustom2Modal();'; + $label = e($this->accountGateway->getConfigField('name')); + } elseif ($gatewayTypeId == GATEWAY_TYPE_CUSTOM3) { + $url = 'javascript:showCustom3Modal();'; $label = e($this->accountGateway->getConfigField('name')); } else { $url = $this->paymentUrl($gatewayTypeAlias); diff --git a/app/Ninja/PaymentDrivers/CustomPaymentDriver.php b/app/Ninja/PaymentDrivers/Custom1PaymentDriver.php similarity index 58% rename from app/Ninja/PaymentDrivers/CustomPaymentDriver.php rename to app/Ninja/PaymentDrivers/Custom1PaymentDriver.php index a09d7e129f33..3520e888233d 100644 --- a/app/Ninja/PaymentDrivers/CustomPaymentDriver.php +++ b/app/Ninja/PaymentDrivers/Custom1PaymentDriver.php @@ -2,12 +2,12 @@ namespace App\Ninja\PaymentDrivers; -class CustomPaymentDriver extends BasePaymentDriver +class Custom1PaymentDriver extends BasePaymentDriver { public function gatewayTypes() { return [ - GATEWAY_TYPE_CUSTOM, + GATEWAY_TYPE_CUSTOM1, ]; } } diff --git a/app/Ninja/PaymentDrivers/Custom2PaymentDriver.php b/app/Ninja/PaymentDrivers/Custom2PaymentDriver.php new file mode 100644 index 000000000000..664a1a757ca7 --- /dev/null +++ b/app/Ninja/PaymentDrivers/Custom2PaymentDriver.php @@ -0,0 +1,13 @@ + 'custom_client1', - 'custom_client_label2' => 'custom_client2', - 'custom_contact_label1' => 'custom_contact1', - 'custom_contact_label2' => 'custom_contact2', - 'custom_invoice_text_label1' => 'custom_invoice1', - 'custom_invoice_text_label2' => 'custom_invoice2', - 'custom_invoice_item_label1' => 'custom_product1', - 'custom_invoice_item_label2' => 'custom_product2', + 'client1' => 'custom_client1', + 'client1' => 'custom_client2', + 'contact1' => 'custom_contact1', + 'contact2' => 'custom_contact2', + 'invoice_text1' => 'custom_invoice1', + 'invoice_text2' => 'custom_invoice2', + 'product1' => 'custom_product1', + 'product2' => 'custom_product2', ]; $data = []; foreach ($fields as $key => $val) { - if ($this->$key) { - $data[Utils::getCustomLabel($this->$key)] = [ + if ($label = $this->customLabel($key)) { + $data[Utils::getCustomLabel($label)] = [ 'value' => $val, 'name' => $val, ]; @@ -265,55 +265,8 @@ class AccountPresenter extends Presenter return $url; } - - public function customClientLabel1() + public function customLabel($field) { - return Utils::getCustomLabel($this->entity->custom_client_label1); + return Utils::getCustomLabel($this->entity->customLabel($field)); } - - public function customClientLabel2() - { - return Utils::getCustomLabel($this->entity->custom_client_label2); - } - - public function customContactLabel1() - { - return Utils::getCustomLabel($this->entity->custom_contact_label1); - } - - public function customContactLabel2() - { - return Utils::getCustomLabel($this->entity->custom_contact_label2); - } - - public function customInvoiceLabel1() - { - return Utils::getCustomLabel($this->entity->custom_invoice_label1); - } - - public function customInvoiceLabel2() - { - return Utils::getCustomLabel($this->entity->custom_invoice_label2); - } - - public function customInvoiceTextLabel1() - { - return Utils::getCustomLabel($this->entity->custom_invoice_text_label1); - } - - public function customInvoiceTextLabel2() - { - return Utils::getCustomLabel($this->entity->custom_invoice_text_label1); - } - - public function customProductLabel1() - { - return Utils::getCustomLabel($this->entity->custom_invoice_item_label1); - } - - public function customProductLabel2() - { - return Utils::getCustomLabel($this->entity->custom_invoice_item_label2); - } - } diff --git a/app/Ninja/Presenters/ExpensePresenter.php b/app/Ninja/Presenters/ExpensePresenter.php index c9bd71b1fabb..8adc4df6a64e 100644 --- a/app/Ninja/Presenters/ExpensePresenter.php +++ b/app/Ninja/Presenters/ExpensePresenter.php @@ -59,6 +59,15 @@ class ExpensePresenter extends EntityPresenter return $this->entity->expense_category ? $this->entity->expense_category->name : ''; } + public function payment_type() + { + if (! $this->payment_type_id) { + return ''; + } + + return Utils::getFromCache($this->payment_type_id, 'paymentTypes')->name; + } + public function calendarEvent($subColors = false) { $data = parent::calendarEvent(); diff --git a/app/Ninja/Presenters/UserPresenter.php b/app/Ninja/Presenters/UserPresenter.php index b16b43f4b54d..40f6f93cf5b8 100644 --- a/app/Ninja/Presenters/UserPresenter.php +++ b/app/Ninja/Presenters/UserPresenter.php @@ -13,4 +13,31 @@ class UserPresenter extends EntityPresenter { return $this->entity->first_name . ' ' . $this->entity->last_name; } + + public function statusCode() + { + $status = ''; + $user = $this->entity; + $account = $user->account; + + if ($user->confirmed) { + $status .= 'C'; + } elseif ($user->registered) { + $status .= 'R'; + } else { + $status .= 'N'; + } + + if ($account->isTrial()) { + $status .= 'T'; + } elseif ($account->isEnterprise()) { + $status .= 'E'; + } elseif ($account->isPro()) { + $status .= 'P'; + } else { + $status .= 'H'; + } + + return $status; + } } diff --git a/app/Ninja/Reports/ClientReport.php b/app/Ninja/Reports/ClientReport.php index 18a46d15b07e..ca199b046341 100644 --- a/app/Ninja/Reports/ClientReport.php +++ b/app/Ninja/Reports/ClientReport.php @@ -22,11 +22,11 @@ class ClientReport extends AbstractReport $user = auth()->user(); $account = $user->account; - if ($account->custom_client_label1) { - $columns[$account->present()->customClientLabel1] = ['columnSelector-false', 'custom']; + if ($account->customLabel('client1')) { + $columns[$account->present()->customLabel('client1')] = ['columnSelector-false', 'custom']; } - if ($account->custom_client_label2) { - $columns[$account->present()->customClientLabel2] = ['columnSelector-false', 'custom']; + if ($account->customLabel('client2')) { + $columns[$account->present()->customLabel('client2')] = ['columnSelector-false', 'custom']; } return $columns; @@ -75,10 +75,10 @@ class ClientReport extends AbstractReport $client->user->getDisplayName(), ]; - if ($account->custom_client_label1) { + if ($account->customLabel('client1')) { $row[] = $client->custom_value1; } - if ($account->custom_client_label2) { + if ($account->customLabel('client2')) { $row[] = $client->custom_value2; } diff --git a/app/Ninja/Reports/ExpenseReport.php b/app/Ninja/Reports/ExpenseReport.php index b852dcc64f5f..a7ba91544a34 100644 --- a/app/Ninja/Reports/ExpenseReport.php +++ b/app/Ninja/Reports/ExpenseReport.php @@ -23,6 +23,16 @@ class ExpenseReport extends AbstractReport 'user' => ['columnSelector-false'], ]; + $user = auth()->user(); + $account = $user->account; + + if ($account->customLabel('expense1')) { + $columns[$account->present()->customLabel('expense1')] = ['columnSelector-false', 'custom']; + } + if ($account->customLabel('expense2')) { + $columns[$account->present()->customLabel('expense2')] = ['columnSelector-false', 'custom']; + } + if (TaxRate::scope()->count()) { $columns['tax'] = ['columnSelector-false']; } @@ -85,6 +95,13 @@ class ExpenseReport extends AbstractReport $expense->user->getDisplayName(), ]; + if ($account->customLabel('expense1')) { + $row[] = $expense->custom_value1; + } + if ($account->customLabel('expense2')) { + $row[] = $expense->custom_value2; + } + if ($hasTaxRates) { $row[] = $expense->present()->taxAmount; } diff --git a/app/Ninja/Reports/InvoiceReport.php b/app/Ninja/Reports/InvoiceReport.php index dc120a9b1118..5c20eaea2733 100644 --- a/app/Ninja/Reports/InvoiceReport.php +++ b/app/Ninja/Reports/InvoiceReport.php @@ -31,11 +31,11 @@ class InvoiceReport extends AbstractReport $account = auth()->user()->account; - if ($account->custom_invoice_text_label1) { - $columns[$account->present()->customInvoiceTextLabel1] = ['columnSelector-false', 'custom']; + if ($account->customLabel('invoice_text1')) { + $columns[$account->present()->customLabel('invoice_text1')] = ['columnSelector-false', 'custom']; } - if ($account->custom_invoice_text_label1) { - $columns[$account->present()->customInvoiceTextLabel2] = ['columnSelector-false', 'custom']; + if ($account->customLabel('invoice_text1')) { + $columns[$account->present()->customLabel('invoice_text2')] = ['columnSelector-false', 'custom']; } return $columns; @@ -108,10 +108,10 @@ class InvoiceReport extends AbstractReport $row[] = $isFirst ? $account->formatMoney($invoice->getTaxTotal(), $client) : ''; } - if ($account->custom_invoice_text_label1) { + if ($account->customLabel('invoice_text1')) { $row[] = $invoice->custom_text_value1; } - if ($account->custom_invoice_text_label2) { + if ($account->customLabel('invoice_text2')) { $row[] = $invoice->custom_text_value2; } diff --git a/app/Ninja/Reports/ProductReport.php b/app/Ninja/Reports/ProductReport.php index 922e6b148bc4..2696036add3d 100644 --- a/app/Ninja/Reports/ProductReport.php +++ b/app/Ninja/Reports/ProductReport.php @@ -31,12 +31,12 @@ class ProductReport extends AbstractReport } } - if ($account->custom_invoice_item_label1) { - $columns[$account->present()->customProductLabel1] = ['columnSelector-false', 'custom']; + if ($account->customLabel('product1')) { + $columns[$account->present()->customLabel('product1')] = ['columnSelector-false', 'custom']; } - if ($account->custom_invoice_item_label2) { - $columns[$account->present()->customProductLabel2] = ['columnSelector-false', 'custom']; + if ($account->customLabel('product2')) { + $columns[$account->present()->customLabel('product2')] = ['columnSelector-false', 'custom']; } return $columns; @@ -75,17 +75,14 @@ class ProductReport extends AbstractReport ]; if ($account->invoice_item_taxes) { - $row[] = $item->present()->tax1; - if ($account->enable_second_tax_rate) { - $row[] = $item->present()->tax2; - } + $row[] = Utils::roundSignificant($item->getTaxAmount(), 2); } - if ($account->custom_invoice_item_label1) { + if ($account->customLabel('product1')) { $row[] = $item->custom_value1; } - if ($account->custom_invoice_item_label2) { + if ($account->customLabel('product2')) { $row[] = $item->custom_value2; } diff --git a/app/Ninja/Reports/QuoteReport.php b/app/Ninja/Reports/QuoteReport.php index 5dbc529ba877..aa6bf3716ae8 100644 --- a/app/Ninja/Reports/QuoteReport.php +++ b/app/Ninja/Reports/QuoteReport.php @@ -27,11 +27,11 @@ class QuoteReport extends AbstractReport $account = auth()->user()->account; - if ($account->custom_invoice_text_label1) { - $columns[$account->present()->customInvoiceTextLabel1] = ['columnSelector-false', 'custom']; + if ($account->customLabel('invoice_text1')) { + $columns[$account->present()->customLabel('invoice_text1')] = ['columnSelector-false', 'custom']; } - if ($account->custom_invoice_text_label1) { - $columns[$account->present()->customInvoiceTextLabel2] = ['columnSelector-false', 'custom']; + if ($account->customLabel('invoice_text1')) { + $columns[$account->present()->customLabel('invoice_text2')] = ['columnSelector-false', 'custom']; } return $columns; @@ -93,10 +93,10 @@ class QuoteReport extends AbstractReport $row[] = $account->formatMoney($invoice->getTaxTotal(), $client); } - if ($account->custom_invoice_text_label1) { + if ($account->customLabel('invoice_text1')) { $row[] = $invoice->custom_text_value1; } - if ($account->custom_invoice_text_label2) { + if ($account->customLabel('invoice_text2')) { $row[] = $invoice->custom_text_value2; } diff --git a/app/Ninja/Reports/TaskReport.php b/app/Ninja/Reports/TaskReport.php index d6a2398a4760..f69c9f4b4299 100644 --- a/app/Ninja/Reports/TaskReport.php +++ b/app/Ninja/Reports/TaskReport.php @@ -4,12 +4,13 @@ namespace App\Ninja\Reports; use App\Models\Task; use Utils; +use Auth; class TaskReport extends AbstractReport { public function getColumns() { - return [ + $columns = [ 'client' => [], 'start_date' => [], 'project' => [], @@ -18,10 +19,23 @@ class TaskReport extends AbstractReport 'amount' => [], 'user' => ['columnSelector-false'], ]; + + $user = auth()->user(); + $account = $user->account; + + if ($account->customLabel('task1')) { + $columns[$account->present()->customLabel('task1')] = ['columnSelector-false', 'custom']; + } + if ($account->customLabel('task2')) { + $columns[$account->present()->customLabel('task2')] = ['columnSelector-false', 'custom']; + } + + return $columns; } public function run() { + $account = Auth::user()->account; $startDate = date_create($this->startDate); $endDate = date_create($this->endDate); $subgroup = $this->options['subgroup']; @@ -41,7 +55,7 @@ class TaskReport extends AbstractReport $currencyId = auth()->user()->account->getCurrencyId(); } - $this->data[] = [ + $row = [ $task->client ? ($this->isExport ? $task->client->getDisplayName() : $task->client->present()->link) : trans('texts.unassigned'), $this->isExport ? $task->getStartTime() : link_to($task->present()->url, $task->getStartTime()), $task->present()->project, @@ -51,6 +65,15 @@ class TaskReport extends AbstractReport $task->user->getDisplayName(), ]; + if ($account->customLabel('task1')) { + $row[] = $task->custom_value1; + } + if ($account->customLabel('task2')) { + $row[] = $task->custom_value2; + } + + $this->data[] = $row; + $this->addToTotals($currencyId, 'duration', $duration); $this->addToTotals($currencyId, 'amount', $amount); diff --git a/app/Ninja/Repositories/AccountRepository.php b/app/Ninja/Repositories/AccountRepository.php index c3134cbbe5bf..5352577bb8dc 100644 --- a/app/Ninja/Repositories/AccountRepository.php +++ b/app/Ninja/Repositories/AccountRepository.php @@ -169,11 +169,11 @@ class AccountRepository ]; // include custom client fields in search - if ($account->custom_client_label1) { - $data[$account->present()->customClientLabel1] = []; + if ($account->customLabel('client1')) { + $data[$account->present()->customLabel('client1')] = []; } - if ($account->custom_client_label2) { - $data[$account->present()->customClientLabel2] = []; + if ($account->customLabel('client2')) { + $data[$account->present()->customLabel('client2')] = []; } if ($user->hasPermission('view_all')) { @@ -194,35 +194,37 @@ class AccountRepository } foreach ($clients as $client) { - if ($client->name) { - $data['clients'][] = [ - 'value' => ($client->id_number ? $client->id_number . ': ' : '') . $client->name, - 'tokens' => implode(',', [$client->name, $client->id_number, $client->vat_number, $client->work_phone]), - 'url' => $client->present()->url, - ]; - } + if (! $client->is_deleted) { + if ($client->name) { + $data['clients'][] = [ + 'value' => ($client->id_number ? $client->id_number . ': ' : '') . $client->name, + 'tokens' => implode(',', [$client->name, $client->id_number, $client->vat_number, $client->work_phone]), + 'url' => $client->present()->url, + ]; + } - if ($client->custom_value1) { - $data[$account->present()->customClientLabel1][] = [ - 'value' => "{$client->custom_value1}: " . $client->getDisplayName(), - 'tokens' => $client->custom_value1, - 'url' => $client->present()->url, - ]; - } - if ($client->custom_value2) { - $data[$account->present()->customClientLabel2][] = [ - 'value' => "{$client->custom_value2}: " . $client->getDisplayName(), - 'tokens' => $client->custom_value2, - 'url' => $client->present()->url, - ]; - } + if ($client->custom_value1) { + $data[$account->present()->customLabel('client1')][] = [ + 'value' => "{$client->custom_value1}: " . $client->getDisplayName(), + 'tokens' => $client->custom_value1, + 'url' => $client->present()->url, + ]; + } + if ($client->custom_value2) { + $data[$account->present()->customLabel('client2')][] = [ + 'value' => "{$client->custom_value2}: " . $client->getDisplayName(), + 'tokens' => $client->custom_value2, + 'url' => $client->present()->url, + ]; + } - foreach ($client->contacts as $contact) { - $data['contacts'][] = [ - 'value' => $contact->getSearchName(), - 'tokens' => implode(',', [$contact->first_name, $contact->last_name, $contact->email, $contact->phone]), - 'url' => $client->present()->url, - ]; + foreach ($client->contacts as $contact) { + $data['contacts'][] = [ + 'value' => $contact->getSearchName(), + 'tokens' => implode(',', [$contact->first_name, $contact->last_name, $contact->email, $contact->phone]), + 'url' => $client->present()->url, + ]; + } } foreach ($client->invoices as $invoice) { diff --git a/app/Ninja/Repositories/InvoiceRepository.php b/app/Ninja/Repositories/InvoiceRepository.php index 79c3ab645c67..64bd0b3ebf15 100644 --- a/app/Ninja/Repositories/InvoiceRepository.php +++ b/app/Ninja/Repositories/InvoiceRepository.php @@ -399,7 +399,7 @@ class InvoiceRepository extends BaseRepository $invoice->custom_taxes2 = $account->custom_invoice_taxes2 ?: false; // set the default due date - if (empty($data['partial_due_date'])) { + if ($entityType == ENTITY_INVOICE && empty($data['partial_due_date'])) { $client = Client::scope()->whereId($data['client_id'])->first(); $invoice->due_date = $account->defaultDueDate($client); } @@ -1322,10 +1322,23 @@ class InvoiceRepository extends BaseRepository $data = $invoice->toArray(); $fee = $invoice->calcGatewayFee($gatewayTypeId); + $date = $account->getDateTime()->format($account->getCustomDateFormat()); + $feeItemLabel = $account->getLabel('gateway_fee_item') ?: ($fee >= 0 ? trans('texts.surcharge') : trans('texts.discount')); + + if ($feeDescriptionLabel = $account->getLabel('gateway_fee_description')) { + if (strpos($feeDescriptionLabel, '$date') !== false) { + $feeDescriptionLabel = str_replace('$date', $date, $feeDescriptionLabel); + } else { + $feeDescriptionLabel .= ' • ' . $date; + } + } else { + $feeDescriptionLabel = $fee >= 0 ? trans('texts.online_payment_surcharge') : trans('texts.online_payment_discount'); + $feeDescriptionLabel .= ' • ' . $date; + } $item = []; - $item['product_key'] = $fee >= 0 ? trans('texts.surcharge') : trans('texts.discount'); - $item['notes'] = $fee >= 0 ? trans('texts.online_payment_surcharge') : trans('texts.online_payment_discount'); + $item['product_key'] = $feeItemLabel; + $item['notes'] = $feeDescriptionLabel; $item['qty'] = 1; $item['cost'] = $fee; $item['tax_rate1'] = $settings->fee_tax_rate1; diff --git a/app/Ninja/Repositories/TaskRepository.php b/app/Ninja/Repositories/TaskRepository.php index f1c5993d6163..e021628bfa9f 100644 --- a/app/Ninja/Repositories/TaskRepository.php +++ b/app/Ninja/Repositories/TaskRepository.php @@ -159,6 +159,8 @@ class TaskRepository extends BaseRepository return $task; } + $task->fill($data); + if (isset($data['client'])) { $task->client_id = $data['client'] ? Client::getPrivateId($data['client']) : null; } elseif (isset($data['client_id'])) { diff --git a/app/Ninja/Transformers/AccountTransformer.php b/app/Ninja/Transformers/AccountTransformer.php index 8c17763af1b1..0483bf56e66f 100644 --- a/app/Ninja/Transformers/AccountTransformer.php +++ b/app/Ninja/Transformers/AccountTransformer.php @@ -179,18 +179,10 @@ class AccountTransformer extends EntityTransformer 'fill_products' => (bool) $account->fill_products, 'update_products' => (bool) $account->update_products, 'vat_number' => $account->vat_number, - 'custom_invoice_label1' => $account->custom_invoice_label1, - 'custom_invoice_label2' => $account->custom_invoice_label2, - 'custom_invoice_taxes1' => $account->custom_invoice_taxes1, - 'custom_invoice_taxes2' => $account->custom_invoice_taxes1, - 'custom_label1' => $account->custom_label1, - 'custom_label2' => $account->custom_label2, 'custom_value1' => $account->custom_value1, 'custom_value2' => $account->custom_value2, 'primary_color' => $account->primary_color, 'secondary_color' => $account->secondary_color, - 'custom_client_label1' => $account->custom_client_label1, - 'custom_client_label2' => $account->custom_client_label2, 'hide_quantity' => (bool) $account->hide_quantity, 'hide_paid_to_date' => (bool) $account->hide_paid_to_date, 'invoice_number_prefix' => $account->invoice_number_prefix, @@ -215,8 +207,6 @@ class AccountTransformer extends EntityTransformer 'num_days_reminder1' => $account->num_days_reminder1, 'num_days_reminder2' => $account->num_days_reminder2, 'num_days_reminder3' => $account->num_days_reminder3, - 'custom_invoice_text_label1' => $account->custom_invoice_text_label1, - 'custom_invoice_text_label2' => $account->custom_invoice_text_label2, 'tax_name1' => $account->tax_name1 ?: '', 'tax_rate1' => (float) $account->tax_rate1, 'tax_name2' => $account->tax_name2 ?: '', @@ -245,8 +235,6 @@ class AccountTransformer extends EntityTransformer 'show_currency_code' => (bool) $account->show_currency_code, 'enable_portal_password' => (bool) $account->enable_portal_password, 'send_portal_password' => (bool) $account->send_portal_password, - 'custom_invoice_item_label1' => $account->custom_invoice_item_label1, - 'custom_invoice_item_label2' => $account->custom_invoice_item_label2, 'recurring_invoice_number_prefix' => $account->recurring_invoice_number_prefix, 'enable_client_portal' => (bool) $account->enable_client_portal, 'invoice_fields' => $account->invoice_fields, @@ -277,12 +265,26 @@ class AccountTransformer extends EntityTransformer 'gateway_fee_enabled' => (bool) $account->gateway_fee_enabled, 'send_item_details' => (bool) $account->send_item_details, 'reset_counter_date' => $account->reset_counter_date, - 'custom_contact_label1' => $account->custom_contact_label1, - 'custom_contact_label2' => $account->custom_contact_label2, 'task_rate' => (float) $account->task_rate, 'inclusive_taxes' => (bool) $account->inclusive_taxes, 'convert_products' => (bool) $account->convert_products, 'signature_on_pdf' => (bool) $account->signature_on_pdf, + 'custom_invoice_taxes1' => $account->custom_invoice_taxes1, + 'custom_invoice_taxes2' => $account->custom_invoice_taxes1, + 'custom_fields' => $account->custom_fields, + 'custom_messages' => $account->custom_messages, + 'custom_invoice_label1' => $account->customLabel('invoice1'), + 'custom_invoice_label2' => $account->customLabel('invoice2'), + 'custom_client_label1' => $account->customLabel('client1'), + 'custom_client_label2' => $account->customLabel('client2'), + 'custom_contact_label1' => $account->customLabel('contact1'), + 'custom_contact_label2' => $account->customLabel('contact2'), + 'custom_label1' => $account->customLabel('account1'), + 'custom_label2' => $account->customLabel('account2'), + 'custom_invoice_text_label1' => $account->customLabel('invoice_text1'), + 'custom_invoice_text_label2' => $account->customLabel('invoice_text2'), + 'custom_invoice_item_label1' => $account->customLabel('product1'), + 'custom_invoice_item_label2' => $account->customLabel('product2'), ]; } } diff --git a/app/Ninja/Transformers/ClientTransformer.php b/app/Ninja/Transformers/ClientTransformer.php index 24d6161e2c78..7da62cf1a64d 100644 --- a/app/Ninja/Transformers/ClientTransformer.php +++ b/app/Ninja/Transformers/ClientTransformer.php @@ -155,6 +155,7 @@ class ClientTransformer extends EntityTransformer 'show_tasks_in_portal' => (bool) $client->show_tasks_in_portal, 'send_reminders' => (bool) $client->send_reminders, 'credit_number_counter' => (int) $client->credit_number_counter, + 'custom_messages' => json_encode($client->custom_messages), ]); } } diff --git a/app/Ninja/Transformers/ExpenseTransformer.php b/app/Ninja/Transformers/ExpenseTransformer.php index 4bc82660670f..e6c85fda82ca 100644 --- a/app/Ninja/Transformers/ExpenseTransformer.php +++ b/app/Ninja/Transformers/ExpenseTransformer.php @@ -84,6 +84,8 @@ class ExpenseTransformer extends EntityTransformer 'client_id' => $this->client ? $this->client->public_id : (isset($expense->client->public_id) ? (int) $expense->client->public_id : null), 'invoice_id' => isset($expense->invoice->public_id) ? (int) $expense->invoice->public_id : null, 'vendor_id' => isset($expense->vendor->public_id) ? (int) $expense->vendor->public_id : null, + 'custom_value1' => $expense->custom_value1, + 'custom_value2' => $expense->custom_value2, ]); } } diff --git a/app/Ninja/Transformers/ProductTransformer.php b/app/Ninja/Transformers/ProductTransformer.php index 707bc628ecbc..453f66331018 100644 --- a/app/Ninja/Transformers/ProductTransformer.php +++ b/app/Ninja/Transformers/ProductTransformer.php @@ -34,6 +34,7 @@ class ProductTransformer extends EntityTransformer 'archived_at' => $this->getTimestamp($product->deleted_at), 'custom_value1' => $product->custom_value1, 'custom_value2' => $product->custom_value2, + 'is_deleted' => (bool) $product->is_deleted, ]); } } diff --git a/app/Ninja/Transformers/ProjectTransformer.php b/app/Ninja/Transformers/ProjectTransformer.php index ad049b183727..87040ba8f5fe 100644 --- a/app/Ninja/Transformers/ProjectTransformer.php +++ b/app/Ninja/Transformers/ProjectTransformer.php @@ -34,6 +34,8 @@ class ProjectTransformer extends EntityTransformer 'due_date' => $project->due_date, 'private_notes' => $project->private_notes, 'budgeted_hours' => (float) $project->budgeted_hours, + 'custom_value1' => $project->custom_value1, + 'custom_value2' => $project->custom_value2, ]); } } diff --git a/app/Ninja/Transformers/TaskTransformer.php b/app/Ninja/Transformers/TaskTransformer.php index 234295dea73f..ee566398c635 100644 --- a/app/Ninja/Transformers/TaskTransformer.php +++ b/app/Ninja/Transformers/TaskTransformer.php @@ -62,6 +62,8 @@ class TaskTransformer extends EntityTransformer 'is_deleted' => (bool) $task->is_deleted, 'time_log' => $task->time_log, 'is_running' => (bool) $task->is_running, + 'custom_value1' => $task->custom_value1, + 'custom_value2' => $task->custom_value2, ]); } } diff --git a/app/Ninja/Transformers/VendorTransformer.php b/app/Ninja/Transformers/VendorTransformer.php index 8c4a4d38be6a..cef8e97861ac 100644 --- a/app/Ninja/Transformers/VendorTransformer.php +++ b/app/Ninja/Transformers/VendorTransformer.php @@ -86,6 +86,8 @@ class VendorTransformer extends EntityTransformer 'vat_number' => $vendor->vat_number, 'id_number' => $vendor->id_number, 'currency_id' => (int) $vendor->currency_id, + 'custom_value1' => $vendor->custom_value1, + 'custom_value2' => $vendor->custom_value2, ]); } } diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 0d5c0bddc328..7368062168fb 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -85,11 +85,11 @@ class AppServiceProvider extends ServiceProvider ->render(); }); - Form::macro('emailPaymentButton', function ($link = '#') { + Form::macro('emailPaymentButton', function ($link = '#', $label = 'pay_now') { return view('partials.email_button') ->with([ 'link' => $link, - 'field' => 'pay_now', + 'field' => $label, 'color' => '#36c157', ]) ->render(); diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 6b6ae78dbe24..d84730861dd1 100644 --- a/app/Services/ImportService.php +++ b/app/Services/ImportService.php @@ -35,6 +35,9 @@ use Session; use stdClass; use Utils; use Carbon; +use League\Csv\Reader; +use League\Csv\Statement; + /** * Class ImportService. @@ -97,6 +100,7 @@ class ImportService ENTITY_PAYMENT, ENTITY_TASK, ENTITY_PRODUCT, + ENTITY_VENDOR, ENTITY_EXPENSE, ENTITY_CUSTOMER, ]; @@ -112,6 +116,7 @@ class ImportService IMPORT_INVOICEABLE, IMPORT_INVOICEPLANE, IMPORT_NUTCACHE, + IMPORT_PANCAKE, IMPORT_RONIN, IMPORT_STRIPE, IMPORT_WAVE, @@ -651,8 +656,11 @@ class ImportService private function getCsvData($fileName) { $this->checkForFile($fileName); - $file = file_get_contents($fileName); - $data = array_map("str_getcsv", preg_split('/\r*\n+|\r+/', $file)); + + $csv = Reader::createFromPath($fileName, 'r'); + //$csv->setHeaderOffset(0); //set the CSV header offset + $stmt = new Statement(); + $data = iterator_to_array($stmt->process($csv)); if (count($data) > 0) { $headers = $data[0]; diff --git a/app/Services/TemplateService.php b/app/Services/TemplateService.php index ab85a2a0677c..c2dda7ed5428 100644 --- a/app/Services/TemplateService.php +++ b/app/Services/TemplateService.php @@ -18,15 +18,17 @@ class TemplateService */ public function processVariables($template, array $data) { - /** @var \App\Models\Account $account */ - $account = $data['account']; - - /** @var \App\Models\Client $client */ - $client = $data['client']; - /** @var \App\Models\Invitation $invitation */ $invitation = $data['invitation']; + /** @var \App\Models\Account $account */ + $account = ! empty($data['account']) ? $data['account'] : $invitation->account; + + /** @var \App\Models\Client $client */ + $client = ! empty($data['client']) ? $data['client'] : $invitation->invoice->client; + + $amount = ! empty($data['amount']) ? $data['amount'] : $invitation->invoice->getRequestedAmount(); + // check if it's a proposal if ($invitation->proposal) { $invoice = $invitation->proposal->invoice; @@ -59,7 +61,7 @@ class TemplateService '$invoiceDate' => $account->formatDate($invoice->invoice_date), '$contact' => $contact->getDisplayName(), '$firstName' => $contact->first_name, - '$amount' => $account->formatMoney($data['amount'], $client), + '$amount' => $account->formatMoney($amount, $client), '$total' => $invoice->present()->amount, '$balance' => $invoice->present()->balance, '$invoice' => $invoice->invoice_number, @@ -72,6 +74,8 @@ class TemplateService '$viewButton' => Form::emailViewButton($invitation->getLink(), $entityType).'$password', '$paymentLink' => $invitation->getLink('payment').'$password', '$paymentButton' => Form::emailPaymentButton($invitation->getLink('payment')).'$password', + '$approveLink' => $invitation->getLink('approve').'$password', + '$approveButton' => Form::emailPaymentButton($invitation->getLink('approve'), 'approve').'$password', '$customClient1' => $client->custom_value1, '$customClient2' => $client->custom_value2, '$customContact1' => $contact->custom_value1, diff --git a/bower.json b/bower.json index f8330738a111..89c7d68edfc8 100644 --- a/bower.json +++ b/bower.json @@ -41,7 +41,7 @@ "jt.timepicker": "jquery-timepicker-jt#^1.11.12", "qrcode.js": "qrcode-js#*", "money.js": "^0.1.3", - "grapesjs": "^0.13.8" + "grapesjs": "^0.13.8", }, "resolutions": { "jquery": "~1.11" diff --git a/composer.json b/composer.json index fb677eb3daec..5b8e7cc9fc9e 100644 --- a/composer.json +++ b/composer.json @@ -46,6 +46,7 @@ "laravel/socialite": "~3.0", "laravel/tinker": "^1.0", "laravelcollective/html": "5.4.*", + "league/csv": "^9.1", "league/flysystem-aws-s3-v3": "~1.0", "league/flysystem-rackspace": "~1.0", "league/fractal": "0.13.*", diff --git a/composer.lock b/composer.lock index 7b3edde8a5d6..e14440e89326 100644 --- a/composer.lock +++ b/composer.lock @@ -1,11 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "81ec40f578917feb6070a8c9911bf69c", - "content-hash": "ad55e995b8e9255f3319e3b3ae1200e5", + "content-hash": "2172e546d6290b209356879fcd4b0ecf", "packages": [ { "name": "abdala/omnipay-pagseguro", @@ -55,7 +54,7 @@ "pay", "payment" ], - "time": "2017-02-03 14:11:08" + "time": "2017-02-03T14:11:08+00:00" }, { "name": "agmscode/omnipay-agms", @@ -111,7 +110,7 @@ "payment", "purchase" ], - "time": "2015-03-21 20:06:25" + "time": "2015-03-21T20:06:25+00:00" }, { "name": "alfaproject/omnipay-skrill", @@ -165,7 +164,7 @@ "payment", "skrill" ], - "time": "2017-08-23 08:56:17" + "time": "2017-08-23T08:56:17+00:00" }, { "name": "anahkiasen/former", @@ -237,7 +236,7 @@ "foundation", "laravel" ], - "time": "2018-01-02 20:20:00" + "time": "2018-01-02T20:20:00+00:00" }, { "name": "anahkiasen/html-object", @@ -279,7 +278,7 @@ } ], "description": "A set of classes to create and manipulate HTML objects abstractions", - "time": "2017-05-31 07:52:45" + "time": "2017-05-31T07:52:45+00:00" }, { "name": "andreas22/omnipay-fasapay", @@ -333,7 +332,7 @@ "payment", "transfer" ], - "time": "2015-03-19 21:32:19" + "time": "2015-03-19T21:32:19+00:00" }, { "name": "asgrim/ofxparser", @@ -389,7 +388,7 @@ "open financial exchange", "parser" ], - "time": "2016-09-26 11:36:23" + "time": "2016-09-26T11:36:23+00:00" }, { "name": "aws/aws-sdk-php", @@ -469,7 +468,7 @@ "s3", "sdk" ], - "time": "2018-03-08 22:51:35" + "time": "2018-03-08T22:51:35+00:00" }, { "name": "bacon/bacon-qr-code", @@ -515,7 +514,7 @@ ], "description": "BaconQrCode is a QR code generator for PHP.", "homepage": "https://github.com/Bacon/BaconQrCode", - "time": "2017-10-17 09:59:25" + "time": "2017-10-17T09:59:25+00:00" }, { "name": "barracudanetworks/archivestream-php", @@ -555,7 +554,7 @@ "tar", "zip" ], - "time": "2017-01-13 14:52:38" + "time": "2017-01-13T14:52:38+00:00" }, { "name": "barryvdh/laravel-cors", @@ -618,7 +617,7 @@ "crossdomain", "laravel" ], - "time": "2017-08-28 11:42:05" + "time": "2017-08-28T11:42:05+00:00" }, { "name": "barryvdh/laravel-debugbar", @@ -667,7 +666,7 @@ "profiler", "webprofiler" ], - "time": "2017-07-21 11:56:48" + "time": "2017-07-21T11:56:48+00:00" }, { "name": "barryvdh/laravel-ide-helper", @@ -740,7 +739,7 @@ "phpstorm", "sublime" ], - "time": "2018-02-08 07:56:07" + "time": "2018-02-08T07:56:07+00:00" }, { "name": "barryvdh/reflection-docblock", @@ -789,7 +788,7 @@ "email": "mike.vanriel@naenius.com" } ], - "time": "2016-06-13 19:28:20" + "time": "2016-06-13T19:28:20+00:00" }, { "name": "braintree/braintree_php", @@ -836,7 +835,7 @@ } ], "description": "Braintree PHP Client Library", - "time": "2018-03-20 20:14:04" + "time": "2018-03-20T20:14:04+00:00" }, { "name": "bramdevries/omnipay-paymill", @@ -880,7 +879,7 @@ "payment", "paymill" ], - "time": "2014-12-14 17:00:43" + "time": "2014-12-14T17:00:43+00:00" }, { "name": "cardgate/omnipay-cardgate", @@ -936,7 +935,7 @@ "pay", "payment" ], - "time": "2015-06-05 14:50:44" + "time": "2015-06-05T14:50:44+00:00" }, { "name": "cedricziel/flysystem-gcs", @@ -984,7 +983,7 @@ "google", "google cloud storage" ], - "time": "2017-01-04 10:17:20" + "time": "2017-01-04T10:17:20+00:00" }, { "name": "cerdic/css-tidy", @@ -1017,7 +1016,7 @@ } ], "description": "CSSTidy is a CSS minifier", - "time": "2017-09-29 14:18:45" + "time": "2017-09-29T14:18:45+00:00" }, { "name": "chumper/datatable", @@ -1072,7 +1071,7 @@ "support": { "source": "https://github.com/hillelcoren/Datatable/tree/add-back-options" }, - "time": "2018-02-22 18:37:06" + "time": "2018-02-22T18:37:06+00:00" }, { "name": "cleverit/ubl_invoice", @@ -1124,7 +1123,7 @@ "xml", "xml invoice" ], - "time": "2018-01-13 00:27:05" + "time": "2018-01-13T00:27:05+00:00" }, { "name": "codedge/laravel-selfupdater", @@ -1180,7 +1179,7 @@ "self-update", "update" ], - "time": "2017-04-09 12:12:08" + "time": "2017-04-09T12:12:08+00:00" }, { "name": "collizo4sky/omnipay-wepay", @@ -1225,7 +1224,7 @@ "support": { "source": "https://github.com/hillelcoren/omnipay-wepay/tree/address-fix" }, - "time": "2017-10-18 16:31:00" + "time": "2017-10-18T16:31:00+00:00" }, { "name": "container-interop/container-interop", @@ -1256,7 +1255,7 @@ ], "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", "homepage": "https://github.com/container-interop/container-interop", - "time": "2017-02-14 19:40:03" + "time": "2017-02-14T19:40:03+00:00" }, { "name": "delatbabel/omnipay-fatzebra", @@ -1315,7 +1314,7 @@ "payment", "paystream" ], - "time": "2017-06-09 10:33:34" + "time": "2017-06-09T10:33:34+00:00" }, { "name": "dercoder/omnipay-ecopayz", @@ -1363,7 +1362,7 @@ "pay", "payment" ], - "time": "2016-09-15 16:18:21" + "time": "2016-09-15T16:18:21+00:00" }, { "name": "dercoder/omnipay-paysafecard", @@ -1418,7 +1417,7 @@ "payment", "paysafecard" ], - "time": "2016-06-21 10:42:41" + "time": "2016-06-21T10:42:41+00:00" }, { "name": "descubraomundo/omnipay-pagarme", @@ -1468,7 +1467,7 @@ "pay", "payment" ], - "time": "2017-09-15 17:25:40" + "time": "2017-09-15T17:25:40+00:00" }, { "name": "digitickets/omnipay-barclays-epdq", @@ -1525,7 +1524,7 @@ "pay", "payment" ], - "time": "2016-11-17 14:04:17" + "time": "2016-11-17T14:04:17+00:00" }, { "name": "digitickets/omnipay-datacash", @@ -1582,7 +1581,7 @@ "pay", "payment" ], - "time": "2016-11-17 13:32:25" + "time": "2016-11-17T13:32:25+00:00" }, { "name": "digitickets/omnipay-gocardlessv2", @@ -1668,7 +1667,7 @@ "support": { "source": "https://github.com/hillelcoren/omnipay-gocardlessv2/tree/payment-fix" }, - "time": "2017-09-07 10:13:36" + "time": "2017-09-07T10:13:36+00:00" }, { "name": "digitickets/omnipay-realex", @@ -1717,7 +1716,7 @@ "purchase", "realex" ], - "time": "2017-12-19 19:14:50" + "time": "2017-12-19T19:14:50+00:00" }, { "name": "dioscouri/omnipay-cybersource", @@ -1766,7 +1765,7 @@ "payment", "purchase" ], - "time": "2015-06-03 18:31:31" + "time": "2015-06-03T18:31:31+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -1799,7 +1798,7 @@ "MIT" ], "description": "implementation of xdg base directory specification for php", - "time": "2014-10-24 07:27:01" + "time": "2014-10-24T07:27:01+00:00" }, { "name": "doctrine/annotations", @@ -1867,7 +1866,7 @@ "docblock", "parser" ], - "time": "2017-02-24 16:22:25" + "time": "2017-02-24T16:22:25+00:00" }, { "name": "doctrine/cache", @@ -1937,7 +1936,7 @@ "cache", "caching" ], - "time": "2017-07-22 12:49:21" + "time": "2017-07-22T12:49:21+00:00" }, { "name": "doctrine/collections", @@ -2004,7 +2003,7 @@ "collections", "iterator" ], - "time": "2017-01-03 10:49:41" + "time": "2017-01-03T10:49:41+00:00" }, { "name": "doctrine/common", @@ -2077,7 +2076,7 @@ "persistence", "spl" ], - "time": "2017-07-22 08:35:12" + "time": "2017-07-22T08:35:12+00:00" }, { "name": "doctrine/dbal", @@ -2148,7 +2147,7 @@ "persistence", "queryobject" ], - "time": "2017-07-22 20:44:48" + "time": "2017-07-22T20:44:48+00:00" }, { "name": "doctrine/inflector", @@ -2215,7 +2214,7 @@ "singularize", "string" ], - "time": "2017-07-22 12:18:28" + "time": "2017-07-22T12:18:28+00:00" }, { "name": "doctrine/lexer", @@ -2269,7 +2268,7 @@ "lexer", "parser" ], - "time": "2014-09-09 13:34:57" + "time": "2014-09-09T13:34:57+00:00" }, { "name": "dwolla/omnipay-dwolla", @@ -2326,7 +2325,7 @@ "pay", "payment" ], - "time": "2015-06-05 13:57:26" + "time": "2015-06-05T13:57:26+00:00" }, { "name": "erusev/parsedown", @@ -2372,7 +2371,7 @@ "markdown", "parser" ], - "time": "2018-03-08 01:11:30" + "time": "2018-03-08T01:11:30+00:00" }, { "name": "ezyang/htmlpurifier", @@ -2419,7 +2418,7 @@ "keywords": [ "html" ], - "time": "2018-02-23 01:58:20" + "time": "2018-02-23T01:58:20+00:00" }, { "name": "firebase/php-jwt", @@ -2465,7 +2464,7 @@ ], "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", "homepage": "https://github.com/firebase/php-jwt", - "time": "2017-06-27 22:17:23" + "time": "2017-06-27T22:17:23+00:00" }, { "name": "fotografde/omnipay-checkoutcom", @@ -2518,7 +2517,7 @@ "pay", "payment" ], - "time": "2017-09-12 15:25:57" + "time": "2017-09-12T15:25:57+00:00" }, { "name": "fruitcakestudio/omnipay-sisow", @@ -2574,7 +2573,7 @@ "payment", "sisow" ], - "time": "2018-01-03 09:47:20" + "time": "2018-01-03T09:47:20+00:00" }, { "name": "fzaninotto/faker", @@ -2624,7 +2623,7 @@ "faker", "fixtures" ], - "time": "2017-08-15 16:48:10" + "time": "2017-08-15T16:48:10+00:00" }, { "name": "gatepay/FedACHdir", @@ -2692,7 +2691,7 @@ "direct debit", "gocardless" ], - "time": "2018-02-21 12:56:52" + "time": "2018-02-21T12:56:52+00:00" }, { "name": "google/apiclient", @@ -2751,7 +2750,7 @@ "keywords": [ "google" ], - "time": "2017-11-03 01:19:53" + "time": "2017-11-03T01:19:53+00:00" }, { "name": "google/apiclient-services", @@ -2788,7 +2787,7 @@ "keywords": [ "google" ], - "time": "2018-03-04 00:24:05" + "time": "2018-03-04T00:24:05+00:00" }, { "name": "google/auth", @@ -2835,7 +2834,7 @@ "google", "oauth2" ], - "time": "2018-01-24 18:28:42" + "time": "2018-01-24T18:28:42+00:00" }, { "name": "google/cloud", @@ -2967,7 +2966,7 @@ "translation", "vision" ], - "time": "2018-02-26 20:57:20" + "time": "2018-02-26T20:57:20+00:00" }, { "name": "google/gax", @@ -3018,7 +3017,7 @@ "keywords": [ "google" ], - "time": "2018-01-22 21:49:54" + "time": "2018-01-22T21:49:54+00:00" }, { "name": "google/proto-client", @@ -3058,7 +3057,7 @@ "keywords": [ "google" ], - "time": "2018-02-26 17:01:46" + "time": "2018-02-26T17:01:46+00:00" }, { "name": "google/protobuf", @@ -3099,7 +3098,7 @@ "keywords": [ "proto" ], - "time": "2018-03-06 03:54:18" + "time": "2018-03-06T03:54:18+00:00" }, { "name": "grpc/grpc", @@ -3140,7 +3139,7 @@ "keywords": [ "rpc" ], - "time": "2018-01-24 21:48:21" + "time": "2018-01-24T21:48:21+00:00" }, { "name": "guzzle/guzzle", @@ -3236,7 +3235,7 @@ "web service" ], "abandoned": "guzzlehttp/guzzle", - "time": "2015-03-18 18:23:50" + "time": "2015-03-18T18:23:50+00:00" }, { "name": "guzzlehttp/guzzle", @@ -3301,7 +3300,7 @@ "rest", "web service" ], - "time": "2017-06-22 18:50:49" + "time": "2017-06-22T18:50:49+00:00" }, { "name": "guzzlehttp/promises", @@ -3352,7 +3351,7 @@ "keywords": [ "promise" ], - "time": "2016-12-20 10:07:11" + "time": "2016-12-20T10:07:11+00:00" }, { "name": "guzzlehttp/psr7", @@ -3417,7 +3416,7 @@ "uri", "url" ], - "time": "2017-03-20 17:10:46" + "time": "2017-03-20T17:10:46+00:00" }, { "name": "illuminate/html", @@ -3464,7 +3463,7 @@ } ], "abandoned": "laravelcollective/html", - "time": "2015-01-01 16:31:18" + "time": "2015-01-01T16:31:18+00:00" }, { "name": "intervention/image", @@ -3534,7 +3533,7 @@ "thumbnail", "watermark" ], - "time": "2017-09-21 16:33:42" + "time": "2017-09-21T16:33:42+00:00" }, { "name": "invoiceninja/omnipay-collection", @@ -3595,7 +3594,7 @@ } ], "description": "Collection of Omnipay drivers", - "time": "2018-03-25 11:44:45" + "time": "2018-03-25T11:44:45+00:00" }, { "name": "jakoch/phantomjs-installer", @@ -3636,7 +3635,7 @@ "headless", "phantomjs" ], - "time": "2016-01-25 16:30:30" + "time": "2016-01-25T16:30:30+00:00" }, { "name": "jakub-onderka/php-console-color", @@ -3679,7 +3678,7 @@ "homepage": "http://www.acci.cz" } ], - "time": "2014-04-08 15:00:19" + "time": "2014-04-08T15:00:19+00:00" }, { "name": "jakub-onderka/php-console-highlighter", @@ -3723,7 +3722,7 @@ "homepage": "http://www.acci.cz/" } ], - "time": "2015-04-20 18:58:01" + "time": "2015-04-20T18:58:01+00:00" }, { "name": "jaybizzle/crawler-detect", @@ -3772,7 +3771,7 @@ "crawlerdetect", "php crawler detect" ], - "time": "2018-03-05 20:50:06" + "time": "2018-03-05T20:50:06+00:00" }, { "name": "jaybizzle/laravel-crawler-detect", @@ -3836,7 +3835,7 @@ "spider", "user-agent" ], - "time": "2017-06-01 20:29:30" + "time": "2017-06-01T20:29:30+00:00" }, { "name": "jeremeamia/SuperClosure", @@ -3894,7 +3893,7 @@ "serialize", "tokenizer" ], - "time": "2016-12-07 09:37:55" + "time": "2016-12-07T09:37:55+00:00" }, { "name": "jlapp/swaggervel", @@ -3939,7 +3938,7 @@ "laravel", "swagger" ], - "time": "2016-01-25 15:38:17" + "time": "2016-01-25T15:38:17+00:00" }, { "name": "jonnyw/php-phantomjs", @@ -4005,7 +4004,7 @@ "support": { "source": "https://github.com/hillelcoren/php-phantomjs/tree/fixes" }, - "time": "2018-02-26 18:39:21" + "time": "2018-02-26T18:39:21+00:00" }, { "name": "justinbusschau/omnipay-secpay", @@ -4060,7 +4059,7 @@ "paypoint.net", "secpay" ], - "time": "2015-06-05 12:03:08" + "time": "2015-06-05T12:03:08+00:00" }, { "name": "laracasts/presenter", @@ -4106,7 +4105,7 @@ "presenter", "view" ], - "time": "2014-09-13 13:18:07" + "time": "2014-09-13T13:18:07+00:00" }, { "name": "laravel/framework", @@ -4235,7 +4234,7 @@ "framework", "laravel" ], - "time": "2017-08-30 09:26:16" + "time": "2017-08-30T09:26:16+00:00" }, { "name": "laravel/legacy-encrypter", @@ -4282,7 +4281,7 @@ ], "description": "The legacy version of the Laravel mcrypt encrypter.", "homepage": "http://laravel.com", - "time": "2017-05-24 13:23:35" + "time": "2017-05-24T13:23:35+00:00" }, { "name": "laravel/socialite", @@ -4344,7 +4343,7 @@ "laravel", "oauth" ], - "time": "2017-11-06 16:02:48" + "time": "2017-11-06T16:02:48+00:00" }, { "name": "laravel/tinker", @@ -4407,7 +4406,7 @@ "laravel", "psysh" ], - "time": "2018-03-06 17:34:36" + "time": "2018-03-06T17:34:36+00:00" }, { "name": "laravelcollective/html", @@ -4461,7 +4460,74 @@ ], "description": "HTML and Form Builders for the Laravel Framework", "homepage": "http://laravelcollective.com", - "time": "2017-08-12 15:52:38" + "time": "2017-08-12T15:52:38+00:00" + }, + { + "name": "league/csv", + "version": "9.1.3", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/csv.git", + "reference": "0d0b12f1a0093a6c39014a5d118f6ba4274539ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/0d0b12f1a0093a6c39014a5d118f6ba4274539ee", + "reference": "0d0b12f1a0093a6c39014a5d118f6ba4274539ee", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=7.0.10" + }, + "require-dev": { + "ext-curl": "*", + "friendsofphp/php-cs-fixer": "^2.0", + "phpstan/phpstan": "^0.9.2", + "phpstan/phpstan-phpunit": "^0.9.4", + "phpstan/phpstan-strict-rules": "^0.9.0", + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Csv\\": "src" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://github.com/nyamsprod/", + "role": "Developer" + } + ], + "description": "Csv data manipulation made easy in PHP", + "homepage": "http://csv.thephpleague.com", + "keywords": [ + "csv", + "export", + "filter", + "import", + "read", + "write" + ], + "time": "2018-03-12T07:20:01+00:00" }, { "name": "league/flysystem", @@ -4545,7 +4611,7 @@ "sftp", "storage" ], - "time": "2018-03-01 10:27:04" + "time": "2018-03-01T10:27:04+00:00" }, { "name": "league/flysystem-aws-s3-v3", @@ -4592,7 +4658,7 @@ } ], "description": "Flysystem adapter for the AWS S3 SDK v3.x", - "time": "2017-06-30 06:29:25" + "time": "2017-06-30T06:29:25+00:00" }, { "name": "league/flysystem-rackspace", @@ -4639,7 +4705,7 @@ } ], "description": "Flysystem adapter for Rackspace", - "time": "2016-03-11 12:13:42" + "time": "2016-03-11T12:13:42+00:00" }, { "name": "league/fractal", @@ -4702,7 +4768,7 @@ "league", "rest" ], - "time": "2015-10-07 14:48:58" + "time": "2015-10-07T14:48:58+00:00" }, { "name": "league/oauth1-client", @@ -4765,7 +4831,7 @@ "tumblr", "twitter" ], - "time": "2016-08-17 00:36:58" + "time": "2016-08-17T00:36:58+00:00" }, { "name": "league/url", @@ -4820,7 +4886,7 @@ "url" ], "abandoned": "league/uri", - "time": "2015-07-15 08:24:12" + "time": "2015-07-15T08:24:12+00:00" }, { "name": "lokielse/omnipay-alipay", @@ -4869,7 +4935,7 @@ "payment", "purchase" ], - "time": "2016-09-22 10:40:06" + "time": "2016-09-22T10:40:06+00:00" }, { "name": "maatwebsite/excel", @@ -4947,7 +5013,7 @@ "import", "laravel" ], - "time": "2018-03-09 13:14:19" + "time": "2018-03-09T13:14:19+00:00" }, { "name": "maximebf/debugbar", @@ -5008,7 +5074,7 @@ "debug", "debugbar" ], - "time": "2017-01-05 08:46:19" + "time": "2017-01-05T08:46:19+00:00" }, { "name": "meebio/omnipay-creditcall", @@ -5066,7 +5132,7 @@ "payment", "purchase" ], - "time": "2015-09-19 11:29:31" + "time": "2015-09-19T11:29:31+00:00" }, { "name": "meebio/omnipay-secure-trading", @@ -5124,7 +5190,7 @@ "secure trading", "securetrading" ], - "time": "2016-12-14 14:58:56" + "time": "2016-12-14T14:58:56+00:00" }, { "name": "mfauveau/omnipay-pacnet", @@ -5179,7 +5245,7 @@ "purchase", "raven" ], - "time": "2015-07-14 19:53:54" + "time": "2015-07-14T19:53:54+00:00" }, { "name": "mikemccabe/json-patch-php", @@ -5206,7 +5272,7 @@ "LGPL-3.0" ], "description": "Produce and apply json-patch objects", - "time": "2015-01-05 21:19:54" + "time": "2015-01-05T21:19:54+00:00" }, { "name": "monolog/monolog", @@ -5284,7 +5350,7 @@ "logging", "psr-3" ], - "time": "2017-06-19 01:22:40" + "time": "2017-06-19T01:22:40+00:00" }, { "name": "mpdf/mpdf", @@ -5335,7 +5401,7 @@ "php", "utf-8" ], - "time": "2016-12-12 10:42:18" + "time": "2016-12-12T10:42:18+00:00" }, { "name": "mtdowling/cron-expression", @@ -5379,7 +5445,7 @@ "cron", "schedule" ], - "time": "2017-01-23 04:29:33" + "time": "2017-01-23T04:29:33+00:00" }, { "name": "mtdowling/jmespath.php", @@ -5434,7 +5500,7 @@ "json", "jsonpath" ], - "time": "2016-12-03 22:08:25" + "time": "2016-12-03T22:08:25+00:00" }, { "name": "nesbot/carbon", @@ -5487,7 +5553,7 @@ "datetime", "time" ], - "time": "2018-03-19 15:50:49" + "time": "2018-03-19T15:50:49+00:00" }, { "name": "nikic/php-parser", @@ -5538,7 +5604,7 @@ "parser", "php" ], - "time": "2018-02-28 20:30:58" + "time": "2018-02-28T20:30:58+00:00" }, { "name": "nwidart/laravel-modules", @@ -5604,7 +5670,7 @@ "nwidart", "rad" ], - "time": "2017-08-31 16:09:16" + "time": "2017-08-31T16:09:16+00:00" }, { "name": "omnipay/2checkout", @@ -5663,7 +5729,7 @@ "payment", "twocheckout" ], - "time": "2016-03-25 10:39:58" + "time": "2016-03-25T10:39:58+00:00" }, { "name": "omnipay/authorizenet", @@ -5724,7 +5790,7 @@ "support": { "source": "https://github.com/hillelcoren/omnipay-authorizenet/tree/solution-id" }, - "time": "2017-10-04 09:53:32" + "time": "2017-10-04T09:53:32+00:00" }, { "name": "omnipay/bitpay", @@ -5782,7 +5848,7 @@ "pay", "payment" ], - "time": "2016-04-07 02:53:36" + "time": "2016-04-07T02:53:36+00:00" }, { "name": "omnipay/braintree", @@ -5845,7 +5911,7 @@ "payment", "purchase" ], - "time": "2016-06-22 07:44:48" + "time": "2016-06-22T07:44:48+00:00" }, { "name": "omnipay/buckaroo", @@ -5902,7 +5968,7 @@ "pay", "payment" ], - "time": "2017-05-30 09:43:42" + "time": "2017-05-30T09:43:42+00:00" }, { "name": "omnipay/cardsave", @@ -5960,7 +6026,7 @@ "pay", "payment" ], - "time": "2014-09-21 02:27:16" + "time": "2014-09-21T02:27:16+00:00" }, { "name": "omnipay/coinbase", @@ -6017,7 +6083,7 @@ "pay", "payment" ], - "time": "2015-03-06 05:35:39" + "time": "2015-03-06T05:35:39+00:00" }, { "name": "omnipay/common", @@ -6115,7 +6181,7 @@ "payment", "purchase" ], - "time": "2016-11-07 06:10:23" + "time": "2016-11-07T06:10:23+00:00" }, { "name": "omnipay/dummy", @@ -6172,7 +6238,7 @@ "pay", "payment" ], - "time": "2016-07-30 04:18:49" + "time": "2016-07-30T04:18:49+00:00" }, { "name": "omnipay/eway", @@ -6229,7 +6295,7 @@ "pay", "payment" ], - "time": "2017-05-12 08:17:12" + "time": "2017-05-12T08:17:12+00:00" }, { "name": "omnipay/firstdata", @@ -6287,7 +6353,7 @@ "pay", "payment" ], - "time": "2017-07-14 09:26:59" + "time": "2017-07-14T09:26:59+00:00" }, { "name": "omnipay/gocardless", @@ -6345,7 +6411,7 @@ "pay", "payment" ], - "time": "2016-01-16 03:19:31" + "time": "2016-01-16T03:19:31+00:00" }, { "name": "omnipay/manual", @@ -6402,7 +6468,7 @@ "pay", "payment" ], - "time": "2016-12-28 03:02:15" + "time": "2016-12-28T03:02:15+00:00" }, { "name": "omnipay/migs", @@ -6460,7 +6526,7 @@ "pay", "payment" ], - "time": "2017-06-07 07:52:47" + "time": "2017-06-07T07:52:47+00:00" }, { "name": "omnipay/mollie", @@ -6517,7 +6583,7 @@ "pay", "payment" ], - "time": "2016-10-11 09:44:09" + "time": "2016-10-11T09:44:09+00:00" }, { "name": "omnipay/multisafepay", @@ -6575,7 +6641,7 @@ "pay", "payment" ], - "time": "2017-05-28 06:28:10" + "time": "2017-05-28T06:28:10+00:00" }, { "name": "omnipay/netaxept", @@ -6632,7 +6698,7 @@ "pay", "payment" ], - "time": "2015-05-08 15:13:17" + "time": "2015-05-08T15:13:17+00:00" }, { "name": "omnipay/netbanx", @@ -6689,7 +6755,7 @@ "pay", "payment" ], - "time": "2016-09-21 10:52:03" + "time": "2016-09-21T10:52:03+00:00" }, { "name": "omnipay/omnipay", @@ -6842,7 +6908,7 @@ "twocheckout", "worldpay" ], - "time": "2017-03-21 09:24:49" + "time": "2017-03-21T09:24:49+00:00" }, { "name": "omnipay/payfast", @@ -6899,7 +6965,7 @@ "payfast", "payment" ], - "time": "2018-02-02 17:02:45" + "time": "2018-02-02T17:02:45+00:00" }, { "name": "omnipay/payflow", @@ -6956,7 +7022,7 @@ "payflow", "payment" ], - "time": "2017-11-10 08:14:36" + "time": "2017-11-10T08:14:36+00:00" }, { "name": "omnipay/paymentexpress", @@ -7019,7 +7085,7 @@ "pxpay", "pxpost" ], - "time": "2017-05-12 08:22:36" + "time": "2017-05-12T08:22:36+00:00" }, { "name": "omnipay/paypal", @@ -7077,7 +7143,7 @@ "paypal", "purchase" ], - "time": "2017-11-10 08:10:43" + "time": "2017-11-10T08:10:43+00:00" }, { "name": "omnipay/pin", @@ -7134,7 +7200,7 @@ "payment", "pin" ], - "time": "2016-03-25 18:06:33" + "time": "2016-03-25T18:06:33+00:00" }, { "name": "omnipay/sagepay", @@ -7194,7 +7260,7 @@ "sage pay", "sagepay" ], - "time": "2017-09-29 17:16:46" + "time": "2017-09-29T17:16:46+00:00" }, { "name": "omnipay/securepay", @@ -7251,7 +7317,7 @@ "payment", "securepay" ], - "time": "2016-11-09 04:52:42" + "time": "2016-11-09T04:52:42+00:00" }, { "name": "omnipay/stripe", @@ -7308,7 +7374,7 @@ "payment", "stripe" ], - "time": "2017-07-14 09:22:01" + "time": "2017-07-14T09:22:01+00:00" }, { "name": "omnipay/targetpay", @@ -7365,7 +7431,7 @@ "payment", "targetpay" ], - "time": "2014-09-17 00:38:39" + "time": "2014-09-17T00:38:39+00:00" }, { "name": "omnipay/worldpay", @@ -7422,7 +7488,7 @@ "payment", "worldpay" ], - "time": "2017-10-23 08:31:50" + "time": "2017-10-23T08:31:50+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -7484,7 +7550,7 @@ "hex2bin", "rfc4648" ], - "time": "2018-03-10 19:47:49" + "time": "2018-03-10T19:47:49+00:00" }, { "name": "paragonie/random_compat", @@ -7532,7 +7598,7 @@ "pseudorandom", "random" ], - "time": "2017-09-27 21:40:39" + "time": "2017-09-27T21:40:39+00:00" }, { "name": "patricktalmadge/bootstrapper", @@ -7591,7 +7657,7 @@ "bootstrap", "laravel" ], - "time": "2015-02-28 17:09:35" + "time": "2015-02-28T17:09:35+00:00" }, { "name": "phpoffice/phpexcel", @@ -7649,7 +7715,7 @@ "xlsx" ], "abandoned": "phpoffice/phpspreadsheet", - "time": "2015-05-01 07:00:55" + "time": "2015-05-01T07:00:55+00:00" }, { "name": "phpseclib/phpseclib", @@ -7741,7 +7807,7 @@ "x.509", "x509" ], - "time": "2018-02-19 04:29:13" + "time": "2018-02-19T04:29:13+00:00" }, { "name": "pragmarx/google2fa", @@ -7802,7 +7868,7 @@ "google2fa", "laravel" ], - "time": "2018-01-06 16:21:07" + "time": "2018-01-06T16:21:07+00:00" }, { "name": "pragmarx/google2fa-laravel", @@ -7873,7 +7939,7 @@ "google2fa", "laravel" ], - "time": "2017-12-06 03:26:14" + "time": "2017-12-06T03:26:14+00:00" }, { "name": "predis/predis", @@ -7923,7 +7989,7 @@ "predis", "redis" ], - "time": "2016-06-16 16:22:20" + "time": "2016-06-16T16:22:20+00:00" }, { "name": "psr/cache", @@ -7969,7 +8035,7 @@ "psr", "psr-6" ], - "time": "2016-08-06 20:24:11" + "time": "2016-08-06T20:24:11+00:00" }, { "name": "psr/container", @@ -8018,7 +8084,7 @@ "container-interop", "psr" ], - "time": "2017-02-14 16:28:37" + "time": "2017-02-14T16:28:37+00:00" }, { "name": "psr/http-message", @@ -8068,7 +8134,7 @@ "request", "response" ], - "time": "2016-08-06 14:39:51" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "psr/log", @@ -8115,7 +8181,7 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2016-10-10T12:19:37+00:00" }, { "name": "psy/psysh", @@ -8187,7 +8253,7 @@ "interactive", "shell" ], - "time": "2017-12-28 16:14:16" + "time": "2017-12-28T16:14:16+00:00" }, { "name": "rackspace/php-opencloud", @@ -8244,7 +8310,7 @@ "rackspace", "swift" ], - "time": "2016-01-29 10:34:57" + "time": "2016-01-29T10:34:57+00:00" }, { "name": "ramsey/uuid", @@ -8324,7 +8390,7 @@ "identifier", "uuid" ], - "time": "2018-01-20 00:28:24" + "time": "2018-01-20T00:28:24+00:00" }, { "name": "rize/uri-template", @@ -8368,7 +8434,7 @@ "template", "uri" ], - "time": "2017-06-14 03:57:53" + "time": "2017-06-14T03:57:53+00:00" }, { "name": "roave/security-advisories", @@ -8524,7 +8590,7 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "time": "2018-03-07 15:45:44" + "time": "2018-03-07T15:45:44+00:00" }, { "name": "sabre/uri", @@ -8575,7 +8641,7 @@ "uri", "url" ], - "time": "2017-02-20 20:02:35" + "time": "2017-02-20T20:02:35+00:00" }, { "name": "sabre/xml", @@ -8638,7 +8704,7 @@ "dom", "xml" ], - "time": "2016-10-09 22:57:52" + "time": "2016-10-09T22:57:52+00:00" }, { "name": "setasign/fpdi", @@ -8687,7 +8753,7 @@ "fpdi", "pdf" ], - "time": "2017-05-11 14:25:49" + "time": "2017-05-11T14:25:49+00:00" }, { "name": "simshaun/recurr", @@ -8742,7 +8808,7 @@ "recurring", "rrule" ], - "time": "2018-01-17 18:53:01" + "time": "2018-01-17T18:53:01+00:00" }, { "name": "sly/notification-pusher", @@ -8811,7 +8877,7 @@ "push", "pusher" ], - "time": "2018-02-17 13:20:40" + "time": "2018-02-17T13:20:40+00:00" }, { "name": "softcommerce/omnipay-paytrace", @@ -8863,7 +8929,7 @@ "payment", "paytrace" ], - "time": "2017-08-24 17:02:28" + "time": "2017-08-24T17:02:28+00:00" }, { "name": "swiftmailer/swiftmailer", @@ -8917,7 +8983,7 @@ "mail", "mailer" ], - "time": "2018-01-23 07:37:21" + "time": "2018-01-23T07:37:21+00:00" }, { "name": "symfony/class-loader", @@ -8973,7 +9039,7 @@ ], "description": "Symfony ClassLoader Component", "homepage": "https://symfony.com", - "time": "2018-01-03 07:37:34" + "time": "2018-01-03T07:37:34+00:00" }, { "name": "symfony/config", @@ -9036,7 +9102,7 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2018-02-14 10:03:57" + "time": "2018-02-14T10:03:57+00:00" }, { "name": "symfony/console", @@ -9105,7 +9171,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-02-26 15:46:28" + "time": "2018-02-26T15:46:28+00:00" }, { "name": "symfony/css-selector", @@ -9158,7 +9224,7 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2018-02-03 14:55:07" + "time": "2018-02-03T14:55:07+00:00" }, { "name": "symfony/debug", @@ -9214,7 +9280,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-02-28 21:49:22" + "time": "2018-02-28T21:49:22+00:00" }, { "name": "symfony/dependency-injection", @@ -9285,7 +9351,7 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2018-03-04 03:54:53" + "time": "2018-03-04T03:54:53+00:00" }, { "name": "symfony/event-dispatcher", @@ -9345,7 +9411,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-02-11 16:53:59" + "time": "2018-02-11T16:53:59+00:00" }, { "name": "symfony/filesystem", @@ -9394,7 +9460,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2018-02-22 10:48:49" + "time": "2018-02-22T10:48:49+00:00" }, { "name": "symfony/finder", @@ -9443,7 +9509,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-03-05 18:28:11" + "time": "2018-03-05T18:28:11+00:00" }, { "name": "symfony/http-foundation", @@ -9497,7 +9563,7 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-02-22 10:48:49" + "time": "2018-02-22T10:48:49+00:00" }, { "name": "symfony/http-kernel", @@ -9585,7 +9651,7 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2018-03-05 19:41:07" + "time": "2018-03-05T19:41:07+00:00" }, { "name": "symfony/options-resolver", @@ -9639,7 +9705,7 @@ "configuration", "options" ], - "time": "2018-01-11 07:56:07" + "time": "2018-01-11T07:56:07+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -9698,7 +9764,7 @@ "portable", "shim" ], - "time": "2018-01-30 19:27:44" + "time": "2018-01-30T19:27:44+00:00" }, { "name": "symfony/polyfill-php56", @@ -9754,7 +9820,7 @@ "portable", "shim" ], - "time": "2018-01-30 19:27:44" + "time": "2018-01-30T19:27:44+00:00" }, { "name": "symfony/polyfill-php70", @@ -9813,7 +9879,7 @@ "portable", "shim" ], - "time": "2018-01-30 19:27:44" + "time": "2018-01-30T19:27:44+00:00" }, { "name": "symfony/polyfill-util", @@ -9865,7 +9931,7 @@ "polyfill", "shim" ], - "time": "2018-01-31 18:08:44" + "time": "2018-01-31T18:08:44+00:00" }, { "name": "symfony/process", @@ -9914,7 +9980,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-02-12 17:55:00" + "time": "2018-02-12T17:55:00+00:00" }, { "name": "symfony/routing", @@ -9992,7 +10058,7 @@ "uri", "url" ], - "time": "2018-02-28 21:49:22" + "time": "2018-02-28T21:49:22+00:00" }, { "name": "symfony/translation", @@ -10060,7 +10126,7 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2018-02-22 06:28:18" + "time": "2018-02-22T06:28:18+00:00" }, { "name": "symfony/var-dumper", @@ -10129,7 +10195,7 @@ "debug", "dump" ], - "time": "2018-02-22 17:29:24" + "time": "2018-02-22T17:29:24+00:00" }, { "name": "symfony/yaml", @@ -10187,7 +10253,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-02-16 09:50:28" + "time": "2018-02-16T09:50:28+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -10234,7 +10300,7 @@ ], "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", - "time": "2017-11-27 11:13:29" + "time": "2017-11-27T11:13:29+00:00" }, { "name": "true/punycode", @@ -10280,7 +10346,7 @@ "idna", "punycode" ], - "time": "2016-11-16 10:37:54" + "time": "2016-11-16T10:37:54+00:00" }, { "name": "turbo124/laravel-push-notification", @@ -10322,7 +10388,7 @@ "notification", "push" ], - "time": "2018-02-22 10:05:05" + "time": "2018-02-22T10:05:05+00:00" }, { "name": "twbs/bootstrap", @@ -10373,7 +10439,7 @@ "responsive", "web" ], - "time": "2016-07-25 15:51:55" + "time": "2016-07-25T15:51:55+00:00" }, { "name": "twig/twig", @@ -10438,7 +10504,7 @@ "keywords": [ "templating" ], - "time": "2018-03-03 16:21:29" + "time": "2018-03-03T16:21:29+00:00" }, { "name": "vink/omnipay-komoju", @@ -10486,7 +10552,7 @@ "pay", "payment" ], - "time": "2015-09-11 09:40:10" + "time": "2015-09-11T09:40:10+00:00" }, { "name": "vlucas/phpdotenv", @@ -10536,7 +10602,7 @@ "env", "environment" ], - "time": "2016-09-01 10:05:43" + "time": "2016-09-01T10:05:43+00:00" }, { "name": "webpatser/laravel-countries", @@ -10598,7 +10664,7 @@ "iso_3166_3", "laravel" ], - "time": "2017-10-15 11:08:15" + "time": "2017-10-15T11:08:15+00:00" }, { "name": "websight/l5-google-cloud-storage", @@ -10649,7 +10715,7 @@ "support": { "source": "https://github.com/hillelcoren/l5-google-cloud-storage/tree/master" }, - "time": "2017-07-13 08:04:13" + "time": "2017-07-13T08:04:13+00:00" }, { "name": "wepay/php-sdk", @@ -10696,7 +10762,7 @@ "sdk", "wepay" ], - "time": "2015-08-14 19:42:37" + "time": "2015-08-14T19:42:37+00:00" }, { "name": "wildbit/postmark-php", @@ -10730,7 +10796,7 @@ "MIT" ], "description": "The officially supported client for Postmark (http://postmarkapp.com)", - "time": "2017-12-13 14:35:57" + "time": "2017-12-13T14:35:57+00:00" }, { "name": "zendframework/zend-escaper", @@ -10774,7 +10840,7 @@ "escaper", "zf2" ], - "time": "2016-06-30 19:48:38" + "time": "2016-06-30T19:48:38+00:00" }, { "name": "zendframework/zend-http", @@ -10827,7 +10893,7 @@ "zend", "zf" ], - "time": "2017-10-13 12:06:24" + "time": "2017-10-13T12:06:24+00:00" }, { "name": "zendframework/zend-json", @@ -10882,7 +10948,7 @@ "json", "zf2" ], - "time": "2016-02-04 21:20:26" + "time": "2016-02-04T21:20:26+00:00" }, { "name": "zendframework/zend-loader", @@ -10926,7 +10992,7 @@ "loader", "zf2" ], - "time": "2015-06-03 14:05:47" + "time": "2015-06-03T14:05:47+00:00" }, { "name": "zendframework/zend-stdlib", @@ -10971,7 +11037,7 @@ "stdlib", "zf2" ], - "time": "2016-09-13 14:38:50" + "time": "2016-09-13T14:38:50+00:00" }, { "name": "zendframework/zend-uri", @@ -11018,7 +11084,7 @@ "uri", "zf2" ], - "time": "2016-02-17 22:38:51" + "time": "2016-02-17T22:38:51+00:00" }, { "name": "zendframework/zend-validator", @@ -11089,7 +11155,7 @@ "validator", "zf2" ], - "time": "2018-02-01 17:05:33" + "time": "2018-02-01T17:05:33+00:00" }, { "name": "zendframework/zendservice-apple-apns", @@ -11132,7 +11198,7 @@ "push", "zf2" ], - "time": "2015-12-09 22:55:07" + "time": "2015-12-09T22:55:07+00:00" }, { "name": "zendframework/zendservice-google-gcm", @@ -11175,7 +11241,7 @@ "push", "zf2" ], - "time": "2017-01-17 13:57:50" + "time": "2017-01-17T13:57:50+00:00" }, { "name": "zircote/swagger-php", @@ -11237,7 +11303,7 @@ "rest", "service discovery" ], - "time": "2017-12-01 09:22:05" + "time": "2017-12-01T09:22:05+00:00" } ], "packages-dev": [ @@ -11298,7 +11364,7 @@ "gherkin", "parser" ], - "time": "2017-08-30 11:04:43" + "time": "2017-08-30T11:04:43+00:00" }, { "name": "codeception/c3", @@ -11348,7 +11414,7 @@ "code coverage", "codecoverage" ], - "time": "2018-02-19 11:27:45" + "time": "2018-02-19T11:27:45+00:00" }, { "name": "codeception/codeception", @@ -11439,7 +11505,7 @@ "functional testing", "unit testing" ], - "time": "2018-02-27 00:09:12" + "time": "2018-02-27T00:09:12+00:00" }, { "name": "codeception/phpunit-wrapper", @@ -11478,7 +11544,7 @@ } ], "description": "PHPUnit classes used by Codeception", - "time": "2018-02-19 13:24:40" + "time": "2018-02-19T13:24:40+00:00" }, { "name": "codeception/stub", @@ -11511,7 +11577,7 @@ "MIT" ], "description": "Flexible Stub wrapper for PHPUnit's Mock Builder", - "time": "2018-02-18 13:56:56" + "time": "2018-02-18T13:56:56+00:00" }, { "name": "doctrine/instantiator", @@ -11565,7 +11631,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "facebook/webdriver", @@ -11620,7 +11686,7 @@ "selenium", "webdriver" ], - "time": "2017-11-15 11:08:09" + "time": "2017-11-15T11:08:09+00:00" }, { "name": "myclabs/deep-copy", @@ -11665,7 +11731,7 @@ "object", "object graph" ], - "time": "2017-10-19 19:58:43" + "time": "2017-10-19T19:58:43+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -11719,7 +11785,7 @@ "reflection", "static analysis" ], - "time": "2017-09-11 18:02:19" + "time": "2017-09-11T18:02:19+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -11770,7 +11836,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30 07:14:17" + "time": "2017-11-30T07:14:17+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -11817,7 +11883,7 @@ "email": "me@mikevanriel.com" } ], - "time": "2017-07-14 14:27:02" + "time": "2017-07-14T14:27:02+00:00" }, { "name": "phpspec/php-diff", @@ -11851,7 +11917,7 @@ } ], "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", - "time": "2013-11-01 13:02:21" + "time": "2013-11-01T13:02:21+00:00" }, { "name": "phpspec/phpspec", @@ -11929,7 +11995,7 @@ "testing", "tests" ], - "time": "2017-07-29 17:19:38" + "time": "2017-07-29T17:19:38+00:00" }, { "name": "phpspec/prophecy", @@ -11992,7 +12058,7 @@ "spy", "stub" ], - "time": "2018-02-19 10:16:54" + "time": "2018-02-19T10:16:54+00:00" }, { "name": "phpunit/php-code-coverage", @@ -12055,7 +12121,7 @@ "testing", "xunit" ], - "time": "2017-04-02 07:44:40" + "time": "2017-04-02T07:44:40+00:00" }, { "name": "phpunit/php-file-iterator", @@ -12102,7 +12168,7 @@ "filesystem", "iterator" ], - "time": "2017-11-27 13:52:08" + "time": "2017-11-27T13:52:08+00:00" }, { "name": "phpunit/php-text-template", @@ -12143,7 +12209,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -12192,7 +12258,7 @@ "keywords": [ "timer" ], - "time": "2017-02-26 11:10:40" + "time": "2017-02-26T11:10:40+00:00" }, { "name": "phpunit/php-token-stream", @@ -12241,7 +12307,7 @@ "keywords": [ "tokenizer" ], - "time": "2017-11-27 05:48:46" + "time": "2017-11-27T05:48:46+00:00" }, { "name": "phpunit/phpunit", @@ -12323,7 +12389,7 @@ "testing", "xunit" ], - "time": "2018-02-01 05:50:59" + "time": "2018-02-01T05:50:59+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -12382,7 +12448,7 @@ "mock", "xunit" ], - "time": "2017-06-30 09:13:00" + "time": "2017-06-30T09:13:00+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -12427,7 +12493,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04 06:30:41" + "time": "2017-03-04T06:30:41+00:00" }, { "name": "sebastian/comparator", @@ -12491,7 +12557,7 @@ "compare", "equality" ], - "time": "2017-01-29 09:50:25" + "time": "2017-01-29T09:50:25+00:00" }, { "name": "sebastian/diff", @@ -12543,7 +12609,7 @@ "keywords": [ "diff" ], - "time": "2017-05-22 07:24:03" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sebastian/environment", @@ -12593,7 +12659,7 @@ "environment", "hhvm" ], - "time": "2016-11-26 07:53:53" + "time": "2016-11-26T07:53:53+00:00" }, { "name": "sebastian/exporter", @@ -12660,7 +12726,7 @@ "export", "exporter" ], - "time": "2016-11-19 08:54:04" + "time": "2016-11-19T08:54:04+00:00" }, { "name": "sebastian/global-state", @@ -12711,7 +12777,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12 03:26:01" + "time": "2015-10-12T03:26:01+00:00" }, { "name": "sebastian/object-enumerator", @@ -12757,7 +12823,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18 15:18:39" + "time": "2017-02-18T15:18:39+00:00" }, { "name": "sebastian/recursion-context", @@ -12810,7 +12876,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19 07:33:16" + "time": "2016-11-19T07:33:16+00:00" }, { "name": "sebastian/resource-operations", @@ -12852,7 +12918,7 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28 20:34:47" + "time": "2015-07-28T20:34:47+00:00" }, { "name": "sebastian/version", @@ -12895,7 +12961,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03 07:35:21" + "time": "2016-10-03T07:35:21+00:00" }, { "name": "symfony/browser-kit", @@ -12952,7 +13018,7 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "time": "2018-01-03 07:37:34" + "time": "2018-01-03T07:37:34+00:00" }, { "name": "symfony/dom-crawler", @@ -13008,7 +13074,7 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2018-02-22 10:48:49" + "time": "2018-02-22T10:48:49+00:00" }, { "name": "webmozart/assert", @@ -13058,7 +13124,7 @@ "check", "validate" ], - "time": "2018-01-29 19:49:41" + "time": "2018-01-29T19:49:41+00:00" } ], "aliases": [ diff --git a/config/app.php b/config/app.php index 4aa50f7bff2a..f671e8848438 100644 --- a/config/app.php +++ b/config/app.php @@ -271,6 +271,7 @@ return [ 'Utils' => App\Libraries\Utils::class, 'DateUtils' => App\Libraries\DateUtils::class, 'HTMLUtils' => App\Libraries\HTMLUtils::class, + 'CurlUtils' => App\Libraries\CurlUtils::class, 'Domain' => App\Constants\Domain::class, 'Google2FA' => PragmaRX\Google2FALaravel\Facade::class, diff --git a/config/ninja.php b/config/ninja.php index 5fb1ffd754e7..213dc4952f80 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -26,4 +26,14 @@ return [ // privacy policy 'privacy_policy_url' => env('PRIVACY_POLICY_URL', ''), + // Google maps + 'google_maps_enabled' => env('GOOGLE_MAPS_ENABLED', true), + 'google_maps_api_key' => env('GOOGLE_MAPS_API_KEY', ''), + + // Voice commands + 'voice_commands' => [ + 'app_id' => env('MSBOT_LUIS_APP_ID', 'ea1cda29-5994-47c4-8c25-2b58ae7ae7a8'), + 'subscription_key' => env('MSBOT_LUIS_SUBSCRIPTION_KEY'), + ], + ]; diff --git a/database/migrations/2018_03_30_115805_add_more_custom_fields.php b/database/migrations/2018_03_30_115805_add_more_custom_fields.php new file mode 100644 index 000000000000..7d591c9795a8 --- /dev/null +++ b/database/migrations/2018_03_30_115805_add_more_custom_fields.php @@ -0,0 +1,153 @@ +mediumText('custom_fields')->nullable(); + }); + + $accounts = Account::where('custom_label1', '!=', '') + ->orWhere('custom_label2', '!=', '') + ->orWhere('custom_client_label1', '!=', '') + ->orWhere('custom_client_label2', '!=', '') + ->orWhere('custom_contact_label1', '!=', '') + ->orWhere('custom_contact_label2', '!=', '') + ->orWhere('custom_invoice_label1', '!=', '') + ->orWhere('custom_invoice_label2', '!=', '') + ->orWhere('custom_invoice_text_label1', '!=', '') + ->orWhere('custom_invoice_text_label2', '!=', '') + ->orWhere('custom_invoice_item_label1', '!=', '') + ->orWhere('custom_invoice_item_label2', '!=', '') + ->orderBy('id') + ->get(); + + $fields = [ + 'account1' => 'custom_label1', + 'account2' => 'custom_label2', + 'client1' => 'custom_client_label1', + 'client2' => 'custom_client_label2', + 'contact1' => 'custom_contact_label1', + 'contact2' => 'custom_contact_label2', + 'invoice1' => 'custom_invoice_label1', + 'invoice2' => 'custom_invoice_label2', + 'invoice_text1' => 'custom_invoice_text_label1', + 'invoice_text2' => 'custom_invoice_text_label2', + 'product1' => 'custom_invoice_item_label1', + 'product2' => 'custom_invoice_item_label2', + ]; + + foreach ($accounts as $account) { + $config = []; + + foreach ($fields as $key => $field) { + if ($account->$field) { + $config[$key] = $account->$field; + } + } + + if (count($config)) { + $account->custom_fields = $config; + $account->save(); + } + } + + Schema::table('accounts', function ($table) { + $table->dropColumn('custom_label1'); + $table->dropColumn('custom_label2'); + $table->dropColumn('custom_client_label1'); + $table->dropColumn('custom_client_label2'); + $table->dropColumn('custom_contact_label1'); + $table->dropColumn('custom_contact_label2'); + $table->dropColumn('custom_invoice_label1'); + $table->dropColumn('custom_invoice_label2'); + $table->dropColumn('custom_invoice_text_label1'); + $table->dropColumn('custom_invoice_text_label2'); + $table->dropColumn('custom_invoice_item_label1'); + $table->dropColumn('custom_invoice_item_label2'); + }); + + Schema::table('accounts', function ($table) { + $table->unsignedInteger('background_image_id')->nullable(); + $table->mediumText('custom_messages')->nullable(); + }); + + Schema::table('clients', function ($table) { + $table->mediumText('custom_messages')->nullable(); + }); + + Schema::table('tasks', function ($table) { + $table->text('custom_value1')->nullable(); + $table->text('custom_value2')->nullable(); + }); + + Schema::table('projects', function ($table) { + $table->text('custom_value1')->nullable(); + $table->text('custom_value2')->nullable(); + }); + + Schema::table('expenses', function ($table) { + $table->text('custom_value1')->nullable(); + $table->text('custom_value2')->nullable(); + }); + + Schema::table('vendors', function ($table) { + $table->text('custom_value1')->nullable(); + $table->text('custom_value2')->nullable(); + }); + + Schema::table('products', function ($table) { + $table->text('custom_value1')->nullable()->change(); + $table->text('custom_value2')->nullable()->change(); + }); + + Schema::table('clients', function ($table) { + $table->text('custom_value1')->nullable()->change(); + $table->text('custom_value2')->nullable()->change(); + }); + + Schema::table('contacts', function ($table) { + $table->text('custom_value1')->nullable()->change(); + $table->text('custom_value2')->nullable()->change(); + }); + + Schema::table('invoices', function ($table) { + $table->text('custom_text_value1')->nullable()->change(); + $table->text('custom_text_value2')->nullable()->change(); + }); + + Schema::table('invoice_items', function ($table) { + $table->text('custom_value1')->nullable()->change(); + $table->text('custom_value2')->nullable()->change(); + }); + + Schema::table('scheduled_reports', function ($table) { + $table->string('ip')->nullable(); + }); + + DB::statement('UPDATE gateways SET provider = "Custom1" WHERE id = 62'); + DB::statement('UPDATE gateway_types SET alias = "custom1", name = "Custom 1" WHERE id = 6'); + DB::statement('ALTER TABLE recurring_expenses MODIFY COLUMN last_sent_date DATE'); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +} diff --git a/database/seeds/CurrenciesSeeder.php b/database/seeds/CurrenciesSeeder.php index 0006e929bf78..561138fb470e 100644 --- a/database/seeds/CurrenciesSeeder.php +++ b/database/seeds/CurrenciesSeeder.php @@ -84,6 +84,7 @@ class CurrenciesSeeder extends Seeder ['name' => 'Brunei Dollar', 'code' => 'BND', 'symbol' => 'B$', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ['name' => 'Georgian Lari', 'code' => 'GEL', 'symbol' => '', 'precision' => '2', 'thousand_separator' => ' ', 'decimal_separator' => ','], ['name' => 'Qatari Riyal', 'code' => 'QAR', 'symbol' => 'QR', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], + ['name' => 'Honduran Lempira', 'code' => 'HNL', 'symbol' => 'L', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ]; foreach ($currencies as $currency) { diff --git a/database/seeds/GatewayTypesSeeder.php b/database/seeds/GatewayTypesSeeder.php index 7e4bbf6cb961..2e25ff351b15 100644 --- a/database/seeds/GatewayTypesSeeder.php +++ b/database/seeds/GatewayTypesSeeder.php @@ -14,16 +14,18 @@ class GatewayTypesSeeder extends Seeder ['alias' => 'paypal', 'name' => 'PayPal'], ['alias' => 'bitcoin', 'name' => 'Bitcoin'], ['alias' => 'dwolla', 'name' => 'Dwolla'], - ['alias' => 'custom', 'name' => 'Custom'], + ['alias' => 'custom1', 'name' => 'Custom'], ['alias' => 'alipay', 'name' => 'Alipay'], ['alias' => 'sofort', 'name' => 'Sofort'], ['alias' => 'sepa', 'name' => 'SEPA'], ['alias' => 'gocardless', 'name' => 'GoCardless'], ['alias' => 'apple_pay', 'name' => 'Apple Pay'], + ['alias' => 'custom2', 'name' => 'Custom'], + ['alias' => 'custom3', 'name' => 'Custom'], ]; foreach ($gateway_types as $gateway_type) { - $record = GatewayType::where('name', '=', $gateway_type['name'])->first(); + $record = GatewayType::where('alias', '=', $gateway_type['alias'])->first(); if (! $record) { GatewayType::create($gateway_type); } diff --git a/database/seeds/PaymentLibrariesSeeder.php b/database/seeds/PaymentLibrariesSeeder.php index 3dc53b918194..becead33f4c2 100644 --- a/database/seeds/PaymentLibrariesSeeder.php +++ b/database/seeds/PaymentLibrariesSeeder.php @@ -29,7 +29,7 @@ class PaymentLibrariesSeeder extends Seeder ['name' => 'PayPal Pro', 'provider' => 'PayPal_Pro'], ['name' => 'Pin', 'provider' => 'Pin'], ['name' => 'SagePay Direct', 'provider' => 'SagePay_Direct'], - ['name' => 'SagePay Server', 'provider' => 'SagePay_Server', 'is_offsite' => true], + ['name' => 'SagePay Server', 'provider' => 'SagePay_Server', 'is_offsite' => true, 'payment_library_id' => 2], ['name' => 'SecurePay DirectPost', 'provider' => 'SecurePay_DirectPost'], ['name' => 'Stripe', 'provider' => 'Stripe', 'sort_order' => 1], ['name' => 'TargetPay Direct eBanking', 'provider' => 'TargetPay_Directebanking'], @@ -42,7 +42,7 @@ class PaymentLibrariesSeeder extends Seeder ['name' => 'moolah', 'provider' => 'AuthorizeNet_AIM'], ['name' => 'Alipay', 'provider' => 'Alipay_Express'], ['name' => 'Buckaroo', 'provider' => 'Buckaroo_CreditCard'], - ['name' => 'Coinbase', 'provider' => 'Coinbase'], + ['name' => 'Coinbase', 'provider' => 'Coinbase', 'is_offsite' => true], ['name' => 'DataCash', 'provider' => 'DataCash'], ['name' => 'Neteller', 'provider' => 'Neteller', 'payment_library_id' => 2], ['name' => 'Pacnet', 'provider' => 'Pacnet'], @@ -70,11 +70,13 @@ class PaymentLibrariesSeeder extends Seeder ['name' => 'WeChat Express', 'provider' => 'WeChat_Express', 'payment_library_id' => 2], ['name' => 'WePay', 'provider' => 'WePay', 'is_offsite' => false, 'sort_order' => 3], ['name' => 'Braintree', 'provider' => 'Braintree', 'sort_order' => 3], - ['name' => 'Custom', 'provider' => 'Custom', 'is_offsite' => true, 'sort_order' => 20], + ['name' => 'Custom', 'provider' => 'Custom1', 'is_offsite' => true, 'sort_order' => 20], ['name' => 'FirstData Payeezy', 'provider' => 'FirstData_Payeezy'], ['name' => 'GoCardless', 'provider' => 'GoCardlessV2\Redirect', 'sort_order' => 9, 'is_offsite' => true], ['name' => 'PagSeguro', 'provider' => 'PagSeguro'], ['name' => 'PAYMILL', 'provider' => 'Paymill'], + ['name' => 'Custom', 'provider' => 'Custom2', 'is_offsite' => true, 'sort_order' => 21], + ['name' => 'Custom', 'provider' => 'Custom3', 'is_offsite' => true, 'sort_order' => 22], ]; foreach ($gateways as $gateway) { diff --git a/database/setup.sql b/database/setup.sql index 2ee03d956bef..bbbb4046b9d0 100644 --- a/database/setup.sql +++ b/database/setup.sql @@ -1,8 +1,8 @@ --- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64) -- -- Host: localhost Database: ninja -- ------------------------------------------------------ --- Server version 5.7.21-0ubuntu0.16.04.1 +-- Server version 5.7.22-0ubuntu0.16.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -256,20 +256,14 @@ CREATE TABLE `accounts` ( `work_phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `work_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `language_id` int(10) unsigned NOT NULL DEFAULT '1', - `custom_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `custom_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `custom_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_client_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_client_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `fill_products` tinyint(1) NOT NULL DEFAULT '1', `update_products` tinyint(1) NOT NULL DEFAULT '1', `primary_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `secondary_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `hide_quantity` tinyint(1) NOT NULL DEFAULT '0', `hide_paid_to_date` tinyint(1) NOT NULL DEFAULT '0', - `custom_invoice_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_invoice_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `custom_invoice_taxes1` tinyint(1) DEFAULT NULL, `custom_invoice_taxes2` tinyint(1) DEFAULT NULL, `vat_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, @@ -295,8 +289,6 @@ CREATE TABLE `accounts` ( `num_days_reminder1` smallint(6) NOT NULL DEFAULT '7', `num_days_reminder2` smallint(6) NOT NULL DEFAULT '14', `num_days_reminder3` smallint(6) NOT NULL DEFAULT '30', - `custom_invoice_text_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_invoice_text_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `recurring_hour` smallint(6) NOT NULL DEFAULT '8', `invoice_number_pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `quote_number_pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, @@ -319,8 +311,6 @@ CREATE TABLE `accounts` ( `show_currency_code` tinyint(1) NOT NULL, `enable_portal_password` tinyint(1) NOT NULL DEFAULT '0', `send_portal_password` tinyint(1) NOT NULL DEFAULT '0', - `custom_invoice_item_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_invoice_item_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `recurring_invoice_number_prefix` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'R', `enable_client_portal` tinyint(1) NOT NULL DEFAULT '1', `invoice_fields` text COLLATE utf8_unicode_ci, @@ -357,8 +347,6 @@ CREATE TABLE `accounts` ( `payment_type_id` smallint(6) DEFAULT NULL, `gateway_fee_enabled` tinyint(1) NOT NULL DEFAULT '0', `reset_counter_date` date DEFAULT NULL, - `custom_contact_label1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_contact_label2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_name1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_rate1` decimal(13,3) NOT NULL, `tax_name2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, @@ -380,6 +368,10 @@ CREATE TABLE `accounts` ( `auto_archive_quote` tinyint(1) DEFAULT '0', `auto_email_invoice` tinyint(1) DEFAULT '1', `send_item_details` tinyint(1) DEFAULT '0', + `custom_fields` mediumtext COLLATE utf8_unicode_ci, + `background_image_id` int(10) unsigned DEFAULT NULL, + `custom_messages` mediumtext COLLATE utf8_unicode_ci, + `is_custom_domain` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `accounts_account_key_unique` (`account_key`), KEY `accounts_timezone_id_foreign` (`timezone_id`), @@ -624,8 +616,8 @@ CREATE TABLE `clients` ( `is_deleted` tinyint(1) NOT NULL DEFAULT '0', `payment_terms` int(11) DEFAULT NULL, `public_id` int(10) unsigned NOT NULL, - `custom_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, `vat_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `id_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `language_id` int(10) unsigned DEFAULT NULL, @@ -642,6 +634,7 @@ CREATE TABLE `clients` ( `shipping_country_id` int(10) unsigned DEFAULT NULL, `show_tasks_in_portal` tinyint(1) NOT NULL DEFAULT '0', `send_reminders` tinyint(1) NOT NULL DEFAULT '1', + `custom_messages` mediumtext COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `clients_account_id_public_id_unique` (`account_id`,`public_id`), KEY `clients_user_id_foreign` (`user_id`), @@ -749,8 +742,8 @@ CREATE TABLE `contacts` ( `remember_token` tinyint(1) DEFAULT NULL, `contact_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `bot_user_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `contacts_account_id_public_id_unique` (`account_id`,`public_id`), UNIQUE KEY `contacts_contact_key_unique` (`contact_key`), @@ -869,7 +862,7 @@ CREATE TABLE `currencies` ( `swap_currency_symbol` tinyint(1) NOT NULL DEFAULT '0', `exchange_rate` decimal(13,4) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -878,7 +871,7 @@ CREATE TABLE `currencies` ( LOCK TABLES `currencies` WRITE; /*!40000 ALTER TABLE `currencies` DISABLE KEYS */; -INSERT INTO `currencies` VALUES (1,'US Dollar','$','2',',','.','USD',0,NULL),(2,'British Pound','£','2',',','.','GBP',0,NULL),(3,'Euro','€','2','.',',','EUR',0,NULL),(4,'South African Rand','R','2','.',',','ZAR',0,NULL),(5,'Danish Krone','kr','2','.',',','DKK',1,NULL),(6,'Israeli Shekel','NIS ','2',',','.','ILS',0,NULL),(7,'Swedish Krona','kr','2','.',',','SEK',1,NULL),(8,'Kenyan Shilling','KSh ','2',',','.','KES',0,NULL),(9,'Canadian Dollar','C$','2',',','.','CAD',0,NULL),(10,'Philippine Peso','P ','2',',','.','PHP',0,NULL),(11,'Indian Rupee','Rs. ','2',',','.','INR',0,NULL),(12,'Australian Dollar','$','2',',','.','AUD',0,NULL),(13,'Singapore Dollar','','2',',','.','SGD',0,NULL),(14,'Norske Kroner','kr','2','.',',','NOK',1,NULL),(15,'New Zealand Dollar','$','2',',','.','NZD',0,NULL),(16,'Vietnamese Dong','','0','.',',','VND',0,NULL),(17,'Swiss Franc','','2','\'','.','CHF',0,NULL),(18,'Guatemalan Quetzal','Q','2',',','.','GTQ',0,NULL),(19,'Malaysian Ringgit','RM','2',',','.','MYR',0,NULL),(20,'Brazilian Real','R$','2','.',',','BRL',0,NULL),(21,'Thai Baht','','2',',','.','THB',0,NULL),(22,'Nigerian Naira','','2',',','.','NGN',0,NULL),(23,'Argentine Peso','$','2','.',',','ARS',0,NULL),(24,'Bangladeshi Taka','Tk','2',',','.','BDT',0,NULL),(25,'United Arab Emirates Dirham','DH ','2',',','.','AED',0,NULL),(26,'Hong Kong Dollar','','2',',','.','HKD',0,NULL),(27,'Indonesian Rupiah','Rp','2',',','.','IDR',0,NULL),(28,'Mexican Peso','$','2',',','.','MXN',0,NULL),(29,'Egyptian Pound','E£','2',',','.','EGP',0,NULL),(30,'Colombian Peso','$','2','.',',','COP',0,NULL),(31,'West African Franc','CFA ','2',',','.','XOF',0,NULL),(32,'Chinese Renminbi','RMB ','2',',','.','CNY',0,NULL),(33,'Rwandan Franc','RF ','2',',','.','RWF',0,NULL),(34,'Tanzanian Shilling','TSh ','2',',','.','TZS',0,NULL),(35,'Netherlands Antillean Guilder','','2','.',',','ANG',0,NULL),(36,'Trinidad and Tobago Dollar','TT$','2',',','.','TTD',0,NULL),(37,'East Caribbean Dollar','EC$','2',',','.','XCD',0,NULL),(38,'Ghanaian Cedi','','2',',','.','GHS',0,NULL),(39,'Bulgarian Lev','','2',' ','.','BGN',0,NULL),(40,'Aruban Florin','Afl. ','2',' ','.','AWG',0,NULL),(41,'Turkish Lira','TL ','2','.',',','TRY',0,NULL),(42,'Romanian New Leu','','2',',','.','RON',0,NULL),(43,'Croatian Kuna','kn','2','.',',','HRK',0,NULL),(44,'Saudi Riyal','','2',',','.','SAR',0,NULL),(45,'Japanese Yen','¥','0',',','.','JPY',0,NULL),(46,'Maldivian Rufiyaa','','2',',','.','MVR',0,NULL),(47,'Costa Rican Colón','','2',',','.','CRC',0,NULL),(48,'Pakistani Rupee','Rs ','0',',','.','PKR',0,NULL),(49,'Polish Zloty','zł','2',' ',',','PLN',1,NULL),(50,'Sri Lankan Rupee','LKR','2',',','.','LKR',1,NULL),(51,'Czech Koruna','Kč','2',' ',',','CZK',1,NULL),(52,'Uruguayan Peso','$','2','.',',','UYU',0,NULL),(53,'Namibian Dollar','$','2',',','.','NAD',0,NULL),(54,'Tunisian Dinar','','2',',','.','TND',0,NULL),(55,'Russian Ruble','','2',',','.','RUB',0,NULL),(56,'Mozambican Metical','MT','2','.',',','MZN',1,NULL),(57,'Omani Rial','','2',',','.','OMR',0,NULL),(58,'Ukrainian Hryvnia','','2',',','.','UAH',0,NULL),(59,'Macanese Pataca','MOP$','2',',','.','MOP',0,NULL),(60,'Taiwan New Dollar','NT$','2',',','.','TWD',0,NULL),(61,'Dominican Peso','RD$','2',',','.','DOP',0,NULL),(62,'Chilean Peso','$','0','.',',','CLP',0,NULL),(63,'Icelandic Króna','kr','2','.',',','ISK',1,NULL),(64,'Papua New Guinean Kina','K','2',',','.','PGK',0,NULL),(65,'Jordanian Dinar','','2',',','.','JOD',0,NULL),(66,'Myanmar Kyat','K','2',',','.','MMK',0,NULL),(67,'Peruvian Sol','S/ ','2',',','.','PEN',0,NULL),(68,'Botswana Pula','P','2',',','.','BWP',0,NULL),(69,'Hungarian Forint','Ft','0','.',',','HUF',1,NULL),(70,'Ugandan Shilling','USh ','2',',','.','UGX',0,NULL),(71,'Barbadian Dollar','$','2',',','.','BBD',0,NULL),(72,'Brunei Dollar','B$','2',',','.','BND',0,NULL),(73,'Georgian Lari','','2',' ',',','GEL',0,NULL); +INSERT INTO `currencies` VALUES (1,'US Dollar','$','2',',','.','USD',0,NULL),(2,'British Pound','£','2',',','.','GBP',0,NULL),(3,'Euro','€','2','.',',','EUR',0,NULL),(4,'South African Rand','R','2',',','.','ZAR',0,NULL),(5,'Danish Krone','kr','2','.',',','DKK',1,NULL),(6,'Israeli Shekel','NIS ','2',',','.','ILS',0,NULL),(7,'Swedish Krona','kr','2','.',',','SEK',1,NULL),(8,'Kenyan Shilling','KSh ','2',',','.','KES',0,NULL),(9,'Canadian Dollar','C$','2',',','.','CAD',0,NULL),(10,'Philippine Peso','P ','2',',','.','PHP',0,NULL),(11,'Indian Rupee','Rs. ','2',',','.','INR',0,NULL),(12,'Australian Dollar','$','2',',','.','AUD',0,NULL),(13,'Singapore Dollar','','2',',','.','SGD',0,NULL),(14,'Norske Kroner','kr','2','.',',','NOK',1,NULL),(15,'New Zealand Dollar','$','2',',','.','NZD',0,NULL),(16,'Vietnamese Dong','','0','.',',','VND',0,NULL),(17,'Swiss Franc','','2','\'','.','CHF',0,NULL),(18,'Guatemalan Quetzal','Q','2',',','.','GTQ',0,NULL),(19,'Malaysian Ringgit','RM','2',',','.','MYR',0,NULL),(20,'Brazilian Real','R$','2','.',',','BRL',0,NULL),(21,'Thai Baht','','2',',','.','THB',0,NULL),(22,'Nigerian Naira','','2',',','.','NGN',0,NULL),(23,'Argentine Peso','$','2','.',',','ARS',0,NULL),(24,'Bangladeshi Taka','Tk','2',',','.','BDT',0,NULL),(25,'United Arab Emirates Dirham','DH ','2',',','.','AED',0,NULL),(26,'Hong Kong Dollar','','2',',','.','HKD',0,NULL),(27,'Indonesian Rupiah','Rp','2',',','.','IDR',0,NULL),(28,'Mexican Peso','$','2',',','.','MXN',0,NULL),(29,'Egyptian Pound','E£','2',',','.','EGP',0,NULL),(30,'Colombian Peso','$','2','.',',','COP',0,NULL),(31,'West African Franc','CFA ','2',',','.','XOF',0,NULL),(32,'Chinese Renminbi','RMB ','2',',','.','CNY',0,NULL),(33,'Rwandan Franc','RF ','2',',','.','RWF',0,NULL),(34,'Tanzanian Shilling','TSh ','2',',','.','TZS',0,NULL),(35,'Netherlands Antillean Guilder','','2','.',',','ANG',0,NULL),(36,'Trinidad and Tobago Dollar','TT$','2',',','.','TTD',0,NULL),(37,'East Caribbean Dollar','EC$','2',',','.','XCD',0,NULL),(38,'Ghanaian Cedi','','2',',','.','GHS',0,NULL),(39,'Bulgarian Lev','','2',' ','.','BGN',0,NULL),(40,'Aruban Florin','Afl. ','2',' ','.','AWG',0,NULL),(41,'Turkish Lira','TL ','2','.',',','TRY',0,NULL),(42,'Romanian New Leu','','2',',','.','RON',0,NULL),(43,'Croatian Kuna','kn','2','.',',','HRK',0,NULL),(44,'Saudi Riyal','','2',',','.','SAR',0,NULL),(45,'Japanese Yen','¥','0',',','.','JPY',0,NULL),(46,'Maldivian Rufiyaa','','2',',','.','MVR',0,NULL),(47,'Costa Rican Colón','','2',',','.','CRC',0,NULL),(48,'Pakistani Rupee','Rs ','0',',','.','PKR',0,NULL),(49,'Polish Zloty','zł','2',' ',',','PLN',1,NULL),(50,'Sri Lankan Rupee','LKR','2',',','.','LKR',1,NULL),(51,'Czech Koruna','Kč','2',' ',',','CZK',1,NULL),(52,'Uruguayan Peso','$','2','.',',','UYU',0,NULL),(53,'Namibian Dollar','$','2',',','.','NAD',0,NULL),(54,'Tunisian Dinar','','2',',','.','TND',0,NULL),(55,'Russian Ruble','','2',',','.','RUB',0,NULL),(56,'Mozambican Metical','MT','2','.',',','MZN',1,NULL),(57,'Omani Rial','','2',',','.','OMR',0,NULL),(58,'Ukrainian Hryvnia','','2',',','.','UAH',0,NULL),(59,'Macanese Pataca','MOP$','2',',','.','MOP',0,NULL),(60,'Taiwan New Dollar','NT$','2',',','.','TWD',0,NULL),(61,'Dominican Peso','RD$','2',',','.','DOP',0,NULL),(62,'Chilean Peso','$','0','.',',','CLP',0,NULL),(63,'Icelandic Króna','kr','2','.',',','ISK',1,NULL),(64,'Papua New Guinean Kina','K','2',',','.','PGK',0,NULL),(65,'Jordanian Dinar','','2',',','.','JOD',0,NULL),(66,'Myanmar Kyat','K','2',',','.','MMK',0,NULL),(67,'Peruvian Sol','S/ ','2',',','.','PEN',0,NULL),(68,'Botswana Pula','P','2',',','.','BWP',0,NULL),(69,'Hungarian Forint','Ft','0','.',',','HUF',1,NULL),(70,'Ugandan Shilling','USh ','2',',','.','UGX',0,NULL),(71,'Barbadian Dollar','$','2',',','.','BBD',0,NULL),(72,'Brunei Dollar','B$','2',',','.','BND',0,NULL),(73,'Georgian Lari','','2',' ',',','GEL',0,NULL),(74,'Qatari Riyal','QR','2',',','.','QAR',0,NULL),(75,'Honduran Lempira','L','2',',','.','HNL',0,NULL); /*!40000 ALTER TABLE `currencies` ENABLE KEYS */; UNLOCK TABLES; @@ -1076,6 +1069,8 @@ CREATE TABLE `expenses` ( `transaction_reference` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `invoice_documents` tinyint(1) NOT NULL DEFAULT '1', `recurring_expense_id` int(10) unsigned DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `expenses_account_id_public_id_unique` (`account_id`,`public_id`), KEY `expenses_user_id_foreign` (`user_id`), @@ -1198,7 +1193,7 @@ CREATE TABLE `gateway_types` ( `alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1207,7 +1202,7 @@ CREATE TABLE `gateway_types` ( LOCK TABLES `gateway_types` WRITE; /*!40000 ALTER TABLE `gateway_types` DISABLE KEYS */; -INSERT INTO `gateway_types` VALUES (1,'credit_card','Credit Card'),(2,'bank_transfer','Bank Transfer'),(3,'paypal','PayPal'),(4,'bitcoin','Bitcoin'),(5,'dwolla','Dwolla'),(6,'custom','Custom'),(7,'alipay','Alipay'),(8,'sofort','Sofort'),(9,'sepa','SEPA'),(10,'gocardless','GoCardless'),(11,'apple_pay','Apple Pay'); +INSERT INTO `gateway_types` VALUES (1,'credit_card','Credit Card'),(2,'bank_transfer','Bank Transfer'),(3,'paypal','PayPal'),(4,'bitcoin','Bitcoin'),(5,'dwolla','Dwolla'),(6,'custom1','Custom'),(7,'alipay','Alipay'),(8,'sofort','Sofort'),(9,'sepa','SEPA'),(10,'gocardless','GoCardless'),(11,'apple_pay','Apple Pay'),(12,'custom2','Custom'),(13,'custom3','Custom'); /*!40000 ALTER TABLE `gateway_types` ENABLE KEYS */; UNLOCK TABLES; @@ -1233,7 +1228,7 @@ CREATE TABLE `gateways` ( PRIMARY KEY (`id`), KEY `gateways_payment_library_id_foreign` (`payment_library_id`), CONSTRAINT `gateways_payment_library_id_foreign` FOREIGN KEY (`payment_library_id`) REFERENCES `payment_libraries` (`id`) ON DELETE CASCADE -) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1242,7 +1237,7 @@ CREATE TABLE `gateways` ( LOCK TABLES `gateways` WRITE; /*!40000 ALTER TABLE `gateways` DISABLE KEYS */; -INSERT INTO `gateways` VALUES (1,'2018-03-27 10:06:17','2018-03-27 10:06:17','Authorize.Net AIM','AuthorizeNet_AIM',1,1,5,0,NULL,0,0),(2,'2018-03-27 10:06:17','2018-03-27 10:06:17','Authorize.Net SIM','AuthorizeNet_SIM',1,2,10000,0,NULL,0,0),(3,'2018-03-27 10:06:17','2018-03-27 10:06:17','CardSave','CardSave',1,1,10000,0,NULL,0,0),(4,'2018-03-27 10:06:17','2018-03-27 10:06:17','Eway Rapid','Eway_RapidShared',1,1,10000,0,NULL,1,0),(5,'2018-03-27 10:06:17','2018-03-27 10:06:17','FirstData Connect','FirstData_Connect',1,1,10000,0,NULL,0,0),(6,'2018-03-27 10:06:17','2018-03-27 10:06:17','GoCardless','GoCardless',1,2,10000,0,NULL,1,0),(7,'2018-03-27 10:06:17','2018-03-27 10:06:17','Migs ThreeParty','Migs_ThreeParty',1,1,10000,0,NULL,0,0),(8,'2018-03-27 10:06:17','2018-03-27 10:06:17','Migs TwoParty','Migs_TwoParty',1,1,10000,0,NULL,0,0),(9,'2018-03-27 10:06:17','2018-03-27 10:06:17','Mollie','Mollie',1,1,8,0,NULL,1,0),(10,'2018-03-27 10:06:17','2018-03-27 10:06:17','MultiSafepay','MultiSafepay',1,1,10000,0,NULL,0,0),(11,'2018-03-27 10:06:17','2018-03-27 10:06:17','Netaxept','Netaxept',1,1,10000,0,NULL,0,0),(12,'2018-03-27 10:06:17','2018-03-27 10:06:17','NetBanx','NetBanx',1,1,10000,0,NULL,0,0),(13,'2018-03-27 10:06:17','2018-03-27 10:06:17','PayFast','PayFast',1,1,10000,0,NULL,1,0),(14,'2018-03-27 10:06:17','2018-03-27 10:06:17','Payflow Pro','Payflow_Pro',1,1,10000,0,NULL,0,0),(15,'2018-03-27 10:06:17','2018-03-27 10:06:17','PaymentExpress PxPay','PaymentExpress_PxPay',1,1,10000,0,NULL,0,0),(16,'2018-03-27 10:06:17','2018-03-27 10:06:17','PaymentExpress PxPost','PaymentExpress_PxPost',1,1,10000,0,NULL,0,0),(17,'2018-03-27 10:06:17','2018-03-27 10:06:17','PayPal Express','PayPal_Express',1,1,4,0,NULL,1,0),(18,'2018-03-27 10:06:17','2018-03-27 10:06:17','PayPal Pro','PayPal_Pro',1,1,10000,0,NULL,0,0),(19,'2018-03-27 10:06:17','2018-03-27 10:06:17','Pin','Pin',1,1,10000,0,NULL,0,0),(20,'2018-03-27 10:06:17','2018-03-27 10:06:17','SagePay Direct','SagePay_Direct',1,1,10000,0,NULL,0,0),(21,'2018-03-27 10:06:17','2018-03-27 10:06:17','SagePay Server','SagePay_Server',1,1,10000,0,NULL,1,0),(22,'2018-03-27 10:06:17','2018-03-27 10:06:17','SecurePay DirectPost','SecurePay_DirectPost',1,1,10000,0,NULL,0,0),(23,'2018-03-27 10:06:17','2018-03-27 10:06:17','Stripe','Stripe',1,1,1,0,NULL,0,0),(24,'2018-03-27 10:06:17','2018-03-27 10:06:17','TargetPay Direct eBanking','TargetPay_Directebanking',1,1,10000,0,NULL,0,0),(25,'2018-03-27 10:06:17','2018-03-27 10:06:17','TargetPay Ideal','TargetPay_Ideal',1,1,10000,0,NULL,0,0),(26,'2018-03-27 10:06:17','2018-03-27 10:06:17','TargetPay Mr Cash','TargetPay_Mrcash',1,1,10000,0,NULL,0,0),(27,'2018-03-27 10:06:17','2018-03-27 10:06:17','TwoCheckout','TwoCheckout',1,1,10000,0,NULL,1,0),(28,'2018-03-27 10:06:17','2018-03-27 10:06:17','WorldPay','WorldPay',1,1,10000,0,NULL,0,0),(29,'2018-03-27 10:06:17','2018-03-27 10:06:17','BeanStream','BeanStream',1,2,10000,0,NULL,0,0),(30,'2018-03-27 10:06:17','2018-03-27 10:06:17','Psigate','Psigate',1,2,10000,0,NULL,0,0),(31,'2018-03-27 10:06:17','2018-03-27 10:06:17','moolah','AuthorizeNet_AIM',1,1,10000,0,NULL,0,0),(32,'2018-03-27 10:06:17','2018-03-27 10:06:17','Alipay','Alipay_Express',1,1,10000,0,NULL,0,0),(33,'2018-03-27 10:06:17','2018-03-27 10:06:17','Buckaroo','Buckaroo_CreditCard',1,1,10000,0,NULL,0,0),(34,'2018-03-27 10:06:17','2018-03-27 10:06:17','Coinbase','Coinbase',1,1,10000,0,NULL,0,0),(35,'2018-03-27 10:06:17','2018-03-27 10:06:17','DataCash','DataCash',1,1,10000,0,NULL,0,0),(36,'2018-03-27 10:06:17','2018-03-27 10:06:17','Neteller','Neteller',1,2,10000,0,NULL,0,0),(37,'2018-03-27 10:06:17','2018-03-27 10:06:17','Pacnet','Pacnet',1,1,10000,0,NULL,0,0),(38,'2018-03-27 10:06:17','2018-03-27 10:06:17','PaymentSense','PaymentSense',1,2,10000,0,NULL,0,0),(39,'2018-03-27 10:06:17','2018-03-27 10:06:17','Realex','Realex_Remote',1,1,10000,0,NULL,0,0),(40,'2018-03-27 10:06:17','2018-03-27 10:06:17','Sisow','Sisow',1,1,10000,0,NULL,0,0),(41,'2018-03-27 10:06:17','2018-03-27 10:06:17','Skrill','Skrill',1,1,10000,0,NULL,1,0),(42,'2018-03-27 10:06:17','2018-03-27 10:06:17','BitPay','BitPay',1,1,7,0,NULL,1,0),(43,'2018-03-27 10:06:17','2018-03-27 10:06:17','Dwolla','Dwolla',1,1,6,0,NULL,1,0),(44,'2018-03-27 10:06:17','2018-03-27 10:06:17','AGMS','Agms',1,1,10000,0,NULL,0,0),(45,'2018-03-27 10:06:17','2018-03-27 10:06:17','Barclays','BarclaysEpdq\\Essential',1,1,10000,0,NULL,0,0),(46,'2018-03-27 10:06:17','2018-03-27 10:06:17','Cardgate','Cardgate',1,1,10000,0,NULL,0,0),(47,'2018-03-27 10:06:17','2018-03-27 10:06:17','Checkout.com','CheckoutCom',1,1,10000,0,NULL,0,0),(48,'2018-03-27 10:06:17','2018-03-27 10:06:17','Creditcall','Creditcall',1,1,10000,0,NULL,0,0),(49,'2018-03-27 10:06:17','2018-03-27 10:06:17','Cybersource','Cybersource',1,1,10000,0,NULL,0,0),(50,'2018-03-27 10:06:17','2018-03-27 10:06:17','ecoPayz','Ecopayz',1,1,10000,0,NULL,0,0),(51,'2018-03-27 10:06:17','2018-03-27 10:06:17','Fasapay','Fasapay',1,1,10000,0,NULL,0,0),(52,'2018-03-27 10:06:17','2018-03-27 10:06:17','Komoju','Komoju',1,1,10000,0,NULL,0,0),(53,'2018-03-27 10:06:17','2018-03-27 10:06:17','Multicards','Multicards',1,2,10000,0,NULL,0,0),(54,'2018-03-27 10:06:17','2018-03-27 10:06:17','Pagar.Me','Pagarme',1,2,10000,0,NULL,0,0),(55,'2018-03-27 10:06:17','2018-03-27 10:06:17','Paysafecard','Paysafecard',1,1,10000,0,NULL,0,0),(56,'2018-03-27 10:06:17','2018-03-27 10:06:17','Paytrace','Paytrace_CreditCard',1,1,10000,0,NULL,0,0),(57,'2018-03-27 10:06:17','2018-03-27 10:06:17','Secure Trading','SecureTrading',1,1,10000,0,NULL,0,0),(58,'2018-03-27 10:06:17','2018-03-27 10:06:17','SecPay','SecPay',1,1,10000,0,NULL,0,0),(59,'2018-03-27 10:06:17','2018-03-27 10:06:17','WeChat Express','WeChat_Express',1,2,10000,0,NULL,0,0),(60,'2018-03-27 10:06:17','2018-03-27 10:06:17','WePay','WePay',1,1,3,0,NULL,0,0),(61,'2018-03-27 10:06:17','2018-03-27 10:06:17','Braintree','Braintree',1,1,3,0,NULL,0,0),(62,'2018-03-27 10:06:17','2018-03-27 10:06:17','Custom','Custom',1,1,20,0,NULL,1,0),(63,'2018-03-27 10:06:17','2018-03-27 10:06:17','FirstData Payeezy','FirstData_Payeezy',1,1,10000,0,NULL,0,0),(64,'2018-03-27 10:06:17','2018-03-27 10:06:17','GoCardless','GoCardlessV2\\Redirect',1,1,9,0,NULL,1,0),(65,'2018-03-27 10:06:17','2018-03-27 10:06:17','PagSeguro','PagSeguro',1,1,10000,0,NULL,0,0),(66,'2018-03-27 10:06:17','2018-03-27 10:06:17','PAYMILL','Paymill',1,1,10000,0,NULL,0,0); +INSERT INTO `gateways` VALUES (1,'2018-04-24 14:43:10','2018-04-24 14:43:10','Authorize.Net AIM','AuthorizeNet_AIM',1,1,5,0,NULL,0,0),(2,'2018-04-24 14:43:10','2018-04-24 14:43:10','Authorize.Net SIM','AuthorizeNet_SIM',1,2,10000,0,NULL,0,0),(3,'2018-04-24 14:43:10','2018-04-24 14:43:10','CardSave','CardSave',1,1,10000,0,NULL,0,0),(4,'2018-04-24 14:43:10','2018-04-24 14:43:10','Eway Rapid','Eway_RapidShared',1,1,10000,0,NULL,1,0),(5,'2018-04-24 14:43:10','2018-04-24 14:43:10','FirstData Connect','FirstData_Connect',1,1,10000,0,NULL,0,0),(6,'2018-04-24 14:43:10','2018-04-24 14:43:10','GoCardless','GoCardless',1,2,10000,0,NULL,1,0),(7,'2018-04-24 14:43:10','2018-04-24 14:43:10','Migs ThreeParty','Migs_ThreeParty',1,1,10000,0,NULL,0,0),(8,'2018-04-24 14:43:10','2018-04-24 14:43:10','Migs TwoParty','Migs_TwoParty',1,1,10000,0,NULL,0,0),(9,'2018-04-24 14:43:10','2018-04-24 14:43:10','Mollie','Mollie',1,1,8,0,NULL,1,0),(10,'2018-04-24 14:43:10','2018-04-24 14:43:10','MultiSafepay','MultiSafepay',1,1,10000,0,NULL,0,0),(11,'2018-04-24 14:43:10','2018-04-24 14:43:10','Netaxept','Netaxept',1,1,10000,0,NULL,0,0),(12,'2018-04-24 14:43:10','2018-04-24 14:43:10','NetBanx','NetBanx',1,1,10000,0,NULL,0,0),(13,'2018-04-24 14:43:10','2018-04-24 14:43:10','PayFast','PayFast',1,1,10000,0,NULL,1,0),(14,'2018-04-24 14:43:10','2018-04-24 14:43:10','Payflow Pro','Payflow_Pro',1,1,10000,0,NULL,0,0),(15,'2018-04-24 14:43:10','2018-04-24 14:43:10','PaymentExpress PxPay','PaymentExpress_PxPay',1,1,10000,0,NULL,0,0),(16,'2018-04-24 14:43:10','2018-04-24 14:43:10','PaymentExpress PxPost','PaymentExpress_PxPost',1,1,10000,0,NULL,0,0),(17,'2018-04-24 14:43:10','2018-04-24 14:43:10','PayPal Express','PayPal_Express',1,1,4,0,NULL,1,0),(18,'2018-04-24 14:43:10','2018-04-24 14:43:10','PayPal Pro','PayPal_Pro',1,1,10000,0,NULL,0,0),(19,'2018-04-24 14:43:10','2018-04-24 14:43:10','Pin','Pin',1,1,10000,0,NULL,0,0),(20,'2018-04-24 14:43:10','2018-04-24 14:43:10','SagePay Direct','SagePay_Direct',1,1,10000,0,NULL,0,0),(21,'2018-04-24 14:43:10','2018-04-24 14:43:10','SagePay Server','SagePay_Server',1,2,10000,0,NULL,1,0),(22,'2018-04-24 14:43:10','2018-04-24 14:43:10','SecurePay DirectPost','SecurePay_DirectPost',1,1,10000,0,NULL,0,0),(23,'2018-04-24 14:43:10','2018-04-24 14:43:10','Stripe','Stripe',1,1,1,0,NULL,0,0),(24,'2018-04-24 14:43:10','2018-04-24 14:43:10','TargetPay Direct eBanking','TargetPay_Directebanking',1,1,10000,0,NULL,0,0),(25,'2018-04-24 14:43:10','2018-04-24 14:43:10','TargetPay Ideal','TargetPay_Ideal',1,1,10000,0,NULL,0,0),(26,'2018-04-24 14:43:10','2018-04-24 14:43:10','TargetPay Mr Cash','TargetPay_Mrcash',1,1,10000,0,NULL,0,0),(27,'2018-04-24 14:43:10','2018-04-24 14:43:10','TwoCheckout','TwoCheckout',1,1,10000,0,NULL,1,0),(28,'2018-04-24 14:43:10','2018-04-24 14:43:10','WorldPay','WorldPay',1,1,10000,0,NULL,0,0),(29,'2018-04-24 14:43:10','2018-04-24 14:43:10','BeanStream','BeanStream',1,2,10000,0,NULL,0,0),(30,'2018-04-24 14:43:10','2018-04-24 14:43:10','Psigate','Psigate',1,2,10000,0,NULL,0,0),(31,'2018-04-24 14:43:10','2018-04-24 14:43:10','moolah','AuthorizeNet_AIM',1,1,10000,0,NULL,0,0),(32,'2018-04-24 14:43:10','2018-04-24 14:43:10','Alipay','Alipay_Express',1,1,10000,0,NULL,0,0),(33,'2018-04-24 14:43:10','2018-04-24 14:43:10','Buckaroo','Buckaroo_CreditCard',1,1,10000,0,NULL,0,0),(34,'2018-04-24 14:43:10','2018-04-24 14:43:10','Coinbase','Coinbase',1,1,10000,0,NULL,1,0),(35,'2018-04-24 14:43:10','2018-04-24 14:43:10','DataCash','DataCash',1,1,10000,0,NULL,0,0),(36,'2018-04-24 14:43:10','2018-04-24 14:43:10','Neteller','Neteller',1,2,10000,0,NULL,0,0),(37,'2018-04-24 14:43:10','2018-04-24 14:43:10','Pacnet','Pacnet',1,1,10000,0,NULL,0,0),(38,'2018-04-24 14:43:10','2018-04-24 14:43:10','PaymentSense','PaymentSense',1,2,10000,0,NULL,0,0),(39,'2018-04-24 14:43:10','2018-04-24 14:43:10','Realex','Realex_Remote',1,1,10000,0,NULL,0,0),(40,'2018-04-24 14:43:10','2018-04-24 14:43:10','Sisow','Sisow',1,1,10000,0,NULL,0,0),(41,'2018-04-24 14:43:10','2018-04-24 14:43:10','Skrill','Skrill',1,1,10000,0,NULL,1,0),(42,'2018-04-24 14:43:10','2018-04-24 14:43:10','BitPay','BitPay',1,1,7,0,NULL,1,0),(43,'2018-04-24 14:43:10','2018-04-24 14:43:10','Dwolla','Dwolla',1,1,6,0,NULL,1,0),(44,'2018-04-24 14:43:10','2018-04-24 14:43:10','AGMS','Agms',1,1,10000,0,NULL,0,0),(45,'2018-04-24 14:43:10','2018-04-24 14:43:10','Barclays','BarclaysEpdq\\Essential',1,1,10000,0,NULL,0,0),(46,'2018-04-24 14:43:10','2018-04-24 14:43:10','Cardgate','Cardgate',1,1,10000,0,NULL,0,0),(47,'2018-04-24 14:43:10','2018-04-24 14:43:10','Checkout.com','CheckoutCom',1,1,10000,0,NULL,0,0),(48,'2018-04-24 14:43:10','2018-04-24 14:43:10','Creditcall','Creditcall',1,1,10000,0,NULL,0,0),(49,'2018-04-24 14:43:10','2018-04-24 14:43:10','Cybersource','Cybersource',1,1,10000,0,NULL,0,0),(50,'2018-04-24 14:43:10','2018-04-24 14:43:10','ecoPayz','Ecopayz',1,1,10000,0,NULL,0,0),(51,'2018-04-24 14:43:10','2018-04-24 14:43:10','Fasapay','Fasapay',1,1,10000,0,NULL,0,0),(52,'2018-04-24 14:43:10','2018-04-24 14:43:10','Komoju','Komoju',1,1,10000,0,NULL,0,0),(53,'2018-04-24 14:43:10','2018-04-24 14:43:10','Multicards','Multicards',1,2,10000,0,NULL,0,0),(54,'2018-04-24 14:43:10','2018-04-24 14:43:10','Pagar.Me','Pagarme',1,2,10000,0,NULL,0,0),(55,'2018-04-24 14:43:10','2018-04-24 14:43:10','Paysafecard','Paysafecard',1,1,10000,0,NULL,0,0),(56,'2018-04-24 14:43:10','2018-04-24 14:43:10','Paytrace','Paytrace_CreditCard',1,1,10000,0,NULL,0,0),(57,'2018-04-24 14:43:10','2018-04-24 14:43:10','Secure Trading','SecureTrading',1,1,10000,0,NULL,0,0),(58,'2018-04-24 14:43:10','2018-04-24 14:43:10','SecPay','SecPay',1,1,10000,0,NULL,0,0),(59,'2018-04-24 14:43:10','2018-04-24 14:43:10','WeChat Express','WeChat_Express',1,2,10000,0,NULL,0,0),(60,'2018-04-24 14:43:10','2018-04-24 14:43:10','WePay','WePay',1,1,3,0,NULL,0,0),(61,'2018-04-24 14:43:10','2018-04-24 14:43:10','Braintree','Braintree',1,1,3,0,NULL,0,0),(62,'2018-04-24 14:43:10','2018-04-24 14:43:10','Custom','Custom1',1,1,20,0,NULL,1,0),(63,'2018-04-24 14:43:10','2018-04-24 14:43:10','FirstData Payeezy','FirstData_Payeezy',1,1,10000,0,NULL,0,0),(64,'2018-04-24 14:43:10','2018-04-24 14:43:10','GoCardless','GoCardlessV2\\Redirect',1,1,9,0,NULL,1,0),(65,'2018-04-24 14:43:10','2018-04-24 14:43:10','PagSeguro','PagSeguro',1,1,10000,0,NULL,0,0),(66,'2018-04-24 14:43:10','2018-04-24 14:43:10','PAYMILL','Paymill',1,1,10000,0,NULL,0,0),(67,'2018-04-24 14:43:10','2018-04-24 14:43:10','Custom','Custom2',1,1,21,0,NULL,1,0),(68,'2018-04-24 14:43:10','2018-04-24 14:43:10','Custom','Custom3',1,1,22,0,NULL,1,0); /*!40000 ALTER TABLE `gateways` ENABLE KEYS */; UNLOCK TABLES; @@ -1337,7 +1332,7 @@ CREATE TABLE `invoice_designs` ( LOCK TABLES `invoice_designs` WRITE; /*!40000 ALTER TABLE `invoice_designs` DISABLE KEYS */; -INSERT INTO `invoice_designs` VALUES (1,'Clean','var GlobalY=0;//Y position of line at current page\n\n var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 550;\n layout.rowHeight = 15;\n\n doc.setFontSize(9);\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, 30);\n }\n \n if (!invoice.is_pro && logoImages.imageLogo1)\n {\n pageHeight=820;\n y=pageHeight-logoImages.imageLogoHeight1;\n doc.addImage(logoImages.imageLogo1, \'JPEG\', layout.marginLeft, y, logoImages.imageLogoWidth1, logoImages.imageLogoHeight1);\n }\n\n doc.setFontSize(9);\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n displayAccount(doc, invoice, 220, layout.accountTop, layout);\n\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n doc.setFontSize(\'11\');\n doc.text(50, layout.headerTop, (invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice).toUpperCase());\n\n\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontSize(9);\n\n var invoiceHeight = displayInvoice(doc, invoice, 50, 170, layout);\n var clientHeight = displayClient(doc, invoice, 220, 170, layout);\n var detailsHeight = Math.max(invoiceHeight, clientHeight);\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (3 * layout.rowHeight));\n \n doc.setLineWidth(0.3); \n doc.setDrawColor(200,200,200);\n doc.line(layout.marginLeft - layout.tablePadding, layout.headerTop + 6, layout.marginRight + layout.tablePadding, layout.headerTop + 6);\n doc.line(layout.marginLeft - layout.tablePadding, layout.headerTop + detailsHeight + 14, layout.marginRight + layout.tablePadding, layout.headerTop + detailsHeight + 14);\n\n doc.setFontSize(10);\n doc.setFontType(\'bold\');\n displayInvoiceHeader(doc, invoice, layout);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n doc.setFontSize(9);\n doc.setFontType(\'bold\');\n\n GlobalY=GlobalY+25;\n\n\n doc.setLineWidth(0.3);\n doc.setDrawColor(241,241,241);\n doc.setFillColor(241,241,241);\n var x1 = layout.marginLeft - 12;\n var y1 = GlobalY-layout.tablePadding;\n\n var w2 = 510 + 24;\n var h2 = doc.internal.getFontSize()*3+layout.tablePadding*2;\n\n if (invoice.discount) {\n h2 += doc.internal.getFontSize()*2;\n }\n if (invoice.tax_amount) {\n h2 += doc.internal.getFontSize()*2;\n }\n\n //doc.rect(x1, y1, w2, h2, \'FD\');\n\n doc.setFontSize(9);\n displayNotesAndTerms(doc, layout, invoice, y);\n y += displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n\n\n doc.setFontSize(10);\n Msg = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var TmpMsgX = layout.unitCostRight-(doc.getStringUnitWidth(Msg) * doc.internal.getFontSize());\n \n doc.text(TmpMsgX, y, Msg);\n\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n AmountText = formatMoney(invoice.balance_amount, currencyId);\n headerLeft=layout.headerRight+400;\n var AmountX = layout.lineTotalRight - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());\n doc.text(AmountX, y, AmountText);','{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"stack\":\"$accountDetails\",\"margin\":[7,0,0,0]},{\"stack\":\"$accountAddress\"}]},{\"text\":\"$entityTypeUC\",\"margin\":[8,30,8,5],\"style\":\"entityTypeLabel\"},{\"table\":{\"headerRows\":1,\"widths\":[\"auto\",\"auto\",\"*\"],\"body\":[[{\"table\":{\"body\":\"$invoiceDetails\"},\"margin\":[0,0,12,0],\"layout\":\"noBorders\"},{\"stack\":\"$clientDetails\"},{\"text\":\"\"}]]},\"layout\":{\"hLineWidth\":\"$firstAndLast:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#D8D8D8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:6\",\"paddingBottom\":\"$amount:6\"}},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#D8D8D8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:14\",\"paddingBottom\":\"$amount:14\"}},{\"columns\":[\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"styles\":{\"entityTypeLabel\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#37a3c6\"},\"primaryColor\":{\"color\":\"$primaryColor:#37a3c6\"},\"accountName\":{\"color\":\"$primaryColor:#37a3c6\",\"bold\":true},\"invoiceDetails\":{\"margin\":[0,0,8,0]},\"accountDetails\":{\"margin\":[0,2,0,2]},\"clientDetails\":{\"margin\":[0,2,0,2]},\"notesAndTerms\":{\"margin\":[0,2,0,2]},\"accountAddress\":{\"margin\":[0,2,0,2]},\"odd\":{\"fillColor\":\"#fbfbfb\"},\"productKey\":{\"color\":\"$primaryColor:#37a3c6\",\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLarger\"},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLarger\",\"color\":\"$primaryColor:#37a3c6\"},\"invoiceNumber\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLarger\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,16,0,16]},\"clientName\":{\"bold\":true},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,40,40,60]}'),(2,'Bold',' var GlobalY=0;//Y position of line at current page\n\n var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 150;\n layout.rowHeight = 15;\n layout.headerTop = 125;\n layout.tableTop = 300;\n\n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setFillColor(46,43,43);\n } \n\n var x1 =0;\n var y1 = 0;\n var w2 = 595;\n var h2 = 100;\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, 30);\n }\n\n doc.setLineWidth(0.5);\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setFillColor(46,43,43);\n doc.setDrawColor(46,43,43);\n } \n\n // return doc.setTextColor(240,240,240);//select color Custom Report GRAY Colour\n var x1 = 0;//tableLeft-tablePadding ;\n var y1 = 750;\n var w2 = 596;\n var h2 = 94;//doc.internal.getFontSize()*length+length*1.1;//+h;//+tablePadding;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n if (!invoice.is_pro && logoImages.imageLogo2)\n {\n pageHeight=820;\n var left = 250;//headerRight ;\n y=pageHeight-logoImages.imageLogoHeight2;\n var headerRight=370;\n\n var left = headerRight - logoImages.imageLogoWidth2;\n doc.addImage(logoImages.imageLogo2, \'JPEG\', left, y, logoImages.imageLogoWidth2, logoImages.imageLogoHeight2);\n }\n\n doc.setFontSize(7);\n doc.setFontType(\'bold\');\n SetPdfColor(\'White\',doc);\n\n displayAccount(doc, invoice, 300, layout.accountTop, layout);\n\n\n var y = layout.accountTop;\n var left = layout.marginLeft;\n var headerY = layout.headerTop;\n\n SetPdfColor(\'GrayLogo\',doc); //set black color\n doc.setFontSize(7);\n\n //show left column\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontType(\'normal\');\n\n //publish filled box\n doc.setDrawColor(200,200,200);\n\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n } else {\n doc.setFillColor(54,164,152); \n } \n\n GlobalY=190;\n doc.setLineWidth(0.5);\n\n var BlockLenght=220;\n var x1 =595-BlockLenght;\n var y1 = GlobalY-12;\n var w2 = BlockLenght;\n var h2 = getInvoiceDetailsHeight(invoice, layout) + layout.tablePadding + 2;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n SetPdfColor(\'SomeGreen\', doc, \'secondary\');\n doc.setFontSize(\'14\');\n doc.setFontType(\'bold\');\n doc.text(50, GlobalY, (invoice.is_quote ? invoiceLabels.your_quote : invoiceLabels.your_invoice).toUpperCase());\n\n\n var z=GlobalY;\n z=z+30;\n\n doc.setFontSize(\'8\'); \n SetPdfColor(\'Black\',doc); \n var clientHeight = displayClient(doc, invoice, layout.marginLeft, z, layout);\n layout.tableTop += Math.max(0, clientHeight - 75);\n marginLeft2=395;\n\n //publish left side information\n SetPdfColor(\'White\',doc);\n doc.setFontSize(\'8\');\n var detailsHeight = displayInvoice(doc, invoice, marginLeft2, z-25, layout) + 75;\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (2 * layout.tablePadding));\n\n y=z+60;\n x = GlobalY + 100;\n doc.setFontType(\'bold\');\n\n doc.setFontSize(12);\n doc.setFontType(\'bold\');\n SetPdfColor(\'Black\',doc);\n displayInvoiceHeader(doc, invoice, layout);\n\n var y = displayInvoiceItems(doc, invoice, layout);\n doc.setLineWidth(0.3);\n displayNotesAndTerms(doc, layout, invoice, y);\n y += displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n\n doc.setFontType(\'bold\');\n\n doc.setFontSize(12);\n x += doc.internal.getFontSize()*4;\n Msg = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var TmpMsgX = layout.unitCostRight-(doc.getStringUnitWidth(Msg) * doc.internal.getFontSize());\n\n doc.text(TmpMsgX, y, Msg);\n\n //SetPdfColor(\'LightBlue\',doc);\n AmountText = formatMoney(invoice.balance_amount , currencyId);\n headerLeft=layout.headerRight+400;\n var AmountX = headerLeft - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());\n SetPdfColor(\'SomeGreen\', doc, \'secondary\');\n doc.text(AmountX, y, AmountText);','{\"content\":[{\"columns\":[{\"width\":380,\"stack\":[{\"text\":\"$yourInvoiceLabelUC\",\"style\":\"yourInvoice\"},\"$clientDetails\"],\"margin\":[60,100,0,10]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":225,\"h\":\"$invoiceDetailsHeight\",\"r\":0,\"lineWidth\":1,\"color\":\"$primaryColor:#36a498\"}],\"width\":10,\"margin\":[-10,100,0,10]},{\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[0,110,0,0]}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:14\",\"paddingBottom\":\"$amount:14\"}},{\"columns\":[{\"width\":46,\"text\":\" \"},\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":100,\"lineColor\":\"$secondaryColor:#292526\"}]},{\"columns\":[{\"text\":\"$invoiceFooter\",\"margin\":[40,-40,40,0],\"alignment\":\"left\",\"color\":\"#FFFFFF\"}]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":200,\"lineColor\":\"$secondaryColor:#292526\"}],\"width\":10},{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,60],\"margin\":[30,16,0,0]},{\"stack\":\"$accountDetails\",\"margin\":[0,16,0,0],\"width\":140},{\"stack\":\"$accountAddress\",\"margin\":[20,16,0,0]}]}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#36a498\"},\"accountName\":{\"bold\":true,\"margin\":[4,2,4,1],\"color\":\"$primaryColor:#36a498\"},\"accountDetails\":{\"margin\":[4,2,4,1],\"color\":\"#FFFFFF\"},\"accountAddress\":{\"margin\":[4,2,4,1],\"color\":\"#FFFFFF\"},\"clientDetails\":{\"margin\":[0,2,0,1]},\"odd\":{\"fillColor\":\"#ebebeb\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#36a498\",\"bold\":true},\"invoiceDetails\":{\"color\":\"#ffffff\"},\"invoiceNumber\":{\"bold\":true},\"tableHeader\":{\"fontSize\":12,\"bold\":true},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\",\"margin\":[0,0,40,0]},\"firstColumn\":{\"margin\":[40,0,0,0]},\"lastColumn\":{\"margin\":[0,0,40,0]},\"productKey\":{\"color\":\"$primaryColor:#36a498\",\"bold\":true},\"yourInvoice\":{\"font\":\"$headerFont\",\"bold\":true,\"fontSize\":14,\"color\":\"$primaryColor:#36a498\",\"margin\":[0,0,0,8]},\"invoiceLineItemsTable\":{\"margin\":[0,26,0,16]},\"clientName\":{\"bold\":true},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\",\"margin\":[0,0,40,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[47,0,47,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[0,80,0,40]}'),(3,'Modern',' var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 400;\n layout.rowHeight = 15;\n\n\n doc.setFontSize(7);\n\n // add header\n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setDrawColor(242,101,34);\n doc.setFillColor(242,101,34);\n } \n\n var x1 =0;\n var y1 = 0;\n var w2 = 595;\n var h2 = Math.max(110, getInvoiceDetailsHeight(invoice, layout) + 30);\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n SetPdfColor(\'White\',doc);\n\n //second column\n doc.setFontType(\'bold\');\n var name = invoice.account.name; \n if (name) {\n doc.setFontSize(\'30\');\n doc.setFontType(\'bold\');\n doc.text(40, 50, name);\n }\n\n if (invoice.image)\n {\n y=130;\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, y);\n }\n\n // add footer \n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setDrawColor(242,101,34);\n doc.setFillColor(242,101,34);\n } \n\n var x1 = 0;//tableLeft-tablePadding ;\n var y1 = 750;\n var w2 = 596;\n var h2 = 94;//doc.internal.getFontSize()*length+length*1.1;//+h;//+tablePadding;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n if (!invoice.is_pro && logoImages.imageLogo3)\n {\n pageHeight=820;\n // var left = 25;//250;//headerRight ;\n y=pageHeight-logoImages.imageLogoHeight3;\n //var headerRight=370;\n\n //var left = headerRight - invoice.imageLogoWidth3;\n doc.addImage(logoImages.imageLogo3, \'JPEG\', 40, y, logoImages.imageLogoWidth3, logoImages.imageLogoHeight3);\n }\n\n doc.setFontSize(10); \n var marginLeft = 340;\n displayAccount(doc, invoice, marginLeft, 780, layout);\n\n\n SetPdfColor(\'White\',doc); \n doc.setFontSize(\'8\');\n var detailsHeight = displayInvoice(doc, invoice, layout.headerRight, layout.accountTop-10, layout);\n layout.headerTop = Math.max(layout.headerTop, detailsHeight + 50);\n layout.tableTop = Math.max(layout.tableTop, detailsHeight + 150);\n\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontSize(7);\n doc.setFontType(\'normal\');\n displayClient(doc, invoice, layout.headerRight, layout.headerTop, layout);\n\n\n \n SetPdfColor(\'White\',doc); \n doc.setFontType(\'bold\');\n\n doc.setLineWidth(0.3);\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n setDocHexDraw(doc, NINJA.secondaryColor);\n } else {\n doc.setDrawColor(63,60,60);\n doc.setFillColor(63,60,60);\n } \n\n var left = layout.marginLeft - layout.tablePadding;\n var top = layout.tableTop - layout.tablePadding;\n var width = layout.marginRight - (2 * layout.tablePadding);\n var height = 20;\n doc.rect(left, top, width, height, \'FD\');\n \n\n displayInvoiceHeader(doc, invoice, layout);\n SetPdfColor(\'Black\',doc);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n\n var height1 = displayNotesAndTerms(doc, layout, invoice, y);\n var height2 = displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n y += Math.max(height1, height2);\n\n\n var left = layout.marginLeft - layout.tablePadding;\n var top = y - layout.tablePadding;\n var width = layout.marginRight - (2 * layout.tablePadding);\n var height = 20;\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n setDocHexDraw(doc, NINJA.secondaryColor);\n } else {\n doc.setDrawColor(63,60,60);\n doc.setFillColor(63,60,60);\n } \n doc.rect(left, top, width, height, \'FD\');\n \n doc.setFontType(\'bold\');\n SetPdfColor(\'White\', doc);\n doc.setFontSize(12);\n \n var label = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var labelX = layout.unitCostRight-(doc.getStringUnitWidth(label) * doc.internal.getFontSize());\n doc.text(labelX, y+2, label);\n\n\n doc.setFontType(\'normal\');\n var amount = formatMoney(invoice.balance_amount , currencyId);\n headerLeft=layout.headerRight+400;\n var amountX = layout.lineTotalRight - (doc.getStringUnitWidth(amount) * doc.internal.getFontSize());\n doc.text(amountX, y+2, amount);','{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80],\"margin\":[0,60,0,30]},{\"stack\":\"$clientDetails\",\"margin\":[0,60,0,0]}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$notFirstAndLastColumn:.5\",\"hLineColor\":\"#888888\",\"vLineColor\":\"#FFFFFF\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"columns\":[{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":26,\"r\":0,\"lineWidth\":1,\"color\":\"$secondaryColor:#403d3d\"}],\"width\":10,\"margin\":[0,10,0,0]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\",\"margin\":[0,16,0,0],\"width\":370},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\",\"margin\":[0,16,8,0]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":100,\"lineColor\":\"$primaryColor:#f26621\"}],\"width\":10},{\"columns\":[{\"width\":350,\"stack\":[{\"text\":\"$invoiceFooter\",\"margin\":[40,-40,40,0],\"alignment\":\"left\",\"color\":\"#FFFFFF\"}]},{\"stack\":\"$accountDetails\",\"margin\":[0,-40,0,0],\"width\":\"*\"},{\"stack\":\"$accountAddress\",\"margin\":[0,-40,0,0],\"width\":\"*\"}]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":200,\"lineColor\":\"$primaryColor:#f26621\"}],\"width\":10},{\"columns\":[{\"text\":\"$accountName\",\"bold\":true,\"font\":\"$headerFont\",\"fontSize\":30,\"color\":\"#ffffff\",\"margin\":[40,20,0,0],\"width\":350}]},{\"width\":300,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[400,-40,0,0]}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountName\":{\"margin\":[4,2,4,2],\"color\":\"$primaryColor:#299CC2\"},\"accountDetails\":{\"margin\":[4,2,4,2],\"color\":\"#FFFFFF\"},\"accountAddress\":{\"margin\":[4,2,4,2],\"color\":\"#FFFFFF\"},\"clientDetails\":{\"margin\":[0,2,4,2]},\"invoiceDetails\":{\"color\":\"#FFFFFF\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"productKey\":{\"bold\":true},\"clientName\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"#FFFFFF\",\"fontSize\":\"$fontSizeLargest\",\"fillColor\":\"$secondaryColor:#403d3d\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"alignment\":\"right\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"bold\":true,\"alignment\":\"right\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"invoiceNumberLabel\":{\"bold\":true},\"invoiceNumber\":{\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,120,40,50]}'),(4,'Plain',' var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id; \n \n layout.accountTop += 25;\n layout.headerTop += 25;\n layout.tableTop += 25;\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', left, 50);\n } \n \n /* table header */\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n \n var detailsHeight = getInvoiceDetailsHeight(invoice, layout);\n var left = layout.headerLeft - layout.tablePadding;\n var top = layout.headerTop + detailsHeight - layout.rowHeight - layout.tablePadding;\n var width = layout.headerRight - layout.headerLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 1;\n doc.rect(left, top, width, height, \'FD\'); \n\n doc.setFontSize(10);\n doc.setFontType(\'normal\');\n\n displayAccount(doc, invoice, layout.marginLeft, layout.accountTop, layout);\n displayClient(doc, invoice, layout.marginLeft, layout.headerTop, layout);\n\n displayInvoice(doc, invoice, layout.headerLeft, layout.headerTop, layout, layout.headerRight);\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (2 * layout.tablePadding));\n\n var headerY = layout.headerTop;\n var total = 0;\n\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n var left = layout.marginLeft - layout.tablePadding;\n var top = layout.tableTop - layout.tablePadding;\n var width = layout.headerRight - layout.marginLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 2;\n doc.rect(left, top, width, height, \'FD\'); \n\n displayInvoiceHeader(doc, invoice, layout);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n doc.setFontSize(10);\n\n displayNotesAndTerms(doc, layout, invoice, y+20);\n\n y += displaySubtotals(doc, layout, invoice, y+20, 480) + 20;\n\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n \n var left = layout.footerLeft - layout.tablePadding;\n var top = y - layout.tablePadding;\n var width = layout.headerRight - layout.footerLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 2;\n doc.rect(left, top, width, height, \'FD\'); \n \n doc.setFontType(\'bold\');\n doc.text(layout.footerLeft, y, invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due);\n\n total = formatMoney(invoice.balance_amount, currencyId);\n var totalX = layout.headerRight - (doc.getStringUnitWidth(total) * doc.internal.getFontSize());\n doc.text(totalX, y, total); \n\n if (!invoice.is_pro) {\n doc.setFontType(\'normal\');\n doc.text(layout.marginLeft, 790, \'Created by InvoiceNinja.com\');\n }','{\"content\":[{\"columns\":[{\"stack\":\"$accountDetails\"},{\"stack\":\"$accountAddress\"},[{\"image\":\"$accountLogo\",\"fit\":[120,80]}]]},{\"columns\":[{\"width\":340,\"stack\":\"$clientDetails\",\"margin\":[0,40,0,0]},{\"width\":200,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#E6E6E6\",\"paddingLeft\":\"$amount:10\",\"paddingRight\":\"$amount:10\"}}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":25,\"r\":0,\"lineWidth\":1,\"color\":\"#e6e6e6\"}],\"width\":10,\"margin\":[0,30,0,-43]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:1\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#e6e6e6\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"width\":160,\"style\":\"subtotals\",\"table\":{\"widths\":[60,60],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:10\",\"paddingRight\":\"$amount:10\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\",\"margin\":[0,0,0,12]}],\"margin\":[40,-20,40,40]},\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"tableHeader\":{\"bold\":true},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,16,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"terms\":{\"margin\":[0,0,20,0]},\"invoiceDetailBalanceDueLabel\":{\"fillColor\":\"#e6e6e6\"},\"invoiceDetailBalanceDue\":{\"fillColor\":\"#e6e6e6\"},\"subtotalsBalanceDueLabel\":{\"fillColor\":\"#e6e6e6\"},\"subtotalsBalanceDue\":{\"fillColor\":\"#e6e6e6\"},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,40,40,60]}'),(5,'Business',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"width\":300,\"stack\":\"$accountDetails\",\"margin\":[140,0,0,0]},{\"width\":150,\"stack\":\"$accountAddress\"}]},{\"columns\":[{\"width\":120,\"stack\":[{\"text\":\"$invoiceIssuedToLabel\",\"style\":\"issuedTo\"},\"$clientDetails\"],\"margin\":[0,20,0,0]},{\"canvas\":[{\"type\":\"rect\",\"x\":20,\"y\":0,\"w\":174,\"h\":\"$invoiceDetailsHeight\",\"r\":10,\"lineWidth\":1,\"color\":\"$primaryColor:#eb792d\"}],\"width\":30,\"margin\":[200,25,0,0]},{\"table\":{\"widths\":[70,76],\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[200,34,0,0]}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":32,\"r\":8,\"lineWidth\":1,\"color\":\"$secondaryColor:#374e6b\"}],\"width\":10,\"margin\":[0,20,0,-45]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:1\",\"vLineWidth\":\"$notFirst:.5\",\"hLineColor\":\"#FFFFFF\",\"vLineColor\":\"#FFFFFF\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:12\"}},{\"columns\":[\"$notesAndTerms\",{\"stack\":[{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"35%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}},{\"canvas\":[{\"type\":\"rect\",\"x\":60,\"y\":20,\"w\":198,\"h\":30,\"r\":7,\"lineWidth\":1,\"color\":\"$secondaryColor:#374e6b\"}]},{\"style\":\"subtotalsBalance\",\"table\":{\"widths\":[\"*\",\"45%\"],\"body\":\"$subtotalsBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountName\":{\"bold\":true},\"accountDetails\":{\"color\":\"#AAA9A9\",\"margin\":[0,2,0,1]},\"accountAddress\":{\"color\":\"#AAA9A9\",\"margin\":[0,2,0,1]},\"even\":{\"fillColor\":\"#E8E8E8\"},\"odd\":{\"fillColor\":\"#F7F7F7\"},\"productKey\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#ffffff\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true,\"color\":\"#ffffff\",\"alignment\":\"right\",\"noWrap\":true},\"invoiceDetails\":{\"color\":\"#ffffff\"},\"tableHeader\":{\"color\":\"#ffffff\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"secondTableHeader\":{\"color\":\"$secondaryColor:#374e6b\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"issuedTo\":{\"margin\":[0,2,0,1],\"bold\":true,\"color\":\"#374e6b\"},\"clientDetails\":{\"margin\":[0,2,0,1]},\"clientName\":{\"color\":\"$primaryColor:#eb792d\"},\"invoiceLineItemsTable\":{\"margin\":[0,10,0,10]},\"invoiceDetailsValue\":{\"alignment\":\"right\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"subtotalsBalance\":{\"alignment\":\"right\",\"margin\":[0,-25,0,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40]}'),(6,'Creative',NULL,'{\"content\":[{\"columns\":[{\"stack\":\"$clientDetails\"},{\"stack\":\"$accountDetails\"},{\"stack\":\"$accountAddress\"},{\"image\":\"$accountLogo\",\"fit\":[120,80],\"alignment\":\"right\"}],\"margin\":[0,0,0,20]},{\"columns\":[{\"text\":[{\"text\":\"$entityTypeUC\",\"style\":\"header1\"},{\"text\":\" #\",\"style\":\"header2\"},{\"text\":\"$invoiceNumber\",\"style\":\"header2\"}],\"width\":\"*\"},{\"width\":200,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[16,4,0,0]}],\"margin\":[0,0,0,20]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":3,\"lineColor\":\"$primaryColor:#AE1E54\"}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"hLineColor\":\"$primaryColor:#E8E8E8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":3,\"lineColor\":\"$primaryColor:#AE1E54\"}],\"margin\":[0,-8,0,-8]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\"},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\"},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#AE1E54\"},\"accountName\":{\"margin\":[4,2,4,2],\"color\":\"$primaryColor:#AE1E54\",\"bold\":true},\"accountDetails\":{\"margin\":[4,2,4,2]},\"accountAddress\":{\"margin\":[4,2,4,2]},\"odd\":{\"fillColor\":\"#F4F4F4\"},\"productKey\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"margin\":[320,20,0,0]},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#AE1E54\",\"bold\":true,\"margin\":[0,-10,10,0],\"alignment\":\"right\"},\"invoiceDetailBalanceDue\":{\"bold\":true,\"color\":\"$primaryColor:#AE1E54\"},\"invoiceDetailBalanceDueLabel\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"$primaryColor:#AE1E54\",\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"clientName\":{\"bold\":true},\"clientDetails\":{\"margin\":[0,2,0,1]},\"header1\":{\"bold\":true,\"margin\":[0,30,0,16],\"fontSize\":42},\"header2\":{\"margin\":[0,30,0,16],\"fontSize\":42,\"italics\":true,\"color\":\"$primaryColor:#AE1E54\"},\"invoiceLineItemsTable\":{\"margin\":[0,4,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40]}'),(7,'Elegant',NULL,'{\"content\":[{\"image\":\"$accountLogo\",\"fit\":[120,80],\"alignment\":\"center\",\"margin\":[0,0,0,30]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":2}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":3,\"x2\":515,\"y2\":3,\"lineWidth\":1}]},{\"columns\":[{\"width\":120,\"stack\":[{\"text\":\"$invoiceToLabel\",\"style\":\"header\",\"margin\":[0,0,0,6]},\"$clientDetails\"]},{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":-2,\"y1\":18,\"x2\":-2,\"y2\":80,\"lineWidth\":1,\"dash\":{\"length\":2}}]},{\"width\":120,\"stack\":\"$accountDetails\",\"margin\":[0,20,0,0]},{\"width\":110,\"stack\":\"$accountAddress\",\"margin\":[0,20,0,0]},{\"stack\":[{\"text\":\"$detailsLabel\",\"style\":\"header\",\"margin\":[0,0,0,6]},{\"width\":180,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\"}]}],\"margin\":[0,20,0,0]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:12\"}},{\"columns\":[\"$notesAndTerms\",{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"canvas\":[{\"type\":\"line\",\"x1\":270,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":1,\"dash\":{\"length\":2}}]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\"},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\"},{\"canvas\":[{\"type\":\"line\",\"x1\":270,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":1,\"dash\":{\"length\":2}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},{\"canvas\":[{\"type\":\"line\",\"x1\":35,\"y1\":5,\"x2\":555,\"y2\":5,\"lineWidth\":2,\"margin\":[30,0,0,0]}]},{\"canvas\":[{\"type\":\"line\",\"x1\":35,\"y1\":3,\"x2\":555,\"y2\":3,\"lineWidth\":1,\"margin\":[30,0,0,0]}]}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountDetails\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientName\":{\"bold\":true},\"accountName\":{\"bold\":true},\"odd\":{},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#5a7b61\",\"margin\":[320,20,0,0]},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#5a7b61\",\"style\":true,\"margin\":[0,-14,8,0],\"alignment\":\"right\"},\"invoiceDetailBalanceDue\":{\"color\":\"$primaryColor:#5a7b61\",\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"header\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"$primaryColor:#5a7b61\",\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,40,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40]}'),(8,'Hipster',NULL,'{\"content\":[{\"columns\":[{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":0,\"y2\":75,\"lineWidth\":0.5}]},{\"width\":120,\"stack\":[{\"text\":\"$fromLabelUC\",\"style\":\"fromLabel\"},\"$accountDetails\"]},{\"width\":120,\"stack\":[{\"text\":\" \"},\"$accountAddress\"],\"margin\":[10,0,0,16]},{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":0,\"y2\":75,\"lineWidth\":0.5}]},{\"stack\":[{\"text\":\"$toLabelUC\",\"style\":\"toLabel\"},\"$clientDetails\"]},[{\"image\":\"$accountLogo\",\"fit\":[120,80]}]]},{\"text\":\"$entityTypeUC\",\"margin\":[0,4,0,8],\"bold\":\"true\",\"fontSize\":42},{\"columnGap\":16,\"columns\":[{\"width\":\"auto\",\"text\":[\"$invoiceNoLabel\",\" \",\"$invoiceNumberValue\"],\"bold\":true,\"color\":\"$primaryColor:#bc9f2b\",\"fontSize\":10},{\"width\":\"auto\",\"text\":[\"$invoiceDateLabel\",\" \",\"$invoiceDateValue\"],\"fontSize\":10},{\"width\":\"auto\",\"text\":[\"$dueDateLabel?\",\" \",\"$dueDateValue\"],\"fontSize\":10},{\"width\":\"*\",\"text\":[\"$balanceDueLabel\",\" \",{\"text\":\"$balanceDue\",\"bold\":true,\"color\":\"$primaryColor:#bc9f2b\"}],\"fontSize\":10}]},{\"margin\":[0,26,0,0],\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$amount:.5\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[{\"stack\":\"$notesAndTerms\",\"width\":\"*\",\"margin\":[0,12,0,0]},{\"width\":200,\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"36%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$notFirst:.5\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountName\":{\"bold\":true},\"clientName\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"fromLabel\":{\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"toLabel\":{\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,16,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40]}'),(9,'Playful',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":190,\"h\":\"$invoiceDetailsHeight\",\"r\":5,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}],\"width\":10,\"margin\":[200,0,0,0]},{\"width\":400,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[210,10,10,0]}]},{\"margin\":[0,18,0,0],\"columnGap\":50,\"columns\":[{\"width\":212,\"stack\":[{\"text\":\"$invoiceToLabel:\",\"style\":\"toLabel\"},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":4,\"x2\":150,\"y2\":4,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}],\"margin\":[0,0,0,4]},\"$clientDetails\",{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":9,\"x2\":150,\"y2\":9,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}]}]},{\"width\":\"*\",\"stack\":[{\"text\":\"$fromLabel:\",\"style\":\"fromLabel\"},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":4,\"x2\":250,\"y2\":4,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}],\"margin\":[0,0,0,4]},{\"columns\":[\"$accountDetails\",\"$accountAddress\"],\"columnGap\":4},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":9,\"x2\":250,\"y2\":9,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}]}]}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":35,\"r\":6,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}],\"width\":10,\"margin\":[0,30,0,-30]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"$primaryColor:#009d91\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"stack\":[{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"35%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}},{\"canvas\":[{\"type\":\"rect\",\"x\":50,\"y\":20,\"w\":208,\"h\":30,\"r\":4,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}]},{\"style\":\"subtotalsBalance\",\"table\":{\"widths\":[\"*\",\"50%\"],\"body\":\"$subtotalsBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":38,\"x2\":68,\"y2\":38,\"lineWidth\":6,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":68,\"y1\":0,\"x2\":135,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#1d766f\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":135,\"y1\":0,\"x2\":201,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":201,\"y1\":0,\"x2\":267,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#bf9730\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":267,\"y1\":0,\"x2\":333,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ac2b50\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":333,\"y1\":0,\"x2\":399,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#e60042\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":399,\"y1\":0,\"x2\":465,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":465,\"y1\":0,\"x2\":532,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":532,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ac2b50\"}]},{\"text\":\"$invoiceFooter\",\"alignment\":\"left\",\"margin\":[40,-60,40,0]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":68,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":68,\"y1\":0,\"x2\":135,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#1d766f\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":135,\"y1\":0,\"x2\":201,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":201,\"y1\":0,\"x2\":267,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#bf9730\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":267,\"y1\":0,\"x2\":333,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ac2b50\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":333,\"y1\":0,\"x2\":399,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#e60042\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":399,\"y1\":0,\"x2\":465,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":465,\"y1\":0,\"x2\":532,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":532,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ac2b50\"}]}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountName\":{\"color\":\"$secondaryColor:#bb3328\"},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"clientName\":{\"color\":\"$secondaryColor:#bb3328\"},\"even\":{\"fillColor\":\"#E8E8E8\"},\"odd\":{\"fillColor\":\"#F7F7F7\"},\"productKey\":{\"color\":\"$secondaryColor:#bb3328\"},\"lineTotal\":{\"alignment\":\"right\"},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\"},\"secondTableHeader\":{\"color\":\"$primaryColor:#009d91\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true,\"color\":\"#FFFFFF\",\"alignment\":\"right\"},\"invoiceDetails\":{\"color\":\"#FFFFFF\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"invoiceDetailBalanceDueLabel\":{\"bold\":true},\"invoiceDetailBalanceDue\":{\"bold\":true},\"fromLabel\":{\"color\":\"$primaryColor:#009d91\"},\"toLabel\":{\"color\":\"$primaryColor:#009d91\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"subtotalsBalance\":{\"alignment\":\"right\",\"margin\":[0,-25,0,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40]}'),(10,'Photo',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"text\":\"\",\"width\":\"*\"},{\"width\":180,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\"}]},{\"image\":\"data:image\\/jpeg;base64,\\/9j\\/4AAQSkZJRgABAQEAYABgAAD\\/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT\\/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT\\/wAARCAEZA4QDASIAAhEBAxEB\\/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL\\/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6\\/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL\\/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6\\/9oADAMBAAIRAxEAPwD0kT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sckgVxgwA3XpUz\\/AH3+pqB\\/utQA4Z7dugpSdx6A\\/WiP7zf71NX\\/AFRoAVBxjdjNBAXnrnj6Ui9D9aaPvPQBICe\\/b8BSEgEUkP8Aqm+n+NK33Y\\/92gA6ZBwTU0UZJxkHnAJqKTr\\/AMCP8qsfwxUAV5TukLYzRjpnIB5pF7fj\\/OkXt9aAHA8E9R3NNbOBhvwpZP8AGkfr+VAChRjII4PSjbk5J59qdH99Poak7r9KAIQCM59PWgjBHPFKP9bSS\\/w\\/73+FAAM5PqfT2pV9DwfY0qfeP+e1MX7rfUUAOLYIPB9c0NkdecUR\\/wAX1pF+6n0\\/pQAp7dCaQ4PUjPapE\\/1R+n+FQDqfoKAJQFyc+mc0Ke2CSfWkbt9KkH3V+tAERIz19hThg4PUUxfut9TUif6pP896AEHfnt2pyg99uT396IfvP9f8Klj\\/AIv9+gCuMhvQZqRSMcd+oph6r\\/u\\/1p9v\\/q2+tAEsibogxIHHJFV0J3A8881ZH\\/Hoah\\/5aH8aAOy8PzxtbhWxv96vahZbmVh0B\\/Wue8Nf6411d32\\/36APU\\/hTdCPSriHJwBkD07196\\/CW6W68MWbfeIjHJ+lfn98Kf9VP\\/uj+tfePwS\\/5FK2\\/3F\\/kK5avRm0D0URbucgfjRUbfeNFcxrc\\/9k=\",\"margin\":[-40,16,0,0],\"width\":595},{\"margin\":[-20,-150,0,0],\"columnGap\":8,\"columns\":[{\"width\":\"auto\",\"text\":\"$toLabel:\",\"style\":\"bold\",\"color\":\"#cd5138\"},{\"width\":\"*\",\"stack\":\"$clientDetails\",\"margin\":[4,0,0,0]}]},{\"margin\":[-20,10,0,140],\"columnGap\":8,\"columns\":[{\"width\":\"auto\",\"text\":\"$fromLabel:\",\"style\":\"bold\",\"color\":\"#cd5138\"},{\"width\":\"*\",\"stack\":[{\"width\":150,\"stack\":\"$accountDetails\"},{\"width\":150,\"stack\":\"$accountAddress\"}]}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":1.5}],\"margin\":[0,0,0,-30]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#000000\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:10\",\"paddingBottom\":\"$amount:10\"}},{\"columns\":[\"$notesAndTerms\",{\"alignment\":\"right\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"styles\":{\"accountDetails\":{\"margin\":[0,0,0,3]},\"accountAddress\":{\"margin\":[0,0,0,3]},\"clientDetails\":{\"margin\":[0,0,0,3]},\"productKey\":{\"color\":\"$primaryColor:#cd5138\"},\"lineTotal\":{\"alignment\":\"right\"},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLarger\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\"},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#cd5138\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,30,40,30]}'),(11,'Custom1',NULL,NULL),(12,'Custom2',NULL,NULL),(13,'Custom3',NULL,NULL); +INSERT INTO `invoice_designs` VALUES (1,'Clean','var GlobalY=0;//Y position of line at current page\n\n var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 550;\n layout.rowHeight = 15;\n\n doc.setFontSize(9);\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, 30);\n }\n \n if (!invoice.is_pro && logoImages.imageLogo1)\n {\n pageHeight=820;\n y=pageHeight-logoImages.imageLogoHeight1;\n doc.addImage(logoImages.imageLogo1, \'JPEG\', layout.marginLeft, y, logoImages.imageLogoWidth1, logoImages.imageLogoHeight1);\n }\n\n doc.setFontSize(9);\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n displayAccount(doc, invoice, 220, layout.accountTop, layout);\n\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n doc.setFontSize(\'11\');\n doc.text(50, layout.headerTop, (invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice).toUpperCase());\n\n\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontSize(9);\n\n var invoiceHeight = displayInvoice(doc, invoice, 50, 170, layout);\n var clientHeight = displayClient(doc, invoice, 220, 170, layout);\n var detailsHeight = Math.max(invoiceHeight, clientHeight);\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (3 * layout.rowHeight));\n \n doc.setLineWidth(0.3); \n doc.setDrawColor(200,200,200);\n doc.line(layout.marginLeft - layout.tablePadding, layout.headerTop + 6, layout.marginRight + layout.tablePadding, layout.headerTop + 6);\n doc.line(layout.marginLeft - layout.tablePadding, layout.headerTop + detailsHeight + 14, layout.marginRight + layout.tablePadding, layout.headerTop + detailsHeight + 14);\n\n doc.setFontSize(10);\n doc.setFontType(\'bold\');\n displayInvoiceHeader(doc, invoice, layout);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n doc.setFontSize(9);\n doc.setFontType(\'bold\');\n\n GlobalY=GlobalY+25;\n\n\n doc.setLineWidth(0.3);\n doc.setDrawColor(241,241,241);\n doc.setFillColor(241,241,241);\n var x1 = layout.marginLeft - 12;\n var y1 = GlobalY-layout.tablePadding;\n\n var w2 = 510 + 24;\n var h2 = doc.internal.getFontSize()*3+layout.tablePadding*2;\n\n if (invoice.discount) {\n h2 += doc.internal.getFontSize()*2;\n }\n if (invoice.tax_amount) {\n h2 += doc.internal.getFontSize()*2;\n }\n\n //doc.rect(x1, y1, w2, h2, \'FD\');\n\n doc.setFontSize(9);\n displayNotesAndTerms(doc, layout, invoice, y);\n y += displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n\n\n doc.setFontSize(10);\n Msg = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var TmpMsgX = layout.unitCostRight-(doc.getStringUnitWidth(Msg) * doc.internal.getFontSize());\n \n doc.text(TmpMsgX, y, Msg);\n\n SetPdfColor(\'LightBlue\', doc, \'primary\');\n AmountText = formatMoney(invoice.balance_amount, currencyId);\n headerLeft=layout.headerRight+400;\n var AmountX = layout.lineTotalRight - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());\n doc.text(AmountX, y, AmountText);','{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"stack\":\"$accountDetails\",\"margin\":[7,0,0,0]},{\"stack\":\"$accountAddress\"}]},{\"text\":\"$entityTypeUC\",\"margin\":[8,30,8,5],\"style\":\"entityTypeLabel\"},{\"table\":{\"headerRows\":1,\"widths\":[\"auto\",\"auto\",\"*\"],\"body\":[[{\"table\":{\"body\":\"$invoiceDetails\"},\"margin\":[0,0,12,0],\"layout\":\"noBorders\"},{\"stack\":\"$clientDetails\"},{\"text\":\"\"}]]},\"layout\":{\"hLineWidth\":\"$firstAndLast:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#D8D8D8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:6\",\"paddingBottom\":\"$amount:6\"}},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#D8D8D8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:14\",\"paddingBottom\":\"$amount:14\"}},{\"columns\":[\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"styles\":{\"entityTypeLabel\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#37a3c6\"},\"primaryColor\":{\"color\":\"$primaryColor:#37a3c6\"},\"accountName\":{\"color\":\"$primaryColor:#37a3c6\",\"bold\":true},\"invoiceDetails\":{\"margin\":[0,0,8,0]},\"accountDetails\":{\"margin\":[0,2,0,2]},\"clientDetails\":{\"margin\":[0,2,0,2]},\"notesAndTerms\":{\"margin\":[0,2,0,2]},\"accountAddress\":{\"margin\":[0,2,0,2]},\"odd\":{\"fillColor\":\"#fbfbfb\"},\"productKey\":{\"color\":\"$primaryColor:#37a3c6\",\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLarger\"},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLarger\",\"color\":\"$primaryColor:#37a3c6\"},\"invoiceNumber\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLarger\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,16,0,16]},\"clientName\":{\"bold\":true},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,40,40,60],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(2,'Bold',' var GlobalY=0;//Y position of line at current page\n\n var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 150;\n layout.rowHeight = 15;\n layout.headerTop = 125;\n layout.tableTop = 300;\n\n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setFillColor(46,43,43);\n } \n\n var x1 =0;\n var y1 = 0;\n var w2 = 595;\n var h2 = 100;\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, 30);\n }\n\n doc.setLineWidth(0.5);\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setFillColor(46,43,43);\n doc.setDrawColor(46,43,43);\n } \n\n // return doc.setTextColor(240,240,240);//select color Custom Report GRAY Colour\n var x1 = 0;//tableLeft-tablePadding ;\n var y1 = 750;\n var w2 = 596;\n var h2 = 94;//doc.internal.getFontSize()*length+length*1.1;//+h;//+tablePadding;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n if (!invoice.is_pro && logoImages.imageLogo2)\n {\n pageHeight=820;\n var left = 250;//headerRight ;\n y=pageHeight-logoImages.imageLogoHeight2;\n var headerRight=370;\n\n var left = headerRight - logoImages.imageLogoWidth2;\n doc.addImage(logoImages.imageLogo2, \'JPEG\', left, y, logoImages.imageLogoWidth2, logoImages.imageLogoHeight2);\n }\n\n doc.setFontSize(7);\n doc.setFontType(\'bold\');\n SetPdfColor(\'White\',doc);\n\n displayAccount(doc, invoice, 300, layout.accountTop, layout);\n\n\n var y = layout.accountTop;\n var left = layout.marginLeft;\n var headerY = layout.headerTop;\n\n SetPdfColor(\'GrayLogo\',doc); //set black color\n doc.setFontSize(7);\n\n //show left column\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontType(\'normal\');\n\n //publish filled box\n doc.setDrawColor(200,200,200);\n\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n } else {\n doc.setFillColor(54,164,152); \n } \n\n GlobalY=190;\n doc.setLineWidth(0.5);\n\n var BlockLenght=220;\n var x1 =595-BlockLenght;\n var y1 = GlobalY-12;\n var w2 = BlockLenght;\n var h2 = getInvoiceDetailsHeight(invoice, layout) + layout.tablePadding + 2;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n SetPdfColor(\'SomeGreen\', doc, \'secondary\');\n doc.setFontSize(\'14\');\n doc.setFontType(\'bold\');\n doc.text(50, GlobalY, (invoice.is_quote ? invoiceLabels.your_quote : invoiceLabels.your_invoice).toUpperCase());\n\n\n var z=GlobalY;\n z=z+30;\n\n doc.setFontSize(\'8\'); \n SetPdfColor(\'Black\',doc); \n var clientHeight = displayClient(doc, invoice, layout.marginLeft, z, layout);\n layout.tableTop += Math.max(0, clientHeight - 75);\n marginLeft2=395;\n\n //publish left side information\n SetPdfColor(\'White\',doc);\n doc.setFontSize(\'8\');\n var detailsHeight = displayInvoice(doc, invoice, marginLeft2, z-25, layout) + 75;\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (2 * layout.tablePadding));\n\n y=z+60;\n x = GlobalY + 100;\n doc.setFontType(\'bold\');\n\n doc.setFontSize(12);\n doc.setFontType(\'bold\');\n SetPdfColor(\'Black\',doc);\n displayInvoiceHeader(doc, invoice, layout);\n\n var y = displayInvoiceItems(doc, invoice, layout);\n doc.setLineWidth(0.3);\n displayNotesAndTerms(doc, layout, invoice, y);\n y += displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n\n doc.setFontType(\'bold\');\n\n doc.setFontSize(12);\n x += doc.internal.getFontSize()*4;\n Msg = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var TmpMsgX = layout.unitCostRight-(doc.getStringUnitWidth(Msg) * doc.internal.getFontSize());\n\n doc.text(TmpMsgX, y, Msg);\n\n //SetPdfColor(\'LightBlue\',doc);\n AmountText = formatMoney(invoice.balance_amount , currencyId);\n headerLeft=layout.headerRight+400;\n var AmountX = headerLeft - (doc.getStringUnitWidth(AmountText) * doc.internal.getFontSize());\n SetPdfColor(\'SomeGreen\', doc, \'secondary\');\n doc.text(AmountX, y, AmountText);','{\"content\":[{\"columns\":[{\"width\":380,\"stack\":[{\"text\":\"$yourInvoiceLabelUC\",\"style\":\"yourInvoice\"},\"$clientDetails\"],\"margin\":[60,100,0,10]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":225,\"h\":\"$invoiceDetailsHeight\",\"r\":0,\"lineWidth\":1,\"color\":\"$primaryColor:#36a498\"}],\"width\":10,\"margin\":[-10,100,0,10]},{\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[0,110,0,0]}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:14\",\"paddingBottom\":\"$amount:14\"}},{\"columns\":[{\"width\":46,\"text\":\" \"},\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":100,\"lineColor\":\"$secondaryColor:#292526\"}]},{\"columns\":[{\"text\":\"$invoiceFooter\",\"margin\":[40,-40,40,0],\"alignment\":\"left\",\"color\":\"#FFFFFF\"}]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":200,\"lineColor\":\"$secondaryColor:#292526\"}],\"width\":10},{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,60],\"margin\":[30,16,0,0]},{\"stack\":\"$accountDetails\",\"margin\":[0,16,0,0],\"width\":140},{\"stack\":\"$accountAddress\",\"margin\":[20,16,0,0]}]}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#36a498\"},\"accountName\":{\"bold\":true,\"margin\":[4,2,4,1],\"color\":\"$primaryColor:#36a498\"},\"accountDetails\":{\"margin\":[4,2,4,1],\"color\":\"#FFFFFF\"},\"accountAddress\":{\"margin\":[4,2,4,1],\"color\":\"#FFFFFF\"},\"clientDetails\":{\"margin\":[0,2,0,1]},\"odd\":{\"fillColor\":\"#ebebeb\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#36a498\",\"bold\":true},\"invoiceDetails\":{\"color\":\"#ffffff\"},\"invoiceNumber\":{\"bold\":true},\"tableHeader\":{\"fontSize\":12,\"bold\":true},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\",\"margin\":[0,0,40,0]},\"firstColumn\":{\"margin\":[40,0,0,0]},\"lastColumn\":{\"margin\":[0,0,40,0]},\"productKey\":{\"color\":\"$primaryColor:#36a498\",\"bold\":true},\"yourInvoice\":{\"font\":\"$headerFont\",\"bold\":true,\"fontSize\":14,\"color\":\"$primaryColor:#36a498\",\"margin\":[0,0,0,8]},\"invoiceLineItemsTable\":{\"margin\":[0,26,0,16]},\"clientName\":{\"bold\":true},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\",\"margin\":[0,0,40,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[47,0,47,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[0,80,0,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(3,'Modern',' var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id;\n\n layout.headerRight = 400;\n layout.rowHeight = 15;\n\n\n doc.setFontSize(7);\n\n // add header\n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setDrawColor(242,101,34);\n doc.setFillColor(242,101,34);\n } \n\n var x1 =0;\n var y1 = 0;\n var w2 = 595;\n var h2 = Math.max(110, getInvoiceDetailsHeight(invoice, layout) + 30);\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n SetPdfColor(\'White\',doc);\n\n //second column\n doc.setFontType(\'bold\');\n var name = invoice.account.name; \n if (name) {\n doc.setFontSize(\'30\');\n doc.setFontType(\'bold\');\n doc.text(40, 50, name);\n }\n\n if (invoice.image)\n {\n y=130;\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', layout.marginLeft, y);\n }\n\n // add footer \n doc.setLineWidth(0.5);\n\n if (NINJA.primaryColor) {\n setDocHexFill(doc, NINJA.primaryColor);\n setDocHexDraw(doc, NINJA.primaryColor);\n } else {\n doc.setDrawColor(242,101,34);\n doc.setFillColor(242,101,34);\n } \n\n var x1 = 0;//tableLeft-tablePadding ;\n var y1 = 750;\n var w2 = 596;\n var h2 = 94;//doc.internal.getFontSize()*length+length*1.1;//+h;//+tablePadding;\n\n doc.rect(x1, y1, w2, h2, \'FD\');\n\n if (!invoice.is_pro && logoImages.imageLogo3)\n {\n pageHeight=820;\n // var left = 25;//250;//headerRight ;\n y=pageHeight-logoImages.imageLogoHeight3;\n //var headerRight=370;\n\n //var left = headerRight - invoice.imageLogoWidth3;\n doc.addImage(logoImages.imageLogo3, \'JPEG\', 40, y, logoImages.imageLogoWidth3, logoImages.imageLogoHeight3);\n }\n\n doc.setFontSize(10); \n var marginLeft = 340;\n displayAccount(doc, invoice, marginLeft, 780, layout);\n\n\n SetPdfColor(\'White\',doc); \n doc.setFontSize(\'8\');\n var detailsHeight = displayInvoice(doc, invoice, layout.headerRight, layout.accountTop-10, layout);\n layout.headerTop = Math.max(layout.headerTop, detailsHeight + 50);\n layout.tableTop = Math.max(layout.tableTop, detailsHeight + 150);\n\n SetPdfColor(\'Black\',doc); //set black color\n doc.setFontSize(7);\n doc.setFontType(\'normal\');\n displayClient(doc, invoice, layout.headerRight, layout.headerTop, layout);\n\n\n \n SetPdfColor(\'White\',doc); \n doc.setFontType(\'bold\');\n\n doc.setLineWidth(0.3);\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n setDocHexDraw(doc, NINJA.secondaryColor);\n } else {\n doc.setDrawColor(63,60,60);\n doc.setFillColor(63,60,60);\n } \n\n var left = layout.marginLeft - layout.tablePadding;\n var top = layout.tableTop - layout.tablePadding;\n var width = layout.marginRight - (2 * layout.tablePadding);\n var height = 20;\n doc.rect(left, top, width, height, \'FD\');\n \n\n displayInvoiceHeader(doc, invoice, layout);\n SetPdfColor(\'Black\',doc);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n\n var height1 = displayNotesAndTerms(doc, layout, invoice, y);\n var height2 = displaySubtotals(doc, layout, invoice, y, layout.unitCostRight);\n y += Math.max(height1, height2);\n\n\n var left = layout.marginLeft - layout.tablePadding;\n var top = y - layout.tablePadding;\n var width = layout.marginRight - (2 * layout.tablePadding);\n var height = 20;\n if (NINJA.secondaryColor) {\n setDocHexFill(doc, NINJA.secondaryColor);\n setDocHexDraw(doc, NINJA.secondaryColor);\n } else {\n doc.setDrawColor(63,60,60);\n doc.setFillColor(63,60,60);\n } \n doc.rect(left, top, width, height, \'FD\');\n \n doc.setFontType(\'bold\');\n SetPdfColor(\'White\', doc);\n doc.setFontSize(12);\n \n var label = invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due;\n var labelX = layout.unitCostRight-(doc.getStringUnitWidth(label) * doc.internal.getFontSize());\n doc.text(labelX, y+2, label);\n\n\n doc.setFontType(\'normal\');\n var amount = formatMoney(invoice.balance_amount , currencyId);\n headerLeft=layout.headerRight+400;\n var amountX = layout.lineTotalRight - (doc.getStringUnitWidth(amount) * doc.internal.getFontSize());\n doc.text(amountX, y+2, amount);','{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80],\"margin\":[0,60,0,30]},{\"stack\":\"$clientDetails\",\"margin\":[0,60,0,0]}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$notFirstAndLastColumn:.5\",\"hLineColor\":\"#888888\",\"vLineColor\":\"#FFFFFF\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"columns\":[{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":26,\"r\":0,\"lineWidth\":1,\"color\":\"$secondaryColor:#403d3d\"}],\"width\":10,\"margin\":[0,10,0,0]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\",\"margin\":[0,16,0,0],\"width\":370},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\",\"margin\":[0,16,8,0]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":100,\"lineColor\":\"$primaryColor:#f26621\"}],\"width\":10},{\"columns\":[{\"width\":350,\"stack\":[{\"text\":\"$invoiceFooter\",\"margin\":[40,-40,40,0],\"alignment\":\"left\",\"color\":\"#FFFFFF\"}]},{\"stack\":\"$accountDetails\",\"margin\":[0,-40,0,0],\"width\":\"*\"},{\"stack\":\"$accountAddress\",\"margin\":[0,-40,0,0],\"width\":\"*\"}]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":200,\"lineColor\":\"$primaryColor:#f26621\"}],\"width\":10},{\"columns\":[{\"text\":\"$accountName\",\"bold\":true,\"font\":\"$headerFont\",\"fontSize\":30,\"color\":\"#ffffff\",\"margin\":[40,20,0,0],\"width\":350}]},{\"width\":300,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[400,-40,0,0]}],\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountName\":{\"margin\":[4,2,4,2],\"color\":\"$primaryColor:#299CC2\"},\"accountDetails\":{\"margin\":[4,2,4,2],\"color\":\"#FFFFFF\"},\"accountAddress\":{\"margin\":[4,2,4,2],\"color\":\"#FFFFFF\"},\"clientDetails\":{\"margin\":[0,2,4,2]},\"invoiceDetails\":{\"color\":\"#FFFFFF\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"productKey\":{\"bold\":true},\"clientName\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"#FFFFFF\",\"fontSize\":\"$fontSizeLargest\",\"fillColor\":\"$secondaryColor:#403d3d\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"alignment\":\"right\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"bold\":true,\"alignment\":\"right\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"invoiceNumberLabel\":{\"bold\":true},\"invoiceNumber\":{\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,120,40,50],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(4,'Plain',' var client = invoice.client;\n var account = invoice.account;\n var currencyId = client.currency_id; \n \n layout.accountTop += 25;\n layout.headerTop += 25;\n layout.tableTop += 25;\n\n if (invoice.image)\n {\n var left = layout.headerRight - invoice.imageWidth;\n doc.addImage(invoice.image, \'JPEG\', left, 50);\n } \n \n /* table header */\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n \n var detailsHeight = getInvoiceDetailsHeight(invoice, layout);\n var left = layout.headerLeft - layout.tablePadding;\n var top = layout.headerTop + detailsHeight - layout.rowHeight - layout.tablePadding;\n var width = layout.headerRight - layout.headerLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 1;\n doc.rect(left, top, width, height, \'FD\'); \n\n doc.setFontSize(10);\n doc.setFontType(\'normal\');\n\n displayAccount(doc, invoice, layout.marginLeft, layout.accountTop, layout);\n displayClient(doc, invoice, layout.marginLeft, layout.headerTop, layout);\n\n displayInvoice(doc, invoice, layout.headerLeft, layout.headerTop, layout, layout.headerRight);\n layout.tableTop = Math.max(layout.tableTop, layout.headerTop + detailsHeight + (2 * layout.tablePadding));\n\n var headerY = layout.headerTop;\n var total = 0;\n\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n var left = layout.marginLeft - layout.tablePadding;\n var top = layout.tableTop - layout.tablePadding;\n var width = layout.headerRight - layout.marginLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 2;\n doc.rect(left, top, width, height, \'FD\'); \n\n displayInvoiceHeader(doc, invoice, layout);\n var y = displayInvoiceItems(doc, invoice, layout);\n\n doc.setFontSize(10);\n\n displayNotesAndTerms(doc, layout, invoice, y+20);\n\n y += displaySubtotals(doc, layout, invoice, y+20, 480) + 20;\n\n doc.setDrawColor(200,200,200);\n doc.setFillColor(230,230,230);\n \n var left = layout.footerLeft - layout.tablePadding;\n var top = y - layout.tablePadding;\n var width = layout.headerRight - layout.footerLeft + (2 * layout.tablePadding);\n var height = layout.rowHeight + 2;\n doc.rect(left, top, width, height, \'FD\'); \n \n doc.setFontType(\'bold\');\n doc.text(layout.footerLeft, y, invoice.is_quote ? invoiceLabels.total : invoiceLabels.balance_due);\n\n total = formatMoney(invoice.balance_amount, currencyId);\n var totalX = layout.headerRight - (doc.getStringUnitWidth(total) * doc.internal.getFontSize());\n doc.text(totalX, y, total); \n\n if (!invoice.is_pro) {\n doc.setFontType(\'normal\');\n doc.text(layout.marginLeft, 790, \'Created by InvoiceNinja.com\');\n }','{\"content\":[{\"columns\":[{\"stack\":\"$accountDetails\"},{\"stack\":\"$accountAddress\"},[{\"image\":\"$accountLogo\",\"fit\":[120,80]}]]},{\"columns\":[{\"width\":340,\"stack\":\"$clientDetails\",\"margin\":[0,40,0,0]},{\"width\":200,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#E6E6E6\",\"paddingLeft\":\"$amount:10\",\"paddingRight\":\"$amount:10\"}}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":25,\"r\":0,\"lineWidth\":1,\"color\":\"#e6e6e6\"}],\"width\":10,\"margin\":[0,30,0,-43]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:1\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#e6e6e6\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"width\":160,\"style\":\"subtotals\",\"table\":{\"widths\":[60,60],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:10\",\"paddingRight\":\"$amount:10\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\",\"margin\":[0,0,0,12]}],\"margin\":[40,-20,40,40]},\"defaultStyle\":{\"font\":\"$bodyFont\",\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"tableHeader\":{\"bold\":true},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,16,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"terms\":{\"margin\":[0,0,20,0]},\"invoiceDetailBalanceDueLabel\":{\"fillColor\":\"#e6e6e6\"},\"invoiceDetailBalanceDue\":{\"fillColor\":\"#e6e6e6\"},\"subtotalsBalanceDueLabel\":{\"fillColor\":\"#e6e6e6\"},\"subtotalsBalanceDue\":{\"fillColor\":\"#e6e6e6\"},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"},\"invoiceDocuments\":{\"margin\":[7,0,7,0]},\"invoiceDocument\":{\"margin\":[0,10,0,10]}},\"pageMargins\":[40,40,40,60],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(5,'Business',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"width\":300,\"stack\":\"$accountDetails\",\"margin\":[140,0,0,0]},{\"width\":150,\"stack\":\"$accountAddress\"}]},{\"columns\":[{\"width\":120,\"stack\":[{\"text\":\"$invoiceIssuedToLabel\",\"style\":\"issuedTo\"},\"$clientDetails\"],\"margin\":[0,20,0,0]},{\"canvas\":[{\"type\":\"rect\",\"x\":20,\"y\":0,\"w\":174,\"h\":\"$invoiceDetailsHeight\",\"r\":10,\"lineWidth\":1,\"color\":\"$primaryColor:#eb792d\"}],\"width\":30,\"margin\":[200,25,0,0]},{\"table\":{\"widths\":[70,76],\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[200,34,0,0]}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":32,\"r\":8,\"lineWidth\":1,\"color\":\"$secondaryColor:#374e6b\"}],\"width\":10,\"margin\":[0,20,0,-45]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:1\",\"vLineWidth\":\"$notFirst:.5\",\"hLineColor\":\"#FFFFFF\",\"vLineColor\":\"#FFFFFF\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:12\"}},{\"columns\":[\"$notesAndTerms\",{\"stack\":[{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"35%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}},{\"canvas\":[{\"type\":\"rect\",\"x\":60,\"y\":20,\"w\":198,\"h\":30,\"r\":7,\"lineWidth\":1,\"color\":\"$secondaryColor:#374e6b\"}]},{\"style\":\"subtotalsBalance\",\"table\":{\"widths\":[\"*\",\"45%\"],\"body\":\"$subtotalsBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#299CC2\"},\"accountName\":{\"bold\":true},\"accountDetails\":{\"color\":\"#AAA9A9\",\"margin\":[0,2,0,1]},\"accountAddress\":{\"color\":\"#AAA9A9\",\"margin\":[0,2,0,1]},\"even\":{\"fillColor\":\"#E8E8E8\"},\"odd\":{\"fillColor\":\"#F7F7F7\"},\"productKey\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#ffffff\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true,\"color\":\"#ffffff\",\"alignment\":\"right\",\"noWrap\":true},\"invoiceDetails\":{\"color\":\"#ffffff\"},\"tableHeader\":{\"color\":\"#ffffff\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"secondTableHeader\":{\"color\":\"$secondaryColor:#374e6b\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"issuedTo\":{\"margin\":[0,2,0,1],\"bold\":true,\"color\":\"#374e6b\"},\"clientDetails\":{\"margin\":[0,2,0,1]},\"clientName\":{\"color\":\"$primaryColor:#eb792d\"},\"invoiceLineItemsTable\":{\"margin\":[0,10,0,10]},\"invoiceDetailsValue\":{\"alignment\":\"right\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"subtotalsBalance\":{\"alignment\":\"right\",\"margin\":[0,-25,0,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(6,'Creative',NULL,'{\"content\":[{\"columns\":[{\"stack\":\"$clientDetails\"},{\"stack\":\"$accountDetails\"},{\"stack\":\"$accountAddress\"},{\"image\":\"$accountLogo\",\"fit\":[120,80],\"alignment\":\"right\"}],\"margin\":[0,0,0,20]},{\"columns\":[{\"text\":[{\"text\":\"$entityTypeUC\",\"style\":\"header1\"},{\"text\":\" #\",\"style\":\"header2\"},{\"text\":\"$invoiceNumber\",\"style\":\"header2\"}],\"width\":\"*\"},{\"width\":200,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[16,4,0,0]}],\"margin\":[0,0,0,20]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":3,\"lineColor\":\"$primaryColor:#AE1E54\"}]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"hLineColor\":\"$primaryColor:#E8E8E8\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":3,\"lineColor\":\"$primaryColor:#AE1E54\"}],\"margin\":[0,-8,0,-8]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\"},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\"},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"primaryColor\":{\"color\":\"$primaryColor:#AE1E54\"},\"accountName\":{\"margin\":[4,2,4,2],\"color\":\"$primaryColor:#AE1E54\",\"bold\":true},\"accountDetails\":{\"margin\":[4,2,4,2]},\"accountAddress\":{\"margin\":[4,2,4,2]},\"odd\":{\"fillColor\":\"#F4F4F4\"},\"productKey\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"margin\":[320,20,0,0]},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#AE1E54\",\"bold\":true,\"margin\":[0,-10,10,0],\"alignment\":\"right\"},\"invoiceDetailBalanceDue\":{\"bold\":true,\"color\":\"$primaryColor:#AE1E54\"},\"invoiceDetailBalanceDueLabel\":{\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"$primaryColor:#AE1E54\",\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"clientName\":{\"bold\":true},\"clientDetails\":{\"margin\":[0,2,0,1]},\"header1\":{\"bold\":true,\"margin\":[0,30,0,16],\"fontSize\":42},\"header2\":{\"margin\":[0,30,0,16],\"fontSize\":42,\"italics\":true,\"color\":\"$primaryColor:#AE1E54\"},\"invoiceLineItemsTable\":{\"margin\":[0,4,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(7,'Elegant',NULL,'{\"content\":[{\"image\":\"$accountLogo\",\"fit\":[120,80],\"alignment\":\"center\",\"margin\":[0,0,0,30]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":2}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":3,\"x2\":515,\"y2\":3,\"lineWidth\":1}]},{\"columns\":[{\"width\":120,\"stack\":[{\"text\":\"$invoiceToLabel\",\"style\":\"header\",\"margin\":[0,0,0,6]},\"$clientDetails\"]},{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":-2,\"y1\":18,\"x2\":-2,\"y2\":80,\"lineWidth\":1,\"dash\":{\"length\":2}}]},{\"width\":120,\"stack\":\"$accountDetails\",\"margin\":[0,20,0,0]},{\"width\":110,\"stack\":\"$accountAddress\",\"margin\":[0,20,0,0]},{\"stack\":[{\"text\":\"$detailsLabel\",\"style\":\"header\",\"margin\":[0,0,0,6]},{\"width\":180,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\"}]}],\"margin\":[0,20,0,0]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:12\"}},{\"columns\":[\"$notesAndTerms\",{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},{\"canvas\":[{\"type\":\"line\",\"x1\":270,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":1,\"dash\":{\"length\":2}}]},{\"text\":\"$balanceDueLabel\",\"style\":\"subtotalsBalanceDueLabel\"},{\"text\":\"$balanceDue\",\"style\":\"subtotalsBalanceDue\"},{\"canvas\":[{\"type\":\"line\",\"x1\":270,\"y1\":20,\"x2\":515,\"y2\":20,\"lineWidth\":1,\"dash\":{\"length\":2}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},{\"canvas\":[{\"type\":\"line\",\"x1\":35,\"y1\":5,\"x2\":555,\"y2\":5,\"lineWidth\":2,\"margin\":[30,0,0,0]}]},{\"canvas\":[{\"type\":\"line\",\"x1\":35,\"y1\":3,\"x2\":555,\"y2\":3,\"lineWidth\":1,\"margin\":[30,0,0,0]}]}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountDetails\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientName\":{\"bold\":true},\"accountName\":{\"bold\":true},\"odd\":{},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#5a7b61\",\"margin\":[320,20,0,0]},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#5a7b61\",\"style\":true,\"margin\":[0,-14,8,0],\"alignment\":\"right\"},\"invoiceDetailBalanceDue\":{\"color\":\"$primaryColor:#5a7b61\",\"bold\":true},\"fullheader\":{\"font\":\"$headerFont\",\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"header\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"tableHeader\":{\"bold\":true,\"color\":\"$primaryColor:#5a7b61\",\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"invoiceLineItemsTable\":{\"margin\":[0,40,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(8,'Hipster',NULL,'{\"content\":[{\"columns\":[{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":0,\"y2\":75,\"lineWidth\":0.5}]},{\"width\":120,\"stack\":[{\"text\":\"$fromLabelUC\",\"style\":\"fromLabel\"},\"$accountDetails\"]},{\"width\":120,\"stack\":[{\"text\":\" \"},\"$accountAddress\"],\"margin\":[10,0,0,16]},{\"width\":10,\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":0,\"y2\":75,\"lineWidth\":0.5}]},{\"stack\":[{\"text\":\"$toLabelUC\",\"style\":\"toLabel\"},\"$clientDetails\"]},[{\"image\":\"$accountLogo\",\"fit\":[120,80]}]]},{\"text\":\"$entityTypeUC\",\"margin\":[0,4,0,8],\"bold\":\"true\",\"fontSize\":42},{\"columnGap\":16,\"columns\":[{\"width\":\"auto\",\"text\":[\"$invoiceNoLabel\",\" \",\"$invoiceNumberValue\"],\"bold\":true,\"color\":\"$primaryColor:#bc9f2b\",\"fontSize\":10},{\"width\":\"auto\",\"text\":[\"$invoiceDateLabel\",\" \",\"$invoiceDateValue\"],\"fontSize\":10},{\"width\":\"auto\",\"text\":[\"$dueDateLabel?\",\" \",\"$dueDateValue\"],\"fontSize\":10},{\"width\":\"*\",\"text\":[\"$balanceDueLabel\",\" \",{\"text\":\"$balanceDue\",\"bold\":true,\"color\":\"$primaryColor:#bc9f2b\"}],\"fontSize\":10}]},{\"margin\":[0,26,0,0],\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$amount:.5\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[{\"stack\":\"$notesAndTerms\",\"width\":\"*\",\"margin\":[0,12,0,0]},{\"width\":200,\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"36%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$notFirst:.5\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:12\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountName\":{\"bold\":true},\"clientName\":{\"bold\":true},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLargest\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"taxTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"fromLabel\":{\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"toLabel\":{\"color\":\"$primaryColor:#bc9f2b\",\"bold\":true},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"lineTotal\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,16,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(9,'Playful',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":190,\"h\":\"$invoiceDetailsHeight\",\"r\":5,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}],\"width\":10,\"margin\":[200,0,0,0]},{\"width\":400,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\",\"margin\":[210,10,10,0]}]},{\"margin\":[0,18,0,0],\"columnGap\":50,\"columns\":[{\"width\":212,\"stack\":[{\"text\":\"$invoiceToLabel:\",\"style\":\"toLabel\"},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":4,\"x2\":150,\"y2\":4,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}],\"margin\":[0,0,0,4]},\"$clientDetails\",{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":9,\"x2\":150,\"y2\":9,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}]}]},{\"width\":\"*\",\"stack\":[{\"text\":\"$fromLabel:\",\"style\":\"fromLabel\"},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":4,\"x2\":250,\"y2\":4,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}],\"margin\":[0,0,0,4]},{\"columns\":[\"$accountDetails\",\"$accountAddress\"],\"columnGap\":4},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":9,\"x2\":250,\"y2\":9,\"lineWidth\":1,\"dash\":{\"length\":3},\"lineColor\":\"$primaryColor:#009d91\"}]}]}]},{\"canvas\":[{\"type\":\"rect\",\"x\":0,\"y\":0,\"w\":515,\"h\":35,\"r\":6,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}],\"width\":10,\"margin\":[0,30,0,-30]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"$primaryColor:#009d91\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:8\",\"paddingBottom\":\"$amount:8\"}},{\"columns\":[\"$notesAndTerms\",{\"stack\":[{\"style\":\"subtotals\",\"table\":{\"widths\":[\"*\",\"35%\"],\"body\":\"$subtotalsWithoutBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}},{\"canvas\":[{\"type\":\"rect\",\"x\":50,\"y\":20,\"w\":208,\"h\":30,\"r\":4,\"lineWidth\":1,\"color\":\"$primaryColor:#009d91\"}]},{\"style\":\"subtotalsBalance\",\"table\":{\"widths\":[\"*\",\"50%\"],\"body\":\"$subtotalsBalance\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"footer\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":38,\"x2\":68,\"y2\":38,\"lineWidth\":6,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":68,\"y1\":0,\"x2\":135,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#1d766f\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":135,\"y1\":0,\"x2\":201,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":201,\"y1\":0,\"x2\":267,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#bf9730\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":267,\"y1\":0,\"x2\":333,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ac2b50\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":333,\"y1\":0,\"x2\":399,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#e60042\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":399,\"y1\":0,\"x2\":465,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":465,\"y1\":0,\"x2\":532,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":532,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":6,\"lineColor\":\"#ac2b50\"}]},{\"text\":\"$invoiceFooter\",\"alignment\":\"left\",\"margin\":[40,-60,40,0]}],\"header\":[{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":0,\"x2\":68,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":68,\"y1\":0,\"x2\":135,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#1d766f\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":135,\"y1\":0,\"x2\":201,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":201,\"y1\":0,\"x2\":267,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#bf9730\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":267,\"y1\":0,\"x2\":333,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ac2b50\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":333,\"y1\":0,\"x2\":399,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#e60042\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":399,\"y1\":0,\"x2\":465,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ffb800\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":465,\"y1\":0,\"x2\":532,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#009d91\"}]},{\"canvas\":[{\"type\":\"line\",\"x1\":532,\"y1\":0,\"x2\":600,\"y2\":0,\"lineWidth\":9,\"lineColor\":\"#ac2b50\"}]}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"styles\":{\"accountName\":{\"color\":\"$secondaryColor:#bb3328\"},\"accountDetails\":{\"margin\":[0,2,0,1]},\"accountAddress\":{\"margin\":[0,2,0,1]},\"clientDetails\":{\"margin\":[0,2,0,1]},\"clientName\":{\"color\":\"$secondaryColor:#bb3328\"},\"even\":{\"fillColor\":\"#E8E8E8\"},\"odd\":{\"fillColor\":\"#F7F7F7\"},\"productKey\":{\"color\":\"$secondaryColor:#bb3328\"},\"lineTotal\":{\"alignment\":\"right\"},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\"},\"secondTableHeader\":{\"color\":\"$primaryColor:#009d91\"},\"costTableHeader\":{\"alignment\":\"right\"},\"qtyTableHeader\":{\"alignment\":\"right\"},\"lineTotalTableHeader\":{\"alignment\":\"right\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"#FFFFFF\",\"bold\":true},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true,\"color\":\"#FFFFFF\",\"alignment\":\"right\"},\"invoiceDetails\":{\"color\":\"#FFFFFF\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"invoiceDetailBalanceDueLabel\":{\"bold\":true},\"invoiceDetailBalanceDue\":{\"bold\":true},\"fromLabel\":{\"color\":\"$primaryColor:#009d91\"},\"toLabel\":{\"color\":\"$primaryColor:#009d91\"},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"subtotals\":{\"alignment\":\"right\"},\"subtotalsBalance\":{\"alignment\":\"right\",\"margin\":[0,-25,0,0]},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"subheader\":{\"fontSize\":\"$fontSizeLarger\"},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,40,40,40],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(10,'Photo',NULL,'{\"content\":[{\"columns\":[{\"image\":\"$accountLogo\",\"fit\":[120,80]},{\"text\":\"\",\"width\":\"*\"},{\"width\":180,\"table\":{\"body\":\"$invoiceDetails\"},\"layout\":\"noBorders\"}]},{\"image\":\"data:image\\/jpeg;base64,\\/9j\\/4AAQSkZJRgABAQEAYABgAAD\\/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT\\/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT\\/wAARCAEZA4QDASIAAhEBAxEB\\/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL\\/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6\\/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL\\/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6\\/9oADAMBAAIRAxEAPwD0kT6iVJXXdaC++rXH\\/wAcpY59U+9\\/bmtED\\/qKXA\\/9nqmJuPlOR6Af\\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FRoAVBxjdjNBAXnrnj6Ui9D9aaPvPQBICe\\/b8BSEgEUkP8Aqm+n+NK33Y\\/92gA6ZBwTU0UZJxkHnAJqKTr\\/AMCP8qsfwxUAV5TukLYzRjpnIB5pF7fj\\/OkXt9aAHA8E9R3NNbOBhvwpZP8AGkfr+VAChRjII4PSjbk5J59qdH99Poak7r9KAIQCM59PWgjBHPFKP9bSS\\/w\\/73+FAAM5PqfT2pV9DwfY0qfeP+e1MX7rfUUAOLYIPB9c0NkdecUR\\/wAX1pF+6n0\\/pQAp7dCaQ4PUjPapE\\/1R+n+FQDqfoKAJQFyc+mc0Ke2CSfWkbt9KkH3V+tAERIz19hThg4PUUxfut9TUif6pP896AEHfnt2pyg99uT396IfvP9f8Klj\\/AIv9+gCuMhvQZqRSMcd+oph6r\\/u\\/1p9v\\/q2+tAEsibogxIHHJFV0J3A8881ZH\\/Hoah\\/5aH8aAOy8PzxtbhWxv96vahZbmVh0B\\/Wue8Nf6411d32\\/36APU\\/hTdCPSriHJwBkD07196\\/CW6W68MWbfeIjHJ+lfn98Kf9VP\\/uj+tfePwS\\/5FK2\\/3F\\/kK5avRm0D0URbucgfjRUbfeNFcxrc\\/9k=\",\"margin\":[-40,16,0,0],\"width\":595},{\"margin\":[-20,-150,0,0],\"columnGap\":8,\"columns\":[{\"width\":\"auto\",\"text\":\"$toLabel:\",\"style\":\"bold\",\"color\":\"#cd5138\"},{\"width\":\"*\",\"stack\":\"$clientDetails\",\"margin\":[4,0,0,0]}]},{\"margin\":[-20,10,0,140],\"columnGap\":8,\"columns\":[{\"width\":\"auto\",\"text\":\"$fromLabel:\",\"style\":\"bold\",\"color\":\"#cd5138\"},{\"width\":\"*\",\"stack\":[{\"width\":150,\"stack\":\"$accountDetails\"},{\"width\":150,\"stack\":\"$accountAddress\"}]}]},{\"canvas\":[{\"type\":\"line\",\"x1\":0,\"y1\":5,\"x2\":515,\"y2\":5,\"lineWidth\":1.5}],\"margin\":[0,0,0,-30]},{\"style\":\"invoiceLineItemsTable\",\"table\":{\"headerRows\":1,\"widths\":\"$invoiceLineItemColumns\",\"body\":\"$invoiceLineItems\"},\"layout\":{\"hLineWidth\":\"$notFirst:.5\",\"vLineWidth\":\"$none\",\"hLineColor\":\"#000000\",\"paddingLeft\":\"$amount:8\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:10\",\"paddingBottom\":\"$amount:10\"}},{\"columns\":[\"$notesAndTerms\",{\"alignment\":\"right\",\"table\":{\"widths\":[\"*\",\"40%\"],\"body\":\"$subtotals\"},\"layout\":{\"hLineWidth\":\"$none\",\"vLineWidth\":\"$none\",\"paddingLeft\":\"$amount:34\",\"paddingRight\":\"$amount:8\",\"paddingTop\":\"$amount:4\",\"paddingBottom\":\"$amount:4\"}}]},\"$signature\",{\"stack\":[\"$invoiceDocuments\"],\"style\":\"invoiceDocuments\"}],\"defaultStyle\":{\"fontSize\":\"$fontSize\",\"margin\":[8,4,8,4]},\"footer\":{\"columns\":[{\"text\":\"$invoiceFooter\",\"alignment\":\"left\"}],\"margin\":[40,-20,40,0]},\"styles\":{\"accountDetails\":{\"margin\":[0,0,0,3]},\"accountAddress\":{\"margin\":[0,0,0,3]},\"clientDetails\":{\"margin\":[0,0,0,3]},\"productKey\":{\"color\":\"$primaryColor:#cd5138\"},\"lineTotal\":{\"alignment\":\"right\"},\"tableHeader\":{\"bold\":true,\"fontSize\":\"$fontSizeLarger\"},\"subtotalsBalanceDueLabel\":{\"fontSize\":\"$fontSizeLargest\"},\"subtotalsBalanceDue\":{\"fontSize\":\"$fontSizeLargest\",\"color\":\"$primaryColor:#cd5138\"},\"invoiceLineItemsTable\":{\"margin\":[0,0,0,16]},\"cost\":{\"alignment\":\"right\"},\"quantity\":{\"alignment\":\"right\"},\"tax\":{\"alignment\":\"right\"},\"termsLabel\":{\"bold\":true,\"margin\":[0,0,0,4]},\"fullheader\":{\"fontSize\":\"$fontSizeLargest\",\"bold\":true},\"help\":{\"fontSize\":\"$fontSizeSmaller\",\"color\":\"#737373\"}},\"pageMargins\":[40,30,40,30],\"background\":[{\"image\":\"$accountBackground\",\"alignment\":\"center\"}]}'),(11,'Custom1',NULL,NULL),(12,'Custom2',NULL,NULL),(13,'Custom3',NULL,NULL); /*!40000 ALTER TABLE `invoice_designs` ENABLE KEYS */; UNLOCK TABLES; @@ -1363,8 +1358,8 @@ CREATE TABLE `invoice_items` ( `tax_name1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_rate1` decimal(13,3) DEFAULT NULL, `public_id` int(10) unsigned NOT NULL, - `custom_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, `tax_name2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_rate2` decimal(13,3) NOT NULL, `invoice_item_type_id` smallint(6) NOT NULL DEFAULT '1', @@ -1459,8 +1454,8 @@ CREATE TABLE `invoices` ( `partial` decimal(13,2) DEFAULT NULL, `has_tasks` tinyint(1) NOT NULL DEFAULT '0', `auto_bill` tinyint(1) NOT NULL DEFAULT '0', - `custom_text_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_text_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_text_value1` text COLLATE utf8_unicode_ci, + `custom_text_value2` text COLLATE utf8_unicode_ci, `has_expenses` tinyint(1) NOT NULL DEFAULT '0', `tax_name2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_rate2` decimal(13,3) NOT NULL, @@ -1791,7 +1786,7 @@ CREATE TABLE `migrations` ( `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1800,7 +1795,7 @@ CREATE TABLE `migrations` ( LOCK TABLES `migrations` WRITE; /*!40000 ALTER TABLE `migrations` DISABLE KEYS */; -INSERT INTO `migrations` VALUES (1,'2013_11_05_180133_confide_setup_users_table',1),(2,'2013_11_28_195703_setup_countries_table',1),(3,'2014_02_13_151500_add_cascase_drops',1),(4,'2014_02_19_151817_add_support_for_invoice_designs',1),(5,'2014_03_03_155556_add_phone_to_account',1),(6,'2014_03_19_201454_add_language_support',1),(7,'2014_03_20_200300_create_payment_libraries',1),(8,'2014_03_23_051736_enable_forcing_jspdf',1),(9,'2014_03_25_102200_add_sort_and_recommended_to_gateways',1),(10,'2014_04_03_191105_add_pro_plan',1),(11,'2014_04_17_100523_add_remember_token',1),(12,'2014_04_17_145108_add_custom_fields',1),(13,'2014_04_23_170909_add_products_settings',1),(14,'2014_04_29_174315_add_advanced_settings',1),(15,'2014_05_17_175626_add_quotes',1),(16,'2014_06_17_131940_add_accepted_credit_cards_to_account_gateways',1),(17,'2014_07_13_142654_one_click_install',1),(18,'2014_07_17_205900_support_hiding_quantity',1),(19,'2014_07_24_171214_add_zapier_support',1),(20,'2014_10_01_141248_add_company_vat_number',1),(21,'2014_10_05_141856_track_last_seen_message',1),(22,'2014_10_06_103529_add_timesheets',1),(23,'2014_10_06_195330_add_invoice_design_table',1),(24,'2014_10_13_054100_add_invoice_number_settings',1),(25,'2014_10_14_225227_add_danish_translation',1),(26,'2014_10_22_174452_add_affiliate_price',1),(27,'2014_10_30_184126_add_company_id_number',1),(28,'2014_11_04_200406_allow_null_client_currency',1),(29,'2014_12_03_154119_add_discount_type',1),(30,'2015_02_12_102940_add_email_templates',1),(31,'2015_02_17_131714_support_token_billing',1),(32,'2015_02_27_081836_add_invoice_footer',1),(33,'2015_03_03_140259_add_tokens',1),(34,'2015_03_09_151011_add_ip_to_activity',1),(35,'2015_03_15_174122_add_pdf_email_attachment_option',1),(36,'2015_03_30_100000_create_password_resets_table',1),(37,'2015_04_12_093447_add_sv_language',1),(38,'2015_04_13_100333_add_notify_approved',1),(39,'2015_04_16_122647_add_partial_amount_to_invoices',1),(40,'2015_05_21_184104_add_font_size',1),(41,'2015_05_27_121828_add_tasks',1),(42,'2015_05_27_170808_add_custom_invoice_labels',1),(43,'2015_06_09_134208_add_has_tasks_to_invoices',1),(44,'2015_06_14_093410_enable_resuming_tasks',1),(45,'2015_06_14_173025_multi_company_support',1),(46,'2015_07_07_160257_support_locking_account',1),(47,'2015_07_08_114333_simplify_tasks',1),(48,'2015_07_19_081332_add_custom_design',1),(49,'2015_07_27_183830_add_pdfmake_support',1),(50,'2015_08_13_084041_add_formats_to_datetime_formats_table',1),(51,'2015_09_04_080604_add_swap_postal_code',1),(52,'2015_09_07_135935_add_account_domain',1),(53,'2015_09_10_185135_add_reminder_emails',1),(54,'2015_10_07_135651_add_social_login',1),(55,'2015_10_21_075058_add_default_tax_rates',1),(56,'2015_10_21_185724_add_invoice_number_pattern',1),(57,'2015_10_27_180214_add_is_system_to_activities',1),(58,'2015_10_29_133747_add_default_quote_terms',1),(59,'2015_11_01_080417_encrypt_tokens',1),(60,'2015_11_03_181318_improve_currency_localization',1),(61,'2015_11_30_133206_add_email_designs',1),(62,'2015_12_27_154513_add_reminder_settings',1),(63,'2015_12_30_042035_add_client_view_css',1),(64,'2016_01_04_175228_create_vendors_table',1),(65,'2016_01_06_153144_add_invoice_font_support',1),(66,'2016_01_17_155725_add_quote_to_invoice_option',1),(67,'2016_01_18_195351_add_bank_accounts',1),(68,'2016_01_24_112646_add_bank_subaccounts',1),(69,'2016_01_27_173015_add_header_footer_option',1),(70,'2016_02_01_135956_add_source_currency_to_expenses',1),(71,'2016_02_25_152948_add_client_password',1),(72,'2016_02_28_081424_add_custom_invoice_fields',1),(73,'2016_03_14_066181_add_user_permissions',1),(74,'2016_03_14_214710_add_support_three_decimal_taxes',1),(75,'2016_03_22_168362_add_documents',1),(76,'2016_03_23_215049_support_multiple_tax_rates',1),(77,'2016_04_16_103943_enterprise_plan',1),(78,'2016_04_18_174135_add_page_size',1),(79,'2016_04_23_182223_payments_changes',1),(80,'2016_05_16_102925_add_swap_currency_symbol_to_currency',1),(81,'2016_05_18_085739_add_invoice_type_support',1),(82,'2016_05_24_164847_wepay_ach',1),(83,'2016_07_08_083802_support_new_pricing',1),(84,'2016_07_13_083821_add_buy_now_buttons',1),(85,'2016_08_10_184027_add_support_for_bots',1),(86,'2016_09_05_150625_create_gateway_types',1),(87,'2016_10_20_191150_add_expense_to_activities',1),(88,'2016_11_03_113316_add_invoice_signature',1),(89,'2016_11_03_161149_add_bluevine_fields',1),(90,'2016_11_28_092904_add_task_projects',1),(91,'2016_12_13_113955_add_pro_plan_discount',1),(92,'2017_01_01_214241_add_inclusive_taxes',1),(93,'2017_02_23_095934_add_custom_product_fields',1),(94,'2017_03_16_085702_add_gateway_fee_location',1),(95,'2017_04_16_101744_add_custom_contact_fields',1),(96,'2017_04_30_174702_add_multiple_database_support',1),(97,'2017_05_10_144928_add_oauth_to_lookups',1),(98,'2017_05_16_101715_add_default_note_to_client',1),(99,'2017_06_19_111515_update_dark_mode',1),(100,'2017_07_18_124150_add_late_fees',1),(101,'2017_08_14_085334_increase_precision',1),(102,'2017_10_17_083846_add_default_rates',1),(103,'2017_11_15_114422_add_subdomain_to_lookups',1),(104,'2017_12_13_074024_add_remember_2fa_token',1),(105,'2018_01_10_073825_add_subscription_format',1),(106,'2018_03_08_150414_add_slack_notifications',1); +INSERT INTO `migrations` VALUES (1,'2013_11_05_180133_confide_setup_users_table',1),(2,'2013_11_28_195703_setup_countries_table',1),(3,'2014_02_13_151500_add_cascase_drops',1),(4,'2014_02_19_151817_add_support_for_invoice_designs',1),(5,'2014_03_03_155556_add_phone_to_account',1),(6,'2014_03_19_201454_add_language_support',1),(7,'2014_03_20_200300_create_payment_libraries',1),(8,'2014_03_23_051736_enable_forcing_jspdf',1),(9,'2014_03_25_102200_add_sort_and_recommended_to_gateways',1),(10,'2014_04_03_191105_add_pro_plan',1),(11,'2014_04_17_100523_add_remember_token',1),(12,'2014_04_17_145108_add_custom_fields',1),(13,'2014_04_23_170909_add_products_settings',1),(14,'2014_04_29_174315_add_advanced_settings',1),(15,'2014_05_17_175626_add_quotes',1),(16,'2014_06_17_131940_add_accepted_credit_cards_to_account_gateways',1),(17,'2014_07_13_142654_one_click_install',1),(18,'2014_07_17_205900_support_hiding_quantity',1),(19,'2014_07_24_171214_add_zapier_support',1),(20,'2014_10_01_141248_add_company_vat_number',1),(21,'2014_10_05_141856_track_last_seen_message',1),(22,'2014_10_06_103529_add_timesheets',1),(23,'2014_10_06_195330_add_invoice_design_table',1),(24,'2014_10_13_054100_add_invoice_number_settings',1),(25,'2014_10_14_225227_add_danish_translation',1),(26,'2014_10_22_174452_add_affiliate_price',1),(27,'2014_10_30_184126_add_company_id_number',1),(28,'2014_11_04_200406_allow_null_client_currency',1),(29,'2014_12_03_154119_add_discount_type',1),(30,'2015_02_12_102940_add_email_templates',1),(31,'2015_02_17_131714_support_token_billing',1),(32,'2015_02_27_081836_add_invoice_footer',1),(33,'2015_03_03_140259_add_tokens',1),(34,'2015_03_09_151011_add_ip_to_activity',1),(35,'2015_03_15_174122_add_pdf_email_attachment_option',1),(36,'2015_03_30_100000_create_password_resets_table',1),(37,'2015_04_12_093447_add_sv_language',1),(38,'2015_04_13_100333_add_notify_approved',1),(39,'2015_04_16_122647_add_partial_amount_to_invoices',1),(40,'2015_05_21_184104_add_font_size',1),(41,'2015_05_27_121828_add_tasks',1),(42,'2015_05_27_170808_add_custom_invoice_labels',1),(43,'2015_06_09_134208_add_has_tasks_to_invoices',1),(44,'2015_06_14_093410_enable_resuming_tasks',1),(45,'2015_06_14_173025_multi_company_support',1),(46,'2015_07_07_160257_support_locking_account',1),(47,'2015_07_08_114333_simplify_tasks',1),(48,'2015_07_19_081332_add_custom_design',1),(49,'2015_07_27_183830_add_pdfmake_support',1),(50,'2015_08_13_084041_add_formats_to_datetime_formats_table',1),(51,'2015_09_04_080604_add_swap_postal_code',1),(52,'2015_09_07_135935_add_account_domain',1),(53,'2015_09_10_185135_add_reminder_emails',1),(54,'2015_10_07_135651_add_social_login',1),(55,'2015_10_21_075058_add_default_tax_rates',1),(56,'2015_10_21_185724_add_invoice_number_pattern',1),(57,'2015_10_27_180214_add_is_system_to_activities',1),(58,'2015_10_29_133747_add_default_quote_terms',1),(59,'2015_11_01_080417_encrypt_tokens',1),(60,'2015_11_03_181318_improve_currency_localization',1),(61,'2015_11_30_133206_add_email_designs',1),(62,'2015_12_27_154513_add_reminder_settings',1),(63,'2015_12_30_042035_add_client_view_css',1),(64,'2016_01_04_175228_create_vendors_table',1),(65,'2016_01_06_153144_add_invoice_font_support',1),(66,'2016_01_17_155725_add_quote_to_invoice_option',1),(67,'2016_01_18_195351_add_bank_accounts',1),(68,'2016_01_24_112646_add_bank_subaccounts',1),(69,'2016_01_27_173015_add_header_footer_option',1),(70,'2016_02_01_135956_add_source_currency_to_expenses',1),(71,'2016_02_25_152948_add_client_password',1),(72,'2016_02_28_081424_add_custom_invoice_fields',1),(73,'2016_03_14_066181_add_user_permissions',1),(74,'2016_03_14_214710_add_support_three_decimal_taxes',1),(75,'2016_03_22_168362_add_documents',1),(76,'2016_03_23_215049_support_multiple_tax_rates',1),(77,'2016_04_16_103943_enterprise_plan',1),(78,'2016_04_18_174135_add_page_size',1),(79,'2016_04_23_182223_payments_changes',1),(80,'2016_05_16_102925_add_swap_currency_symbol_to_currency',1),(81,'2016_05_18_085739_add_invoice_type_support',1),(82,'2016_05_24_164847_wepay_ach',1),(83,'2016_07_08_083802_support_new_pricing',1),(84,'2016_07_13_083821_add_buy_now_buttons',1),(85,'2016_08_10_184027_add_support_for_bots',1),(86,'2016_09_05_150625_create_gateway_types',1),(87,'2016_10_20_191150_add_expense_to_activities',1),(88,'2016_11_03_113316_add_invoice_signature',1),(89,'2016_11_03_161149_add_bluevine_fields',1),(90,'2016_11_28_092904_add_task_projects',1),(91,'2016_12_13_113955_add_pro_plan_discount',1),(92,'2017_01_01_214241_add_inclusive_taxes',1),(93,'2017_02_23_095934_add_custom_product_fields',1),(94,'2017_03_16_085702_add_gateway_fee_location',1),(95,'2017_04_16_101744_add_custom_contact_fields',1),(96,'2017_04_30_174702_add_multiple_database_support',1),(97,'2017_05_10_144928_add_oauth_to_lookups',1),(98,'2017_05_16_101715_add_default_note_to_client',1),(99,'2017_06_19_111515_update_dark_mode',1),(100,'2017_07_18_124150_add_late_fees',1),(101,'2017_08_14_085334_increase_precision',1),(102,'2017_10_17_083846_add_default_rates',1),(103,'2017_11_15_114422_add_subdomain_to_lookups',1),(104,'2017_12_13_074024_add_remember_2fa_token',1),(105,'2018_01_10_073825_add_subscription_format',1),(106,'2018_03_08_150414_add_slack_notifications',1),(107,'2018_03_30_115805_add_more_custom_fields',1),(108,'2018_04_16_142434_add_custom_domain',1); /*!40000 ALTER TABLE `migrations` ENABLE KEYS */; UNLOCK TABLES; @@ -1849,7 +1844,7 @@ CREATE TABLE `payment_libraries` ( LOCK TABLES `payment_libraries` WRITE; /*!40000 ALTER TABLE `payment_libraries` DISABLE KEYS */; -INSERT INTO `payment_libraries` VALUES (1,'2018-03-27 10:06:16','2018-03-27 10:06:16','Omnipay',1),(2,'2018-03-27 10:06:16','2018-03-27 10:06:16','PHP-Payments [Deprecated]',1); +INSERT INTO `payment_libraries` VALUES (1,'2018-04-24 14:43:08','2018-04-24 14:43:08','Omnipay',1),(2,'2018-04-24 14:43:08','2018-04-24 14:43:08','PHP-Payments [Deprecated]',1); /*!40000 ALTER TABLE `payment_libraries` ENABLE KEYS */; UNLOCK TABLES; @@ -1956,7 +1951,7 @@ CREATE TABLE `payment_terms` ( LOCK TABLES `payment_terms` WRITE; /*!40000 ALTER TABLE `payment_terms` DISABLE KEYS */; -INSERT INTO `payment_terms` VALUES (1,7,'Net 7','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,1),(2,10,'Net 10','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,2),(3,14,'Net 14','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,3),(4,15,'Net 15','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,4),(5,30,'Net 30','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,5),(6,60,'Net 60','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,6),(7,90,'Net 90','2018-03-27 10:06:16','2018-03-27 10:06:16',NULL,0,0,7),(8,-1,'Net 0','2018-03-27 10:06:19','2018-03-27 10:06:19',NULL,0,0,0); +INSERT INTO `payment_terms` VALUES (1,7,'Net 7','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,1),(2,10,'Net 10','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,2),(3,14,'Net 14','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,3),(4,15,'Net 15','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,4),(5,30,'Net 30','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,5),(6,60,'Net 60','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,6),(7,90,'Net 90','2018-04-24 14:43:08','2018-04-24 14:43:08',NULL,0,0,7),(8,-1,'Net 0','2018-04-24 14:43:12','2018-04-24 14:43:12',NULL,0,0,0); /*!40000 ALTER TABLE `payment_terms` ENABLE KEYS */; UNLOCK TABLES; @@ -2077,8 +2072,8 @@ CREATE TABLE `products` ( `qty` decimal(15,4) DEFAULT '0.0000', `public_id` int(10) unsigned NOT NULL, `is_deleted` tinyint(1) NOT NULL DEFAULT '0', - `custom_value1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, - `custom_value2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, `tax_name1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tax_rate1` decimal(13,3) NOT NULL, `tax_name2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, @@ -2122,6 +2117,8 @@ CREATE TABLE `projects` ( `due_date` date DEFAULT NULL, `private_notes` text COLLATE utf8_unicode_ci, `budgeted_hours` double(8,2) NOT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `projects_account_id_public_id_unique` (`account_id`,`public_id`), KEY `projects_user_id_foreign` (`user_id`), @@ -2294,7 +2291,7 @@ CREATE TABLE `proposal_templates` ( LOCK TABLES `proposal_templates` WRITE; /*!40000 ALTER TABLE `proposal_templates` DISABLE KEYS */; -INSERT INTO `proposal_templates` VALUES (1,NULL,NULL,'2018-03-27 10:06:18','2018-03-27 10:06:18',NULL,0,'','Clean','\n\n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n\n

Proposal #$quoteNumber

\n

New Business Proposal

\n

Valid Until $validUntil

\n
\n

Prepared for:

\n

$client.name

\n

\n $client.address1
\n $client.city, $client.state $client.postal_code

\n
\n

Prepared by:

\n

$account.name

\n

\n $account.address1
\n $account.city, $account.state $account.postal_code

\n
\n

Project Description:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.


\n
\n
\n
\n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n

Goal:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n \n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue auctor magna id sodales. Maecenas mollis justo sed tempor facilisis. Ut malesuada in nibh ultrices auctor. Proin id maximus ipsum. Sed eu magna ac nisl sollicitudin porta in non augue. Mauris feugiat interdum aliquam. Aliquam ultrices interdum dolor.

\n
\n \n \n \n \n \n \n \n \n \n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n
\n
\n
\n \n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n \n

Goal:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n','body {\n font-family: \'Open Sans\', Helvetica, arial, sans-serif;\n color: #161616;\n}\n\n.grey-upper {\n font-size: 11px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #9a9a9a;\n}\n\n.blue-upper {\n padding-bottom: 8px;\n font-size: 11px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #37a3c6;\n margin: 0;\n}\n\np span.client {\n margin:5px 0px 0px 0px;\n}\n\nh1.heading {\n font-size: 48px;\n line-height: 53px;\n text-transform: uppercase;\n font-weight: 100;\n letter-spacing: 3px;\n padding: 0 50px;\n}\n\nh3.client.name {\n padding: 0;\n margin: 0 0 -10px 0;\n font-size:18px;\n font-weight: 600;\n}\n\nspan.client.address1, span.client.city, span.client.state, span.client.postal-code {\n font-size: 14px;\n line-height: 18.5px;\n}\n\nh3.account.name {\n padding: 0;\n margin: 0 0 -10px 0;\n font-size:18px;\n font-weight: 600;\n}\n\nspan.account.address1, span.account.city, span.account.state, span.account.postal-code {\n font-size: 14px;\n line-height: 18.5px;\n}\n\n\n.card-title {\n font-size: 13px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #37a3c6;\n font-weight: 600;\n}\n\n.card-text {\n font-size: 15px;\n line-height: 21px;\n}\n\n\na.button {\n background: #37a3c6;\n padding: 12px 25px;\n border-radius: 2px;\n color: #fff;\n text-transform: uppercase;\n font-size: 12px;\n text-decoration: none;\n letter-spacing: 3px;\n font-weight: 600;\n margin: 15px 0;\n}\n\na.button:hover {\n background: #161616;\n}\n\n/****** Table *****************************************/\n\n.grey-bg {\n background: #eeefef;\n}\n\ntable td {\n padding: 20px;\n}\n\ntr.top-header {\n height: 350px;\n}\n\ntr.top-header td {\n padding: 80px 0 0 0;\n border-bottom: 1px solid #dddcdc;\n}\n\ntr.top-header h1.heading {\n margin: 0;\n}\n\ntr.top-header p {\n margin: 5px 0 0 0;\n}\n\n.proposal-info {\n height: 350px;\n}\n\n.proposal-info td {\n padding: 0 0 120px 0;\n}\n\ntr.block-quote {\n margin: 50px 0 ;\n}\n\ntr.block-quote td {\n background: #fbfbfb;\n font-style: italic;\n padding: 0 75px;\n font-size: 17px;\n line-height: 24px;\n padding: 80px 120px;\n color: #686766;\n border-top: 1px solid #dddcdc;\n border-bottom: 1px solid #dddcdc;\n}\n\ntr.footer td {\n background: #f0efef;\n font-size: 12px;\n letter-spacing: 3px;\n color: #8c8b8a;\n padding: 50px 0;\n text-transform: uppercase;\n}\n\n/****** Misc *****************************************/\n\n\nhr {\n border: 0;\n height: 1px;\n background: #dddada;\n}\n\n.footer img {\n vertical-align: middle;\n}\n',1); +INSERT INTO `proposal_templates` VALUES (1,NULL,NULL,'2018-04-24 14:43:12','2018-04-24 14:43:12',NULL,0,'','Clean','\n\n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n\n

Proposal #$quoteNumber

\n

New Business Proposal

\n

Valid Until $validUntil

\n
\n

Prepared for:

\n

$client.name

\n

\n $client.address1
\n $client.city, $client.state $client.postal_code

\n
\n

Prepared by:

\n

$account.name

\n

\n $account.address1
\n $account.city, $account.state $account.postal_code

\n
\n

Project Description:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.


\n
\n
\n
\n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n

Goal:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n \n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue auctor magna id sodales. Maecenas mollis justo sed tempor facilisis. Ut malesuada in nibh ultrices auctor. Proin id maximus ipsum. Sed eu magna ac nisl sollicitudin porta in non augue. Mauris feugiat interdum aliquam. Aliquam ultrices interdum dolor.

\n
\n \n \n \n \n \n \n \n \n \n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n
\n
\n
\n \n

Objective:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n \n

Goal:

\n

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

\n
\n','body {\n font-family: \'Open Sans\', Helvetica, arial, sans-serif;\n color: #161616;\n}\n\n.grey-upper {\n font-size: 11px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #9a9a9a;\n}\n\n.blue-upper {\n padding-bottom: 8px;\n font-size: 11px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #37a3c6;\n margin: 0;\n}\n\np span.client {\n margin:5px 0px 0px 0px;\n}\n\nh1.heading {\n font-size: 48px;\n line-height: 53px;\n text-transform: uppercase;\n font-weight: 100;\n letter-spacing: 3px;\n padding: 0 50px;\n}\n\nh3.client.name {\n padding: 0;\n margin: 0 0 -10px 0;\n font-size:18px;\n font-weight: 600;\n}\n\nspan.client.address1, span.client.city, span.client.state, span.client.postal-code {\n font-size: 14px;\n line-height: 18.5px;\n}\n\nh3.account.name {\n padding: 0;\n margin: 0 0 -10px 0;\n font-size:18px;\n font-weight: 600;\n}\n\nspan.account.address1, span.account.city, span.account.state, span.account.postal-code {\n font-size: 14px;\n line-height: 18.5px;\n}\n\n\n.card-title {\n font-size: 13px;\n letter-spacing: 3px;\n text-transform: uppercase;\n color: #37a3c6;\n font-weight: 600;\n}\n\n.card-text {\n font-size: 15px;\n line-height: 21px;\n}\n\n\na.button {\n background: #37a3c6;\n padding: 12px 25px;\n border-radius: 2px;\n color: #fff;\n text-transform: uppercase;\n font-size: 12px;\n text-decoration: none;\n letter-spacing: 3px;\n font-weight: 600;\n margin: 15px 0;\n}\n\na.button:hover {\n background: #161616;\n}\n\n/****** Table *****************************************/\n\n.grey-bg {\n background: #eeefef;\n}\n\ntable td {\n padding: 20px;\n}\n\ntr.top-header {\n height: 350px;\n}\n\ntr.top-header td {\n padding: 80px 0 0 0;\n border-bottom: 1px solid #dddcdc;\n}\n\ntr.top-header h1.heading {\n margin: 0;\n}\n\ntr.top-header p {\n margin: 5px 0 0 0;\n}\n\n.proposal-info {\n height: 350px;\n}\n\n.proposal-info td {\n padding: 0 0 120px 0;\n}\n\ntr.block-quote {\n margin: 50px 0 ;\n}\n\ntr.block-quote td {\n background: #fbfbfb;\n font-style: italic;\n padding: 0 75px;\n font-size: 17px;\n line-height: 24px;\n padding: 80px 120px;\n color: #686766;\n border-top: 1px solid #dddcdc;\n border-bottom: 1px solid #dddcdc;\n}\n\ntr.footer td {\n background: #f0efef;\n font-size: 12px;\n letter-spacing: 3px;\n color: #8c8b8a;\n padding: 50px 0;\n text-transform: uppercase;\n}\n\n/****** Misc *****************************************/\n\n\nhr {\n border: 0;\n height: 1px;\n background: #dddada;\n}\n\n.footer img {\n vertical-align: middle;\n}\n',1); /*!40000 ALTER TABLE `proposal_templates` ENABLE KEYS */; UNLOCK TABLES; @@ -2370,7 +2367,7 @@ CREATE TABLE `recurring_expenses` ( `frequency_id` int(10) unsigned NOT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, - `last_sent_date` timestamp NULL DEFAULT NULL, + `last_sent_date` date DEFAULT NULL, `public_id` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `recurring_expenses_account_id_public_id_unique` (`account_id`,`public_id`), @@ -2414,6 +2411,7 @@ CREATE TABLE `scheduled_reports` ( `frequency` enum('daily','weekly','biweekly','monthly') COLLATE utf8_unicode_ci NOT NULL, `send_date` date NOT NULL, `public_id` int(10) unsigned DEFAULT NULL, + `ip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `scheduled_reports_account_id_public_id_unique` (`account_id`,`public_id`), KEY `scheduled_reports_user_id_foreign` (`user_id`), @@ -2580,6 +2578,8 @@ CREATE TABLE `tasks` ( `project_id` int(10) unsigned DEFAULT NULL, `task_status_id` int(10) unsigned DEFAULT NULL, `task_status_sort_order` smallint(6) NOT NULL DEFAULT '0', + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `tasks_account_id_public_id_unique` (`account_id`,`public_id`), KEY `tasks_user_id_foreign` (`user_id`), @@ -2849,6 +2849,8 @@ CREATE TABLE `vendors` ( `vat_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `id_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `transaction_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `custom_value1` text COLLATE utf8_unicode_ci, + `custom_value2` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), KEY `vendors_account_id_foreign` (`account_id`), KEY `vendors_user_id_foreign` (`user_id`), @@ -2879,4 +2881,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-03-27 16:06:19 +-- Dump completed on 2018-04-24 20:43:13 diff --git a/docs/conf.py b/docs/conf.py index 1f013d7f6e46..f2e9fbbcf848 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,9 +57,9 @@ author = u'Invoice Ninja' # built documents. # # The short X.Y version. -version = u'4.3' +version = u'4.4' # The full version, including alpha/beta/rc tags. -release = u'4.3.1' +release = u'4.4.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/configure.rst b/docs/configure.rst index 95c783773959..f61f45ebf9e9 100644 --- a/docs/configure.rst +++ b/docs/configure.rst @@ -117,14 +117,11 @@ You can disable the feature by adding ``GOOGLE_MAPS_ENABLED=false`` to the .env Voice Commands """""""""""""" -Supporting voice commands requires creating a `LUIS.ai `_ app, once the app is created you can import this `model file `_. - -You'll also need to set the following values in the .env file. +Supporting voice commands requires creating a `LUIS.ai subscription key `_, then set the following values in the .env file. .. code-block:: shell SPEECH_ENABLED=true - MSBOT_LUIS_APP_ID=... MSBOT_LUIS_SUBSCRIPTION_KEY=... Lock Invoices diff --git a/docs/custom_modules.rst b/docs/custom_modules.rst index 58b3d06a8fc0..10440cb4c1b1 100644 --- a/docs/custom_modules.rst +++ b/docs/custom_modules.rst @@ -20,11 +20,7 @@ For example: php artisan module:install invoiceninja/sprockets --type=github -You can check the current module status with: - -.. code-block:: php - - php artisan module:list +.. TIP:: One a module is installed it can enabled/disabled on Settings > Account Management Create Module @@ -36,17 +32,13 @@ Run the following command to create a CRUD module: php artisan ninja:make-module +For example: + .. code-block:: php php artisan ninja:make-module Inventory 'name:string,description:text' -To edit the migration before it's run add ``--migrate=false`` - -.. code-block:: php - - php artisan ninja:make-module --migrate=false - -After making adjustments to the migration file you can run: +To run the database migration use: .. code-block:: php @@ -55,10 +47,16 @@ After making adjustments to the migration file you can run: .. Tip:: You can specify the module icon by setting a value from http://fontawesome.io/icons/ for "icon" in modules.json. +There are two types of modules: you can either create a standard module which displays a list of a new entity type or you can create a blank module which adds functionality. For example, a custom integration with a third-party app. + +If you're looking for a module to work on you can see suggested issues `listed here `_. + +.. NOTE:: Our module implemention is currenty being actively worked on, you can join the discussion on our Slack group: http://slack.invoiceninja.com/ + Share Module """""""""""" -To share your module create a new project on GitHub and then commit the code: +To share your module create a new project on GitHub and then run the following code: .. code-block:: php diff --git a/docs/invoices.rst b/docs/invoices.rst index 54475c65ea76..083663cf01a9 100644 --- a/docs/invoices.rst +++ b/docs/invoices.rst @@ -133,15 +133,6 @@ Directly to the left of the Balance Due section, you'll see a text box with a nu .. TIP:: The Invoices page is rich in clickable links, providing you with a shortcut to relevant pages you may wish to view. For example, all invoice numbers are clickable, taking you directly to the specific invoice page, and all client names are clickable, taking you directly to the specific client summary page. -Invoice Preview -^^^^^^^^^^^^^^^ - -Did you know that all this time you've been creating the new invoice, a live PDF preview of the invoice appears below, and it changes in real time according to the data you've entered? - -Scroll down below the invoice data fields to check out the invoice preview. - -But before we get there you'll see a row of colorful buttons, giving you a range of options: - - **Blue button – Download PDF**: Download the invoice as a PDF file. You can then print or save to your PC or mobile device. - **Gray button – Save Draft**: Save the latest version of the invoice. The data is saved in your Invoice Ninja account. You can return to the invoice at any time to continue working on it. Note: An invoice in the Draft stage is not viewable to the client in the client portal, and the amount on the invoice is not reflected in the client's invoicing balance. - **Green button – Mark Sent**: If you mark the invoice as sent, then the invoice will be viewable to your client in the client portal. The amount on the invoice will also be calculated in the client's balance data. diff --git a/docs/quotes.rst b/docs/quotes.rst index f0071cd42f0f..fa24b70e8dbb 100644 --- a/docs/quotes.rst +++ b/docs/quotes.rst @@ -127,9 +127,3 @@ Click on More Actions to open the following action list: - **Delete Quote**: Want to delete the quote? Click here. The quote will be deleted and removed from the Quotes list page. .. TIP:: At the left of these colorful buttons, you'll see a field with an arrow that opens a drop-down menu. This field provides you with template options for the quote design. Click on the arrow to select the desired template. When selected, the quote preview will change to reflect the new template. - -Quote Preview -^^^^^^^^^^^^^ - -Did you know that all this time you've been creating the new quote, a preview of the quote appears below, and it changes in real time according to the data you've entered? The PDF is created in real time; all you have to do is click Save. -To check out the quote preview, scroll down below the invoice data fields. diff --git a/docs/update.rst b/docs/update.rst index 3bd00eb9c4cd..99459281dfce 100644 --- a/docs/update.rst +++ b/docs/update.rst @@ -28,8 +28,13 @@ A common error with shared hosting is "open_basedir restriction in effect", if y .. TIP:: You can see the detailed changes for each release on our `GitHub release notes `_. +Version 4.3 +""""""""""" + +You may need to manually delete ``bootstrap/cache/compiled.php``. + Version 4.0 -""""""""""""" +""""""""""" The minimum PHP version is now 7.0.0 diff --git a/public/built.js b/public/built.js index 21b8c217a487..3b41ef139d5f 100644 --- a/public/built.js +++ b/public/built.js @@ -1,28 +1,28 @@ -function generatePDF(t,e,n,i){if(t&&e){if(!n)return refreshTimer&&clearTimeout(refreshTimer),void(refreshTimer=setTimeout(function(){generatePDF(t,e,!0,i)},500));if(refreshTimer=null,t=calculateAmounts(t),parseInt(t.account.signature_on_pdf)&&(t=convertSignature(t)),!t)return!1;var o=GetPdfMake(t,e,i);return i&&o.getDataUrl(i),o}}function copyObject(t){return!!t&&JSON.parse(JSON.stringify(t))}function processVariables(t){if(!t)return"";for(var e=["MONTH","QUARTER","YEAR"],n=0;n1?c=r.split("+")[1]:r.split("-").length>1&&(c=parseInt(r.split("-")[1])*-1),t=t.replace(r,getDatePart(i,c))}}return t}function getDatePart(t,e){return e=parseInt(e),e||(e=0),"MONTH"==t?getMonth(e):"QUARTER"==t?getQuarter(e):"YEAR"==t?getYear(e):void 0}function getMonth(t){var e=new Date,n=["January","February","March","April","May","June","July","August","September","October","November","December"],i=e.getMonth();return i=parseInt(i)+t,i%=12,i<0&&(i+=12),n[i]}function getYear(t){var e=new Date,n=e.getFullYear();return parseInt(n)+t}function getQuarter(t){var e=new Date,n=Math.floor((e.getMonth()+3)/3);return n+=t,n%=4,0==n&&(n=4),"Q"+n}function isStorageSupported(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}}function isValidEmailAddress(t){var e=new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);return e.test(t)}function enableHoverClick(t,e,n){}function setAsLink(t,e){e?(t.css("text-decoration","underline"),t.css("cursor","pointer")):(t.css("text-decoration","none"),t.css("cursor","text"))}function setComboboxValue(t,e,n){t.find("input").val(e),t.find("input.form-control").val(n),e&&n?(t.find("select").combobox("setSelected"),t.find(".combobox-container").addClass("combobox-selected")):t.find(".combobox-container").removeClass("combobox-selected")}function convertDataURIToBinary(t){var e=t.indexOf(BASE64_MARKER)+BASE64_MARKER.length,n=t.substring(e);return base64DecToArr(n)}function comboboxHighlighter(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=t.replace(new RegExp("
","g"),"\n");return n=_.escape(n),n=n.replace(new RegExp("("+e+")","ig"),function(t,n){return n?""+n+"":e}),n.replace(new RegExp("\n","g"),"
")}function inIframe(){try{return window.self!==window.top}catch(t){return!0}}function getContactDisplayName(t){return t.first_name||t.last_name?$.trim((t.first_name||"")+" "+(t.last_name||"")):t.email}function getContactDisplayNameWithEmail(t){var e="";return(t.first_name||t.last_name)&&(e+=$.trim((t.first_name||"")+" "+(t.last_name||""))),t.email&&(e&&(e+=" - "),e+=t.email),$.trim(e)}function getClientDisplayName(t){var e=!!t.contacts&&t.contacts[0];return t.name?t.name:e?getContactDisplayName(e):""}function formatAddress(t,e,n,i){var o="";return i?(o+=n?n+" ":"",o+=t?t:"",o+=t&&e?", ":t?" ":"",o+=e):(o+=t?t:"",o+=t&&e?", ":e?" ":"",o+=e+" "+n),o}function concatStrings(){for(var t="",e=[],n=0;n1?t+=", ":n64&&t<91?t-65:t>96&&t<123?t-71:t>47&&t<58?t+4:43===t?62:47===t?63:0}function base64DecToArr(t,e){for(var n,i,o=t.replace(/[^A-Za-z0-9\+\/]/g,""),a=o.length,s=e?Math.ceil((3*a+1>>2)/e)*e:3*a+1>>2,r=new Uint8Array(s),c=0,l=0,u=0;u>>(16>>>n&24)&255;c=0}return r}function uint6ToB64(t){return t<26?t+65:t<52?t+71:t<62?t-4:62===t?43:63===t?47:65}function base64EncArr(t){for(var e=2,n="",i=t.length,o=0,a=0;a0&&4*a/3%76===0&&(n+="\r\n"),o|=t[a]<<(16>>>e&24),2!==e&&t.length-a!==1||(n+=String.fromCharCode(uint6ToB64(o>>>18&63),uint6ToB64(o>>>12&63),uint6ToB64(o>>>6&63),uint6ToB64(63&o)),o=0);return n.substr(0,n.length-2+e)+(2===e?"":1===e?"=":"==")}function UTF8ArrToStr(t){for(var e,n="",i=t.length,o=0;o251&&e<254&&o+5247&&e<252&&o+4239&&e<248&&o+3223&&e<240&&o+2191&&e<224&&o+1>>6),e[s++]=128+(63&n)):n<65536?(e[s++]=224+(n>>>12),e[s++]=128+(n>>>6&63),e[s++]=128+(63&n)):n<2097152?(e[s++]=240+(n>>>18),e[s++]=128+(n>>>12&63),e[s++]=128+(n>>>6&63),e[s++]=128+(63&n)):n<67108864?(e[s++]=248+(n>>>24),e[s++]=128+(n>>>18&63),e[s++]=128+(n>>>12&63),e[s++]=128+(n>>>6&63),e[s++]=128+(63&n)):(e[s++]=252+n/1073741824,e[s++]=128+(n>>>24&63),e[s++]=128+(n>>>18&63),e[s++]=128+(n>>>12&63),e[s++]=128+(n>>>6&63),e[s++]=128+(63&n));return e}function hexToR(t){return parseInt(cutHex(t).substring(0,2),16)}function hexToG(t){return parseInt(cutHex(t).substring(2,4),16)}function hexToB(t){return parseInt(cutHex(t).substring(4,6),16)}function cutHex(t){return"#"==t.charAt(0)?t.substring(1,7):t}function setDocHexColor(t,e){var n=hexToR(e),i=hexToG(e),o=hexToB(e);return t.setTextColor(n,i,o)}function setDocHexFill(t,e){var n=hexToR(e),i=hexToG(e),o=hexToB(e);return t.setFillColor(n,i,o)}function setDocHexDraw(t,e){var n=hexToR(e),i=hexToG(e),o=hexToB(e);return t.setDrawColor(n,i,o)}function toggleDatePicker(t){$("#"+t).datepicker("show")}function getPrecision(t){return roundToPrecision(t,3)!=t?4:roundToPrecision(t,2)!=t?3:2}function roundSignificant(t,e){var n=getPrecision(t),i=roundToPrecision(t,n)||0;return e?i.toFixed(n):i}function roundToTwo(t,e){var n=roundToPrecision(t,2)||0;return e?n.toFixed(2):n}function roundToFour(t,e){var n=roundToPrecision(t,4)||0;return e?n.toFixed(4):n}function roundToPrecision(t,e){var n=t<0;return n&&(t*=-1),t=+(Math.round(t+"e+"+e)+"e-"+e),n&&(t*=-1),t}function truncate(t,e){return t&&t.length>e?t.substr(0,e-1)+"...":t}function endsWith(t,e){return t.indexOf(e,t.length-e.length)!==-1}function secondsToTime(t){t=Math.round(t);var e=Math.floor(t/3600),n=t%3600,i=Math.floor(n/60),o=n%60,a=Math.ceil(o),s={h:e,m:i,s:a};return s}function twoDigits(t){return t<10?"0"+t:t}function toSnakeCase(t){return t?t.replace(/([A-Z])/g,function(t){return"_"+t.toLowerCase()}):""}function snakeToCamel(t){return t.replace(/_([a-z])/g,function(t){return t[1].toUpperCase()})}function getDescendantProp(t,e){for(var n=e.split(".");n.length&&(t=t[n.shift()]););return t}function doubleDollarSign(t){return t?t.replace?t.replace(/\$/g,"$$$"):t:""}function truncate(t,e){return t.length>e?t.substring(0,e)+"...":t}function actionListHandler(){$("tbody tr .tr-action").closest("tr").mouseover(function(){$(this).closest("tr").find(".tr-action").show(),$(this).closest("tr").find(".tr-status").hide()}).mouseout(function(){$dropdown=$(this).closest("tr").find(".tr-action"),$dropdown.hasClass("open")||($dropdown.hide(),$(this).closest("tr").find(".tr-status").show())})}function loadImages(t){$(t+" img").each(function(t,e){var n=$(e).attr("data-src");$(e).attr("src",n),$(e).attr("data-src",n)})}function prettyJson(t){return"string"!=typeof t&&(t=JSON.stringify(t,void 0,2)),t=t.replace(/&/g,"&").replace(//g,">"),t.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g,function(t){var e="number";return/^"/.test(t)?e=/:$/.test(t)?"key":"string":/true|false/.test(t)?e="boolean":/null/.test(t)&&(e="null"),t=snakeToCamel(t),''+t+""})}function searchData(t,e,n){return function(i,o){var a;if(n){var s={keys:[e]},r=new Fuse(t,s);a=r.search(i)}else a=[],substrRegex=new RegExp(escapeRegExp(i),"i"),$.each(t,function(t,n){substrRegex.test(n[e])&&a.push(n)});o(a)}}function escapeRegExp(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function firstJSONError(t){for(var e in t)if(t.hasOwnProperty(e)){var n=t[e];for(var i in n)if(n.hasOwnProperty(i))return n[i]}return!1}function pad(t,e,n){return n=n||"0",t+="",t.length>=e?t:new Array(e-t.length+1).join(n)+t}function brewerColor(t){var e=["#1c9f77","#d95d02","#716cb1","#e62a8b","#5fa213","#e6aa04","#a87821","#676767"],t=(t-1)%e.length;return e[t]}function formatXml(t){var e="",n=/(>)(<)(\/*)/g;t=t.replace(n,"$1\r\n$2$3");var i=0;return jQuery.each(t.split("\r\n"),function(t,n){var o=0;n.match(/.+<\/\w[^>]*>$/)?o=0:n.match(/^<\/\w/)?0!=i&&(i-=1):o=n.match(/^<\w[^>]*[^\/]>.*$/)?1:0;for(var a="",s=0;s0&&e-1 in t))}function i(t,e,n){if(ot.isFunction(e))return ot.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return ot.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ht.test(e))return ot.filter(e,t,n);e=ot.filter(e,t)}return ot.grep(t,function(t){return ot.inArray(t,e)>=0!==n})}function o(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function a(t){var e=yt[t]={};return ot.each(t.match(Mt)||[],function(t,n){e[n]=!0}),e}function s(){ft.addEventListener?(ft.removeEventListener("DOMContentLoaded",r,!1),t.removeEventListener("load",r,!1)):(ft.detachEvent("onreadystatechange",r),t.detachEvent("onload",r))}function r(){(ft.addEventListener||"load"===event.type||"complete"===ft.readyState)&&(s(),ot.ready())}function c(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(wt,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Tt.test(n)?ot.parseJSON(n):n)}catch(o){}ot.data(t,e,n)}else n=void 0}return n}function l(t){var e;for(e in t)if(("data"!==e||!ot.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function u(t,e,n,i){if(ot.acceptData(t)){var o,a,s=ot.expando,r=t.nodeType,c=r?ot.cache:t,l=r?t[s]:t[s]&&s;if(l&&c[l]&&(i||c[l].data)||void 0!==n||"string"!=typeof e)return l||(l=r?t[s]=V.pop()||ot.guid++:s),c[l]||(c[l]=r?{}:{toJSON:ot.noop}),"object"!=typeof e&&"function"!=typeof e||(i?c[l]=ot.extend(c[l],e):c[l].data=ot.extend(c[l].data,e)),a=c[l],i||(a.data||(a.data={}),a=a.data),void 0!==n&&(a[ot.camelCase(e)]=n),"string"==typeof e?(o=a[e],null==o&&(o=a[ot.camelCase(e)])):o=a,o}}function d(t,e,n){if(ot.acceptData(t)){var i,o,a=t.nodeType,s=a?ot.cache:t,r=a?t[ot.expando]:ot.expando;if(s[r]){if(e&&(i=n?s[r]:s[r].data)){ot.isArray(e)?e=e.concat(ot.map(e,ot.camelCase)):e in i?e=[e]:(e=ot.camelCase(e),e=e in i?[e]:e.split(" ")),o=e.length;for(;o--;)delete i[e[o]];if(n?!l(i):!ot.isEmptyObject(i))return}(n||(delete s[r].data,l(s[r])))&&(a?ot.cleanData([t],!0):nt.deleteExpando||s!=s.window?delete s[r]:s[r]=null)}}}function h(){return!0}function p(){return!1}function f(){try{return ft.activeElement}catch(t){}}function m(t){var e=Et.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,o=0,a=typeof t.getElementsByTagName!==zt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==zt?t.querySelectorAll(e||"*"):void 0;if(!a)for(a=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||ot.nodeName(i,e)?a.push(i):ot.merge(a,g(i,e));return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],a):a}function b(t){xt.test(t.type)&&(t.defaultChecked=t.checked)}function v(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function M(t){return t.type=(null!==ot.find.attr(t,"type"))+"/"+t.type,t}function y(t){var e=Jt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function A(t,e){for(var n,i=0;null!=(n=t[i]);i++)ot._data(n,"globalEval",!e||ot._data(e[i],"globalEval"))}function _(t,e){if(1===e.nodeType&&ot.hasData(t)){var n,i,o,a=ot._data(t),s=ot._data(e,a),r=a.events;if(r){delete s.handle,s.events={};for(n in r)for(i=0,o=r[n].length;i")).appendTo(e.documentElement),e=(Qt[0].contentWindow||Qt[0].contentDocument).document,e.write(),e.close(),n=T(t,e),Qt.detach()),Zt[t]=n),n}function C(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function N(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,o=he.length;o--;)if(e=he[o]+n,e in t)return e;return i}function O(t,e){for(var n,i,o,a=[],s=0,r=t.length;s=0&&n=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(nt.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Z[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&ot.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(rt,ct)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var o,a=0,s=t.length,r=n(t);if(i){if(r)for(;a_.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[P]=!0,t}function o(t){var e=D.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=t.length;i--;)_.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||J)-(~t.sourceIndex||J);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function r(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function c(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var o,a=t([],n.length,e),s=a.length;s--;)n[o=a[s]]&&(n[o]=!(i[o]=n[o]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function h(t){for(var e=0,n=t.length,i="";e1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,a=n.length;o-1&&(i[l]=!(s[l]=d))}}else M=g(M===s?M.splice(f,M.length):M),a?a(null,s,M,c):Q.apply(s,M)})}function v(t){for(var e,n,i,o=t.length,a=_.relative[t[0].type],s=a||_.relative[" "],r=a?1:0,c=p(function(t){return t===e},s,!0),l=p(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,i){var o=!a&&(i||n!==O)||((e=n).nodeType?c(t,n,i):l(t,n,i));return e=null,o}];r1&&f(u),r>1&&h(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(ct,"$1"),n,r0,a=t.length>0,s=function(i,s,r,c,l){var u,d,h,p=0,f="0",m=i&&[],b=[],v=O,M=i||a&&_.find.TAG("*",l),y=R+=null==v?1:Math.random()||.1,A=M.length;for(l&&(O=s!==D&&s);f!==A&&null!=(u=M[f]);f++){if(a&&u){for(d=0;h=t[d++];)if(h(u,s,r)){c.push(u);break}l&&(R=y)}o&&((u=!h&&u)&&p--,i&&m.push(u))}if(p+=f,o&&f!==p){for(d=0;h=n[d++];)h(m,b,s,r);if(i){if(p>0)for(;f--;)m[f]||b[f]||(b[f]=K.call(c));b=g(b)}Q.apply(c,b),l&&!i&&b.length>0&&p+n.length>1&&e.uniqueSort(c)}return l&&(R=y,O=v),m};return o?i(s):s}var y,A,_,z,T,w,C,N,O,S,x,L,D,k,q,W,E,B,I,P="sizzle"+1*new Date,X=t.document,R=0,F=0,H=n(),j=n(),U=n(),$=function(t,e){return t===e&&(x=!0),0},J=1<<31,V={}.hasOwnProperty,Y=[],K=Y.pop,G=Y.push,Q=Y.push,Z=Y.slice,tt=function(t,e){for(var n=0,i=t.length;n+~]|"+nt+")"+nt+"*"),dt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ht=new RegExp(st),pt=new RegExp("^"+ot+"$"),ft={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,bt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Mt=/[+~]/,yt=/'|\\/g,At=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),_t=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},zt=function(){L()};try{Q.apply(Y=Z.call(X.childNodes),X.childNodes),Y[X.childNodes.length].nodeType}catch(Tt){Q={apply:Y.length?function(t,e){G.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}A=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},L=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:X;return i!==D&&9===i.nodeType&&i.documentElement?(D=i,k=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",zt,!1):n.attachEvent&&n.attachEvent("onunload",zt)),q=!T(i),A.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),A.getElementsByTagName=o(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),A.getElementsByClassName=bt.test(i.getElementsByClassName),A.getById=o(function(t){return k.appendChild(t).id=P,!i.getElementsByName||!i.getElementsByName(P).length}),A.getById?(_.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&q){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},_.filter.ID=function(t){var e=t.replace(At,_t);return function(t){return t.getAttribute("id")===e}}):(delete _.find.ID,_.filter.ID=function(t){var e=t.replace(At,_t);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),_.find.TAG=A.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):A.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[o++];)1===n.nodeType&&i.push(n);return i}return a},_.find.CLASS=A.getElementsByClassName&&function(t,e){if(q)return e.getElementsByClassName(t)},E=[],W=[],(A.qsa=bt.test(i.querySelectorAll))&&(o(function(t){k.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&W.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||W.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+P+"-]").length||W.push("~="),t.querySelectorAll(":checked").length||W.push(":checked"),t.querySelectorAll("a#"+P+"+*").length||W.push(".#.+[+~]")}),o(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&W.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||W.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),W.push(",.*:")})),(A.matchesSelector=bt.test(B=k.matches||k.webkitMatchesSelector||k.mozMatchesSelector||k.oMatchesSelector||k.msMatchesSelector))&&o(function(t){A.disconnectedMatch=B.call(t,"div"),B.call(t,"[s!='']:x"),E.push("!=",st)}),W=W.length&&new RegExp(W.join("|")),E=E.length&&new RegExp(E.join("|")),e=bt.test(k.compareDocumentPosition),I=e||bt.test(k.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},$=e?function(t,e){if(t===e)return x=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!A.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===X&&I(X,t)?-1:e===i||e.ownerDocument===X&&I(X,e)?1:S?tt(S,t)-tt(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return x=!0,0;var n,o=0,a=t.parentNode,r=e.parentNode,c=[t],l=[e];if(!a||!r)return t===i?-1:e===i?1:a?-1:r?1:S?tt(S,t)-tt(S,e):0;if(a===r)return s(t,e);for(n=t;n=n.parentNode;)c.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;c[o]===l[o];)o++;return o?s(c[o],l[o]):c[o]===X?-1:l[o]===X?1:0},i):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&L(t),n=n.replace(dt,"='$1']"),A.matchesSelector&&q&&(!E||!E.test(n))&&(!W||!W.test(n)))try{var i=B.call(t,n);if(i||A.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(o){}return e(n,D,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==D&&L(t),I(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==D&&L(t);var n=_.attrHandle[e.toLowerCase()],i=n&&V.call(_.attrHandle,e.toLowerCase())?n(t,e,!q):void 0;return void 0!==i?i:A.attributes||!q?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(x=!A.detectDuplicates,S=!A.sortStable&&t.slice(0),t.sort($),x){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return S=null,t},z=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=z(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=z(e);return n},_=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(At,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(At,_t),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=w(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(At,_t).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var a=e.attr(o,t);return null==a?"!="===n:!n||(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a.replace(rt," ")+" ").indexOf(i)>-1:"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var a="nth"!==t.slice(0,3),s="last"!==t.slice(-4),r="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,c){var l,u,d,h,p,f,m=a!==s?"nextSibling":"previousSibling",g=e.parentNode,b=r&&e.nodeName.toLowerCase(),v=!c&&!r;if(g){if(a){for(;m;){for(d=e;d=d[m];)if(r?d.nodeName.toLowerCase()===b:1===d.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&v){for(u=g[P]||(g[P]={}),l=u[t]||[],p=l[0]===R&&l[1],h=l[0]===R&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(h=p=0)||f.pop();)if(1===d.nodeType&&++h&&d===e){u[t]=[R,p,h];break}}else if(v&&(l=(e[P]||(e[P]={}))[t])&&l[0]===R)h=l[1];else for(;(d=++p&&d&&d[m]||(h=p=0)||f.pop())&&((r?d.nodeName.toLowerCase()!==b:1!==d.nodeType)||!++h||(v&&((d[P]||(d[P]={}))[t]=[R,h]),d!==e)););return h-=o,h===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var o,a=_.pseudos[t]||_.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[P]?a(n):a.length>1?(o=[t,t,"",n],_.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=a(t,n),s=o.length;s--;)i=tt(t,o[s]),t[i]=!(e[i]=o[s])}):function(t){return a(t,0,o)}):a}},pseudos:{not:i(function(t){var e=[],n=[],o=C(t.replace(ct,"$1"));return o[P]?i(function(t,e,n,i){for(var a,s=o(t,null,i,[]),r=t.length;r--;)(a=s[r])&&(t[r]=!(e[r]=a))}):function(t,i,a){return e[0]=t,o(e,null,a,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(At,_t),function(e){return(e.textContent||e.innerText||z(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(At,_t).toLowerCase(),function(e){var n;do if(n=q?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===k},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!_.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i2&&"ID"===(s=a[0]).type&&A.getById&&9===e.nodeType&&q&&_.relative[a[1].type]){if(e=(_.find.ID(s.matches[0].replace(At,_t),e)||[])[0],!e)return n;l&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(o=ft.needsContext.test(t)?0:a.length;o--&&(s=a[o],!_.relative[r=s.type]);)if((c=_.find[r])&&(i=c(s.matches[0].replace(At,_t),Mt.test(a[0].type)&&u(e.parentNode)||e))){if(a.splice(o,1),t=i.length&&h(a),!t)return Q.apply(n,i),n;break}}return(l||C(t,d))(i,e,!q,n,Mt.test(t)&&u(e.parentNode)||e),n},A.sortStable=P.split("").sort($).join("")===P,A.detectDuplicates=!!x,L(),A.sortDetached=o(function(t){return 1&t.compareDocumentPosition(D.createElement("div"))}),o(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),A.attributes&&o(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||a(et,function(t,e,n){var i;if(!n)return t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);ot.find=lt,ot.expr=lt.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=lt.uniqueSort,ot.text=lt.getText,ot.isXMLDoc=lt.isXML,ot.contains=lt.contains;var ut=ot.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ot.find.matchesSelector(i,t)?[i]:[]:ot.find.matches(t,ot.grep(e,function(t){return 1===t.nodeType}))},ot.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(ot(t).filter(function(){for(e=0;e1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ut.test(t)?ot(t):t||[],!1).length}});var pt,ft=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=ot.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||pt).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ft,!0)),dt.test(n[1])&&ot.isPlainObject(e))for(n in e)ot.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=ft.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return pt.find(t);this.length=1,this[0]=i}return this.context=ft,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?"undefined"!=typeof pt.ready?pt.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))};gt.prototype=ot.fn,pt=ot(ft);var bt=/^(?:parents|prev(?:Until|All))/,vt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(t,e,n){for(var i=[],o=t[e];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!ot(o).is(n));)1===o.nodeType&&i.push(o),o=o[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),ot.fn.extend({has:function(t){var e,n=ot(t,this),i=n.length;return this.filter(function(){for(e=0;e-1:1===n.nodeType&&ot.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?ot.unique(a):a)},index:function(t){return t?"string"==typeof t?ot.inArray(this[0],ot(t)):ot.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.unique(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ot.dir(t,"parentNode")},parentsUntil:function(t,e,n){return ot.dir(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return ot.dir(t,"nextSibling")},prevAll:function(t){return ot.dir(t,"previousSibling")},nextUntil:function(t,e,n){return ot.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return ot.dir(t,"previousSibling",n)},siblings:function(t){return ot.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return ot.sibling(t.firstChild)},contents:function(t){return ot.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ot.merge([],t.childNodes)}},function(t,e){ot.fn[t]=function(n,i){var o=ot.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=ot.filter(i,o)),this.length>1&&(vt[t]||(o=ot.unique(o)),bt.test(t)&&(o=o.reverse())),this.pushStack(o)}});var Mt=/\S+/g,yt={};ot.Callbacks=function(t){t="string"==typeof t?yt[t]||a(t):ot.extend({},t);var e,n,i,o,s,r,c=[],l=!t.once&&[],u=function(a){for(n=t.memory&&a,i=!0,s=r||0,r=0,o=c.length,e=!0;c&&s-1;)c.splice(i,1),e&&(i<=o&&o--,i<=s&&s--)}),this},has:function(t){return t?ot.inArray(t,c)>-1:!(!c||!c.length)},empty:function(){return c=[],o=0,this},disable:function(){return c=l=n=void 0,this},disabled:function(){return!c},lock:function(){return l=void 0,n||d.disable(),this},locked:function(){return!l},fireWith:function(t,n){return!c||i&&!l||(n=n||[],n=[t,n.slice?n.slice():n],e?l.push(n):u(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred(function(n){ot.each(e,function(e,a){var s=ot.isFunction(t[e])&&t[e];o[a[1]](function(){var t=s&&s.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ot.extend(t,i):i}},o={};return i.pipe=i.then,ot.each(e,function(t,a){var s=a[2],r=a[3];i[a[1]]=s.add,r&&s.add(function(){n=r},e[1^t][2].disable,e[2][2].lock),o[a[0]]=function(){return o[a[0]+"With"](this===o?i:this,arguments),this},o[a[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,a=Y.call(arguments),s=a.length,r=1!==s||t&&ot.isFunction(t.promise)?s:0,c=1===r?t:ot.Deferred(),l=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?Y.call(arguments):o,i===e?c.notifyWith(n,i):--r||c.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);o0||(At.resolveWith(ft,[ot]),ot.fn.triggerHandler&&(ot(ft).triggerHandler("ready"),ot(ft).off("ready")))}}}),ot.ready.promise=function(e){if(!At)if(At=ot.Deferred(),"complete"===ft.readyState)setTimeout(ot.ready);else if(ft.addEventListener)ft.addEventListener("DOMContentLoaded",r,!1),t.addEventListener("load",r,!1);else{ft.attachEvent("onreadystatechange",r),t.attachEvent("onload",r);var n=!1;try{n=null==t.frameElement&&ft.documentElement}catch(i){}n&&n.doScroll&&!function o(){if(!ot.isReady){try{n.doScroll("left")}catch(t){return setTimeout(o,50)}s(),ot.ready()}}()}return At.promise(e)};var _t,zt="undefined";for(_t in ot(nt))break;nt.ownLast="0"!==_t,nt.inlineBlockNeedsLayout=!1,ot(function(){var t,e,n,i;n=ft.getElementsByTagName("body")[0],n&&n.style&&(e=ft.createElement("div"),i=ft.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==zt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=ft.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(e){nt.deleteExpando=!1}}t=null}(),ot.acceptData=function(t){var e=ot.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?ot.cache[t[ot.expando]]:t[ot.expando],!!t&&!l(t)},data:function(t,e,n){return u(t,e,n)},removeData:function(t,e){return d(t,e)},_data:function(t,e,n){return u(t,e,n,!0)},_removeData:function(t,e){return d(t,e,!0)}}),ot.fn.extend({data:function(t,e){var n,i,o,a=this[0],s=a&&a.attributes;if(void 0===t){if(this.length&&(o=ot.data(a),1===a.nodeType&&!ot._data(a,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=ot.camelCase(i.slice(5)),c(a,i,o[i])));ot._data(a,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ot.data(this,t)}):arguments.length>1?this.each(function(){ot.data(this,t,e)}):a?c(a,t,ot.data(a,t)):void 0},removeData:function(t){return this.each(function(){ot.removeData(this,t)})}}),ot.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=ot._data(t,e),n&&(!i||ot.isArray(n)?i=ot._data(t,e,ot.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ot.queue(t,e),i=n.length,o=n.shift(),a=ot._queueHooks(t,e),s=function(){ot.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete a.stop,o.call(t,s,a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ot._data(t,n)||ot._data(t,n,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(t,e+"queue"),ot._removeData(t,n)})})}}),ot.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length
a",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav>"!==ft.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(i){nt.deleteExpando=!1}}}(),function(){var e,n,i=ft.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(nt[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),nt[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var Lt=/^(?:input|select|textarea)$/i,Dt=/^key/,kt=/^(?:mouse|pointer|contextmenu)|click/,qt=/^(?:focusinfocus|focusoutblur)$/,Wt=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(t,e,n,i,o){var a,s,r,c,l,u,d,h,p,f,m,g=ot._data(t);if(g){for(n.handler&&(c=n,n=c.handler,o=c.selector),n.guid||(n.guid=ot.guid++),(s=g.events)||(s=g.events={}),(u=g.handle)||(u=g.handle=function(t){return typeof ot===zt||t&&ot.event.triggered===t.type?void 0:ot.event.dispatch.apply(u.elem,arguments)},u.elem=t),e=(e||"").match(Mt)||[""],r=e.length;r--;)a=Wt.exec(e[r])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p&&(l=ot.event.special[p]||{},p=(o?l.delegateType:l.bindType)||p,l=ot.event.special[p]||{},d=ot.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:f.join(".")},c),(h=s[p])||(h=s[p]=[],h.delegateCount=0,l.setup&&l.setup.call(t,i,f,u)!==!1||(t.addEventListener?t.addEventListener(p,u,!1):t.attachEvent&&t.attachEvent("on"+p,u))),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,d):h.push(d),ot.event.global[p]=!0);t=null}},remove:function(t,e,n,i,o){var a,s,r,c,l,u,d,h,p,f,m,g=ot.hasData(t)&&ot._data(t);if(g&&(u=g.events)){for(e=(e||"").match(Mt)||[""],l=e.length;l--;)if(r=Wt.exec(e[l])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p){for(d=ot.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,h=u[p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=a=h.length;a--;)s=h[a],!o&&m!==s.origType||n&&n.guid!==s.guid||r&&!r.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(h.splice(a,1),s.selector&&h.delegateCount--,d.remove&&d.remove.call(t,s));c&&!h.length&&(d.teardown&&d.teardown.call(t,f,g.handle)!==!1||ot.removeEvent(t,p,g.handle),delete u[p])}else for(p in u)ot.event.remove(t,p+e[l],n,i,!0);ot.isEmptyObject(u)&&(delete g.handle,ot._removeData(t,"events")); -}},trigger:function(e,n,i,o){var a,s,r,c,l,u,d,h=[i||ft],p=et.call(e,"type")?e.type:e,f=et.call(e,"namespace")?e.namespace.split("."):[];if(r=u=i=i||ft,3!==i.nodeType&&8!==i.nodeType&&!qt.test(p+ot.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),s=p.indexOf(":")<0&&"on"+p,e=e[ot.expando]?e:new ot.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:ot.makeArray(n,[e]),l=ot.event.special[p]||{},o||!l.trigger||l.trigger.apply(i,n)!==!1)){if(!o&&!l.noBubble&&!ot.isWindow(i)){for(c=l.delegateType||p,qt.test(c+p)||(r=r.parentNode);r;r=r.parentNode)h.push(r),u=r;u===(i.ownerDocument||ft)&&h.push(u.defaultView||u.parentWindow||t)}for(d=0;(r=h[d++])&&!e.isPropagationStopped();)e.type=d>1?c:l.bindType||p,a=(ot._data(r,"events")||{})[e.type]&&ot._data(r,"handle"),a&&a.apply(r,n),a=s&&r[s],a&&a.apply&&ot.acceptData(r)&&(e.result=a.apply(r,n),e.result===!1&&e.preventDefault());if(e.type=p,!o&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(h.pop(),n)===!1)&&ot.acceptData(i)&&s&&i[p]&&!ot.isWindow(i)){u=i[s],u&&(i[s]=null),ot.event.triggered=p;try{i[p]()}catch(m){}ot.event.triggered=void 0,u&&(i[s]=u)}return e.result}},dispatch:function(t){t=ot.event.fix(t);var e,n,i,o,a,s=[],r=Y.call(arguments),c=(ot._data(this,"events")||{})[t.type]||[],l=ot.event.special[t.type]||{};if(r[0]=t,t.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,t)!==!1){for(s=ot.event.handlers.call(this,t,c),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,a=0;(i=o.handlers[a++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(i.namespace)||(t.handleObj=i,t.data=i.data,n=((ot.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,r),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,a,s=[],r=e.delegateCount,c=t.target;if(r&&c.nodeType&&(!t.button||"click"!==t.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(c.disabled!==!0||"click"!==t.type)){for(o=[],a=0;a=0:ot.find(n,this,null,[c]).length),o[n]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return r]","i"),Pt=/^\s+/,Xt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Rt=/<([\w:]+)/,Ft=/\s*$/g,Yt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:nt.htmlSerialize?[0,"",""]:[1,"X
","
"]},Kt=m(ft),Gt=Kt.appendChild(ft.createElement("div"));Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td,ot.extend({clone:function(t,e,n){var i,o,a,s,r,c=ot.contains(t.ownerDocument,t);if(nt.html5Clone||ot.isXMLDoc(t)||!It.test("<"+t.nodeName+">")?a=t.cloneNode(!0):(Gt.innerHTML=t.outerHTML,Gt.removeChild(a=Gt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))for(i=g(a),r=g(t),s=0;null!=(o=r[s]);++s)i[s]&&z(o,i[s]);if(e)if(n)for(r=r||g(t),i=i||g(a),s=0;null!=(o=r[s]);s++)_(o,i[s]);else _(t,a);return i=g(a,"script"),i.length>0&&A(i,!c&&g(t,"script")),i=r=o=null,a},buildFragment:function(t,e,n,i){for(var o,a,s,r,c,l,u,d=t.length,h=m(e),p=[],f=0;f")+u[2],o=u[0];o--;)r=r.lastChild;if(!nt.leadingWhitespace&&Pt.test(a)&&p.push(e.createTextNode(Pt.exec(a)[0])),!nt.tbody)for(a="table"!==c||Ft.test(a)?""!==u[1]||Ft.test(a)?0:r:r.firstChild,o=a&&a.childNodes.length;o--;)ot.nodeName(l=a.childNodes[o],"tbody")&&!l.childNodes.length&&a.removeChild(l);for(ot.merge(p,r.childNodes),r.textContent="";r.firstChild;)r.removeChild(r.firstChild);r=h.lastChild}else p.push(e.createTextNode(a));for(r&&h.removeChild(r),nt.appendChecked||ot.grep(g(p,"input"),b),f=0;a=p[f++];)if((!i||ot.inArray(a,i)===-1)&&(s=ot.contains(a.ownerDocument,a),r=g(h.appendChild(a),"script"),s&&A(r),n))for(o=0;a=r[o++];)$t.test(a.type||"")&&n.push(a);return r=null,h},cleanData:function(t,e){for(var n,i,o,a,s=0,r=ot.expando,c=ot.cache,l=nt.deleteExpando,u=ot.event.special;null!=(n=t[s]);s++)if((e||ot.acceptData(n))&&(o=n[r],a=o&&c[o])){if(a.events)for(i in a.events)u[i]?ot.event.remove(n,i):ot.removeEvent(n,i,a.handle);c[o]&&(delete c[o],l?delete n[r]:typeof n.removeAttribute!==zt?n.removeAttribute(r):n[r]=null,V.push(o))}}}),ot.fn.extend({text:function(t){return St(this,function(t){return void 0===t?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ft).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=v(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=v(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?ot.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||ot.cleanData(g(n)),n.parentNode&&(e&&ot.contains(n.ownerDocument,n)&&A(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ot.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ot.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ot.clone(this,t,e)})},html:function(t){return St(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Bt,""):void 0;if("string"==typeof t&&!jt.test(t)&&(nt.htmlSerialize||!It.test(t))&&(nt.leadingWhitespace||!Pt.test(t))&&!Yt[(Rt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Xt,"<$1>");try{for(;n1&&"string"==typeof h&&!nt.checkClone&&Ut.test(h))return this.each(function(n){var i=u.eq(n);p&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(l&&(r=ot.buildFragment(t,this[0].ownerDocument,!1,this),n=r.firstChild,1===r.childNodes.length&&(r=n),n)){for(a=ot.map(g(r,"script"),M),o=a.length;c
t
",o=e.getElementsByTagName("td"),o[0].style.cssText="margin:0;border:0;padding:0;display:none",r=0===o[0].offsetHeight,r&&(o[0].style.display="",o[1].style.display="none",r=0===o[0].offsetHeight),n.removeChild(i))}var n,i,o,a,s,r,c;n=ft.createElement("div"),n.innerHTML="
a",o=n.getElementsByTagName("a")[0],i=o&&o.style,i&&(i.cssText="float:left;opacity:.5",nt.opacity="0.5"===i.opacity,nt.cssFloat=!!i.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===n.style.backgroundClip,nt.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,ot.extend(nt,{reliableHiddenOffsets:function(){return null==r&&e(),r},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==a&&e(),a},reliableMarginRight:function(){return null==c&&e(),c}}))}(),ot.swap=function(t,e,n,i){var o,a,s={};for(a in e)s[a]=t.style[a],t.style[a]=e[a];o=n.apply(t,i||[]);for(a in e)t.style[a]=s[a];return o};var ae=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,re=/^(none|table(?!-c[ea]).+)/,ce=new RegExp("^("+Ct+")(.*)$","i"),le=new RegExp("^([+-])=("+Ct+")","i"),ue={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},he=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ee(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,r=ot.camelCase(e),c=t.style;if(e=ot.cssProps[r]||(ot.cssProps[r]=N(c,r)),s=ot.cssHooks[e]||ot.cssHooks[r],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:c[e];if(a=typeof n,"string"===a&&(o=le.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(ot.css(t,e)),a="number"),null!=n&&n===n&&("number"!==a||ot.cssNumber[r]||(n+="px"),nt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,i)))))try{c[e]=n}catch(l){}}},css:function(t,e,n,i){var o,a,s,r=ot.camelCase(e);return e=ot.cssProps[r]||(ot.cssProps[r]=N(t.style,r)),s=ot.cssHooks[e]||ot.cssHooks[r],s&&"get"in s&&(a=s.get(t,!0,n)),void 0===a&&(a=ee(t,e,i)),"normal"===a&&e in de&&(a=de[e]),""===n||n?(o=parseFloat(a),n===!0||ot.isNumeric(o)?o||0:a):a}}),ot.each(["height","width"],function(t,e){ot.cssHooks[e]={get:function(t,n,i){if(n)return re.test(ot.css(t,"display"))&&0===t.offsetWidth?ot.swap(t,ue,function(){return L(t,e,i)}):L(t,e,i)},set:function(t,n,i){var o=i&&te(t);return S(t,n,i?x(t,e,i,nt.boxSizing&&"border-box"===ot.css(t,"boxSizing",!1,o),o):0)}}}),nt.opacity||(ot.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,o=ot.isNumeric(e)?"alpha(opacity="+100*e+")":"",a=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===ot.trim(a.replace(ae,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=ae.test(a)?a.replace(ae,o):a+" "+o)}}),ot.cssHooks.marginRight=C(nt.reliableMarginRight,function(t,e){if(e)return ot.swap(t,{display:"inline-block"},ee,[t,"marginRight"])}),ot.each({margin:"",padding:"",border:"Width"},function(t,e){ot.cssHooks[t+e]={expand:function(n){for(var i=0,o={},a="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+Nt[i]+e]=a[i]||a[i-2]||a[0];return o}},ne.test(t)||(ot.cssHooks[t+e].set=S)}),ot.fn.extend({css:function(t,e){return St(this,function(t,e,n){var i,o,a={},s=0;if(ot.isArray(e)){for(i=te(t),o=e.length;s1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ot(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=D,D.prototype={constructor:D,init:function(t,e,n,i,o,a){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ot.cssNumber[n]?"":"px")},cur:function(){var t=D.propHooks[this.prop];return t&&t.get?t.get(this):D.propHooks._default.get(this)},run:function(t){var e,n=D.propHooks[this.prop];return this.options.duration?this.pos=e=ot.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=ot.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[ot.cssProps[t.prop]]||ot.cssHooks[t.prop])?ot.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},ot.fx=D.prototype.init,ot.fx.step={};var pe,fe,me=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+Ct+")([a-z%]*)$","i"),be=/queueHooks$/,ve=[E],Me={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=ge.exec(e),a=o&&o[3]||(ot.cssNumber[t]?"":"px"),s=(ot.cssNumber[t]||"px"!==a&&+i)&&ge.exec(ot.css(n.elem,t)),r=1,c=20;if(s&&s[3]!==a){a=a||s[3],o=o||[],s=+i||1;do r=r||".5",s/=r,ot.style(n.elem,t,s+a);while(r!==(r=n.cur()/i)&&1!==r&&--c)}return o&&(s=n.start=+s||+i||0,n.unit=a,n.end=o[1]?s+(o[1]+1)*o[2]:+o[2]),n}]};ot.Animation=ot.extend(I,{tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;i
a",i=e.getElementsByTagName("a")[0],n=ft.createElement("select"),o=n.appendChild(ft.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(i.getAttribute("style")),nt.hrefNormalized="/a"===i.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=o.selected,nt.enctype=!!ft.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!o.disabled,t=ft.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var ye=/\r/g;ot.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=ot.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,ot(this).val()):t,null==o?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(t){return null==t?"":t+""})),e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(ye,""):null==n?"":n)}}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t))}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,a="select-one"===t.type||o<0,s=a?null:[],r=a?o+1:i.length,c=o<0?r:a?o:0;c=0)try{i.selected=n=!0}catch(r){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(t,e){if(ot.isArray(e))return t.checked=ot.inArray(ot(t).val(),e)>=0}},nt.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae,_e,ze=ot.expr.attrHandle,Te=/^(?:checked|selected)$/i,we=nt.getSetAttribute,Ce=nt.input;ot.fn.extend({attr:function(t,e){return St(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ot.removeAttr(this,t)})}}),ot.extend({attr:function(t,e,n){var i,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===zt?ot.prop(t,e,n):(1===a&&ot.isXMLDoc(t)||(e=e.toLowerCase(),i=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?_e:Ae)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:(o=ot.find.attr(t,e),null==o?void 0:o):null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void ot.removeAttr(t,e))},removeAttr:function(t,e){var n,i,o=0,a=e&&e.match(Mt);if(a&&1===t.nodeType)for(;n=a[o++];)i=ot.propFix[n]||n,ot.expr.match.bool.test(n)?Ce&&we||!Te.test(n)?t[i]=!1:t[ot.camelCase("default-"+n)]=t[i]=!1:ot.attr(t,n,""),t.removeAttribute(we?n:i)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),_e={set:function(t,e,n){return e===!1?ot.removeAttr(t,n):Ce&&we||!Te.test(n)?t.setAttribute(!we&&ot.propFix[n]||n,n):t[ot.camelCase("default-"+n)]=t[n]=!0,n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ze[e]||ot.find.attr;ze[e]=Ce&&we||!Te.test(e)?function(t,e,i){var o,a;return i||(a=ze[e],ze[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,ze[e]=a),o}:function(t,e,n){if(!n)return t[ot.camelCase("default-"+e)]?e.toLowerCase():null}}),Ce&&we||(ot.attrHooks.value={set:function(t,e,n){return ot.nodeName(t,"input")?void(t.defaultValue=e):Ae&&Ae.set(t,e,n)}}),we||(Ae={set:function(t,e,n){var i=t.getAttributeNode(n);if(i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n))return e}},ze.id=ze.name=ze.coords=function(t,e,n){var i;if(!n)return(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},ot.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:Ae.set},ot.attrHooks.contenteditable={set:function(t,e,n){Ae.set(t,""!==e&&e,n)}},ot.each(["width","height"],function(t,e){ot.attrHooks[e]={set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}}})),nt.style||(ot.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Ne=/^(?:input|select|textarea|button|object)$/i,Oe=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return St(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ot.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),ot.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,o,a,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return a=1!==s||!ot.isXMLDoc(t),a&&(e=ot.propFix[e]||e,o=ot.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):Ne.test(t.nodeName)||Oe.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||ot.each(["href","src"],function(t,e){ot.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex), -null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),nt.enctype||(ot.propFix.enctype="encoding");var Se=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,n,i,o,a,s,r=0,c=this.length,l="string"==typeof t&&t;if(ot.isFunction(t))return this.each(function(e){ot(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(Mt)||[];r=0;)i=i.replace(" "+o+" "," ");s=t?ot.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ot.isFunction(t)?this.each(function(n){ot(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,o=ot(this),a=t.match(Mt)||[];e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else n!==zt&&"boolean"!==n||(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||t===!1?"":ot._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n=0)return!0;return!1}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ot.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ot.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var xe=ot.now(),Le=/\?/,De=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,o=ot.trim(e+"");return o&&!ot.trim(o.replace(De,function(t,e,o,a){return n&&e&&(i=0),0===i?t:(n=o||e,i+=!a-!o,"")}))?Function("return "+o)():ot.error("Invalid JSON: "+e)},ot.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(o){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),n};var ke,qe,We=/#.*$/,Ee=/([?&])_=[^&]*/,Be=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ie=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Pe=/^(?:GET|HEAD)$/,Xe=/^\/\//,Re=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Fe={},He={},je="*/".concat("*");try{qe=location.href}catch(Ue){qe=ft.createElement("a"),qe.href="",qe=qe.href}ke=Re.exec(qe.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qe,type:"GET",isLocal:Ie.test(ke[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":je,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?R(R(t,ot.ajaxSettings),e):R(ot.ajaxSettings,t)},ajaxPrefilter:P(Fe),ajaxTransport:P(He),ajax:function(t,e){function n(t,e,n,i){var o,u,b,v,y,_=e;2!==M&&(M=2,r&&clearTimeout(r),l=void 0,s=i||"",A.readyState=t>0?4:0,o=t>=200&&t<300||304===t,n&&(v=F(d,A,n)),v=H(d,v,A,o),o?(d.ifModified&&(y=A.getResponseHeader("Last-Modified"),y&&(ot.lastModified[a]=y),y=A.getResponseHeader("etag"),y&&(ot.etag[a]=y)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=v.state,u=v.data,b=v.error,o=!b)):(b=_,!t&&_||(_="error",t<0&&(t=0))),A.status=t,A.statusText=(e||_)+"",o?f.resolveWith(h,[u,_,A]):f.rejectWith(h,[A,_,b]),A.statusCode(g),g=void 0,c&&p.trigger(o?"ajaxSuccess":"ajaxError",[A,d,o?u:b]),m.fireWith(h,[A,_]),c&&(p.trigger("ajaxComplete",[A,d]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,a,s,r,c,l,u,d=ot.ajaxSetup({},e),h=d.context||d,p=d.context&&(h.nodeType||h.jquery)?ot(h):ot.event,f=ot.Deferred(),m=ot.Callbacks("once memory"),g=d.statusCode||{},b={},v={},M=0,y="canceled",A={readyState:0,getResponseHeader:function(t){var e;if(2===M){if(!u)for(u={};e=Be.exec(s);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===M?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return M||(t=v[n]=v[n]||t,b[t]=e),this},overrideMimeType:function(t){return M||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(M<2)for(e in t)g[e]=[g[e],t[e]];else A.always(t[A.status]);return this},abort:function(t){var e=t||y;return l&&l.abort(e),n(0,e),this}};if(f.promise(A).complete=m.add,A.success=A.done,A.error=A.fail,d.url=((t||d.url||qe)+"").replace(We,"").replace(Xe,ke[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=ot.trim(d.dataType||"*").toLowerCase().match(Mt)||[""],null==d.crossDomain&&(i=Re.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===ke[1]&&i[2]===ke[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(ke[3]||("http:"===ke[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ot.param(d.data,d.traditional)),X(Fe,d,e,A),2===M)return A;c=ot.event&&d.global,c&&0===ot.active++&&ot.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Pe.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(Le.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Ee.test(a)?a.replace(Ee,"$1_="+xe++):a+(Le.test(a)?"&":"?")+"_="+xe++)),d.ifModified&&(ot.lastModified[a]&&A.setRequestHeader("If-Modified-Since",ot.lastModified[a]),ot.etag[a]&&A.setRequestHeader("If-None-Match",ot.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&A.setRequestHeader("Content-Type",d.contentType),A.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+je+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)A.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(h,A,d)===!1||2===M))return A.abort();y="abort";for(o in{success:1,error:1,complete:1})A[o](d[o]);if(l=X(He,d,e,A)){A.readyState=1,c&&p.trigger("ajaxSend",[A,d]),d.async&&d.timeout>0&&(r=setTimeout(function(){A.abort("timeout")},d.timeout));try{M=1,l.send(b,n)}catch(_){if(!(M<2))throw _;n(-1,_)}}else n(-1,"No Transport");return A},getJSON:function(t,e,n){return ot.get(t,e,n,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],function(t,e){ot[e]=function(t,n,i,o){return ot.isFunction(n)&&(o=o||i,i=n,n=void 0),ot.ajax({url:t,type:e,dataType:o,data:n,success:i})}}),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(t){if(ot.isFunction(t))return this.each(function(e){ot(this).wrapAll(t.call(this,e))});if(this[0]){var e=ot(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return ot.isFunction(t)?this.each(function(e){ot(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ot(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ot.isFunction(t);return this.each(function(n){ot(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||ot.css(t,"display"))},ot.expr.filters.visible=function(t){return!ot.expr.filters.hidden(t)};var $e=/%20/g,Je=/\[\]$/,Ve=/\r?\n/g,Ye=/^(?:submit|button|image|reset|file)$/i,Ke=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var n,i=[],o=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,function(){o(this.name,this.value)});else for(n in t)j(n,t[n],e,o);return i.join("&").replace($e,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&Ke.test(this.nodeName)&&!Ye.test(t)&&(this.checked||!xt.test(t))}).map(function(t,e){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:n.replace(Ve,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&U()||$()}:U;var Ge=0,Qe={},Ze=ot.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Qe)Qe[t](void 0,!0)}),nt.cors=!!Ze&&"withCredentials"in Ze,Ze=nt.ajax=!!Ze,Ze&&ot.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(n,i){var o,a=t.xhr(),s=++Ge;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)void 0!==n[o]&&a.setRequestHeader(o,n[o]+"");a.send(t.hasContent&&t.data||null),e=function(n,o){var r,c,l;if(e&&(o||4===a.readyState))if(delete Qe[s],e=void 0,a.onreadystatechange=ot.noop,o)4!==a.readyState&&a.abort();else{l={},r=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{c=a.statusText}catch(u){c=""}r||!t.isLocal||t.crossDomain?1223===r&&(r=204):r=l.text?200:404}l&&i(r,c,l,a.getAllResponseHeaders())},t.async?4===a.readyState?setTimeout(e):a.onreadystatechange=Qe[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ot.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=ft.head||ot("head")[0]||ft.documentElement;return{send:function(i,o){e=ft.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||o(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var tn=[],en=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tn.pop()||ot.expando+"_"+xe++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",function(e,n,i){var o,a,s,r=e.jsonp!==!1&&(en.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(en,"$1"+o):e.jsonp!==!1&&(e.url+=(Le.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||ot.error(o+" was not called"),s[0]},e.dataTypes[0]="json",a=t[o],t[o]=function(){s=arguments},i.always(function(){t[o]=a,e[o]&&(e.jsonpCallback=n.jsonpCallback,tn.push(o)),s&&ot.isFunction(a)&&a(s[0]),s=a=void 0}),"script"}),ot.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||ft;var i=dt.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=ot.buildFragment([t],e,o),o&&o.length&&ot(o).remove(),ot.merge([],i.childNodes))};var nn=ot.fn.load;ot.fn.load=function(t,e,n){if("string"!=typeof t&&nn)return nn.apply(this,arguments);var i,o,a,s=this,r=t.indexOf(" ");return r>=0&&(i=ot.trim(t.slice(r,t.length)),t=t.slice(0,r)),ot.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(a="POST"),s.length>0&&ot.ajax({url:t,type:a,dataType:"html",data:e}).done(function(t){o=arguments,s.html(i?ot("
").append(ot.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,o||[t.responseText,e,t])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ot.fn[e]=function(t){return this.on(e,t)}}),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,function(e){return t===e.elem}).length};var on=t.document.documentElement;ot.offset={setOffset:function(t,e,n){var i,o,a,s,r,c,l,u=ot.css(t,"position"),d=ot(t),h={};"static"===u&&(t.style.position="relative"),r=d.offset(),a=ot.css(t,"top"),c=ot.css(t,"left"),l=("absolute"===u||"fixed"===u)&&ot.inArray("auto",[a,c])>-1,l?(i=d.position(),s=i.top,o=i.left):(s=parseFloat(a)||0,o=parseFloat(c)||0),ot.isFunction(e)&&(e=e.call(t,n,r)),null!=e.top&&(h.top=e.top-r.top+s),null!=e.left&&(h.left=e.left-r.left+o),"using"in e?e.using.call(t,h):d.css(h)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ot.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],a=o&&o.ownerDocument;if(a)return e=a.documentElement,ot.contains(e,o)?(typeof o.getBoundingClientRect!==zt&&(i=o.getBoundingClientRect()),n=J(a),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===ot.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(n=t.offset()),n.top+=ot.css(t[0],"borderTopWidth",!0),n.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-ot.css(i,"marginTop",!0),left:e.left-n.left-ot.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||on;t&&!ot.nodeName(t,"html")&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||on})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);ot.fn[t]=function(i){return St(this,function(t,i,o){var a=J(t);return void 0===o?a?e in a?a[e]:a.document.documentElement[i]:t[i]:void(a?a.scrollTo(n?ot(a).scrollLeft():o,n?o:ot(a).scrollTop()):t[i]=o)},t,i,arguments.length,null)}}),ot.each(["top","left"],function(t,e){ot.cssHooks[e]=C(nt.pixelPosition,function(t,n){if(n)return n=ee(t,e),ie.test(n)?ot(t).position()[e]+"px":n})}),ot.each({Height:"height",Width:"width"},function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){ot.fn[i]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return St(this,function(e,n,i){var o;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?ot.css(e,n,s):ot.style(e,n,i,s)},e,a?i:void 0,a,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var an=t.jQuery,sn=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=sn),e&&t.jQuery===ot&&(t.jQuery=an),ot},typeof e===zt&&(t.jQuery=t.$=ot),ot}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(e,i){var o,a,s,r=e.nodeName.toLowerCase();return"area"===r?(o=e.parentNode,a=o.name,!(!e.href||!a||"map"!==o.nodeName.toLowerCase())&&(s=t("img[usemap='#"+a+"']")[0],!!s&&n(s))):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&n(e)}function n(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}function i(t){for(var e,n;t.length&&t[0]!==document;){if(e=t.css("position"),("absolute"===e||"relative"===e||"fixed"===e)&&(n=parseInt(t.css("zIndex"),10),!isNaN(n)&&0!==n))return n;t=t.parent()}return 0}function o(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=a(t("
"))}function a(e){var n="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(n,"mouseout",function(){t(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&t(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&t(this).removeClass("ui-datepicker-next-hover")}).delegate(n,"mouseover",s)}function s(){t.datepicker._isDisabledDatepicker(b.inline?b.dpDiv.parent()[0]:b.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&t(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&t(this).addClass("ui-datepicker-next-hover"))}function r(e,n){t.extend(e,n);for(var i in n)null==n[i]&&(e[i]=n[i]);return e}function c(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.ui=t.ui||{},t.extend(t.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({scrollParent:function(e){var n=this.css("position"),i="absolute"===n,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var e=t(this);return(!i||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&a.length?a:t(this[0].ownerDocument||document)},uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(n){return!!t.data(n,e)}}):function(e,n,i){return!!t.data(e,i[3])},focusable:function(n){return e(n,!isNaN(t.attr(n,"tabindex")))},tabbable:function(n){var i=t.attr(n,"tabindex"),o=isNaN(i);return(o||i>=0)&&e(n,!o)}}),t("").outerWidth(1).jquery||t.each(["Width","Height"],function(e,n){function i(e,n,i,a){return t.each(o,function(){n-=parseFloat(t.css(e,"padding"+this))||0,i&&(n-=parseFloat(t.css(e,"border"+this+"Width"))||0),a&&(n-=parseFloat(t.css(e,"margin"+this))||0)}),n}var o="Width"===n?["Left","Right"]:["Top","Bottom"],a=n.toLowerCase(),s={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+n]=function(e){return void 0===e?s["inner"+n].call(this):this.each(function(){t(this).css(a,i(this,e)+"px")})},t.fn["outer"+n]=function(e,o){return"number"!=typeof e?s["outer"+n].call(this,e):this.each(function(){t(this).css(a,i(this,e,!0,o)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t("").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(n){return arguments.length?e.call(this,t.camelCase(n)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.fn.extend({focus:function(e){return function(n,i){return"number"==typeof n?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),i&&i.call(e)},n)}):e.apply(this,arguments)}}(t.fn.focus),disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length)for(var n,i,o=t(this[0]);o.length&&o[0]!==document;){if(n=o.css("position"),("absolute"===n||"relative"===n||"fixed"===n)&&(i=parseInt(o.css("zIndex"),10),!isNaN(i)&&0!==i))return i;o=o.parent()}return 0}}),t.ui.plugin={add:function(e,n,i){var o,a=t.ui[e].prototype;for(o in i)a.plugins[o]=a.plugins[o]||[],a.plugins[o].push([n,i[o]])},call:function(t,e,n,i){var o,a=t.plugins[e];if(a&&(i||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o",options:{disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=l++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,o,a,s=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(s={},i=e.split("."),e=i.shift(),i.length){for(o=s[e]=t.widget.extend({},this.options[e]),a=0;a=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});!function(){function e(t,e,n){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?n/100:1)]}function n(e,n){return parseInt(t.css(e,n),10)||0}function i(e){var n=e[0];return 9===n.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(n)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var o,a,s=Math.max,r=Math.abs,c=Math.round,l=/left|center|right/,u=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==o)return o;var e,n,i=t("
"),a=i.children()[0];return t("body").append(i),e=a.offsetWidth,i.css("overflow","scroll"),n=a.offsetWidth,e===n&&(n=i[0].clientWidth),i.remove(),o=e-n},getScrollInfo:function(e){var n=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===n||"auto"===n&&e.width0?"right":"center",vertical:a<0?"top":i>0?"bottom":"middle"};ms(r(i),r(a))?c.important="horizontal":c.important="vertical",o.using.call(this,t,c)}),u.offset(t.extend(N,{using:l}))})},t.ui.position={fit:{left:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollLeft:i.offset.left,a=i.width,r=t.left-e.collisionPosition.marginLeft,c=o-r,l=r+e.collisionWidth-a-o;e.collisionWidth>a?c>0&&l<=0?(n=t.left+c+e.collisionWidth-a-o,t.left+=c-n):l>0&&c<=0?t.left=o:c>l?t.left=o+a-e.collisionWidth:t.left=o:c>0?t.left+=c:l>0?t.left-=l:t.left=s(t.left-r,t.left)},top:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollTop:i.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,c=o-r,l=r+e.collisionHeight-a-o;e.collisionHeight>a?c>0&&l<=0?(n=t.top+c+e.collisionHeight-a-o,t.top+=c-n):l>0&&c<=0?t.top=o:c>l?t.top=o+a-e.collisionHeight:t.top=o:c>0?t.top+=c:l>0?t.top-=l:t.top=s(t.top-r,t.top)}},flip:{left:function(t,e){var n,i,o=e.within,a=o.offset.left+o.scrollLeft,s=o.width,c=o.isWindow?o.scrollLeft:o.offset.left,l=t.left-e.collisionPosition.marginLeft,u=l-c,d=l+e.collisionWidth-s-c,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];u<0?(n=t.left+h+p+f+e.collisionWidth-s-a,(n<0||n0&&(i=t.left-e.collisionPosition.marginLeft+h+p+f-c,(i>0||r(i)u&&(i<0||i0&&(n=t.top-e.collisionPosition.marginTop+p+f+m-c,t.top+p+f+m>d&&(n>0||r(n)10&&o<11,e.innerHTML="",n.removeChild(e)}()}();t.ui.position,t.widget("ui.accordion",{version:"1.11.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?void this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),void("disabled"===t&&(this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e))))},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var n=t.ui.keyCode,i=this.headers.length,o=this.headers.index(e.target),a=!1;switch(e.keyCode){case n.RIGHT:case n.DOWN:a=this.headers[(o+1)%i];break;case n.LEFT:case n.UP:a=this.headers[(o-1+i)%i];break;case n.SPACE:case n.ENTER:this._eventHandler(e);break;case n.HOME:a=this.headers[0];break;case n.END:a=this.headers[i-1]}a&&(t(e.target).attr("tabIndex",-1),t(a).attr("tabIndex",0),a.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"),this.panels=this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide(),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,n=this.options,i=n.heightStyle,o=this.element.parent();this.active=this._findActive(n.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(){var e=t(this),n=e.uniqueId().attr("id"),i=e.next(),o=i.uniqueId().attr("id");e.attr("aria-controls",o),i.attr("aria-labelledby",n)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(n.event),"fill"===i?(e=o.height(),this.element.siblings(":visible").each(function(){var n=t(this),i=n.css("position");"absolute"!==i&&"fixed"!==i&&(e-=n.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===i&&(e=0,this.headers.next().each(function(){e=Math.max(e,t(this).css("height","").height())}).height(e))},_activate:function(e){var n=this._findActive(e)[0];n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var n=this.options,i=this.active,o=t(e.currentTarget),a=o[0]===i[0],s=a&&n.collapsible,r=s?t():o.next(),c=i.next(),l={oldHeader:i,oldPanel:c,newHeader:s?t():o,newPanel:r};e.preventDefault(),a&&!n.collapsible||this._trigger("beforeActivate",e,l)===!1||(n.active=!s&&this.headers.index(o),this.active=a?t():o,this._toggle(l),i.removeClass("ui-accordion-header-active ui-state-active"),n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),a||(o.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),n.icons&&o.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),o.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var n=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=i,this.options.animate?this._animate(n,i,e):(i.hide(),n.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr("aria-selected","false"),n.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):n.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(t,e,n){var i,o,a,s=this,r=0,c=t.length&&(!e.length||t.index()",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var n=t(e.target);!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&t(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var n=t(e.currentTarget);n.siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(e,n)}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var n=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,n)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){var n,i,o,a,s=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:s=!1,i=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===i?a=!0:o=i+o,n=this._filterMenuItems(o),n=a&&n.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):n,n.length||(o=String.fromCharCode(e.keyCode),n=this._filterMenuItems(o)),n.length?(this.focus(e,n),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(t):this.select(t))},refresh:function(){var e,n,i=this,o=this.options.icons.submenu,a=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),a.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),n=e.parent(),i=t("").addClass("ui-menu-icon ui-icon "+o).data("ui-menu-submenu-carat",!0);n.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",n.attr("id"))}),e=a.add(this.element),n=e.find(this.options.items),n.not(".ui-menu-item").each(function(){var e=t(this);i._isDivider(e)&&e.addClass("ui-widget-content ui-menu-divider")}),n.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),n.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),"disabled"===t&&this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this._super(t,e)},focus:function(t,e){var n,i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=e.children(".ui-menu"),n.length&&t&&/^mouse/.test(t.type)&&this._startOpening(n),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var n,i,o,a,s,r;this._hasScroll()&&(n=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-n-i,a=this.activeMenu.scrollTop(),s=this.activeMenu.height(),r=e.outerHeight(),o<0?this.activeMenu.scrollTop(a+o):o+r>s&&this.activeMenu.scrollTop(a+o-s+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var n=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(e,n){clearTimeout(this.timer),this.timer=this._delay(function(){var i=n?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));i.length||(i=this.element),this._close(i),this.blur(e),this.activeMenu=i},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,n){var i;this.active&&(i="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),i&&i.length&&this.active||(i=this.activeMenu.find(this.options.items)[e]()),this.focus(n,i)},nextPage:function(e){var n,i,o;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i-o<0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var n,i,o;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i+o>0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items).first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,n,i,o=this.element[0].nodeName.toLowerCase(),a="textarea"===o,s="input"===o;this.isMultiLine=!!a||!s&&this.element.prop("isContentEditable"),this.valueMethod=this.element[a||s?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,i=!0,void(n=!0);e=!1,i=!1,n=!1;var a=t.ui.keyCode;switch(o.keyCode){case a.PAGE_UP:e=!0,this._move("previousPage",o);break;case a.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case a.UP:e=!0,this._keyEvent("previous",o);break;case a.DOWN:e=!0,this._keyEvent("next",o);break;case a.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case a.TAB:this.menu.active&&this.menu.select(o);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(i){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||i.preventDefault());if(!n){var o=t.ui.keyCode;switch(i.keyCode){case o.PAGE_UP:this._move("previousPage",i);break;case o.PAGE_DOWN:this._move("nextPage",i);break;case o.UP:this._keyEvent("previous",i);break;case o.DOWN:this._keyEvent("next",i)}}},input:function(t){return i?(i=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t("
    ").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var n=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(i){i.target===e.element[0]||i.target===n||t.contains(n,i.target)||e.close()})})},menufocus:function(e,n){var i,o;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)})):(o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),i=n.item.attr("aria-label")||o.value,void(i&&t.trim(i).length&&(this.liveRegion.children().hide(),t("
    ").text(i).appendTo(this.liveRegion))))},menuselect:function(t,e){var n=e.item.data("ui-autocomplete-item"),i=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i,this.selectedItem=n})),!1!==this._trigger("select",t,{item:n})&&this._value(n.value),this.term=this._value(),this.close(t),this.selectedItem=n}}),this.liveRegion=t("",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,n,i=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,i){i(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,o){i.xhr&&i.xhr.abort(),i.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),i=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||i)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").text(n.label).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){ -var i=new RegExp(t.ui.autocomplete.escapeRegex(n),"i");return t.grep(e,function(t){return i.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
    ").text(n).appendTo(this.liveRegion))}});var h,p=(t.ui.autocomplete,"ui-button ui-widget ui-state-default ui-corner-all"),f="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",m=function(){var e=t(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)},g=function(e){var n=e.name,i=e.form,o=t([]);return n&&(n=n.replace(/'/g,"\\'"),o=i?t(i).find("[name='"+n+"'][type=radio]"):t("[name='"+n+"'][type=radio]",e.ownerDocument).filter(function(){return!this.form})),o};t.widget("ui.button",{version:"1.11.2",defaultElement:"").addClass(this._triggerClass).html(a?t("").attr({src:a,alt:o,title:o}):o)),e[r?"before":"after"](n.trigger),n.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,n,i,o,a=new Date(2009,11,20),s=this._get(t,"dateFormat");s.match(/[DM]/)&&(e=function(t){for(n=0,i=0,o=0;on&&(n=t[o].length,i=o);return i},a.setMonth(e(this._get(t,s.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(e(this._get(t,s.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),t.input.attr("size",this._formatDate(t,a).length)}},_inlineDatepicker:function(e,n){var i=t(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(n.dpDiv),t.data(e,"datepicker",n),this._setDate(n,this._getDefaultDate(n),!0),this._updateDatepicker(n),this._updateAlternate(n),n.settings.disabled&&this._disableDatepicker(e),n.dpDiv.css("display","block"))},_dialogDatepicker:function(e,n,i,o,a){var s,c,l,u,d,h=this._dialogInst;return h||(this.uuid+=1,s="dp"+this.uuid,this._dialogInput=t(""),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),h=this._dialogInst=this._newInst(this._dialogInput,!1),h.settings={},t.data(this._dialogInput[0],"datepicker",h)),r(h.settings,o||{}),n=n&&n.constructor===Date?this._formatDate(h,n):n,this._dialogInput.val(n),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(c=document.documentElement.clientWidth,l=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+u,l/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(e){var n,i=t(e),o=t.data(e,"datepicker");i.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===n?(o.append.remove(),o.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var n,i,o=t(e),a=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),"input"===n?(e.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==n&&"span"!==n||(i=o.children("."+this._inlineClass),i.children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var n,i,o=t(e),a=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),"input"===n?(e.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==n&&"span"!==n||(i=o.children("."+this._inlineClass),i.children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e-1},_doKeyUp:function(e){var n,i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{n=t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i)),n&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(o){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var n,o,a,s,c,l,u;n=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==n&&(t.datepicker._curInst.dpDiv.stop(!0,!0),n&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),o=t.datepicker._get(n,"beforeShow"),a=o?o.apply(e,[e,n]):{},a!==!1&&(r(n.settings,a),n.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(n),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),s=!1,t(e).parents().each(function(){return s|="fixed"===t(this).css("position"),!s}),c={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(n),c=t.datepicker._checkOffset(n,c,s),n.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":s?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"}),n.inline||(l=t.datepicker._get(n,"showAnim"),u=t.datepicker._get(n,"duration"),n.dpDiv.css("z-index",i(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?n.dpDiv.show(l,t.datepicker._get(n,"showOptions"),u):n.dpDiv[l||"show"](l?u:null),t.datepicker._shouldFocusInput(n)&&n.input.focus(),t.datepicker._curInst=n))}},_updateDatepicker:function(e){this.maxRows=4,b=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n,i=this._getNumberOfMonths(e),o=i[1],a=17,r=e.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&s.apply(r.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&e.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",a*o+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(n=e.yearshtml,setTimeout(function(){n===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),n=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,n,i){var o=e.dpDiv.outerWidth(),a=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,c=document.documentElement.clientWidth+(i?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:t(document).scrollTop());return n.left-=this._get(e,"isRTL")?o-s:0,n.left-=i&&n.left===e.input.offset().left?t(document).scrollLeft():0,n.top-=i&&n.top===e.input.offset().top+r?t(document).scrollTop():0,n.left-=Math.min(n.left,n.left+o>c&&c>o?Math.abs(n.left+o-c):0),n.top-=Math.min(n.top,n.top+a>l&&l>a?Math.abs(a+r):0),n},_findPos:function(e){for(var n,i=this._getInst(e),o=this._get(i,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[o?"previousSibling":"nextSibling"];return n=t(e).offset(),[n.left,n.top]},_hideDatepicker:function(e){var n,i,o,a,s=this._curInst;!s||e&&s!==t.data(e,"datepicker")||this._datepickerShowing&&(n=this._get(s,"showAnim"),i=this._get(s,"duration"),o=function(){t.datepicker._tidyDialog(s)},t.effects&&(t.effects.effect[n]||t.effects[n])?s.dpDiv.hide(n,t.datepicker._get(s,"showOptions"),i,o):s.dpDiv["slideDown"===n?"slideUp":"fadeIn"===n?"fadeOut":"hide"](n?i:null,o),n||o(),this._datepickerShowing=!1,a=this._get(s,"onClose"),a&&a.apply(s.input?s.input[0]:null,[s.input?s.input.val():"",s]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var n=t(e.target),i=t.datepicker._getInst(n[0]);(n[0].id===t.datepicker._mainDivId||0!==n.parents("#"+t.datepicker._mainDivId).length||n.hasClass(t.datepicker.markerClassName)||n.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!n.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===i)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,n,i){var o=t(e),a=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(a,n+("M"===i?this._get(a,"showCurrentAtPos"):0),i),this._updateDatepicker(a))},_gotoToday:function(e){var n,i=t(e),o=this._getInst(i[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(n=new Date,o.selectedDay=n.getDate(),o.drawMonth=o.selectedMonth=n.getMonth(),o.drawYear=o.selectedYear=n.getFullYear()),this._notifyChange(o),this._adjustDate(i)},_selectMonthYear:function(e,n,i){var o=t(e),a=this._getInst(o[0]);a["selected"+("M"===i?"Month":"Year")]=a["draw"+("M"===i?"Month":"Year")]=parseInt(n.options[n.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(o)},_selectDay:function(e,n,i,o){var a,s=t(e);t(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||(a=this._getInst(s[0]),a.selectedDay=a.currentDay=t("a",o).html(),a.selectedMonth=a.currentMonth=n,a.selectedYear=a.currentYear=i,this._selectDate(e,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(e){var n=t(e);this._selectDate(n,"")},_selectDate:function(e,n){var i,o=t(e),a=this._getInst(o[0]);n=null!=n?n:this._formatDate(a),a.input&&a.input.val(n),this._updateAlternate(a),i=this._get(a,"onSelect"),i?i.apply(a.input?a.input[0]:null,[n,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var n,i,o,a=this._get(e,"altField");a&&(n=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),o=this.formatDate(n,i,this._getFormatConfig(e)),t(a).each(function(){t(this).val(o)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,n=new Date(t.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),e=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((e-n)/864e5)/7)+1},parseDate:function(e,n,i){if(null==e||null==n)throw"Invalid arguments";if(n="object"==typeof n?n.toString():n+"",""===n)return null;var o,a,s,r,c=0,l=(i?i.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),d=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,h=(i?i.dayNames:null)||this._defaults.dayNames,p=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,f=(i?i.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,b=-1,v=-1,M=!1,y=function(t){var n=o+1-1)for(g=1,b=v;;){if(a=this._getDaysInMonth(m,g-1),b<=a)break;g++,b-=a}if(r=this._daylightSavingAdjust(new Date(m,g-1,b)),r.getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==b)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){if(!e)return"";var i,o=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,a=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,r=(n?n.monthNames:null)||this._defaults.monthNames,c=function(e){var n=i+112?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var i=!e,o=t.selectedMonth,a=t.selectedYear,s=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=s.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=s.getMonth(),t.drawYear=t.selectedYear=t.currentYear=s.getFullYear(),o===t.selectedMonth&&a===t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(i?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var n=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(i,-n,"M")},next:function(){t.datepicker._adjustDate(i,+n,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(i)},selectDay:function(){return t.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(i,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,n,i,o,a,s,r,c,l,u,d,h,p,f,m,g,b,v,M,y,A,_,z,T,w,C,N,O,S,x,L,D,k,q,W,E,B,I,P,X=new Date,R=this._daylightSavingAdjust(new Date(X.getFullYear(),X.getMonth(),X.getDate())),F=this._get(t,"isRTL"),H=this._get(t,"showButtonPanel"),j=this._get(t,"hideIfNoPrevNext"),U=this._get(t,"navigationAsDateFormat"),$=this._getNumberOfMonths(t),J=this._get(t,"showCurrentAtPos"),V=this._get(t,"stepMonths"),Y=1!==$[0]||1!==$[1],K=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),Z=t.drawMonth-J,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-$[0]*$[1]+1,Q.getDate())),e=G&&ee;)Z--,Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,n=this._get(t,"prevText"),n=U?this.formatDate(n,this._daylightSavingAdjust(new Date(tt,Z-V,1)),this._getFormatConfig(t)):n,i=this._canAdjustMonth(t,-1,tt,Z)?""+n+"":j?"":""+n+"", -o=this._get(t,"nextText"),o=U?this.formatDate(o,this._daylightSavingAdjust(new Date(tt,Z+V,1)),this._getFormatConfig(t)):o,a=this._canAdjustMonth(t,1,tt,Z)?""+o+"":j?"":""+o+"",s=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?K:R,s=U?this.formatDate(s,r,this._getFormatConfig(t)):s,c=t.inline?"":"",l=H?"
    "+(F?c:"")+(this._isInRange(t,r)?"":"")+(F?"":c)+"
    ":"",u=parseInt(this._get(t,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(t,"showWeek"),h=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),m=this._get(t,"monthNamesShort"),g=this._get(t,"beforeShowDay"),b=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),M=this._getDefaultDate(t),y="",_=0;_<$[0];_++){for(z="",this.maxRows=4,T=0;T<$[1];T++){if(w=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),C=" ui-corner-all",N="",Y){if(N+="
    "}for(N+="
    "+(/all|left/.test(C)&&0===_?F?a:i:"")+(/all|right/.test(C)&&0===_?F?i:a:"")+this._generateMonthYearHeader(t,Z,tt,G,Q,_>0||T>0,f,m)+"
    ",O=d?"":"",A=0;A<7;A++)S=(A+u)%7,O+="";for(N+=O+"",x=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,x)),L=(this._getFirstDayOfMonth(tt,Z)-u+7)%7,D=Math.ceil((L+x)/7),k=Y&&this.maxRows>D?this.maxRows:D,this.maxRows=k,q=this._daylightSavingAdjust(new Date(tt,Z,1-L)),W=0;W",E=d?"":"",A=0;A<7;A++)B=g?g.apply(t.input?t.input[0]:null,[q]):[!0,""],I=q.getMonth()!==Z,P=I&&!v||!B[0]||G&&qQ,E+="",q.setDate(q.getDate()+1),q=this._daylightSavingAdjust(q);N+=E+""}Z++,Z>11&&(Z=0,tt++),N+="
    "+this._get(t,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+p[S]+"
    "+this._get(t,"calculateWeek")(q)+""+(I&&!b?" ":P?""+q.getDate()+"":""+q.getDate()+"")+"
    "+(Y?"
    "+($[0]>0&&T===$[1]-1?"
    ":""):""),z+=N}y+=z}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,n,i,o,a,s,r){var c,l,u,d,h,p,f,m,g=this._get(t,"changeMonth"),b=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),M="
    ",y="";if(a||!g)y+=""+s[e]+"";else{for(c=i&&i.getFullYear()===n,l=o&&o.getFullYear()===n,y+=""}if(v||(M+=y+(!a&&g&&b?"":" ")),!t.yearshtml)if(t.yearshtml="",a||!b)M+=""+n+"";else{for(d=this._get(t,"yearRange").split(":"),h=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?n+parseInt(t.substring(1),10):t.match(/[+\-].*/)?h+parseInt(t,10):parseInt(t,10);return isNaN(e)?h:e},f=p(d[0]),m=Math.max(f,p(d[1]||"")),f=i?Math.max(f,i.getFullYear()):f,m=o?Math.min(m,o.getFullYear()):m,t.yearshtml+="",M+=t.yearshtml,t.yearshtml=null}return M+=this._get(t,"yearSuffix"),v&&(M+=(!a&&g&&b?"":" ")+y),M+="
    "},_adjustInstDate:function(t,e,n){var i=t.drawYear+("Y"===n?e:0),o=t.drawMonth+("M"===n?e:0),a=Math.min(t.selectedDay,this._getDaysInMonth(i,o))+("D"===n?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(i,o,a)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min"),i=this._getMinMaxDate(t,"max"),o=n&&ei?i:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,i){var o=this._getNumberOfMonths(t),a=this._daylightSavingAdjust(new Date(n,i+(e<0?e:o[0]*o[1]),1));return e<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(t,a)},_isInRange:function(t,e){var n,i,o=this._getMinMaxDate(t,"min"),a=this._getMinMaxDate(t,"max"),s=null,r=null,c=this._get(t,"yearRange");return c&&(n=c.split(":"),i=(new Date).getFullYear(),s=parseInt(n[0],10),r=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(s+=i),n[1].match(/[+\-].*/)&&(r+=i)),(!o||e.getTime()>=o.getTime())&&(!a||e.getTime()<=a.getTime())&&(!s||e.getFullYear()>=s)&&(!r||e.getFullYear()<=r)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,i){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(i,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(n)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n))},t.datepicker=new o,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.11.2";t.datepicker;t.widget("ui.draggable",t.ui.mouse,{version:"1.11.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(e){var n=this.options;return this._blurActiveElement(e),!(this.helper||n.disabled||t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blockFrames(n.iframeFix===!0?"iframe":n.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("
    ").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var n=this.document[0];if(this.handleElement.is(e.target))try{n.activeElement&&"body"!==n.activeElement.nodeName.toLowerCase()&&t(n.activeElement).blur()}catch(i){}},_mouseStart:function(e){var n=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._normalizeRightBottom(),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var i=this._uiHash();if(this._trigger("drag",e,i)===!1)return this._mouseUp({}),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n=this,i=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(i=t.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){n._trigger("stop",e)!==!1&&n._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.focus(),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this.handleElement.addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.handleElement.removeClass("ui-draggable-handle")},_createHelper:function(e){var n=this.options,i=t.isFunction(n.helper),o=i?t(n.helper.apply(this.element[0],[e])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),i&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),n=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==n&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i,o=this.options,a=this.document[0];return this.relativeContainer=null,o.containment?"window"===o.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===o.containment?void(this.containment=[0,0,t(a).width()-this.helperProportions.width-this.margins.left,(t(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):o.containment.constructor===Array?void(this.containment=o.containment):("parent"===o.containment&&(o.containment=this.helper[0].parentNode),n=t(o.containment),i=n[0],void(i&&(e=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n))):void(this.containment=null)},_convertPositionTo:function(t,e){e||(e=this.position);var n="absolute"===t?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*n}},_generatePosition:function(t,e){var n,i,o,a,s=this.options,r=this._isRootNode(this.scrollParent[0]),c=t.pageX,l=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),n=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):n=this.containment,t.pageX-this.offset.click.leftn[2]&&(c=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),s.grid&&(o=s.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,l=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-s.grid[1]:o+s.grid[1]:o,a=s.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,c=n?a-this.offset.click.left>=n[0]||a-this.offset.click.left>n[2]?a:a-this.offset.click.left>=n[0]?a-s.grid[0]:a+s.grid[0]:a),"y"===s.axis&&(c=this.originalPageX),"x"===s.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(e,n,i){return i=i||this._uiHash(),t.ui.plugin.call(this,e,[n,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,n,i){var o=t.extend({},n,{item:i.element});i.sortables=[],t(i.options.connectToSortable).each(function(){var n=t(this).sortable("instance");n&&!n.options.disabled&&(i.sortables.push(n),n.refreshPositions(),n._trigger("activate",e,o))})},stop:function(e,n,i){var o=t.extend({},n,{item:i.element});i.cancelHelperRemoval=!1,t.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,o))})},drag:function(e,n,i){t.each(i.sortables,function(){var o=!1,a=this;a.positionAbs=i.positionAbs,a.helperProportions=i.helperProportions,a.offset.click=i.offset.click,a._intersectsWith(a.containerCache)&&(o=!0,t.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&t.contains(a.element[0],this.element[0])&&(o=!1),o})),o?(a.isOver||(a.isOver=1,a.currentItem=n.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return n.helper[0]},e.target=a.currentItem[0],a._mouseCapture(e,!0),a._mouseStart(e,!0,!0),a.offset.click.top=i.offset.click.top,a.offset.click.left=i.offset.click.left,a.offset.parent.left-=i.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=i.offset.parent.top-a.offset.parent.top,i._trigger("toSortable",e),i.dropped=a.element,t.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,a.fromOutside=i),a.currentItem&&(a._mouseDrag(e),n.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",e,a._uiHash(a)),a._mouseStop(e,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),i._refreshOffsets(e),n.position=i._generatePosition(e,!0),i._trigger("fromSortable",e),i.dropped=!1,t.each(i.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,n,i){var o=t("body"),a=i.options;o.css("cursor")&&(a._cursor=o.css("cursor")),o.css("cursor",a.cursor)},stop:function(e,n,i){var o=i.options;o._cursor&&t("body").css("cursor",o._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,n,i){var o=t(n.helper),a=i.options;o.css("opacity")&&(a._opacity=o.css("opacity")),o.css("opacity",a.opacity)},stop:function(e,n,i){var o=i.options;o._opacity&&t(n.helper).css("opacity",o._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,n,i){var o=i.options,a=!1,s=i.scrollParentNotHidden[0],r=i.document[0];s!==r&&"HTML"!==s.tagName?(o.axis&&"x"===o.axis||(i.overflowOffset.top+s.offsetHeight-e.pageY=0;h--)c=i.snapElements[h].left-i.margins.left,l=c+i.snapElements[h].width,u=i.snapElements[h].top-i.margins.top,d=u+i.snapElements[h].height,bl+m||Md+m||!t.contains(i.snapElements[h].item.ownerDocument,i.snapElements[h].item)?(i.snapElements[h].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=!1):("inner"!==f.snapMode&&(o=Math.abs(u-M)<=m,a=Math.abs(d-v)<=m,s=Math.abs(c-b)<=m,r=Math.abs(l-g)<=m,o&&(n.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),a&&(n.position.top=i._convertPositionTo("relative",{top:d,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c-i.helperProportions.width}).left),r&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),p=o||a||s||r,"outer"!==f.snapMode&&(o=Math.abs(u-v)<=m,a=Math.abs(d-M)<=m,s=Math.abs(c-g)<=m,r=Math.abs(l-b)<=m,o&&(n.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),a&&(n.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c}).left),r&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[h].snapping&&(o||a||s||r||p)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=o||a||s||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,n,i){var o,a=i.options,s=t.makeArray(t(a.stack)).sort(function(e,n){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(n).css("zIndex"),10)||0)});s.length&&(o=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(e){t(this).css("zIndex",o+e)}),this.css("zIndex",o+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,n,i){var o=t(n.helper),a=i.options;o.css("zIndex")&&(a._zIndex=o.css("zIndex")),o.css("zIndex",a.zIndex)},stop:function(e,n,i){var o=i.options;o._zIndex&&t(n.helper).css("zIndex",o._zIndex)}});t.ui.draggable;t.widget("ui.resizable",t.ui.mouse,{version:"1.11.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseInt(t,10)||0},_isNumber:function(t){return!isNaN(parseInt(t,10))},_hasScroll:function(e,n){if("hidden"===t(e).css("overflow"))return!1;var i=n&&"left"===n?"scrollLeft":"scrollTop",o=!1;return e[i]>0||(e[i]=1,o=e[i]>0,e[i]=0,o)},_create:function(){var e,n,i,o,a,s=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},n=0;n
    "),o.css({zIndex:r.zIndex}),"se"===i&&o.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(o);this._renderAxis=function(e){var n,i,o,a;e=e||this.element;for(n in this.handles)this.handles[n].constructor===String&&(this.handles[n]=this.element.children(this.handles[n]).first().show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=t(this.handles[n],this.element),a=/sw|ne|nw|se|n|s/.test(n)?i.outerHeight():i.outerWidth(),o=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),e.css(o,a),this._proportionallyResize()),t(this.handles[n]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=o&&o[1]?o[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){r.disabled||s.resizing||(t(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,n=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(n(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_mouseCapture:function(e){var n,i,o=!1;for(n in this.handles)i=t(this.handles[n])[0],(i===e.target||t.contains(i,e.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(e){var n,i,o,a=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),n=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),a.containment&&(n+=t(a.containment).scrollLeft()||0,i+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{ -width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:n,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),s.addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var n,i,o=this.originalMousePosition,a=this.axis,s=e.pageX-o.left||0,r=e.pageY-o.top||0,c=this._change[a];return this._updatePrevProperties(),!!c&&(n=c.apply(this,[e,s,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(n=this._updateRatio(n,e)),n=this._respectSize(n,e),this._updateCache(n),this._propagate("resize",e),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var n,i,o,a,s,r,c,l=this.options,u=this;return this._helper&&(n=this._proportionallyResizeElements,i=n.length&&/textarea/i.test(n[0].nodeName),o=i&&this._hasScroll(n[0],"left")?0:u.sizeDiff.height,a=i?0:u.sizeDiff.width,s={width:u.helper.width()-a,height:u.helper.height()-o},r=parseInt(u.element.css("left"),10)+(u.position.left-u.originalPosition.left)||null,c=parseInt(u.element.css("top"),10)+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(t.extend(s,{top:c,left:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,n,i,o,a,s=this.options;a={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,i=a.minWidth/this.aspectRatio,n=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),i>a.minHeight&&(a.minHeight=i),nt.width,s=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,c=this.position.top+this.size.height,l=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return a&&(t.width=e.minWidth),s&&(t.height=e.minHeight),i&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&l&&(t.left=r-e.minWidth),i&&l&&(t.left=r-e.maxWidth),s&&u&&(t.top=c-e.minHeight),o&&u&&(t.top=c-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,n=[],i=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],o=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)n[e]=parseInt(i[e],10)||0,n[e]+=parseInt(o[e],10)||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,n=this.helper||this.element;e
    "),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var n=this.originalSize,i=this.originalPosition;return{left:i.left+e,width:n.width-e}},n:function(t,e,n){var i=this.originalSize,o=this.originalPosition;return{top:o.top+n,height:i.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},sw:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,n,i]))},ne:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},nw:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,n,i]))}},_propagate:function(e,n){t.ui.plugin.call(this,e,[n,this.ui()]),"resize"!==e&&this._trigger(e,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var n=t(this).resizable("instance"),i=n.options,o=n._proportionallyResizeElements,a=o.length&&/textarea/i.test(o[0].nodeName),s=a&&n._hasScroll(o[0],"left")?0:n.sizeDiff.height,r=a?0:n.sizeDiff.width,c={width:n.size.width-r,height:n.size.height-s},l=parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left)||null,u=parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top)||null;n.element.animate(t.extend(c,u&&l?{top:u,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var i={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};o&&o.length&&t(o[0]).css({width:i.width,height:i.height}),n._updateCache(i),n._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,n,i,o,a,s,r,c=t(this).resizable("instance"),l=c.options,u=c.element,d=l.containment,h=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;h&&(c.containerElement=t(h),/document/.test(d)||d===document?(c.containerOffset={left:0,top:0},c.containerPosition={left:0,top:0},c.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(h),n=[],t(["Top","Right","Left","Bottom"]).each(function(t,i){n[t]=c._num(e.css("padding"+i))}),c.containerOffset=e.offset(),c.containerPosition=e.position(),c.containerSize={height:e.innerHeight()-n[3],width:e.innerWidth()-n[1]},i=c.containerOffset,o=c.containerSize.height,a=c.containerSize.width,s=c._hasScroll(h,"left")?h.scrollWidth:a,r=c._hasScroll(h)?h.scrollHeight:o,c.parentData={element:h,left:i.left,top:i.top,width:s,height:r}))},resize:function(e){var n,i,o,a,s=t(this).resizable("instance"),r=s.options,c=s.containerOffset,l=s.position,u=s._aspectRatio||e.shiftKey,d={top:0,left:0},h=s.containerElement,p=!0;h[0]!==document&&/static/.test(h.css("position"))&&(d=c),l.left<(s._helper?c.left:0)&&(s.size.width=s.size.width+(s._helper?s.position.left-c.left:s.position.left-d.left),u&&(s.size.height=s.size.width/s.aspectRatio,p=!1),s.position.left=r.helper?c.left:0),l.top<(s._helper?c.top:0)&&(s.size.height=s.size.height+(s._helper?s.position.top-c.top:s.position.top),u&&(s.size.width=s.size.height*s.aspectRatio,p=!1),s.position.top=s._helper?c.top:0),o=s.containerElement.get(0)===s.element.parent().get(0),a=/relative|absolute/.test(s.containerElement.css("position")),o&&a?(s.offset.left=s.parentData.left+s.position.left,s.offset.top=s.parentData.top+s.position.top):(s.offset.left=s.element.offset().left,s.offset.top=s.element.offset().top),n=Math.abs(s.sizeDiff.width+(s._helper?s.offset.left-d.left:s.offset.left-c.left)),i=Math.abs(s.sizeDiff.height+(s._helper?s.offset.top-d.top:s.offset.top-c.top)),n+s.size.width>=s.parentData.width&&(s.size.width=s.parentData.width-n,u&&(s.size.height=s.size.width/s.aspectRatio,p=!1)),i+s.size.height>=s.parentData.height&&(s.size.height=s.parentData.height-i,u&&(s.size.width=s.size.height*s.aspectRatio,p=!1)),p||(s.position.left=s.prevPosition.left,s.position.top=s.prevPosition.top,s.size.width=s.prevSize.width,s.size.height=s.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),n=e.options,i=e.containerOffset,o=e.containerPosition,a=e.containerElement,s=t(e.helper),r=s.offset(),c=s.outerWidth()-e.sizeDiff.width,l=s.outerHeight()-e.sizeDiff.height;e._helper&&!n.animate&&/relative/.test(a.css("position"))&&t(this).css({left:r.left-o.left-i.left,width:c,height:l}),e._helper&&!n.animate&&/static/.test(a.css("position"))&&t(this).css({left:r.left-o.left-i.left,width:c,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),n=e.options,i=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof n.alsoResize||n.alsoResize.parentNode?i(n.alsoResize):n.alsoResize.length?(n.alsoResize=n.alsoResize[0],i(n.alsoResize)):t.each(n.alsoResize,function(t){i(t)})},resize:function(e,n){var i=t(this).resizable("instance"),o=i.options,a=i.originalSize,s=i.originalPosition,r={height:i.size.height-a.height||0,width:i.size.width-a.width||0,top:i.position.top-s.top||0,left:i.position.left-s.left||0},c=function(e,i){t(e).each(function(){var e=t(this),o=t(this).data("ui-resizable-alsoresize"),a={},s=i&&i.length?i:e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(s,function(t,e){var n=(o[e]||0)+(r[e]||0);n&&n>=0&&(a[e]=n||null)}),e.css(a)})};"object"!=typeof o.alsoResize||o.alsoResize.nodeType?c(o.alsoResize):t.each(o.alsoResize,function(t,e){c(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),n=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof n.ghost?n.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,n=t(this).resizable("instance"),i=n.options,o=n.size,a=n.originalSize,s=n.originalPosition,r=n.axis,c="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=c[0]||1,u=c[1]||1,d=Math.round((o.width-a.width)/l)*l,h=Math.round((o.height-a.height)/u)*u,p=a.width+d,f=a.height+h,m=i.maxWidth&&i.maxWidthp,v=i.minHeight&&i.minHeight>f;i.grid=c,b&&(p+=l),v&&(f+=u),m&&(p-=l),g&&(f-=u),/^(se|s|e)$/.test(r)?(n.size.width=p,n.size.height=f):/^(ne)$/.test(r)?(n.size.width=p,n.size.height=f,n.position.top=s.top-h):/^(sw)$/.test(r)?(n.size.width=p,n.size.height=f,n.position.left=s.left-d):((f-u<=0||p-l<=0)&&(e=n._getPaddingPlusBorderDimensions(this)),f-u>0?(n.size.height=f,n.position.top=s.top-h):(f=u-e.height,n.size.height=f,n.position.top=s.top+a.height-f),p-l>0?(n.size.width=p,n.position.left=s.left-d):(p=u-e.height,n.size.width=p,n.position.left=s.left+a.width-p))}});t.ui.resizable,t.widget("ui.dialog",{version:"1.11.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"Close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var n=t(this).css(e).offset().top;n<0&&t(this).css("top",e.top-n)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var n,i=this;if(this._isOpen&&this._trigger("beforeClose",e)!==!1){if(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),!this.opener.filter(":focusable").focus().length)try{n=this.document[0].activeElement,n&&"body"!==n.nodeName.toLowerCase()&&t(n).blur()}catch(o){}this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,n){var i=!1,o=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),a=Math.max.apply(null,o);return a>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",a+1),i=!0),i&&!n&&this._trigger("focus",e),i},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function n(){var e=this.document[0].activeElement,n=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);n||this._focusTabbable()}e.preventDefault(),n.call(this),this._delay(n)},_createWrapper:function(){this.uiDialog=t("
    ").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var n=this.uiDialog.find(":tabbable"),i=n.filter(":first"),o=n.filter(":last");e.target!==o[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){o.focus()}),e.preventDefault()):(this._delay(function(){i.focus()}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("
    ").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
    ").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,n=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(n)||t.isArray(n)&&!n.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(t.each(n,function(n,i){var o,a;i=t.isFunction(i)?{click:i,text:n}:i,i=t.extend({type:"button"},i),o=i.click,i.click=function(){o.apply(e.element[0],arguments)},a={icons:i.icons,text:i.showText},delete i.icons,delete i.showText,t("",i).button(a).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var n=this,i=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,o){t(this).addClass("ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",i,e(o))},drag:function(t,i){n._trigger("drag",t,e(i))},stop:function(o,a){var s=a.offset.left-n.document.scrollLeft(),r=a.offset.top-n.document.scrollTop();i.position={my:"left top",at:"left"+(s>=0?"+":"")+s+" top"+(r>=0?"+":"")+r,of:n.window},t(this).removeClass("ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",o,e(a))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var n=this,i=this.options,o=i.resizable,a=this.uiDialog.css("position"),s="string"==typeof o?o:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:s,start:function(i,o){t(this).addClass("ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",i,e(o))},resize:function(t,i){n._trigger("resize",t,e(i))},stop:function(o,a){var s=n.uiDialog.offset(),r=s.left-n.document.scrollLeft(),c=s.top-n.document.scrollTop();i.height=n.uiDialog.height(),i.width=n.uiDialog.width(),i.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" top"+(c>=0?"+":"")+c,of:n.window},t(this).removeClass("ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",o,e(a))}}).css("position",a)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),n=t.inArray(this,e);n!==-1&&e.splice(n,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var n=this,i=!1,o={};t.each(e,function(t,e){n._setOption(t,e),t in n.sizeRelatedOptions&&(i=!0),t in n.resizableRelatedOptions&&(o[t]=e)}),i&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(t,e){var n,i,o=this.uiDialog;"dialogClass"===t&&o.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(n=o.is(":data(ui-draggable)"),n&&!e&&o.draggable("destroy"),!n&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(i=o.is(":data(ui-resizable)"),i&&!e&&o.resizable("destroy"),i&&"string"==typeof e&&o.resizable("option","handles",e),i||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,n,i=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),i.minWidth>i.width&&(i.width=i.minWidth),t=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),e=Math.max(0,i.minHeight-t),n="number"==typeof i.maxHeight?Math.max(0,i.maxHeight-t):"none","auto"===i.height?this.element.css({minHeight:e,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,i.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
    ").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("
    ").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null}}});t.widget("ui.droppable",{version:"1.11.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,n=this.options,i=n.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(n.scope),n.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e=e&&t=u&&s<=h||c>=u&&c<=h||sh)&&(a>=l&&a<=d||r>=l&&r<=d||ad);default:return!1}}}(),t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,n){var i,o,a=t.ui.ddmanager.droppables[e.options.scope]||[],s=n?n.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(i=0;it?0:i.max")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",h.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(o,s,r,c){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(s),s=e);var d=this,h=t.type(o),p=this._rgba=[];return s!==e&&(o=[o,s,r,c],h="array"),"string"===h?this.parse(i(o)||a._default):"array"===h?(f(u.rgba.props,function(t,e){p[e.idx]=n(o[e.idx],e)}),this):"object"===h?(o instanceof l?f(u,function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}):f(u,function(e,i){var a=i.cache;f(i.props,function(t,e){if(!d[a]&&i.to){if("alpha"===t||null==o[t])return;d[a]=i.to(d._rgba)}d[a][e.idx]=n(o[t],e,!0)}),d[a]&&t.inArray(null,d[a].slice(0,3))<0&&(d[a][3]=1,i.from&&(d._rgba=i.from(d[a])))}),this):void 0},is:function(t){var e=l(t),n=!0,i=this;return f(u,function(t,o){var a,s=e[o.cache];return s&&(a=i[o.cache]||o.to&&o.to(i._rgba)||[],f(o.props,function(t,e){if(null!=s[e.idx])return n=s[e.idx]===a[e.idx]})),n}),n},_space:function(){var t=[],e=this;return f(u,function(n,i){e[i.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var i=l(t),o=i._space(),a=u[o],s=0===this.alpha()?l("transparent"):this,r=s[a.cache]||a.to(s._rgba),c=r.slice();return i=i[a.cache],f(a.props,function(t,o){var a=o.idx,s=r[a],l=i[a],u=d[o.type]||{};null!==l&&(null===s?c[a]=l:(u.mod&&(l-s>u.mod/2?s+=u.mod:s-l>u.mod/2&&(s-=u.mod)),c[a]=n((l-s)*e+s,o)))}),this[o](c)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),o=l(e)._rgba;return l(t.map(n,function(t,e){return(1-i)*o[e]+i*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),i=n.pop();return e&&n.push(~~(255*i)),"#"+t.map(n,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,i=t[0]/255,o=t[1]/255,a=t[2]/255,s=t[3],r=Math.max(i,o,a),c=Math.min(i,o,a),l=r-c,u=r+c,d=.5*u;return e=c===r?0:i===r?60*(o-a)/l+360:o===r?60*(a-i)/l+120:60*(i-o)/l+240,n=0===l?0:d<=.5?l/u:l/(2-u),[Math.round(e)%360,n,d,null==s?1:s]},u.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],i=t[2],a=t[3],s=i<=.5?i*(1+n):i+n-i*n,r=2*i-s;return[Math.round(255*o(r,s,e+1/3)),Math.round(255*o(r,s,e)),Math.round(255*o(r,s,e-1/3)),a]},f(u,function(i,o){var a=o.props,s=o.cache,c=o.to,u=o.from;l.fn[i]=function(i){if(c&&!this[s]&&(this[s]=c(this._rgba)),i===e)return this[s].slice();var o,r=t.type(i),d="array"===r||"object"===r?i:arguments,h=this[s].slice();return f(a,function(t,e){var i=d["object"===r?t:e.idx];null==i&&(i=h[e.idx]),h[e.idx]=n(i,e)}),u?(o=l(u(h)),o[s]=h,o):l(h)},f(a,function(e,n){l.fn[e]||(l.fn[e]=function(o){var a,s=t.type(o),c="alpha"===e?this._hsla?"hsla":"rgba":i,l=this[c](),u=l[n.idx];return"undefined"===s?u:("function"===s&&(o=o.call(this,u),s=t.type(o)),null==o&&n.empty?this:("string"===s&&(a=r.exec(o),a&&(o=u+parseFloat(a[2])*("+"===a[1]?1:-1))),l[n.idx]=o,this[c](l)))})})}),l.hook=function(e){var n=e.split(" ");f(n,function(e,n){t.cssHooks[n]={set:function(e,o){var a,s,r="";if("transparent"!==o&&("string"!==t.type(o)||(a=i(o)))){if(o=l(a||o),!h.rgba&&1!==o._rgba[3]){for(s="backgroundColor"===n?e.parentNode:e;(""===r||"transparent"===r)&&s&&s.style;)try{r=t.css(s,"backgroundColor"),s=s.parentNode}catch(c){}o=o.blend(r&&"transparent"!==r?r:"_default")}o=o.toRgbaString()}try{e.style[n]=o}catch(c){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=l(e.elem,n),e.end=l(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(s),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(n,i){e["border"+i+"Color"]=t}),e}},a=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(M),function(){function e(e){var n,i,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,a={};if(o&&o.length&&o[0]&&o[o[0]])for(i=o.length;i--;)n=o[i],"string"==typeof o[n]&&(a[t.camelCase(n)]=o[n]);else for(n in o)"string"==typeof o[n]&&(a[n]=o[n]);return a}function n(e,n){var i,a,s={};for(i in n)a=n[i],e[i]!==a&&(o[i]||!t.fx.step[i]&&isNaN(parseFloat(a))||(s[i]=a));return s}var i=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,n){t.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(M.style(t.elem,n,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(o,a,s,r){var c=t.speed(a,s,r);return this.queue(function(){var a,s=t(this),r=s.attr("class")||"",l=c.children?s.find("*").addBack():s;l=l.map(function(){var n=t(this);return{el:n,start:e(this)}}),a=function(){t.each(i,function(t,e){o[e]&&s[e+"Class"](o[e])})},a(),l=l.map(function(){return this.end=e(this.el[0]),this.diff=n(this.start,this.end),this}),s.attr("class",r),l=l.map(function(){var e=this,n=t.Deferred(),i=t.extend({},c,{queue:!1,complete:function(){n.resolve(e)}});return this.el.animate(this.diff,i),n.promise()}),t.when.apply(t,l.get()).done(function(){a(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),c.complete.call(s[0])})})},t.fn.extend({addClass:function(e){return function(n,i,o,a){return i?t.effects.animateClass.call(this,{add:n},i,o,a):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(n,i,o,a){return arguments.length>1?t.effects.animateClass.call(this,{remove:n},i,o,a):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(n,i,o,a,s){return"boolean"==typeof i||void 0===i?o?t.effects.animateClass.call(this,i?{add:n}:{remove:n},o,a,s):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},i,o,a)}}(t.fn.toggleClass),switchClass:function(e,n,i,o,a){return t.effects.animateClass.call(this,{add:n,remove:e},i,o,a)}})}(),function(){function e(e,n,i,o){return t.isPlainObject(e)&&(n=e,e=e.effect),e={effect:e},null==n&&(n={}),t.isFunction(n)&&(o=n,i=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(o=i,i=n,n={}),t.isFunction(i)&&(o=i,i=null),n&&t.extend(e,n),i=i||n.duration,e.duration=t.fx.off?0:"number"==typeof i?i:i in t.fx.speeds?t.fx.speeds[i]:t.fx.speeds._default,e.complete=o||n.complete,e}function n(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||(!!t.isFunction(e)||"object"==typeof e&&!e.effect))}t.extend(t.effects,{version:"1.11.2",save:function(t,e){for(var n=0;n
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},a=document.activeElement;try{a.id}catch(s){a=document.body}return e.wrap(i),(e[0]===a||t.contains(e[0],a))&&t(a).focus(),i=e.parent(),"static"===e.css("position")?(i.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,i){n[i]=e.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),i.css(n).show()},removeWrapper:function(e){var n=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===n||t.contains(e[0],n))&&t(n).focus()),e},setTransition:function(e,n,i,o){return o=o||{},t.each(n,function(t,n){var a=e.cssUnit(n);a[0]>0&&(o[n]=a[0]*i+a[1])}),o}}),t.fn.extend({effect:function(){function n(e){function n(){t.isFunction(a)&&a.call(o[0]),t.isFunction(e)&&e()}var o=t(this),a=i.complete,r=i.mode;(o.is(":hidden")?"hide"===r:"show"===r)?(o[r](),n()):s.call(o[0],i,n)}var i=e.apply(this,arguments),o=i.mode,a=i.queue,s=t.effects.effect[i.effect];return t.fx.off||!s?o?this[o](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):a===!1?this.each(n):this.queue(a||"fx",n)},show:function(t){return function(i){if(n(i))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}(t.fn.show),hide:function(t){return function(i){if(n(i))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}(t.fn.hide),toggle:function(t){return function(i){if(n(i)||"boolean"==typeof i)return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}(t.fn.toggle),cssUnit:function(e){var n=this.css(e),i=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(i=[parseFloat(n),e])}),i}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,n){e[n]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,n){t.easing["easeIn"+e]=n,t.easing["easeOut"+e]=function(t){return 1-n(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?n(2*t)/2:1-n(t*-2+2)/2}})}();t.effects,t.effects.effect.blind=function(e,n){var i,o,a,s=t(this),r=/up|down|vertical/,c=/up|left|vertical|horizontal/,l=["position","top","bottom","left","right","height","width"],u=t.effects.setMode(s,e.mode||"hide"),d=e.direction||"up",h=r.test(d),p=h?"height":"width",f=h?"top":"left",m=c.test(d),g={},b="show"===u;s.parent().is(".ui-effects-wrapper")?t.effects.save(s.parent(),l):t.effects.save(s,l),s.show(),i=t.effects.createWrapper(s).css({overflow:"hidden"}),o=i[p](),a=parseFloat(i.css(f))||0,g[p]=b?o:0,m||(s.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),g[f]=b?a:o+a),b&&(i.css(p,0),m||i.css(f,a+o)),i.animate(g,{duration:e.duration,easing:e.easing,queue:!1,complete:function(){"hide"===u&&s.hide(),t.effects.restore(s,l),t.effects.removeWrapper(s),n()}})},t.effects.effect.bounce=function(e,n){var i,o,a,s=t(this),r=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(s,e.mode||"effect"),l="hide"===c,u="show"===c,d=e.direction||"up",h=e.distance,p=e.times||5,f=2*p+(u||l?1:0),m=e.duration/f,g=e.easing,b="up"===d||"down"===d?"top":"left",v="up"===d||"left"===d,M=s.queue(),y=M.length;for((u||l)&&r.push("opacity"),t.effects.save(s,r),s.show(),t.effects.createWrapper(s),h||(h=s["top"===b?"outerHeight":"outerWidth"]()/3),u&&(a={opacity:1},a[b]=0,s.css("opacity",0).css(b,v?2*-h:2*h).animate(a,m,g)),l&&(h/=Math.pow(2,p-1)),a={},a[b]=0,i=0;i1&&M.splice.apply(M,[1,0].concat(M.splice(y,f+1))),s.dequeue()},t.effects.effect.clip=function(e,n){var i,o,a,s=t(this),r=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(s,e.mode||"hide"),l="show"===c,u=e.direction||"vertical",d="vertical"===u,h=d?"height":"width",p=d?"top":"left",f={};t.effects.save(s,r),s.show(),i=t.effects.createWrapper(s).css({overflow:"hidden"}),o="IMG"===s[0].tagName?i:s,a=o[h](),l&&(o.css(h,0),o.css(p,a/2)),f[h]=l?a:0,f[p]=l?0:a/2,o.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||s.hide(),t.effects.restore(s,r),t.effects.removeWrapper(s),n()}})},t.effects.effect.drop=function(e,n){var i,o=t(this),a=["position","top","bottom","left","right","opacity","height","width"],s=t.effects.setMode(o,e.mode||"hide"),r="show"===s,c=e.direction||"left",l="up"===c||"down"===c?"top":"left",u="up"===c||"left"===c?"pos":"neg",d={opacity:r?1:0};t.effects.save(o,a),o.show(),t.effects.createWrapper(o),i=e.distance||o["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&o.css("opacity",0).css(l,"pos"===u?-i:i),d[l]=(r?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+i,o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),n()}})},t.effects.effect.explode=function(e,n){function i(){M.push(this),M.length===d*h&&o()}function o(){p.css({visibility:"visible"}),t(M).remove(),m||p.hide(),n()}var a,s,r,c,l,u,d=e.pieces?Math.round(Math.sqrt(e.pieces)):3,h=d,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),m="show"===f,g=p.show().css("visibility","hidden").offset(),b=Math.ceil(p.outerWidth()/h),v=Math.ceil(p.outerHeight()/d),M=[];for(a=0;a
    ").css({position:"absolute",visibility:"visible",left:-s*b,top:-a*v}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:b,height:v,left:r+(m?l*b:0),top:c+(m?u*v:0),opacity:m?0:1}).animate({left:r+(m?0:l*b),top:c+(m?0:u*v),opacity:m?1:0},e.duration||500,e.easing,i)},t.effects.effect.fade=function(e,n){var i=t(this),o=t.effects.setMode(i,e.mode||"toggle");i.animate({opacity:o},{queue:!1,duration:e.duration,easing:e.easing,complete:n})},t.effects.effect.fold=function(e,n){var i,o,a=t(this),s=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(a,e.mode||"hide"),c="show"===r,l="hide"===r,u=e.size||15,d=/([0-9]+)%/.exec(u),h=!!e.horizFirst,p=c!==h,f=p?["width","height"]:["height","width"],m=e.duration/2,g={},b={};t.effects.save(a,s),a.show(),i=t.effects.createWrapper(a).css({overflow:"hidden"}),o=p?[i.width(),i.height()]:[i.height(),i.width()],d&&(u=parseInt(d[1],10)/100*o[l?0:1]),c&&i.css(h?{height:0,width:u}:{height:u,width:0}),g[f[0]]=c?o[0]:u,b[f[1]]=c?o[1]:0,i.animate(g,m,e.easing).animate(b,m,e.easing,function(){l&&a.hide(),t.effects.restore(a,s),t.effects.removeWrapper(a),n()})},t.effects.effect.highlight=function(e,n){var i=t(this),o=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(i,e.mode||"show"),s={backgroundColor:i.css("backgroundColor")};"hide"===a&&(s.opacity=0),t.effects.save(i,o),i.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&i.hide(),t.effects.restore(i,o),n()}})},t.effects.effect.size=function(e,n){var i,o,a,s=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],c=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],h=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(s,e.mode||"effect"),f=e.restore||"effect"!==p,m=e.scale||"both",g=e.origin||["middle","center"],b=s.css("position"),v=f?r:c,M={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&s.show(),i={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},"toggle"===e.mode&&"show"===p?(s.from=e.to||M,s.to=e.from||i):(s.from=e.from||("show"===p?M:i),s.to=e.to||("hide"===p?M:i)),a={from:{y:s.from.height/i.height,x:s.from.width/i.width},to:{y:s.to.height/i.height,x:s.to.width/i.width}},"box"!==m&&"both"!==m||(a.from.y!==a.to.y&&(v=v.concat(d),s.from=t.effects.setTransition(s,d,a.from.y,s.from),s.to=t.effects.setTransition(s,d,a.to.y,s.to)),a.from.x!==a.to.x&&(v=v.concat(h),s.from=t.effects.setTransition(s,h,a.from.x,s.from),s.to=t.effects.setTransition(s,h,a.to.x,s.to))),"content"!==m&&"both"!==m||a.from.y!==a.to.y&&(v=v.concat(u).concat(l),s.from=t.effects.setTransition(s,u,a.from.y,s.from),s.to=t.effects.setTransition(s,u,a.to.y,s.to)),t.effects.save(s,v),s.show(),t.effects.createWrapper(s),s.css("overflow","hidden").css(s.from),g&&(o=t.effects.getBaseline(g,i),s.from.top=(i.outerHeight-s.outerHeight())*o.y,s.from.left=(i.outerWidth-s.outerWidth())*o.x,s.to.top=(i.outerHeight-s.to.outerHeight)*o.y,s.to.left=(i.outerWidth-s.to.outerWidth)*o.x),s.css(s.from),"content"!==m&&"both"!==m||(d=d.concat(["marginTop","marginBottom"]).concat(u),h=h.concat(["marginLeft","marginRight"]),l=r.concat(d).concat(h),s.find("*[width]").each(function(){var n=t(this),i={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()};f&&t.effects.save(n,l),n.from={height:i.height*a.from.y,width:i.width*a.from.x,outerHeight:i.outerHeight*a.from.y,outerWidth:i.outerWidth*a.from.x},n.to={height:i.height*a.to.y,width:i.width*a.to.x,outerHeight:i.height*a.to.y,outerWidth:i.width*a.to.x},a.from.y!==a.to.y&&(n.from=t.effects.setTransition(n,d,a.from.y,n.from),n.to=t.effects.setTransition(n,d,a.to.y,n.to)),a.from.x!==a.to.x&&(n.from=t.effects.setTransition(n,h,a.from.x,n.from),n.to=t.effects.setTransition(n,h,a.to.x,n.to)),n.css(n.from),n.animate(n.to,e.duration,e.easing,function(){f&&t.effects.restore(n,l)})})),s.animate(s.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===s.to.opacity&&s.css("opacity",s.from.opacity),"hide"===p&&s.hide(),t.effects.restore(s,v),f||("static"===b?s.css({position:"relative",top:s.to.top,left:s.to.left}):t.each(["top","left"],function(t,e){s.css(e,function(e,n){var i=parseInt(n,10),o=t?s.to.left:s.to.top;return"auto"===n?o+"px":i+o+"px"})})),t.effects.removeWrapper(s),n()}})},t.effects.effect.scale=function(e,n){var i=t(this),o=t.extend(!0,{},e),a=t.effects.setMode(i,e.mode||"effect"),s=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===a?0:100),r=e.direction||"both",c=e.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},u={y:"horizontal"!==r?s/100:1,x:"vertical"!==r?s/100:1};o.effect="size",o.queue=!1,o.complete=n,"effect"!==a&&(o.origin=c||["middle","center"],o.restore=!0),o.from=e.from||("show"===a?{height:0,width:0,outerHeight:0,outerWidth:0}:l),o.to={height:l.height*u.y,width:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},o.fade&&("show"===a&&(o.from.opacity=0,o.to.opacity=1),"hide"===a&&(o.from.opacity=1,o.to.opacity=0)),i.effect(o)},t.effects.effect.puff=function(e,n){var i=t(this),o=t.effects.setMode(i,e.mode||"hide"),a="hide"===o,s=parseInt(e.percent,10)||150,r=s/100,c={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:o,complete:n,percent:a?s:100,from:a?c:{height:c.height*r,width:c.width*r,outerHeight:c.outerHeight*r,outerWidth:c.outerWidth*r}}),i.effect(e)},t.effects.effect.pulsate=function(e,n){var i,o=t(this),a=t.effects.setMode(o,e.mode||"show"),s="show"===a,r="hide"===a,c=s||"hide"===a,l=2*(e.times||5)+(c?1:0),u=e.duration/l,d=0,h=o.queue(),p=h.length;for(!s&&o.is(":visible")||(o.css("opacity",0).show(),d=1),i=1;i1&&h.splice.apply(h,[1,0].concat(h.splice(p,l+1))),o.dequeue()},t.effects.effect.shake=function(e,n){var i,o=t(this),a=["position","top","bottom","left","right","height","width"],s=t.effects.setMode(o,e.mode||"effect"),r=e.direction||"left",c=e.distance||20,l=e.times||3,u=2*l+1,d=Math.round(e.duration/u),h="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},b=o.queue(),v=b.length;for(t.effects.save(o,a),o.show(),t.effects.createWrapper(o),f[h]=(p?"-=":"+=")+c,m[h]=(p?"+=":"-=")+2*c,g[h]=(p?"-=":"+=")+2*c,o.animate(f,d,e.easing),i=1;i1&&b.splice.apply(b,[1,0].concat(b.splice(v,u+1))),o.dequeue()},t.effects.effect.slide=function(e,n){var i,o=t(this),a=["position","top","bottom","left","right","width","height"],s=t.effects.setMode(o,e.mode||"show"),r="show"===s,c=e.direction||"left",l="up"===c||"down"===c?"top":"left",u="up"===c||"left"===c,d={};t.effects.save(o,a),o.show(),i=e.distance||o["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(o).css({overflow:"hidden"}),r&&o.css(l,u?isNaN(i)?"-"+i:-i:i),d[l]=(r?u?"+=":"-=":u?"-=":"+=")+i,o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),n()}})},t.effects.effect.transfer=function(e,n){var i=t(this),o=t(e.to),a="fixed"===o.css("position"),s=t("body"),r=a?s.scrollTop():0,c=a?s.scrollLeft():0,l=o.offset(),u={top:l.top-r,left:l.left-c,height:o.innerHeight(),width:o.innerWidth()},d=i.offset(),h=t("
    ").appendTo(document.body).addClass(e.className).css({top:d.top-r,left:d.left-c,height:i.innerHeight(),width:i.innerWidth(),position:a?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){h.remove(),n()})},t.widget("ui.progressbar",{version:"1.11.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("
    ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this.options.value:(this.options.value=this._constrainedValue(t),void this._refreshValue())},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),"disabled"===t&&this.element.toggleClass("ui-state-disabled",!!e).attr("aria-disabled",e),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(n.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("
    ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectable",t.ui.mouse,{version:"1.11.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,n=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(n.options.filter,n.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),n=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:n.left,top:n.top,right:n.left+e.outerWidth(),bottom:n.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("
    ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var n=this,i=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(i.filter,this.element[0]),this._trigger("start",e),t(i.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),i.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var i=t.data(this,"selectable-item");i.startselected=!0,e.metaKey||e.ctrlKey||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",e,{unselecting:i.element}))}),t(e.target).parents().addBack().each(function(){var i,o=t.data(this,"selectable-item");if(o)return i=!e.metaKey&&!e.ctrlKey||!o.$element.hasClass("ui-selected"),o.$element.removeClass(i?"ui-unselecting":"ui-selected").addClass(i?"ui-selecting":"ui-unselecting"),o.unselecting=!i,o.selecting=i,o.selected=i,i?n._trigger("selecting",e,{selecting:o.element}):n._trigger("unselecting",e,{unselecting:o.element}),!1}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var n,i=this,o=this.options,a=this.opos[0],s=this.opos[1],r=e.pageX,c=e.pageY;return a>r&&(n=r,r=a,a=n),s>c&&(n=c,c=s,s=n),this.helper.css({left:a,top:s,width:r-a,height:c-s}),this.selectees.each(function(){var n=t.data(this,"selectable-item"),l=!1;n&&n.element!==i.element[0]&&("touch"===o.tolerance?l=!(n.left>r||n.rightc||n.bottoma&&n.rights&&n.bottom",options:{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:null,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.disable()},_drawButton:function(){var e=this,n=this.element.attr("tabindex");this.label=t("label[for='"+this.ids.element+"']").attr("for",this.ids.button),this._on(this.label,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=t("",{"class":"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex:n||this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true"}).insertAfter(this.element),t("",{"class":"ui-icon "+this.options.icons.button}).prependTo(this.button),this.buttonText=t("",{"class":"ui-selectmenu-text"}).appendTo(this.button),this._setText(this.buttonText,this.element.find("option:selected").text()),this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e.menuItems||e._refreshMenu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:function(){var e=this;this.menu=t("
    ")),this.clickableElements.length&&(i=function(t){return function(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null==t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!=t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!=t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",document.querySelector(t.options.hiddenInputContainer).appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",function(){var e,n,o,a;if(n=t.hiddenFileInput.files,n.length)for(o=0,a=n.length;o',this.options.dictFallbackText&&(i+="

    "+this.options.dictFallbackText+"

    "),i+='
    ',e=n.createElement(i),"FORM"!==this.element.tagName?(o=n.createElement('
    '),o.appendChild(e)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=o?o:e)},n.prototype.getExistingFallback=function(){var t,e,n,i,o,a;for(e=function(t){var e,n,i;for(n=0,i=t.length;n0){for(s=["TB","GB","MB","KB","b"],n=r=0,c=s.length;r=e){i=t/Math.pow(this.options.filesizeBase,4-n),o=a;break}i=Math.round(10*i)/10}return""+i+" "+o},n.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},n.prototype.drop=function(t){var e,n;t.dataTransfer&&(this.emit("drop",t),e=t.dataTransfer.files,this.emit("addedfiles",e),e.length&&(n=t.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(e)))},n.prototype.paste=function(t){var e,n;if(null!=(null!=t&&null!=(n=t.clipboardData)?n.items:void 0))return this.emit("paste",t),e=t.clipboardData.items,e.length?this._addFilesFromItems(e):void 0},n.prototype.handleFiles=function(t){var e,n,i,o;for(o=[],n=0,i=t.length;n0){for(a=0,s=n.length;a1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):n.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)},n.prototype.addFile=function(t){return t.upload={progress:0,total:t.size,bytesSent:0},this.files.push(t),t.status=n.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){return function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}}(this))},n.prototype.enqueueFiles=function(t){var e,n,i;for(n=0,i=t.length;n=e)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,e-n));for(;t=B;u=0<=B?++L:--L)a.append(this._getParamName(u),t[u],this._renameFilename(t[u].name));return this.submitRequest(_,a,t)},n.prototype.submitRequest=function(t,e,n){return t.send(e)},n.prototype._finished=function(t,e,i){var o,a,s;for(a=0,s=t.length;au;)e=o[4*(c-1)+3],0===e?a=c:u=c,c=a+u>>1;return l=c/s,0===l?1:l},a=function(t,e,n,i,a,s,r,c,l,u){var d;return d=o(e),t.drawImage(e,n,i,a,s,r,c,l,u/d)},i=function(t,e){var n,i,o,a,s,r,c,l,u;if(o=!1,u=!0,i=t.document,l=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",c=i.addEventListener?"removeEventListener":"detachEvent",r=i.addEventListener?"":"on",a=function(n){if("readystatechange"!==n.type||"complete"===i.readyState)return("load"===n.type?t:i)[c](r+n.type,a,!1),!o&&(o=!0)?e.call(t,n.type||n):void 0},s=function(){var t;try{l.doScroll("left")}catch(e){return t=e,void setTimeout(s,50)}return a("poll")},"complete"!==i.readyState){if(i.createEventObject&&l.doScroll){try{u=!t.frameElement}catch(d){}u&&s()}return i[n](r+"DOMContentLoaded",a,!1),i[n](r+"readystatechange",a,!1),t[n](r+"load",a,!1)}},t._autoDiscoverFunction=function(){if(t.autoDiscover)return t.discover()},i(window,t._autoDiscoverFunction)}.call(this),function(t,e){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return"undefined"==typeof t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,n){function i(t,e){return n(e,t)}t.each(e,i)},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,o){if(!(i=n.call(null,o,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,o){if(i=n.call(null,o,t,e))return!1}),!!i):i},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){function n(){return String(e)}return t.isFunction(e)?e:n},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,o;return function(){var a,s,r=this,c=arguments;return a=function(){i=null,n||(o=t.apply(r,c))},s=n&&!i,clearTimeout(i),i=setTimeout(a,e),s&&(o=t.apply(r,c)),o}},throttle:function(t,e){var n,i,o,a,s,r;return s=0,r=function(){s=new Date,o=null,a=t.apply(n,i)},function(){var c=new Date,l=e-(c-s);return n=this,i=arguments,l<=0?(clearTimeout(o),o=null,s=c,a=t.apply(n,i)):o||(o=setTimeout(r,l)),a}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},noop:function(){}}}(),n=function(){"use strict";function t(t){var s,r;return r=e.mixin({},a,t),s={css:o(),classes:r,html:n(r),selectors:i(r)},{css:s.css,html:s.html,classes:s.classes,selectors:s.selectors,mixin:function(t){e.mixin(t,s)}}}function n(t){return{wrapper:'',menu:'
    '}}function i(t){var n={};return e.each(t,function(t,e){n[e]="."+t}),n}function o(){var t={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return e.isMsie()&&e.mixin(t.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),t}var a={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return t}(),i=function(){"use strict";function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}var i,o;return i="typeahead:",o={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},e.mixin(n.prototype,{_trigger:function(e,n){var o;return o=t.Event(i+e),(n=n||[]).unshift(o),this.$el.trigger.apply(this.$el,n),o},before:function(t){var e,n;return e=[].slice.call(arguments,1),n=this._trigger("before"+t,e),n.isDefaultPrevented()},trigger:function(t){var e;this._trigger(t,[].slice.call(arguments,1)),(e=o[t])&&this._trigger(e,[].slice.call(arguments,1))}}),n}(),o=function(){"use strict";function t(t,e,n,i){var o;if(!n)return this;for(e=e.split(c),n=i?r(n,i):n,this._callbacks=this._callbacks||{};o=e.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][t].push(n);return this}function e(e,n,i){return t.call(this,"async",e,n,i)}function n(e,n,i){return t.call(this,"sync",e,n,i)}function i(t){var e;if(!this._callbacks)return this;for(t=t.split(c);e=t.shift();)delete this._callbacks[e];return this}function o(t){var e,n,i,o,s;if(!this._callbacks)return this;for(t=t.split(c),i=[].slice.call(arguments,1);(e=t.shift())&&(n=this._callbacks[e]);)o=a(n.sync,this,[e].concat(i)),s=a(n.async,this,[e].concat(i)),o()&&l(s);return this}function a(t,e,n){function i(){for(var i,o=0,a=t.length;!i&&o
');var r=t("a",n),c=r[0],l=r[1],u=r[2],d=r[3];e.oApi._fnBindAction(c,{action:"first"},s),e.oApi._fnBindAction(l,{action:"previous"},s),e.oApi._fnBindAction(u,{action:"next"},s),e.oApi._fnBindAction(d,{action:"last"},s),e.aanFeatures.p||(n.id=e.sTableId+"_paginate",c.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",u.id=e.sTableId+"_next",d.id=e.sTableId+"_last")},fnUpdate:function(e,n){if(e.aanFeatures.p)for(var i=e.oInstance.fnPagingInfo(),o=(e.oClasses,e.aanFeatures.p),a=0,s=o.length;a
  • '+o.sFirst+'
  • '+o.sPrevious+'
  • '+o.sNext+'
  • '+o.sLast+"
  • ");var r=t("a",n),c=r[0],l=r[1],u=r[2],d=r[3];e.oApi._fnBindAction(c,{action:"first"},s),e.oApi._fnBindAction(l,{action:"previous"},s),e.oApi._fnBindAction(u,{action:"next"},s),e.oApi._fnBindAction(d,{action:"last"},s),e.aanFeatures.p||(n.id=e.sTableId+"_paginate",c.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",u.id=e.sTableId+"_next",d.id=e.sTableId+"_last")},fnUpdate:function(e,n){if(e.aanFeatures.p){var i,o,a,s,r,c=e.oInstance.fnPagingInfo(),l=t.fn.dataTableExt.oPagination.iFullNumbersShowPages,u=Math.floor(l/2),d=Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength),h=Math.ceil(e._iDisplayStart/e._iDisplayLength)+1,p="",f=(e.oClasses,e.aanFeatures.p);for(e._iDisplayLength===-1?(i=1,o=1,h=1):d=d-u?(i=d-l+1,o=d):(i=h-Math.ceil(l/2)+1,o=i+l-1),a=i;a<=o;a++)p+=h!==a?'
  • '+e.fnFormatNumber(a)+"
  • ":'
  • '+e.fnFormatNumber(a)+"
  • ";for(a=0,s=f.length;a",o[0];);return 4d.a.l(e,t[n])&&e.push(t[n]);return e},ya:function(t,e){t=t||[];for(var n=[],i=0,o=t.length;ii?n&&t.push(e):n||t.splice(i,1)},na:l,extend:r,ra:c,sa:l?c:r,A:s,Oa:function(t,e){if(!t)return t;var n,i={};for(n in t)t.hasOwnProperty(n)&&(i[n]=e(t[n],n,t));return i},Fa:function(t){for(;t.firstChild;)d.removeNode(t.firstChild)},ec:function(t){t=d.a.R(t);for(var e=n.createElement("div"),i=0,o=t.length;if?t.setAttribute("selected",e):t.selected=e},ta:function(e){return null===e||e===t?"":e.trim?e.trim():e.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},oc:function(t,e){for(var n=[],i=(t||"").split(e),o=0,a=i.length;ot.length)&&t.substring(0,e.length)===e},Sb:function(t,e){if(t===e)return!0;if(11===t.nodeType)return!1;if(e.contains)return e.contains(3===t.nodeType?t.parentNode:t);if(e.compareDocumentPosition)return 16==(16&e.compareDocumentPosition(t));for(;t&&t!=e;)t=t.parentNode;return!!t},Ea:function(t){return d.a.Sb(t,t.ownerDocument.documentElement)},eb:function(t){return!!d.a.hb(t,d.a.Ea)},B:function(t){return t&&t.tagName&&t.tagName.toLowerCase()},q:function(t,e,n){var i=f&&p[e];if(!i&&o)o(t).bind(e,n);else if(i||"function"!=typeof t.addEventListener){if("undefined"==typeof t.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");var a=function(e){n.call(t,e)},s="on"+e;t.attachEvent(s,a),d.a.u.ja(t,function(){t.detachEvent(s,a)})}else t.addEventListener(e,n,!1)},ha:function(t,i){if(!t||!t.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var a;if("input"===d.a.B(t)&&t.type&&"click"==i.toLowerCase()?(a=t.type,a="checkbox"==a||"radio"==a):a=!1,o&&!a)o(t).trigger(i);else if("function"==typeof n.createEvent){if("function"!=typeof t.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");a=n.createEvent(h[i]||"HTMLEvents"),a.initEvent(i,!0,!0,e,0,0,0,0,0,!1,!1,!1,!1,0,t),t.dispatchEvent(a)}else if(a&&t.click)t.click();else{if("undefined"==typeof t.fireEvent)throw Error("Browser doesn't support triggering events");t.fireEvent("on"+i)}},c:function(t){return d.v(t)?t():t},Sa:function(t){return d.v(t)?t.o():t},ua:function(t,e,n){if(e){var i=/\S+/g,o=t.className.match(i)||[];d.a.r(e.match(i),function(t){d.a.Y(o,t,n)}),t.className=o.join(" ")}},Xa:function(e,n){var i=d.a.c(n);null!==i&&i!==t||(i="");var o=d.e.firstChild(e);!o||3!=o.nodeType||d.e.nextSibling(o)?d.e.U(e,[e.ownerDocument.createTextNode(i)]):o.data=i,d.a.Vb(e)},Cb:function(t,e){if(t.name=e,7>=f)try{t.mergeAttributes(n.createElement(""),!1)}catch(i){}},Vb:function(t){9<=f&&(t=1==t.nodeType?t:t.parentNode,t.style&&(t.style.zoom=t.style.zoom))},Tb:function(t){if(f){var e=t.style.width;t.style.width=0,t.style.width=e}},ic:function(t,e){t=d.a.c(t),e=d.a.c(e);for(var n=[],i=t;i<=e;i++)n.push(i);return n},R:function(t){for(var e=[],n=0,i=t.length;n",""]||!a.indexOf("",""]||(!a.indexOf("",""]||[0,"",""],t="ignored
    "+a[1]+t+a[2]+"
    ","function"==typeof e.innerShiv?i.appendChild(e.innerShiv(t)):i.innerHTML=t;a[0]--;)i=i.lastChild;i=d.a.R(i.lastChild.childNodes)}return i},d.a.Va=function(e,n){if(d.a.Fa(e),n=d.a.c(n),null!==n&&n!==t)if("string"!=typeof n&&(n=n.toString()),o)o(e).html(n);else for(var i=d.a.Qa(n),a=0;a"},Hb:function(e,i){var o=n[e];if(o===t)throw Error("Couldn't find any memo with ID "+e+". Perhaps it's already been unmemoized.");try{return o.apply(null,i||[]),!0}finally{delete n[e]}},Ib:function(t,n){var i=[];e(t,i);for(var o=0,a=i.length;oa[0]?c+a[0]:a[0]),c);for(var c=1===l?c:Math.min(e+(a[1]||0),c),l=e+l-2,u=Math.max(c,l),h=[],p=[],f=2;ee;e++)t=t();return t})},d.toJSON=function(t,e,n){return t=d.Gb(t),d.a.Ya(t,e,n)},i.prototype={save:function(t,e){var n=d.a.l(this.keys,t);0<=n?this.ab[n]=e:(this.keys.push(t),this.ab.push(e))},get:function(e){return e=d.a.l(this.keys,e),0<=e?this.ab[e]:t}}}(),d.b("toJS",d.Gb),d.b("toJSON",d.toJSON),function(){d.i={p:function(e){switch(d.a.B(e)){case"option":return!0===e.__ko__hasDomDataOptionValue__?d.a.f.get(e,d.d.options.Pa):7>=d.a.oa?e.getAttributeNode("value")&&e.getAttributeNode("value").specified?e.value:e.text:e.value;case"select":return 0<=e.selectedIndex?d.i.p(e.options[e.selectedIndex]):t;default:return e.value}},X:function(e,n,i){switch(d.a.B(e)){case"option":switch(typeof n){case"string":d.a.f.set(e,d.d.options.Pa,t),"__ko__hasDomDataOptionValue__"in e&&delete e.__ko__hasDomDataOptionValue__,e.value=n;break;default:d.a.f.set(e,d.d.options.Pa,n),e.__ko__hasDomDataOptionValue__=!0,e.value="number"==typeof n?n:""}break;case"select":""!==n&&null!==n||(n=t);for(var o,a=-1,s=0,r=e.options.length;s=c){e&&s.push(n?{key:e,value:n.join("")}:{unknown:e}),e=n=c=0;continue}}else if(58===h){if(!n)continue}else if(47===h&&u&&1"===n.createComment("test").text,s=a?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,r=a?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,c={ul:!0,ol:!0};d.e={Q:{},childNodes:function(e){return t(e)?i(e):e.childNodes},da:function(e){if(t(e)){e=d.e.childNodes(e);for(var n=0,i=e.length;n=d.a.oa&&n in m?(n=m[n],o?e.removeAttribute(n):e[n]=i):o||e.setAttribute(n,i.toString()),"name"===n&&d.a.Cb(e,o?"":i.toString())})}},function(){d.d.checked={after:["value","attr"],init:function(e,n,i){function o(){return i.has("checkedValue")?d.a.c(i.get("checkedValue")):e.value}function a(){var t=e.checked,a=h?o():t;if(!d.ca.pa()&&(!c||t)){var s=d.k.t(n);l?u!==a?(t&&(d.a.Y(s,a,!0),d.a.Y(s,u,!1)),u=a):d.a.Y(s,a,t):d.g.va(s,i,"checked",a,!0)}}function s(){var t=d.a.c(n());e.checked=l?0<=d.a.l(t,o()):r?t:o()===t}var r="checkbox"==e.type,c="radio"==e.type;if(r||c){var l=r&&d.a.c(n())instanceof Array,u=l?o():t,h=c||l;c&&!e.name&&d.d.uniqueName.init(e,function(){return!0}),d.ba(a,null,{G:e}),d.a.q(e,"click",a),d.ba(s,null,{G:e})}}},d.g.W.checked=!0,d.d.checkedValue={update:function(t,e){t.value=d.a.c(e())}}}(),d.d.css={update:function(t,e){var n=d.a.c(e());"object"==typeof n?d.a.A(n,function(e,n){n=d.a.c(n),d.a.ua(t,e,n)}):(n=String(n||""),d.a.ua(t,t.__ko__cssValue,!1),t.__ko__cssValue=n,d.a.ua(t,n,!0))}},d.d.enable={update:function(t,e){var n=d.a.c(e());n&&t.disabled?t.removeAttribute("disabled"):n||t.disabled||(t.disabled=!0)}},d.d.disable={update:function(t,e){d.d.enable.update(t,function(){return!d.a.c(e())})}},d.d.event={init:function(t,e,n,i,o){var a=e()||{};d.a.A(a,function(a){"string"==typeof a&&d.a.q(t,a,function(t){var s,r=e()[a];if(r){try{var c=d.a.R(arguments);i=o.$data,c.unshift(i),s=r.apply(i,c)}finally{!0!==s&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}!1===n.get(a+"Bubble")&&(t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation())}})})}},d.d.foreach={vb:function(t){return function(){var e=t(),n=d.a.Sa(e);return n&&"number"!=typeof n.length?(d.a.c(e),{foreach:n.data,as:n.as,includeDestroyed:n.includeDestroyed,afterAdd:n.afterAdd,beforeRemove:n.beforeRemove,afterRender:n.afterRender,beforeMove:n.beforeMove,afterMove:n.afterMove,templateEngine:d.K.Ja}):{foreach:e,templateEngine:d.K.Ja}}},init:function(t,e){return d.d.template.init(t,d.d.foreach.vb(e))},update:function(t,e,n,i,o){return d.d.template.update(t,d.d.foreach.vb(e),n,i,o)}},d.g.aa.foreach=!1,d.e.Q.foreach=!0,d.d.hasfocus={init:function(t,e,n){function i(i){t.__ko_hasfocusUpdating=!0;var o=t.ownerDocument;if("activeElement"in o){var a;try{a=o.activeElement}catch(s){a=o.body}i=a===t}o=e(),d.g.va(o,n,"hasfocus",i,!0),t.__ko_hasfocusLastValue=i,t.__ko_hasfocusUpdating=!1}var o=i.bind(null,!0),a=i.bind(null,!1);d.a.q(t,"focus",o),d.a.q(t,"focusin",o),d.a.q(t,"blur",a),d.a.q(t,"focusout",a)},update:function(t,e){var n=!!d.a.c(e());t.__ko_hasfocusUpdating||t.__ko_hasfocusLastValue===n||(n?t.focus():t.blur(),d.k.t(d.a.ha,null,[t,n?"focusin":"focusout"]))}},d.g.W.hasfocus=!0,d.d.hasFocus=d.d.hasfocus,d.g.W.hasFocus=!0,d.d.html={init:function(){return{controlsDescendantBindings:!0}},update:function(t,e){d.a.Va(t,e())}},u("if"),u("ifnot",!1,!0),u("with",!0,!1,function(t,e){return t.createChildContext(e)});var b={};d.d.options={init:function(t){if("select"!==d.a.B(t))throw Error("options binding applies only to SELECT elements");for(;0","#comment",o)})},Mb:function(t,e){return d.w.Na(function(n,i){var o=n.nextSibling;o&&o.nodeName.toLowerCase()===e&&d.xa(o,t,i)})}}}(),d.b("__tr_ambtns",d.Za.Mb),function(){d.n={},d.n.j=function(t){this.j=t},d.n.j.prototype.text=function(){var t=d.a.B(this.j),t="script"===t?"text":"textarea"===t?"value":"innerHTML";if(0==arguments.length)return this.j[t];var e=arguments[0];"innerHTML"===t?d.a.Va(this.j,e):this.j[t]=e};var e=d.a.f.L()+"_";d.n.j.prototype.data=function(t){return 1===arguments.length?d.a.f.get(this.j,e+t):void d.a.f.set(this.j,e+t,arguments[1])};var n=d.a.f.L();d.n.Z=function(t){this.j=t},d.n.Z.prototype=new d.n.j,d.n.Z.prototype.text=function(){if(0==arguments.length){var e=d.a.f.get(this.j,n)||{};return e.$a===t&&e.Ba&&(e.$a=e.Ba.innerHTML),e.$a}d.a.f.set(this.j,n,{$a:arguments[0]})},d.n.j.prototype.nodes=function(){return 0==arguments.length?(d.a.f.get(this.j,n)||{}).Ba:void d.a.f.set(this.j,n,{Ba:arguments[0]})},d.b("templateSources",d.n),d.b("templateSources.domElement",d.n.j),d.b("templateSources.anonymousTemplate",d.n.Z)}(),function(){function e(t,e,n){var i;for(e=d.e.nextSibling(e);t&&(i=t)!==e;)t=d.e.nextSibling(i),n(i,t)}function n(t,n){if(t.length){var i=t[0],o=t[t.length-1],a=i.parentNode,s=d.J.instance,r=s.preprocessNode;if(r){if(e(i,o,function(t,e){var n=t.previousSibling,a=r.call(s,t);a&&(t===i&&(i=a[0]||e),t===o&&(o=a[a.length-1]||n))}),t.length=0,!i)return;i===o?t.push(i):(t.push(i,o),d.a.ea(t,a))}e(i,o,function(t){1!==t.nodeType&&8!==t.nodeType||d.fb(n,t)}),e(i,o,function(t){1!==t.nodeType&&8!==t.nodeType||d.w.Ib(t,[n])}),d.a.ea(t,a)}}function i(t){return t.nodeType?t:0d.a.oa?0:t.nodes)?t.nodes():null;return e?d.a.R(e.cloneNode(!0).childNodes):(t=t.text(),d.a.Qa(t))},d.K.Ja=new d.K,d.Wa(d.K.Ja),d.b("nativeTemplateEngine",d.K),function(){d.La=function(){var t=this.ac=function(){if(!o||!o.tmpl)return 0;try{if(0<=o.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(t){}return 1}();this.renderTemplateSource=function(e,i,a){if(a=a||{},2>t)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var s=e.data("precompiled");return s||(s=e.text()||"",s=o.template(null,"{{ko_with $item.koBindingContext}}"+s+"{{/ko_with}}"),e.data("precompiled",s)),e=[i.$data],i=o.extend({koBindingContext:i},a.templateOptions),i=o.tmpl(s,e,i),i.appendTo(n.createElement("div")),o.fragments={},i},this.createJavaScriptEvaluatorBlock=function(t){return"{{ko_code ((function() { return "+t+" })()) }}"},this.addTemplate=function(t,e){n.write("")},0=0&&(u&&(u.splice(g,1),t.processAllDeferredBindingUpdates&&t.processAllDeferredBindingUpdates()),p.splice(m,0,A)),l(v,n,null),t.processAllDeferredBindingUpdates&&t.processAllDeferredBindingUpdates(),T.afterMove&&T.afterMove.call(this,b,s,r)}y&&y.apply(this,arguments)},connectWith:!!T.connectClass&&"."+T.connectClass})),void 0!==T.isEnabled&&t.computed({read:function(){A.sortable(r(T.isEnabled)?"enable":"disable")},disposeWhenNodeIsRemoved:u})},0);return t.utils.domNodeDisposal.addDisposeCallback(u,function(){(A.data("ui-sortable")||A.data("sortable"))&&A.sortable("destroy"),clearTimeout(w)}),{controlsDescendantBindings:!0}},update:function(e,n,i,a,s){var r=p(n,"foreach");l(e,o,r.foreach),t.bindingHandlers.template.update(e,function(){return r},i,a,s)},connectClass:"ko_container",allowDrop:!0,afterMove:null,beforeMove:null,options:{}},t.bindingHandlers.draggable={init:function(n,i,o,a,c){var u=r(i())||{},d=u.options||{},h=t.utils.extend({},t.bindingHandlers.draggable.options),f=p(i,"data"),g=u.connectClass||t.bindingHandlers.draggable.connectClass,m=void 0!==u.isEnabled?u.isEnabled:t.bindingHandlers.draggable.isEnabled;return u="data"in u?u.data:u,l(n,s,u),t.utils.extend(h,d),h.connectToSortable=!!g&&"."+g,e(n).draggable(h),void 0!==m&&t.computed({read:function(){e(n).draggable(r(m)?"enable":"disable")},disposeWhenNodeIsRemoved:n}),t.bindingHandlers.template.init(n,function(){return f},o,a,c)},update:function(e,n,i,o,a){var s=p(n,"data");return t.bindingHandlers.template.update(e,function(){return s},i,o,a)},connectClass:t.bindingHandlers.sortable.connectClass,options:{helper:"clone"}}}),function(){var t=this,e=t._,n=Array.prototype,i=Object.prototype,o=Function.prototype,a=n.push,s=n.slice,r=n.concat,c=i.toString,l=i.hasOwnProperty,u=Array.isArray,d=Object.keys,h=o.bind,p=function(t){return t instanceof p?t:this instanceof p?void(this._wrapped=t):new p(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=p),exports._=p):t._=p,p.VERSION="1.7.0";var f=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)};case 4:return function(n,i,o,a){return t.call(e,n,i,o,a)}}return function(){return t.apply(e,arguments)}};p.iteratee=function(t,e,n){return null==t?p.identity:p.isFunction(t)?f(t,e,n):p.isObject(t)?p.matches(t):p.property(t)},p.each=p.forEach=function(t,e,n){if(null==t)return t;e=f(e,n);var i,o=t.length;if(o===+o)for(i=0;i=0)},p.invoke=function(t,e){var n=s.call(arguments,2),i=p.isFunction(e);return p.map(t,function(t){return(i?e:t[e]).apply(t,n)})},p.pluck=function(t,e){return p.map(t,p.property(e))},p.where=function(t,e){return p.filter(t,p.matches(e))},p.findWhere=function(t,e){return p.find(t,p.matches(e))},p.max=function(t,e,n){var i,o,a=-(1/0),s=-(1/0);if(null==e&&null!=t){t=t.length===+t.length?t:p.values(t);for(var r=0,c=t.length;ra&&(a=i)}else e=p.iteratee(e,n),p.each(t,function(t,n,i){o=e(t,n,i),(o>s||o===-(1/0)&&a===-(1/0))&&(a=t,s=o)});return a},p.min=function(t,e,n){var i,o,a=1/0,s=1/0;if(null==e&&null!=t){t=t.length===+t.length?t:p.values(t);for(var r=0,c=t.length;ri||void 0===n)return 1;if(n>>1;n(t[r])=0;)if(t[i]===e)return i;return-1},p.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),o=Array(i),a=0;ae?(clearTimeout(s),s=null,r=l,a=t.apply(i,o),s||(i=o=null)):s||n.trailing===!1||(s=setTimeout(c,u)),a}},p.debounce=function(t,e,n){var i,o,a,s,r,c=function(){var l=p.now()-s;l0?i=setTimeout(c,e-l):(i=null,n||(r=t.apply(a,o),i||(a=o=null)))};return function(){a=this,o=arguments,s=p.now();var l=n&&!i;return i||(i=setTimeout(c,e)),l&&(r=t.apply(a,o),a=o=null),r}},p.wrap=function(t,e){return p.partial(e,t)},p.negate=function(t){return function(){return!t.apply(this,arguments)}},p.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},p.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},p.before=function(t,e){var n;return function(){return--t>0?n=e.apply(this,arguments):e=null,n}},p.once=p.partial(p.before,2),p.keys=function(t){if(!p.isObject(t))return[];if(d)return d(t);var e=[];for(var n in t)p.has(t,n)&&e.push(n);return e},p.values=function(t){for(var e=p.keys(t),n=e.length,i=Array(n),o=0;o":">",'"':""","'":"'","`":"`"},A=p.invert(y),_=function(t){var e=function(e){return t[e]},n="(?:"+p.keys(t).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(o,e):t}};p.escape=_(y),p.unescape=_(A),p.result=function(t,e){if(null!=t){var n=t[e];return p.isFunction(n)?t[e]():n}};var z=0;p.uniqueId=function(t){var e=++z+"";return t?t+e:e},p.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var T=/(.)^/,w={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},C=/\\|'|\r|\n|\u2028|\u2029/g,N=function(t){return"\\"+w[t]};p.template=function(t,e,n){!e&&n&&(e=n),e=p.defaults({},e,p.templateSettings);var i=RegExp([(e.escape||T).source,(e.interpolate||T).source,(e.evaluate||T).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(i,function(e,n,i,s,r){return a+=t.slice(o,r).replace(C,N),o=r+e.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),e}),a+="';\n",e.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{var s=new Function(e.variable||"obj","_",a)}catch(r){throw r.source=a,r}var c=function(t){return s.call(this,t,p)},l=e.variable||"obj";return c.source="function("+l+"){\n"+a+"}",c},p.chain=function(t){var e=p(t);return e._chain=!0,e};var O=function(t){return this._chain?p(t).chain():t};p.mixin=function(t){p.each(p.functions(t),function(e){var n=p[e]=t[e];p.prototype[e]=function(){var t=[this._wrapped];return a.apply(t,arguments),O.call(this,n.apply(p,t))}})},p.mixin(p),p.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=n[t];p.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],O.call(this,n)}}),p.each(["concat","join","slice"],function(t){var e=n[t];p.prototype[t]=function(){return O.call(this,e.apply(this._wrapped,arguments))}}),p.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return p})}.call(this),function(t,e){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var t=new Date;return n(t.getFullYear(),t.getMonth(),t.getDate())}function o(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function a(t){return function(){return this[t].apply(this,arguments)}}function s(e,n){function i(t,e){return e.toLowerCase()}var o,a=t(e).data(),s={},r=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var c in a)n.test(c)&&(o=c.replace(r,i),s[o]=a[c]);return s}function r(e){var n={};if(g[e]||(e=e.split("-")[0],g[e])){var i=g[e];return t.each(f,function(t,e){e in i&&(n[e]=i[e])}),n}}var c=function(){var e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),n=0,i=this.length;no?(this.picker.addClass("datepicker-orient-right"),p=u.left+h-e):this.picker.addClass("datepicker-orient-left");var g,m,b=this.o.orientation.y;if("auto"===b&&(g=-s+f-n,m=s+a-(f+d+n),b=Math.max(g,m)===m?"top":"bottom"),this.picker.addClass("datepicker-orient-"+b),"top"===b?f+=d:f-=n+parseInt(this.picker.css("padding-top")),this.o.rtl){var v=o-(p+h);this.picker.css({top:f,right:v,zIndex:l})}else this.picker.css({top:f,left:p,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),n=[],i=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),n.push(e)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=t.map(n,t.proxy(function(t){return m.parseDate(t,this.o.format,this.o.language)},this)),n=t.grep(n,t.proxy(function(t){return tthis.o.endDate||!t},this),!0),this.dates.replace(n),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate&&(this.viewDate=new Date(this.o.endDate)),i?this.setValue():n.length&&String(e)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&e.length&&this._trigger("clearDate"),this.fill(),this},fillDow:function(){var t=this.o.weekStart,e="";if(this.o.calendarWeeks){this.picker.find(".datepicker-days thead tr:first-child .datepicker-switch").attr("colspan",function(t,e){return parseInt(e)+1});var n=' ';e+=n}for(;t'+g[this.o.language].daysMin[t++%7]+"";e+="",this.picker.find(".datepicker-days thead").append(e)},fillMonths:function(){for(var t="",e=0;e<12;)t+=''+g[this.o.language].monthsShort[e++]+"";this.picker.find(".datepicker-months td").html(t)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var n=[],i=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),s=new Date;return e.getUTCFullYear()i||e.getUTCFullYear()===i&&e.getUTCMonth()>a)&&n.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&e.getUTCFullYear()===s.getFullYear()&&e.getUTCMonth()===s.getMonth()&&e.getUTCDate()===s.getDate()&&n.push("today"),this.dates.contains(e)!==-1&&n.push("active"),(e.valueOf()this.o.endDate||t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)!==-1)&&n.push("disabled"),this.o.datesDisabled.length>0&&t.grep(this.o.datesDisabled,function(t){return o(e,t)}).length>0&&n.push("disabled","disabled-date"),this.range&&(e>this.range[0]&&e"),this.o.calendarWeeks)){var y=new Date(+p+(this.o.weekStart-p.getUTCDay()-7)%7*864e5),A=new Date(Number(y)+(11-y.getUTCDay())%7*864e5),_=new Date(Number(_=n(A.getUTCFullYear(),0,1))+(11-_.getUTCDay())%7*864e5),z=(A-_)/864e5/7+1;M.push(''+z+"")}if(v=this.getClassNames(p),v.push("day"),this.o.beforeShowDay!==t.noop){var T=this.o.beforeShowDay(this._utc_to_local(p));T===e?T={}:"boolean"==typeof T?T={enabled:T}:"string"==typeof T&&(T={classes:T}),T.enabled===!1&&v.push("disabled"),T.classes&&(v=v.concat(T.classes.split(/\s+/))),T.tooltip&&(i=T.tooltip)}v=t.unique(v),M.push('"+p.getUTCDate()+""),i=null,p.getUTCDay()===this.o.weekEnd&&M.push(""),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(M.join(""));var w=this.picker.find(".datepicker-months").find("th:eq(1)").text(a).end().find("span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===a&&w.eq(e.getUTCMonth()).addClass("active")}),(al)&&w.addClass("disabled"),a===r&&w.slice(0,c).addClass("disabled"),a===l&&w.slice(u+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var C=this;t.each(w,function(e,n){if(!t(n).hasClass("disabled")){var i=new Date(a,e,1),o=C.o.beforeShowMonth(i);o===!1&&t(n).addClass("disabled")}})}M="",a=10*parseInt(a/10,10);var N=this.picker.find(".datepicker-years").find("th:eq(1)").text(a+"-"+(a+9)).end().find("td");a-=1;for(var O,S=t.map(this.dates,function(t){return t.getUTCFullYear()}),x=-1;x<11;x++)O=["year"],x===-1?O.push("old"):10===x&&O.push("new"),t.inArray(a,S)!==-1&&O.push("active"),(al)&&O.push("disabled"),M+=''+a+"",a+=1;N.html(M)}},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),e=t.getUTCFullYear(),n=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&e<=this.o.startDate.getUTCFullYear()&&n<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()&&n>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.o.startDate!==-(1/0)&&e<=this.o.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(e){e.preventDefault();var i,o,a,s=t(e.target).closest("span, td, th");if(1===s.length)switch(s[0].nodeName.toLowerCase()){case"th":switch(s[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":var r=m.modes[this.viewMode].navStep*("prev"===s[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,r),this._trigger("changeMonth",this.viewDate);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,r),1===this.viewMode&&this._trigger("changeYear",this.viewDate)}this.fill();break;case"today":var c=new Date;c=n(c.getFullYear(),c.getMonth(),c.getDate(),0,0,0),this.showMode(-2);var l="linked"===this.o.todayBtn?null:"view";this._setDate(c,l);break;case"clear":this.clearDates()}break;case"span":s.hasClass("disabled")||(this.viewDate.setUTCDate(1),s.hasClass("month")?(a=1,o=s.parent().find("span").index(s),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(o),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode&&this._setDate(n(i,o,a))):(a=1,o=0,i=parseInt(s.text(),10)||0,this.viewDate.setUTCFullYear(i),this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(n(i,o,a))),this.showMode(-1),this.fill());break;case"td":s.hasClass("day")&&!s.hasClass("disabled")&&(a=parseInt(s.text(),10)||1,i=this.viewDate.getUTCFullYear(),o=this.viewDate.getUTCMonth(),s.hasClass("old")?0===o?(o=11,i-=1):o-=1:s.hasClass("new")&&(11===o?(o=0,i+=1):o+=1),this._setDate(n(i,o,a)))}this.picker.is(":visible")&&this._focused_from&&t(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),e!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):this.o.multidate===!1?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),e&&"view"!==e||(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate");var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input")),n&&n.change(),!this.o.autoclose||e&&"date"!==e||this.hide()},moveMonth:function(t,n){if(!t)return e;if(!n)return t;var i,o,a=new Date(t.valueOf()),s=a.getUTCDate(),r=a.getUTCMonth(),c=Math.abs(n);if(n=n>0?1:-1,1===c)o=n===-1?function(){return a.getUTCMonth()===r}:function(){return a.getUTCMonth()!==i},i=r+n,a.setUTCMonth(i),(i<0||i>11)&&(i=(i+12)%12);else{for(var l=0;l=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(!this.picker.is(":visible"))return void(27===t.keyCode&&this.show());var e,n,o,a=!1,s=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault();break;case 37:case 39:if(!this.o.keyboardNavigation)break;e=37===t.keyCode?-1:1,t.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),e),o=this.moveYear(s,e),this._trigger("changeYear",this.viewDate)):t.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),e),o=this.moveMonth(s,e),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+e),o=new Date(s),o.setUTCDate(s.getUTCDate()+e)),this.dateWithinRange(o)&&(this.focusDate=this.viewDate=o,this.setValue(),this.fill(),t.preventDefault());break;case 38:case 40:if(!this.o.keyboardNavigation)break;e=38===t.keyCode?-1:1,t.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),e),o=this.moveYear(s,e),this._trigger("changeYear",this.viewDate)):t.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),e),o=this.moveMonth(s,e),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+7*e),o=new Date(s),o.setUTCDate(s.getUTCDate()+7*e)),this.dateWithinRange(o)&&(this.focusDate=this.viewDate=o,this.setValue(),this.fill(),t.preventDefault());break;case 32:break;case 13:s=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(s),a=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),"function"==typeof t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}if(a){this.dates.length?this._trigger("changeDate"):this._trigger("clearDate");var r;this.isInput?r=this.element:this.component&&(r=this.element.find("input")),r&&r.change()}},showMode:function(t){t&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+t))),this.picker.children("div").hide().filter(".datepicker-"+m.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}};var u=function(e,n){this.element=t(e),this.inputs=t.map(n.inputs,function(t){return t.jquery?t[0]:t}),delete n.inputs,h.call(t(this.inputs),n).bind("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t(e).data("datepicker")}),this.updateDates()};u.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,n){n.setRange(e)})},dateUpdated:function(e){if(!this.updating){this.updating=!0;var n=t(e.target).data("datepicker"),i=n.getUTCDate(),o=t.inArray(e.target,this.inputs),a=o-1,s=o+1,r=this.inputs.length;if(o!==-1){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e.setUTCDate(i)}),i=0&&ithis.dates[s])for(;sthis.dates[s];)this.pickers[s++].setUTCDate(i);this.updateDates(),delete this.updating}}},remove:function(){t.map(this.pickers,function(t){t.remove()}),delete this.element.data().datepicker}};var d=t.fn.datepicker,h=function(n){var i=Array.apply(null,arguments);i.shift();var o;return this.each(function(){var a=t(this),c=a.data("datepicker"),d="object"==typeof n&&n;if(!c){var h=s(this,"date"),f=t.extend({},p,h,d),g=r(f.language),m=t.extend({},p,g,h,d);if(a.hasClass("input-daterange")||m.inputs){var b={inputs:m.inputs||a.find("input").toArray()};a.data("datepicker",c=new u(this,t.extend(m,b)))}else a.data("datepicker",c=new l(this,m))}if("string"==typeof n&&"function"==typeof c[n]&&(o=c[n].apply(c,i),o!==e))return!1}),o!==e?o:this};t.fn.datepicker=h;var p=t.fn.datepicker.defaults={autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,container:"body"},f=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=l;var g=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"}},m={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(t){return t%4===0&&t%100!==0||t%400===0},getDaysInMonth:function(t,e){return[31,m.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(t){var e=t.replace(this.validParts,"\0").split("\0"),n=t.match(this.validParts);if(!e||!e.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:e,parts:n}},parseDate:function(i,o,a){function s(){var t=this.slice(0,h[u].length),e=h[u].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!i)return e;if(i instanceof Date)return i;"string"==typeof o&&(o=m.parseFormat(o));var r,c,u,d=/([\-+]\d+)([dmwy])/,h=i.match(/([\-+]\d+)([dmwy])/g);if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(i)){ +for(i=new Date,u=0;u«»',contTemplate:'',footTemplate:''};m.template='
    '+m.headTemplate+""+m.footTemplate+'
    '+m.headTemplate+m.contTemplate+m.footTemplate+'
    '+m.headTemplate+m.contTemplate+m.footTemplate+"
    ",t.fn.datepicker.DPGlobal=m,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=d,this},t.fn.datepicker.version="1.4.0",t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var n=t(this);n.data("datepicker")||(e.preventDefault(),h.call(n,"show"))}),t(function(){h.call(t('[data-provide="datepicker-inline"]'))})}(window.jQuery),!function(t){t.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør","Søn"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø","Sø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",clear:"Nulstil"}}(jQuery),!function(t){t.fn.datepicker.dates["pt-BR"]={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb","Dom"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa","Do"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",clear:"Limpar"}}(jQuery),!function(t){t.fn.datepicker.dates.nl={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag","zondag"],daysShort:["zo","ma","di","wo","do","vr","za","zo"],daysMin:["zo","ma","di","wo","do","vr","za","zo"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",clear:"Wissen",weekStart:1,format:"dd-mm-yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.fr={days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi","dimanche"],daysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam.","dim."],daysMin:["d","l","ma","me","j","v","s","d"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthsShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],today:"Aujourd'hui",clear:"Effacer",weekStart:1,format:"dd/mm/yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab","Dom"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa","Do"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.lt={days:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis","Sekmadienis"],daysShort:["S","Pr","A","T","K","Pn","Š","S"],daysMin:["Sk","Pr","An","Tr","Ke","Pn","Št","Sk"],months:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthsShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],today:"Šiandien",weekStart:1}}(jQuery),!function(t){t.fn.datepicker.dates.no={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I dag",clear:"Nullstill",weekStart:1,format:"dd.mm.yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.es={days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],daysShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy",clear:"Borrar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery),!function(t){t.fn.datepicker.dates.sv={days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],daysShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör","Sön"],daysMin:["Sö","Må","Ti","On","To","Fr","Lö","Sö"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Idag",format:"yyyy-mm-dd",weekStart:1,clear:"Rensa"}}(jQuery),function(){var t,e,n,i,o,a,s,r,c=[].slice,l={}.hasOwnProperty,u=function(t,e){function n(){this.constructor=t}for(var i in e)l.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};s=function(){},e=function(){function t(){}return t.prototype.addEventListener=t.prototype.on,t.prototype.on=function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this},t.prototype.emit=function(){var t,e,n,i,o,a;if(i=arguments[0],t=2<=arguments.length?c.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[i])for(o=0,a=n.length;o
    '),this.element.appendChild(e)),i=e.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t){var e,n,i;return e={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},n=t.width/t.height,e.optWidth=this.options.thumbnailWidth,e.optHeight=this.options.thumbnailHeight,null==e.optWidth&&null==e.optHeight?(e.optWidth=e.srcWidth,e.optHeight=e.srcHeight):null==e.optWidth?e.optWidth=n*e.optHeight:null==e.optHeight&&(e.optHeight=1/n*e.optWidth),i=e.optWidth/e.optHeight,t.heighti?(e.srcHeight=t.height,e.srcWidth=e.srcHeight*i):(e.srcWidth=t.width,e.srcHeight=e.srcWidth/i),e.srcX=(t.width-e.srcWidth)/2,e.srcY=(t.height-e.srcHeight)/2,e},drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e,i,o,a,s,r,c,l,u,d,h,p,f;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(t.previewElement=n.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement),d=t.previewElement.querySelectorAll("[data-dz-name]"),a=0,c=d.length;a'+this.options.dictRemoveFile+""),t.previewElement.appendChild(t._removeLink)),i=function(e){return function(i){return i.preventDefault(),i.stopPropagation(),t.status===n.UPLOADING?n.confirm(e.options.dictCancelUploadConfirmation,function(){return e.removeFile(t)}):e.options.dictRemoveFileConfirmation?n.confirm(e.options.dictRemoveFileConfirmation,function(){return e.removeFile(t)}):e.removeFile(t)}}(this),p=t.previewElement.querySelectorAll("[data-dz-remove]"),f=[],r=0,u=p.length;r\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Check\n \n \n \n \n \n
    \n
    \n \n Error\n \n \n \n \n \n \n \n
    \n'},i=function(){var t,e,n,i,o,a,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],a=0,s=n.length;a'+this.options.dictDefaultMessage+"")),this.clickableElements.length&&(i=function(t){return function(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null==t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!=t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!=t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",document.querySelector(t.options.hiddenInputContainer).appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",function(){var e,n,o,a;if(n=t.hiddenFileInput.files,n.length)for(o=0,a=n.length;o',this.options.dictFallbackText&&(i+="

    "+this.options.dictFallbackText+"

    "),i+='',e=n.createElement(i),"FORM"!==this.element.tagName?(o=n.createElement('
    '),o.appendChild(e)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=o?o:e)},n.prototype.getExistingFallback=function(){var t,e,n,i,o,a;for(e=function(t){var e,n,i;for(n=0,i=t.length;n0){for(s=["TB","GB","MB","KB","b"],n=r=0,c=s.length;r=e){i=t/Math.pow(this.options.filesizeBase,4-n),o=a;break}i=Math.round(10*i)/10}return""+i+" "+o},n.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},n.prototype.drop=function(t){var e,n;t.dataTransfer&&(this.emit("drop",t),e=t.dataTransfer.files,this.emit("addedfiles",e),e.length&&(n=t.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(e)))},n.prototype.paste=function(t){var e,n;if(null!=(null!=t&&null!=(n=t.clipboardData)?n.items:void 0))return this.emit("paste",t),e=t.clipboardData.items,e.length?this._addFilesFromItems(e):void 0},n.prototype.handleFiles=function(t){var e,n,i,o;for(o=[],n=0,i=t.length;n0){for(a=0,s=n.length;a1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):n.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)},n.prototype.addFile=function(t){return t.upload={progress:0,total:t.size,bytesSent:0},this.files.push(t),t.status=n.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){return function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}}(this))},n.prototype.enqueueFiles=function(t){var e,n,i;for(n=0,i=t.length;n=e)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,e-n));for(;t=B;u=0<=B?++L:--L)a.append(this._getParamName(u),t[u],this._renameFilename(t[u].name));return this.submitRequest(_,a,t)},n.prototype.submitRequest=function(t,e,n){return t.send(e)},n.prototype._finished=function(t,e,i){var o,a,s;for(a=0,s=t.length;au;)e=o[4*(c-1)+3],0===e?a=c:u=c,c=a+u>>1;return l=c/s,0===l?1:l},a=function(t,e,n,i,a,s,r,c,l,u){var d;return d=o(e),t.drawImage(e,n,i,a,s,r,c,l,u/d)},i=function(t,e){var n,i,o,a,s,r,c,l,u;if(o=!1,u=!0,i=t.document,l=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",c=i.addEventListener?"removeEventListener":"detachEvent",r=i.addEventListener?"":"on",a=function(n){if("readystatechange"!==n.type||"complete"===i.readyState)return("load"===n.type?t:i)[c](r+n.type,a,!1),!o&&(o=!0)?e.call(t,n.type||n):void 0},s=function(){var t;try{l.doScroll("left")}catch(e){return t=e,void setTimeout(s,50)}return a("poll")},"complete"!==i.readyState){if(i.createEventObject&&l.doScroll){try{u=!t.frameElement}catch(d){}u&&s()}return i[n](r+"DOMContentLoaded",a,!1),i[n](r+"readystatechange",a,!1),t[n](r+"load",a,!1)}},t._autoDiscoverFunction=function(){if(t.autoDiscover)return t.discover()},i(window,t._autoDiscoverFunction)}.call(this),function(t,e){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return"undefined"==typeof t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,n){function i(t,e){return n(e,t)}t.each(e,i)},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,o){if(!(i=n.call(null,o,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,o){if(i=n.call(null,o,t,e))return!1}),!!i):i},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){function n(){return String(e)}return t.isFunction(e)?e:n},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,o;return function(){var a,s,r=this,c=arguments;return a=function(){i=null,n||(o=t.apply(r,c))},s=n&&!i,clearTimeout(i),i=setTimeout(a,e),s&&(o=t.apply(r,c)),o}},throttle:function(t,e){var n,i,o,a,s,r;return s=0,r=function(){s=new Date,o=null,a=t.apply(n,i)},function(){var c=new Date,l=e-(c-s);return n=this,i=arguments,l<=0?(clearTimeout(o),o=null,s=c,a=t.apply(n,i)):o||(o=setTimeout(r,l)),a}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},noop:function(){}}}(),n=function(){"use strict";function t(t){var s,r;return r=e.mixin({},a,t),s={css:o(),classes:r,html:n(r),selectors:i(r)},{css:s.css,html:s.html,classes:s.classes,selectors:s.selectors,mixin:function(t){e.mixin(t,s)}}}function n(t){return{wrapper:'',menu:'
    '}}function i(t){var n={};return e.each(t,function(t,e){n[e]="."+t}),n}function o(){var t={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return e.isMsie()&&e.mixin(t.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),t}var a={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return t}(),i=function(){"use strict";function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}var i,o;return i="typeahead:",o={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},e.mixin(n.prototype,{_trigger:function(e,n){var o;return o=t.Event(i+e),(n=n||[]).unshift(o),this.$el.trigger.apply(this.$el,n),o},before:function(t){var e,n;return e=[].slice.call(arguments,1),n=this._trigger("before"+t,e),n.isDefaultPrevented()},trigger:function(t){var e;this._trigger(t,[].slice.call(arguments,1)),(e=o[t])&&this._trigger(e,[].slice.call(arguments,1))}}),n}(),o=function(){"use strict";function t(t,e,n,i){var o;if(!n)return this;for(e=e.split(c),n=i?r(n,i):n,this._callbacks=this._callbacks||{};o=e.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][t].push(n);return this}function e(e,n,i){return t.call(this,"async",e,n,i)}function n(e,n,i){return t.call(this,"sync",e,n,i)}function i(t){var e;if(!this._callbacks)return this;for(t=t.split(c);e=t.shift();)delete this._callbacks[e];return this}function o(t){var e,n,i,o,s;if(!this._callbacks)return this;for(t=t.split(c),i=[].slice.call(arguments,1);(e=t.shift())&&(n=this._callbacks[e]);)o=a(n.sync,this,[e].concat(i)),s=a(n.async,this,[e].concat(i)),o()&&l(s);return this}function a(t,e,n){function i(){for(var i,o=0,a=t.length;!i&&o