PageSourceSearch

https://lamtakam.com/static/js/3822.9fd20dda.chunk.js

js lamtakam.com collected 2026-09-25 06:50:49 UTC 16,338 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunklamtakam_ai=self.webpackChunklamtakam_ai||[]).push([[3822],{80983:(e,t,s)=>{s.d(t,{m:()=>a});s(65043);var r=s(85612),n=s(7263),l=s(89087),o=s(70579);const a=e=>{const{link:t,loading:s}=e,[a]=(0,l.useThemeColors)();return s?(0,o.jsx)(r.i,{className:"w-full mt-3 xs:max-w-full md:max-w-[363px] md:max-h-[204px] h-[500px] xs:max-h-[250px] flex justify-center items-center rounded-[5px]",bg:"secondary",children:(0,o.jsx)(n.A,{size:60,color:a.primary})}):(0,o.jsx)("div",{children:(0,o.jsx)("audio",{className:"!block",controls:!0,src:t})})}},62474:(e,t,s)=>{s.d(t,{b:()=>c});var r=s(65043),n=s(85612),l=s(66102),o=s(89087),a=s(40369),i=s(51073),d=s(70579);const c=e=>{let{src:t,loading:s,prompt:c,progress:x=3,isFinal:p}=e;const[m]=(0,o.useThemeColors)(),{dispatchOpenModal:u}=(0,a.hS)(),[h,g]=(0,r.useState)(null),v=Math.max(1,Math.min(x,3)),[f,b]=(0,r.useState)("".concat((3-v)/2*100,"%")),y=(0,r.useRef)(null);(0,r.useEffect)((()=>{p&&setTimeout((()=>{b("0%")}),2e3)}),[p]);return(0,r.useEffect)((()=>{y.current&&g(y.current.clientWidth)}),[t]),(0,d.jsx)(d.Fragment,{children:s?(0,d.jsx)(n.i,{bg:"secondary",className:"relative w-auto h-auto min-w-[300px] min-h-[400px] max-h-[400px] inline-flex items-center justify-center rounded-[5px]",children:(0,d.jsx)(l.A,{size:32,color:m.primary})}):(0,d.jsxs)("div",{className:"inline-block",children:[(0,d.jsxs)("div",{className:"relative w-fit h-auto max-h-[400px] cursor-pointer",onClick:()=>{t&&u({name:i.a.PreviewGeneratedImage,modalProps:{url:t}})},children:[(0,d.jsx)("img",{ref:y,src:t,alt:"generated-img",className:"w-auto h-auto max-h-[400px] object-contain rounded-[5px]",onLoad:()=>{y.current&&g(y.current.clientWidth)}}),(0,d.jsx)("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",height:f,backdropFilter:"blur(25px)",WebkitBackdropFilter:"blur(25px)",transition:"height 8s ease-in-out"}})]}),c&&(0,d.jsx)(n.EY,{elementType:"div",className:"text-[10px] text-center mt-3 break-words mx-auto",lineHeight:"18px",color:"textNotActive",fontWeight:300,translatable:!1,style:{width:h?"".concat(h,"px"):"auto"},children:JSON.parse('"'+c+'"')})]})})}},78048:(e,t,s)=>{s.d(t,{B:()=>i});s(65043);var r=s(36377),n=s(85612),l=s(7263),o=s(89087),a=s(70579);const i=e=>{const{videos:t,loading:s}=e,[i]=(0,o.useThemeColors)();return s?(0,a.jsx)(n.i,{className:"w-full mt-3 xs:max-w-full md:max-w-[363px] md:max-h-[204px] h-[500px] xs:max-h-[250px] flex justify-center items-center rounded-[5px]",bg:"secondary",children:(0,a.jsx)(l.A,{size:60,color:i.primary})}):(0,a.jsx)("div",{className:"w-full mt-3 xs:max-w-full md:max-w-[363px] md:max-h-[204px] xs:max-h-[250px] h-full",children:t.map(((e,t)=>(0,a.jsx)("div",{className:"w-full xs:max-w-full md:max-w-[363px] md:max-h-[204px] xs:max-h-[250px] h-full",children:(0,a.jsx)("div",{className:"w-full h-full",children:(0,a.jsx)(r.A,{src:e.videoLink,controls:!0,width:"100%",height:"100%",className:"rounded-[5px]"})})},t)))})}},96322:(e,t,s)=>{s.d(t,{D:()=>m});var r=s(65043),n=s(85612),l=s(63998),o=s(68948),a=s(19074),i=s(33397),d=s(40369),c=s(51073),x=s(17011),p=s(70579);const m=e=>{let{fileName:t}=e;const{direction:s}=(0,l.ok)(),{dispatchOpenModal:m}=(0,d.hS)(),u=t.split("|"),[h,g]=(0,r.useState)(!1),v=(0,r.useRef)(null),f=t.includes(".wav")||t.includes(".mp3")||t.includes(".m4a")||t.includes(".ogg");return(0,p.jsxs)(n.i,{borderWidth:"1px",borderStyle:"solid",borderColor:"border",className:"rounded-[10px] inline-flex items-center ps-[12px] mt-[38px] pe-[16px] py-[8px] cursor-pointer",dir:s,onClick:f?void 0:()=>{f||m({name:c.a.PreviewGeneratedImage,modalProps:{url:t}})},children:[(0,p.jsx)(n.i,{bg:f?"iconColor":"tertiary",className:"w-[34px] h-[34px] rounded-[10px] flex justify-center items-center flex-shrink-0",onClick:f?async()=>{v.current&&(h?v.current.pause():await v.current.play())}:void 0,children:f?(0,p.jsx)(n.In,{Component:h?o.A:a.A,size:21,variant:"Bold",color:"white"}):(0,p.jsx)(n.In,{Component:i.A,size:20,color:"white"})}),(0,p.jsx)(n.EY,{elementType:"span",className:"text-xs ms-3 leading-[1.6] break-words ".concat(f?"w-auto":"ltr me-3"),fontWeight:200,color:"text",translatable:!1,
1children:f?u[1]:(0,x.VB)(t)}),f&&(0,p.jsx)("audio",{ref:v,src:u[0],onPlay:()=>g(!0),onPause:()=>g(!1),onEnded:()=>{g(!1)}})]})}},72766:(e,t,s)=>{s.d(t,{y:()=>p});var r=s(65043),n=s(85612),l=s(48945),o=s(25686),a=s(56496),i=s(82290),d=s(63998),c=s(78266),x=s(70579);const p=()=>{var e,t,s,p,m;const{locale:u}=(0,d.ok)(),{getSubscriptionPlansData:h}=(0,i.pD)(),{plans:g}=(null===h||void 0===h?void 0:h.data)||{},v=e=>window.location.href="https://lamtakam.com".concat((0,c.T)(u),"subscription#").concat(e);return(0,x.jsxs)(r.Fragment,{children:[(0,x.jsxs)(n.i,{bg:"subBgColors",className:"pt-[19px] pb-[11px] rounded-[5px] px-[9px]",children:[(0,x.jsxs)("div",{className:"flex items-center justify-between",children:[(0,x.jsx)(n.EY,{elementType:"span",className:"text-xs",fontWeight:600,children:null===g||void 0===g||null===(e=g[0])||void 0===e||null===(t=e.title)||void 0===t?void 0:t.message}),(0,x.jsxs)("div",{className:"relative",children:[(0,x.jsx)(n.EY,{elementType:"span",fontWeight:300,className:"absolute top-[-8px] right-0 text-[10px]",children:"toman"}),(0,x.jsx)(n.EY,{elementType:"span",children:(0,l.sj)(null===g||void 0===g||null===(s=g[0])||void 0===s||null===(p=s.plan_tokens[0])||void 0===p||null===(m=p.price)||void 0===m?void 0:m.payable)})]})]}),(0,x.jsx)(o.$,{title:"result.userDetails.subscribe",className:"w-full h-[33px] mt-[8px]",textColor:"primary",textClassName:"text-xs ",onClick:()=>v("plans"),bg:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"primary"})]}),(0,x.jsxs)("div",{className:"flex items-center mt-[10px]",children:[(0,x.jsx)(n.In,{Component:a.A,size:15}),(0,x.jsx)(n.EY,{elementType:"p",className:"text-xs mx-2",fontWeight:300,hasUnderline:!0,onClick:()=>v("why-should-buy"),children:"result.userDetails.whySubscribe"})]})]})}},59178:(e,t,s)=>{s.d(t,{n:()=>m});s(65043);var r=s(31876),n=s(85612),l=s(71802),o=s(28406),a=s(57281),i=s(63998),d=s(99333),c=s(76526),x=s(72766),p=s(70579);const m=()=>{const{direction:e,locale:t}=(0,i.ok)(),{dispatchCloseDrawer:s}=(0,d.bt)();return(0,p.jsx)(r._s,{drawerName:"UserDetails",children:(0,p.jsxs)("div",{dir:e,className:"flex h-full flex-col justify-between",children:[(0,p.jsxs)("div",{className:"",children:[(0,p.jsxs)("div",{className:"px-[18px] pt-[32px] flex items-center justify-between",children:[(0,p.jsxs)("div",{className:"flex items-center",children:[(0,p.jsx)(n.In,{Component:l.A,size:16}),(0,p.jsx)(n.EY,{elementType:"span",className:"text-sm mx-2",children:"result.userDetails.userProfile"})]}),(0,p.jsxs)("div",{className:"flex items-center pointer",onClick:()=>s(),children:[(0,p.jsx)(n.EY,{elementType:"span",className:"text-xs mx-2",children:"back"}),(0,p.jsx)(n.In,{Component:"fa"===t?o.A:a.A,size:16})]})]}),(0,p.jsx)(n.i,{className:"w-full h-[1px] my-[24px]",bg:"border"}),(0,p.jsx)("div",{className:"mx-[18px]",children:(0,p.jsx)(c.I,{})})]}),(0,p.jsx)("div",{className:"px-[18px] pb-[20px]",children:(0,p.jsx)(x.y,{})})]})})}},76526:(e,t,s)=>{s.d(t,{I:()=>a});s(65043);var r=s(85612),n=s(87474),l=s(48945),o=s(70579);const a=()=>{const{getUserSubServicesData:e}=(0,n.p7)(),{data:t}=e||{},{short_info:s}=t||{};return(0,o.jsx)("div",{className:"flex flex-col justify-between items-center h-full",children:null===s||void 0===s?void 0:s.map(((e,t)=>(0,o.jsx)(r.EY,{elementType:"span",className:"".concat(0===t?"text-xl":"text-sm"),fontWeight:0===t?500:300,children:(0,l.nB)(e,20)},t)))})}},49434:(e,t,s)=>{s.d(t,{T:()=>L});var r=s(89379),n=s(80045),l=s(65043),o=s(95791),a=s(55832),i=s(20285),d=s(90809),c=s(89087),x=s(17011),p=(s(70119),s(85612)),m=s(10745),u=s(66580),h=s(37646),g=s(11738),v=s(5937),f=s(62906),b=s(70579);const y=e=>{let{text:t,top:s="10px",right:r="12px"}=e;const[n,o]=l.useState(!1);return(0,b.jsx)(b.Fragment,{children:n?(0,b.jsx)("img",{src:f.A,width:28,className:"absolute m-0 p-[3px]",alt:"copied",style:{to
1p:s,right:r}}):(0,b.jsx)(p.In,{Component:v.A,onClick:async()=>{try{await navigator.clipboard.writeText(t),o(!0),setTimeout((()=>o(!1)),1e3)}catch(e){console.error("Copy failed",e)}},size:30,color:"iconColor",className:"absolute cursor-pointer p-1.5 rounded-md transition",style:{top:s,right:r}})})},j=e=>{return"string"===typeof e?e:"number"===typeof e?String(e):l.isValidElement(e)?j(null===(t=e.props)||void 0===t?void 0:t.children):Array.isArray(e)?e.map(j).join(""):"";var t},N=["node"],A=["node"],w=["node"],k=["node"],C=["node"],I=["node"],S=["node"],T=["node"],E=["node"],_=["node"],W=["node"],z=["node"],F=["node"],D=["node"],P=["node"],M=["node"],Y=["node"],B=["node","className","children"],L=l.memo((e=>{let{markdown:t}=e;const[s]=(0,c.useThemeColors)(),{name:v}=(0,c.useTheme)(),{subServiceId:f}=(0,u.g)(),{getThirdPartyUserSubServicesHistoryData:L}=(0,h.yZ)(),{sub_services:O}=(null===L||void 0===L?void 0:L.data)||{},U=(0,l.useMemo)((()=>null===O||void 0===O?void 0:O.find((e=>e.id===Number(f)))),[f,O]),$=t.replace(/\\\[/g,"$$").replace(/\\\]/g,"$$"),J=(0,x.Ji)($);return(0,b.jsxs)("div",{className:"prose max-w-none response-content-text rl:!text-justify mb-5 relative",children:[(0,b.jsx)("div",{className:"hidden lg:block absolute top-[-25px] ".concat("rtl"===J?"lg:right-[-30px]":"lg:left-[-30px]"),children:U&&(0,x.iF)($)?"dark"===v?(0,b.jsx)("img",{src:U.icon_link_dark,alt:"service-icon",width:17}):(0,b.jsx)("img",{src:U.icon_link_light,alt:"service-icon",width:17}):null}),(0,b.jsx)("div",{className:"lg:ps-[2px]",children:(0,b.jsx)(o.oz,{rehypePlugins:[a.A,d.A],remarkPlugins:[i.A],components:{div:e=>{let{node:t}=e,l=(0,n.A)(e,N);return(0,b.jsx)("div",(0,r.A)({style:{color:s.text}},l))},h1:e=>{let{node:t}=e,l=(0,n.A)(e,A);return(0,b.jsx)("h1",(0,r.A)({style:{color:s.text},className:"m-0"},l))},h2:e=>{let{node:t}=e,l=(0,n.A)(e,w);return(0,b.jsx)("h2",(0,r.A)({style:{color:s.text},className:"m-6 mx-0"},l))},h3:e=>{let{node:t}=e,l=(0,n.A)(e,k);return(0,b.jsx)("h3",(0,r.A)({style:{color:s.text},className:"mb-[15px] mt-[25px]"},l))},h4:e=>{let{node:t}=e,l=(0,n.A)(e,C);return(0,b.jsx)("h4",(0,r.A)({style:{color:s.text}},l))},h5:e=>{let{node:t}=e,l=(0,n.A)(e,I);return(0,b.jsx)("h5",(0,r.A)({style:{color:s.text}},l))},h6:e=>{let{node:t}=e,l=(0,n.A)(e,S);return(0,b.jsx)("h6",(0,r.A)({style:{color:s.text}},l))},p:e=>{let{node:t}=e,l=(0,n.A)(e,T);return(0,b.jsx)("p",(0,r.A)({style:{color:s.text,lineHeight:"29px",fontWeight:"350"},className:"text-[16px]"},l))},em:e=>{let{node:t}=e,l=(0,n.A)(e,E);return(0,b.jsx)("em",(0,r.A)({style:{color:s.text}},l))},ul:e=>{let{node:t}=e,l=(0,n.A)(e,_);return(0,b.jsx)("ul",(0,r.A)({style:{color:s.text,padding:"0px 20px"}},l))},li:e=>{let{node:t}=e,l=(0,n.A)(e,W);return(0,b.jsx)("li",(0,r.A)({style:{color:s.text}},l))},a:e=>{let{node:t}=e,l=(0,n.A)(e,z);return((null===l||void 0===l?void 0:l.href)||"").includes("utm_source")?(0,b.jsx)(p.i,{className:"px-[8px] inline-flex rounded-[5px] mx-[3px]",bg:"showInfoFile",dir:J,children:(0,b.jsxs)(p.EY,{elementType:"div",className:"flex items-center",fontSize:12,fontWeight:300,translatable:!1,children:[(0,b.jsx)("a",(0,r.A)({style:{color:s.text,textDecoration:"none",fontWeight:300},target:"_blank"},l)),(0,b.jsx)(p.In,{Component:m.A,size:14,color:"text",className:"ms-1"})]})}):(0,b.jsx)("a",(0,r.A)({style:{color:s.text},target:"_blank",rel:"noopener noreferrer"},l))},table:e=>{let{node:t}=e,l=(0,n.A)(e,F);return(0,b.jsx)("table",(0,r.A)({style:{borderCollapse:"collapse",border:"1px solid ".concat(s.border)}},l))},th:e=>{let{node:t}=e,l=(0,n.A)(e,D);return(0,b.jsx)("th",(0,r.A)({style:{color:s.text,textAlign:"center",background:s.secondary,padding:"10px",border:"1px solid ".concat(s.border)}},l))},td:e=>{let{node:t}=e,l=(0,n.A)(e,P);return(0,b.jsx)("td",(0,r.A)({style:{color:s.text,textAlign:"center",padding:"10px",border:"1px solid ".concat(s.border)}},l))},strong:e=>{let{node:t}=e,l=(0,n.A)(e,M);return(0,b.jsx)("strong",(0,r.A)({style:{color:s.text,fontWeight:"550"}},l))},pre:e=>{var t,l;let{node:o}=e,a=(0,n.A)(e,Y);const i=null===o||void 0===o||null===(t=o.children)||void 0===t?void 0:t.some((e=>{var t,s;return"element"===e.type&&"code"===e.tagName&&(Array.isArray(null===(t=e.properties)||void 0===t?void 0:t.className)?e.properties.className.includes("language-chart"):"language-chart"===(null===(s=e.properties)||void 0===s?void 0:s.className))})),d=null===o||void 0===o||null===(l=o.children)||void 0===l?void 0:l.some((e=>{var t,s;return"element"===e.type&&"code"===e.tagName&&(Array.isArray(null===(t=e.properties)||void 0===t?void 0:t.className)?e.properties.className.includes("language-artifact"):"language-artifact"===(null===(s=e.properties)||void 0===s?void 0:s.className))}));return(0,b.jsxs)("div",{style:{position:"relative"},children:[d&&(0,b.jsxs)("div",{style:{position:"absolute",top:"30px",left:"33px",right:"45px",height:"18px",display:"flex",alignItems:"center",justifyContent:"left",paddingTop:"1px",paddingLeft:"10px",borderLeft:"6px solid ".concat(s.border),color:s.text,fontSize:"10px",fontWeight:250,letterSpacing:"3px"},children:[(0,b.jsx)("span",{style:{flex:1,borderTop:"1px dashed ".concat(s.border),background:s.border,marginLeft:"10px",marginRight:"16px"}}),"!AI Generated Doc"]}),(0,b.jsx)("pre",(0,r.A)({style:(0,r.A)({direction:d?"rtl":"ltr",background:i||d?"transparent":s.secondary,color:s.text,padding:"12px 20px",position:"relative"},d&&{boxShadow:"0 4px 28px rgba(0, 0, 0, 0.06)"}),className:d?"font-[inherit] overflow-hidden border border-gray-300 rounded-lg whitespace-pre-wrap break-words !pt-[80px] !px-[40px] !pb-[50px] md:!px-[60px]":"",dir:d?"rtl":"ltr"},a)),!i&&(0,b.jsx)(y,{text:j(a.children)||"",top:d?"24px":void 0,right:d?"22px":void 0})]})},code:e=>{let{node:t,className:l,children:o}=e,a=(0,n.A)(e,B);const i=String(o).trim();if("language-chart"===l)try{const e=JSON.parse(i);if(Array.isArray(e)&&e.length){const t=e.map((e=>e.label)),s=e.map((e=>parseFloat(e.value)));return(0,b.jsx)("div",{className:"w-[90%] mx-auto my-6",children:(0,b.jsx)(g.b,{data:s,labels:t})})}}catch(d){console.warn("Invalid chart JSON block",d)}return"language-artifact"===l?(0,b.jsx)("code",(0,r.A)((0,r.A)({style:{background:"transparent",fontSize:"15px",fontWeight:400,fontFamily:"inherit"}},a),{},{children:o})):(0,b.jsx)(b.Fragment,{children:(0,b.jsx)("code",(0,r.A)((0,r.A)({style:{direction:"ltr",background:s.secondary,color:s.text},dir:"ltr",className:"".concat(l||""," before:content-none after:content-none")},a),{},{children:o}))})}},children:(0,x.iF)($)})})]})}))},60449:(e,t,s)=>{s.d(t,{C2:()=>o,KC:()=>l,KQ:()=>a});const r=e=>!!e&&"null"!==e&&"0"!==e&&!isNaN(Number(e))&&Number(e)>0,n=e=>{let t=0;for(let s=0;s<e.length;s++)t=Math.imul(31,t)+e.charCodeAt(s)|0;return-(Math.abs(t)||1)},l=e=>{let{apiMessages:t,streamedChats:s=null,streamingChatId:l,streamingChatUserMessage:o,sessionEditedId:a,sessionId:i,messageIdCutoff:d,hasSentFiles:c=!1}=e;const x=t.filter((e=>{if(!d)return!0;const t=e.edited_id?Number(e.edited_id):e.id;return null!=t&&t<=d})),p=[],m=new Map,u=e=>{const t=m.get(e);if(void 0!==t)return p[t];const s={groupId:e,versions:[]};return m.set(e,p.length),p.push(s),s};for(const r of x){if(r.edited_id){const e=Number(r.edited_id);u(e).versions.push({type:"api",data:r});continue}if(null==r.id)continue;const e=u(r.id);-1===e.versions.findIndex((e=>"api"===e.type&&e.data.id===r.id))&&e.versions.unshift({type:"api",data:r})}const h=null!==s&&void 0!==s?s:[],g=Boolean(l&&h.some((e=>e.id===l)));h.forEach((e=>{if(e.id===l&&!g)return;const t=r((s=e).sessionEditedId)?Number(s.sessionEditedId):r(s.sessionId)?Number(s.sessionId):n(s.id||"stream");var s;u(t).versions.push({type:"stream",data:e})}));const v=Boolean(o)||c;if(l&&v&&!g){var f,b;const e={type:"live",streamId:l,message:o||""},t=null!==(f=null!==(b=((e,t)=>r(e)?Number(e):r(t)?Number(t):null)(a,void 0))&&void 0!==b?b:d&&d>0?d:null)&&void 0!==f?f:n(l);u(t).versions.push(e)}return{groups:p,orphanLiveStream:undefined}},o=e=>{var t,s;return"api"===e.type?null!==(t=null!==(s=e.data.id)&&void 0!==s?s:e.data.edited_id)&&void 0!==t?t:"api":"stream"===e.type?e.data.id:e.streamId},a=e=>{var t,s;return"api"===e.type?null!==(t=e.data.message)&&void 0!==t?t:"":"stream"===e.type?null!==(s=e.data.message)&&void 0!==s?s:"":e.message}}}]);
2//# sourceMappingURL=3822.9fd20dda.chunk.js.map

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.