PageSourceSearch

https://legateca.com/assets/index-BLUlY5na.js

js legateca.com collected 2026-10-06 13:42:47 UTC 43,182 bytes, 12 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginPage-DjC4mV7i.js","assets/vendor-CNlRBQKV.js","assets/vendor-lodash-B3EhnKIF.js","assets/vendor-DmE3OEjx.css","assets/cybersiaraCaptcha-Cv14Q37N.js","assets/LayoutForLoginPages-DXJspXx9.js","assets/About-BUtDk5S4.js","assets/ImageWithText-DTIdaL76.js","assets/ImageWithText-DimVFEhC.css","assets/NavigationItem-CoOWDgyb.css","assets/blogs--TeOBwV_.js","assets/blogsArticle-DL1R97jh.js","assets/index-CGrxbDSY.js","assets/Aboutus-DhHxGBHC.js","assets/Ourteam-BLzFboQs.js","assets/index-Bc5FNMe0.js","assets/index-vd7elT4-.js","assets/services-Dc41N-kg.js","assets/index-Bepd3iu9.js","assets/index-DZqIbJml.js","assets/index-C-Eut_h-.js","assets/index-TvyOaXdn.js","assets/Lawyem-35f76cgx.js","assets/Lawyem-DVMR7Jzz.js","assets/LawyemProfile-CL014iYU.js","assets/vendor-fullcalendar-BkyuqqGC.js","assets/SignUpPage-D_yISIcT.js","assets/ForgotPasswordPage-1y1M4sCb.js","assets/SendResetPassword-BwFpCrLl.js","assets/verifyEmail-CqfibMBv.js","assets/index-BzYW2r0g.js","assets/index-CRnWtvlm.js","assets/index-v4f1RpTo.js","assets/index-DgDJOuGj.js","assets/PageSummary-L6v8Vjii.js","assets/MySchedulePage-fwugZPw_.js","assets/SettingPage-HeJx-7zg.js","assets/index-DuR8OQyE.js","assets/PaymentPage-D7CvTeyx.js","assets/stripeLoader-WB8xrQd3.js","assets/index-BjbH06vn.js","assets/autoLogin-DJgFD3ih.js"])))=>i.map(i=>d[i]);
2var we=Object.defineProperty;var ve=(t,s,a)=>s in t?we(t,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[s]=a;var q=(t,s,a)=>ve(t,typeof s!="symbol"?s+"":s,a);import{b as e,f as z,c as ye,e as je,h as be,k as _e,m as Ne,M as ke,n as Ce,o as Pe,p as Se,q as Ee,t as Ie,s as Le,u as Q,v as X,w as U,r as p,F as Ae,L as Te,R as d,z as he,A as De,B as $,C as ee,X as te,N as b,E as ae,H as Re,I as Oe,S as ze,J as l,K as $e,O as me,P as Fe,Q as Ue,T as se,U as Ve,V as Me,W as qe,Y as He}from"./vendor-CNlRBQKV.js";import"./vendor-lodash-B3EhnKIF.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))o(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function a(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(n){if(n.ep)return;n.ep=!0;const r=a(n);fetch(n.href,r)}})();const Be="modulepreload",Ge=function(t){return"/"+t},ne={},h=function(s,a,o){let n=Promise.resolve();if(a&&a.length>0){let C=function(x){return Promise.all(x.map(y=>Promise.resolve(y).then(N=>({status:"fulfilled",value:N}),N=>({status:"rejected",reason:N}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),f=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));n=C(a.map(x=>{if(x=Ge(x),x in ne)return;ne[x]=!0;const y=x.endsWith(".css"),N=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${x}"]${N}`))return;const j=document.createElement("link");if(j.rel=y?"stylesheet":Be,y||(j.as="script"),j.crossOrigin="",j.href=x,f&&j.setAttribute("nonce",f),document.head.appendChild(j),y)return new Promise((k,L)=>{j.addEventListener("load",k),j.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${x}`)))})}))}function r(i){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=i,window.dispatchEvent(f),!f.defaultPrevented)throw i}return n.then(i=>{for(const f of i||[])f.status==="rejected"&&r(f.reason);return s().catch(r)})},We=()=>e.jsxs("div",{className:"flex items-center justify-center h-screen bg-gray-50",children:[e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-4 border-t-4 border-[#006766]",role:"status","aria-label":"loading"}),e.jsx("p",{className:"ml-4 text-[#006766] text-lg font-medium",children:"Loading Legateca assets..."})]}),Qe={VITE_APP_API_URL:"https://api.legateca.com"},{VITE_APP_API_URL:Xe}=Qe,K=z().configure(z.hooks()).configure(z.rest(Xe).axios(ye)).configure(z.authentication({storage:window.localStorage,storageKey:"idToken"})),v=je(K,["authentication","users","blogs","availability","google-calendar-auth","categories","questions","user-answers","payment","transactions","impersonation","general-availability","booking","ratings","accountancy","general-data","contact-us","chnage-password","availability-exception"]),V=be(K,{isUserAuthorized:t=>t}),Ke="SERVICES_AUTHENTICATION_AUTHENTICATE_FULFILLED";function Ye(t,s){let a=t;switch(s.type!==Ke&&(a=V.reducer(t,s)),s.type){case"SERVICES_AUTHENTICATION_CREATE_FULFILLED":return Object.assign({},a,{isSignedIn:!0,token:s.payload.accessToken,user:s.payload.user});default:return a}}const Je={auth:Ye,users:v.users.reducer,availability:v.availability.reducer,form:Ne,"google-calendar-auth":v["google-calendar-auth"].reducer,categories:v.categories.reducer,questions:v.questions.reducer,"user-answers":v["user-answers"].reducer,payment:v.payment.reducer,transactions:v.transactions.reducer,impersonation:v.impersonation.reducer,"general-availability":v["general-availability"].reducer,booking:v.booking.reducer,ratings:v.ratings.reducer,accountancy:v.accountancy.reducer,"general-data":v["general-data"].reducer,"contact-us":v["contact-us"].reducer,"chnage-password":v["chnage-password"].reducer,"availability-exception":v["availability-exception"].reducer},Ze=_e(Je);var F;try{var R="test-localstorage-"+Date.now();sessionStorage.setItem(R,R);var et=sessionStorage.getItem(R);if(sessionStorage.removeItem(R),et!==R)throw new Error;F=sessionStorage}catch{F=new ke("backupStorage")}const tt=()=>{try{const t=F.getItem("state");return t===null?void 0:JSON.parse(t)}catch(t){console.log("Failed to load state: "+t);return}},at=t=>{try{const s=JSON.stringify(t);F.setItem("state",s)}catch{}},st=t=>s=>a=>(a.payload&&typeof a.payload!="undefined"&&typeof a.payload.code!="undefined"&&(a.payload.code===401||a.payload.code===500)&&t.dispatch(V.logout()),s(a)),nt=Ce.composeWithDevTools(Pe(Se(),Ie,st)),rt=tt(),D=Ee(Ze,rt,nt);D.subscribe(()=>{at({auth:{isSignedIn:D.getState().auth.isSignedIn,token:D.getState().auth.token,user:D.getState().auth.user}})});const W=Le.bindWithDispatch(D.dispatch,v),re="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/inflowq_logo.webp",oe="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/law-simplified-logo-154x91-extra.webp",ie="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/uklta-logo-154x90-extra.webp",le="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/logo-green-410x75-extra.webp",ot="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/clock.svg",it="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/phone.svg",lt="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/envelope.svg",ct="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/twitterX.svg",dt="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/twitterXGreen.svg",xt="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/WhatsAppButtonGreenSmall.svg",ut=t=>{var i,f,C,x,y,N,j,k,L,A,m,E;const s=_=>{const c=T=>
2"/"+String(T).split("/").filter(Boolean).join("/"),u=T=>T.replace(/(\/service)+/g,"/service"),g=c(_),P=u(g);t&&t.history&&t.history.location&&t.history.location.pathname===P||t.history.push(P)};p.useEffect(()=>{W["general-data"].find({}),console.log("Footer Props",W["general-data"].find({}))},[]);let[a,o]=p.useState(!0);const[n,r]=p.useState(!1);return p.useEffect(()=>{localStorage.getItem("isCookieAccept")&&o(!1)},[]),e.jsxs("footer",{className:"w-full",children:[e.jsxs("div",{className:"md:hidden flex flex-col items-start gap-[30px]  padding-md ",children:[e.jsx("img",{className:"max-w-[234px] min-w-[234px] min-h-[43px] max-h-[43px] ",alt:"nill",src:le,width:"234",height:"36"}),e.jsx("p",{className:"text-[#4D5053] 3xl:text-[30px] text-base not-italic font-normal max-w-[392px] py-0 my-0 leading-[150%] tracking-[0.16px]",children:"Cost effective legal consulting and dispute resolution service available in the UK"}),e.jsx("div",{className:"flex items-center justify-between w-full mb-[30px]",children:[{src:oe,link:"https://law-simplified.co.uk/we-are-proudly-collaborating-with-legateca-the-pioneers-in-legal-tech/"},{src:ie,link:"https://www.uklta.org.uk/our-members/"},{src:re,link:"https://inflowq.com/"}].map((_,c)=>e.jsx("a",{target:"_blank",href:_.link,children:e.jsx("img",{className:"max-w-[120px] max-h-[52px] 3xl:max-w-[160px] 3xl:max-h-[82px]",src:_.src,alt:"logoImgs",width:"88",height:"52"})},c))})]}),e.jsxs("div",{className:"w-full border-y border-[#00000021] py-[50px] padding-md lg:px-[120px] grid md:grid-cols-2 grid-col-1  gap-4 xl:gap-0 lg:flex justify-between",children:[e.jsxs("div",{className:"hidden md:flex flex-col items-start gap-[30px] ",children:[e.jsx("img",{className:"max-w-[202px] min-w-[202px] max-h-[36px] min-h-[36px] 3xl:max-w-[234px] 3xl:min-w-[234px] 3xl:min-h-[58px] 3xl:max-h-[58px]",alt:"nill",src:le,width:"234",height:"36"}),e.jsx("p",{className:"text-[#4D5053]  3xl:text-[30px] text-base not-italic font-normal 3xl:max-w-[480px] max-w-[392px] py-0 my-0 leading-[150%] tracking-[0.16px]",children:"Cost effective legal consulting and dispute resolution service available in the UK"}),e.jsx("div",{className:"flex items-center gap-[30px] ",children:[{src:oe,link:"https://law-simplified.co.uk/we-are-proudly-collaborating-with-legateca-the-pioneers-in-legal-tech/"},{src:ie,link:"https://www.uklta.org.uk/our-members/"},{src:re,link:"https://inflowq.com/"}].map((_,c)=>e.jsx("a",{target:"_blank",href:_.link,children:e.jsx("img",{className:"max-w-[150px] max-h-[52px] 3xl:max-w-[160px] 3xl:max-h-[82px]",src:_.src,alt:"logoImgs",width:"61",height:"52"})},c))})]}),e.jsxs("div",{className:"flex flex-col gap-[9px] max-w-[120px] 3xl:max-w-[320px]",children:[e.jsx("div",{className:"text-[#292F36] text-lg 3xl:text-[30px] not-italic lg:font-semibold leading-[125%] uppercase",children:"Featured"}),e.jsxs("div",{className:"text-[#4D5053] lg:text-base 3xl:text-[26px] text-sm cursor-pointer not-italic font-normal !leading-[300%] tracking-[0.16px]",children:[e.jsx("span",{onClick:()=>s("/service/prelegate"),children:"Get Started"})," ",e.jsx("span",{onClick:()=>s("/service/recommendate"),children:"Instant Advice"})," ",e.jsx("span",{onClick:()=>s("/lawyer"),children:"Find A Lawyer"})," ",e.jsx("span",{onClick:()=>s("/mediate"),children:"Mediation"})]})]}),e.jsxs("div",{className:"flex flex-col gap-[9px] w-full xl:max-w-[120px] 3xl:max-w-[320px]",children:[e.jsx("div",{className:"text-[#292F36] text-lg not-italic 3xl:text-[30px] lg:font-semibold leading-[125%] uppercase",children:"Quicklinks"}),e.jsxs("div",{className:"text-[#4D5053] lg:text-base text-sm 3xl:text-[26px] cursor-pointer  not-italic font-normal !leading-[300%] tracking-[0.16px]",children:[e.jsx("div",{className:"xl:whitespace-nowrap ",onClick:()=>s("/terms-and-conditions"),children:"Terms & Conditions"}),e.jsx("div",{className:"whitespace-nowrap",onClick:()=>s("/privacy-policy"),children:"Privacy Policy"}),e.jsx("div",{className:"whitespace-nowrap",onClick:()=>s("/partner"),children:"Partnership"}),e.jsx("div",{onClick:()=>s("/faq"),children:"FAQs"})]})]}),e.jsxs("div",{className:"flex flex-col gap-[9px] min-w-[258px] max-w-[258px] 3xl:max-w-[320px] ",children:[e.jsx("div",{className:"text-[#292F36] text-lg not-italic lg:font-semibold 3xl:text-[30px] leading-[125%] uppercase",children:"Contact"}),e.jsx("div",{className:"flex flex-col gap-4",children:e.jsxs("div",{className:"",children:[e.jsxs("div",{className:"max-w-[225px] 3xl:max-w-[320px] flex gap-2 items-center text-[#4D5053] 3xl:text-[26px] text-base not-italic font-normal leading-[150%] tracking-[0.16px]",children:[" ",e.jsx("img",{className:"inline",alt:"LOGO - Watch",width:"17",height:"17",src:ot})," ","MONDAY TO FRIDAY 8:30 - 18:00"]}),e.jsxs("a",{style:{textDecoration:"none"},href:`mailto:${((i=t.generalData.queryResult)==null?void 0:i.data.length)>0?(f=t.generalData.queryResult)==null?void 0:f.data[0].email:""}`,title:`${((C=t.generalData.queryResult)==null?void 0:C.data.length)>0?(x=t.generalData.queryResult)==null?void 0:x.data[0].email:"--"}`,className:"flex gap-2 items-center font-Montserrat text-[#4D5053] 3xl:text-[26px] text-base not-italic font-normal leading-[300%] tracking-[0.16px]",children:[" ",e.jsx("img",{src:lt,alt:"LOGO - Mail Box",width:"17",height:"17"})," ",((y=t.generalData.queryResult)==null?void 0:y.data.length)>0?(N=t.generalData.queryResult)==null?void 0:N.data[0].email:"--"]}),e.jsxs("a",{style:{textDecoration:"none"},href:`tel:${((j=t.generalData.queryResult)==null?void 0:j.data.length)>0?(k=t.generalData.queryResult)==null?void 0:k.data[0].contactNo:"--"}`,title:`${((L=t.generalData.queryResult)==null?void 0:L.data.length)>0?(A=t.generalData.queryResult)==null?void 0:A.data[0].contactNo:"--"}`,className:"flex gap-2 items-center font-Montserrat text-[#4D5053] 3xl:text-[26px] text-base not-italic font-normal leading-[300%] tracking-[0.16px]",children:[e.jsx("img",{src:it,alt:"LOGO - Call",width:"17",height:"17"})," ",((m=t.generalData.queryResult)==null?void 0:m.data.length)>0?(E=t.generalData.queryResult)==null?void 0:E.data[0].contactNo:"--"]})]})}),e.jsxs("div",{className:"max-w-[225px] min-h-[22px] max-h-[22px] 3xl:max-w-[320px] 3xl:min-h-[42px] 3xl:max-h-[42px] curs
2or-pointer flex justify-between items-center",children:[e.jsx("a",{href:"https://www.facebook.com/Legateca",target:"_blank",title:"facebook",rel:"noreferrer",className:"text-decoration-none text-[#252525] w-[17px] 3xl:w-[32px] h-full",children:e.jsx(Ae,{className:"w-5 h-5 text-black fill-black"})}),e.jsx("a",{href:"https://twitter.com/Legateca",target:"_blank",rel:"noreferrer",title:"X",alt:"X-icon",className:"w-[17px] 3xl:w-[32px] h-full",children:e.jsx("img",{src:n?dt:ct,alt:"x",className:"h-full w-full",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)})}),e.jsx("a",{href:"https://www.linkedin.com/company/legateca",target:"_blank",title:"linkedin",rel:"noreferrer",className:"text-decoration-none text-[#252525] w-[17px] 3xl:w-[32px] h-full ",children:e.jsx(Te,{className:"w-5 h-5 hover:text-[#006766] fill-black"})}),e.jsx("a",{href:"https://www.instagram.com/Legateca",target:"_blank",title:"instagram",rel:"noreferrer",className:"text-decoration-none text-[#252525] w-[17px] 3xl:w-[32px] h-full",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",className:"h-full  w-full hover:fill-[#006766]",viewBox:"0 0 50 50",children:e.jsx("path",{d:"M 16 3 C 8.8545455 3 3 8.8545455 3 16 L 3 34 C 3 41.145455 8.8545455 47 16 47 L 34 47 C 41.145455 47 47 41.145455 47 34 L 47 16 C 47 8.8545455 41.145455 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.054545 5 45 9.9454545 45 16 L 45 34 C 45 40.054545 40.054545 45 34 45 L 16 45 C 9.9454545 45 5 40.054545 5 34 L 5 16 C 5 9.9454545 9.9454545 5 16 5 z M 37 11 C 35.9 11 35 11.9 35 13 C 35 14.1 35.9 15 37 15 C 38.1 15 39 14.1 39 13 C 39 11.9 38.1 11 37 11 z M 25 14 C 18.954545 14 14 18.954545 14 25 C 14 31.045455 18.954545 36 25 36 C 31.045455 36 36 31.045455 36 25 C 36 18.954545 31.045455 14 25 14 z M 25 16 C 29.954545 16 34 20.045455 34 25 C 34 29.954545 29.954545 34 25 34 C 20.045455 34 16 29.954545 16 25 C 16 20.045455 20.045455 16 25 16 z"})})}),e.jsx("a",{href:"https://www.youtube.com/channel/UCly74QwTom6btQnaLozddxw",target:"_blank",rel:"noreferrer",title:"youtube",className:"text-decoration-none flex flex-col items-center justify-center text-[#252525] hover:text-[#006766] w-[17px] 3xl:w-[32px] h-full",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 359",fill:"currentColor",children:e.jsx("path",{d:"M501.303 55.965C495.416 33.935 478.068 16.588 456.038 10.7C416.106 -2.86102e-06 256 0 256 0C256 0 95.893 -2.86102e-06 55.961 10.7C33.935 16.588 16.584 33.935 10.697 55.965C0 95.893 0 179.203 0 179.203C0 179.203 0 262.511 10.697 302.435C16.584 324.465 33.935 341.817 55.961 347.704C95.893 358.4 256 358.4 256 358.4C256 358.4 416.106 358.4 456.038 347.704C478.068 341.817 495.416 324.465 501.303 302.435C511.999 262.511 511.999 179.203 511.999 179.203C511.999 179.203 511.999 95.893 501.303 55.965ZM204.797 256.004V102.401L337.816 179.203L204.797 256.004Z",fill:"currentColor"})})})]})]}),e.jsx("div",{className:"max-w-[225px] min-h-[22px] max-h-[22px] 3xl:max-w-[320px] 3xl:min-h-[42px] 3xl:max-h-[42px] cursor-pointer flex justify-between items-center block md:hidden",children:e.jsx("a",{"aria-label":"Chat on WhatsApp",href:"https://wa.me/+441635745074",children:e.jsx("img",{alt:"Chat on WhatsApp",src:xt,width:"160",height:"36"})})})]}),e.jsxs("div",{className:"text-[#252525] text-center 3xl:py-3 text-xs 3xl:text-[30px] 3xl:!leading-[130%] not-italic font-normal leading-9 tracking-[0.24px] capitalize",children:["© Copyrights ",`${new Date().getFullYear()}`,"."," ",e.jsx("span",{className:"text-[#006766] 3xl:text-[30px] 3xl:!leading-[130%] text-xs not-italic font-bold leading-9 tracking-[0.24px] capitalize",children:"Legateca."})," ","All Rights Reserved"]}),a&&e.jsxs("div",{className:"mb-0 z-[100] alert cookie-bar alert-dismissible fade show",role:"alert",children:[e.jsxs("span",{children:["We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.  ",e.jsx("span",{onClick:()=>t.history.push("/privacy-policy"),className:"cookie-privacy",children:"Privacy Policy"})]}),e.jsx("button",{title:"Accept",className:"btn btn-small",onClick:()=>{localStorage.setItem("isCookieAccept",!0),o(!1)},children:"Accept"})]})]})},ht=t=>({user:t.auth&&t.auth.user||!1,generalData:t["general-data"]||{}}),mt=Q(U,X(ht))(ut),pt="/assets/legateca-logo-DO4NTPQn.png",gt="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%2
20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='40px'%20height='40px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.5%207.063C16.5%2010.258%2014.57%2013%2012%2013c-2.572%200-4.5-2.742-4.5-5.938C7.5%203.868%209.16%202%2012%202s4.5%201.867%204.5%205.063zM4.102%2020.142C4.487%2020.6%206.145%2022%2012%2022c5.855%200%207.512-1.4%207.898-1.857a.416.416%200%200%200%20.09-.317C19.9%2018.944%2019.106%2015%2012%2015s-7.9%203.944-7.989%204.826a.416.416%200%200%200%20.091.317z'%20fill='%23ffffff'/%3e%3c/svg%3e",ce="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='40px'%20height='40px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.5%207.063C16.5%2010.258%2014.57%2013%2012%2013c-2.572%200-4.5-2.742-4.5-5.938C7.5%203.868%209.16%202%2012%202s4.5%201.867%204.5%205.063zM4.102%2020.142C4.487%2020.6%206.145%2022%2012%2022c5.855%200%207.512-1.4%207.898-1.857a.416.416%200%200%200%20.09-.317C19.9%2018.944%2019.106%2015%2012%2015s-7.9%203.944-7.989%204.826a.416.416%200%200%200%20.091.317z'%20fill='%23808080'/%3e%3c/svg%3e",de=d.lazy(()=>h(()=>import("./LoginPage-DjC4mV7i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),ft="https://legateca-public-files-prod.s3.eu-west-2.amazonaws.com/legateca-logo-white-283x53.webp",wt=t=>{const[s,a]=p.useState(!1),[o,n]=p.useState(!0),[r,i]=p.useState(""),[f,C]=p.useState("text-white!"),[x,y]=p.useState(""),[N,j]=p.useState(""),[k,L]=p.useState(gt),A=he(),m=De.useParams(),E=A.pathname,_=E.split("/"),c=_[_.length-1],[u,g]=p.useState("hidden");function P(){var w,J,Z;return!((w=t.user)!=null&&w.profile_img)||((J=t.user)==null?void 0:J.profile_img)===""?
2"/no-img.png":(Z=t.user)
2==null?void 0:Z.profile_img}p.useEffect(()=>{t.user.role,t.userData.role},[t.user,t.userData]);const T=()=>{r===""?(i("HeaderToggle"),C("flex flex-col"),y("text-black!"),g("")):(i(""),C("flex flex-row"),y("text-white!"),g("hidden"))},Y=()=>{i(""),C("flex flex-row"),y("text-white!"),g("hidden")};let fe=["about","partner","faq","contact-us","privacy-policy","terms-and-conditions","login","send-code","chnage-password","change-password","signup","profile","prelegate","recommendate","lawyer","articles",`${m.id}`,"mediate",`${m==null?void 0:m.serviceName}`,"lawyer-profile","payment"].includes(c);return e.jsx(e.Fragment,{children:c==="home"||c===""||fe||(m==null?void 0:m.subCategoryId)!==void 0?e.jsxs("div",{className:"main_header",style:{margin:`/service/prelegate/${m==null?void 0:m.subCategoryId}`.includes(E)?"0 ":"",padding:`/service/prelegate/${m==null?void 0:m.subCategoryId}`.includes(E)?"0 20px":"",width:`/service/prelegate/${m==null?void 0:m.subCategoryId}`.includes(E)?"100%":""},children:[e.jsxs("div",{className:"innerHeader",children:[e.jsx("div",{className:"logo",children:e.jsx("div",{className:"header_logo",children:e.jsx($,{to:"/",children:e.jsx("img",{className:"logo",src:ft,alt:"Logo"})})})}),e.jsx("div",{className:"header_navigaion",children:e.jsxs("nav",{className:"navbar navbar-expand-lg navbar-light",children:[e.jsx("button",{className:"navbar-toggler",type:"button",onClick:T,children:e.jsx("span",{className:"toggler-icon",children:e.jsx(ee,{className:"w-6 h-6 text-white"})})}),e.jsxs("div",{className:`navbar-collapse ${r} text-black!`,id:"HeaderToggle",children:[e.jsx("span",{className:"closeNavigation",onClick:Y,children:e.jsx(te,{className:"w-6 h-6 text-black"})}),e.jsxs("ul",{className:`navbar-nav dropdown-menu ${f}`,children:[e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/home",className:`nav-link ${x}`,style:{color:c==="home"||c===""?"#e4b576":"white",transition:"color 0.3s"},children:"Home"})}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{style:{color:"white",transition:"color 0.3s"},onMouseOver:w=>w.target.style.color="#e4b576",onMouseOut:w=>w.target.style.color="white",to:"/about",className:`nav-link ${x}`,activeClassName:"activeIndex",children:"About us"})}),e.jsxs("li",{class:`nav-item features-nav-item relative group ${x}`,children:[e.jsxs("a",{href:"/services",class:`headerFeaturesText mt-2.5! transition-colors hover:text-[#e4b576] inline-flex items-center ${x}`,children:["Features",e.jsx("svg",{class:"ml-1 w-4 h-4 transition-transform group-hover:rotate-180",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})})]}),e.jsxs("ul",{class:`absolute left-0 mt-2 w-52 bg-white rounded-md shadow-lg
3                        opacity-0 invisible group-hover:opacity-100 group-hover:visible
4                        transition-all duration-200 border-t-4! border-ThemeSecondary! 
5                        min-w-40! px-2! py-2!`,children:[e.jsx("li",{children:e.jsx("a",{href:"/service/prelegate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Get Started"})}),e.jsx("li",{children:e.jsx("a",{href:"/service/recommendate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Instant Advice"})}),e.jsx("li",{children:e.jsx("a",{href:"/lawyer",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Find a Lawyer"})}),e.jsx("li",{children:e.jsx("a",{href:"/mediate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Mediation"})})]})]}),e.jsxs("li",{className:"nav-item features-nav-item-mobile dropdown",children:[e.jsx(b,{activeClassName:"activeIndex",to:"/services",className:`nav-link dropdown-toggle ${x} headerFeaturesText`,id:"navbarDropdown",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:"Features"}),e.jsxs("ul",{class:`left-0 mt-2 w-100 duration-200 border-t-4! border-ThemeSecondary! 
6                        min-w-40! p-2! bg-[#DDDDDD]`,children:[e.jsx("li",{className:"hover:bg-[#e9ecef]",children:e.jsx("a",{href:"/service/prelegate",class:"px-4 py-2 text-gray-700 ",children:e.jsxs("div",{className:"flex flex-row ",children:[e.jsx("div",{className:"mt-1.5 w-[19px] h-auto",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#212529","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-4 h-4 text-gray-400",children:e.jsx("path",{d:"M9 6l6 6-6 6"})})}),e.jsx("div",{className:"text-[#212529]",children:"Get Started"})]})})}),e.jsx("li",{className:"hover:bg-[#e9ecef]",children:e.jsx("a",{href:"/service/recommendate",class:"flex flex-col px-4 py-2 text-gray-700 ",children:e.jsxs("div",{className:"flex flex-row ",children:[e.jsx("div",{className:"mt-1.5 w-[19px] h-auto",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#212529","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-4 h-4 text-gray-400",children:e.jsx("path",{d:"M9 6l6 6-6 6"})})}),e.jsx("div",{className:"text-[#212529]",children:"Instant Advice"})]})})}),e.jsx("li",{className:"hover:bg-[#e9ecef]",children:e.jsx("a",{href:"/lawyer",class:"flex flex-col px-4 py-2 text-gray-700",children:e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mt-1.5 w-[19px] h-auto",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#212529","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-4 h-4 text-gray-400",children:e.jsx("path",{d:"M9 6l6 6-6 6"})})}),e.jsx("div",{className:"text-[#212529]",children:"Find a Lawyer"})]})})}),e.jsx("li",{className:"hover:bg-[#e9ecef]",children:e.jsx("a",{href:"/mediate",class:"flex flex-col px-4 py-2 text-gray-700",children:e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mt-1.5 w-[19px] h-auto",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#212529","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-4 h-4 text-gray-400",children:e.jsx("path",{d:"M9 6l6 6-6 6"})})}),e.jsx("div",{className:"text-[#212529]",children:"Mediation"})]})})})]})]}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{style:{color:"white",transition:"color 0.3s"},onMouseOver:w=>w.target.style.color="#e4b576",onMouseOut:w=>w.target.style.color="white",activeClassName:"activeIndex",to:"/articles",className:`nav-link ${x}`,children:"Blogs & Articles"})}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/contact-us",className:`nav-link ${x}`,style:{color:"white",transition:"color 0.3s"},onMouseOver:w=>w.target.style.color="#e4b576",onMouseOut:w=>w.target.style.color="white",children:"Contact us"})})]})]})]})}),!t.user&&e.jsx($,{to:{pathname:"/login",state:"/home"},className:"getStarted align-middle",children:"Login/Signup"}),t.user&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"nav-item flex items-center ",children:e.jsx(b,{activeClassName:"activeIndex",to:"/dashboard/profile",className:"w-[46px] rounded-full h-[46px] overflow-hidden ",children:e.jsx("img",{className:"w-full   h-full object-cover ",src:P(),alt:"Avatar"})})})})]}),e.jsx(ae,{isOpen:s,onRequestClose:()=>{a(!1)},contentLabel:"Example Modal",children:e.jsx(de,{closePopup:()=>a(!1),setIsOpen:a})})]}):e.jsxs("div",{className:"main_header_old",children:[e.jsxs("div",{className:"innerHeader_old container",children:[e.jsx("div",{className:"header_logo",children:e.jsx($,{to:"/",children:e.jsx("img",{src:pt,alt:"Logo"})})}),e.jsxs("div",{className:"header_navigaion_old",children:[e.jsxs("nav",{className:"navbar navbar-expand-lg navbar-light",children:[e.jsx("button",{className:"navbar-toggler",type:"button",onClick:T,children:e.jsx("span",{className:"toggler-icon",children:e.jsx(ee,{className:"w-6 h-6 text-white"})})}),e.jsxs("div",{className:`navbar-collapse ${r} text-black!`,id:"HeaderToggle",children:[e.jsx("span",{className:"closeNavigation",onClick:Y,children:e.jsx(te,{className:"w-6 h-6 text-black"})}),e.jsxs("ul",{className:`navbar-nav ${f}`,children:[e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/h
6ome",className:`nav-link ${x}`,children:"Home"})}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/about",className:`nav-link ${x}`,children:"About"})}),e.jsxs("li",{className:`nav-item features-nav-item dropdown ${u}`,children:[e.jsx(b,{activeClassName:"activeIndex",to:"/services",className:`nav-link dropdown-toggle ${x} headerFeaturesText`,id:"navbarDropdown",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:"Features"}),e.jsxs("ul",{class:`absolute left-0 mt-2 w-52 bg-white rounded-md shadow-lg
7                        opacity-0 invisible group-hover:opacity-100 group-hover:visible
8                        transition-all duration-200 border-t-4! border-ThemeSecondary! 
9                        min-w-40! py-2!`,children:[e.jsx("li",{children:e.jsx("a",{href:"/service/prelegate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Get Started"})}),e.jsx("li",{children:e.jsx("a",{href:"/service/recommendate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Instant Advice"})}),e.jsx("li",{children:e.jsx("a",{href:"/lawyer",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Find a Lawyer"})}),e.jsx("li",{children:e.jsx("a",{href:"/mediate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Mediation"})})]})]}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/articles",className:`nav-link ${x}`,children:"Blog & Articles"})}),e.jsx("li",{className:"nav-item",children:e.jsx(b,{activeClassName:"activeIndex",to:"/contact-us",className:`nav-link ${x}`,children:"Contact us"})}),e.jsxs("li",{className:"nav-item features-nav-item-mobile dropdown",children:[e.jsx(b,{activeClassName:"activeIndex",to:"/services",className:`nav-link dropdown-toggle ${x} headerFeaturesText`,id:"navbarDropdown",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:"Features"}),e.jsxs("ul",{class:`absolute left-0 mt-2 w-52 bg-white rounded-md shadow-lg
10                        opacity-0 invisible group-hover:opacity-100 group-hover:visible
11                        transition-all duration-200 border-t-4! border-ThemeSecondary! 
12                        min-w-40! py-2!`,children:[e.jsx("li",{children:e.jsx("a",{href:"/service/prelegate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Get Started"})}),e.jsx("li",{children:e.jsx("a",{href:"/service/recommendate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Instant Advice"})}),e.jsx("li",{children:e.jsx("a",{href:"/lawyer",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Find a Lawyer"})}),e.jsx("li",{children:e.jsx("a",{href:"/mediate",class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",children:"Mediation"})})]})]}),t.user&&e.jsx(e.Fragment,{children:e.jsx("li",{className:"nav-item",children:t.userData.profile_img?e.jsx(b,{activeClassName:"activeIndex",to:"/dashboard/profile",className:`nav-link ${x}`,children:e.jsx("div",{className:"userAvtar",children:e.jsx("img",{src:k||ce,alt:"Avtar"})})}):e.jsx(b,{activeClassName:"activeIndex",to:"/dashboard/profile",className:`nav-link ${x}`,children:e.jsx("div",{className:"userAvtar",children:e.jsx("img",{src:k||ce,alt:"Avtar"})})})})})]})]})]}),e.jsx("div",{className:"navigation_action_old",children:!t.user&&e.jsx($,{to:{pathname:"/login",state:"/home"},className:"getStarted_old",style:{borderRadius:"5px",background:"#E3B576",display:"inline-flex",padding:"9px 28px",alignItems:"center",color:"white",gap:"21px",fontWeight:500,textDecoration:"none",transition:"background-color 0.3s"},onMouseEnter:w=>w.target.style.backgroundColor="#006766",onMouseLeave:w=>w.target.style.backgroundColor="#E3B576",children:"Login"})})]})]}),e.jsx(ae,{isOpen:s,onRequestClose:()=>{a(!1)},contentLabel:"Example Modal",children:e.jsx(de,{closePopup:()=>a(!1),setIsOpen:a})})]})})},vt=t=>({user:t.auth&&t.auth.user||!1,userData:t.users&&t.users.data||{}}),yt=Q(U,X(vt,{logout:V.logout}))(wt),jt=t=>{const o=he().pathname.split("/"),n=o[o.length-1];return e.jsxs("div",{className:"page_wrapper",children:[n==="home"||n===""?"":e.jsx(yt,{}),e.jsx("main",{className:"main_page",children:t.children}),e.jsx(mt,{})]})},bt=t=>e.jsx(jt,{children:e.jsx("section",{className:"page-breadcumb-area",children:e.jsx("div",{className:"container",children:e.jsx("div",{className:"row",children:e.jsx("div",{className:"col-12",children:e.jsx("div",{className:"wpo-breadcumb-wrap",children:e.jsx("h2",{children:"404 Not Found"})})})})})})}),_t=d.lazy(()=>h(()=>import("./blogs--TeOBwV_.js"),__vite__mapDeps([10,1,2,3,11,6,7,8,9]))),Nt=d.lazy(()=>h(()=>import("./blogsArticle-DL1R97jh.js"),__vite__mapDeps([11,1,2,3,6,7,8,9]))),H=d.lazy(()=>h(()=>import("./index-CGrxbDSY.js"),__vite__mapDeps([12,1,2,3,7,8,9]))),kt=d.lazy(()=>h(()=>import("./Aboutus-DhHxGBHC.js"),__vite__mapDeps([13,1,2,3]))),Ct=d.lazy(()=>h(()=>import("./About-BUtDk5S4.js"),__vite__mapDeps([6,1,2,3,7,8,9]))),Pt=d.lazy(()=>h(()=>import("./Ourteam-BLzFboQs.js"),__vite__mapDeps([14,1,2,3]))),St=d.lazy(()=>h(()=>import("./index-Bc5FNMe0.js"),__vite__mapDeps([15,1,2,3,6,7,8,9,16,4]))),Et=d.lazy(()=>h(()=>import("./services-Dc41N-kg.js"),__vite__mapDeps([17,1,2,3,9]))),It=d.lazy(()=>h(()=>import("./index-vd7elT4-.js"),__vite__mapDeps([16,1,2,3,6,7,8,9,4]))),Lt=d.lazy(()=>h(()=>import("./index-Bepd3iu9.js"),__vite__mapDeps([18,1,2,3,6,7,8,9]))),At=d.lazy(()=>h(()=>import("./index-DZqIbJml.js"),__vite__mapDeps([19,1,2,3,6,7,8,9]))),Tt=d.lazy(()=>h(()=>import("./index-C-Eut_h-.js"),__vite__mapDeps([20,1,2,3,6,7,8,9,19]))),Dt=d.lazy(()=>h(()=>import("./index-TvyOaXdn.js"),__vite__mapDeps([21,1,2,3]))),B=d.lazy(()=>h(()=>import("./Lawyem-35f76cgx.js"),__vite__mapDeps([22,1,2,3,23,6,7,8,9]))),xe=d.lazy(()=>h(()=>import("./LawyemProfile-CL014iYU.js"),__vite__mapDeps([24,1,2,3,25,23,6,7,8,9]))),Rt=d.lazy(()=>h(()=>import("./LoginPage-DjC4mV7i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),Ot=
12d.lazy(()=>h(()=>import("./SignUpPage-D_yISIcT.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9]))),zt=d.lazy(()=>h(()=>import("./ForgotPasswordPage-1y1M4sCb.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,0]))),$t=d.lazy(()=>h(()=>import("./SendResetPassword-BwFpCrLl.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,0]))),Ft=d.lazy(()=>h(()=>import("./verifyEmail-CqfibMBv.js"),__vite__mapDeps([29,1,2,3]))),Ut=d.lazy(()=>h(()=>import("./index-BzYW2r0g.js"),__vite__mapDeps([30,1,2,3]))),Vt=d.lazy(()=>h(()=>import("./index-CRnWtvlm.js"),__vite__mapDeps([31,1,2,3]))),Mt=d.lazy(()=>h(()=>import("./index-v4f1RpTo.js"),__vite__mapDeps([32,1,2,3,23,6,7,8,9]))),qt=d.lazy(()=>h(()=>import("./index-DgDJOuGj.js"),__vite__mapDeps([33,1,2,3,6,7,8,9]))),Ht=d.lazy(()=>h(()=>import("./PageSummary-L6v8Vjii.js"),__vite__mapDeps([34,1,2,3,23,6,7,8,9,16,4]))),Bt=d.lazy(()=>h(()=>import("./MySchedulePage-fwugZPw_.js"),__vite__mapDeps([35,1,2,3,25]))),Gt=d.lazy(()=>h(()=>import("./SettingPage-HeJx-7zg.js"),__vite__mapDeps([36,1,2,3,37]))),Wt=d.lazy(()=>h(()=>import("./PaymentPage-D7CvTeyx.js"),__vite__mapDeps([38,1,2,3,39,6,7,8,9]))),Qt=d.lazy(()=>h(()=>import("./index-BjbH06vn.js"),__vite__mapDeps([40,1,2,3,37,39,6,7,8,9]))),Xt=d.lazy(()=>h(()=>import("./autoLogin-DJgFD3ih.js"),__vite__mapDeps([41,1,2,3])));(()=>{if(typeof window=="undefined"||!window.location.pathname.startsWith("/articles"))return;window.Stripe=void 0;const s=document.createElement;document.createElement=function(a,o){const n=s.call(document,a,o);return a==="script"&&Object.defineProperty(n,"src",{set(r){typeof r=="string"&&r.includes("js.stripe.com")}}),n}})();class Kt extends p.Component{constructor(){super(...arguments);q(this,"state",{reauthenticated:!1});q(this,"componentWillMount",async()=>{const a=localStorage.getItem("idToken");a&&await W.authentication.create({strategy:"jwt",accessToken:a})})}async componentDidMount(){try{await K.authenticate()}catch{}finally{this.setState({reauthenticated:!0})}}render(){return this.state.reauthenticated?e.jsxs(Re,{children:[e.jsxs(Oe,{children:[e.jsx("title",{children:"Legateca - Legal Aid, Family Law Advice, Corporate Finance Lawyer"}),e.jsx("meta",{id:"baseDescription",name:"description",content:"Professional legal advice powered by AI. Affordable, fast, and reliable legal services."}),e.jsx("meta",{id:"basekeywords",name:"keywords",content:"legal advice, family law, employment law, lawyers UK"})]}),e.jsx(p.Suspense,{fallback:e.jsx(We,{}),children:e.jsxs(ze,{children:[e.jsx(l,{exact:!0,path:"/articles",component:_t}),e.jsx(l,{exact:!0,path:"/articles/:id",component:Nt}),e.jsx(l,{exact:!0,path:"/",component:H}),e.jsx(l,{exact:!0,path:"/home",component:H}),e.jsx(l,{exact:!0,path:"/dashboard",component:H}),e.jsx(l,{exact:!0,path:"/login",component:Rt}),e.jsx(l,{exact:!0,path:"/signup",component:Ot}),e.jsx(l,{exact:!0,path:"/send-code",component:$t}),e.jsx(l,{exact:!0,path:"/verify-email",component:Ft}),e.jsx(l,{exact:!0,path:"/change-password",component:zt}),e.jsx(l,{exact:!0,path:"/about-us",component:kt}),e.jsx(l,{exact:!0,path:"/about",component:Ct}),e.jsx(l,{exact:!0,path:"/our-team",component:Pt}),e.jsx(l,{exact:!0,path:"/contact-us",component:St}),e.jsx(l,{exact:!0,path:"/services",component:Et}),e.jsx(l,{exact:!0,path:"/faq",component:Lt}),e.jsx(l,{exact:!0,path:"/partner",component:It}),e.jsx(l,{exact:!0,path:"/privacy-policy",component:At}),e.jsx(l,{exact:!0,path:"/terms-and-conditions",component:Tt}),e.jsx(l,{exact:!0,path:"/disclaimer",component:Dt}),e.jsx(l,{exact:!0,path:"/lawyer",render:a=>e.jsx(B,{userRole:"lawyer",...a})}),e.jsx(l,{exact:!0,path:"/lawyer/:tag",render:a=>e.jsx(B,{userRole:"lawyer",...a})}),e.jsx(l,{exact:!0,path:"/lawyer-profile/:id",render:a=>e.jsx(xe,{userRole:"lawyer",...a})}),e.jsx(l,{exact:!0,path:"/mediate",render:a=>e.jsx(B,{userRole:"mediator",...a})}),e.jsx(l,{exact:!0,path:"/mediate-profile/:id",render:a=>e.jsx(xe,{userRole:"mediator",...a})}),e.jsx(l,{exact:!0,path:"/service/:serviceName",component:Mt}),e.jsx(l,{exact:!0,path:"/service/:service/:subCategoryId",component:qt}),e.jsx(l,{exact:!0,path:"/prelegate/:serviceName",component:Ht}),e.jsx(l,{exact:!0,path:"/dashboard/profile",component:Qt}),e.jsx(l,{exact:!0,path:"/dashboard/settings",component:Gt}),e.jsx(l,{exact:!0,path:"/dashboard/my-schedule",component:Bt}),e.jsx(l,{exact:!0,path:"/payment",component:Wt}),e.jsx(l,{exact:!0,path:"/list",component:Ut}),e.jsx(l,{exact:!0,path:"/form",component:Vt}),e.jsx(l,{exact:!0,path:"/impersonation/:token",component:Xt}),e.jsx(l,{path:"*",component:bt})]})})]}):null}}const Yt=Q(U,X(null,{authenticate:V.authenticate}))(Kt),Jt="eu-west-2_L2zYNIiTF",Zt="8ufn5npku15jjl58k5qvldg5d",pe={UserPoolId:`${Jt}`,ClientId:`${Zt}`};console.log("poolData:",pe);const M=new $e(pe);let S=M.getCurrentUser();function O(t){const s={Username:t,Pool:M};return new Ue(s)}async function ea(){return S||(S=M.getCurrentUser()),new Promise(function(t,s){S.getSession(function(a,o){a?s(a):t(o)})}).catch(t=>{throw t})}async function ta(t,s,a){return new Promise(function(o,n){const r=[new me({Name:"email",Value:s})];M.signUp(t,a,r,[],function(i,f){i?n(i):o(f)})}).catch(o=>{throw o})}async function aa(t,s){return new Promise(function(a,o){O(t).confirmRegistration(s,!0,function(r,i){r?o(r):a(i)})}).catch(a=>{throw a})}async function sa(t){return new Promise(function(s,a){O(t).resendConfirmationCode(function(n,r){n?a(n):s(r)})}).catch(s=>{throw s})}
12async function na(t,s){return new Promise(function(a,o){const n={Username:t,Password:s},r=new Fe(n);S=O(t),S.authenticateUser(r,{onSuccess:function(i){a(i)},onFailure:function(i){o(i)}})}).catch(a=>{throw a})}function ra(){S&&S.signOut()}async function oa(){return new Promise(function(t,s){S.getUserAttributes(function(a,o){a?s(a):t(o)})}).catch(t=>{throw t})}async function ia(t){return new Promise(function(s,a){const o=[],n=new me(t);o.push(n),S.updateAttributes(o,(r,i)=>{r?a(r):s(i)})}).catch(s=>{throw s})}async function la(t){return new Promise(function(s,a){const o=O(t);if(!o){a(`could not find ${t}`);return}o.forgotPassword({onSuccess:function(n){s(n)},onFailure:function(n){a(n)}})}).catch(s=>{throw s})}async function ca(t,s,a){return new Promise(function(o,n){const r=O(t);if(!r){n(`could not find ${t}`);return}r.confirmPassword(s,a,{onSuccess:function(){o("password updated")},onFailure:function(i){n(i)}})})}async function da(t,s){return new Promise(function(a,o){S.changePassword(t,s,function(n,r){n?o(n):a(r)})})}const I={Loading:0,SignedIn:1,SignedOut:2},xa={sessionInfo:{},authStatus:I.Loading},ge=d.createContext(xa),va=({children:t})=>{const{authStatus:s}=p.useContext(ge);return new URLSearchParams(window.location.search).get("type"),e.jsx(e.Fragment,{children:t})},ua=({children:t})=>{const[s,a]=p.useState(I.Loading),[o,n]=p.useState({}),[r,i]=p.useState([]);if(p.useEffect(()=>{async function c(){try{const u=await N();n({accessToken:u.accessToken.jwtToken,refreshToken:u.refreshToken.token,idToken:u.idToken.jwtToken}),window.localStorage.setItem("accessToken",`${u.accessToken.jwtToken}`),window.localStorage.setItem("refreshToken",`${u.refreshToken.token}`),window.localStorage.setItem("idToken",`${u.idToken.jwtToken}`),await k({Name:"website",Value:"Legateca"});const g=await j();i(g),a(I.SignedIn)}catch{a(I.SignedOut)}}c()},[a,s]),s===I.Loading)return null;async function f(c,u){try{let g=await na(c,u);return a(I.SignedIn),g}catch(g){throw a(I.SignedOut),g}}async function C(c,u,g){try{return await ta(u,u,g)}catch(P){throw P}}function x(){ra(),a(I.SignedOut)}async function y(c,u){try{return await aa(c,u)}catch(g){throw g}}async function N(){try{return await ea()}catch(c){throw c}}async function j(){try{return await oa()}catch(c){throw c}}async function k(c){try{return await ia(c)}catch(u){throw u}}async function L(c){try{return await sa(c)}catch(u){throw u}}async function A(c){try{return await la(c)}catch(u){throw u}}async function m(c,u,g){try{return await ca(c,u,g)}catch(P){throw P}}async function E(c,u){try{await da(c,u)}catch(g){throw g}}const _={authStatus:s,sessionInfo:o,attrInfo:r,signUpWithEmail:C,signInWithEmail:f,signOut:x,verifyCode:y,getSession:N,sendCode:A,forgotPassword:m,changePassword:E,getAttributes:j,setAttribute:k,resendVerificationCode:L};return e.jsx(ge.Provider,{value:_,children:t})};class ha extends p.Component{componentDidUpdate(s){const{location:a}=this.props;a.pathname!==s.location.pathname&&window.scrollTo(0,0)}render(){const{children:s}=this.props;return s}}const ma=U(ha),G=document.getElementById("root"),ue=()=>e.jsx(Ve,{children:e.jsx(Me,{store:D,children:e.jsx(ua,{children:e.jsxs(ma,{children:[e.jsx(qe,{children:e.jsx(Yt,{})}),e.jsx(He,{})]})})})});function pa(){G.hasChildNodes()?se.hydrate(ue(),G):se.render(ue(),G)}pa();export{ge as A,mt as F,yt as H,jt as L,Ke as S,h as _,K as a,va as b,V as f,W as s};

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.