var Ziggy = { namedRoutes: {"dashboard":{"uri":"\/","methods":["GET","HEAD"],"domain":null},"downloader.list":{"uri":"modules","methods":["GET","HEAD"],"domain":null},"downloader.list.remote":{"uri":"modules\/list","methods":["GET","HEAD"],"domain":null},"downloader.checksums":{"uri":"modules\/checksums","methods":["GET","HEAD"],"domain":null},"downloader.installer":{"uri":"i\/{password?}","methods":["GET","HEAD"],"domain":null},"downloader.command":{"uri":"modules\/command\/{com}","methods":["GET","HEAD"],"domain":null},"downloader.get":{"uri":"modules\/download","methods":["GET","HEAD"],"domain":null},"downloader.download":{"uri":"modules\/download","methods":["POST"],"domain":null},"tools.settings":{"uri":"tools\/settings","methods":["GET","HEAD"],"domain":null},"update-module-settings":{"uri":"tools\/update-module-settings","methods":["POST"],"domain":null},"tools.update":{"uri":"tools\/update","methods":["GET","HEAD"],"domain":null},"tools.update.post":{"uri":"tools\/update","methods":["POST"],"domain":null},"tools.migrate":{"uri":"tools\/migrate","methods":["GET","HEAD"],"domain":null},"layouts.scripts":{"uri":"layouts\/scripts","methods":["GET","HEAD"],"domain":null},"layouts.theme.css":{"uri":"layouts\/theme.css","methods":["GET","HEAD"],"domain":null},"layouts.theme":{"uri":"layouts\/theme","methods":["GET","HEAD"],"domain":null},"search.results":{"uri":"search","methods":["GET","HEAD"],"domain":null},"search.settings":{"uri":"search\/settings","methods":["GET","HEAD"],"domain":null},"crm.index":{"uri":"crm","methods":["GET","HEAD"],"domain":null},"crm.sources.index":{"uri":"crm\/sources","methods":["GET","HEAD"],"domain":null},"crm.sources.create":{"uri":"crm\/sources\/create","methods":["GET","HEAD"],"domain":null},"crm.sources.store":{"uri":"crm\/sources\/store","methods":["POST"],"domain":null},"crm.sources.edit":{"uri":"crm\/sources\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sources.update":{"uri":"crm\/sources\/update\/{id}","methods":["POST"],"domain":null},"crm.sources.destroy":{"uri":"crm\/sources\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sources.toggle-active":{"uri":"crm\/sources\/toggle-active","methods":["POST"],"domain":null},"crm.mediums.create":{"uri":"crm\/mediums\/create","methods":["GET","HEAD"],"domain":null},"crm.mediums.store":{"uri":"crm\/mediums\/store","methods":["POST"],"domain":null},"crm.mediums.edit":{"uri":"crm\/mediums\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.mediums.update":{"uri":"crm\/mediums\/update\/{id}","methods":["POST"],"domain":null},"crm.mediums.destroy":{"uri":"crm\/mediums\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.mediums.toggle-active":{"uri":"crm\/mediums\/toggle-active","methods":["POST"],"domain":null},"crm.campaigns.create":{"uri":"crm\/campaigns\/create","methods":["GET","HEAD"],"domain":null},"crm.campaigns.store":{"uri":"crm\/campaigns\/store","methods":["POST"],"domain":null},"crm.campaigns.edit":{"uri":"crm\/campaigns\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.campaigns.update":{"uri":"crm\/campaigns\/update\/{id}","methods":["POST"],"domain":null},"crm.campaigns.destroy":{"uri":"crm\/campaigns\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.campaigns.toggle-active":{"uri":"crm\/campaigns\/toggle-active","methods":["POST"],"domain":null},"crm.board.index":{"uri":"crm\/board","methods":["GET","HEAD"],"domain":null},"crm.board.create":{"uri":"crm\/board\/create","methods":["GET","HEAD"],"domain":null},"crm.board.store":{"uri":"crm\/board\/store","methods":["POST"],"domain":null},"crm.board.edit":{"uri":"crm\/board\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.update":{"uri":"crm\/board\/update\/{id}","methods":["POST"],"domain":null},"crm.board.destroy":{"uri":"crm\/board\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.close":{"uri":"crm\/board\/close","methods":["GET","HEAD"],"domain":null},"crm.board.show":{"uri":"crm\/board\/show\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.actions":{"uri":"crm\/board\/actions\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.select-stages":{"uri":"crm\/board\/select-stages\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.sync-stages":{"uri":"crm\/board\/sync-stages\/{id}","methods":["POST"],"domain":null},"crm.board.add-client":{"uri":"crm\/board\/add-client\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.add-lead":{"uri":"crm\/board\/add-lead\/{id}","methods":["GET","HEAD"],"domain":null},"crm.stage.index":{"uri":"crm\/stage","methods":["GET","HEAD"],"domain":null},"crm.stage.create":{"uri":"crm\/stage\/create","methods":["GET","HEAD"],"domain":null},"crm.stage.store":{"uri":"crm\/stage\/store","methods":["POST"],"domain":null},"crm.stage.edit":{"uri":"crm\/stage\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.stage.update":{"uri":"crm\/stage\/update\/{id}","methods":["POST"],"domain":null},"crm.stage.destroy":{"uri":"crm\/stage\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.group.index":{"uri":"crm\/group","methods":["GET","HEAD"],"domain":null},"crm.group.create":{"uri":"crm\/group\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.group.store":{"uri":"crm\/group\/store","methods":["POST"],"domain":null},"crm.group.edit":{"uri":"crm\/group\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.group.update":{"uri":"crm\/group\/update\/{id}","methods":["POST"],"domain":null},"crm.group.destroy":{"uri":"crm\/group\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.index":{"uri":"crm\/categories","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.create":{"uri":"crm\/categories\/doc\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.store":{"uri":"crm\/categories\/doc\/store","methods":["POST"],"domain":null},"crm.categories.doc.edit":{"uri":"crm\/categories\/doc\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.update":{"uri":"crm\/categories\/doc\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.doc.destroy":{"uri":"crm\/categories\/doc\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.toggle-active":{"uri":"crm\/categories\/doc\/toggle-active","methods":["POST"],"domain":null},"crm.categories.sale.create":{"uri":"crm\/categories\/sale\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.store":{"uri":"crm\/categories\/sale\/store","methods":["POST"],"domain":null},"crm.categories.sale.edit":{"uri":"crm\/categories\/sale\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.update":{"uri":"crm\/categories\/sale\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.sale.destroy":{"uri":"crm\/categories\/sale\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.toggle-active":{"uri":"crm\/categories\/sale\/toggle-active","methods":["POST"],"domain":null},"crm.categories.ticket.create":{"uri":"crm\/categories\/ticket\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.store":{"uri":"crm\/categories\/ticket\/store","methods":["POST"],"domain":null},"crm.categories.ticket.edit":{"uri":"crm\/categories\/ticket\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.update":{"uri":"crm\/categories\/ticket\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.ticket.destroy":{"uri":"crm\/categories\/ticket\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.toggle-active":{"uri":"crm\/categories\/ticket\/toggle-active","methods":["POST"],"domain":null},"crm.categories.ticket-status.create":{"uri":"crm\/categories\/ticket-status\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.store":{"uri":"crm\/categories\/ticket-status\/store","methods":["POST"],"domain":null},"crm.categories.ticket-status.edit":{"uri":"crm\/categories\/ticket-status\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.update":{"uri":"crm\/categories\/ticket-status\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.ticket-status.destroy":{"uri":"crm\/categories\/ticket-status\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.toggle-active":{"uri":"crm\/categories\/ticket-status\/toggle-active","methods":["POST"],"domain":null},"crm.lead.index":{"uri":"crm\/lead","methods":["GET","HEAD"],"domain":null},"crm.lead.create":{"uri":"crm\/lead\/create","methods":["GET","HEAD"],"domain":null},"crm.lead.store":{"uri":"crm\/lead\/store","methods":["POST"],"domain":null},"crm.lead.edit":{"uri":"crm\/lead\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.lead.update":{"uri":"crm\/lead\/update\/{id}","methods":["POST"],"domain":null},"crm.lead.destroy":{"uri":"crm\/lead\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.index":{"uri":"crm\/client","methods":["GET","HEAD"],"domain":null},"crm.client.create":{"uri":"crm\/client\/create","methods":["GET","HEAD"],"domain":null},"crm.client.store":{"uri":"crm\/client\/store","methods":["POST"],"domain":null},"crm.client.edit":{"uri":"crm\/client\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.update":{"uri":"crm\/client\/update\/{id}","methods":["POST"],"domain":null},"crm.client.destroy":{"uri":"crm\/client\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.logo":{"uri":"crm\/client\/logo\/{id}","methods":["GET","HEAD"],"domain":null},"crm.logo.edit":{"uri":"crm\/logo\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.logo.update":{"uri":"crm\/logo\/update\/{scope}\/{id}","methods":["POST"],"domain":null},"crm.info.edit":{"uri":"crm\/info\/edit\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.info.update":{"uri":"crm\/info\/update","methods":["POST"],"domain":null},"crm.contact.index":{"uri":"crm\/contact","methods":["GET","HEAD"],"domain":null},"crm.contact.create":{"uri":"crm\/contact\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.contact.store":{"uri":"crm\/contact\/store","methods":["POST"],"domain":null},"crm.contact.edit":{"uri":"crm\/contact\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.contact.update":{"uri":"crm\/contact\/update\/{id}","methods":["POST"],"domain":null},"crm.contact.destroy":{"uri":"crm\/contact\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.index":{"uri":"crm\/address","methods":["GET","HEAD"],"domain":null},"crm.address.create":{"uri":"crm\/address\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.store":{"uri":"crm\/address\/store","methods":["POST"],"domain":null},"crm.address.edit":{"uri":"crm\/address\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.update":{"uri":"crm\/address\/update\/{id}","methods":["POST"],"domain":null},"crm.address.destroy":{"uri":"crm\/address\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.index":{"uri":"crm\/fiscal","methods":["GET","HEAD"],"domain":null},"crm.fiscal.create":{"uri":"crm\/fiscal\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.store":{"uri":"crm\/fiscal\/store","methods":["POST"],"domain":null},"crm.fiscal.edit":{"uri":"crm\/fiscal\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.update":{"uri":"crm\/fiscal\/update\/{id}","methods":["POST"],"domain":null},"crm.fiscal.destroy":{"uri":"crm\/fiscal\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.index":{"uri":"crm\/bank","methods":["GET","HEAD"],"domain":null},"crm.bank.create":{"uri":"crm\/bank\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.store":{"uri":"crm\/bank\/store","methods":["POST"],"domain":null},"crm.bank.edit":{"uri":"crm\/bank\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.update":{"uri":"crm\/bank\/update\/{id}","methods":["POST"],"domain":null},"crm.bank.destroy":{"uri":"crm\/bank\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.create":{"uri":"crm\/doc\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.store":{"uri":"crm\/doc\/store","methods":["POST"],"domain":null},"crm.doc.edit":{"uri":"crm\/doc\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.update":{"uri":"crm\/doc\/update\/{id}","methods":["POST"],"domain":null},"crm.doc.destroy":{"uri":"crm\/doc\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.create":{"uri":"crm\/attr\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.store":{"uri":"crm\/attr\/store","methods":["POST"],"domain":null},"crm.attr.edit":{"uri":"crm\/attr\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.update":{"uri":"crm\/attr\/update\/{id}","methods":["POST"],"domain":null},"crm.attr.destroy":{"uri":"crm\/attr\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.index":{"uri":"crm\/interaction","methods":["GET","HEAD"],"domain":null},"crm.interaction.create":{"uri":"crm\/interaction\/create","methods":["GET","HEAD"],"domain":null},"crm.interaction.store":{"uri":"crm\/interaction\/store","methods":["POST"],"domain":null},"crm.interaction.edit":{"uri":"crm\/interaction\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.update":{"uri":"crm\/interaction\/update\/{id}","methods":["POST"],"domain":null},"crm.interaction.destroy":{"uri":"crm\/interaction\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.state.form":{"uri":"crm\/interaction\/state\/{id}\/{state}","methods":["GET","HEAD"],"domain":null},"crm.interaction.state.set":{"uri":"crm\/interaction\/state\/{id}","methods":["POST"],"domain":null},"crm.sale.index":{"uri":"crm\/sale","methods":["GET","HEAD"],"domain":null},"crm.sale.create":{"uri":"crm\/sale\/create\/{scope?}\/{id?}","methods":["GET","HEAD"],"domain":null},"crm.sale.store":{"uri":"crm\/sale\/store","methods":["POST"],"domain":null},"crm.sale.edit":{"uri":"crm\/sale\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sale.update":{"uri":"crm\/sale\/update\/{id}","methods":["POST"],"domain":null},"crm.sale.destroy":{"uri":"crm\/sale\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users":{"uri":"crm\/sale\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.sale.users.add":{"uri":"crm\/sale\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.sale.users.add.post":{"uri":"crm\/sale\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.sale.users.remove":{"uri":"crm\/sale\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users.edit":{"uri":"crm\/sale\/{id}\/users\/edit\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users.update":{"uri":"crm\/sale\/{id}\/users\/update\/{user_id}","methods":["POST"],"domain":null},"crm.sale.users.destroy":{"uri":"crm\/sale\/{id}\/users\/destroy\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.external":{"uri":"crm\/sale\/{id}\/external","methods":["GET","HEAD"],"domain":null},"crm.sale.external.create":{"uri":"crm\/sale\/{id}\/external\/create","methods":["GET","HEAD"],"domain":null},"crm.sale.external.store":{"uri":"crm\/sale\/{id}\/external\/store","methods":["POST"],"domain":null},"crm.sale.external.edit":{"uri":"crm\/sale\/{id}\/external\/edit\/{ext_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.external.update":{"uri":"crm\/sale\/{id}\/external\/update\/{ext_id}","methods":["POST"],"domain":null},"crm.sale.external.destroy":{"uri":"crm\/sale\/{id}\/external\/destroy\/{ext_id}","methods":["GET","HEAD"],"domain":null},"crm.renewals.index":{"uri":"crm\/sale\/renewals","methods":["GET","HEAD"],"domain":null},"crm.transaction.create":{"uri":"crm\/transaction\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.transaction.store":{"uri":"crm\/transaction\/store","methods":["POST"],"domain":null},"crm.transaction.edit":{"uri":"crm\/transaction\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.transaction.update":{"uri":"crm\/transaction\/update\/{id}","methods":["POST"],"domain":null},"crm.transaction.destroy":{"uri":"crm\/transaction\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.index":{"uri":"crm\/department","methods":["GET","HEAD"],"domain":null},"crm.department.create":{"uri":"crm\/department\/create","methods":["GET","HEAD"],"domain":null},"crm.department.store":{"uri":"crm\/department\/store","methods":["POST"],"domain":null},"crm.department.edit":{"uri":"crm\/department\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.update":{"uri":"crm\/department\/update\/{id}","methods":["POST"],"domain":null},"crm.department.destroy":{"uri":"crm\/department\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.users":{"uri":"crm\/department\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.department.users.add":{"uri":"crm\/department\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.department.users.add.post":{"uri":"crm\/department\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.department.users.remove":{"uri":"crm\/department\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.department.accesses":{"uri":"crm\/department\/{id}\/accesses","methods":["GET","HEAD"],"domain":null},"crm.department.accesses.update":{"uri":"crm\/department\/{id}\/accesses\/update","methods":["POST"],"domain":null},"crm.team.index":{"uri":"crm\/team","methods":["GET","HEAD"],"domain":null},"crm.team.create":{"uri":"crm\/team\/create","methods":["GET","HEAD"],"domain":null},"crm.team.store":{"uri":"crm\/team\/store","methods":["POST"],"domain":null},"crm.team.edit":{"uri":"crm\/team\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.team.update":{"uri":"crm\/team\/update\/{id}","methods":["POST"],"domain":null},"crm.team.destroy":{"uri":"crm\/team\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.team.users":{"uri":"crm\/team\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.team.users.add":{"uri":"crm\/team\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.team.users.add.post":{"uri":"crm\/team\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.team.users.remove":{"uri":"crm\/team\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.index":{"uri":"crm\/ticket","methods":["GET","HEAD"],"domain":null},"crm.ticket.create":{"uri":"crm\/ticket\/create\/{scope?}\/{id?}","methods":["GET","HEAD"],"domain":null},"crm.ticket.store":{"uri":"crm\/ticket\/store","methods":["POST"],"domain":null},"crm.ticket.edit":{"uri":"crm\/ticket\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.update":{"uri":"crm\/ticket\/update\/{id}","methods":["POST"],"domain":null},"crm.ticket.destroy":{"uri":"crm\/ticket\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.set-solved":{"uri":"crm\/ticket\/set-solved\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.img-upload":{"uri":"crm\/ticket\/upload-img","methods":["POST"],"domain":null},"crm.ticket.set-served":{"uri":"crm\/ticket\/set-served\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.index":{"uri":"crm\/outlays","methods":["GET","HEAD"],"domain":null},"crm.outlay.create":{"uri":"crm\/outlay\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.create-recurring":{"uri":"crm\/outlay\/create-recurring","methods":["GET","HEAD"],"domain":null},"crm.outlay.store":{"uri":"crm\/outlay\/store","methods":["POST"],"domain":null},"crm.outlay.edit":{"uri":"crm\/outlay\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.update":{"uri":"crm\/outlay\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.destroy":{"uri":"crm\/outlay\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.index":{"uri":"crm\/outlay\/category","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.create":{"uri":"crm\/outlay\/category\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.store":{"uri":"crm\/outlay\/category\/store","methods":["POST"],"domain":null},"crm.outlay.category.edit":{"uri":"crm\/outlay\/category\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.update":{"uri":"crm\/outlay\/category\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.category.destroy":{"uri":"crm\/outlay\/category\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.toggle-active":{"uri":"crm\/outlay\/category\/toggle-active","methods":["POST"],"domain":null},"crm.outlay.recurring.index":{"uri":"crm\/outlay\/recurring","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.create":{"uri":"crm\/outlay\/recurring\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.store":{"uri":"crm\/outlay\/recurring\/store","methods":["POST"],"domain":null},"crm.outlay.recurring.edit":{"uri":"crm\/outlay\/recurring\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.update":{"uri":"crm\/outlay\/recurring\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.recurring.destroy":{"uri":"crm\/outlay\/recurring\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.toggle-active":{"uri":"crm\/outlay\/recurring\/toggle-active","methods":["POST"],"domain":null},"crm.reports.balance":{"uri":"crm\/reports\/balance","methods":["GET","HEAD"],"domain":null},"crm.reports.pending-transactions":{"uri":"crm\/reports\/pending-transactions","methods":["GET","HEAD"],"domain":null},"crm.followup.store":{"uri":"crm\/followup\/store","methods":["POST"],"domain":null},"crm.followup.edit":{"uri":"crm\/followup\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.followup.update":{"uri":"crm\/followup\/update\/{id}","methods":["POST"],"domain":null},"crm.followup.destroy":{"uri":"crm\/followup\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.settings":{"uri":"crm\/settings","methods":["GET","HEAD"],"domain":null},"login":{"uri":"auth\/login","methods":["GET","HEAD"],"domain":null},"authenticate":{"uri":"auth\/authenticate","methods":["POST"],"domain":null},"logout":{"uri":"auth\/logout","methods":["GET","HEAD"],"domain":null},"forgot":{"uri":"auth\/forgot","methods":["GET","HEAD"],"domain":null},"reset-msg":{"uri":"auth\/reset-msg","methods":["POST"],"domain":null},"reset-form":{"uri":"auth\/reset-form","methods":["GET","HEAD"],"domain":null},"reset-password":{"uri":"auth\/reset-password","methods":["POST"],"domain":null},"users.index":{"uri":"users","methods":["GET","HEAD"],"domain":null},"users.create":{"uri":"users\/create","methods":["GET","HEAD"],"domain":null},"users.register":{"uri":"users\/register","methods":["POST"],"domain":null},"users.mass-update":{"uri":"users\/mass-update","methods":["POST"],"domain":null},"user.edit":{"uri":"user\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"user.update":{"uri":"user\/update\/{id}","methods":["POST"],"domain":null},"users.logs":{"uri":"users\/logs","methods":["GET","HEAD"],"domain":null},"user.settings":{"uri":"user\/settings","methods":["GET","HEAD"],"domain":null},"roles.index":{"uri":"roles","methods":["GET","HEAD"],"domain":null},"roles.create":{"uri":"roles\/create","methods":["GET","HEAD"],"domain":null},"roles.store":{"uri":"roles\/store","methods":["POST"],"domain":null},"roles.mass-update":{"uri":"roles\/mass-update","methods":["POST"],"domain":null},"users.switch":{"uri":"users\/switch\/{id}","methods":["GET","HEAD"],"domain":null},"users.settings":{"uri":"users\/settings","methods":["GET","HEAD"],"domain":null},"user.notifications.ok":{"uri":"users\/notifications\/ok\/{id}","methods":["GET","HEAD"],"domain":null},"user.notifications.all-ok":{"uri":"users\/notifications\/all-ok","methods":["GET","HEAD"],"domain":null}}, baseUrl: 'https://intranet.intermediatica.com/', baseProtocol: 'https', baseDomain: 'intranet.intermediatica.com', basePort: false, defaultParameters: [] }; !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("route",[],t):"object"==typeof exports?exports.route=t():e.route=t()}(this,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122?o+=n.charAt(a):u<128?o+=i[u]:u<2048?o+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?o+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(a+=1,u=65536+((1023&u)<<10|1023&n.charCodeAt(a)),o+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var u=t;return o(t)&&!o(r)&&(u=a(t,i)),o(t)&&o(r)?(r.forEach(function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,i):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t},u)}}},function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,i=r(0),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},function(e,t,r){"use strict";var n=r(3),o=r(4),i=r(1);e.exports={formats:i,parse:o,stringify:n}},function(e,t,r){"use strict";var n=r(0),o=r(1),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,u(t)?t:[t])},s=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,r,o,i,a,c,s,f,d,y,h,m,b){var g,v=t;if("function"==typeof s?v=s(r,v):v instanceof Date?v=y(v):"comma"===o&&u(v)&&(v=v.join(",")),null===v){if(i)return c&&!m?c(r,p.encoder,b):r;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||n.isBuffer(v))return c?[h(m?r:c(r,p.encoder,b))+"="+h(c(v,p.encoder,b))]:[h(r)+"="+h(String(v))];var O,w=[];if(void 0===v)return w;if(u(s))O=s;else{var j=Object.keys(v);O=f?j.sort(f):j}for(var P=0;P0?g+b:""}},function(e,t,r){"use strict";var n=r(0),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},u=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(n),u=a?n.slice(0,a.index):n,c=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var l=0;r.depth>0&&null!==(a=i.exec(n))&&l=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&a!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=n:i[u]=n:i={0:n}}n=i}return n}(c,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=c.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(y=y.split(",")),o.call(u,d)?u[d]=n.combine(u[d],y):u[d]=y}return u}(e,r):e,l=r.plainObjects?Object.create(null):{},s=Object.keys(c),f=0;f3&&void 0!==arguments[3]?arguments[3]:null;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,f(t).call(this))).name=e,i.absolute=n,i.ziggy=a||Ziggy,i.urlBuilder=i.name?new o(e,n,i.ziggy):null,i.template=i.urlBuilder?i.urlBuilder.construct():"",i.urlParams=i.normalizeParams(r),i.queryParams={},i.hydrated="",i}var r,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,l(String)),r=t,(n=[{key:"normalizeParams",value:function(e){return void 0===e?{}:((e="object"!==u(e)?[e]:e).hasOwnProperty("id")&&-1==this.template.indexOf("{id}")&&(e=[e.id]),this.numericParamIndices=Array.isArray(e),a({},e))}},{key:"with",value:function(e){return this.urlParams=this.normalizeParams(e),this}},{key:"withQuery",value:function(e){return a(this.queryParams,e),this}},{key:"hydrateUrl",value:function(){var e=this;if(this.hydrated)return this.hydrated;var t=this.template.replace(/{([^}]+)}/gi,function(t,r){var n,o,i=e.trimParam(t);if(e.ziggy.defaultParameters.hasOwnProperty(i)&&(n=e.ziggy.defaultParameters[i]),n&&!e.urlParams[i])return delete e.urlParams[i],n;if(e.numericParamIndices?(e.urlParams=Object.values(e.urlParams),o=e.urlParams.shift()):(o=e.urlParams[i],delete e.urlParams[i]),void 0===o){if(-1===t.indexOf("?"))throw new Error("Ziggy Error: '"+i+"' key is required for route '"+e.name+"'");return""}return o.id?encodeURIComponent(o.id):encodeURIComponent(o)});return null!=this.urlBuilder&&""!==this.urlBuilder.path&&(t=t.replace(/\/+$/,"")),this.hydrated=t,this.hydrated}},{key:"matchUrl",value:function(){var e=window.location.hostname+(window.location.port?":"+window.location.port:"")+window.location.pathname,t=this.template.replace(/(\/\{[^\}]*\?\})/g,"/").replace(/(\{[^\}]*\})/gi,"[^/?]+").replace(/\/?$/,"").split("://")[1],r=this.template.replace(/(\{[^\}]*\})/gi,"[^/?]+").split("://")[1],n=e.replace(/\/?$/,"/"),o=new RegExp("^"+r+"/$").test(n),i=new RegExp("^"+t+"/$").test(n);return o||i}},{key:"constructQuery",value:function(){if(0===Object.keys(this.queryParams).length&&0===Object.keys(this.urlParams).length)return"";var e=a(this.urlParams,this.queryParams);return Object(i.stringify)(e,{encodeValuesOnly:!0,skipNulls:!0,addQueryPrefix:!0,arrayFormat:"indices"})}},{key:"current",value:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=Object.keys(this.ziggy.namedRoutes),o=n.filter(function(r){return-1!==e.ziggy.namedRoutes[r].methods.indexOf("GET")&&new t(r,void 0,void 0,e.ziggy).matchUrl()})[0];if(r){var i=new RegExp("^"+r.replace("*",".*").replace(".",".")+"$","i");return i.test(o)}return o}},{key:"check",value:function(e){return Object.keys(this.ziggy.namedRoutes).includes(e)}},{key:"extractParams",value:function(e,t,r){var n=this,o=e.split(r);return t.split(r).reduce(function(e,t,r){return 0===t.indexOf("{")&&-1!==t.indexOf("}")&&o[r]?a(e,(i={},u=n.trimParam(t),c=o[r],u in i?Object.defineProperty(i,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[u]=c,i)):e;var i,u,c},{})}},{key:"parse",value:function(){this.return=this.hydrateUrl()+this.constructQuery()}},{key:"url",value:function(){return this.parse(),this.return}},{key:"toString",value:function(){return this.url()}},{key:"trimParam",value:function(e){return e.replace(/{|}|\?/g,"")}},{key:"valueOf",value:function(){return this.url()}},{key:"params",get:function(){var e=this.ziggy.namedRoutes[this.current()];return a(this.extractParams(window.location.hostname,e.domain||"","."),this.extractParams(window.location.pathname.slice(1),e.uri,"/"))}}])&&c(r.prototype,n),t}();function d(e,t,r,n){return new p(e,t,r,n)}}]).default}); (function($) { $("form:not(.confirm)").submit(function(){ if (typeof Admin != "undefined") { show_loading(); } else { $(":input[type='submit']").val("Espere..."); $("button[type='submit']").text("Espere..."); } $(":input[type='submit']").attr("disabled", true); $("button[type='submit']").attr("disabled", true); }); })(jQuery);