1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9529],{46380:function(e,n,t){t.d(n,{Z:function(){return b}});var s=t(47568),r=t(97582),i=t(85893),a=t(6212),o=t(97346),c=t(67294),l=t(85960),u=t(43835),d=t(37753),m=t(82175),h=t(35005),p=t(72132),f=t(85209),v=t(25617),g=t(15122);function b(){var e=(0,v.v9)((function(e){return e.auth})).user,n=(0,c.useState)({show:!1}),t=n[0],b=n[1],y=t.show,x=t.websiteName,j=t.websiteId;(0,c.useEffect)((function(){return u.Z.on(d.Z.SHOW_NEW_LEAD_MODAL,Z),function(){u.Z.off(d.Z.SHOW_NEW_LEAD_MODAL,Z)}}),[]);var Z=function(e,n){b({show:!0,websiteId:e,websiteName:n})},w=function(){b({show:!1})},_=function(){var e=(0,s.Z)((function(e,n){var t,s,i;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:n.setSubmitting(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,g.Z.api().post("/leads",e)];case 2:return r.sent(),p.Am.success("Message sent!"),n.resetForm(),w(),[3,5];case 3:return t=r.sent(),p.Am.error((null===(s=t.response)||void 0===s||null===(i=s.data)||void 0===i?void 0:i.message)||f.Z.common.problemOccurred),[3,5];case 4:return n.setSubmitting(!1),[7];case 5:return[2]}}
1))}));return function(n,t){return e.apply(this,arguments)}}();return(0,i.jsxs)(a.Z,{show:y,onHide:w,backdrop:!0,children:[(0,i.jsx)(a.Z.Header,{className:"p-8 border-0",closeButton:!0,children:(0,i.jsx)(a.Z.Title,{children:(0,i.jsx)(l.H2,{className:"mb-0",children:"Request information"})})}),(0,i.jsx)(a.Z.Body,{className:"p-8 pt-0",children:(0,i.jsx)(m.J9,{initialValues:{message:"",website_id:j},onSubmit:_,children:function(n){var t=n.handleSubmit,s=n.handleChange,r=n.values,a=n.touched,c=n.errors,l=(n.setFieldValue,n.isSubmitting);return(0,i.jsxs)(o.Z,{noValidate:!0,onSubmit:t,children:[(0,i.jsxs)("p",{children:["Submit this, ",(0,i.jsx)("strong",{children:null===e||void 0===e?void 0:e.first_name}),", and we will send your name and email address to"," ",(0,i.jsx)("strong",{children:x})," so they can follow up with you directly."]}),(0,i.jsxs)(o.Z.Group,{className:"mb-4",children:[(0,i.jsx)(o.Z.Label,{children:"Your request message (optional)"}),(0,i.jsx)(o.Z.Control,{name:"message",autoFocus:!0,type:"text",onChange:s,value:r.message,isInvalid:a.message&&!!c.message}),c.message&&(0,i.jsx)(o.Z.Control.Feedback,{type:"invalid",children:c.message})]}),(0,i.jsxs)("div",{className:"text-right",children:[(0,i.jsx)(h.Z,{variant:"light",className:"mr-2",onClick:w,children:"Cancel"}),(0,i.jsx)(h.Z,{type:"submit",disabled:l,children:"Send"})]}),(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsx)("i",{children:"IPVM receives no payment for this service and does this to help buyers and sellers connect. It is opt-in only."})})]})}})})]})}},93741:function(e,n,t){t.d(n,{Z:function(){return y}});var s=t(47568),r=t(97582),i=t(85893),a=t(82175),o=t(74231),c=t(6212),l=t(97346),u=t(35005),d=t(67294),m=t(25617),h=t(71616),p=t(72132),f=t(85209),v=t(40852),g=t(85960),b=o.Ry().shape({email:o.Z_().label("Email").email().required(),message:o.Z_().label("Message").optional(),linked_id:o.Z_().label("Resource Id").required(),linked_type:o.Z_().oneOf([h.x.REPORT,h.x.TOPIC]).required()});function y(e){var n=e.type,t=e.resourceSlug,o=e.show,y=e.onHide,x=(0,m.v9)((function(e){return e.auth})).user,j=(0,d.useMemo)((function(){switch(n){case h.x.REPORT:return{modalTitle:"Share this report",messageFieldPlaceholder:"e.g Hope you enjoy this report!"};case h.x.TOPIC:return{modalTitle:"Share this discussion",messageFieldPlaceholder:"e.g Hope you enjoy this discussion!"}}}),[n]),Z=j.modalTitle,w=j.messageFieldPlaceholder;if(!x)return null;var _=n===h.x.REPORT&&x.extra.report_shares_remaining>0,N=function(){var e=(0,s.Z)((function(e,n){var t,s,i,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:n.setSubmitting(!0),_||delete e.one_time_access,r.label=1;case 1:return r.trys.push([1,4,5,6]),[4,h.Z.shareThisResource(e)];case 2:return t=r.sent(),[4,v.Z.reloadCurrentUser()];case 3:return r.sent(),p.Am.success(t),n.resetForm(),y(),[3,6];case 4:return s=r.sent(),p.Am.error((null===(i=s.response)||void 0===i||null===(a=i.data)||void 0===a?void 0:a.message)||f.Z.common.problemOccurred),[3,6];case 5:return n.setSubmitting(!1),[7];case 6:return[2]}}
1))}));return function(n,t){return e.apply(this,arguments)}}();return(0,i.jsxs)(c.Z,{show:o,onHide:y,backdrop:!0,size:"lg",children:[(0,i.jsx)(c.Z.Header,{className:"p-8 border-0",closeButton:!0,children:(0,i.jsx)(g.H1,{className:"mb-0",children:Z})}),(0,i.jsx)(c.Z.Body,{className:"p-8 pt-0",children:(0,i.jsx)(a.J9,{validationSchema:b,initialValues:{email:"",message:"",linked_id:t,linked_type:n,one_time_access:_},onSubmit:N,children:function(e){var n=e.values,t=e.isSubmitting,s=e.handleSubmit,r=e.handleChange,a=e.errors,o=e.touched;return(0,i.jsxs)(l.Z,{noValidate:!0,onSubmit:s,children:[(0,i.jsxs)(l.Z.Group,{className:"mb-4",controlId:"formBasicEmail",children:[(0,i.jsx)(l.Z.Label,{className:"font-bold",children:"Email address"}),(0,i.jsx)(l.Z.Control,{type:"email",name:"email",placeholder:"[email protected]",value:n.email,onChange:r,isInvalid:o.email&&!!a.email}),(0,i.jsx)(l.Z.Control.Feedback,{type:"invalid",children:a.email})]}),(0,i.jsxs)(l.Z.Group,{className:"mb-4",controlId:"formBasicPassword",children:[(0,i.jsx)(l.Z.Label,{className:"font-bold",children:"Message (optional)"}),(0,i.jsx)(l.Z.Control,{type:"text",name:"message",placeholder:w,value:n.message,onChange:r,isInvalid:o.message&&!!a.message}),(0,i.jsx)(l.Z.Control.Feedback,{type:"invalid",children:a.message})]}),_&&(0,i.jsx)(l.Z.Group,{controlId:"oneTimeAccessCheckbox",children:(0,i.jsx)(l.Z.Check,{type:"checkbox",label:"Email a one-time full copy, ".concat(x.extra.report_shares_remaining," remaining afterwards for this month"),name:"one_time_access",checked:n.one_time_access,onChange:r})}),(0,i.jsxs)("div",{className:"flex justify-end items-start gap-2 mt-4",children:[(0,i.jsx)(u.Z,{variant:"link",className:"whitespace-nowrap",onClick:y,children:"Cancel"}),(0,i.jsx)(u.Z,{type:"submit",variant:"success",disabled:t,className:"whitespace-nowrap",children:"Send email"})]})]})}})})]})}},24394:function(e,n,t){t.d(n,{Z:function(){return w}});var s=t(85893),r=t(6212),i=t(67294),a=t(35005),o=t(25675),c=t.n(o),l=t(64885),u=t(11163),d=t(97692),m=t(41664),h=t.n(m);function p(){return(0,s.jsx)("div",{className:"w-[200px] m-auto mb-4",children:(0,s.jsx)(c(),{src:"".concat(l.Z.assetPrefix,"/images/ipvm_logo.png"),alt:"ipvm-logo",width:"1024",height:"260"})})}var f=function(){var e=(0,u.useRouter)();return(0,s.jsxs)("div",{className:"w-[70%]",children:[(0,s.jsx)(p,{}),(0,s.jsx)("h4",{style:{fontWeight:"bold",textAlign:"center"},children:"World's Leading Resource For Physical Security Technology"}),(0,s.jsx)("p",{className:"tag-line",children:"IPVM is the world's leading independent intelligence source for physical security, profiled by Time, The Atlantic, Wired and collaborated with the BBC, NY Times, Reuters, WaPo, WSJ, and more. Know what's happening in the industry plus so much more."}),(0,s.jsx)(a.Z,{onClick:function(){e.push(d.Z.base("/subscribe"))},className:"btn osDark",children:"Subscribe Now"}),(0,s.jsx)("p",{className:"my-4 text-xs",children:"Already have an account?"}),(0,s.jsx)(h(),{href:d.Z.base("/login"),children:(0,s.jsx)("a",{children:(0,s.jsx)(a.Z,{variant:"success",children:"Login"})})})]})},v=t(47568),g=t(97582),b=t(40852),y=t(25617),x=t(96946),j=t(30319),Z=function(e){var n=(0,y.v9)((function(e){return e.auth})),t=n.user,s=n.checkLogin,r=(0,i.useState)(!0),a=r[0],o=r[1],c=(0,j.qG)({extendedResult:!1},{immediate:!1}),l=(c.isLoading,c.error,c.data,c.getData);return(0,x.Z)((0,v.Z)((function(){return(0,g.__generator)(this,(function(n){return s&&!t&&l().then((function(n){n&&b.Z.checkPaywall(e,n).then((function(e){return o(e)}))})),[2]}))})),[s,e,t]),a};function w(e){var n=e.source,t=Z(n);return(0,s.jsx)(r.Z,{show:!t,backdrop:!0,dialogClassName:"modal-fullscreen flex justify-center items-center",children:(0,s.jsx)(r.Z.Body,{className:"p-8 pt-0 text-center flex flex-col justify-center items-center",children:(0,s.jsx)(f,{})})})}},39554:function(e,n,t){t.d(n,{c:function(){return l}});var s=t(47568),r=t(97582),i=t(67294),a=t(25617),o=36e5;function c(e){var n=localStorage.getItem("copyCount_".concat(e));return n?JSON.parse(n):{count:0,timestamp:Date.now()}}var l=function(e){var n=e.applyWordLimitPolicy,t=e.itemKey,l=(0,a.v9)((function(e){return e.auth})),u=l.checkLogin,d=l.user;return(0,i.useCallback)(function(){var e=(0,s.Z)((function(e){var s,i,a,l,m,h,p,f,v;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:if(!u)return[2,null];if(!n||(null===d||void 0===d||null===(s=d.extra)||void 0===s?void 0:s.ipvm_employee))return[2];if(i=c(t),a=i.count,l=i.timestamp,m=Date.now(),a>=3&&m-l<o)return alert("".concat(null===d||void 0===d?void 0:d.first_name," ").concat(null===d||void 0===d?void 0:d.last_name,", you have already copied three times from this item and that is the maximum for an item in an hour. IPVM reporting may not be shared with non-subscribers or publicly. If you need help, please contact us at [email protected]")),e.preventDefault(),[2];if(!(h=window.getSelection()))return[2];if(!(p=h.toString().trim()))return[2];e.preventDefault(),f=function(e,n){var t,s=e.trim().split(/\s+/),r=(null===n||void 0===n||null===(t=n.extra)||void 0===t?void 0:t.research)?200:100;if(s.length<=r)return e;var i=n?"is for ".concat(n.first_name," ").concat(n.last_name," and "):"";return"".concat(s.slice(0,r).join(" "),"\n\u26a0\ufe0f IPVM does not allow copying of its information to non-subscribers, even within the same organization, and restricts copying to ").concat(r," words max. This ").concat(i,"may only be shared with verified active IPVM subscribers. If you need help, please contact us at [email protected]")}(p,d),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(f)];case 2:return r.sent(),function(e){var n=c(e),t=Date.now(),s=t-n.timestamp>o?{count:1,timestamp:t}:{count:n.count+1,timestamp:n.timestamp};try{localStorage.setItem("copyCount_".concat(e),JSON.stringify(s))}catch(v){return console.error("Failed to update copy count:",v),!1}}(t),[3,4];case 3:return v=r.sent(),console.error("Failed to copy text using Clipboard API:",v),[3,4];case 4:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[u,n,d,t])}},35033:function(e,n,t){t.d(n,{L:function(){return r}});var s=t(67294),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.prevent,t=void 0===n||n;(0,s.useEffect)((function(){if(t){var e=document.createElement("style");e.innerHTML="\n @media all {\n body {\n display: none !important;\n }\n }\n\n @media screen { \n body {\n display: block !important;\n }\n }\n ";var n=function(e){(e.ctrlKey||e.metaKey)&&"s"===e.key&&e.preventDefault(),(e.ctrlKey||e.metaKey)&&"p"===e.key&&e.preventDefault(),"PrintScreen"===e.key&&e.preventDefault()};return window.addEventListener("keydown",n),document.head.appendChild(e),function(){window.removeEventListener("keydown",n),document.head.removeChild(e)}}}),[t])}},71413:function(e,n){var t;!function(e){e[e.other=0]="other",e[e.home=1]="home",e[e.report=2]="report",e[e.discussion=3]="discussion"}(t||(t={})),n.Z=t}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.