import{e as m}from"./editor-BwIo2Pkt.js";import{i as f}from"./codemirror-initialize-X9RoGwOm.js";import{b as t}from"./select2-kdrdsacH.js";import{m as l}from"./module.esm-A8h-QRCZ.js";import{$ as i}from"./jquery-BJllTr_o.js";import"./mapbox-Cpj98o6Y.js";m();f("editorContainer");const n=t("email_drivers");i(function(){i("#smtp-config, #mailgun-config, #sendgrid-config, #mailjet-config").hide();const o=n.val();o==="smtp"?i("#smtp-config").show():o==="mailgun"?i("#mailgun-config").show():o==="sendgrid"?i("#sendgrid-config").show():o==="mailjet"&&i("#mailjet-config").show(),n.on("change",function(){let e=i(this).val();i("#smtp-config, #mailgun-config, #sendgrid-config, #mailjet-config").hide(),e==="smtp"?i("#smtp-config").show():e==="mailgun"?i("#mailgun-config").show():e==="sendgrid"?i("#sendgrid-config").show():e==="mailjet"&&i("#mailjet-config").show()})});const s=t("sms_drivers");i(function(){i("#twilio-form, #nexmo-form").hide();const o=s.val();o==="twilio"?i("#twilio-form").show():o==="nexmo"&&i("#nexmo-form").show(),s.on("change",function(){let e=i(this).val();i("#twilio-form, #nexmo-form").hide(),e==="twilio"?i("#twilio-form").show():e==="nexmo"&&i("#nexmo-form").show()})});l.start();
