PageSourceSearch

https://direk.io/_next/static/chunks/6601-f384530ecaf9fd29.js

js direk.io collected 2026-10-08 22:34:31 UTC 7,287 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6601],{56601:function(e,l,o){"use strict";o.d(l,{R:function(){return PopupAds}});var s=o(85893),i=o(20967),t=o(67990),n=o(19778),r=o(14581),a=o(66205),d=o(54346),u=o(71293),c=o(57747),p=o(14225),x=o(81136),v=o(78618),m=o.n(v),h=o(67294),f=o(83781),j=o.n(f),g=o(69315),y=o.n(g),S=o(74494),E=o.n(S),T=o(54801),_=o(78887),z=o(89583);let PopupAds=e=>{let{FileLink:l,children:o,TargetFile:v,customText:f,autoOpen:g=!1}=e,{isOpen:S,onOpen:C,onClose:w}=(0,i.q)(),[b,N]=h.useState({TargetFile:v}),{isLoading:A,send:P}=(0,_.Z)(),[k,Z]=h.useState({}),[H,M]=h.useState(""),[I,O]=h.useState("");(0,h.useEffect)(()=>{if(g){C();return}o||setTimeout(()=>{C()},2e4)},[]);let SubmitHandler=async()=>{M(""),O(""),Z({});let{response:e,errorMessage:l}=await P({method:_.e.POST,url:o?"/api/RequetDownloadFile":"/api/StartFreeTrial",data:b});e?(N({Name:"",Email:"",Institution:""}),M("Sent successfully"),g&&(window.location.href="/"),setTimeout(()=>{w()},2e3)):l&&("object"==typeof l?Z(l):O(l))};return(0,s.jsxs)(s.Fragment,{children:[o&&h.cloneElement(o,{onClick:C}),(0,s.jsxs)(t.u_,{onClose:w,isOpen:g||S,isCentered:!0,size:"xl",children:[(0,s.jsx)(n.Z,{}),(0,s.jsxs)(r.h,{className:m().module,children:[!g&&(0,s.jsx)(a.o,{style:{color:"white",margin:"0px"}}),(0,s.jsx)("br",{}),(0,s.jsx)(d.f,{children:(0,s.jsxs)("div",{className:m().pan,children:[(0,s.jsx)(u.x,{style:j().style,color:"#1b284d",fontSize:"18px",children:f?"":o?"Discover the Difference!":"Start Your Exclusive Risk-Free Trial Today!"}),(0,s.jsx)(u.x,{style:y().style,color:"#2849A1",fontSize:"15px",lineHeight:"21px",padding:"5px 0",children:f?"Simply enter your e-mail and ".concat(f,"."):o?"Simply enter your e-mail and download our brochure to see what sets us apart.":"Optimise Indoor Spaces with Smart Sensor Tech for Agile Work & Study Areas"}),!o&&(0,s.jsx)(c.xu,{p:"8px  0",children:["No upfront costs","Privacy-first approach","Precision with 99% accuracy"].map((e,l)=>(0,s.jsx)(u.x,{style:y().style,color:"#454545",fontSize:"13px",children:e},l))}),(0,s.jsxs)(c.xu,{gap:"10px",display:"grid",p:"10px 0 0 0",children:[(0,s.jsxs)(c.xu,{display:"grid",gridTemplate:{sm:"auto / 1fr",md:"auto / 1fr 1fr"},gap:"10px",children:[(0,s.jsxs)(c.xu,{children:[(0,s.jsx)(T.Z,{placeholder:"Name*",value:null==b?void 0:b.Name,onchange:e=>N(l=>(l.Name=e,{...l}))}),(0,s.jsx)(u.x,{pl:"10px",color:"red",fontSize:"14px",size:"sm",children:k.Name})]}),(0,s.jsxs)(c.xu,{children:[(0,s.jsx)(T.Z,{placeholder:"Work-email*",value:null==b?void 0:b.Email,onchange:e=>N(l=>(l.Email=e,{...l}))}),(0,s.jsx)(u.x,{pl:"10px",color:"red",fontSize:"14px",size:"sm",children:k.Email})]})]}),(0,s.jsxs)(c.xu,{children:[(0,s.jsx)(T.Z,{placeholder:"Institution*",value:null==b?void 0:b.Institution,onchange:e=>N(l=>(l.Institution=e,{...l}))}),(0,s.jsx)(u.x,{pl:"10px",color:"red",fontSize:"14px",size:"sm",children:k.Institution})]}),(0,s.jsxs)(c.xu,{children:[(0,s.jsx)(T.Z,{placeholder:"Telephone",value:null==b?void 0:b.Telephone,onchange:e=>N(l=>(l.Telephone=e,{...l}))}),(0,s.jsx)(u.x,{pl:"10px",color:"red",fontSize:"14px",size:"sm",children:k.Telephone})]}),(0,s.jsxs)(c.xu,{children:[H&&(0,s.jsx)(u.x,{pl:"10px",pt:"10px",color:"green",fontSize:"16px",size:"sm",children:H}),I&&(0,s.jsx)(u.x,{pl:"10px",pt:"10px",color:"red",fontSize:"16px",size:"sm",children:I})]}),(0,s.jsxs)(c.xu,{textAlign:"left",children:[A&&(0,s.jsxs)(p.z,{variant:"link",rightIcon:(0,s.jsx)(z.H_v,{}),style:E().style,className:m().submitButton,children:[f||(o?"Download Brochure":"Claim Your Trial"),(0,s.jsx)(x.$,{})]}),!A&&(0,s.jsx)(p.z,{variant:"link",onClick:SubmitHandler,rightIcon:(0,s.jsx)(z.H_v,{}),style:E().style,className:m().submitButton,children:f||(o?"Download Brochure":"Claim Your Trial")})]}),!o&&(0,s.jsx)(c.xu,{p:"10px 0",children:(0,s.jsx)(u.x,{style:y().style,color:"#000",fontSize:"13px",size:"sm",children:"Exclusive offer valid for a limited time!"})})]})]})})]})]})]})}},54801:function(e,l,o){"use strict";var s=o(85893),i=o(33090),t=o(68639),n=o.n(t),r=o(67294),a=o(74494),d=o.n(a);l.Z=(0,r.memo)(e=>{let{placeholder:l,value:o,onchange:t}=e;return(0,s.jsx)(i.I,{value:o,onChange:e=>{t&&t(e.target.value)}
1,style:d().style,className:n().controll,placeholder:l,size:"md"})})},78887:function(e,l,o){"use strict";o.d(l,{e:function(){return i},Z:function(){return useHttpClient}});var s,i,t=o(67294),n=o(87066),r=o(83454);let a=n.Z.create({baseURL:r.env.REACT_APP_BASE_URL,headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},timeout:3e5,transformRequest:[e=>e instanceof FormData?e:JSON.stringify(e)],transformResponse:[e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){}return e}]});function useHttpClient(){let[e,l]=(0,t.useState)(!1),send=async e=>{l(!0);try{(null===(H=e.method)||void 0===H?void 0:H.toLowerCase())==="get"&&e.data&&(e.params=e.data,delete e.data);var o,s,i,t,r,d,u,c,p,x,v,m,h,f,j,g,y,S,E,T,_,z,C,w,b,N,A,P,k,Z,H,M=await a.request(e);return l(!1),{response:M.data,errorMessage:null,statusCode:"200"}}catch(e){l(!1);if(n.Z.isAxiosError(e)){if((null===(i=e.response)||void 0===i?void 0:i.status)===401);else if(null===(t=e.response)||void 0===t?void 0:t.data){let l=null===(m=e.response)||void 0===m?void 0:m.data;(null==l?void 0:l.isError)===!0&&(null==l?void 0:null===(g=l.result)||void 0===g?void 0:null===(j=g.exceptionMessage)||void 0===j?void 0:null===(f=j.error)||void 0===f?void 0:null===(h=f.details)||void 0===h?void 0:h.validationErrors)&&(null==l?void 0:null===(T=l.result)||void 0===T?void 0:null===(E=T.exceptionMessage)||void 0===E?void 0:null===(S=E.error)||void 0===S?void 0:null===(y=S.details)||void 0===y?void 0:y.validationErrors).length>0?(null==l?void 0:null===(Z=l.result)||void 0===Z?void 0:null===(k=Z.exceptionMessage)||void 0===k?void 0:null===(P=k.error)||void 0===P?void 0:null===(A=P.details)||void 0===A?void 0:A.validationErrors).map(e=>e.message).join("\n"):(null==l?void 0:l.isError)===!0&&(null==l?void 0:null===(C=l.result)||void 0===C?void 0:null===(z=C.exceptionMessage)||void 0===z?void 0:null===(_=z.error)||void 0===_?void 0:_.details)?null==l||null===(c=l.result)||void 0===c||null===(u=c.exceptionMessage)||void 0===u||null===(d=u.error)||void 0===d||d.details:(null==l?void 0:l.isError)===!0&&(null==l?void 0:null===(N=l.result)||void 0===N?void 0:null===(b=N.exceptionMessage)||void 0===b?void 0:null===(w=b.error)||void 0===w?void 0:w.message)?null==l||null===(v=l.result)||void 0===v||null===(x=v.exceptionMessage)||void 0===x||null===(p=x.error)||void 0===p||p.message:l&&("string"==typeof l||(l.errors?Object.entries(l.errors).map(e=>{let[l,o]=e;return"".concat(o.join(", "))}).join("; "):l.title&&l.title))}else(null===(r=e.response)||void 0===r?void 0:r.status)&&e.response.status}else e instanceof Error&&e.message;return{response:null,errorMessage:null===(o=e.response)||void 0===o?void 0:o.data,statusCode:null===(s=e.response)||void 0===s?void 0:s.status}}};return{isLoading:e,send}}a.interceptors.request.use(e=>e),(s=i||(i={})).GET="GET",s.POST="POST",s.PUT="PUT",s.DELETE="DELETE",s.PATCH="PATCH"},78618:function(e){e.exports={module:"module_module__wQoMG",pan:"module_pan__yZ9j9",submitButton:"module_submitButton__30bat"}},68639:function(e){e.exports={controll:"module_controll__0HK5V"}}}]);

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.