0?t=n.props.alertsSelected:n.props.entryData.length>0&&(t=n.props.entryData);var a={alerts:t.map((function(t){var a={id:t.id,status:e};return"closed"===e&&(a.closed=Math.round((new Date).getTime()/1e3)),a}))};n.props.ToggleProcessingMessage(!0),ha("/scot/api/v2/".concat(n.props.type,"/").concat(n.props.id),a).then(function(){console.log("success"),this.props.ToggleProcessingMessage(!1)}.bind(Object(l.a)(n))).catch(function(t){this.props.errorToggle("failed to ".concat(e," selected alerts"),t),this.props.ToggleProcessingMessage(!1)}.bind(Object(l.a)(n)))},n.alertPromoteSelected=function(){var e=JSON.stringify({promote:"new"}),t=n.props.alertsSelected.map((function(e){return e.id}));n.props.ToggleProcessingMessage(!0),ha("/scot/api/v2/alert/".concat(t[0]),e).then(function(e){var a={promote:e.data.pid};1===t.length&&this.props.ToggleProcessingMessage(!1),t.forEach(function(e,n){0===n?console.log("promoting rest of alerts"):ha("/scot/api/v2/alert/".concat(e),a).then(function(){n+1===t.length&&this.props.ToggleProcessingMessage(!1)}.bind(this)).catch(function(e){this.props.errorToggle("failed to promoted selected alerts",e)}.bind(this))}.bind(this))}.bind(Object(l.a)(n)))},n.alertSelectExisting=function(){var e=prompt("Please Enter Event ID to promote into");""!==e&&null!==e&&(n.props.alertsSelected.forEach(function(t){var a={promote:parseInt(e,10)};ha("/scot/api/v2/alert/".concat(t.id),a).then((function(){console.log("Successfully promoted to event ".concat(e))})).catch(function(){prompt("Please use numbers only"),this.selectExisting()}.bind(this))}.bind(Object(l.a)(n))),window.open("#/event/"+e))},n.alertExportCSV=function(){var e=n.props.alertsSelected,t=[];e.forEach(function(e){Object.keys(e).forEach((function(t){if("string"===typeof e[t]){var a=e[t];e[t]=a.replace(/(<([^>]+)>)/gi,"")}})),t.push(e)}.bind(Object(l.a)(n))),n.setState({dataToDownload:t},(function(){n.csvLink.link.click()}))},n.PrintPrepare=function(){X()("iframe").contents().each((function(e,t){X()(t).find("blockquote").each((function(e,t){X()(t).css({"max-height":"5000px"})})),X()(t).find("pre").each((function(e,t){X()(t).css({"max-height":"5000px","word-wrap":"break-word"})}))})),setTimeout(function(){this.forceUpdate()}.bind(Object(l.a)(n)),500),setTimeout((function(){X()("#print-button").click()}),1e3)},n.Print=function(){window.print()},n.componentDidMount=function(){"alertgroup"!==n.props.type&&"alert"!==n.props.type||X()("#main-detail-container").keydown(function(e){X()("input").is(":focus")||(79===e.keyCode&&!0!==e.ctrlKey&&!0!==e.metaKey&&this.alertOpenOrCloseSelected("open"),67===e.keyCode&&!0!==e.ctrlKey&&!0!==e.metaKey&&this.alertOpenOrCloseSelected("closed"))}.bind(Object(l.a)(n))),X()("#main-detail-container").keydown(function(e){X()("input").is(":focus")||84===e.keyCode&&!0!==e.ctrlKey&&!0!==e.metaKey&&this.toggleFlair()}.bind(Object(l.a)(n)))},n.componentWillUnmount=function(){X()("#main-detail-container").unbind("keydown")},n.guideToggle=function(){n.props.flairToolbarToggle(n.props.guideID,null,"guide",{top:0,left:0},null)},n.sourceToggle=function(){n.props.flairToolbarToggle(n.props.id,null,"source",{top:0,left:0},null)},n.createGuide=function(){var e=JSON.stringify({subject:"ENTER A GUIDE NAME",data:{applies_to:[n.props.subjectName]}});X.a.ajax({type:"POST",url:"/scot/api/v2/guide",data:e,contentType:"application/json; charset=UTF-8",success:function(e){window.open("/#/guide/"+e.id)},error:function(e){this.props.errorToggle("failed to create a new guide",e)}.bind(Object(l.a)(n))})},n.reparseFlair=function(){X.a.ajax({type:"put",url:"/scot/api/v2/"+n.props.type+"/"+n.props.id,data:JSON.stringify({parsed:0}),contentType:"application/json; charset=UTF-8",success:function(){console.log("reparsing started")},error:function(e){this.props.errorToggle("failed to reparse flair",e)}.bind(Object(l.a)(n))})},n.createLinkSignature=function(){X.a.ajax({type:"POST",url:"/scot/api/v2/signature",data:JSON.stringify({target:{id:n.props.id,type:n.props.type},name:"Name your Signature",status:"disabled"}),contentType:"application/json; charset=UTF-8",success:function(e){var t="/#/signature/"+e.id;window.open(t,"_blank")},error:function(e){this.props.errorToggle("failed to create a signature",e)}.bind(Object(l.a)(n))})},n.manualUpdate=function(){n.props.updated(null,null)},n.render=function(){var e=n.props.subjectType,t=n.props.type,a=n.props.id,i=n.props.status,s="";if(n.props.headerData.subject?s=n.props.headerData.subject:n.props.headerData.value?s=n.props.headerData.value:n.props.headerData.name?s=n.props.headerData.name:n.props.headerData.body&&(s=n.props.headerData.body),"alertgroup"!==t){var o=!0;return"promoted"!==i?"alert"===t?"Event":"event"===t?"Incident":"incident"!==t&&"guide"!==t&&"intel"!==t&&"signature"!==t&&"entity"!==t||(o=!1):o=!1,r.a.createElement("div",{className:"entry-header detail-buttons"},"entity"!==t?r.a.createElement(Ba.a,{eventkey:"1",bsStyle:"success",onClick:n.props.entryToggle,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-plus-circle","aria-hidden":"true"})," Add Entry"):null,"entity"!==t?r.a.createElement(Ba.a,{eventkey:"2",onClick:n.props.fileUploadToggle,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-upload","aria-hidden":"true"})," Upload File"):null,r.a.createElement(Ba.a,{eventkey:"3",onClick:n.toggleFlair,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-eye-slash","aria-hidden":"true"})," Toggle Flair"),"alertgroup"===t||"event"===t||"intel"===t?r.a.createElement(Ba.a,{eventkey:"4",onClick:n.props.viewedByHistoryToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/clock.png",alt:""})," Viewed By History"):null,r.a.createElement(Ba.a,{eventkey:"5",onClick:n.props.changeHistoryToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/clock.png",alt:""})," ",e," History"),"entity"!==t?r.a.createElement(Ba.a,{eventkey:"6",onClick:n.props.permissionsToggle,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-users","aria-hidden":"true"})," Permissions"):null,r.a.createElement(cn,{type:t,id:a,tlp:n.props.headerData.tlp}),r.a.createElement(Ba.a,{eventkey:"7",onClick:n.props.entitiesToggle,bsSize:"xsmall"},r.a.createElement("span",{className:"entity"},"__")," View Entities"),"guide"===t?r.a.createElement(Ba.a,{eventkey:"8",onClick:n.props.guideRedirectToAlertListWithFilter,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-table","aria-hidden":"true"})," View Related Alerts"):null,r.a.createElement(Ba.a,{onClick:n.props.linksModalToggle,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-link","aria-hidden":"true"})," Links"),o?r.a.createElement(za,{type:t,id:a,updated:n.props.updated,errorToggle:n.props.errorToggle}):null,"signature"!==t?r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:n.createLinkSignature},r.a.createElement("i",{className:"fa fa-pencil","aria-hidden":"true"})," Create & Link Signature"):null,"signature"===t?r.a.createElement(Ba.a,{eventkey:"11",onClick:n.props.showSignatureOptionsToggle,bsSize:"xsmall",bsStyle:"warning"},"View Custom Options"):null,r.a.createElement(Ba.a,{onClick:n.PrintPrepare,bsSize:"xsmall",bsStyle:"info"},r.a.createElement("i",{className:"fa fa-print","aria-hidden":"true"})," Print"),r.a.createElement(Ba.a,{onClick:n.Print,style:{display:"none"},id:"print-button"}),r.a.createElement(Ba.a,{onClick:n.props.exportToggle,bsSize:"xsmall",id:"export-button"},r.a.createElement("i",{className:"fa fa-share","aria-hidden":"true"})," Export"," ",e," "),r.a.createElement(Ba.a,{bsStyle:"danger",eventkey:"9",onClick:function(){return n.props.deleteToggle(t)},bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-trash","aria-hidden":"true"})," Delete"," ",e),r.a.createElement(Ha.a,{style:{float:"right"}},r.a.createElement(Ga,{type:t,id:a,string:s}),r.a.createElement(Ba.a,{onClick:n.props.markModalToggle,bsSize:"xsmall"},"Marked Objects"),r.a.createElement(Ba.a,{id:"refresh-detail",bsStyle:"info",eventkey:"10",onClick:n.manualUpdate,bsSize:"xsmall",style:{float:"right"}},r.a.createElement("i",{className:"fa fa-refresh","aria-hidden":"true"}))))}return r.a.createElement("div",{className:"entry-header second-menu detail-buttons"},r.a.createElement(Ha.a,{style:{float:"right"}},r.a.createElement(Ga,{type:t,id:a,string:s}),r.a.createElement(Ba.a,{onClick:n.props.markModalToggle,bsSize:"xsmall"},"Marked Actions"),r.a.createElement(Ba.a,{bsStyle:"info",eventkey:"16",onClick:n.manualUpdate,bsSize:"xsmall",style:{float:"right"}},r.a.createElement("i",{className:"fa fa-refresh","aria-hidden":"true"}))),r.a.createElement("span",{className:"entry-header detail-buttons"},r.a.createElement(Ba.a,{eventkey:"1",onClick:n.toggleFlair,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-eye-slash","aria-hidden":"true"})," Toggle Flair"),r.a.createElement(Ba.a,{eventkey:"2",onClick:n.reparseFlair,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-refresh","aria-hidden":"true"})," Reparse Flair"),r.a.createElement("span",null,null!==n.props.guideID?r.a.createElement(Ba.a,{eventkey:"3",onClick:n.guideToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/guide.png",alt:""})," Guide"):r.a.createElement(Ba.a,{eventkey:"3",onClick:n.createGuide,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/guide.png",alt:""})," Create Guide")),null==n.props.headerData?null:r.a.createElement(Ba.a,{eventkey:"4",onClick:n.sourceToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/code.png",alt:""})," View Source"),r.a.createElement(Ba.a,{eventkey:"5",onClick:n.props.entitiesToggle,bsSize:"xsmall"},r.a.createElement("span",{className:"entity"},"__")," View Entities"),"alertgroup"===t||"event"===t||"intel"===t?r.a.createElement(Ba.a,{eventkey:"6",onClick:n.props.viewedByHistoryToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/clock.png",alt:""})," Viewed By History"):null,r.a.createElement(Ba.a,{eventkey:"7",onClick:n.props.changeHistoryToggle,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/clock.png",alt:""})," ",e," History"),r.a.createElement(cn,{type:t,id:a,tlp:n.props.headerData.tlp}),r.a.createElement(Ba.a,{onClick:n.props.linksModalToggle,bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-link","aria-hidden":"true"})," Links"),r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:n.createLinkSignature},r.a.createElement("i",{className:"fa fa-pencil","aria-hidden":"true"})," Create & Link Signature"),r.a.createElement(Ba.a,{onClick:n.Print,style:{display:"none"},id:"print-button"}),r.a.createElement(Ba.a,{bsStyle:"danger",eventkey:"8",onClick:function(){return n.props.deleteToggle(t)},bsSize:"xsmall"},r.a.createElement("i",{className:"fa fa-trash","aria-hidden":"true"})," Delete"," ",e)),n.props.alertsSelected.length>0?r.a.createElement("span",null,r.a.createElement(Ba.a,{eventkey:"8",onClick:function(){return n.alertOpenOrCloseSelected("open")},bsSize:"xsmall",bsStyle:"danger"},r.a.createElement("img",{src:"/images/open.png",alt:""})," Open Selected"),r.a.createElement(Ba.a,{eventkey:"9",onClick:function(){return n.alertOpenOrCloseSelected("closed")},bsSize:"xsmall",bsStyle:"success"},r.a.createElement("i",{className:"fa fa-flag-checkered","aria-hidden":"true"})," Close Selected"),r.a.createElement(Ba.a,{eventkey:"10",onClick:n.alertPromoteSelected,bsSize:"xsmall",bsStyle:"warning"},r.a.createElement("img",{src:"/images/megaphone.png",alt:""})," Promote Selected"),r.a.createElement(Ba.a,{eventkey:"11",onClick:n.alertSelectExisting,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/megaphone_plus.png",alt:""})," Add Selected to"," ",r.a.createElement("b",null,"Existing Event")),r.a.createElement(dn.CSVLink,{data:n.state.dataToDownload,filename:"data.csv",className:"hidden",ref:function(e){return n.csvLink=e},target:"_blank"}),r.a.createElement(Ba.a,{eventkey:"14",onClick:n.alertExportCSV,bsSize:"xsmall"},r.a.createElement("img",{src:"/images/csv_text.png",alt:""})," Export to CSV"),r.a.createElement(Ga,{type:t,id:a,string:s,isAlert:!0,getSelectedAlerts:n.getSelectedAlerts,alertsSelected:n.props.alertsSelected}),r.a.createElement(Ba.a,{onClick:n.PrintPrepare,bsSize:"xsmall",bsStyle:"info"},r.a.createElement("i",{className:"fa fa-print","aria-hidden":"true"})," Print"),r.a.createElement(Ba.a,{onClick:n.Print,style:{display:"none"},id:"print-button"}),r.a.createElement(Ba.a,{eventkey:"15",onClick:function(){return n.props.deleteToggle("alert")},bsSize:"xsmall",bsStyle:"danger"},r.a.createElement("i",{className:"fa fa-trash","aria-hidden":"true"})," Delete Selected")):null)},n.state={globalFlairState:!0,promoteRemaining:null,dataToDownload:[]},n}return a}(r.a.Component),un=a(52),hn=a.n(un),mn=a(64),gn={content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)"},overlay:{zIndex:"1101"}},yn={READY:{style:"danger"},LOADING:{text:"Processing...",style:"default",disabled:!0},SUCCESS:{text:"Success!",style:"success"},ERROR:{text:"Error!",style:"warning"}},fn=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).deleteItems=function(){var e=n.props.deleteType,t=[];(t="alert"!==e?[parseInt(n.props.id,10)]:n.props.alertsSelected.map((function(e){return e.id}))).forEach(function(a,n){var r=this.props.enqueueSnackbar,i=function(e){return ga.apply(this,arguments)}("/scot/api/v2/".concat(e,"/").concat(a));this.props.removeCallback(parseInt(this.props.id,10)),i.then(function(){n===t.length-1&&"alert"===e&&this.props.updated(),"alert"!==e?(this.props.history.push("/"+e),r("Successfully deleted ".concat(this.props.id,"."),{variant:"success"})):"alert"===e&&r("Successfully deleted ".concat(a,"."),{variant:"success"})}.bind(this)).catch((function(e){r("Failed deleting exception.",{variant:"error"})}))}.bind(Object(l.a)(n))),n.props.deleteToggle(e)},n.state={key:e.id},n}return Object(C.a)(a,[{key:"render",value:function(){var e=this.props.deleteType,t="";if("alert"!==e)t=" ".concat(e,": ").concat(this.props.id);else if("alert"===e){var a=this.props.alertsSelected.map((function(e){return r.a.createElement("span",{style:{paddingRight:10}},e.id)}));t=r.a.createElement("span",null,e,"(s) : ",a)}return r.a.createElement(hn.a,{isOpen:!0,onRequestClose:this.props.deleteToggle,style:gn},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{alt:"",src:"images/close_toolbar.png",className:"close_toolbar",onClick:this.props.deleteToggle}),r.a.createElement("h3",{id:"myModalLabel"},"Are you sure you want to delete ",t,"?")),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(W.a,{id:"cancel-delete",onClick:this.props.deleteToggle},"Cancel"),r.a.createElement(W.a,{bsStyle:"danger",id:"delete",onClick:this.deleteItems},"Delete")))}}]),a}(r.a.Component),vn=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).state={key:e.id},n.toggle=n.toggle.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"toggle",value:function(){X.a.ajax({type:"delete",url:"scot/api/v2/entry/"+this.props.entryid,success:function(e){console.log("success: "+e);this.state.key}.bind(this),error:function(e){this.props.errorToggle("Failed to delete entry",e)}.bind(this)}),this.props.deleteToggle()}},{key:"render",value:function(){return r.a.createElement(hn.a,{isOpen:!0,onRequestClose:this.props.deleteToggle,style:gn},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{alt:"",src:"images/close_toolbar.png",className:"close_toolbar",onClick:this.props.deleteToggle}),r.a.createElement("h3",{id:"myModalLabel"},"Are you sure you want to delete Entry: ",this.props.entryid,"?")),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(W.a,{id:"cancel-delete",onClick:this.props.deleteToggle},"Cancel"),r.a.createElement(W.a,{bsStyle:"danger",id:"delete",onClick:this.toggle},"Delete")))}}]),a}(n.PureComponent),bn=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).state={deleteButton:yn.READY},n.deleteAll=n.deleteAll.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"deleteAll",value:function(){var e=this;this.setState({deleteButton:yn.LOADING});var t=!0,a=this.props.things;Array.isArray(a)||(a=[a]),X.a.when.apply(X.a,Object(T.a)(a.map((function(t){return e.deleteAjax(t)})))).then((function(){e.setState({deleteButton:yn.SUCCESS})}),(function(a){console.error(a),e.setState({deleteButton:yn.ERROR}),e.props.errorToggle("error deleting",a),t=!1})).always((function(){setTimeout((function(){e.setState({deleteButton:yn.READY}),e.props.callback(t)}),2e3)}))}},{key:"deleteAjax",value:function(e){return X.a.ajax({type:"delete",url:"/scot/api/v2/"+e.type+"/"+e.id,contentType:"application/json; charset=UTF-8"})}},{key:"render",value:function(){var e=this.props.things,t="";t=Array.isArray(e)?e.map((function(e){return"".concat(e.type,": ").concat(e.id)})).join(", "):"".concat(e.type,": ").concat(e.id);var a=this.state.deleteButton;return r.a.createElement(hn.a,{isOpen:!0,onRequestClose:this.props.callback,style:gn},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{alt:"",src:"images/close_toolbar.png",className:"close_toolbar",onClick:this.props.callback}),r.a.createElement("h3",{id:"myModalLabel"},"Are you sure you want to delete ",t,"?")),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(W.a,{id:"cancel-delete",onClick:this.props.callback},"Cancel"),r.a.createElement(W.a,{bsStyle:a.style,id:"delete",onClick:this.deleteAll,disabled:a.disabled},a.text?a.text:"Delete")))}}]),a}(n.PureComponent),En=Object(mn.withSnackbar)(fn),kn=a(293),wn=a.n(kn),Sn=a(105),Tn=a.n(Sn),Cn={content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)"}},xn=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).componentDidMount=function(){var e=de("whoami");e&&n.setState({whoami:e})},n.componentWillReceiveProps=function(){n.setState({currentOwner:n.props.data})},n.toggle=function(){if(void 0!==n.state.whoami){var e={owner:n.state.whoami};X.a.ajax({type:"put",url:"scot/api/v2/"+n.props.type+"/"+n.props.id,data:JSON.stringify(e),contentType:"application/json; charset=UTF-8",success:function(e){},error:function(e){this.props.errorToggle("Failed to change owner",e)}.bind(Object(l.a)(n))})}else n.props.errorToggle("Failed to detect current user");n.ownerToggle()},n.ownerToggle=function(){!1===n.state.ownerToolbar?n.setState({ownerToolbar:!0}):n.setState({ownerToolbar:!1})},n.render=function(){return r.a.createElement("div",null,r.a.createElement(Tn.a,{bsSize:"xsmall",id:"event_owner",title:n.state.currentOwner},r.a.createElement(E.a,{eventKey:"1",onClick:n.ownerToggle},"Take Ownership")),n.state.ownerToolbar?r.a.createElement(hn.a,{isOpen:!0,onRequestClose:n.ownerToggle,style:Cn},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{src:"images/close_toolbar.png",alt:"",className:"close_toolbar",onClick:n.ownerToggle}),r.a.createElement("h3",{id:"myModalLabel"},"Take Ownership")),r.a.createElement("div",{className:"modal-body"},"Are you sure you want to take ownership of this event?"),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(wn.a,{id:"cancel-ownership",onClick:n.ownerToggle},"Cancel"),r.a.createElement(wn.a,{bsStyle:"info",id:"take-ownership",onClick:n.toggle},"Take Ownership"))):null)},n.state={currentOwner:n.props.data,whoami:void 0,ownerToolbar:!1},n}return a}(r.a.Component),jn=a(52),On=a(14),Dn={content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)"}},Nn=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).render=function(){return r.a.createElement("div",null,r.a.createElement(jn,{isOpen:!0,onRequestClose:n.props.entitiesToggle,style:Dn},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{src:"/images/close_toolbar.png",className:"close_toolbar",alt:"",onClick:n.props.entitiesToggle}),r.a.createElement("h3",{id:"myModalLabel"},"List of Entities")),r.a.createElement("div",{className:"modal-body",style:{maxHeight:"50vh",overflowY:"auto"}},n.state.entitiesBody?r.a.createElement(_n,{data:n.props.entityData,flairToolbarToggle:n.props.flairToolbarToggle}):null),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(On,{onClick:n.props.entitiesToggle},"Done"))))},n.state={entitiesBody:!0},n}return a}(r.a.Component),_n=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){var e;Object(o.a)(this,a);for(var n=arguments.length,i=new Array(n),s=0;s]*)>/g,"<$1span$2>")+" "},relative_urls:!1,remove_script_host:!1,link_assume_external_targets:!0,toolbar1:"full screen spellchecker | undo redo | bold italic | alignleft aligncenter alignright | bullist numlist | forecolor backcolor fontsizeselect fontselect formatselect | blockquote code link image insertdatetime | customBlockquote",theme:"modern",content_css:"/css/entryeditor.css",height:250,verify_html:!1,setup:function(e){e.addButton("customBlockquote",{text:"500px max-height blockquote",tooltip:"Insert a 500px max-height div (blockquote)",onclick:function(){e.insertContent("
")}})}}}))),r.a.createElement("div",null,r.a.createElement("br",null),r.a.createElement(sa.a,{style:{marginLeft:5,backgroundColor:"red",color:"white"},onClick:this.handlePUT,variant:"contained"},"Send Update to Server"),r.a.createElement(sa.a,{style:{marginLeft:5},onClick:this.props.handleClose,variant:"contained"},"Cancel")))))}}]),a}(r.a.Component),ar=Object(mn.withSnackbar)(Object(pt.a)((function(e){return{card:{minWidth:700,marginBottom:20}}}))(tr)),nr=a(1007),rr=a(14),ir=a(36).Prompt,sr=a(36).Link,or=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).componentDidMount=function(){var e=de("whoami");e&&n.setState({whoami:e}),"Edit"===n.props.entryAction&&X.a.ajax({type:"GET",url:"/scot/api/v2/entry/"+n.props.id,success:function(e){this.setState({content:e.body,asyncContentLoaded:!0,recentlyUpdated:e.updated}),this.forceUpdate()}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Error getting original data from source. Copy/Paste original",e),this.setState({content:"Error getting original data from source. Copy/Paste original",asyncContentLoaded:!0}),this.forceUpdate()}.bind(Object(l.a)(n))}),X()("#not_saved_entry_"+n.state.key).position()&&X()(".entry-wrapper").scrollTop(X()(".entry-wrapper").scrollTop()+X()("#not_saved_entry_"+n.state.key).position().top)},n.onCancel=function(){n.setState({leaveCatch:!1}),n.props.addedentry(),n.setState({change:!1})},n.submit=function(){if(""===X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").text()&&0===X()("#"+n.state.key+"_ifr").contents().find("#tinymce").find("img").length)alert("Please Add Some Text");else if("Reply"===n.props.entryAction){var e={};X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").each((function(e,t){X()(t).find("img").each((function(e,t){if(X()(t)[0].src.startsWith("blob")){var a=document.createElement("canvas"),n=new Image;n=X()(t),a.width=n[0].width,a.height=n[0].height,a.getContext("2d").drawImage(n[0],0,0);var r=a.toDataURL("image/png");X()(t).attr("src",r)}}))})),e=JSON.stringify({parent:Number(n.props.id),body:X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").html(),target_id:Number(n.props.targetid),target_type:n.props.type,tlp:"unset"}),X.a.ajax({type:"post",url:"/scot/api/v2/entry",data:e,contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){this.setState({leaveCatch:!1}),this.props.addedentry()}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to add entry.",e)}.bind(Object(l.a)(n))})}else"Edit"===n.props.entryAction?X.a.ajax({type:"GET",url:"/scot/api/v2/entry/"+n.props.id,success:function(e){this.state.recentlyUpdated!==e.updated?(this.forEdit(!1),this.setState({showConflict:!0,remoteconflict:e.body})):this.forEdit(!0)}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("failed to get data for edit",e)}.bind(Object(l.a)(n))}):"alert"===n.props.type?(X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").each((function(e,t){X()(t).find("img").each((function(e,t){if(X()(t)[0].src.startsWith("blob")){var a=document.createElement("canvas"),n=new Image;n=X()(t),a.width=n[0].width,a.height=n[0].height,a.getContext("2d").drawImage(n[0],0,0);var r=a.toDataURL("image/png");X()(t).attr("src",r)}}))})),e=JSON.stringify({body:X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").html(),target_id:Number(n.props.targetid),target_type:"alert",tlp:"unset",parent:0}),X.a.ajax({type:"post",url:"/scot/api/v2/entry",data:e,contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){this.setState({leaveCatch:!1}),this.props.addedentry(),this.props.toggleVisibility()}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to add entry.",e)}.bind(Object(l.a)(n))})):(X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").each((function(e,t){X()(t).find("img").each((function(e,t){if(X()(t)[0].src.startsWith("blob")){var a=document.createElement("canvas"),n=new Image;n=X()(t),a.width=n[0].width,a.height=n[0].height,a.getContext("2d").drawImage(n[0],0,0);var r=a.toDataURL("image/png");X()(t).attr("src",r)}}))})),e={parent:0,body:X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").html(),target_id:Number(n.props.targetid),target_type:n.props.type,tlp:"unset"},X.a.ajax({type:"post",url:"/scot/api/v2/entry",data:JSON.stringify(e),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){this.setState({leaveCatch:!1}),this.props.addedentry()}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to add entry.",e)}.bind(Object(l.a)(n))}))},n.exportContent=function(){if(n.props.recipients.length>0){var e;X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").each((function(e,t){X()(t).find("img").each((function(e,t){if(X()(t)[0].src.startsWith("blob")){var a=document.createElement("canvas"),n=new Image;n=X()(t),a.width=n[0].width,a.height=n[0].height,a.getContext("2d").drawImage(n[0],0,0);var r=a.toDataURL("image/png");X()(t).attr("src",r)}}))})),e=JSON.stringify({body:X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").html(),to:n.props.recipients,thing:n.props.type}),X.a.ajax({type:"post",url:"/scot/api/v2/sendexport",data:e,contentType:"application/json; charset=UTF-8",dataType:"json",success:function(){this.setState({leaveCatch:!1}),this.props.exportResponse("success")}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to export "+this.props.type,e),this.props.exportResponse("error")}.bind(Object(l.a)(n))})}else n.props.errorToggle("Please enter a valid email address")},n.handleClose=function(){n.setState({showConflict:!1})},n.forEdit=function(e){if(e){X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").each((function(e,t){X()(t).find("img").each((function(e,t){if(X()(t)[0].src.startsWith("blob")){var a=document.createElement("canvas"),n=new Image;n=X()(t),a.width=n[0].width,a.height=n[0].height,a.getContext("2d").drawImage(n[0],0,0);var r=a.toDataURL("image/png");X()(t).attr("src",r)}}))}));var t={parent:Number(n.props.parent),body:X()("#tiny_"+n.state.key+"_ifr").contents().find("#tinymce").html(),target_id:Number(n.props.targetid),target_type:n.props.type,parsed:0};X.a.ajax({type:"put",url:"/scot/api/v2/entry/"+n.props.id,data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){this.setState({leaveCatch:!1}),this.props.addedentry()}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to edit entry.",e)}.bind(Object(l.a)(n))})}},n.handleEditorChange=function(e){n.setState({localcontent:e})},n.render=function(){var e="not_saved_entry_"+n.state.key;return r.a.createElement("div",{id:e,className:"not_saved_entry"},n.state.showConflict?r.a.createElement(nr.a,{fullWidth:!0,maxWidth:"md",open:n.state.showConflict,onClose:n.handleClose,"aria-labelledby":"simple-dialog-title"},r.a.createElement(ar,{targetid:n.props.targetid,type:n.props.type,parent:n.props.parent,addedEntry:n.props.addedentry,id:n.props.id,localconflict:n.state.localcontent,handleClose:n.handleClose,remoteconflict:n.state.remoteconflict})):null,r.a.createElement("div",{className:"row-fluid entry-outer",style:{border:"3px solid blue",marginLeft:"auto",marginRight:"auto",width:"99.3%"}},r.a.createElement("div",{className:"row-fluid entry-header"},r.a.createElement("div",{className:"entry-header-inner"},"[",r.a.createElement(sr,{style:{color:"black"},to:"not_saved_0"},"Not_Saved_0"),"]by ",n.state.whoami,r.a.createElement("span",{className:"pull-right",style:{display:"inline-flex",paddingRight:"3px"}},"Export"===n.props.entryAction?r.a.createElement(rr,{bsSize:"xsmall",onClick:n.exportContent,bsStyle:"success"},"Export"):r.a.createElement(rr,{bsSize:"xsmall",onClick:n.submit,bsStyle:"success"},"Submit"),r.a.createElement(rr,{bsSize:"xsmall",onClick:n.onCancel},"Cancel")))),n.state.asyncContentLoaded?r.a.createElement(Xn.a,{id:n.state.tinyID,className:"inputtext",initialValue:n.state.content,plugins:"advlist lists link image charmap print preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking save table directionality emoticons template paste textpattern imagetools",onEditorChange:n.handleEditorChange,init:{table_default_attributes:{border:"5",borderStyle:"solid",borderColor:"blue"},auto_focus:n.state.tinyID,browser_spellcheck:!0,contextmenu:!1,codesample_languages:[{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"},{text:"Docker",value:"docker"},{text:"HTTP",value:"http"},{text:"JavaScript",value:"javascript"},{text:"Java",value:"java"},{text:"JSON",value:"json"},{text:"Markdown",value:"md"},{text:"Perl",value:"perl"},{text:"PHP",value:"php"},{text:"Powershell",value:"powershell"},{text:"Python",value:"python"},{text:"Ruby",value:"ruby"},{text:"Bash / Shell",value:"bash"},{text:"Splunk SPL ",value:"splunk-spl"},{text:"Visual Basic",value:"visual-basic"},{text:"HTML/XML",value:"markup"}],plugins:"advlist lists link image charmap print preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking save table directionality emoticons template paste textpattern imagetools codesample",table_clone_elements:"strong em b i font h1 h2 h3 h4 h5 h6 p div",paste_retain_style_properties:"all",paste_data_images:!0,paste_preprocess:function(e,t){t.content=t.content.replace(/<(\/)?a([^>]*)>/g,"<$1span$2>")+" "},paste_postprocess:function(e,t){t.node.querySelectorAll("table").forEach((function(e){e.setAttribute("border","1"),e.setAttribute("cellpadding","1"),e.setAttribute("cellspacing","0")}))},relative_urls:!1,remove_script_host:!1,link_assume_external_targets:!0,toolbar1:"full screen | undo redo | bold italic | alignleft aligncenter alignright | bullist numlist | forecolor backcolor fontsizeselect fontselect formatselect | blockquote code link image insertdatetime | customBlockquote | codesample",content_css:"/css/entryeditor.css",height:250,verify_html:!1,setup:function(e){e.ui.registry.addMenuButton("customBlockquote",{text:"500px max-height blockquote",tooltip:"Insert a 500px max-height div (blockquote)",fetch:function(){e.insertContent("
")}})}}}):r.a.createElement("div",null,"Loading Editor...")),r.a.createElement(ir,{when:n.state.leaveCatch,message:"Unsubmitted entry detected. You may want to submit or copy the contents of the entry before navigating elsewhere. Click CANCEL to prevent navigation elsewhere."}))};var i,s,c=new Date,d="tiny_"+(c=c.getTime());switch(n.props.entryAction){case"Add":case"Reply":i="",s=!0;break;case"Copy To Entry":i=n.props.content,s=!0;break;case"Edit":i="",s=!1;break;case"Export":i=n.props.content,s=!0;break;default:i="",s=!0}return n.state={tinyID:d,key:c,content:i,asyncContentLoaded:s,leaveCatch:!0,whoami:void 0,recentlyUpdated:0,showConflict:!1,localcontent:""},n}return a}(r.a.Component),lr=a(455),cr=a.n(lr),dr=a(166),pr=a.n(dr),ur=a(296),hr=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).componentWillMount=function(){},n.onLoad=function(){if(void 0!==document.getElementById("iframe_"+n.props.id)&&null!==document.getElementById("iframe_"+n.props.id))if("complete"===document.getElementById("iframe_"+n.props.id).contentDocument.readyState){var e=X()("#iframe_"+n.props.id),t=X()(e).contents(),a=X()(t).find("head");a&&(X()(a).find("link")||a.append(X()("",{rel:"stylesheet",href:"css/sandbox.css",type:"text/css"}))),setTimeout(function(){void 0!==document.getElementById("iframe_"+this.props.id)&&document.getElementById("iframe_"+this.props.id).contentWindow.requestAnimationFrame(function(){var e;e=document.getElementById("iframe_"+this.props.id).contentWindow.document.body.scrollHeight,e+="px",this.state.height!==e&&this.setState({height:e})}.bind(this))}.bind(Object(l.a)(n)),250)}else setTimeout(n.onLoad,0)},n.componentDidMount=function(){n.setState({isMounted:!0});var e=n.state.tabs,t=n.props.entityvalue;if("source"!==n.props.entitytype)if(void 0===n.state.entityid||isNaN(n.state.entityid))X.a.ajax({type:"GET",url:"scot/api/v2/"+n.props.entitytype+"/byname",data:{name:t},success:function(t){var a=t.id;this.state.isMounted&&(this.setState({entityid:a}),X.a.ajax({type:"GET",url:"scot/api/v2/"+this.props.entitytype+"/"+a,success:function(t){var n={data:t,entityid:a,entitytype:this.props.entitytype,valueClicked:t.value};if(e.push(n),this.state.isMounted){var r=[];r.push(a),this.setState({tabs:e,currentKey:a,initialLoad:!0,processedIds:r}),this.props.createCallback(this.props.entityid,this.updated)}}.bind(this),error:function(e){this.props.errorToggle("failed to get entity detail information",e)}.bind(this)}))}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("failed to get entity detail id information ",e)}.bind(Object(l.a)(n))});else{var a=n.state.entityid;Array.isArray(a)||(a=[parseInt(a,10)]);for(var r=0;r586&&(t.style.width=Za+e.clientX-Xa+"px"),en+e.clientY-$a>386&&(t.style.height=en+e.clientY-$a+"px")},n.stopDrag=function(e){document.documentElement.removeEventListener("mousemove",n.doDrag,!1),document.documentElement.removeEventListener("mouseup",n.stopDrag,!1),n.allowiFrameMouseEvent()},n.moveDivInit=function(e){document.documentElement.addEventListener("mouseup",n.moveDivStop,!1),n.blockiFrameMouseEvent()},n.moveDivStop=function(e){document.documentElement.removeEventListener("mouseup",n.moveDivStop,!1),n.allowiFrameMouseEvent()},n.blockiFrameMouseEvent=function(){X()("iframe").each((function(e,t){X()(t).addClass("pointerEventsOff")}))},n.allowiFrameMouseEvent=function(){X()("iframe").each((function(e,t){X()(t).removeClass("pointerEventsOff")}))},n.handleSelectTab=function(e){n.setState({currentKey:e})},n.positionRightBoundsCheck=function(e){return e?X()(document).width()-(n.state.defaultEntityOffset.left+e)-n.state.entityWidthint:X()(document).width()-n.state.defaultEntityOffset.left-n.state.entityWidthint},n.containerHeightAdjust=function(){var e;!0===n.props.fullScreen&&(X()("#list-view-container")[0]?(e=X()(window).height()-X()("#list-view-container").height()-X()("#header").height()-70,e+="px"):(e=X()(window).height()-X()("#header").height()-70,e+="px"),n.state.isMounted&&n.setState({height:e}))},n.render=function(){var e,t=[],a="box react-draggable entityPopUp entityPopUpMaxSizeDefault";(!0===n.props.fullScreen||X()("react-draggable-dragged"))&&(a="box react-draggable entityPopUp"),!0===n.props.fullScreen&&(a+=" height100percent");for(var i=0;i"),this.props.data){var n=this.props.data[a];e.push(r.a.createElement("tr",null,r.a.createElement("td",{style:{paddingRight:"4px",paddingLeft:"4px"}},r.a.createElement("b",null,a)),r.a.createElement("td",{style:{paddingRight:"4px",paddingLeft:"4px"}},this.props.data[a]))),t.push('
'+a+'
'+n+"
")}t.push("");var i=t.join("");return r.a.createElement("div",null,r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:this.copyToEntity},"Copy to ",r.a.createElement("b",null,"entity")," entry"),"alertgroup"!==this.props.type?r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:this.copyToEntry},"Copy to"," ",r.a.createElement("b",null,this.props.type," ",this.props.id)," ","entry"):null,this.state.copyToEntryToolbar?r.a.createElement(or,{entryAction:"Copy To Entry",type:this.props.type,targetid:this.props.id,id:this.props.id,addedentry:this.copyToEntry,content:i,errorToggle:this.props.errorToggle}):null,this.state.copyToEntityToolbar?r.a.createElement(or,{entryAction:"Copy To Entry",type:"entity",targetid:this.props.entityData.id,id:this.props.entityData.id,addedentry:this.copyToEntity,content:i,errorToggle:this.props.errorToggle}):null,r.a.createElement("div",{className:"entityTableWrapper"},r.a.createElement("table",{className:"tablesorter entityTableHorizontal",id:"sortableentitytable",width:"100%"},e)))}}]),a}(r.a.Component),vr=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){return Object(o.a)(this,a),t.apply(this,arguments)}return Object(C.a)(a,[{key:"render",value:function(){var e=this.props.dataSource;return r.a.createElement("div",{style:{overflowY:"auto",maxHeight:"70vh"}},r.a.createElement("div",null,r.a.createElement(Kn.a,{data:e,expandLevel:4})))}}]),a}(r.a.Component),br=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).componentDidMount=function(){n.setState({isMounted:!0});["incident","event","intel","guide","signature","alert"].forEach(function(e){var t=[],a=[],n=[],r=[];da("scot/api/v2/entity/".concat(this.props.entityid,"/").concat(e)).then(function(i){var s=i.data.records;this.props.updateAppearances(s.length),s.forEach(function(i){i.type=e,"open"===i.status?t.push(i):"closed"===i.status?a.push(i):"promoted"===i.status?n.push(i):r.push(i)}.bind(this)),t.sort(this.compareUpdatedDate),a.sort(this.compareUpdatedDate),n.sort(this.compareUpdatedDate),r.sort(this.compareUpdatedDate);var o=this.state.loadingType;o[e]=!1,this.setState({entityReferencesData:[].concat(Object(T.a)(this.state.entityReferencesData),n,t,a,r),loadingType:o})}.bind(this))}.bind(Object(l.a)(n))),n.state.entityReferencesData.length>0&&n.props.showFullEntityButton()},n.componentDidUpdate=function(){},n.componentWillUnmount=function(){n.setState({isMounted:!1})},n.compareUpdatedDate=function(e,t){return e.updated>t.updated?-1:1},n.render=function(){var e=n.state.loading;n.state.loadingSignature||n.state.loadingEvents||n.state.loadingAlerts||n.state.loadingIncidents||n.state.loadingIncidents||(e=!1);n.props.entityid;return n.state.entityReferencesData.length>0&&(console.log("got data"),console.log(n.state.entityReferencesData),n.state.entityReferencesData.length),r.a.createElement("div",null,e?r.a.createElement("span",null,"Loading: ",n.state.loadingAlerts?r.a.createElement("span",null,"Alerts "):null,n.state.loadingEvents?r.a.createElement("span",null,"Events "):null,n.state.loadingIncidents?r.a.createElement("span",null,"Incidents "):null,n.state.loadingIntel?r.a.createElement("span",null,"Intel "):null,n.state.loadingSignature?r.a.createElement("span",null,"Signature "):null):null,r.a.createElement(ur.a,null,r.a.createElement(Kt.a,{className:"-striped -highlight",data:n.state.entityReferencesData,columns:[{Header:"Status",accessor:"status",width:79,Cell:function(e){var t="";return void 0===e.original.status?r.a.createElement("div",null,"N/A"):"closed"===e.original.status?r.a.createElement("span",{style:{color:"green"}},e.original.status):"open"===e.original.status?r.a.createElement("span",{style:{color:"red"}},e.original.status):"promoted"===e.original.status?("alert"===e.original.type?t="/#/event/".concat(e.original.promotion_id):"event"===e.original.type&&(t="/#/incident/".concat(e.original.promotion_id)),r.a.createElement("div",{style:{display:"flex",alignItems:"center"}},r.a.createElement(W.a,{bsSize:"xsmall",bsStyle:"warning",href:t,target:"_blank",style:{lineHeight:"12pt",fontSize:"10pt",marginLeft:"auto"}},e.original.status))):void 0}},{Header:"ID",accessor:"id",width:85,Cell:function(e){if(e.original.id)return r.a.createElement(Ne.Link,{to:"/".concat(e.original.type,"/").concat(e.original.id),target:"_blank"},e.original.id)}},{Header:"type",accessor:"type",width:50},{Header:"Entries",accessor:"entry_count",width:66},{Header:"subject",accessor:"subject"},{Header:"updated",accessor:"updated",width:121,Cell:function(e){var t="Unknown";return void 0!==e.original.updated&&(t=Math.floor((Math.round((new Date).getTime()/1e3)-e.original.updated)/86400)),r.a.createElement("span",null,t," days ago")}}],minRows:0,sortable:!0})))};var i=100;return"entity"===n.props.type&&(i=void 0),n.state={entityReferencesData:[],maxRecords:i,loadingType:{alert:!0,event:!0,intel:!0,incident:!0,signature:!0,guide:!0},loading:!0,isMounted:!1,order:"asc",orderBy:"id"},n}return a}(r.a.Component),Er=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).entryToggle=function(){!1===n.state.entryToolbar?n.setState({entryToolbar:!0}):n.setState({entryToolbar:!1})},n.state={entryToolbar:!1},n}return Object(C.a)(a,[{key:"render",value:function(){return r.a.createElement(Jn.a,{className:"tab-content",defaultActiveKey:1,bsStyle:"pills"},r.a.createElement(Qn.a,{eventKey:1,style:{overflow:"auto",maxHeight:"70vh"}},r.a.createElement("div",null,r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:this.entryToggle},"Add Entry"),r.a.createElement("br",null)),this.state.entryToolbar?r.a.createElement(or,{entryAction:"Add",type:"guide",targetid:this.props.entityid,id:"add_entry",addedentry:this.entryToggle,errorToggle:this.props.errorToggle}):null,r.a.createElement(Zr,{addFlair:this.props.addFlair,type:"guide",form:this.props.form,id:this.props.entityid,isPopUp:1,headerData:this.props.data,errorToggle:this.props.errorToggle,createCallback:this.props.createCallback,removeCallback:this.props.removeCallback})))}}]),a}(r.a.Component),kr=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){return Object(o.a)(this,a),t.apply(this,arguments)}return Object(C.a)(a,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("h2",null,"Source"),r.a.createElement(Jn.a,{className:"tab-content",defaultActiveKey:1,bsStyle:"tabs"},r.a.createElement(Qn.a,{eventKey:1,className:"entityPopUpButtons",style:{overflow:"auto",maxHeight:"70vh"},title:"Rendered"},r.a.createElement(pr.a,{style:{width:"100%"},head:r.a.createElement("link",{rel:"stylesheet",type:"text/css",href:"/css/sandbox.css"}),frameBorder:"0",id:"iframe_"+this.props.entityid,sandbox:"allow-same-origin",height:"500px"},r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.data.body}}))),r.a.createElement(Qn.a,{eventKey:2,className:"entityPopUpButtons",style:{overflow:"auto",maxHeight:"70vh"},title:"Raw Text"},r.a.createElement(pr.a,{head:r.a.createElement("link",{rel:"stylesheet",type:"text/css",href:"/css/sandbox.css"}),style:{width:"100%"},frameBorder:"0",id:"iframe_"+this.props.entityid,sandbox:"allow-same-origin",styleSheets:["/css/sandbox.css"],height:"500px"},">",r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.data.body_plain}})))))}}]),a}(r.a.Component),wr=a(459),Sr=a.n(wr),Tr=a(464),Cr=a(14),xr=a(36).Link,jr=[],Or=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).onCancel=function(){jr=[],n.props.fileUploadToggle()},n.Close=function(e){for(var t=0;t0)for(var e=0;el&&(l=d)}if(void 0!=this.state.keyboardHandlers)for(var m=0;m=1){var t=[];X.a.ajax({type:"get",url:"/scot/api/v2/ac/"+this.props.type+"/"+e.target.value,success:function(e){e=e.records;for(var a=0;a=1&&this.state.match.length>=1?r.a.createElement(W.a,{onClick:this.Confirmation,bsStyle:"primary",type:"submit",active:!0},"Continue"):null,r.a.createElement(W.a,{onClick:this.props.ToggleCreateEntity},"Cancel"))))}}]),a}(n.Component),Wr=a(458),Br=a.n(Wr),Vr=a(1006),zr=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){var e;Object(o.a)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i0?r.a.createElement(Zr,{entryData:t.entryData,type:"alert",id:t.row.id,showEntryData:t.showEntryData,errorToggle:t.errorToggle,createCallback:t.createCallback,removeCallback:t.removeCallback,entityData:t.entityData,addFlair:t.addFlair}):null)},Zr=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).getEntryData=function(){var e=n.props,t=e.type,a=e.id;(n.setState({isMounted:!0}),"alert"===t||"entity"===t||1===n.props.isPopUp)&&da("scot/api/v2/".concat(t,"/").concat(a,"/entry"),null).then(function(e){this.state.isMounted&&(this.setState({showEntryData:!0,entryData:e.data.records}),e.data.records.forEach(function(t,a){this.props.createCallback(e.data.records[a].id,this.updatedCB)}.bind(this)),this.Watcher())}.bind(Object(l.a)(n))).catch(function(e){this.state.isMounted&&(this.setState({showEntryData:!0}),this.props.errorToggle("Failed to load entry data.",e))}.bind(Object(l.a)(n)))},n.getEntityData=function(){var e=n.props,t=e.addFlair,a=e.type,r=e.id;"alert"!==a&&"entity"!==a&&"incident"!==a&&"alertgroup"!==a&&1!==n.props.isPopUp||da("scot/api/v2/".concat(a,"/").concat(r,"/entity"),null).then(function(e){var n=e.data.records;if(this.state.isMounted){this.setState({showEntityData:!0,entityData:n});var i={waitEntry:function(){!1===this.state.showEntryData?setTimeout(i.waitEntry,50):setTimeout(function(){t(n,null,a,null,r)}.bind(this))}.bind(this)};i.waitEntry()}}.bind(Object(l.a)(n))).catch(function(e){this.state.isMounted&&(this.setState({showEntityData:!0}),this.props.errorToggle("Failed to load entity data.",e))}.bind(Object(l.a)(n)))},n.updatedCB=function(){n.getEntityData(),n.getEntryData()},n.flairToolbarToggle=function(e,t,a,r,i){n.state.isMounted&&n.setState({flairToolbar:!0,entityid:e,entityvalue:t,entitytype:a,entityoffset:r,entityobj:i})},n.flairToolbarOff=function(){if(n.state.isMounted){var e=n.state.entityDetailKey+1;n.setState({flairToolbar:!1,entityDetailKey:e})}},n.linkWarningToggle=function(e){n.state.isMounted&&(!1===n.state.linkWarningToolbar?n.setState({linkWarningToolbar:!0,link:e}):n.setState({linkWarningToolbar:!1}))},n.Watcher=function(){var e=n.props.type+"-detail-container";if("alertgroup"!=n.props.type){document.querySelectorAll("iframe").forEach(function(e,t){e.contentWindow.requestAnimationFrame(function(){if(null!=e.contentDocument){[].push(this.checkFlairHover),e.addEventListener("mouseenter",(function(t,a){var n=setInterval(this[0],50,e);console.log("Now watching iframe "+n)})),e.addEventListener("mouseleave",(function(){var t=X()(e).data("intervalID");window.clearInterval(t),console.log("No longer watching iframe "+t)}))}}.bind(this))}.bind(Object(l.a)(n)))}else X()(e).find("a, .entity").not(".not_selectable").each(function(e,t){X()(t).off("mousedown"),X()(t).on("mousedown",function(e){var t=e.target;if("extras"==X()(t)[0].className&&(t=X()(t)[0].parentNode),X()(t).attr("url")){var a=X()(t).attr("url");this.linkWarningToggle(a)}else{var n=X()(t).attr("data-entity-id"),r=X()(t).attr("data-entity-value"),i=X()(t).offset(),s=X()(t);this.flairToolbarToggle(n,r,"entity",i,s)}}.bind(this))}.bind(Object(l.a)(n)))},n.checkFlairHover=function(e){"alertgroup"!=n.props.type&&(null!=e.contentDocument&&X()(e).contents().find(".entity").each(function(t,a){if("rgb(255, 0, 0)"==X()(a).css("background-color"))X()(a).data("state","down");else if("down"==X()(a).data("state")){X()(a).data("state","up");var n=X()(a).attr("data-entity-id"),r=X()(a).attr("data-entity-value"),i=X()(a),s=e,o={top:X()(a).offset().top+X()(s).offset().top,left:X()(a).offset().left+X()(s).offset().left};this.flairToolbarToggle(n,r,"entity",o,i)}}.bind(Object(l.a)(n))),null!=e.contentDocument&&X()(e).contents().find("a").each(function(e,t){if("rgb(255, 0, 0)"==X()(t).css("color"))X()(t).data("state","down");else if("down"==X()(t).data("state")){X()(t).data("state","up");var a=X()(t).attr("url");this.linkWarningToggle(a)}}.bind(Object(l.a)(n))))},n.containerHeightAdjust=function(){setTimeout(function(){var e,t=document.getElementsByClassName("ReactTable")[0].clientHeight;void 0!==t&&(0!==t?(e=window.innerHeight-t-X()("#header").height()-90,e+="px"):(e=X()(window).height()-X()("#header").height()-78,e+="px"),this.state.isMounted&&this.setState({height:e}))}.bind(Object(l.a)(n)),500)},n.render=function(){var e="detail-container",t=n.state.height,a=n.props.entryData,i=n.props.type,s=n.props.id,o=n.props.showEntryData,l="row-fluid entry-wrapper entry-wrapper-main";return"alert"===i?(l="row-fluid entry-wrapper entry-wrapper-main-nh",a=n.state.entryData,o=n.state.showEntryData):"alertgroup"===i?l="row-fluid alert-wrapper entry-wrapper-main":"entity"!==i&&1!==n.props.isPopUp||(l="row-fluid entry-wrapper-entity",a=n.state.entryData,o=n.state.showEntryData),"alert"!==i&&1!==n.props.isPopUp||(e=n.props.type+"-detail-container",t=null),r.a.createElement("div",{id:e,key:s,className:l,style:{height:t}},"entity"!==i&&"alert"!==i?r.a.createElement(zr,{type:i,id:s,errorToggle:n.props.errorToggle,form:n.props.form,headerData:n.props.headerData}):null,"signature"===i&&null!==n.props.headerData?r.a.createElement(Pr,{type:i,id:s,headerData:n.props.headerData,errorToggle:n.props.errorToggle,showSignatureOptions:n.props.showSignatureOptions}):null,o?r.a.createElement(ei,Object.assign({updated:n.updatedCB,removeCallback:n.props.removeCallback,createCallback:n.props.createCallback,data:a,type:i,id:s,entityData:n.state.entityData,entryToggle:n.props.entryToggle,subcomponent:n.props.subcomponent,setAlertColumns:n.props.setAlertColumns,setEntryEntities:n.props.setEntryEntities},n.props)):r.a.createElement("span",null,"Loading..."),n.props.entryToolbar?r.a.createElement("div",null,r.a.createElement(or,{entryAction:"Add",type:n.props.type,targetid:n.props.id,id:null,addedentry:n.props.entryToggle,updated:n.updatedCB,errorToggle:n.props.errorToggle})):null,n.props.fileUploadToolbar?r.a.createElement("div",null,r.a.createElement(Or,{type:n.props.type,targetid:n.props.id,id:"file_upload",fileUploadToggle:n.props.fileUploadToggle,updated:n.updatedCB,errorToggle:n.props.errorToggle})):null,n.state.flairToolbar?r.a.createElement(hr,{key:n.state.entityDetailKey,flairToolbarToggle:n.flairToolbarToggle,flairToolbarOff:n.flairToolbarOff,entityid:n.state.entityid,entityvalue:n.state.entityvalue,entitytype:n.state.entitytype,type:n.props.type,id:n.props.id,entityoffset:n.state.entityoffset,entityobj:n.state.entityobj,linkWarningToggle:n.linkWarningToggle,errorToggle:n.props.errorToggle,createCallback:n.props.createCallback,removeCallback:n.props.removeCallback,addFlair:n.props.addFlair}):null,n.state.linkWarningToolbar?r.a.createElement(Ar,{linkWarningToggle:n.linkWarningToggle,link:n.state.link}):null)};var i=Math.floor(1e3*Math.random());return n.state={showEntryData:n.props.showEntryData,showEntityData:n.props.showEntityData,entryData:n.props.entryData,entityData:void 0===n.props.entityData?null:n.props.entityData,entityid:null,entitytype:null,entityoffset:null,entityobj:null,key:n.props.id,flairToolbar:!1,notificationType:null,notificationMessage:"",height:null,entityDetailKey:i,isMounted:!1},n}return Object(C.a)(a,[{key:"componentDidMount",value:function(){var e=this.props,t=e.type,a=e.id,n=e.addFlair;this.getEntryData(),null!==this.state.entityData&&n(this.state.entityData,null,t,null,a),this.props.createCallback(this.props.id,this.updatedCB),this.containerHeightAdjust(),window.addEventListener("resize",this.containerHeightAdjust),document.querySelector(".ReactTable").onresize=function(){this.containerHeightAdjust()}.bind(this)}},{key:"componentWillReceiveProps",value:function(){this.containerHeightAdjust()}},{key:"componentDidUpdate",value:function(){1==this.state.runWatcher&&this.Watcher()}},{key:"componentWillUnmount",value:function(){this.setState({isMounted:!1})}}]),a}(r.a.Component),ei=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){var e;Object(o.a)(this,a);for(var n=arguments.length,i=new Array(n),s=0;s0){var e=this.createData(),t=Ca("alert",e,this.props.items,!0);this.setState({data:e,columns:t})}this.props.type&&this.setState({type:this.props.type,entityData:this.props.entityData}),this.props.addFlair&&this.setState({addFlair:this.props.addFlair}),this.props.alertsSelected&&this.setState({selected:this.props.alertsSelected}),X()("#main-detail-container").keydown(function(e){X()("input").is(":focus")||65!==e.keyCode||!0!==e.ctrlKey&&!0!==e.metaKey||(this.handleSelectAll(),e.preventDefault())}.bind(this))}},{key:"componentDidUpdate",value:function(e,t){if(e.entityData!==this.props.entityData&&this.setState({entityData:this.props.entityData,columns:Ca("alert",this.state.data,this.props.items,!0,this.props.entityData)}),t.flairOff!==this.state.flairOff){var a=this.createData();this.setState({data:a})}if(e.items!==this.props.items){var n=this.createData();this.setState({data:n})}this.props.alertsSelected!==t.selected&&void 0!==this.props.alertsSelected&&this.setState({selected:this.props.alertsSelected})}},{key:"render",value:function(){var e=this,t=this.state,a=t.columns,n=t.data,i=this.props,s=i.addFlair,o=i.type,l=(i.headerData,i.entityData);i.updated;return r.a.createElement("div",null,r.a.createElement(Kt.a,{styleName:"styles.ReactTable",ref:function(t){return e.reactTable=t},key:2,data:n,columns:a,filterable:!0,expanded:this.state.expanded,onExpandedChange:function(t,a,n){e.setState({expanded:t}),s(l,null,"entry",null,null)},defaultFilterMethod:function(e,t){if(t[e.id].includes(e.value))return t},SubComponent:function(t){var a,n=t.row;return r.a.createElement($r,(a={flag:e.props.subcomponent,row:n,entryToggle:e.props.entryToggle,errorToggle:e.props.errorToggle,entryData:e.props.entryData,showEntryData:e.props.showEntryData},Object(ze.a)(a,"errorToggle",e.props.errorToggle),Object(ze.a)(a,"createCallback",e.props.createCallback),Object(ze.a)(a,"removeCallback",e.props.removeCallback),Object(ze.a)(a,"entityData",e.props.entityData),Object(ze.a)(a,"addFlair",e.props.addFlair),Object(ze.a)(a,"updated",e.props.updated),a))},onFilteredChange:function(e,t){s(l,null,o,null,null)},onSortedChange:function(e,t,a){s(l,null,o,null,null)},showPagination:!1,pageSize:n.length,getTdProps:function(e,t){return{style:{maxWidth:"fit-content"}}},getTrProps:function(t,a){return a&&a.row&&void 0!==e.props.alertsSelected?{onClick:function(n){(n.ctrlKey||n.metaKey&&83===n.keyCode)&&e.props.handleSelectAll(t.sortedData),n.ctrlKey||n.metaKey?(n.preventDefault(),e.props.handleMultiSelection(a.original)):n.shiftKey?(document.getSelection().removeAllRanges(),e.props.handleShiftSelect(e.state.selected[0].id,a.original.id,t.sortedData)):e.props.handleSelection(a.original)},style:{background:e.state.selected.some((function(e){return a.original.id===e.id}))?"#a7c6a5":"",borderBottom:"1px solid black",maxHeight:200,overflowY:"auto"}}:{style:{maxHeight:200,overflowY:"auto"}}}}),r.a.createElement(ai,{items:this.props.items,flairOff:this.props.flairOff,headerData:this.props.headerData}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.flairOff!==t.flairOff?{flairOff:e.flairOff}:e.alertsSelected!==t.selected?{selected:e.alertsSelected}:null}}]),a}(r.a.Component),ai=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){return Object(o.a)(this,a),t.call(this,e)}return Object(C.a)(a,[{key:"render",value:function(){var e=this,t=null,a=this.props.items;t=void 0===a[0].data_with_flair||this.props.flairOff?a[0].data.search:a[0].data_with_flair.search;var n=this.props.headerData.ahrefs.map((function(t,a){return r.a.createElement("div",{key:a},r.a.createElement("a",{href:e.props.headerData.ahrefs[a].link},e.props.headerData.ahrefs[a].subject),r.a.createElement("br",null))}));return r.a.createElement("div",null,void 0!==t?r.a.createElement("div",{className:"alertTableHorizontal",style:{outline:"1px solid black",borderRadius:5,padding:3,margin:"10px 0 15px"}},n,r.a.createElement("div",{dangerouslySetInnerHTML:{__html:t}})):null)}}]),a}(r.a.Component),ni=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).componentDidMount=function(){n.props.createCallback(n.props.items.id,n.refreshButton)},n.refreshButton=function(){X()("#refresh-detail")&&X()("#refresh-detail").click()},n.editEntryToggle=function(){!1===n.state.editEntryToolbar?n.setState({editEntryToolbar:!0}):n.setState({editEntryToolbar:!1})},n.replyEntryToggle=function(){!1===n.state.replyEntryToolbar?n.setState({replyEntryToolbar:!0}):n.setState({replyEntryToolbar:!1})},n.deleteToggle=function(){!1===n.state.deleteToolbar?n.setState({deleteToolbar:!0}):n.setState({deleteToolbar:!1})},n.permissionsToggle=function(){!1===n.state.permissionsToolbar?n.setState({permissionsToolbar:!0}):n.setState({permissionsToolbar:!1})},n.reparseFlair=function(){ha("/scot/api/v2/entry/".concat(n.props.items.id)).then((function(e){console.log("reparsing started")})).catch(function(e){this.props.errorToggle("failed to start reparsing of data",e)}.bind(Object(l.a)(n)))},n.fileUploadToggle=function(){!1===n.state.fileUploadToolbar?n.setState({fileUploadToolbar:!0}):n.setState({fileUploadToolbar:!1})},n.getEntryEntityData=function(e){da("scot/api/v2/entry/".concat(e,"/entity"),null).then(function(e){var t=e.data.records;this.props.setEntryEntities(t)}.bind(Object(l.a)(n))).catch(function(e){console.log("Couldnt get entry entity data: ".concat(e))}.bind(Object(l.a)(n)))},n.render=function(){var e=[],t=[],i=n.props.items,s=n.props.type,o=n.props.id,c=n.props.isPopUp,d=n.props.items.class,p=0,u=n.state.editEntryToolbar,h=n.editEntryToggle,m=n.props.errorToggle,g="row-fluid entry-outer",y="row-fluid entry-header",f="";for(var v in"summary"===d&&(g+=" summary_entry",p=1),"task"===d&&("open"===i.metadata.task.status||"assigned"===i.metadata.task.status?(f="-- Task Owner "+i.metadata.task.who+" ",g+=" todo_open_outer",y+=" todo_open"):"closed"!==i.metadata.task.status&&"completed"!==i.metadata.task.status||null==i.metadata.task.who?"closed"!==i.metadata.task.status&&"completed"!==i.metadata.task.status||(g+=" todo_undefined_outer",y+=" todo_undefined"):(f="-- Task Owner "+i.metadata.task.who+" ",g+=" todo_completed_outer",y+=" todo_completed")),"alert"===d&&(g+=" event_entry_container_alert"),e.push(r.a.createElement(ii,{id:i.id,key:i.id,subitem:i,type:s,targetid:o,editEntryToolbar:u,editEntryToggle:h,isPopUp:c,errorToggle:n.props.errorToggle,setEntryEntities:n.props.setEntryEntities})),i){!function(e){if("children"===e){i[e];i[e].forEach(function(e){t.push(new Array(r.a.createElement(a,{items:e,id:o,type:s,editEntryToolbar:u,editEntryToggle:h,isPopUp:c,errorToggle:m,createCallback:this.props.createCallback,removeCallback:this.props.removeCallback,setEntryEntities:this.props.setEntryEntities})))}.bind(Object(l.a)(n)))}}(v)}e.push(t);var b=[];if(n.props.items&&n.props.items.actions)for(var k=0;k0){var t=[],a=n.props.badgeType;da("/scot/api/v2/ac/".concat(a,"/").concat(e),null).then(function(e){t=e.data.records.map((function(e){return e})),this.setState({suggestions:t})}.bind(Object(l.a)(n))).catch(function(e){this.props.errorToggle("Failed to get autocomplete data for tag",e)}.bind(Object(l.a)(n)))}},n.state={suggestions:[]},n}return Object(C.a)(a,[{key:"render",value:function(){var e=this.state.suggestions;return e=this.handleSuggestionOrTagConversion(e),r.a.createElement("span",{className:"tag-new"},r.a.createElement(si.WithContext,{suggestions:e,handleAddition:this.handleAddition,handleInputChange:this.handleInputChange,tags:[]}))}}]),a}(r.a.Component),di=a(136),pi=a.n(di);function ui(e,t){if(null===e)return null;if(0===e)return"0";t=!t||t<0?0:t;var a=e.toPrecision(2).split("e"),n=1===a.length?0:Math.floor(Math.min(a[1].slice(1),14)/3),r=n<1?e.toFixed(0+t):(e/Math.pow(10,3*n)).toFixed(1+t);return(r<0?r:Math.abs(r))+["","K","M","B","T"][n]}var hi={entityUpdate:function(e,t,a,n,r,i){setTimeout(function(){var t={};for(var n in e)t[X()("",{html:n}).html()]=e[n];"alertgroup"!==a?X()("iframe").each(function(e,a){a.contentWindow.requestAnimationFrame((function(){if(null!=a.contentDocument){var e=X()(a).contents();X()(a.contentDocument.body).find("a").attr("target","_blank"),e.find("a").each((function(e,t){var a=X()(t).attr("href");X()(t).attr("url",a)})),e.find(".entity").each((function(e,a){if(null==X()(a).find(".extras")[0]){var n=X()("",{html:X()(a).attr("data-entity-value")}).html();if(void 0!==n&&void 0!==t){var r=t;if(void 0!==(r=void 0!==r[n.toLowerCase()]?r[n.toLowerCase()]:r[n])){console.log("entity matched!");var i=r.id,s=ui(parseInt(r.count,10),0),o=r.data;console.log("entitydata for "+r.id),console.log(o);var l=r.entry,c=X()('');if(c.addClass("circleNumber"),c.addClass("extras"),c.text(s),X()(a).append(c),X()(a).attr("data-entity-id",i),X()(a).unbind("click"),void 0!==o){var d;if(void 0!==o.scanner&&"true"===o.scanner.active&&X()(a).append(X()('').attr("src","/images/flair/scanner.png")),void 0!==o.geoip)if(void 0!==o.geoip.data.isocode)if(null!==(d="Sandia National Laboratories"===o.geoip.data.isp?"sandia":o.geoip.data.isocode)){var p=X()('').attr("src","/images/flags/"+d.toLowerCase()+".png");p.addClass("extras"),X()(a).append(p)}void 0!==o.sidd&&0!==Object.keys(o.sidd.data).length&&o.sidd.data.constructor===Object&&X()(a).append(X()('').attr("src","/images/flair/sidd.png")),void 0!==o.blocklist3&&(0!==o.blocklist3.data.firewall&&X()(a).append(X()('').attr("src","/images/flair/firewalled.png")),0!==o.blocklist3.data.watch&&X()(a).append(X()('').attr("src","/images/flair/watch.png")),0!==o.blocklist3.data.whitelist&&X()(a).append(X()('').attr("src","/images/flair/white_list.jpg")),0!==o.blocklist3.data.blackhole&&X()(a).append(X()('').attr("src","/images/flair/blackholed.png")),0!==o.blocklist3.data.proxy_block?(console.log("proxy block detected!"),X()(a).append(X()('').attr("src","/images/flair/blocked.png"))):console.log("proxy where art thou"+o.blocklist3.data))}if(void 0!==l&&0!==l){var u=r.entries[0].body_plain;X()(a).append(X()('').attr("src","/images/flair/note.png"))}}}}}))}}))}.bind(this)):"alertgroup"===a&&X()(document.body).find(".alertTableHorizontal").find(".entity").each((function(e,a){if(null==X()(a).find(".extras")[0]){var n=X()(document.body).find(".alertTableHorizontal");n.find("a").attr("target","_blank"),n.find("a").find(".entity").wrap(""),n.find("a").each((function(e,t){var a=X()(t).attr("href");X()(t).attr("url",a)}));var r=X()("",{html:X()(a).attr("data-entity-value")}).html();if(void 0!==r&&void 0!==t){var i=t;if(void 0!==(i=void 0!==i[r.toLowerCase()]?i[r.toLowerCase()]:i[r])){var s=i.id,o=ui(i.count),l=i.data;console.log("entitydata for "+i.id),console.log(l);var c=i.entry,d=X()('');if(d.addClass("circleNumber"),d.addClass("extras"),d.text(o),X()(a).append(d),X()(a).attr("data-entity-id",s),X()(a).unbind("click"),void 0!==l){if(void 0!==l.geoip&&void 0!==l.geoip.data.isocode){var p;p="Sandia National Laboratories"===l.geoip.data.isp?"sandia":l.geoip.data.isocode;var u=X()('').attr("src","/images/flags/"+p.toLowerCase()+".png");u.addClass("extras"),X()(a).append(u)}void 0!==l.blocklist3&&(0!==l.blocklist3.data.firewall&&X()(a).append(X()('').attr("src","/images/flair/firewalled.png")),0!==l.blocklist3.data.watch&&X()(a).append(X()('').attr("src","/images/flair/watch.png")),0!==l.blocklist3.data.whitelist&&X()(a).append(X()('').attr("src","/images/flair/white_list.jpg")),0!==l.blocklist3.data.blackhole&&X()(a).append(X()('').attr("src","/images/flair/blackholed.png")),0!==l.blocklist3.data.proxy_block?(console.log("proxy_block detected!"),X()(a).append(X()('').attr("src","/images/flair/blocked.png"))):console.log("Why no pblock? "+l.blocklist3.data))}if(void 0!==c&&0!==c){var h=i.entries[0].body_plain;X()(a).append(X()('').attr("src","/images/flair/note.png"))}}}}})),void 0!==i&&null!==i&&i()}.bind(this),1e3)}},mi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).state={data:[],allSelected:!1,loading:!1},n.getLinks=n.getLinks.bind(Object(l.a)(n)),n.handleTHeadCheckboxSelection=n.handleTHeadCheckboxSelection.bind(Object(l.a)(n)),n.handleRowSelection=n.handleRowSelection.bind(Object(l.a)(n)),n.handleCheckboxSelection=n.handleCheckboxSelection.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.getLinks(),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this,t=[{Header:function(t){return r.a.createElement("div",null,r.a.createElement("div",{className:"links-checkbox"},r.a.createElement("i",{className:"fa fa".concat(e.state.allSelected?"-check":"","-square-o"),"aria-hidden":"true"})))},id:"selected",accessor:function(e){return e.selected},Cell:function(e){return r.a.createElement("div",null,r.a.createElement("div",{className:"links-checkbox"},r.a.createElement("i",{className:"fa fa".concat(e.row.selected?"-check":"","-square-o"),"aria-hidden":"true"})))},maxWidth:100,filterable:!1},{Header:"Type",accessor:"type",maxWidth:150,sortable:!0},{Header:"ID",accessor:"id",maxWidth:100,sortable:!0},{Header:"Context",accessor:"context",minWidth:100,maxWidth:800,sortable:!0},{Header:"Memo",accessor:"memo",minWidth:100,maxWidth:800,sortable:!0},{Header:"Link ID",accessor:"linkid",maxWidth:100,sortable:!0}];return r.a.createElement(q.a,{dialogClassName:"links-modal",show:this.props.modalActive,onHide:this.props.linksModalToggle},r.a.createElement(q.a.Header,{closeButton:!0},r.a.createElement(q.a.Title,null,this.state.data.length," items linked to ",this.props.type," ",this.props.id)),r.a.createElement(q.a.Body,null,r.a.createElement(Kt.a,{columns:t,data:this.state.data,defaultPageSize:10,getTdProps:this.handleCheckboxSelection,getTheadThProps:this.handleTHeadCheckboxSelection,getTrProps:this.handleRowSelection,minRows:0,noDataText:"No items Linked.",loading:this.state.loading,style:{maxHeight:"60vh"},filterable:!0})),r.a.createElement(q.a.Footer,null,r.a.createElement(gi,{data:this.state.data,id:this.props.id,type:this.props.type,getLinks:this.getLinks,errorToggle:this.props.errorToggle})))}},{key:"getLinks",value:function(){this.setState({loading:!0}),X.a.ajax({type:"get",url:"/scot/api/v2/"+this.props.type+"/"+this.props.id+"/link",success:function(e){for(var t=[],a=0;a0?r.a.createElement("h4",{style:{float:"left"}},"Select a link for options"):null," "),r.a.createElement(Qt.a,{style:{float:"right"}},a||t?r.a.createElement(W.a,{onClick:this.RemoveLink},"Remove Link"):null)))}},{key:"RemoveLink",value:function(){var e,t=Object(w.a)(this.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&this.RemoveLinkAjax(parseInt(a.linkid))}}catch(n){t.e(n)}finally{t.f()}}},{key:"RemoveLinkAjax",value:function(e){X.a.ajax({type:"delete",url:"/scot/api/v2/link/"+e,success:function(e){console.log("successfully removed link"),this.ToggleActionSuccess()}.bind(this),error:function(e){this.props.errorToggle("failed to remove link",e)}.bind(this)})}},{key:"ToggleActionSuccess",value:function(){var e=!this.state.actionSuccess;this.props.getLinks(),this.setState({actionSuccess:e})}}]),a}(n.Component),yi=a(990),fi={READY:{style:"default"},LOADING:{text:"Processing...",style:"default",disabled:!0},SUCCESS:{text:"Success!",style:"success"},ERROR:{text:"Error!",style:"danger"}},vi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).handleRowSelection=function(e,t,a){return{onClick:function(e){var a,r=n.state.data,i=Object(w.a)(r);try{for(i.s();!(a=i.n()).done;){var s=a.value;t.row.id===s.id&&t.row.type===s.type?s.selected=!0:s.selected=!1}}catch(o){i.e(o)}finally{i.f()}n.setState({data:r,allSelected:!1})},style:{background:void 0!==t&&t.row.selected?"rgb(174, 218, 255)":null}}},n.handleCheckboxSelection=function(e,t,a){return"selected"===a.id?{onClick:function(e){var a,r=n.state.data,i=Object(w.a)(r);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(t.row.id===s.id&&t.row.type===s.type){s.selected=!s.selected;break}}}catch(o){i.e(o)}finally{i.f()}n.setState({data:r,allSelected:n.checkAllSelected(r)}),e.stopPropagation()}}:{}},n.handleTHeadCheckboxSelection=function(e,t,a,r){return"selected"===a.id?{onClick:function(t){var a,r=n.state.data,i=!n.state.allSelected,s=Object(w.a)(r);try{for(s.s();!(a=s.n()).done;){var o,l=a.value,c=Object(w.a)(e.pageRows);try{for(c.s();!(o=c.n()).done;){var d=o.value;if(l.id===d.id&&l.type===d.type){l.selected=i;break}}}catch(p){c.e(p)}finally{c.f()}}}catch(p){s.e(p)}finally{s.f()}n.setState({data:r,allSelected:i})}}:{}},n.checkAllSelected=function(e){var t,a=Object(w.a)(e);try{for(a.s();!(t=a.n()).done;){if(!t.value.selected)return!1}}catch(n){a.e(n)}finally{a.f()}return!0},n.getMarkedItems=function(){var e=ce("marked"),t={id:n.props.id,type:n.props.type,subject:n.props.string};e&&((e=JSON.parse(e)).unshift(t),n.setState({data:e}))},n.state={data:[],allSelected:!1},n.handleTHeadCheckboxSelection=n.handleTHeadCheckboxSelection.bind(Object(l.a)(n)),n.handleRowSelection=n.handleRowSelection.bind(Object(l.a)(n)),n.handleCheckboxSelection=n.handleCheckboxSelection.bind(Object(l.a)(n)),n.getMarkedItems=n.getMarkedItems.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.mounted=!0,this.getMarkedItems()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this,t=[{Header:function(t){return r.a.createElement("div",null,r.a.createElement("div",{className:"mark-checkbox"},r.a.createElement("i",{className:"fa fa".concat(e.state.allSelected?"-check":"","-square-o"),"aria-hidden":"true"})))},id:"selected",accessor:function(e){return e.selected},Cell:function(e){return r.a.createElement("div",null,r.a.createElement("div",{className:"mark-checkbox"},r.a.createElement("i",{className:"fa fa".concat(e.row.selected?"-check":"","-square-o"),"aria-hidden":"true"})))},maxWidth:100,filterable:!1},{Header:"Type",accessor:"type",maxWidth:150,sortable:!0},{Header:"ID",accessor:"id",maxWidth:100,sortable:!0},{Header:"Subject",accessor:"subject",maxWidth:"100%",sortable:!0}];return r.a.createElement(q.a,{dialogClassName:"mark-modal",show:this.props.modalActive,onHide:this.props.markModalToggle},r.a.createElement(q.a.Header,{closeButton:!0},r.a.createElement(q.a.Title,null,"Marked Objects")),r.a.createElement(q.a.Body,null,this.state.data.length>0?r.a.createElement(Kt.a,{columns:t,data:this.state.data,defaultPageSize:10,getTdProps:this.handleCheckboxSelection,getTheadThProps:this.handleTHeadCheckboxSelection,getTrProps:this.handleRowSelection,minRows:0,noDataText:"No items marked.",style:{maxHeight:"60vh"},filterable:!0}):r.a.createElement("h3",null,"No marked items detected.")),r.a.createElement(q.a.Footer,null,r.a.createElement(bi,{data:this.state.data,id:this.props.id,type:this.props.type,getMarkedItems:this.getMarkedItems,errorToggle:this.props.errorToggle})))}}]),a}(n.Component),bi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).deleteCallback=function(e){!0===e&&n.RemoveSelected(),n.setState({pendingDelete:!1})},n.LinkContextChange=function(e){n.setState({linkContextString:e.target.value})},n.ExpandLinkToggle=function(e){if(!0===e||!1===e)n.setState({linkPanel:e,linkContextString:""});else{var t=!n.state.linkPanel;n.setState({linkPanel:t,linkContextString:""})}},n.RemoveSelected=function(){var e,t=Object(w.a)(n.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&Ja(a.type,a.id)}}catch(r){t.e(r)}finally{t.f()}n.props.getMarkedItems(),n.state.actionSuccess&&n.setState({actionSuccess:!1})},n.StartDelete=function(){n.setState({pendingDelete:!0})},n.MoveEntry=function(){var e,t=Object(w.a)(n.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&"entry"===a.type&&n.EntryAjax(a.id,!0)}}catch(r){t.e(r)}finally{t.f()}},n.CopyEntry=function(){var e,t=Object(w.a)(n.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&"entry"===a.type&&n.EntryAjax(a.id,!1)}}catch(r){t.e(r)}finally{t.f()}},n.Link=function(){var e,t=Object(w.a)(n.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;if(a.selected){var r=[],i={},s={};i.id=parseInt(a.id),i.type=a.type,s.id=parseInt(n.props.id),s.type=n.props.type,r.push(i),r.push(s),n.LinkAjax(r)}}}catch(o){t.e(o)}finally{t.f()}},n.Reparse=function(){n.setState({reparseButton:fi.LOADING}),X.a.when.apply(X.a,Object(T.a)(n.props.data.filter((function(e){return e.selected})).map((function(e){return n.ReparseAjax(e)})))).then((function(){n.setState({reparseButton:fi.SUCCESS})}),(function(e){console.error(e),n.setState({reparseButton:fi.ERROR}),n.props.errorToggle("error reparsing",e)})).always((function(){setTimeout((function(){n.setState({reparseButton:fi.READY})}),2e3)}))},n.ReparseAjax=function(e){return X.a.ajax({type:"put",url:"/scot/api/v2/"+e.type+"/"+e.id,data:JSON.stringify({parsed:0}),contentType:"application/json; charset=UTF-8"})},n.Promote=function(){n.setState({promoteButton:fi.LOADING});var e=!0;X.a.when.apply(X.a,Object(T.a)(n.props.data.filter((function(e){return e.selected})).map((function(e){return n.PromoteAjax(e)})))).then((function(){n.setState({promoteButton:fi.SUCCESS})}),(function(t){e=!1,console.error(t),n.setState({promoteButton:fi.ERROR}),n.props.errorToggle("error adding alerts to event",t)})).always((function(){setTimeout((function(){n.setState({promoteButton:fi.READY}),e&&window.location.reload()}),2e3)}))},n.PromoteAjax=function(e){return X.a.ajax({type:"put",url:"/scot/api/v2/alert/"+e.id,data:JSON.stringify({promote:parseInt(n.props.id)}),contentType:"application/json; charset=UTF-8"})},n.LinkAjax=function(e){var t={weight:1};t.vertices=e,n.state.linkContextString&&(t.context=n.state.linkContextString),X.a.ajax({type:"post",url:"/scot/api/v2/link",data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){console.log("successfully linked"),this.ExpandLinkToggle(!1),this.ToggleActionSuccess(!0)}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("failed to link",e)}.bind(Object(l.a)(n))})},n.EntryAjax=function(e,t){X.a.ajax({type:"get",url:"/scot/api/v2/entry/"+e,success:function(a){var n;n={parent:0,body:a.body,target_id:parseInt(this.props.id),target_type:this.props.type},X.a.ajax({type:"post",url:"/scot/api/v2/entry",data:JSON.stringify(n),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(a){t?(this.RemoveEntryAfterMove(e),this.RemoveSelected()):this.state.actionSuccess||this.ToggleActionSuccess(!0)}.bind(this),error:function(e){this.props.errorToggle("failed to create new entry",e)}.bind(this)})}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("failed to get entry data",e)}.bind(Object(l.a)(n))})},n.RemoveEntryAfterMove=function(e){X.a.ajax({type:"delete",url:"/scot/api/v2/entry/"+e,success:function(e){console.log("removed original entry")},error:function(e){this.props.errorToggle("Failed to remove original entry",e)}})},n.ToggleActionSuccess=function(e){if(!0===e||!1===e)n.setState({actionSuccess:e});else{var t=!n.state.actionSuccess;n.setState({actionSuccess:t})}},n.state={entry:!1,thing:!1,actionSuccess:!1,linkContextString:null,linkPanel:!1,pendingDelete:!1,reparseButton:fi.READY,deleteButton:fi.READY,promoteButton:fi.READY},n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e,t=!1,a=!1,n=!0,i=0,s=Object(w.a)(this.props.data);try{for(s.s();!(e=s.n()).done;){var o=e.value;o.type&&o.selected&&(i++,"entry"===o.type?t=!0:a=!0,"alert"!==o.type&&(n=!1))}}catch(g){s.e(g)}finally{s.f()}var l=0!==i&&n&&"event"===this.props.type,c=this.state,d=c.reparseButton,p=c.deleteButton,u=c.promoteButton,h=c.pendingDelete,m=null;return h&&(m=this.props.data.filter((function(e){return e.selected})).map((function(e){return{type:e.type,id:e.id}}))),r.a.createElement("div",null,this.state.actionSuccess?r.a.createElement("div",null,r.a.createElement(W.a,{bsStyle:"success",onClick:this.RemoveSelected},"Action Successful! Remove Mark?"),r.a.createElement(W.a,{onClick:this.ToggleActionSuccess},"Keep Marked")):r.a.createElement("div",{style:{display:"grid"}},r.a.createElement("div",null,a||t?r.a.createElement("h4",{style:{float:"left"}},"Actions"):r.a.createElement("div",null," ",this.props.data.length>0?r.a.createElement("h4",{style:{float:"left"}},"Select a Marked Object"):null," "),r.a.createElement(Qt.a,{style:{float:"right"}},t&&!a&&"alertgroup"!==this.props.type?r.a.createElement(W.a,{onClick:this.MoveEntry},"Move to ",this.props.type," ",this.props.id):null,t&&!a&&"alertgroup"!==this.props.type?r.a.createElement(W.a,{onClick:this.CopyEntry},"Copy to ",this.props.type," ",this.props.id):null,a||t?r.a.createElement(W.a,{onClick:this.ExpandLinkToggle},"Link to ",this.props.type," ",this.props.id):null,l&&r.a.createElement(W.a,{bsStyle:u.style,onClick:this.Promote,disabled:u.disabled},u.text?u.text:"Add to ".concat(this.props.type," ").concat(this.props.id)),(a||t)&&r.a.createElement(W.a,{bsStyle:d.style,onClick:this.Reparse,disabled:d.disabled},d.text?d.text:"Reparse Flair"),(a||t)&&r.a.createElement(W.a,{bsStyle:"warning",onClick:this.RemoveSelected},"Unmark"),(a||t)&&r.a.createElement(W.a,{bsStyle:"danger",onClick:this.StartDelete,disabled:p.disabled},p.text?p.text:"Delete"))),this.state.linkPanel&&(a||t)?r.a.createElement(B.a,{collapsible:!0,expanded:this.state.linkPanel},r.a.createElement(yi.a,{horizontal:!0},r.a.createElement(D.a,{sm:2},"Provide context to this link:"),r.a.createElement(D.a,{sm:9},r.a.createElement(Vr.a,{type:"text",value:this.state.linkContextString,placeholder:"optional",onChange:this.LinkContextChange})),r.a.createElement(D.a,{sm:1},r.a.createElement(W.a,{onClick:this.Link,bsStyle:"success"},"Submit")))):null,h&&r.a.createElement(bn,{things:m,errorToggle:this.props.errorToggle,callback:this.deleteCallback})))}}]),a}(n.Component);bi.defaultProps={data:{}},vi.defaultProps={modalActive:!0};var Ei,ki,wi,Si,Ti,Ci=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).onBlur=function(e){var t=e.target.value;if(""!==t){var a=t.split(/[ ,]+/);n.setState({emailField:a})}},n.getData=function(){X.a.ajax({type:"get",url:"/scot/api/v2/prepexport/"+n.props.type+"/"+n.props.id,success:function(e){this.setState({data:e}),this.setState({leaveCatch:!1,showEditor:!0})}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("Failed to get export data from server!",e)}.bind(Object(l.a)(n))})},n.exportResponse=function(e){"success"===e&&n.setState({showEditor:!1,responseSuccess:!0})},n.state={showEditor:!1,data:null,responseSuccess:!1,emailField:[]},n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.getData()}},{key:"render",value:function(){var e=!1;return this.state.responseSuccess&&(e=!0),r.a.createElement("div",null,r.a.createElement(q.a,{dialogClassName:"links-modal",show:!0,onHide:this.props.exportToggle},r.a.createElement(q.a.Header,{closeButton:!0},r.a.createElement(q.a.Title,null,"Export ",this.props.type," ",this.props.id)),r.a.createElement(q.a.Body,null,r.a.createElement("div",null,r.a.createElement("label",{htmlFor:"exampleInputEmail1"},"Email addresses"),r.a.createElement("input",{type:"email",className:"form-control",id:"email","aria-describedby":"emailHelp",onBlur:this.onBlur,placeholder:"Enter emails (comma-separated)",disabled:e})),r.a.createElement("br",null),this.state.showEditor?r.a.createElement(or,{entryAction:"Export",exportResponse:this.exportResponse,type:this.props.type,targetid:this.props.id,id:"add_entry",recipients:this.state.emailField,addedentry:this.props.exportToggle,content:this.state.data,errorToggle:this.props.errorToggle}):null,!this.state.showEditor&&this.state.responseSuccess?r.a.createElement(xi,null):null,this.state.showEditor||this.state.responseSuccess?null:r.a.createElement("i",{className:"fa fa-spinner fa-spin fa-2x","aria-hidden":"true"}))))}}]),a}(r.a.Component),xi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){return Object(o.a)(this,a),t.apply(this,arguments)}return Object(C.a)(a,[{key:"render",value:function(){return r.a.createElement("div",null,r.a.createElement("i",{className:"fa fa-check","aria-hidden":"true",style:{color:"green"}})," ","Export Successful!")}}]),a}(n.Component),ji={content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)"}},Oi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).state={showAllPromotedDataToolbar:!1},n.showAllPromotedDataToggle=n.showAllPromotedDataToggle.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"showAllPromotedDataToggle",value:function(){!1===this.state.showAllPromotedDataToolbar?this.setState({showAllPromotedDataToolbar:!0}):this.setState({showAllPromotedDataToolbar:!1})}},{key:"render",value:function(){var e=null,t=[],a=[],n=3;"event"===this.props.type?e="alert":"incident"===this.props.type&&(e="event");for(var i=0;i0&&t.push(r.a.createElement("span",null," , "));var s="/"+e+"/"+this.props.data[i];t.push(r.a.createElement("span",{key:this.props.data[i]},r.a.createElement(Ne.Link,{to:s},this.props.data[i])))}this.props.data.length<3&&(n=this.props.data.length);for(var o=0;o0&&a.push(r.a.createElement("div",null," , "));var l="/"+e+"/"+this.props.data[o];a.push(r.a.createElement("div",{key:this.props.data[o]},r.a.createElement(Ne.Link,{to:l},this.props.data[o])))}return this.props.data.length>3&&a.push(r.a.createElement("div",{onClick:this.showAllPromotedDataToggle},",",r.a.createElement("a",{href:"javascript:;"},"...more"))),r.a.createElement("td",null,r.a.createElement("span",{id:"promoted_from",style:{display:"flex"}},a),this.state.showAllPromotedDataToolbar?r.a.createElement(hn.a,{isOpen:!0,onRequestClose:this.showAllPromotedDataToggle,style:ji},r.a.createElement("div",{className:"modal-header"},r.a.createElement("img",{src:"images/close_toolbar.png",className:"close_toolbar",alt:"",onClick:this.showAllPromotedDataToggle}),r.a.createElement("h3",{id:"myModalLabel"},"Promoted From")),r.a.createElement("div",{className:"modal-body promoted-from-full"},t),r.a.createElement("div",{className:"modal-footer"},r.a.createElement(W.a,{id:"cancel-modal",onClick:this.showAllPromotedDataToggle},"Close"))):null)}}]),a}(n.Component),Di=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).updated=function(e,t){n.setState({refreshing:!0,eventLoaded:!1,entryLoaded:!1,entityLoaded:!1});var a="entry";"alertgroup"==n.props.type&&(a="alert"),X.a.ajax({type:"get",url:"scot/api/v2/"+n.props.type+"/"+n.props.id,success:function(e){if(this.state.isMounted){var t=e;this.setState({headerData:t,showEventData:!0,eventLoaded:!0,isNotFound:!1,tagData:t.tag,sourceData:t.source}),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1}),"alertgroup"==this.props.type&&-1===t.parsed?this.setState({flairing:!0}):this.setState({flairing:!1})}}.bind(Object(l.a)(n)),error:function(e){this.setState({showEventData:!0,eventLoaded:!0,isNotFound:!0}),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1}),this.props.errorToggle("Error: Failed to reload detail data. Error message: "+e.responseText,e)}.bind(Object(l.a)(n))}),X.a.ajax({type:"get",url:"scot/api/v2/"+n.props.type+"/"+n.props.id+"/"+a,success:function(e){if(this.state.isMounted){var t=e.records;this.setState({showEntryData:!0,entryLoaded:!0,entryData:t,runWatcher:!0}),this.Watcher(),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1})}}.bind(Object(l.a)(n)),error:function(e){this.setState({showEntryData:!0,entryLoaded:!0}),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1}),this.props.errorToggle("Error: Failed to reload entry data. Error message: "+e.responseText,e)}}),X.a.ajax({type:"get",url:"scot/api/v2/"+n.props.type+"/"+n.props.id+"/entity",success:function(e){if(this.state.isMounted){var t=e.records;this.setState({showEntityData:!0,entityLoaded:!0,entityData:t});var a={waitEntry:function(){0==this.state.entryLoaded?setTimeout(a.waitEntry,50):(setTimeout(function(){hi.entityUpdate(t,this.flairToolbarToggle,this.props.type,this.linkWarningToggle,this.props.id)}.bind(this)),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1}))}.bind(this)};a.waitEntry()}}.bind(Object(l.a)(n)),error:function(e){this.setState({showEntityData:!0}),1==this.state.eventLoaded&&1==this.state.entryLoaded&&1==this.state.entityLoaded&&this.setState({refreshing:!1}),this.props.errorToggle("Error: Failed to reload entity data.",e)}.bind(Object(l.a)(n))}),void 0!=e&&void 0!=t&&n.props.errorToggle(t)},n.flairToolbarToggle=function(e,t,a,r,i){n.setState({flairToolbar:!0,entityid:e,entityvalue:t,entitytype:a,entityoffset:r,entityobj:i})},n.flairToolbarOff=function(){if(n.state.isMounted){var e=n.state.entityDetailKey+1;n.setState({flairToolbar:!1,entityDetailKey:e})}},n.linkWarningToggle=function(e){!1===n.state.linkWarningToolbar?n.setState({linkWarningToolbar:!0,link:e}):n.setState({linkWarningToolbar:!1})},n.exportToggle=function(){!1===n.state.exportModal?n.setState({exportModal:!0}):n.setState({exportModal:!1})},n.viewedbyfunc=function(e){var t=[];if(null!==e)for(var a in e.view_history)t.push(a);return t},n.entryToggle=function(){!1===n.state.entryToolbar?n.setState({entryToolbar:!0}):n.setState({entryToolbar:!1})},n.deleteToggle=function(e,t){!1===n.state.deleteToolbar?n.setState({deleteToolbar:!0,deleteType:e}):n.setState({deleteToolbar:!1,deleteType:e}),t&&n.setState({isDeleted:!0})},n.changeHistoryToggle=function(){!1===n.state.changeHistoryToolbar?n.setState({changeHistoryToolbar:!0}):n.setState({changeHistoryToolbar:!1})},n.viewedByHistoryToggle=function(){!1===n.state.viewedByHistoryToolbar?n.setState({viewedByHistoryToolbar:!0}):n.setState({viewedByHistoryToolbar:!1})},n.permissionsToggle=function(){!1===n.state.permissionsToolbar?n.setState({permissionsToolbar:!0}):n.setState({permissionsToolbar:!1})},n.entitiesToggle=function(){!1===n.state.entitiesToolbar?n.setState({entitiesToolbar:!0}):n.setState({entitiesToolbar:!1,entryEntityData:null})},n.promoteToggle=function(){!1===n.state.promoteToolbar?n.setState({promoteToolbar:!0}):n.setState({promoteToolbar:!1})},n.fileUploadToggle=function(){!1===n.state.fileUploadToolbar?n.setState({fileUploadToolbar:!0}):n.setState({fileUploadToolbar:!1})},n.titleCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},n.Watcher=function(){X()("iframe").each(function(e,t){t.contentWindow.requestAnimationFrame(function(){if(null!==t.contentDocument){var e=[];e.push(this.checkFlairHover),e.push(this.checkHighlight),X()(t).off("mouseenter"),X()(t).off("mouseleave"),X()(t).on("mouseenter",function(e,a){var n=setInterval(this[0],50,t),r=setInterval(this[1],50,t);X()(t).data("intervalID",n),X()(t).data("intervalID1",r),console.log("Now watching iframe "+n)}.bind(e)),X()(t).on("mouseleave",(function(){var e=X()(t).data("intervalID"),a=X()(t).data("intervalID1");window.clearInterval(e),window.clearInterval(a),console.log("No longer watching iframe "+e)}))}}.bind(this))}.bind(Object(l.a)(n))),"alertgroup"==n.props.type&&X()("#detail-container").find("a, .entity").not(".not_selectable").each(function(e,t){X()(t).off("mousedown"),X()(t).on("mousedown",function(e){var t=e.target;if("extras"==X()(t)[0].className&&(t=X()(t)[0].parentNode),X()(t).attr("url")){var a=X()(t).attr("url");this.linkWarningToggle(a)}else{var n=X()(t).attr("data-entity-id"),r=X()(t).attr("data-entity-value"),i=X()(t).offset(),s=X()(t);this.flairToolbarToggle(n,r,"entity",i,s)}}.bind(this))}.bind(Object(l.a)(n)))},n.checkHighlight=function(e){var t;if(null!==e.contentWindow){if(t=e.contentWindow.getSelection().toString(),n.state.highlightedText==t)return;n.setState({highlightedText:t})}},n.checkFlairHover=function(e,t){null!=e.contentDocument&&(X()(e).contents().find(".entity").each(function(t,a){if("rgb(255, 0, 0)"==X()(a).css("background-color"))X()(a).data("state","down");else if("down"==X()(a).data("state")){X()(a).data("state","up");var n=X()(a).attr("data-entity-id"),r=X()(a).attr("data-entity-value"),i=X()(a),s=e,o={top:X()(a).offset().top+X()(s).offset().top,left:X()(a).offset().left+X()(s).offset().left};this.flairToolbarToggle(n,r,"entity",o,i)}}.bind(Object(l.a)(n))),X()(e).contents().find("a").each(function(e,t){if("rgb(255, 0, 0)"==X()(t).css("color"))X()(t).data("state","down");else if("down"==X()(t).data("state")){X()(t).data("state","up");var a=X()(t).attr("url");this.linkWarningToggle(a)}}.bind(Object(l.a)(n))))},n.summaryUpdate=function(){n.forceUpdate()},n.scrollTo=function(){void 0!==n.props.taskid&&X()(".entry-wrapper").scrollTop(X()(".entry-wrapper").scrollTop()+X()("#iframe_"+n.props.taskid).position().top-30)},n.guideRedirectToAlertListWithFilter=function(){RegExp.escape=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},n.props.handleFilter(null,null,!0,"alertgroup"),n.props.handleFilter([{id:"subject",value:RegExp.escape(n.state.headerData.data.applies_to[0])}],null,!1,"alertgroup"),window.open("#/alertgroup/")},n.setEntryEntities=function(e){n.entitiesToggle(),n.setState({entryEntityData:e})},n.showSignatureOptionsToggle=function(){!1===n.state.showSignatureOptions?n.setState({showSignatureOptions:!0}):n.setState({showSignatureOptions:!1})},n.markModalToggle=function(){!1===n.state.showMarkModal?n.setState({showMarkModal:!0}):n.setState({showMarkModal:!1})},n.ToggleProcessingMessage=function(e){n.setState({processing:e}),n.props.togglePreventClick()},n.linksModalToggle=function(){var e=!n.state.showLinksModal;n.setState({showLinksModal:e})},n.toggleFlair=function(){n.state.flairOff?(n.setState({flairOff:!1,runWatcher:!0}),setTimeout(function(){hi.entityUpdate(this.state.entityData,this.flairToolbarToggle,this.props.type,this.linkWarningToggle,this.props.id)}.bind(Object(l.a)(n)))):n.setState({flairOff:!0})},n.handleSelection=function(e){console.log("Got selection click!"),n.setState({alertsSelected:[e]})},n.handleMultiSelection=function(e){if(n.checkSelection(e.id))n.setState({alertsSelected:n.state.alertsSelected.filter((function(t){return t.id!==e.id}))});else{var t=[].concat(Object(T.a)(n.state.alertsSelected),[e]);n.setState({alertsSelected:t})}},n.handleSelectAll=function(e){var t=e.map((function(e){return e.id}));n.setState({alertsSelected:t})},n.handleShiftSelect=function(e,t,a){e>t&&(e=[t,t=e][0]);var r=[];a.forEach(function(a){a.id<=t&&a.id>=e&&(this.checkSelection(a)||r.push(a))}.bind(Object(l.a)(n))),n.setState({alertsSelected:[].concat(Object(T.a)(n.state.alertsSelected),r)})};var r=Math.floor(1e3*Math.random());return n.state={showEventData:!1,headerData:{},sourceData:"",tagData:"",permissionsToolbar:!1,entitiesToolbar:!1,changeHistoryToolbar:!1,viewedByHistoryToolbar:!1,entryToolbar:!1,deleteToolbar:!1,deleteType:null,promoteToolbar:!1,notificationType:null,notificationMessage:null,key:n.props.id,showEntryData:!1,entryData:"",showEntityData:!1,entityData:[],entryEntityData:null,entityid:null,entitytype:null,entityoffset:null,entityobj:null,flairToolbar:!1,linkWarningToolbar:!1,exportModal:!1,refreshing:!1,loading:!1,eventLoaded:!1,entryLoaded:!1,entityLoaded:!1,guideID:null,fileUploadToolbar:!1,isNotFound:!1,runWatcher:!1,entityDetailKey:r,processing:!1,showSignatureOptions:!1,showMarkModal:!1,showLinksModal:!1,flairOff:!1,highlightedText:"",flairing:!1,isMounted:!1,alertsSelected:[],isDeleted:!1},n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.setState({loading:!0})}},{key:"componentDidMount",value:function(){this.setState({isMounted:!0});var e={delay:function(){var e="entry";"alertgroup"===this.props.type&&(e="alert"),X.a.ajax({type:"get",url:"scot/api/v2/"+this.props.type+"/"+this.props.id,success:function(e){if(this.state.isMounted){var t=e;this.setState({headerData:t,showEventData:!0,isNotFound:!1,tagData:t.tag,sourceData:t.source}),!0===this.state.showEventData&&!0===this.state.showEntryData&&!0===this.state.showEntityData&&this.setState({loading:!1}),"alertgroup"===this.props.type&&-1===t.parsed?this.setState({flairing:!0}):this.setState({flairing:!1})}}.bind(this),error:function(e){this.setState({showEventData:!0,isNotFound:!0}),!0===this.state.showEventData&&!0===this.state.showEntryData&&!0===this.state.showEntityData&&this.setState({loading:!1}),this.props.errorToggle("Error: Failed to load detail data. Error message: "+e.responseText,e)}.bind(this)}),X.a.ajax({type:"get",url:"scot/api/v2/"+this.props.type+"/"+this.props.id+"/"+e,success:function(e){if(this.state.isMounted){var t=e.records;this.setState({showEntryData:!0,entryData:t,runWatcher:!0}),this.Watcher(),!0===this.state.showEventData&&!0===this.state.showEntryData&&!0===this.state.showEntityData&&this.setState({loading:!1})}}.bind(this),error:function(e){this.setState({showEntryData:!0}),1==this.state.showEventData&&1==this.state.showEntryData&&1==this.state.showEntityData&&this.setState({loading:!1}),this.props.errorToggle("Error: Failed to load entry data. Error message: "+e.responseText,e)}}),X.a.ajax({type:"get",url:"scot/api/v2/"+this.props.type+"/"+this.props.id+"/entity",success:function(e){if(this.state.isMounted){var t=e.records;this.setState({showEntityData:!0,entityData:t});var a={waitEntry:function(){0==this.state.showEntryData?setTimeout(a.waitEntry,50):(setTimeout(function(){hi.entityUpdate(t,this.flairToolbarToggle,this.props.type,this.linkWarningToggle,this.props.id,this.scrollTo)}.bind(this)),1==this.state.showEventData&&1==this.state.showEntryData&&1==this.state.showEntityData&&this.setState({loading:!1}))}.bind(this)};a.waitEntry()}}.bind(this),error:function(e){this.setState({showEntityData:!0}),1==this.state.showEventData&&1==this.state.showEntryData&&1==this.state.showEntityData&&this.setState({loading:!1}),this.props.errorToggle("Error: Failed to load entity data.",e)}.bind(this)}),"alertgroup"==this.props.type&&X.a.ajax({type:"get",url:"scot/api/v2/"+this.props.type+"/"+this.props.id+"/guide",success:function(e){if(this.state.isMounted){for(var t=[],a=0;a0?r.a.createElement("th",null,"Promoted From:"):null,("event"===a||"incident"===a)&&this.state.showEventData&&this.state.headerData.promoted_from.length>0?r.a.createElement(Oi,{data:this.state.headerData.promoted_from,type:a,id:i}):null,"entity"!==a&&this.state.showEventData?r.a.createElement(oi,{data:this.state.tagData,id:i,type:a,updated:this.updated,errorToggle:this.props.errorToggle,badgeType:"tag"}):null,"entity"!==a&&this.state.showEventData?r.a.createElement(oi,{data:this.state.sourceData,id:i,type:a,updated:this.updated,errorToggle:this.props.errorToggle,badgeType:"source"}):null)))):null),r.a.createElement(pi.a,{ref:"notificationSystem"}),this.state.exportModal?r.a.createElement(Ci,{type:a,errorToggle:this.props.errorToggle,exportToggle:this.exportToggle,id:i}):null,this.state.linkWarningToolbar?r.a.createElement(Ar,{linkWarningToggle:this.linkWarningToggle,link:this.state.link}):null,this.state.viewedByHistoryToolbar?r.a.createElement(Un,{viewedByHistoryToggle:this.viewedByHistoryToggle,id:i,type:a,subjectType:n,viewedby:t,errorToggle:this.props.errorToggle}):null,this.state.changeHistoryToolbar?r.a.createElement(Pn,{changeHistoryToggle:this.changeHistoryToggle,id:i,type:a,subjectType:n,errorToggle:this.props.errorToggle}):null,this.state.entitiesToolbar?r.a.createElement("span",null,null!==this.state.entryEntityData?r.a.createElement(Nn,{entitiesToggle:this.entitiesToggle,entityData:this.state.entryEntityData,flairToolbarToggle:this.flairToolbarToggle,flairToolbarOff:this.flairToolbarOff}):r.a.createElement(Nn,{entitiesToggle:this.entitiesToggle,entityData:this.state.entityData,flairToolbarToggle:this.flairToolbarToggle,flairToolbarOff:this.flairToolbarOff})):null,this.state.deleteToolbar?r.a.createElement("div",null,"alert"!==this.state.deleteType?r.a.createElement(En,{deleteType:this.state.deleteType,subjectType:n,id:i,deleteToggle:this.deleteToggle,updated:this.updated,errorToggle:this.props.errorToggle,history:this.props.history,removeCallback:this.props.removeCallback}):r.a.createElement(En,{deleteType:this.state.deleteType,type:a,deleteToggle:this.deleteToggle,updated:this.updated,errorToggle:this.props.errorToggle,history:this.props.history,alertsSelected:this.state.alertsSelected,removeCallback:this.props.removeCallback})):null,this.state.showMarkModal?r.a.createElement(vi,{modalActive:!0,type:a,id:i,string:s,errorToggle:this.props.errorToggle,markModalToggle:this.markModalToggle}):null,this.state.showLinksModal?r.a.createElement(mi,{modalActive:!0,type:a,id:i,errorToggle:this.props.errorToggle,linksModalToggle:this.linksModalToggle}):null,this.state.showEventData?r.a.createElement(pn,{type:a,subjectType:n,id:i,entryData:this.state.entryData,headerData:this.state.headerData,status:this.state.headerData.status,promoteToggle:this.promoteToggle,permissionsToggle:this.permissionsToggle,entryToggle:this.entryToggle,entitiesToggle:this.entitiesToggle,changeHistoryToggle:this.changeHistoryToggle,viewedByHistoryToggle:this.viewedByHistoryToggle,exportToggle:this.exportToggle,deleteToggle:this.deleteToggle,updated:this.updated,flairToolbarToggle:this.flairToolbarToggle,flairToolbarOff:this.flairToolbarOff,sourceToggle:this.sourceToggle,subjectName:this.state.headerData.subject,fileUploadToggle:this.fileUploadToggle,fileUploadToolbar:this.state.fileUploadToolbar,guideRedirectToAlertListWithFilter:this.guideRedirectToAlertListWithFilter,showSignatureOptionsToggle:this.showSignatureOptionsToggle,markModalToggle:this.markModalToggle,linksModalToggle:this.linksModalToggle,ToggleProcessingMessage:this.ToggleProcessingMessage,errorToggle:this.props.errorToggle,toggleFlair:this.toggleFlair,alertsSelected:this.state.alertsSelected,guideID:this.state.guideID}):null,this.state.permissionsToolbar?r.a.createElement(Vn,{updateid:i,id:i,type:a,permissionData:this.state.headerData,permissionsToggle:this.permissionsToggle,updated:this.updated,errorToggle:this.props.errorToggle}):null),this.state.showEventData&&"entity"!==a?r.a.createElement(Zr,{id:i,type:a,entryToggle:this.entryToggle,updated:this.updated,entryData:this.state.entryData,headerData:this.state.headerData,showEntryData:this.state.showEntryData,showEntityData:this.state.showEntityData,summaryUpdate:this.summaryUpdate,flairToolbarToggle:this.flairToolbarToggle,flairToolbarOff:this.flairToolbarOff,linkWarningToggle:this.linkWarningToggle,entryToolbar:this.state.entryToolbar,alertPreSelectedId:this.props.alertPreSelectedId,errorToggle:this.props.errorToggle,fileUploadToggle:this.fileUploadToggle,fileUploadToolbar:this.state.fileUploadToolbar,showSignatureOptions:this.state.showSignatureOptions,flairOff:this.state.flairOff,highlightedText:this.state.highlightedText,form:this.props.form,createCallback:this.props.createCallback,removeCallback:this.props.removeCallback,addFlair:hi.entityUpdate,handleSelection:this.handleSelection,handleShiftSelect:this.handleShiftSelect,handleMultiSelection:this.handleMultiSelection,handleSelectAll:this.handleSelectAll,alertsSelected:this.state.alertsSelected,setEntryEntities:this.setEntryEntities}):null,this.state.showEventData&&"entity"===a?r.a.createElement(hr,{entityid:i,form:this.props.form,entitytype:"entity",id:i,type:"entity",fullScreen:!0,errorToggle:this.props.errorToggle,linkWarningToggle:this.linkWarningToggle,createCallback:this.props.createCallback,removeCallback:this.props.removeCallback,addFlair:hi.entityUpdate}):null,this.state.flairToolbar?r.a.createElement(hr,{key:this.state.entityDetailKey,form:this.props.form,flairToolbarToggle:this.flairToolbarToggle,flairToolbarOff:this.flairToolbarOff,linkWarningToggle:this.linkWarningToggle,entityid:parseInt(this.state.entityid,10),data:this.state.headerData,entityvalue:this.state.entityvalue,entitytype:this.state.entitytype,type:this.props.type,id:this.props.id,errorToggle:this.props.errorToggle,entityoffset:this.state.entityoffset,watcher:this.Watcher,entityobj:this.state.entityobj,createCallback:this.props.createCallback,removeCallback:this.props.removeCallback,addFlair:hi.entityUpdate}):null))}}]),a}(r.a.Component),Ni=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){return Object(o.a)(this,a),t.apply(this,arguments)}return Object(C.a)(a,[{key:"render",value:function(){var e=this.props.data;return r.a.createElement("div",null,r.a.createElement(Ra.a,{value:1e3*e,format:"MM/DD/YY hh:mm:ss a"}))}}]),a}(r.a.Component),_i=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;Object(o.a)(this,a),(n=t.call(this,e)).handleChange=function(e){if(null!==e){var t=n.state.keyName,a=Object(ze.a)({},t,e.target.value),r=e.target.value;X.a.ajax({type:"put",url:"scot/api/v2/"+n.props.type+"/"+n.props.id,data:JSON.stringify(a),contentType:"application/json; charset=UTF-8",success:function(e){console.log("success: "+e),this.setState({value:r}),this.calculateWidth(r)}.bind(Object(l.a)(n)),error:function(e){this.props.errorToggle("error: Failed to update the subject/name",e)}.bind(Object(l.a)(n))})}},n.onChange=function(e){n.setState({value:e.target.value})},n.handleEnterKey=function(e){"Enter"===e.key&&n.handleChange(e)},n.calculateWidth=function(e){var t;X()("#invisible").html(X()("").text(e)),t=X()("#invisible").width()+25+"px",n.setState({width:t})},n.componentWillReceiveProps=function(e){var t=e.data.subject;"signature"===e.type?t=e.data.name:"entity"===e.type&&(t=e.data.value),n.setState({value:t}),n.calculateWidth(t)};var r="subject",i=n.props.data.subject;return"signature"===n.props.type?(r="name",i=n.props.data.name):"entity"===n.props.type&&(r="value",i=n.props.data.value),n.state={value:i,width:"",keyName:r},n}return Object(C.a)(a,[{key:"componentDidMount",value:function(){this.calculateWidth(this.state.value)}},{key:"render",value:function(){var e=!1;return"entity"===this.props.type&&""!==this.state.value&&(e=!0),r.a.createElement("div",null,this.props.subjectType," ",this.props.id,":"," ",r.a.createElement("input",{type:"text",value:this.state.value,onKeyPress:this.handleEnterKey,onChange:this.onChange,onBlur:this.handleChange,style:{width:this.state.width,lineHeight:"normal"},className:"detail-header-input",disabled:e}))}}]),a}(r.a.Component),Ai=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){var e;Object(o.a)(this,a);for(var n=arguments.length,i=new Array(n),s=0;s0&&(n.props.id,"landscape"===n.state.viewMode&&(e="30vh"));var o=[],c=n.props.type+":listview";n.props.createCallback(c,n.reloadactive);var d="/scot/api/v2/"+n.state.type;"alert"===n.props.type&&(d="/scot/api/v2/alertgroup");var p={limit:r,offset:i*r};if(void 0!==t||null===t){var u={};X.a.each(t,(function(e,t){var a=-1;t.desc||(a=1),u[t.id]=a})),p.sort=JSON.stringify(u)}void 0===t&&null!==t||X.a.each(a,(function(e,t){if("source"===t.id||"tag"===t.id){var a,n=[],r=Object(w.a)(t.value);try{for(r.s();!(a=r.n()).done;){var i=a.value;n.push(i.name)}}catch(o){r.e(o)}finally{r.f()}p[t.id]=JSON.stringify(n)}else if("created"===t.id||"updated"===t.id){var s=[];s.push(t.value.start),s.push(t.value.end),p[t.id]=JSON.stringify(s)}else p[t.id]=JSON.stringify(t.value)})),Ti=X.a.ajax({type:"GET",url:d,data:p,traditional:!0,success:function(t){ki=t,X.a.each(ki.records,function(e,t){o[e]={},X.a.each(t,function(t,a){if("sources"===t||"source"===t){if(void 0!==a){var n=a.join(", ");o[e].source=n}}else if("tags"===t||"tag"===t){if(void 0!==a){var r=a.join(", ");o[e].tag=r}}else o[e][t]=a;"id"===t&&(this.props.createCallback(a,this.reloadactive),s.push(a))}.bind(this)),o[e].classname=e%2===0?"table-row roweven":"table-row rowodd"}.bind(this));var a=this.getPages(t.totalRecordCount);this.setState({scrollheight:e,objectarray:o,totalCount:t.totalRecordCount,loading:!1,idsarray:s,totalPages:a}),"alert"===this.props.type&&!1===this.state.showSelectedContainer||void 0===this.state.id||null===this.state.id?this.setState({showSelectedContainer:!1}):this.setState({showSelectedContainer:!0})}.bind(Object(l.a)(n)),error:function(e){"abort"===!e.statusText&&this.props.errorToggle("failed to get list data",e)}.bind(Object(l.a)(n))}),X()("#list-view-container").keydown(n.keyNavigate),X()(document.body).keydown(function(e){X()("input").is(":focus")||X()("textarea").is(":focus")||70===e.keyCode&&!0!==e.ctrlKey&&!0!==e.metaKey&&this.toggleView()}.bind(Object(l.a)(n)))},n.componentWillUnmount=function(){document.removeEventListener("keydown",n.keyNavigate)},n.togglePreventClick=function(){n.setState({preventClick:!n.state.preventClick})},n.keyNavigate=function(e){if("click"!==e.type){if(!["j","k","ArrowUp","ArrowDown"].includes(e.key))return;var t=(e.target||e.srcElement).tagName.toLowerCase();if("input"===t||"textarea"===t)return}var a=document.querySelector(".ReactTable .rt-tbody .rt-tr.selected");if(a){var r=null;switch(e.key){case"j":case"ArrowDown":default:r=a.parentElement.nextElementSibling;break;case"k":case"ArrowUp":r=a.parentElement.previousElementSibling}if(r){var i=r.children[0].children[0].innerHTML;n.props.history.push("/".concat(n.state.type,"/").concat(i)),e.preventDefault(),e.stopPropagation()}}},n.reloadactive=function(){n.getNewData()},n.ToggleCreateEntity=function(){n.setState({showEntityCreateModal:!n.state.showEntityCreateModal})},n.render=function(){var e=!1,t=n.state.scrollheight;n.state.listViewContainerDisplay,null!=n.state.id&&null!=n.state.typeCapitalized&&(document.title=n.state.typeCapitalized.charAt(0)+"-"+n.state.id),null==jt("listViewFilter"+n.props.type)&&null==jt("listViewSort"+n.props.type)&&null==jt("listViewPage"+n.props.type)||(e=!0);var a=Ca(n.props.type,{},{},!1);return r.a.createElement("div",null,"entry"!==n.state.type?r.a.createElement("div",{key:n.state.listViewKey,className:"allComponents"},r.a.createElement("div",{className:"black-border-line"},r.a.createElement("div",{className:"mainview"},r.a.createElement("div",null,r.a.createElement("div",{className:"list-buttons"},"on"===n.props.notificationSetting?r.a.createElement(Ba.a,{eventkey:"1",onClick:n.props.notificationToggle,bsSize:"xsmall"},"Mute Notifications"):r.a.createElement(Ba.a,{eventkey:"2",onClick:n.props.notificationToggle,bsSize:"xsmall"},"Turn On Notifications"),"event"===n.props.type||"intel"===n.props.type||"incident"===n.props.type||"signature"===n.props.type||"guide"===n.props.type||"entity"===n.props.type?r.a.createElement(Ba.a,{onClick:n.createNewThing,eventkey:"6",bsSize:"xsmall"},"Create ",n.state.typeCapitalized):null,r.a.createElement(Ba.a,{eventkey:"5",bsSize:"xsmall",onClick:n.exportCSV},"Export to CSV"),r.a.createElement(Ba.a,{bsSize:"xsmall",onClick:n.toggleView},"Full Screen Toggle (f)"),e?r.a.createElement(Ba.a,{onClick:n.clearAll,eventkey:"3",bsSize:"xsmall",bsStyle:"info"},"Clear All Filters"):null),r.a.createElement("div",{id:"list-view-container",tabIndex:"1"},r.a.createElement("div",{id:"list-view",tabIndex:"2"},r.a.createElement(Kt.a,{columns:a,data:n.state.objectarray,style:{maxHeight:t},page:n.state.activepage.page,pages:n.state.totalPages,defaultPageSize:50,onPageChange:n.handlePageChange,onPageSizeChange:n.handlePageSizeChange,pageSize:n.state.activepage.limit,onFilteredChange:n.handleFilter,filtered:n.state.filter,onSortedChange:n.handleSort,sorted:n.state.sort,manual:!0,sortable:!0,filterable:!0,resizable:!0,styleName:"styles.ReactTable",className:"-striped -highlight",minRows:0,LoadingComponent:n.CustomTableLoader,loading:n.state.loading,getTrProps:n.handleRowSelection}))),r.a.createElement("div",{onMouseDown:n.dragdiv,className:"splitter",style:{display:"block",height:"10px",backgroundColor:"black",borderTop:"1px solid #AAA",borderBottom:"1px solid #AAA",cursor:"row-resize",overflow:"hidden"}}),n.state.showSelectedContainer?r.a.createElement(Ai,Object(ze.a)({key:n.state.id,id:n.state.id,type:n.state.queryType,alertPreSelectedId:n.state.alertPreSelectedId,taskid:n.state.entryid,handleFilter:n.handleFilter,errorToggle:n.props.errorToggle,history:n.props.history,togglePreventClick:n.togglePreventClick,form:n.state.form,createCallback:n.props.createCallback,removeCallback:n.props.removeCallback},"togglePreventClick",n.togglePreventClick)):null,n.state.showEntityCreateModal?r.a.createElement(Hr,{match:"",modalActive:n.state.showEntityCreateModal,ToggleCreateEntity:n.ToggleCreateEntity,errorToggle:n.props.errorToggle}):null)))):null)},n.CustomTableLoader=function(){return r.a.createElement("div",{className:"-loading"+(n.state.loading?" -active":"")},r.a.createElement(ut,{loading:n.state.loading}))},n.AutoScrollToId=function(){var e=document.querySelector(".ReactTable .rt-tbody .rt-tr.selected"),t=document.querySelector(".ReactTable .rt-tbody");e?((t.scrollTop+t.offsetHeight-e.offsetHeight0){var e=[];n.props.groups.forEach((function(t){var a={};a.id=t.name,a.text=t.name,e.push(a)})),n.setState({suggestions:e})}},n.resetState=function(){n.setState(Yi)},n.checkBlankInputs=function(e){var t=!1;return"user"===e?""!==n.state.username&&""!==n.state.fullname&&""!==n.state.password&&(t=!0):""!==n.state.name&&""!==n.state.description&&(t=!0),t},n.buildDataObj=function(e){var t={};return"user"===e?(t.username=n.state.username,t.fullname=n.state.fullname,t.password=n.state.password,t.groups=n.state.groups,t.active=n.state.active?1:0):"group"===e&&(t.name=n.state.name,t.description=n.state.description),t},n.handleGroups=function(e){var t=n.props,a=t.enqueueSnackbar,r=t.type;if(e.length>0){var i=[];e.forEach((function(e){i.push(e.id)})),n.setState({groups:i})}else a("Error handling groups ".concat(r),{variant:"error"})},n.handlePUT=function(){var e=n.props,t=e.enqueueSnackbar,a=e.type,r=n.buildDataObj(a);n.checkBlankInputs(a)&&Me.a.put("/scot/api/v2/".concat(a,"/").concat(n.state.id),r).then(function(e){t("Successfully updated ".concat(a,"."),{variant:"success"}),this.resetState(),this.props.fetchData(a),this.props.handleClose()}.bind(Object(l.a)(n))).catch((function(e){t("Failed updating ".concat(a),{variant:"error"})}))},n.handlePOST=function(){var e=n.props,t=e.enqueueSnackbar,a=e.type,r=n.buildDataObj(a);n.checkBlankInputs(a)&&Me.a.post("/scot/api/v2/".concat(a,"/"),r).then(function(e){console.log(e),t("Successfully added ".concat(a,"."),{variant:"success"}),this.resetState(),this.props.fetchData(a),this.props.handleClose()}.bind(Object(l.a)(n))).catch((function(e){t("Failed creating ".concat(a),{variant:"error"}),console.log(e)}))},n.handleChange=function(e,t){if("input"===e.nativeEvent.type){var a=e.target.value;n.setState(Object(ze.a)({},e.target.id,a))}else"click"===e.nativeEvent.type?"checkbox"===e.target.type&&n.setState(Object(ze.a)({},e.target.value,t)):n.setState(Object(ze.a)({},e.target.name,t.props.value))},n.state=Yi,n}return Object(C.a)(a,[{key:"componentDidMount",value:function(){this.formatGroups(),this.props.editObject&&("user"===this.props.type?this.setState({username:this.props.editObject.username,fullname:this.props.editObject.fullname,password:this.props.editObject.password,id:this.props.editObject.id,active:this.props.editObject.active,groups:this.props.editObject.groups}):"group"===this.props.type&&this.setState({name:this.props.editObject.name,description:this.props.editObject.description,id:this.props.editObject.id}))}},{key:"render",value:function(){var e=this.props,t=e.classes;e.onClose,e.selectedValue,e.type,Object(k.a)(e,["classes","onClose","selectedValue","type"]);return r.a.createElement("div",null,r.a.createElement(Zn.a,{className:t.card},r.a.createElement(er.a,null,this.props.editObject?r.a.createElement($n.a,{variant:"h5",component:"h2"},"Edit ",this.props.type," ",r.a.createElement("b",null,this.props.editObject.username," ")):r.a.createElement($n.a,{variant:"h5",component:"h2"},"Create ",this.props.type," "),"group"===this.props.type?r.a.createElement("div",null,r.a.createElement(zi.a,{id:"name",label:"Group Name",value:this.state.name,onChange:this.handleChange,variant:"outlined",helperText:"Enter name of group",fullWidth:!0,InputLabelProps:{shrink:!0},style:{marginTop:8,marginBottom:8}}),r.a.createElement("br",null),r.a.createElement(zi.a,{id:"description",label:"Description",value:this.state.description,onChange:this.handleChange,variant:"outlined",helperText:"Enter description for group",InputLabelProps:{shrink:!0},fullWidth:!0,style:{marginTop:8,marginBottom:8}})):r.a.createElement("div",null,r.a.createElement(zi.a,{id:"username",label:"Username",value:this.state.username,onChange:this.handleChange,variant:"outlined",helperText:"Enter a valid username",fullWidth:!0,InputLabelProps:{shrink:!0},style:{marginTop:8,marginBottom:8}}),r.a.createElement("br",null),r.a.createElement(zi.a,{id:"fullname",label:"Full Name",value:this.state.fullname,onChange:this.handleChange,variant:"outlined",helperText:"Provide your full name",fullWidth:!0,InputLabelProps:{shrink:!0},style:{marginTop:8,marginBottom:8}}),r.a.createElement("br",null),r.a.createElement(zi.a,{id:"password",label:"Password",type:"password",autoComplete:"current-password",margin:"normal",variant:"outlined",helperText:"Enter a valid password",value:this.state.password,onChange:this.handleChange,fullWidth:!0,InputLabelProps:{shrink:!0},style:{marginTop:8,marginBottom:8}}),r.a.createElement("br",null),r.a.createElement(Ki.a,{control:r.a.createElement(Gi.a,{checked:this.state.active,onChange:this.handleChange,value:"active"}),label:"Active?"}),r.a.createElement("br",null),r.a.createElement("b",null,"Groups"),r.a.createElement($i,{editObject:this.props.editObject,handleGroups:this.handleGroups,id:this.state.id,suggestions:this.state.suggestions}),r.a.createElement("br",null)),r.a.createElement("br",null)),r.a.createElement(qi.a,null,this.props.editObject?r.a.createElement("div",{style:{marginLeft:350,marginBottom:5}},r.a.createElement(sa.a,{style:{marginRight:5},variant:"contained",onClick:this.props.handleClose,className:t.button},"Cancel"),r.a.createElement(sa.a,{variant:"contained",color:"secondary",onClick:this.handlePUT,className:t.button},"Submit")):r.a.createElement("div",{style:{marginLeft:350,marginBottom:5}},r.a.createElement(sa.a,{style:{marginRight:5},variant:"contained",onClick:this.props.handleClose,className:t.button},"Cancel"),r.a.createElement(sa.a,{variant:"contained",color:"secondary",onClick:this.handlePOST,className:t.button},"Submit")))))}}]),a}(r.a.Component),Xi=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).mapUsersGroupsToTags=function(){Me.a.get("/scot/api/v2/user?id=".concat(n.props.id)).then((function(e){var t=[];e.data.totalRecordCount>0&&(e.data.records.forEach((function(e){var a={};a.id=e.name,a.text=e.name,t.push(a)})),n.setState({groups:t}))}))},n.handleDelete=function(e){var t=n.state.groups;n.setState({groups:t.filter((function(t,a){return a!==e}))})},n.handleAddition=function(e){var t=n.props.enqueueSnackbar;if(n.checkValidGroup(e.id)){var a=n.state.groups;a.push(e),n.setState({groups:a}),n.props.handleGroups(n.state.groups)}else t("Invalid group. Please add an existing group")},n.state={groups:[]},n}return Object(C.a)(a,[{key:"componentDidMount",value:function(){if(this.props.editObject){var e=[];this.props.editObject.groups.forEach((function(t){var a={};a.id=t,a.text=t,e.push(a)})),this.setState({groups:e})}}},{key:"shouldComponentUpdate",value:function(e,t){return this.state!==t&&(this.props.handleGroups(t.groups),!0)}},{key:"checkValidGroup",value:function(e){return!!this.props.suggestions.some((function(t){return t.id===e}))}},{key:"render",value:function(){var e=this.state.groups,t=this.props.suggestions;this.props.classes;return r.a.createElement("div",null,r.a.createElement(si.WithContext,{classNames:{tagInput:"tagInputClass",tagInputField:"tagInputFieldClass"},placeholder:"Add a new group",inline:!1,tags:e,suggestions:t,handleDelete:this.handleDelete,handleAddition:this.handleAddition}))}}]),a}(r.a.Component),$i=Object(pt.a)(Ji)(Xi),Zi=Object(mn.withSnackbar)(Object(pt.a)(Ji)(Qi)),es=a(994),ts=a(996),as=a(295),ns=a.n(as),rs=a(995),is=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).handleDelete=function(){var e=n.props,t=e.enqueueSnackbar,a=e.type,r=e.id,i="/scot/api/v2/".concat(a,"/").concat(r);Me.a.delete(i).then(function(){t("Successfully deleted ".concat(a,"."),{variant:"success"}),this.props.fetchData(a),this.props.handleClose()}.bind(Object(l.a)(n))).catch((function(e){console.log(e),t("Failed deleting ".concat(a,"."),{variant:"error"}),this.props.handleClose()}))},n.state={deletetext:""},n}return Object(C.a)(a,[{key:"render",value:function(){var e=this,t=this.props.classes;return r.a.createElement("div",null,r.a.createElement(Zn.a,{className:t.card},r.a.createElement(er.a,null,r.a.createElement($n.a,{variant:"h5",component:"h2"},"Are you sure you want to delete ",this.props.type," ",this.props.text,"?"),r.a.createElement("br",null),r.a.createElement("div",null,r.a.createElement(sa.a,{style:{marginLeft:5,backgroundColor:"red",color:"white"},onClick:function(){return e.handleDelete(e.props.id)},variant:"contained"},"Yes"),r.a.createElement(sa.a,{style:{marginLeft:5},onClick:this.props.handleClose,variant:"contained"},"Cancel")))))}}]),a}(r.a.Component),ss=Object(mn.withSnackbar)(Object(pt.a)((function(e){return{card:{minWidth:400,marginBottom:20}}}))(is)),os=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).edit=function(e,t){var a="/scot/api/v2/".concat(e,"?id=").concat(t);Me.a.get(a).then(function(t){this.setState({editObject:t.data.records[0],type:e,showModal:!0})}.bind(Object(l.a)(n))).catch((function(e){console.log(e)}))},n.showUserDialog=function(){n.setState({showModal:!0,type:"user"})},n.showGroupDialog=function(){n.setState({showModal:!0,type:"group"})},n.handleUserClose=function(){n.setState({showModal:!1})},n.handleClose=function(e){n.setState({showModal:!1,id:null,type:"",editObject:null})},n.handleListItemClick=function(e){n.props.onClose(e)},n.getColumns=function(e){var t=[];return"user"===e?t=[{Header:"ID",accessor:"id",width:50},{Header:"Full Name",accessor:"fullname",width:90},{Header:"Username",accessor:"username",width:70},{Header:"Active",id:"active",accessor:function(e){return r.a.createElement("center",null,(e.active,r.a.createElement("div",null,r.a.createElement(Ki.a,{control:r.a.createElement(Gi.a,{onChange:function(){return n.handleActiveToggle(e.id)},checked:e.active,value:e.active})}))))},width:80},{Header:"Edit / Delete",id:"edit",accessor:function(t){return r.a.createElement("center",null,r.a.createElement(sa.a,{size:"small",style:{marginLeft:5},onClick:function(){return n.edit(e,t.id)},variant:"contained"},"Edit"),r.a.createElement(sa.a,{size:"small",style:{marginLeft:5},onClick:function(){return n.toggleAreYouSure(t.id,e)},color:"secondary",variant:"contained"},r.a.createElement(ns.a,null)))},width:200}]:"group"===e&&(t=[{Header:"ID",accessor:"id",width:50},{Header:"Group Name",accessor:"name",width:100},{Header:"Group Description",accessor:"description",width:100},{Header:"Edit / Delete",id:"edit",accessor:function(t){return r.a.createElement("center",null,r.a.createElement(sa.a,{size:"small",style:{marginLeft:5},onClick:function(){return n.edit(e,t.id)},variant:"contained"},"Edit"),r.a.createElement(sa.a,{size:"small",style:{marginLeft:5},onClick:function(){return n.toggleAreYouSure(t.id,e)},color:"secondary",variant:"contained"},r.a.createElement(ns.a,null)))},width:200}]),t},n.setUserGroupResults=function(e,t){"user"===e?n.setState({userdata:t.records}):"group"===e&&n.setState({groupdata:t.records})},n.toggleAreYouSure=function(e,t){n.setState({areYouSure:!0,id:e,type:t})},n.handleAreYouSureClose=function(){n.setState({areYouSure:!1})},n.fetchData=function(e){Me.a.get("/scot/api/v2/".concat(e,"?limit=0")).then((function(t){var a=t.data;return n.setUserGroupResults(e,a)}))},n.handleActiveToggle=function(e){var t=n.getUserObject(e);n.setState({userdata:n.state.userdata.map((function(t){return t.id===e?Object(S.a)({},t,{active:!t.active}):t})),updateId:t.id})},n.getUserObject=function(e){return n.state.userdata.filter((function(t){return e===t.id?t:null}))[0]},n.state={userdata:[],groupdata:[],showModal:!1,editObject:null,id:null,type:"",areYouSure:!1,updateId:null},n}return Object(C.a)(a,[{key:"componentDidUpdate",value:function(e,t){var a=this.props.enqueueSnackbar;if(t.userdata!==this.state.userdata&&null!==this.state.updateId){var n=this.getUserObject(this.state.updateId);Me.a.put("/scot/api/v2/user/".concat(this.state.updateId),{active:n.active}).then(function(e){a("Successfully updated user.",{variant:"success"}),this.setState({updateId:null})}.bind(this)).catch((function(e){a("Failed updating user",{variant:"error"})}))}}},{key:"componentDidMount",value:function(){this.fetchData("user"),this.fetchData("group")}},{key:"render",value:function(){var e=this,t=this.props,a=t.classes,n=Object(k.a)(t,["classes"]),i=this.state,s=i.groupdata,o=i.userdata.length>10,l=s.length>10;return r.a.createElement("div",{className:a.root},r.a.createElement("br",null),r.a.createElement(ur.a,{className:a.paper,elevation:1},r.a.createElement($n.a,{variant:"h5",component:"h3"},"Please be advised"),r.a.createElement($n.a,{component:"p"},"In order to properly add a user, they must belong to a group. A user is added to a group at time of creatino or upon 'Edit'. Groups MUST include the string 'scot' in the name or they will be ignored by the system. You must activate a user in order to begin logging in as the user.")),r.a.createElement("br",null),r.a.createElement(Vi.a,{container:!0,spacing:8},r.a.createElement(Vi.a,{item:!0,xs:12,sm:6},r.a.createElement($n.a,{variant:"h4",gutterBottom:!0},"Users ",r.a.createElement(es.a,null)),r.a.createElement("div",{style:{display:"flex",flexDirection:"row"}},r.a.createElement($n.a,{variant:"h5",gutterBottom:!0},"Add User"),r.a.createElement(rs.a,{style:{marginLeft:5,marginBottom:10,marginTop:-6},size:"small",onClick:this.showUserDialog,color:"secondary","aria-label":"Add"},r.a.createElement(fa.a,null))),r.a.createElement(Kt.a,{data:this.state.userdata,columns:this.getColumns("user"),pageSize:this.state.userdata.length,defaultPageSize:10,showPagination:o})),r.a.createElement(Vi.a,{item:!0,xs:12,sm:6},r.a.createElement($n.a,{variant:"h4",gutterBottom:!0},"Groups ",r.a.createElement(ts.a,null)),r.a.createElement("div",{style:{display:"flex",flexDirection:"row"}},r.a.createElement($n.a,{variant:"h5",gutterBottom:!0},"Add Group"),r.a.createElement(rs.a,{style:{marginLeft:5,marginBottom:10,marginTop:-6},size:"small",onClick:this.showGroupDialog,color:"secondary","aria-label":"Add"},r.a.createElement(fa.a,null))),r.a.createElement(Kt.a,{data:this.state.groupdata,columns:this.getColumns("group"),pageSize:this.state.groupdata.length,defaultPageSize:10,showPagination:l}))),r.a.createElement(nr.a,{open:this.state.showModal,onClose:this.handleClose,"aria-labelledby":"simple-dialog-title"},r.a.createElement(Zi,{id:this.state.id,groups:this.state.groupdata,type:this.state.type,editObject:this.state.editObject,handleClose:this.handleClose,fetchData:function(t){e.fetchData(t)}})),this.state.areYouSure?r.a.createElement(nr.a,Object.assign({open:this.state.areYouSure,onClose:this.handleAreYouSureClose,"aria-labelledby":"simple-dialog-title"},n),r.a.createElement(ss,{type:this.state.type,fetchData:function(t){e.fetchData(t)},handleClose:this.handleAreYouSureClose,id:this.state.id})):null)}}]),a}(r.a.Component),ls=Object(mn.withSnackbar)(Object(pt.a)((function(e){return{root:{flexGrow:1},paper:Object(S.a)({},e.mixins.gutters(),{paddingTop:2*e.spacing.unit,paddingBottom:2*e.spacing.unit})}}))(os)),cs=a(460),ds=a.n(cs),ps=a(170),us=a.n(ps),hs=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).GetKeys=n.GetKeys.bind(Object(l.a)(n)),n.GetAvailableGroups=n.GetAvailableGroups.bind(Object(l.a)(n)),n.CreateKey=n.CreateKey.bind(Object(l.a)(n)),n.DeleteKey=n.DeleteKey.bind(Object(l.a)(n)),n.GroupChange=n.GroupChange.bind(Object(l.a)(n)),n.ToggleActiveStatus=n.ToggleActiveStatus.bind(Object(l.a)(n)),n.state={Api:null,keys:null,availableGroups:null},n}return Object(C.a)(a,[{key:"GetKeys",value:function(){X.a.ajax({type:"get",url:"/scot/api/v2/apikey",success:function(e){this.setState({keys:e.records})}.bind(this),error:function(){this.setState({keys:"failed to get keys"})}.bind(this)})}},{key:"GetAvailableGroups",value:function(){X.a.ajax({type:"get",url:"/scot/api/v2/group?limit=0",success:function(e){this.setState({availableGroups:e.records})}.bind(this)})}},{key:"CreateKey",value:function(){X.a.ajax({type:"post",url:"/scot/api/v2/apikey",success:function(){this.GetKeys()}.bind(this)})}},{key:"DeleteKey",value:function(e){X.a.ajax({type:"delete",url:"/scot/api/v2/apikey/".concat(e.target.id),success:function(){this.GetKeys()}.bind(this)})}},{key:"GroupChange",value:function(e,t){X.a.ajax({type:"PUT",url:"/scot/api/v2/apikey/".concat(e),data:JSON.stringify({groups:t}),contentType:"application/json; charset=UTF-8",success:function(){this.GetKeys()}.bind(this)})}},{key:"ToggleActiveStatus",value:function(e,t){X.a.ajax({type:"PUT",url:"/scot/api/v2/apikey/".concat(e),contentType:"application/json; charset=UTF-8",data:JSON.stringify({active:t}),success:function(){this.GetKeys()}.bind(this)})}},{key:"componentDidMount",value:function(){this.GetKeys(),this.GetAvailableGroups()}},{key:"render",value:function(){var e=[];if(void 0!=this.state.keys)for(var t=0;t0?r.a.createElement(Kt.a,{columns:t,data:this.state.data,defaultPageSize:10,getTdProps:this.handleCheckboxSelection,getTheadThProps:this.handleTHeadCheckboxSelection,getTrProps:this.handleRowSelection,minRows:0,noDataText:"No deleted items were found.",style:{maxHeight:"60vh"},filterable:!0}):r.a.createElement("h3",null,"No deleted items were found."),this.state.data.length>0?r.a.createElement(fs,{data:this.state.data,id:this.props.id,type:this.props.type,getDeletedItems:this.getDeletedItems,errorToggle:this.props.errorToggle}):null)}},{key:"handleRowSelection",value:function(e,t,a){var n=this;return{onClick:function(e){var a,r=n.state.data,i=Object(w.a)(r);try{for(i.s();!(a=i.n()).done;){var s=a.value;t.row["data.id"]==s.data.id&&t.row.type==s.type?s.selected=!0:s.selected=!1}}catch(o){i.e(o)}finally{i.f()}n.setState({data:r,allSelected:!1})},style:{background:void 0!=t&&t.row.selected?"rgb(174, 218, 255)":null}}}},{key:"handleCheckboxSelection",value:function(e,t,a){var n=this;return"selected"==a.id?{onClick:function(e){var a,r=n.state.data,i=Object(w.a)(r);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(t.row["data.id"]==s.data.id&&t.row.type==s.type){s.selected?s.selected=!s.selected:s.selected=!0;break}}}catch(o){i.e(o)}finally{i.f()}n.setState({data:r,allSelected:n.checkAllSelected(r)}),e.stopPropagation()}}:{}}},{key:"handleTHeadCheckboxSelection",value:function(e,t,a,n){var r=this;return"selected"===a.id?{onClick:function(t){var a,n=r.state.data,i=!r.state.allSelected,s=Object(w.a)(n);try{for(s.s();!(a=s.n()).done;){var o,l=a.value,c=Object(w.a)(e.pageRows);try{for(c.s();!(o=c.n()).done;){var d=o.value;if(l.data.id==d["data.id"]&&l.data.type==d["data.type"]){l.selected=i;break}}}catch(p){c.e(p)}finally{c.f()}}}catch(p){s.e(p)}finally{s.f()}r.setState({data:n,allSelected:i})}}:{}}},{key:"checkAllSelected",value:function(e){var t,a=Object(w.a)(e);try{for(a.s();!(t=a.n()).done;){if(!t.value.selected)return!1}}catch(n){a.e(n)}finally{a.f()}return!0}},{key:"getDeletedItems",value:function(){X.a.ajax({type:"get",url:"/scot/api/v2/deleted/?limit=0",success:function(e){this.setState({data:e.records})}.bind(this),error:function(e){console.log("unable to get deleted items")}.bind(this)})}}]),a}(n.Component),fs=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(e){var n;return Object(o.a)(this,a),(n=t.call(this,e)).state={entry:!1,thing:!1,actionSuccess:!1,linkContextString:null,linkPanel:!1,pendingDelete:!1,reparseButton:gs.READY,deleteButton:gs.READY,promoteButton:gs.READY},n.RemoveSelected=n.RemoveSelected.bind(Object(l.a)(n)),n.MoveEntry=n.MoveEntry.bind(Object(l.a)(n)),n.CopyEntry=n.CopyEntry.bind(Object(l.a)(n)),n.EntryAjax=n.EntryAjax.bind(Object(l.a)(n)),n.Link=n.Link.bind(Object(l.a)(n)),n.LinkAjax=n.LinkAjax.bind(Object(l.a)(n)),n.Reparse=n.Reparse.bind(Object(l.a)(n)),n.ReparseAjax=n.ReparseAjax.bind(Object(l.a)(n)),n.Promote=n.Promote.bind(Object(l.a)(n)),n.PromoteAjax=n.PromoteAjax.bind(Object(l.a)(n)),n.ToggleActionSuccess=n.ToggleActionSuccess.bind(Object(l.a)(n)),n.ExpandLinkToggle=n.ExpandLinkToggle.bind(Object(l.a)(n)),n.LinkContextChange=n.LinkContextChange.bind(Object(l.a)(n)),n.deleteCallback=n.deleteCallback.bind(Object(l.a)(n)),n.StartDelete=n.StartDelete.bind(Object(l.a)(n)),n.Restore=n.Restore.bind(Object(l.a)(n)),n.Purge=n.Purge.bind(Object(l.a)(n)),n}return Object(C.a)(a,[{key:"componentWillMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"deleteCallback",value:function(e){!0===e&&this.RemoveSelected(),this.setState({pendingDelete:!1})}},{key:"render",value:function(){var e,t=!0,a=0,n=Object(w.a)(this.props.data);try{for(n.s();!(e=n.n()).done;){var i=e.value;i.type&&i.selected&&(a++,"entry"===i.type?!0:!0,"alert"!==i.type&&(t=!1))}}catch(o){n.e(o)}finally{n.f()}0!=a&&t&&this.props.type;var s=this.state;s.reparseButton,s.deleteButton,s.promoteButton;return s.pendingDelete&&this.props.data.filter((function(e){return e.selected})).map((function(e){return{type:e.type,id:e.id}})),r.a.createElement("div",null,r.a.createElement(pi.a,{ref:"notificationSystem"}),this.state.actionSuccess?r.a.createElement("div",null,r.a.createElement(W.a,{bsStyle:"success",onClick:this.props.getDeletedItems},"Action Successful! Click to reload data.")):r.a.createElement("div",{style:{display:"grid"}},r.a.createElement("div",null,r.a.createElement("h4",{style:{float:"left"}})," ",this.props.data.length>0?r.a.createElement("h4",{style:{float:"left"}},"Select a Deleted Object"):null,r.a.createElement(Qt.a,{style:{float:"right"}},r.a.createElement(W.a,{bsStyle:"success",onClick:this.Restore},"Restore"),r.a.createElement(W.a,{bsStyle:"danger",onClick:this.Purge},"Purge")))))}},{key:"Restore",value:function(e){var t,a=Object(w.a)(this.props.data);try{for(a.s();!(t=a.n()).done;){var n=t.value;n.selected&&X.a.ajax({type:"put",url:"/scot/api/v2/deleted/"+n.id,data:JSON.stringify({status:"undelete"}),success:function(){this.refs.notificationSystem.addNotification({message:"Successfully Restored",level:"success",autoDismiss:0}),this.props.getDeletedItems()}.bind(this),error:function(){console.log("failed to restore items")}.bind(this)})}}catch(r){a.e(r)}finally{a.f()}}},{key:"Purge",value:function(e){var t,a=Object(w.a)(this.props.data);try{for(a.s();!(t=a.n()).done;){var n=t.value;n.selected&&X.a.ajax({type:"delete",url:"/scot/api/v2/deleted/"+n.id,success:function(){this.refs.notificationSystem.addNotification({message:"Successfully Purged",level:"success",autoDismiss:0}),this.props.getDeletedItems()}.bind(this),error:function(){console.log("failed to purge items")}.bind(this)})}}catch(r){a.e(r)}finally{a.f()}}},{key:"LinkContextChange",value:function(e){this.setState({linkContextString:e.target.value})}},{key:"ExpandLinkToggle",value:function(e){if(1==e||0==e)this.setState({linkPanel:e,linkContextString:""});else{var t=!this.state.linkPanel;this.setState({linkPanel:t,linkContextString:""})}}},{key:"RemoveSelected",value:function(){var e,t=Object(w.a)(this.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&Ja(a.type,a.id)}}catch(n){t.e(n)}finally{t.f()}this.props.getDeletedItems(),this.state.actionSuccess&&this.setState({actionSuccess:!1})}},{key:"StartDelete",value:function(){this.setState({pendingDelete:!0})}},{key:"MoveEntry",value:function(){var e,t=Object(w.a)(this.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&"entry"==a.type&&this.EntryAjax(a.id,!0)}}catch(n){t.e(n)}finally{t.f()}}},{key:"CopyEntry",value:function(){var e,t=Object(w.a)(this.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;a.selected&&"entry"==a.type&&this.EntryAjax(a.id,!1)}}catch(n){t.e(n)}finally{t.f()}}},{key:"Link",value:function(){var e,t=Object(w.a)(this.props.data);try{for(t.s();!(e=t.n()).done;){var a=e.value;if(a.selected){var n=[],r={},i={};r.id=parseInt(a.id),r.type=a.type,i.id=parseInt(this.props.id),i.type=this.props.type,n.push(r),n.push(i),this.LinkAjax(n)}}}catch(s){t.e(s)}finally{t.f()}}},{key:"Reparse",value:function(){var e=this;this.setState({reparseButton:gs.LOADING}),X.a.when.apply(X.a,Object(T.a)(this.props.data.filter((function(e){return e.selected})).map((function(t){return e.ReparseAjax(t)})))).then((function(){e.setState({reparseButton:gs.SUCCESS})}),(function(t){console.error(t),e.setState({reparseButton:gs.ERROR}),e.props.errorToggle("error reparsing",t)})).always((function(){setTimeout((function(){e.setState({reparseButton:gs.READY})}),2e3)}))}},{key:"ReparseAjax",value:function(e){return X.a.ajax({type:"put",url:"/scot/api/v2/"+e.type+"/"+e.id,data:JSON.stringify({parsed:0}),contentType:"application/json; charset=UTF-8"})}},{key:"Promote",value:function(){var e=this;this.setState({promoteButton:gs.LOADING});var t=!0;X.a.when.apply(X.a,Object(T.a)(this.props.data.filter((function(e){return e.selected})).map((function(t){return e.PromoteAjax(t)})))).then((function(){e.setState({promoteButton:gs.SUCCESS})}),(function(a){t=!1,console.error(a),e.setState({promoteButton:gs.ERROR}),e.props.errorToggle("error adding alerts to event",a)})).always((function(){setTimeout((function(){e.setState({promoteButton:gs.READY}),t&&window.location.reload()}),2e3)}))}},{key:"PromoteAjax",value:function(e){return X.a.ajax({type:"put",url:"/scot/api/v2/alert/"+e.id,data:JSON.stringify({promote:parseInt(this.props.id)}),contentType:"application/json; charset=UTF-8"})}},{key:"LinkAjax",value:function(e){var t={weight:1};t.vertices=e,this.state.linkContextString&&(t.context=this.state.linkContextString),X.a.ajax({type:"post",url:"/scot/api/v2/link",data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(e){console.log("successfully linked"),this.ExpandLinkToggle(!1),this.ToggleActionSuccess(!0)}.bind(this),error:function(e){this.props.errorToggle("failed to link",e)}.bind(this)})}},{key:"EntryAjax",value:function(e,t){X.a.ajax({type:"get",url:"/scot/api/v2/entry/"+e,success:function(a){var n;n={parent:0,body:a.body,target_id:parseInt(this.props.id),target_type:this.props.type},X.a.ajax({type:"post",url:"/scot/api/v2/entry",data:JSON.stringify(n),contentType:"application/json; charset=UTF-8",dataType:"json",success:function(a){t?(this.RemoveEntryAfterMove(e),this.RemoveSelected()):this.state.actionSuccess||this.ToggleActionSuccess(!0)}.bind(this),error:function(e){this.props.errorToggle("failed to create new entry",e)}.bind(this)})}.bind(this),error:function(e){this.props.errorToggle("failed to get entry data",e)}.bind(this)})}},{key:"RemoveEntryAfterMove",value:function(e){X.a.ajax({type:"delete",url:"/scot/api/v2/entry/"+e,success:function(e){console.log("removed original entry")}.bind(this),error:function(e){this.props.errorToggle("Failed to remove original entry",e)}.bind(this)})}},{key:"ToggleActionSuccess",value:function(e){if(1==e||0==e)this.setState({actionSuccess:e});else{var t=!this.state.actionSuccess;this.setState({actionSuccess:t})}}}]),a}(n.Component);function vs(e){return r.a.createElement($n.a,{component:"div",style:{padding:24}},e.children)}fs.defaultProps={data:{}},ys.defaultProps={modalActive:!0};var bs=Object(Wi.a)({typography:{fontSize:20}}),Es=function(e){Object(c.a)(a,e);var t=Object(d.a)(a);function a(){var e;Object(o.a)(this,a);for(var n=arguments.length,r=new Array(n),i=0;iLbh sbhaq gur rtt. Cbfg gb gur jnyy "V sbhaq gur rtt, pna lbh?"')},n.eeremove=function(){X()("#content").css("transform","rotateX(0deg)"),X()("#ee").remove()},n.componentWillUnmount=function(){var e;e="whoami",localStorage.removeItem(e)},n.componentWillMount=function(){var e=jt("notification");void 0==e&&(e="on"),n.setState({notificationSetting:e})},n.ee=function(e){var t="837279877769847269697171";if(t.includes(n.state.eestring))if(n.state.eestring+e.keyCode===t)n.eedraw(),setTimeout(n.eeremove,2e3);else{if(X()("input").is(":focus"))return;if(!0!==e.ctrlKey&&!0!==e.metaKey){var a=n.state.eestring+e.keyCode;n.setState({eestring:a})}}else n.setState({eestring:""})},n.notification=function(){if("/"!==n.props.match.path||!n.props.match.isExact||!Se.includes(n.props.stateProps.activemqstate)){var e=n.refs.notificationSystem;if("scot-alerts"!==n.AMQ.activemqwho&&"scot-admin"!==n.AMQ.activemqwho&&"scot-flair"!==n.AMQ.activemqwho&&void 0!==e&&n.AMQ.activemqwho!==n.state.whoami&&""!==n.AMQ.activemqwho&&"api"!==n.AMQ.activemqwho&&!0!==n.AMQ.activemqwall&&"entity"!==n.AMQ.activemqtype&&"on"===n.state.notificationSetting){var t="".concat(n.AMQ.activemqwho," ").concat(n.AMQ.activemqaction," ").concat(n.AMQ.activemqtype," : ").concat(n.AMQ.activemqid),a=n.AMQ.activemqtype,r=n.AMQ.activemqstate,i=n.AMQ.activemqid;e.addNotification({message:t,level:"info",autoDismiss:5,action:"delete"!==r?{label:"View",callback:function(){window.open("/#/"+a+"/"+i)}}:null})}}},n.wall=function(e){if("/"!==n.props.match.path||!n.props.match.isExact){var t=n.refs.notificationSystem,a=new Date(1e3*n.AMQ.activemqwhen);a=a.toLocaleString(),!0===n.AMQ.activemqwall&&t.addNotification({message:a+" "+n.AMQ.activemqwho+": "+n.AMQ.activemqmessage,level:"warning",autoDismiss:0})}},n.errorToggle=function(e,t){var a=e;if(t)if(t.responseJSON){if("Authentication Required"===t.responseJSON.error)return n.setState({csrf:t.responseJSON.csrf}),void n.loginToggle(t.responseJSON.csrf)}else"Service Unavailable"===t.statusText&&(a=t.statusText);n.refs.notificationSystem.addNotification({message:a,level:"error",autoDismiss:0})},n.notificationToggle=function(){"off"===n.state.notificationSetting?(n.setState({notificationSetting:"on"}),Nt("notification","on",1e3)):(n.setState({notificationSetting:"off"}),Nt("notification","off",1e3))},n.loginToggle=function(e,t){if(n.state.login||!0===t)n.state.login&&!0===t&&(n.setState({login:!1}),n.props.history.push(n.state.origurl));else{var a=n.props.location.pathname;n.props.history.push("/"),n.setState({login:!0,origurl:a})}},n.LogOut=function(){X.a.ajax({type:"get",url:"/logout",success:function(e){this.setState({login:!0}),console.log("Successfully logged out"),this.WhoAmIQuery()}.bind(Object(l.a)(n)),error:function(e){this.error("Failed to log out",e)}.bind(Object(l.a)(n))})},n.WhoAmIQuery=function(){X.a.ajax({type:"get",url:"scot/api/v2/whoami",success:function(e){var t,a;t="whoami",a=e.user,localStorage.setItem(t,a),e.data&&this.setState({sensitivity:e.data.sensitivity,whoami:e.user})}.bind(Object(l.a)(n)),error:function(e){this.errorToggle("Failed to get current user",e)}.bind(Object(l.a)(n))})},n.GetHandler=function(){X.a.ajax({type:"get",url:"/scot/api/v2/handler?current=1",success:function(e){this.setState({handler:e.records[0].username})}.bind(Object(l.a)(n)),error:function(e){this.errorToggle("Failed to get current user",e)}.bind(Object(l.a)(n))})},n.render=function(){var e,t="Incident Handler: "+n.state.handler;return n.props.match.params.value&&(e=n.props.match.params.value.toLowerCase()),r.a.createElement(F,null,r.a.createElement(u.a,{inverse:!0,fixedTop:!0,fluid:!0},r.a.createElement(u.a.Header,null,r.a.createElement(u.a.Brand,null,r.a.createElement(Ne.Link,{to:"/",style:{margin:"0",padding:"0"}},r.a.createElement("img",{src:"/images/scot-600h.png",alt:"",style:{width:"50px"}}))),r.a.createElement(u.a.Toggle,null)),r.a.createElement(u.a.Collapse,null,r.a.createElement(m.a,null,r.a.createElement(Pi.a,{to:"/alertgroup",activeClassName:"active"},r.a.createElement(y.a,null,"Alert")),r.a.createElement(Pi.a,{to:"/event",activeClassName:"active"},r.a.createElement(y.a,null,"Event")),r.a.createElement(Pi.a,{to:"/incident",activeClassName:"active"},r.a.createElement(y.a,null,"Incident")),r.a.createElement(Pi.a,{to:"/intel",activeClassName:"active"},r.a.createElement(y.a,null,"Intel")),r.a.createElement(v.a,{id:"nav-dropdown",title:"More"},r.a.createElement(Pi.a,{to:"/task",activeClassName:"active"},r.a.createElement(E.a,null,"Task")),r.a.createElement(Pi.a,{to:"/guide",activeClassName:"active"},r.a.createElement(E.a,null,"Guide")),r.a.createElement(Pi.a,{to:"/signature",activeClassName:"active"},r.a.createElement(E.a,null,"Signature")),r.a.createElement(Pi.a,{to:"/entity",activeClassName:"active"},r.a.createElement(E.a,null,"Entity")),r.a.createElement(Pi.a,{to:"/reports",activeClassName:"active"},r.a.createElement(E.a,null,"Reports")),r.a.createElement(E.a,{divider:!0}),r.a.createElement(Pi.a,{to:"/admin",activeClassName:"active"},r.a.createElement(E.a,null,"Administration")),r.a.createElement(E.a,{href:"/docs/index.html"},"Documentation"),r.a.createElement(E.a,{divider:!0}),r.a.createElement(E.a,{href:"/cyberchef/index.html"},"Cyber Chef"),r.a.createElement(E.a,{divider:!0}),r.a.createElement(E.a,{href:"/#/",onClick:n.LogOut},"Log Out")),r.a.createElement(y.a,{href:"/incident_handler.html"},t)),r.a.createElement("span",{id:"ouo_warning",className:"ouo-warning"},n.state.sensitivity),r.a.createElement("span",{id:"scot_version",style:{float:"right",marginTop:"3px",padding:"10px 10px",position:"relative",color:"white"},className:"scot_version"},"V3.7"),r.a.createElement(Pt,{errorToggle:n.errorToggle}))),r.a.createElement("div",{className:"mainNavPadding"},r.a.createElement(zt,{csrf:n.state.csrf,modalActive:n.state.login,loginToggle:n.loginToggle,WhoAmIQuery:n.WhoAmIQuery,GetHandler:n.GetHandler,errorToggle:n.errorToggle,origurl:n.state.origurl}),r.a.createElement(pi.a,{ref:"notificationSystem"}),r.a.createElement(qt.d,{exact:!0,path:"/",render:function(e){return r.a.createElement(xt,{loggedIn:!n.state.login,sensitivity:n.state.sensitivity,errorToggle:n.errorToggle,clientId:n.state.clientId,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object})}}),"admin"===e?r.a.createElement(qt.d,{exact:!0,path:"/admin"},r.a.createElement(ks,null)):null,"alert"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"alertgroup"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"entry"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"event"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"incident"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"task"===e?r.a.createElement(Mi,{isTask:!0,queryType:n.props.match.params.type,viewMode:n.state.viewMode,type:n.props.match.params.value,id:n.props.match.params.id,id2:n.props.match.params.id2,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"guide"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"intel"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"signature"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"entity"===e?r.a.createElement(Mi,{id:n.props.match.params.id,id2:n.props.match.params.id2,viewMode:n.state.viewMode,type:e,notificationToggle:n.notificationToggle,notificationSetting:n.state.notificationSetting,listViewFilter:n.state.listViewFilter,listViewSort:n.state.listViewSort,listViewPage:n.state.listViewPage,errorToggle:n.errorToggle,history:n.props.history,createCallback:n.AMQ.create_callback_object,removeCallback:n.AMQ.remove_callback_object}):null,"reports"===e&&!n.props.match.params.id&&r.a.createElement(ot,null),"reports"===e&&n.props.match.params.id&&r.a.createElement(lt,{reportType:n.props.match.params.id}),"wall"===e?r.a.createElement(Ht,{errorToggle:n.errorToggle}):null))},n.state={open:!1,notificationSetting:"on",login:!1,csrf:"",origurl:"",sensitivity:"",whoami:void 0,handler:void 0,eestring:"",clientId:null},n.notification=n.notification.bind(Object(l.a)(n)),n.loginToggle=n.loginToggle.bind(Object(l.a)(n)),n.errorToggle=n.errorToggle.bind(Object(l.a)(n)),n.AMQ=new ws,n}return a}(r.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var Ts=a(463),Cs=a(144),xs=a(462),js=a(62).createBrowserHistory;s.a.render(r.a.createElement(xs.a,{history:js()},r.a.createElement(mn.SnackbarProvider,null,r.a.createElement(Ts.a,null,r.a.createElement(Cs.a,{exact:!0,path:"/",component:Ss}),r.a.createElement(Cs.a,{exact:!0,path:"/:value",component:Ss}),r.a.createElement(Cs.a,{exact:!0,path:"/:value/:id",component:Ss}),r.a.createElement(Cs.a,{exact:!0,path:"/:value/:id/:id2",component:Ss}),r.a.createElement(Cs.a,{path:"/:value/:type/:id/:id2",component:Ss})))),document.getElementById("root"))}},[[539,1,2]]]);
-//# sourceMappingURL=main.dcce07af.chunk.js.map
\ No newline at end of file
diff --git a/public/static/js/main.dcce07af.chunk.js.map b/public/static/js/main.dcce07af.chunk.js.map
deleted file mode 100644
index 622c8b931..000000000
--- a/public/static/js/main.dcce07af.chunk.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["images/scot_logo_473x473.png","utils/userConfig.js","components/local_storage.js","components/dashboard/dazzle/widgetWrapper.js","components/dashboard/dazzle/widgetPicker.js","components/dashboard/dazzle/dashboard.js","components/dashboard/status.js","components/dashboard/emoji.js","components/dashboard/gamification.js","utils/session_storage.js","utils/time.js","components/dashboard/activity.js","utils/timesince.js","components/dashboard/report_heatmap.js","utils/debounce.js","components/dashboard/report_art.js","components/dashboard/report_alertpower.js","components/dashboard/report_created.js","components/dashboard/report.js","list/LoadingContainer/index.js","components/dashboard/thinglist.js","components/dashboard/dazzle/widgets.js","main/home.js","utils/cookies.js","components/esearch.js","debug-components/wall.js","modal/login.js","components/TagInput/index.js","utils/XHR.js","list/tableConfig.js","utils/constants.js","utils/list-columns.js","components/detail_data_status.js","components/promote.js","components/marker.js","modal/entity_detail.js","components/traffic_light_protocol.js","detail/selected_header_options.js","modal/delete.js","modal/owner.js","modal/entities.js","modal/change_history.js","modal/viewed_by_history.js","components/permission.js","components/conflict.js","components/add_entry.js","components/file_upload.js","components/summary.js","components/task.js","modal/link_warning.js","components/signature_table.js","components/autocomplete_input.js","modal/entity_create.js","components/custom_metadata_table.js","detail/alert_subcomponent.js","detail/selected_entry.js","components/badge.js","components/add_flair.js","modal/links.js","modal/mark.js","detail/selected_header.js","list/list-view.js","modal/export_event.js","modal/promoted_data.js","detail/selected_container.js","components/admin/usergroupform.js","components/admin/areyousure.js","components/admin/usergroupcontainer.js","components/admin/api.js","components/admin/undelete.js","components/admin/index.js","utils/activemq.js","main/index.js","registerServiceWorker.js","index.js"],"names":["module","exports","UserConfigKeyShape","key","PropTypes","string","isRequired","default","any","UserConfigContextTypes","getUserConfig","func","setUserConfig","UserConfigProvider","props","state","userConfig","loading","update","bind","this","Promise","resolve","reject","json","localStorage","JSON","parse","config","name","value","stringify","setItem","then","setState","channel","children","PureComponent","childContextTypes","shape","bool","PanelHeader","title","onRemove","style","position","className","Button","onClick","bsSize","Wrapper","editable","Panel","header","React","cloneElement","editMode","WidgetPicker","widgets","layout","isOpen","onClose","onSelect","activeWidgets","Set","rows","forEach","row","columns","col","widget","add","widgetItems","Object","keys","filter","has","map","widgetObj","description","length","Modal","show","onHide","Header","closeButton","Title","Body","Footer","defaultLayout","Dashboard","saveDashboard","isNew","widgetPicker","newWidgetOptions","onAdd","updateLayout","updateTitle","reset","toggleEdit","togglePicker","selectWidget","rowIndex","columnIndex","target","errorToggle","addWidget","onEdit","onSave","onCancel","handleTitleChange","Grid","fluid","onMove","frameComponent","WidgetWrapper","defaultProps","TitleBar","onSubmit","type","placeholder","onChange","bsStyle","disabled","Status","statusData","error","updateData","fetchError","$","ajax","url","success","_isMounted","response","services","Array","isArray","service","status","push","classes","join","Service","Emoji","role","aria-label","label","aria-hidden","symbol","titleCase","str","charAt","toUpperCase","slice","Gamification","updateCategory","nextIndex","categoryIndex","gameCategories","data","categories","category","console","log","gameData","categoryInterval","setInterval","clearInterval","Well","Category","tooltip","username","count","setLocalStorage","getLocalStorage","getSessionStorage","moment","extendMoment","Moment","DAY","timeOlderThan","timestamp","secondsAgo","Date","now","todayRange","start","Math","floor","setHours","end","lastWeekRange","epochRangeToFilter","range","epochRangeToString","NOTIFICATION_LEVEL","wall","create","delete","NOTIFICATION_TYPES","NOTIFICATION_TIME","ACTIVITY_TYPE","Activity","users","notifications","loadWall","updateActivity","updateUsers","wallMessage","notification","refreshTimer","createCallback","pruned","time","action","persistWall","records","user","who","timeago","last_activity","walls","SessionStorage","message","activemqwhen","activemqwho","activemqmessage","level","includes","activemqwall","activemqtype","activemqstate","activemqid","i","item","epoch","badge","seconds","interval","timeSince","text","items","concat","sort","a","b","buildActivityItem","stopped","marquee","well","marqueeValues","window","getComputedStyle","parseInt","width","paddingLeft","offsetWidth","ref","ReactDOM","findDOMNode","Component","ActivityItem","Label","ReportHeatmap","getData","collection","year","axios","get","res","loadHeatMap","margin","height","gridSize","legendElementWidth","colors","container","d3","graph","select","empty","append","attr","selectAll","enter","d","remove","colorScale","domain","buckets","cards","day","hour","merge","transition","duration","exit","legend","quantiles","round","collectionChange","event","yearChange","exportToPNG","svgString","XMLSerializer","serializeToString","document","querySelector","canvas","createElement","ctx","getContext","DOMURL","self","URL","webkitURL","img","Image","svg","Blob","createObjectURL","onload","drawImage","png","toDataURL","innerHTML","revokeObjectURL","appendTo","click","src","formDisabled","htmlFor","display","textAlign","id","min","step","viewBox","hidden","debounce","callback","timeout","wait","immediate","args","clearTimeout","setTimeout","apply","formatTime","days","hours","minutes","output","barColors","All","Promoted","Incident","ReportArt","initChart","xAxisEl","yAxisEl","chartInit","updateChart","barNames","chartData","dates","values","lineNames","lines","maxValue","dateScale","padding","rangeRound","date","barScale","from","bandwidth","yScale","clamp","nice","xAxis","scale","yAxis","ticks","tickFormat","formatTickTime","call","AvgHolder","averages","AvgHolderBox","node","getBBox","x","y","borderOffset","transform","baseVal","initialize","getItem","LegendHolder","legendHeight","widthSums","legendWidth","loadArt","opts","unit","unitChange","lengthChange","dateChange","today","toISOString","pattern","wrapText","each","getComputedTextLength","words","split","reverse","word","line","lineCount","dy","parseFloat","pop","yOffset","ReportAlertpower","xScale","dataset","dataTypes","replace","score","curStart","curEnd","total","max","stackedMax","groupedMax","alerts","alertTypes","bars","displayMode","transitionGrouped","transitionStacked","delay","tween","prec","pow","t","initialDuration","displayModeChanged","loadData","chartResults","chartSort","chartSortDir","encodeURIComponent","chartFilter","dataChange","displayModeChang","preventSubmit","preventDefault","stopPropagation","background","border","checked","displayModeChange","ReportCreated","statusLine","curve","lineHolder","shown","on","newData","genData","reduce","e","dataMaxes","alertgroups","entries","events","intel","incidents","lineData","getTime","random","reportByType","reportType","reportTitleByType","reportDescriptionByType","reportPanelHeader","expandButton","backButton","to","ReportPage","overflow","SingleReport","reportComponentByType","withStyles","theme","progress","spacing","CircularProgress","ThingList","extend","queryOptions","newBadge","ajaxSetup","traditional","thingType","processData","fetchData","thing","getLink","getSummary","created","things","genThingItem","emptyStyle","emptyString","ListGroup","limit","offset","subject","configKey","RecentIntel","RecentEvents","RecentIncidents","OpenTasks","tasks","updated","body_plain","substr","YourTasks","yourTasks","owner","UnviewedAlerts","unviewedAlerts","views","TopEvents","topEvents","has_tasks","ViewedEvents","viewedEvents","EntryEvents","entryEvents","entry_count","Widgets","ReportWidgets","HomeDashboard","switchTab","closeTab","saveTab","dashboardConfig","tabs","updateDashboardConfig","curTab","tabConfig","index","tabLayout","newTabConfig","splice","newTab","newConfig","loggedIn","dashboardHeader","removeCallback","tabsConfig","defaultTab","buildTab","tabHeaders","tab","eventKey","cursor","tabContent","Tab","Pane","Container","activeKey","Row","Col","sm","Content","mountOnEnter","unmountOnExit","withUserConfig","checkPropTypes","WrappedComponent","UserConfigSubscriber","setUserSubConfig","subConfig","context","restProps","userConfigProps","contextTypes","displayName","getDisplayName","checkCookie","cookie","getCookie","cname","ca","c","substring","indexOf","deleteCookie","setCookie","cvalue","exdays","setTime","expires","toUTCString","Search","componentDidMount","keyup","undefined","keyCode","closeSearch","showSearchToolbar","searchString","doSearch","qstring","results","searching","handleEnterKey","componentDidUpdate","render","tableRows","dataOne","zIndex","marginTop","float","color","charSet","onKeyPress","flexFlow","right","top","borderStyle","overflowY","maxHeight","componentWillUnmount","off","searchResults","entityHeight","SearchDataEachHeader","flexGrow","textOverflow","whiteSpace","SearchDataEachRows","entryid","highlight","rowEvenOdd","isEven","rowClassName","href","search_string_array","activeClassName","styles","Active","highlightClassName","searchWords","autoEscape","textToHighlight","Highlight","backgroundColor","borderColor","borderWidth","overflowX","wordWrap","n","require","Wall","sendWallMessage","alert","buttonStatus","buttonText","buttonLoading","msg","inputChange","input","Login","pass","SSO","NormalAuth","isEnterPressed","mounted","origurl","dialogClassName","modalActive","ScotImage","alt","marginBottom","marginRight","marginLeft","defaultValue","crossDomain","WhoAmIQuery","GetHandler","loginToggle","refs","csrf","responseText","TagInput","handleDelete","tags","handleAdd","tag","maxTags","handleInputChange","arr","result","obj","suggestions","showHideInput","hide","handleAddition","autoresize","autofocus","allowBackspace","allowNew","tagComponent","Tag","classNames","onDelete","selectedTag","selectedTagName","get_data","endpoint","params","body","post","put_data","put","customFilters","numberFilter","debounceTimeout","minLength","stringFilter","dropdownFilter","options","align","OverlayTrigger","trigger","placement","overlay","Popover","maxWidth","ButtonGroup","vertical","option","active","textTransform","block","readOnly","dateRange","rootClose","numberOfCalendars","selectionType","showLegend","singleDateRange","states","momentRangeToEpoch","dispatchEvent","MouseEvent","tagFilter","customCellRenderers","dateFormater","toLocaleString","alertStatus","trim","open","closed","textStatus","alertStatusAlerts","justifyContent","flairCell","appliesTo","original","applies_to","columnDefinitions","Id","accessor","Filter","AlertStatus","open_count","closed_count","promoted_count","column","Cell","EventStatus","IncidentStatus","SigStatus","TaskStatus","metadata","task","TaskSummary","minWidth","Subject","Location","Created","Updated","Occurred","Sources","Tags","TaskOwner","Owner","Entries","Views","DOE","IncidentType","AppliesTo","Value","Name","Group","signature_group","Type","EntityType","Description","TargetType","TargetId","filterable","EntryCountColumn","resizable","expander","Expander","isExpanded","rest","variant","size","getProps","rowInfo","defaultColumnSettings","typeColumns","alertgroup","incident","signature","guide","entity","buildTypeColumns","rowData","propData","flag","get_current_combined_columnWidths","hasOwnProperty","colOptions","element","columnobj","getColumnWidth","status_code_obj","num_of_exemptions","windowsize","innerWidth","column_total_width","residual","residual_per_column","FlairObject","wordBreak","dangerouslySetInnerHTML","__html","headerText","String","cellLength","newtext","stripHtml","calc_width","PromotionButton","getPromotionInfo","prevProps","onMouseDown","listColumnsJSON","columnsDisplay","columnsClassName","ButtonToolbar","MenuItem","DropdownButton","Link","DetailDataStatus","keydown","is","ctrlKey","metaKey","statusAjax","unbind","trackAll","untrackAll","closeAll","openAll","enableAll","disableAll","newStatus","contentType","buttonStyle","classStatus","promotion_id","fontSize","Promote","newType","newURL","promote","location","assign","pid","eventkey","Marker","isMarked","removeMarkedItemsHandler","getMarkedItemsHandler","setMarkedItemsHandler","getSelectedAlerts","nextProps","isAlert","Tooltip","markedItems","getMarkedItems","selectedAlerts","removeMarkedItems","setMarkedItems","alertsSelected","currentMarked","nextMarked","startX","startY","startWidth","startHeight","DropdownToggle","DropdownMenu","TrafficLightProtocol","selectColor","tlp","serverRequest","r","cx","cy","fill","stroke","strokeWidth","divider","SelectedHeaderOptions","toggleFlair","newGlobalFlairState","globalFlairState","ifr","contentDocument","ifrContents","contents","find","addClass","removeClass","alertOpenOrCloseSelected","iterarray","entryData","object","ToggleProcessingMessage","catch","alertPromoteSelected","array","promoteTo","alert_id","alertSelectExisting","prompt","selectExisting","alertExportCSV","currentRecords","data_to_download","dataToDownload","csvLink","link","PrintPrepare","css","pre","forceUpdate","Print","print","guideToggle","flairToolbarToggle","guideID","left","sourceToggle","createGuide","subjectName","reparseFlair","parsed","createLinkSignature","manualUpdate","subjectType","headerData","showPromote","entryToggle","fileUploadToggle","viewedByHistoryToggle","changeHistoryToggle","permissionsToggle","entitiesToggle","guideRedirectToAlertListWithFilter","linksModalToggle","showSignatureOptionsToggle","exportToggle","deleteToggle","markModalToggle","filename","promoteRemaining","customStyles","content","bottom","ACTION_BUTTONS","READY","LOADING","SUCCESS","ERROR","DeleteThing","deleteItems","deleteType","iterator","enqueueSnackbar","delete_data","history","deleteText","deleteTempArray","paddingRight","onRequestClose","DeleteEntry","toggle","DeleteModal","deleteButton","deleteAll","when","deleteAjax","always","confirmText","DeleteThingComponent","withSnackbar","whoami","componentWillReceiveProps","currentOwner","ownerToggle","ownerToolbar","Entities","entitiesBody","entityData","EntitiesData","originalobj","entities","prop","subobj","EntitiesDataHeaderIterator","eachValue","entityId","entityValue","fontWeight","EntitiesDataValueIterator","ChangeHistory","historyBody","ChangeHistoryData","ChangeHistoryDataIterator","format","what","ViewedByHistory","ViewedByHistoryData","view_history","ViewedByHistoryDataIterator","where","ReactTags","WithContext","SelectedPermission","toggleNewReadPermission","readPermissionEntry","toggleNewModifyPermission","modifyPermissionEntry","permissionsfunc","permissionData","groups","writepermissionsarr","readpermissionsarr","readwritepermissionsarr","fullprop","modifyRows","readRows","dataRead","dataModify","updateid","read_modify","readUpdate","modifyUpdate","paddingTop","PermissionIterator","permissionDelete","newPermission","tempArr","read","modify","j","NewPermission","handleDrag","minQueryLength","customCSS","Conflict","handlePUT","editedtext","target_id","targetid","parent","target_type","handleClose","addedEntry","handleEditorChange","localconflict","Card","card","CardContent","Typography","component","initialValue","remoteconflict","plugins","onEditorChange","init","selector","table_clone_elements","paste_retain_style_properties","paste_data_images","paste_preprocess","plugin","relative_urls","remove_script_host","link_assume_external_targets","toolbar1","content_css","verify_html","setup","editor","addButton","onclick","insertContent","Prompt","AddEntryModal","entryAction","asyncContentLoaded","recentlyUpdated","scrollTop","leaveCatch","addedentry","change","submit","startsWith","set","dataURL","Number","html","dataType","forEdit","showConflict","toggleVisibility","exportContent","recipients","exportResponse","localcontent","not_saved_entry_id","Dialog","fullWidth","aria-labelledby","tinyID","table_default_attributes","auto_focus","browser_spellcheck","contextmenu","codesample_languages","paste_postprocess","querySelectorAll","tableNode","setAttribute","ui","registry","addMenuButton","fetch","EntityDetail","componentWillMount","onLoad","getElementById","readyState","ifrContentsHead","rel","contentWindow","requestAnimationFrame","newheight","scrollHeight","isMounted","currentTabArray","valueClicked","entityvalue","entitytype","entityid","isNaN","entityidsarray","currentKey","initialLoad","processedIds","flairToolbarOff","containerHeightAdjust","addEventListener","checkForInitialLoadComplete","addNewEntity","watcher","nextPropsEntityIdInt","addEntity","currentTabArrayIndex","checkFlairHover","linkWarningToggle","initDrag","hasClass","elem","clientX","clientY","defaultView","documentElement","doDrag","stopDrag","blockiFrameMouseEvent","removeEventListener","allowiFrameMouseEvent","moveDivInit","moveDivStop","handleSelectTab","positionRightBoundsCheck","defaultEntityOffset","entityWidthint","fullScreen","defaultOffsetX","tabsArr","DragmeClass","z","addFlair","form","entityobj","defaultActiveKey","animation","handle","entityWidth","flex","borderTop","borderBottom","entityMaxHeight","entityoffset","TabContents","minHeight","guideurl","isPopUp","EntityValue","entityurl","scanner","class","EntityBody","updateAppearances","appearancesNumber","newAppearancesNumber","appearances","entryToolbar","showFullEntityButton","linkOnClickIntercept","entityEnrichmentDataArr","entityEnrichmentLinkArr","entityEnrichmentGeoArr","enrichmentEventKey","dataSource","GeoView","copyToEntry","copyToEntryToolbar","copyToEntity","copyToEntityToolbar","trArr","copyArr","copy","EntityEnrichmentButtons","expandLevel","EntityReferences","promoted","therest","result_array","compareUpdatedDate","loading_type","loadingType","entityReferencesData","loadingSignature","loadingEvents","loadingAlerts","loadingIncidents","loadingIntel","Paper","promotedHref","alignItems","lineHeight","daysSince","minRows","sortable","maxRecords","order","orderBy","GuideBody","SourceBody","head","frameBorder","sandbox","styleSheets","finalfiles","FileUpload","Close","files","onDrop","FormData","xhr","XMLHttpRequest","uploadProgress","uploadComplete","uploadFailed","uploadCancelled","send","edit","stagecolor","enable","addentry","saved","enablesave","getRootProps","getInputProps","file","Summary","newClass","summary","summaryDisplay","Task","makeTask","make_task","closeTask","close_task","takeTask","take_task","taskDisplay","taskData","LinkWarning","proceed","opener","myDomain","reg","RegExp","linkRegResult","match","myDomainRegResult","SignatureTable","submitSigBody","viewVersionid","ajaxType","viewSigBodyid","signature_id","revision","cursorEnabledDisabled","signatureData","editSigBody","lastViewVersionid","createNewSigBody","createNewSigBodyFromSig","Cancel","version","prod_sigbody_id","viewSigBody","keyboardHandlerUpdate","Cookies","currentKeyboardHandler","languageModeUpdate","currentLanguageMode","editorThemeUpdate","currentEditorTheme","loaded","keyboardHandlers","languageModes","editorThemes","versionsArray","keyboardHandlersArray","languageModesArray","editorThemesArray","not_saved_signature_entry_id","currentKeyboardHandlerApplied","highestVersionid","versionidrevision","versionidrevisionprodqual","versionidSigBodyid","qual_sigbody_id","showSignatureOptions","mode","editorProps","$blockScrolling","keyboardHandler","maxLines","minLines","showPrintMargin","SignatureMetaData","submitMetaData","k","v","err","optionsType","onOptionsChange","optionsValue","AutoCompleteInput","HandleAdd","HandleInputChange","OnChange","getItemValue","renderItem","isHighlighted","menuStyle","borderRadius","boxShadow","inputProps","wrapperProps","EntityCreateModal","HasSpacesCheck","test","multiword","GetCount","countLoading","Confirmation","confirmation","Submit","ToggleCreateEntity","responseJSON","error_msg","OnChangeMatch","OnChangeValue","userdef","CustomMetaDataTable","nextState","multiSelectArr","dropdownArr","datesArr","inputArr","textAreaArr","inputMultiArr","booleanArr","formType","o","referenceKey","dropdownValues","help","fetchURL","dynamic","onBlur","calendarValue","typeTitle","typeLower","mainType","mainId","DropdownComponent","getDynamic","selected","bsClass","InputComponent","inputOnChange","Calendar","data_string","_d","showCalendar","TextAreaComponent","InputMultiComponent","group","groupArr","inputValue","InputChange","clickedThing","bsType","BooleanComponent","MultiSelectComponent","makeForm","FormControl","componentClass","multiple","AddEntryToAlert","useState","visible","setVisibility","showEntryData","SelectedEntry","getEntryData","updatedCB","Watcher","getEntityData","entityResult","showEntityData","waitForEntry","waitEntry","flairToolbar","newEntityDetailKey","entityDetailKey","linkWarningToolbar","containerid","intervalID","not","tr","parentNode","ListViewTableHeight","getElementsByClassName","clientHeight","innerHeight","divid","divClass","subcomponent","setAlertColumns","setEntryEntities","fileUploadToolbar","notificationType","notificationMessage","onresize","runWatcher","EntryIterator","linkToSearch","data_with_flair","flairOff","search","ahrefs","NewAlertTable","createData","dataarray","dataitem","promotionId","expanded","handleSelectAll","prevState","styleName","reactTable","onExpandedChange","defaultFilterMethod","SubComponent","onFilteredChange","onSortedChange","newSorted","shiftKey","showPagination","pageSize","getTdProps","getTrProps","sortedData","handleMultiSelection","getSelection","removeAllRanges","handleShiftSelect","handleSelection","some","AlertTableSearchDiv","outline","EntryParent","refreshButton","editEntryToggle","editEntryToolbar","replyEntryToggle","replyEntryToolbar","deleteToolbar","permissionsToolbar","getEntryEntityData","itemarr","subitemarr","itemsClass","outerClassName","innerClassName","taskOwner","subitem","childobj","childfunc","entryActions","actions","send_to_name","send_to_url","datahref","tlpBorder","tlpColorCSS","header1","header2","createdTime","updatedTime","entryHeaderInnerId","showEntityCreateModal","highlightedText","body_flair","pullRight","header3","checkHighlight","iframe","toString","EntryAction","post_data","data-href","EntryData","setHeight","rawMarkup","entry_body_id","entry_body_inner_id","contentDidMount","Badge","toggleBadgeEntry","badgetype","source","badgevar","badgeType","BadgeDataIterator","badgeDelete","newBadgeArr","newobject","NewBadge","handleSuggestionOrTagConversion","oldarray","newobj","abbreviateNumber","num","fixed","toPrecision","toFixed","abs","AddFlair","entityUpdate","scrollTo","currentEntityValue","entityMatched","toLowerCase","entityCount","entitydata","entityEntryCount","entry","circle","country_code","geoip","isocode","isp","sidd","constructor","blocklist3","firewall","watch","whitelist","blackhole","proxy_block","entityEntry","subtable","wrap","Links","allSelected","getLinks","handleTHeadCheckboxSelection","handleRowSelection","handleCheckboxSelection","cell","defaultPageSize","getTheadThProps","noDataText","verticeObject","linkid","vertices","memo","checkAllSelected","instance","pageRows","pageRow","Actions","actionSuccess","RemoveLink","RemoveLinkAjax","ToggleActionSuccess","newActionSuccess","Mark","currentItem","unshift","deleteCallback","RemoveSelected","pendingDelete","LinkContextChange","linkContextString","ExpandLinkToggle","newState","linkPanel","StartDelete","MoveEntry","EntryAjax","CopyEntry","arrayToLink","currentobj","LinkAjax","Reparse","reparseButton","ReparseAjax","promoteButton","PromoteAjax","reload","removeOriginal","RemoveEntryAfterMove","numSelected","addToEvent","deleteThings","collapsible","Form","horizontal","InitialAjaxLoad","datasource","listStartY","listStartHeight","listQuery","ExportModal","emailArray","emailField","showEditor","responseSuccess","aria-describedby","PostResponse","PromotedData","showAllPromotedDataToolbar","showAllPromotedDataToggle","promotedFromType","fullarr","shortarr","shortforlength","SelectedHeader","_type","_message","refreshing","eventLoaded","entryLoaded","entityLoaded","entryType","eventResult","showEventData","isNotFound","tagData","sourceData","flairing","entryResult","exportModal","viewedbyfunc","viewedbyarr","isDeleted","changeHistoryToolbar","viewedByHistoryToolbar","entitiesToolbar","entryEntityData","promoteToggle","promoteToolbar","intervalID1","nicktype","summaryUpdate","taskid","escape","handleFilter","showMarkModal","processing","togglePreventClick","showLinksModal","checkSelection","temparray","selection","startIndex","endIndex","delayFunction","rowid","viewedby","promoted_from","alertPreSelectedId","EntryDataUpdated","EntryDataSubject","handleChange","keyName","newValue","calculateWidth","newWidth","isDisabled","SelectedContainer","datarows","toggleEventDisplay","viewEvent","tabIndex","ListView","viewMode","Landscape","Portrait","ConvertAlertIdToAlertgroupId","ConvertEntryIdToType","scrollheight","sortBy","filterBy","pageLimit","activepage","pageNumber","page","idsarray","finalarray","storeKey","reloadactive","sortObj","sortInt","desc","stringArr","sourcearr","tagarr","totalPages","getPages","totalRecordCount","objectarray","totalCount","showSelectedContainer","statusText","keyNavigate","toggleView","preventClick","targetType","srcElement","tagName","curRow","nextRow","parentElement","nextElementSibling","previousElementSibling","nextId","getNewData","showClearFilter","listViewContainerDisplay","typeCapitalized","listViewKey","notificationSetting","notificationToggle","createNewThing","exportCSV","clearAll","pages","onPageChange","handlePageChange","onPageSizeChange","handlePageSizeChange","filtered","handleSort","sorted","manual","LoadingComponent","CustomTableLoader","dragdiv","queryType","AutoScrollToId","tbody","offsetHeight","offsetTop","initialAutoScrollToId","idReference","id2","response1","newresponse","async","startdrag","manualScrollHeight","stopdrag","onmousemove","onmouseup","onmousedown","classname","splitter","maxheight","alldetail","differentviews","maxwidth","minwidth","scrollwidth","resize","listViewOrientation","newListViewKey","subid","newPage","newidsarray","newarray","abort","csv","storearray","data_uri","sortArr","clearall","newSortArr","sortEach","cookieName","filterObj","newFilterArr","filterEach","pageIndex","ceil","listViewSort","listViewPage","listViewFilter","selectedColor","sourcetags","startepoch","endepoch","idtext","statustext","subjecttext","viewsarrow","idarrow","subjectarrow","statusarrow","createdarrow","sourcearrow","tagsarrow","viewstext","entriestext","suggestiontags","suggestionssource","sourcetext","tagstext","viewfilter","viewevent","showevent","fsearch","textField","root","palette","paper","textInput","initstate","fullname","password","UserGroupFormComponent","formatGroups","allgroups","resetState","checkBlankInputs","buildDataObj","handleGroups","newgroups","handlePOST","nativeEvent","newval","editObject","selectedValue","TextField","helperText","InputLabelProps","shrink","autoComplete","FormControlLabel","control","Switch","GroupSelection","CardActions","button","GroupSelectionComponent","mapUsersGroupsToTags","usersgroups","checkValidGroup","el","tagInput","tagInputField","inline","UserGroupForm","AreYouSure","deletetext","UserGroupContainer","showModal","showUserDialog","showGroupDialog","handleUserClose","handleListItemClick","getColumns","handleActiveToggle","toggleAreYouSure","setUserGroupResults","userdata","groupdata","areYouSure","handleAreYouSureClose","getUserObject","updateId","other","showuserpagination","showgrouppagination","elevation","xs","gutterBottom","Person","flexDirection","Fab","mixins","gutters","paddingBottom","Api","GetKeys","GetAvailableGroups","CreateKey","DeleteKey","GroupChange","ToggleActiveStatus","availableGroups","newGroup","keysArr","keyActiveStatus","keyGroups","apikey","currentGroups","allGroups","keyActiveStatusCss","GroupModal","Open","DeleteGroup","newGroups","textContent","currentGroupArray","currentGroupArrayEdit","keyStatus","Undelete","getDeletedItems","dataArr","Restore","Purge","notificationSystem","addNotification","autoDismiss","TabContainer","createMuiTheme","typography","Admin","AppBar","appBar","indicatorColor","centered","Amq","s4","get_guid","register_client","restart","client","clientId","destination","process_message","handle_update","create_callback_object","intkey","checkNumber","cb_map","newset","remove_callback_object","payload","activemqaction","activemqguid","guid","activemqhostname","hostname","activemqpid","execute_callback_function","searchstring","f","noti","amqdebug","Map","number","App","viewModeSetting","listViewFilterSetting","listViewSortSetting","listViewPageSetting","handler","AMQ","ee","eedraw","prepend","eeremove","removeItem","eestring","path","isExact","stateProps","errorString","loggedin","login","pathname","LogOut","sensitivity","IH","inverse","fixedTop","Brand","Toggle","Collapse","exact","isTask","Boolean","customHistory","createBrowserHistory","HashRouter","Route"],"mappings":"2GAAAA,EAAOC,QAAU,IAA0B,+C,gWCwCrCC,EAAqB,CACzBC,IAAKC,IAAUC,OAAOC,WACtBC,QAASH,IAAUI,IAAIF,YAyBnBG,EAAyB,CAC7BC,cAAeN,IAAUO,KACzBC,cAAeR,IAAUO,MASdE,EAAb,kDACE,WAAYC,GAAQ,IAAD,8BACjB,cAAMA,IAEDC,MAAQ,CACXC,WAAY,CACVC,SAAS,IAIb,EAAKC,OAAS,EAAKA,OAAOC,KAAZ,gBACd,EAAKP,cAAgB,EAAKA,cAAcO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KA,cAAkB,QAzjBnE,EAAK1F,MAAQ,CACXovB,MAAM,EACN0hC,oBAAqB,KACrByP,OAAO,EACPz1C,KAAM,GACNd,QAAS,GACT02C,YAAa,GACbjhC,YAAQja,EACRk6C,aAASl6C,EACTy6C,SAAU,GACVpC,SAAU,MAEZ,EAAK1xD,aAAe,EAAKA,aAAa/L,KAAlB,gBACpB,EAAKwqB,YAAc,EAAKA,YAAYxqB,KAAjB,gBACnB,EAAKsF,YAAc,EAAKA,YAAYtF,KAAjB,gBACnB,EAAKu/D,IAAM,IAAIpC,GAjBE,E,UADYh7D,IAAM+M,WCdnB6xD,QACW,cAA7BtyD,OAAOwoB,SAASunC,UAEe,UAA7B/vD,OAAOwoB,SAASunC,UAEhB/vD,OAAOwoB,SAASunC,SAAS1rB,MACvB,2D,kCCPFkuB,GAAgBp4C,EAAQ,IAAWq4C,qBAEvCjyD,IAAS+W,OAAO,kBAACm7C,GAAA,EAAD,CAAY7iC,QAAS2iC,MACnC,kBAAC,oBAAD,KACE,kBAAC,KAAD,KACE,kBAACG,GAAA,EAAD,CAAON,OAAK,EAACf,KAAK,IAAI17B,UAAW66B,KACjC,kBAACkC,GAAA,EAAD,CAAON,OAAK,EAACf,KAAK,UAAU17B,UAAW66B,KACvC,kBAACkC,GAAA,EAAD,CAAON,OAAK,EAACf,KAAK,cAAc17B,UAAW66B,KAC3C,kBAACkC,GAAA,EAAD,CAAON,OAAK,EAACf,KAAK,mBAAmB17B,UAAW66B,KAChD,kBAACkC,GAAA,EAAD,CAAOrB,KAAK,yBAAyB17B,UAAW66B,QAGvChtD,SAASs2B,eAAe,W","file":"static/js/main.dcce07af.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/scot_logo_473x473.981c5c79.png\";","import React, { PureComponent } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { getDisplayName } from \"recompose\";\nimport { Broadcast, Subscriber } from \"react-broadcast\";\nimport * as LocalStorage from \"../components/local_storage\";\n\n/**\n * This file defines everything needed to use user settings\n * in components.\n *\n * This uses React's context API so that we don't need to have\n * a giant prop chain\n *\n * The provider sets everything up and is included at the top\n * of the application.\n *\n * The HOC is included with every component that wants access\n * to the object\n *\n * userConfig data format:\n * {\n *\t\tkey1: { data },\n *\t\tkey2: [ data, data, data, ],\n *\t\tkey3: true,\n *\t\t...\n * }\n * where keys and data structures are defined in the UserConfigKeys\n * object\n *\n * Currently components may only access one key of userConfig.\n *\n * WARNING: The context API is likely to change in the future\n * and this will need to be updated. Hopefully though, only\n * this file will need to be updated as nothing else directly\n * accesses context\n */\n\n// Channel name for react-broadcast\nconst UserConfigChannel = \"userConfig\";\n\nconst UserConfigKeyShape = {\n key: PropTypes.string.isRequired,\n default: PropTypes.any.isRequired\n};\n\n/**\n * Unique keys for the structure of userConfig\n *\n * Structure:\n *\t\tKEY_ID: {\n *\t\t\tkey: KEY_VALUE,\n *\t\t\tdefault: DEFAULT_VALUE(S),\n *\t\t}\n *\n *\tThis is how to specify the top-level key into the userConfig object\n *\tand define the shape of the data as well as the default values\n */\nexport const UserConfigKeys = {\n DASHBOARD: {\n key: \"dashboard\",\n default: {\n curTab: 0,\n tabs: []\n }\n }\n};\n\nconst UserConfigContextTypes = {\n getUserConfig: PropTypes.func,\n setUserConfig: PropTypes.func\n};\n\n/**\n * This sets up the context provider for the userConfig object\n *\n * Only needs to be included once, somewhere at the top of the chain\n * Currently in main/index.js\n */\nexport class UserConfigProvider extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n userConfig: {\n loading: true\n }\n };\n\n this.update = this.update.bind(this);\n this.setUserConfig = this.setUserConfig.bind(this);\n }\n\n static childContextTypes = UserConfigContextTypes;\n\n getChildContext() {\n return {\n getUserConfig: this.getUserConfig,\n setUserConfig: this.setUserConfig\n };\n }\n\n /**\n * Load user config\n *\n * Return: Promise\n */\n getUserConfig() {\n // Currently just uses localstorage\n // This should be easy to change to use a backend at some point\n return new Promise((resolve, reject) => {\n let json = LocalStorage.getLocalStorage(UserConfigChannel);\n if (json) {\n resolve(JSON.parse(json));\n return;\n }\n\n resolve({});\n });\n }\n\n /**\n * Save user config\n *\n * Return: Promise\n */\n setUserConfig(config) {\n // Currently just uses localstorage\n // This should be easy to change to use a backend at some point\n return new Promise((resolve, reject) => {\n LocalStorage.setLocalStorage(UserConfigChannel, JSON.stringify(config));\n\n resolve();\n }).then(() => {\n this.update();\n });\n }\n\n update() {\n this.getUserConfig().then(config => {\n this.setState({\n userConfig: config\n });\n });\n }\n\n componentDidMount() {\n this.update();\n }\n\n render() {\n return (\n \n
{this.props.children}
\n \n );\n }\n}\n\n/*\n * Defining shape for UserConfig props.\n *\n * This should be imported by wrapped components:\n * static propTypes = {\n *\t\t( all local propTypes ),\n *\t\t...UserConfigPropTypes,\n * };\n *\n * Children:\n *\t\tconfig: the actual data,\n *\t\tsetUserConfig( config ): save changes to config\n *\t\tgetUserConfig(): load the config from source again\n *\t\tloading: whether the config is currently loading\n */\nexport const UserConfigPropTypes = {\n userConfig: PropTypes.shape({\n config: PropTypes.any.isRequired,\n setUserConfig: PropTypes.func.isRequired,\n getUserConfig: PropTypes.func.isRequired,\n loading: PropTypes.bool\n }).isRequired\n};\n\n/**\n * Higher-order Component (HOC) for providing a subkey of userConfig\n * to a component\n *\n * Usage: (In component file)\n *\t\texport default withUserConfig( KEY ) (COMPONENT);\n * Where:\n *\t\tKEY: is one of the values above in UserConfigKeys\n *\t\tCOMPONENT: is the component needing access to userConfig\n *\n * Example:\n *\t\texport default withUserConfig( UserConfigKeys.DASHBOARD ) (HomeDashboard);\n *\n *\t\tThis gives HomeDashboard access to the dashboard portion of userConfig\n */\nexport const withUserConfig = configKey => {\n PropTypes.checkPropTypes(\n UserConfigKeyShape,\n configKey,\n \"argument\",\n \"withUserConfig\"\n );\n\n return WrappedComponent => {\n class UserConfigSubscriber extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {};\n\n this.setUserSubConfig = this.setUserSubConfig.bind(this);\n }\n\n static contextTypes = UserConfigContextTypes;\n static displayName = `withUserConfig(${getDisplayName(\n WrappedComponent\n )})`;\n static propTypes = {\n userConfig: PropTypes.object.isRequired\n };\n\n /**\n * This allows the wrapped component to only have to worry about its own\n * portion of userConfig. Its changes are automatically wrapped back into\n * the whole object\n */\n setUserSubConfig(subConfig) {\n let newConfig = {\n ...this.props.userConfig\n };\n newConfig[configKey.key] = subConfig;\n\n this.context.setUserConfig(newConfig);\n }\n\n render() {\n let { userConfig, ...restProps } = this.props;\n\n let data = userConfig[configKey.key] || configKey.default;\n const loading = userConfig.loading;\n\n const userConfigProps = {\n userConfig: {\n loading: loading === true,\n config: data,\n setUserConfig: this.setUserSubConfig,\n getUserConfig: this.context.getUserConfig\n }\n };\n\n return ;\n }\n }\n\n const UserConfigHelper = props => (\n \n {data => }\n \n );\n return UserConfigHelper;\n };\n};\n","export const setLocalStorage = ( name, value ) =>{\n localStorage.setItem( name, value );\n};\n\nexport const removeLocalStorage = ( name ) => {\n localStorage.removeItem( name );\n};\n\nexport const getLocalStorage = ( name ) => {\n return localStorage[ name ];\n};\n","import React from 'react';\n\nimport { Panel, Button } from 'react-bootstrap';\n\nconst PanelHeader = ( title, onRemove ) => (\n\t
\n );\n };\n}\n\nclass EntitiesData extends React.Component {\n render = () => {\n let rows = [];\n let data = this.props.data;\n let originalobj = {};\n originalobj[\"entities\"] = {};\n let obj = originalobj.entities;\n for (let prop in data) {\n let subobj = {};\n let type = data[prop].type;\n let id = data[prop].id;\n let value = prop;\n subobj[id] = value;\n if (obj.hasOwnProperty(type)) {\n obj[type].push(subobj);\n } else {\n let arr = [];\n arr.push(subobj);\n obj[type] = arr;\n }\n }\n for (let prop in obj) {\n let type = prop;\n let value = obj[prop];\n rows.push(\n \n );\n }\n return
{rows}
;\n };\n}\n\nclass EntitiesDataHeaderIterator extends React.Component {\n render = () => {\n let rows = [];\n let type = this.props.type;\n let value = this.props.value;\n for (let i = 0; i < value.length; i++) {\n let eachValue = value[i];\n let entityId = null;\n let entityValue = null;\n for (let prop in eachValue) {\n entityId = prop;\n entityValue = eachValue[prop];\n }\n rows.push(\n \n );\n }\n return (\n
\n );\n }\n\n onCancel = () => {\n finalfiles = [];\n this.props.fileUploadToggle();\n };\n\n Close = i => {\n for (let x = 0; x < finalfiles.length; x++) {\n if (i.target.id === finalfiles[x].name) {\n finalfiles.splice(x, 1);\n }\n }\n this.setState({ files: finalfiles });\n };\n\n onDrop = files => {\n for (let i = 0; i < files.length; i++) {\n finalfiles.push(files[i]);\n }\n console.log(files);\n this.setState({ files: finalfiles });\n };\n\n submit = () => {\n if (finalfiles.length > 0) {\n for (let i = 0; i < finalfiles.length; i++) {\n let data = new FormData();\n data.append(\"upload\", finalfiles[i]);\n data.append(\"target_type\", this.props.type);\n data.append(\"target_id\", Number(this.props.targetid));\n if (this.props.entryid != null) {\n data.append(\"entry_id\", this.props.entryid);\n }\n let xhr = new XMLHttpRequest();\n xhr.addEventListener(\"progress\", this.uploadProgress);\n xhr.addEventListener(\"load\", this.uploadComplete);\n xhr.addEventListener(\"error\", this.uploadFailed);\n xhr.addEventListener(\"abord\", this.uploadCancelled);\n xhr.open(\"POST\", \"/scot/api/v2/file\");\n console.log(data);\n xhr.send(data);\n }\n } else {\n alert(\"Select a file to upload before submitting.\");\n }\n };\n\n uploadComplete = () => {\n this.onCancel();\n };\n\n uploadFailed = () => {\n this.props.errorToggle(\"An error occured. Upload failed.\");\n };\n}\n","import React from \"react\";\nimport $ from \"jquery\";\n\nexport default class Summary extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n key: this.props.id\n };\n }\n\n toggle = () => {\n let newClass;\n if (this.props.summary === 1) {\n newClass = \"entry\";\n } else if (this.props.summary === 0) {\n newClass = \"summary\";\n }\n let json = { class: newClass };\n $.ajax({\n type: \"put\",\n url: \"scot/api/v2/entry/\" + this.props.entryid,\n data: JSON.stringify(json),\n contentType: \"application/json; charset=UTF-8\",\n success: function(data) {\n console.log(\"success: \" + data);\n },\n error: function(data) {\n this.props.errorToggle(\"Failed to make summary\", data);\n }.bind(this)\n });\n };\n\n render = () => {\n let summaryDisplay = \"Summary Loading...\";\n let onClick;\n if (this.props.summary === 0) {\n summaryDisplay = \"Make Summary\";\n onClick = this.toggle;\n } else if (this.props.summary === 1) {\n summaryDisplay = \"Remove Summary\";\n onClick = this.toggle;\n }\n return (\n \n {summaryDisplay}\n \n );\n };\n}\n","import React from \"react\";\nimport * as SessionStorage from \"../utils/session_storage\";\nimport $ from \"jquery\";\n\nexport default class Task extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n whoami: undefined\n };\n }\n\n componentDidMount = () => {\n let whoami = SessionStorage.getSessionStorage(\"whoami\");\n this.setState({ whoami: whoami });\n };\n\n makeTask = () => {\n let json = { make_task: 1 };\n $.ajax({\n type: \"put\",\n url: \"scot/api/v2/entry/\" + this.props.entryid,\n data: JSON.stringify(json),\n contentType: \"application/json; charset=UTF-8\",\n success: function(data) {\n console.log(\"success: \" + data);\n },\n error: function(data) {\n this.props.errorToggle(\"Failed to close task\", data);\n }.bind(this)\n });\n };\n\n closeTask = () => {\n let json = { close_task: 1 };\n $.ajax({\n type: \"put\",\n url: \"scot/api/v2/entry/\" + this.props.entryid,\n data: JSON.stringify(json),\n contentType: \"application/json; charset=UTF-8\",\n success: function(data) {\n console.log(\"success: \" + data);\n },\n error: function(data) {\n this.props.errorToggle(\"Failed to close task\", data);\n }.bind(this)\n });\n };\n\n takeTask = () => {\n let json = { take_task: 1 };\n $.ajax({\n type: \"put\",\n url: \"scot/api/v2/entry/\" + this.props.entryid,\n data: JSON.stringify(json),\n contentType: \"application/json; charset=UTF-8\",\n success: function(data) {\n console.log(\"success: \" + data);\n },\n error: function(data) {\n this.props.errorToggle(\"Failed to make Task owner\", data);\n }.bind(this)\n });\n };\n\n render = () => {\n let taskDisplay = \"Task Loading...\";\n let onClick;\n if (this.props.taskData.class === \"task\") {\n if (\n this.props.taskData.metadata.task.status === undefined ||\n this.props.taskData.metadata.task.status === null ||\n this.props.taskData.class !== \"task\"\n ) {\n taskDisplay = \"Make Task\";\n onClick = this.makeTask;\n } else if (\n this.state.whoami !== this.props.taskData.metadata.task.who &&\n this.props.taskData.metadata.task.status === \"open\"\n ) {\n taskDisplay = \"Assign task to me\";\n onClick = this.takeTask;\n } else if (\n this.state.whoami === this.props.taskData.metadata.task.who &&\n this.props.taskData.metadata.task.status === \"open\"\n ) {\n taskDisplay = \"Close Task\";\n onClick = this.closeTask;\n } else if (\n this.props.taskData.metadata.task.status === \"closed\" ||\n this.props.taskData.metadata.task.status === \"completed\"\n ) {\n taskDisplay = \"Reopen Task\";\n onClick = this.makeTask;\n } else if (\n this.state.whoami === this.props.taskData.metadata.task.who &&\n this.props.taskData.metadata.task.status === \"assigned\"\n ) {\n taskDisplay = \"Close Task\";\n onClick = this.closeTask;\n } else if (\n this.state.whoami !== this.props.taskData.metadata.task.who &&\n this.props.taskData.metadata.task.status === \"assigned\"\n ) {\n taskDisplay = \"Assign task to me\";\n onClick = this.takeTask;\n }\n } else {\n taskDisplay = \"Make Task\";\n onClick = this.makeTask;\n }\n return (\n \n {taskDisplay}\n \n );\n };\n}\n","import React from \"react\";\nimport Modal from \"react-modal\";\nimport Button from \"react-bootstrap/lib/Button\";\n\nconst customStyles = {\n content: {\n top: \"50%\",\n left: \"50%\",\n right: \"auto\",\n bottom: \"auto\",\n marginRight: \"-50%\",\n transform: \"translate(-50%, -50%)\"\n }\n};\n\nexport default class LinkWarning extends React.Component {\n proceed = () => {\n window.open(this.props.link, '_blank' ).opener = null;\n this.props.linkWarningToggle();\n };\n\n componentWillMount = () => {\n let myDomain = window.location.href;\n let reg = new RegExp(\n /((https?|ftp):\\/\\/[a-zA-Z0-9\\-_\\.]+\\.)?([a-zA-Z0-9\\-_\\.]+\\.([a-zA-Z]{1,63}))/,\n \"i\"\n );\n let linkRegResult = this.props.link.match(reg);\n let myDomainRegResult = myDomain.match(reg);\n if (linkRegResult != undefined && myDomainRegResult != undefined) {\n let linkDomain = linkRegResult[3];\n let myDomain = myDomainRegResult[3];\n if (linkDomain === myDomain) {\n this.proceed();\n }\n } else if (linkRegResult == undefined) {\n this.proceed();\n }\n /*\n if ($.isUrlInternal(this.props.link)) {\n this.proceed();\n }*/\n };\n render = () => {\n return (\n
\n \n
\n \n
Browse to site?
\n
\n
\n The link you clicked may take you to a site outside SCOT. If this is\n a link an attacker controls you may be tipping your hand.\n \n {this.props.link}\n
\n
\n \n \n
\n \n
\n );\n };\n}\n","import React from 'react';\nimport brace from 'brace';\nimport AceEditor from 'react-ace';\nimport Button from 'react-bootstrap/lib/Button.js';\nimport DropdownButton from 'react-bootstrap/lib/DropdownButton.js';\nimport OverlayTrigger from 'react-bootstrap/lib/OverlayTrigger.js';\nimport ButtonGroup from 'react-bootstrap/lib/ButtonGroup.js';\nimport MenuItem from 'react-bootstrap/lib/MenuItem.js';\nimport Popover from 'react-bootstrap/lib/Popover.js';\nimport $ from 'jquery'\nimport 'brace/mode/bro';\nimport 'brace/mode/javascript';\nimport 'brace/mode/java';\nimport 'brace/mode/python';\nimport 'brace/mode/xml';\nimport 'brace/mode/ruby';\nimport 'brace/mode/sass';\nimport 'brace/mode/markdown';\nimport 'brace/mode/mysql';\nimport 'brace/mode/json';\nimport 'brace/mode/html';\nimport 'brace/mode/c_cpp';\nimport 'brace/mode/csharp';\nimport 'brace/mode/perl';\nimport 'brace/mode/powershell';\nimport 'brace/mode/yaml';\nimport 'brace/theme/github';\nimport 'brace/theme/monokai';\nimport 'brace/theme/kuroir';\nimport 'brace/theme/solarized_dark';\nimport 'brace/theme/solarized_light';\nimport 'brace/theme/terminal';\nimport 'brace/theme/textmate';\nimport 'brace/theme/tomorrow';\nimport 'brace/theme/twilight';\nimport 'brace/theme/xcode';\nimport 'brace/keybinding/vim';\nimport 'brace/keybinding/emacs';\nimport * as Cookies from \"../utils/cookies\"\n\n\nexport default class SignatureTable extends React.Component {\n constructor(props) {\n super(props);\n let key = new Date();\n key = key.getTime();\n let value = '';\n let currentKeyboardHandler = 'none';\n let currentLanguageMode = 'java';\n let currentEditorTheme = 'github';\n let viewVersionid = this.props.headerData.prod_sigbody_id;\n let viewSigBodyid;\n if (Cookies.checkCookie('signatureKeyboardHandler') != undefined) {\n currentKeyboardHandler = Cookies.checkCookie('signatureKeyboardHandler');\n }\n if (Cookies.checkCookie('signatureLanguageMode') != undefined) {\n currentLanguageMode = Cookies.checkCookie('signatureLanguageMode');\n }\n if (Cookies.checkCookie('signatureEditorTheme') != undefined) {\n currentEditorTheme = Cookies.checkCookie('signatureEditorTheme');\n }\n if (Object.keys(this.props.headerData.version).length !== 0) {\n if (this.props.headerData.version[this.props.headerData.prod_sigbody_id] != undefined || this.props.headerData.version[this.props.headerData.prod_sigbody_id] == 0) {\n value = this.props.headerData.version[this.props.headerData.prod_sigbody_id].body;\n viewSigBodyid = this.props.headerData.version[this.props.headerData.prod_sigbody_id].id;\n } else {\n for (let key in this.props.headerData.version) {\n if (key < viewVersionid) {\n continue;\n } else {\n viewVersionid = key;\n value = this.props.headerData.version[key].body;\n viewSigBodyid = this.props.headerData.version[key].id;\n }\n }\n }\n }\n this.state = {\n readOnly: true,\n value: value,\n signatureData: this.props.headerData,\n loaded: true,\n viewSigBodyid: viewSigBodyid,\n viewVersionid: viewVersionid,\n lastViewVersionid: null,\n key: key,\n cursorEnabledDisabled: \"cursorDisabled\",\n keyboardHandlers: [\"none\", \"vim\", \"emacs\"],\n currentKeyboardHandler: currentKeyboardHandler,\n languageModes: [\n \"bro\",\n \"csharp\",\n \"c_cpp\",\n \"html\",\n \"javascript\",\n \"java\",\n \"json\",\n \"markdown\",\n \"mysql\",\n \"perl\",\n \"powershell\",\n \"python\",\n \"ruby\",\n \"sass\",\n \"xml\",\n \"yaml\"\n ],\n currentLanguageMode: currentLanguageMode,\n editorThemes: [\n \"github\",\n \"monokai\",\n \"kuroir\",\n \"solarized_dark\",\n \"solarized_light\",\n \"terminal\",\n \"textmate\",\n \"tomorrow\",\n \"twilight\",\n \"xcode\"\n ],\n currentEditorTheme: currentEditorTheme,\n ajaxType: null\n };\n\n }\n onChange = value => {\n this.setState({ value: value });\n }\n\n submitSigBody = e => {\n let url = 'scot/api/v2/sigbody/';\n let versionid = this.state.viewVersionid; //version revision if creating a new sigbody\n if (this.state.ajaxType == 'put') {\n versionid = this.state.viewSigBodyid; //version id (not revision id) if editing an existing sigbody \n url = 'scot/api/v2/sigbody/' + versionid;\n }\n $.ajax({\n type: this.state.ajaxType,\n url: url,\n data: JSON.stringify({ signature_id: parseInt(this.props.id), body: this.state.value }),\n contentType: 'application/json; charset=UTF-8',\n success: function (data) {\n console.log('successfully changed signature data');\n let viewVersionid;\n if (data.revision == undefined) { viewVersionid = this.state.viewVersionid; } else { viewVersionid = data.revision; }\n this.setState({ readOnly: true, cursorEnabledDisabled: 'cursorDisabled', ajaxType: null, viewVersionid: viewVersionid, viewSigBodyid: data.id });\n }.bind(this),\n error: function (data) {\n this.props.errorToggle('Failed to create/update sigbody', data);\n }.bind(this)\n });\n }\n\n componentWillReceiveProps = nextProps => {\n this.setState({ signatureData: nextProps.headerData });\n }\n\n editSigBody = e => {\n this.setState({ readOnly: false, lastViewVersionid: this.state.viewVersionid, cursorEnabledDisabled: 'cursorEnabled', ajaxType: 'put' });\n }\n\n createNewSigBody = () => {\n this.setState({ readOnly: false, viewVersionid: null, lastViewVersionid: this.state.viewVersionid, value: '', cursorEnabledDisabled: 'cursorEnabled', ajaxType: 'post' });\n }\n\n createNewSigBodyFromSig = () => {\n this.setState({ readOnly: false, lastViewVersionid: this.state.viewVersionid, cursorEnabledDisabled: 'cursorEnabled', ajaxType: 'post', viewVersionid: null });\n }\n\n Cancel = () => {\n let value = '';\n if (Object.keys(this.state.signatureData.version).length !== 0) {\n if (this.state.signatureData.version[this.state.signatureData.prod_sigbody_id] != undefined) {\n value = this.state.signatureData.version[this.state.lastViewVersionid].body;\n }\n }\n this.setState({ readOnly: true, value: value, viewVersionid: this.state.lastViewVersionid, cursorEnabledDisabled: 'cursorDisabled', ajaxType: null });\n }\n\n viewSigBody = e => {\n if (this.state.readOnly === true) {\n //only allow button click if you can't edit the signature\n this.setState({\n value: this.state.signatureData.version[e.target.id].body,\n viewVersionid: e.target.id,\n viewSigBodyid: e.target.viewSigBodyid\n });\n }\n };\n\n keyboardHandlerUpdate = e => {\n Cookies.setCookie(\"signatureKeyboardHandler\", e.target.text, 1000);\n this.setState({ currentKeyboardHandler: e.target.text });\n };\n\n languageModeUpdate = e => {\n Cookies.setCookie(\"signatureLanguageMode\", e.target.text, 1000);\n this.setState({ currentLanguageMode: e.target.text });\n };\n\n editorThemeUpdate = e => {\n Cookies.setCookie(\"signatureEditorTheme\", e.target.text, 1000);\n this.setState({ currentEditorTheme: e.target.text });\n };\n\n\n render() {\n let versionsArray = [];\n let keyboardHandlersArray = [];\n let languageModesArray = [];\n let editorThemesArray = [];\n let not_saved_signature_entry_id = 'not_saved_signature_entry_' + this.state.key;\n let currentKeyboardHandlerApplied = this.state.currentKeyboardHandler;\n let viewVersionid = [];\n let highestVersionid = 0;\n if (Object.keys(this.state.signatureData).length !== 0) {\n if (Object.keys(this.state.signatureData.version).length !== 0) {\n for (let key in this.state.signatureData.version) {\n let versionidrevision = this.state.signatureData.version[key].revision;\n let versionidrevisionprodqual = this.state.signatureData.version[key].revision;\n let versionidSigBodyid = this.state.signatureData.version[key].id;\n if (this.state.signatureData.prod_sigbody_id == versionidrevision) { versionidrevisionprodqual = versionidrevision + ' - Production'; } else if (this.state.signatureData.qual_sigbody_id == versionidrevision) { versionidrevisionprodqual = versionidrevision + ' - Quality'; } //add production and quality text to identify current status on the menu\n let disabled;\n if (this.state.readOnly == true) { disabled = false; } else { disabled = true; }\n versionsArray.push();\n if (versionidrevision > highestVersionid) { highestVersionid = versionidrevision; }\n }\n }\n }\n\n if (this.state.keyboardHandlers != undefined) {\n for (let i = 0; i < this.state.keyboardHandlers.length; i++) {\n keyboardHandlersArray.push();\n }\n }\n\n if (this.state.currentKeyboardHandler == 'none') {\n currentKeyboardHandlerApplied = null;\n }\n\n if (this.state.languageModes != undefined) {\n for (let i = 0; i < this.state.languageModes.length; i++) {\n languageModesArray.push();\n }\n }\n\n if (this.state.editorThemes != undefined) {\n for (let i = 0; i < this.state.editorThemes.length; i++) {\n editorThemesArray.push();\n }\n }\n if (this.state.signatureData.prod_sigbody_id == this.state.viewVersionid) {\n viewVersionid.push({this.state.viewVersionid} - Production);\n } else if (this.state.signatureData.qual_sigbody_id == this.state.viewVersionid) {\n viewVersionid.push({this.state.viewVersionid} - Quality);\n } else {\n viewVersionid.push({this.state.viewVersionid});\n }\n return (\n
\n );\n }\n}\n\nclass SignatureMetaData extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n optionsValue: JSON.stringify(this.props.signatureData.options)\n };\n }\n\n\n submitMetaData = event => {\n let k = event.target.id;\n let v = event.target.value;\n if (k == 'options' || k == 'target') {\n try { v = JSON.parse(v); }\n catch (err) { this.props.errorToggle('Failed to convert string to object. Try adding quotation marks around the key and values'); return; }\n let optionsType = typeof (v);\n if (optionsType !== 'object') { this.props.errorToggle('options need to be an object but were detected as: ' + optionsType); return; }\n } //Convery v to JSON for options as its type is JSON\n let json = {};\n json[k] = v;\n $.ajax({\n type: 'put',\n url: 'scot/api/v2/signature/' + this.props.id,\n data: JSON.stringify(json),\n contentType: 'application/json; charset=UTF-8',\n success: function (data) {\n console.log('successfully changed signature data');\n }.bind(this),\n error: function (data) {\n this.props.errorToggle('Failed to update signature metadata', data);\n }.bind(this)\n });\n }\n\n onOptionsChange = optionsValue => {\n this.setState({ optionsValue: optionsValue });\n };\n\n render() {\n\n return (\n
\n {this.props.showSignatureOptions ?\n
\n
\n
\n
\n Signature Options\n \n
\n
\n \n
\n
\n :\n null\n }\n
\n );\n }\n};\n\nclass SignatureGroup extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n signatureGroupValue: \"\"\n };\n }\n\n handleAddition = signature_group => {\n let newSignatureGroupArr = [];\n let data = this.props.data;\n for (let i = 0; i < data.length; i++) {\n if (data[i] != undefined) {\n if (typeof data[i] == \"string\") {\n newSignatureGroupArr.push(data[i]);\n } else {\n newSignatureGroupArr.push(data[i].value);\n }\n }\n }\n newSignatureGroupArr.push(signature_group.target.value);\n $.ajax({\n type: \"put\",\n url: \"scot/api/v2/signature/\" + this.props.id,\n data: JSON.stringify({ signature_group: newSignatureGroupArr }),\n contentType: \"application/json; charset=UTF-8\",\n success: function (data) {\n console.log(\"success: signature_group added\");\n this.setState({ signatureGroupValue: \"\" });\n }.bind(this),\n error: function (data) {\n this.props.errorToggle(\"Failed to add signature_group\", data);\n }.bind(this)\n });\n };\n\n InputChange = event => {\n this.setState({ signatureGroupValue: event.target.value });\n };\n\n handleDelete = event => {\n let data = this.props.data;\n let clickedThing = event.target.id;\n let newSignatureGroupArr = [];\n for (let i = 0; i < data.length; i++) {\n if (data[i] != undefined) {\n if (typeof (data[i]) == 'string') {\n if (data[i] != clickedThing) {\n newSignatureGroupArr.push(data[i]);\n }\n } else {\n if (data[i].value != clickedThing) {\n newSignatureGroupArr.push(data[i].value);\n }\n }\n }\n }\n $.ajax({\n type: 'put',\n url: 'scot/api/v2/signature/' + this.props.id,\n data: JSON.stringify({ 'signature_group': newSignatureGroupArr }),\n contentType: 'application/json; charset=UTF-8',\n success: function (data) {\n console.log('deleted signature_group success: ' + data);\n }.bind(this),\n error: function (data) {\n this.props.errorToggle('Failed to delete signature_group', data);\n }.bind(this)\n });\n }\n\n\n render() {\n let data = this.props.data;\n let signatureGroupArr = [];\n let value;\n for (let i = 0; i < data.length; i++) {\n if (typeof (data[i]) == 'string') {\n value = data[i];\n } else if (typeof (data[i]) == 'object') {\n if (data[i] != undefined) {\n value = data[i].value;\n }\n }\n signatureGroupArr.push({value} );\n }\n return (\n
\n );\n }\n}\n","import React from \"react\";\nimport Button from \"react-bootstrap/lib/Button\";\nimport $ from \"jquery\";\nimport { WithContext as ReactTags } from \"react-tag-input\";\nimport { get_data, put_data } from \"../utils/XHR\";\n\nexport default class Badge extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n source: false,\n tag: false\n };\n }\n\n toggleBadgeEntry = badgetype => {\n if (this.state[badgetype] == false) {\n this.setState({ [badgetype]: true });\n } else if (this.state[badgetype] == true) {\n this.setState({ [badgetype]: false });\n }\n };\n\n render() {\n let rows = [];\n let id = this.props.id;\n let type = this.props.type;\n let data = this.props.data;\n let badgevar = \"\";\n\n if (this.props.badgeType === \"tag\") {\n badgevar = \"Tags\";\n } else if (this.props.badgeType === \"source\") {\n badgevar = \"Sources\";\n }\n\n //Don't show if guide\n if (this.props.type == \"guide\") {\n return
;\n }\n\n if (data != undefined) {\n for (let i = 0; i < data.length; i++) {\n rows.push(\n \n );\n }\n }\n return (\n //TODO: THIS CODE IS STUPID. USE GRID\n
\n \n \n \n Please be advised\n \n \n In order to properly add a user, they must belong to a group. A user is added to a group at time of creatino or upon 'Edit'. Groups MUST include the string 'scot' in the name or they will be ignored\n by the system. You must activate a user in order to begin logging in as the user.\n \n \n \n \n \n \n Users \n \n
\n )\n }\n}\n\nexport default withSnackbar(withStyles(styles)(UserGroupContainer));","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport Panel from 'react-bootstrap/lib/Panel.js';\nimport Button from 'react-bootstrap/lib/Button.js';\nimport Modal from 'react-bootstrap/lib/Modal.js';\nimport $ from 'jquery'\n\nexport class Api extends React.Component {\n constructor(props) {\n super(props);\n this.GetKeys = this.GetKeys.bind(this);\n this.GetAvailableGroups = this.GetAvailableGroups.bind(this);\n this.CreateKey = this.CreateKey.bind(this);\n this.DeleteKey = this.DeleteKey.bind(this);\n this.GroupChange = this.GroupChange.bind(this);\n this.ToggleActiveStatus = this.ToggleActiveStatus.bind(this);\n this.state = {\n Api: null,\n keys: null,\n availableGroups: null,\n };\n }\n\n GetKeys() {\n $.ajax({\n type: 'get',\n url: '/scot/api/v2/apikey',\n success: function (data) {\n this.setState({ keys: data.records });\n }.bind(this),\n error: function () {\n this.setState({ keys: 'failed to get keys' });\n }.bind(this),\n });\n }\n\n GetAvailableGroups() {\n $.ajax({\n type: 'get',\n url: '/scot/api/v2/group?limit=0',\n success: function (data) {\n this.setState({ availableGroups: data.records });\n }.bind(this),\n });\n }\n\n CreateKey() {\n $.ajax({\n type: 'post',\n url: '/scot/api/v2/apikey',\n success: function () {\n this.GetKeys();\n }.bind(this),\n });\n }\n\n DeleteKey(e) {\n $.ajax({\n type: 'delete',\n url: `/scot/api/v2/apikey/${e.target.id}`,\n success: function () {\n this.GetKeys();\n }.bind(this),\n });\n }\n\n GroupChange(id, newGroup) {\n $.ajax({\n type: 'PUT',\n url: `/scot/api/v2/apikey/${id}`,\n data: JSON.stringify({ groups: newGroup }),\n contentType: 'application/json; charset=UTF-8',\n success: function () {\n this.GetKeys();\n }.bind(this),\n });\n }\n\n ToggleActiveStatus(id, newStatus) {\n $.ajax({\n type: 'PUT',\n url: `/scot/api/v2/apikey/${id}`,\n contentType: 'application/json; charset=UTF-8',\n data: JSON.stringify({ active: newStatus }),\n success: function () {\n this.GetKeys();\n }.bind(this),\n });\n }\n\n componentDidMount() {\n this.GetKeys();\n this.GetAvailableGroups();\n }\n\n render() {\n const keysArr = [];\n if (this.state.keys != undefined) {\n for (let i = 0; i < this.state.keys.length; i++) {\n let keyActiveStatus;\n let keyActiveStatusCss;\n const keyGroups = [];\n if (this.state.keys[i].active == 1) {\n keyActiveStatus = active\n }\n\n else {\n keyActiveStatus = not active\n }\n if (this.state.keys[i].groups != undefined) {\n for (let j = 0; j < this.state.keys[i].groups.length; j++) {\n keyGroups.push(
this.state.keys[i].groups[j]
);\n }\n }\n keysArr.push(
\n
\n
{this.state.keys[i].apikey}
\n
{this.state.keys[i].username}
\n Key is {keyActiveStatus}\n \n
\n \n
\n
\n \n
);\n }\n }\n return (\n
\n
API
\n \n {keysArr}\n \n\n \n
\n );\n }\n}\n\nclass GroupModal extends React.Component {\n constructor(props) {\n super(props);\n this.Open = this.Open.bind(this);\n this.Close = this.Close.bind(this);\n this.DeleteGroup = this.DeleteGroup.bind(this);\n /* this.AddGroup = this.AddGroup.bind(this); */ // Removed as we don't add groups to an api key\n this.ToggleActiveStatus = this.ToggleActiveStatus.bind(this);\n this.state = {\n showModal: false,\n };\n }\n\n Open() {\n this.setState({ showModal: true });\n }\n\n Close() {\n this.setState({ showModal: false });\n }\n\n DeleteGroup(e) {\n const newGroups = [];\n for (const i of this.props.currentGroups) {\n if (i != undefined) {\n if (i != e.target.parentNode.textContent) {\n newGroups.push(i);\n }\n }\n }\n this.props.GroupChange(this.props.id, newGroups);\n }\n /* Removed as we don't add groups to an api key\n AddGroup (e) {\n var newGroups = [];\n for ( const i of this.props.currentGroups) {\n if ( i != undefined ) {\n if ( i != e.target.textContent ) {\n newGroups.push(i);\n }\n }\n }\n newGroups.push( e.target.textContent );\n this.props.GroupChange(this.props.id, newGroups);\n }\n */\n ToggleActiveStatus() {\n let newStatus;\n if (this.props.keyActiveStatus == 1) {\n newStatus = 0;\n } else {\n newStatus = 1;\n }\n this.props.ToggleActiveStatus(this.props.id, newStatus);\n }\n\n render() {\n // var allGroupArray = []; //Removed as we don't add groups to an api key\n const currentGroupArray = [];\n const currentGroupArrayEdit = [];\n // //Removed as we don't add groups to an api key\n /* if ( this.props.allGroups ) {\n for ( const i of this.props.allGroups ) {\n allGroupArray.push( );\n }\n } */\n if (this.props.currentGroups) {\n for (const j of this.props.currentGroups) {\n currentGroupArrayEdit.push({j});\n }\n for (const k of this.props.currentGroups) {\n currentGroupArray.push({k});\n }\n }\n let keyStatus = this.props.keyActiveStatus === 1 ? 'active' : 'not active';\n return (\n
\n \n );\n };\n}\n","// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport default function register() {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://goo.gl/SC7cgQ'\n );\n });\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n if (\n response.status === 404 ||\n response.headers.get('content-type').indexOf('javascript') === -1\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './main/index';\nimport registerServiceWorker from './registerServiceWorker';\nimport Switch from \"react-router-dom/es/Switch\";\nimport Route from \"react-router-dom/es/Route\";\nimport HashRouter from \"react-router-dom/es/HashRouter\";\nimport { SnackbarProvider } from 'notistack';\n\nlet customHistory = require('history').createBrowserHistory;\n\nReactDOM.render(\n \n \n \n \n \n \n \n \n \n, document.getElementById('root'));"],"sourceRoot":""}
\ No newline at end of file
diff --git a/scot-ui/src/detail/selected_entry.js b/scot-ui/src/detail/selected_entry.js
index 7df5fbd7b..2035c99c9 100644
--- a/scot-ui/src/detail/selected_entry.js
+++ b/scot-ui/src/detail/selected_entry.js
@@ -193,12 +193,12 @@ export default class SelectedEntry extends React.Component {
}
};
- linkWarningToggle = (href) => {
+ linkWarningToggle = (href,nopop=false) => {
if (this.state.isMounted) {
if (this.state.linkWarningToolbar === false) {
- this.setState({ linkWarningToolbar: true, link: href });
+ this.setState({ linkWarningToolbar: true, link: href, nopop: nopop });
} else {
- this.setState({ linkWarningToolbar: false });
+ this.setState({ linkWarningToolbar: false, nopop: nopop });
}
}
};
@@ -464,6 +464,7 @@ export default class SelectedEntry extends React.Component {
) : null}
diff --git a/scot-ui/src/detail/selected_header.js b/scot-ui/src/detail/selected_header.js
index 09defc113..ec9e0c517 100644
--- a/scot-ui/src/detail/selected_header.js
+++ b/scot-ui/src/detail/selected_header.js
@@ -476,11 +476,11 @@ export default class SelectedHeader extends React.Component {
}
};
- linkWarningToggle = href => {
+ linkWarningToggle = (href, nopop=false) => {
if (this.state.linkWarningToolbar === false) {
- this.setState({ linkWarningToolbar: true, link: href });
+ this.setState({ linkWarningToolbar: true, link: href, nopop: nopop });
} else {
- this.setState({ linkWarningToolbar: false });
+ this.setState({ linkWarningToolbar: false, nopop: nopop });
}
};
@@ -1015,6 +1015,7 @@ export default class SelectedHeader extends React.Component {
) : null}
{this.state.viewedByHistoryToolbar ? (
diff --git a/scot-ui/src/modal/entity_detail.js b/scot-ui/src/modal/entity_detail.js
index 14a0f7895..661c2ae51 100644
--- a/scot-ui/src/modal/entity_detail.js
+++ b/scot-ui/src/modal/entity_detail.js
@@ -1066,8 +1066,9 @@ class EntityBody extends React.Component {
}
};
- linkOnClickIntercept = e => {
- this.props.linkWarningToggle(e.target.id);
+ linkOnClickIntercept = (e) => {
+
+ this.props.linkWarningToggle(e.target.id, e.target.dataset.nopop);
};
componentDidMount() {
@@ -1125,14 +1126,15 @@ class EntityBody extends React.Component {
} else if (entityData[prop].type === "link") {
//added this because we dont need two buttons -2019 bryce
if (entityData[prop].data.title !== "Lookup in Likaboss") {
+ const nopop = ( entityData[prop].data.nopopup ) ? true : false;
+ console.log(entityData[prop].data);
entityEnrichmentLinkArr.push(
diff --git a/scot-ui/src/modal/link_warning.js b/scot-ui/src/modal/link_warning.js
index f3f20b9df..62549c7b9 100644
--- a/scot-ui/src/modal/link_warning.js
+++ b/scot-ui/src/modal/link_warning.js
@@ -19,7 +19,17 @@ export default class LinkWarning extends React.Component {
this.props.linkWarningToggle();
};
+ apiOnly = () => {
+ this.props.linkWarningToggle();
+ fetch(this.props.link);
+ alert("Request Submitted. Refresh entity display to see results");
+};
+
componentWillMount = () => {
+ if ( this.props.nopop === "true" ) {
+ this.apiOnly();
+ return;
+ }
let myDomain = window.location.href;
let reg = new RegExp(
/((https?|ftp):\/\/[a-zA-Z0-9\-_\.]+\.)?([a-zA-Z0-9\-_\.]+\.([a-zA-Z]{1,63}))/,