1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`98d232c5b42a7fe1fb7b6490c2b24778ba1cb7ec`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9fbc0ef3-f90b-4289-a2ea-2ffc1d6ada00`,e._sentryDebugIdIdentifier=`sentry-dbid-9fbc0ef3-f90b-4289-a2ea-2ffc1d6ada00`)}catch{}})();import{t as e}from"./i18next-By_T_RU4.js";import t from"./email-input-COVvlW2P.js";var n=e.getFixedT(null,`team`);window.$(()=>{var e=document.querySelector(`#invite-emails-input`);if(e){var r=new t(e);r.render(),window.$(`#inviteModalLink`).on(`click`,function(e){e.preventDefault(),window.$(`#inviteModal`).modal(`show`)}),window.$(`#send_invite`).on(`click`,function(e){e.preventDefault();let t=r.getValidEmails(),i=+!!window.$(`#invite_to_my_org`).is(`:checked`),a=window.$(`#personalized_message`).val()||``;if(t.length==0){window.toast(n(`invite.enter_email_address`),`error`);return}let o=t.length>1?n(`invite.invites`):n(`invite.invite`);window.$.ajax({url:route(`organisation.users.invite-users`),type:`POST`,data:{email_addresses:t,invite_to_my_org:i,personalized_message:a},success:function(){window.$(`#inviteModal`).modal(`hide`),window.$(`#invite-emails-input div:not(#invite-emails-input input)`).remove(),window.$(`#personalized_message`).val(``),window.toast(o+` sent`,`success`),window.$(`#organisationUsers-table`).DataTable().clear().draw()},error:function(e){let r=o+` `+n(`invite.not_sent`);if(e.responseJSON)if(e.responseJSON.errors){let i=[];Object.entries(e.responseJSON.errors).forEach(([e,r])=>{r.forEach(r=>{let a=e.match(/^email_addresses\.(\d+)$/);if(a){let i=t[parseInt(a[1],10)]||n(`invite.unknown_email`);r=r.replace(e,` email `+i)}i.push(r)})}),r=i.join(`<br>`)}else xhr.responseJSON.message&&(r=xhr.responseJSON.message);window.toast(r,`error`)}})})}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.