PageSourceSearch

https://mentormind.io/_next/static/chunks/pages/m/[slug]/services/[id]-4dc07e22868d97bb.js

js mentormind.io collected 2026-10-09 22:47:28 UTC 9,776 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1170ca62-fefe-4cde-b643-9cc26435f885",e._sentryDebugIdIdentifier="sentry-dbid-1170ca62-fefe-4cde-b643-9cc26435f885")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4767],{81519:function(e,l,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/m/[slug]/services/[id]",function(){return i(57061)}])},37170:function(e,l){"use strict";let i={SEK:"sv-SE",EUR:"sv-FI"};l.Z=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EUR",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(l=l?l.toUpperCase():"EUR","string"==typeof e&&(e=parseInt(e)),!(e>=0)&&!n)return"";let r=e/100,s=i[l]||"en-US";return new Intl.NumberFormat(s,{style:"currency",currency:l}).format(r)}},59392:function(e,l,i){"use strict";i.d(l,{Z:function(){return s}});var n=i(651),r=i(17290);function s(e){let{data:l,contrastColor:i,onClick:s,buttonStyle:o}=e;return l?(0,n.jsxs)("div",{children:[l.heading?(0,n.jsx)("h2",{style:{color:i},className:"mb-3 text-[3rem] font-extrabold md:text-[2.375rem]",children:l.heading}):null,l.text?(0,n.jsx)("div",{style:{color:i},className:"mb-10 max-w-[60%] text-[1.375rem] leading-[2.0625rem] whitespace-pre-wrap **:last:mb-0 md:mb-[1.125rem] md:max-w-full md:text-[1.125rem] md:whitespace-pre-wrap md:**:last:mb-0",children:l.text}):null,l.button?(0,n.jsx)(r.Z,{shrink:!0,onClick:s,style:{...o,background:i},children:l.button}):null]}):null}},30231:function(e,l,i){"use strict";i.r(l),i.d(l,{default:function(){return d}});var n=i(651),r=i(62120),s=i.n(r),o=i(89318),c=i(39133);function d(e){let{className:l}=e;return(0,n.jsxs)("div",{className:(0,o.cn)("flex flex-col items-center justify-center gap-5 py-14 md:flex-row md:justify-between",l),children:[(0,n.jsx)(s(),{href:(0,c.v)(""),children:(0,n.jsx)("img",{className:"h-7.5 w-auto",src:"/logo.svg",alt:"MentorMind logo"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:"font-[sans-serif]",children:"\xa9"})," ",new Date().getFullYear()," ","MentorMind Oy"]})]})}},57061:function(e,l,i){"use strict";i.r(l),i.d(l,{__N_SSP:function(){return _},config:function(){return I},default:function(){return k}});var n=i(651),r=i(92379),s=i(4219),o=i.n(s),c=i(72381),d=i(17290),t=i(5029),a=i(72959),v=i(51976),u=i(59392),f=i(30231),m=i(52463),b=i(88633),x=i(94799),h=i(67859),p=i(63600),g=i.n(p),w=i(37170),y=i(67768),j=i(97278),N=i(70017),_=!0;function k(e){var l,i,s,p,_,k,I,Z,E,S,C,U,P,M,T,D,F,O,R,H,X,q,B,K,Y,z,A,G,J,L,Q,V,W,$,ee,el,ei,en,er,es,eo,ec,ed,et,ea,ev,eu,ef,em,eb;let ex=(0,N.T)(e.translation),eh=(0,j.c)(e.freelancer),[ep,eg]=(0,r.useState)(!1),ew=(0,c.Z)((null===(i=e.freelancer.website)||void 0===i?void 0:null===(l=i.colors)||void 0===l?void 0:l.primary)||"#030915",.65),ey=(0,c.Z)((null===(p=e.freelancer.website)||void 0===p?void 0:null===(s=p.colors)||void 0===s?void 0:s.secondary)||"#088dfb",.65),ej=(null===(_=e.service)||void 0===_?void 0:_.title)+" - "+(null===(k=e.freelancer)||void 0===k?void 0:k.name)+" - MentorMind",[eN,e_]=(0,r.useState)(!1),[ek,eI]=(0,r.useState)(""),eZ=()=>{var l;return(null==e?void 0:null===(l=e.service)||void 0===l?void 0:l.purchasable)||!1};(0,r.useEffect)(()=>{(async()=>{eZ()&&(eI("loading"),eI((await (0,y.r)("getServiceStripeCheckoutUrl",{successUrl:"".concat((0,j.c)(e.freelancer),"/services/").concat(e.service.id),cancelUrl:"".concat((0,j.c)(e.freelancer),"/services/").concat(e.service.id),freelancerId:e.freelancer.id,serviceId:e.service.id},!1,{auth:"none"})).data.url))})()},[]);let eE=async()=>{if(eZ()){if("loading"===ek){e_(!0);return}""!==ek&&(window.location.href=ek)}};(0,r.useEffect)(()=>{""!==ek&&"loading"!==ek&&eN&&(window.location.href=ek)},[ek,eN]);let eS=null==e?void 0:null===(I=e.courses)||void 0===I?void 0:I.filter(e=>e.published),eC=null==e?void 0:null===(Z=e.products)||void 0===Z?void 0:Z.filter(e=>e.published),eU=null==e?void 0:null===(E=e.services)||void 0===E?void 0:E.filter(e=>e.published);return e.generatedHtml&&e.generatedTheme?(0,n.jsxs)(h.O.Provider,{value:e.translation,children:[(0,n.jsx)(a.m,{html:e.generatedHtml,theme:e.generatedTheme,metaTitle:null!==(eb=null===(ev=e.generatedMeta)||void 0===ev?void 0:ev.title)&&void 0!==eb?eb:ej,metaDescription:null===(eu=e.generatedMeta)||void 0===eu?void 0:eu.de
1scription,freelancer:e.freelancer,locale:(null===(ef=e.freelancer.website)||void 0===ef?void 0:ef.language)||"en",canonicalUrl:"".concat(eh,"/services/").concat(e.service.id)}),(0,n.jsx)(t.f,{pixelId:null===(em=e.freelancer.website)||void 0===em?void 0:em.facebookPixelId})]}):(0,n.jsxs)(h.O.Provider,{value:e.translation,children:[(0,n.jsx)(o(),{children:(0,n.jsx)("title",{children:ej})}),(0,n.jsx)(m.Z,{style:{background:(null===(C=e.freelancer.website)||void 0===C?void 0:null===(S=C.colors)||void 0===S?void 0:S.primary)||"#030915",color:ew},websiteBaseUrl:eh,freelancer:e.freelancer,services:eU||[],projects:(null==e?void 0:e.projects)||[],testimonials:(null==e?void 0:e.testimonials)||[],courses:eS||[],products:eC||[]}),(0,n.jsx)("div",{className:"app-typography mt-17",children:(0,n.jsx)("div",{className:"px-5 py-10 sm:p-10 lg:p-30 xl:py-28",style:{background:(null===(P=e.freelancer.website)||void 0===P?void 0:null===(U=P.colors)||void 0===U?void 0:U.primary)||"#030915"},children:(0,n.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,n.jsx)(v.Z,{heading:e.service.title,subheading:e.service.shortDescription,pricing:(null===(T=e.service)||void 0===T?void 0:null===(M=T.addons)||void 0===M?void 0:M.length)===0?(null===(D=e.service)||void 0===D?void 0:D.purchasable)?(0,w.Z)(e.service.amount,e.freelancer.currency):"".concat(ex("website:services.from")," ").concat((0,w.Z)(e.service.amount,e.freelancer.currency)):void 0,style:{color:ew},children:(0,n.jsxs)(n.Fragment,{children:[(null===(F=e.service.tags)||void 0===F?void 0:F.length)>0?(0,n.jsx)(x.Z,{tags:e.service.tags,boxShadow:"0px 0.1rem 0.6rem rgba(50, 50, 50, 0.6)"}):null,(0,n.jsxs)("div",{className:g()["button-row"],children:[!eZ()&&(0,n.jsx)(d.Z,{type:"button",large:!0,className:g()["cta-button"],onClick:()=>eg(!0),style:{background:(null===(R=e.freelancer.website)||void 0===R?void 0:null===(O=R.colors)||void 0===O?void 0:O.secondary)||"#088dfb",color:(null===(X=e.freelancer.website)||void 0===X?void 0:null===(H=X.colors)||void 0===H?void 0:H.secondary)&&(null===(B=e.freelancer.website)||void 0===B?void 0:null===(q=B.colors)||void 0===q?void 0:q.secondary)!=="#088dfb"?ey:"#ffffff"},children:ex("website:services.request_proposal")}),eZ()&&(0,n.jsx)(d.Z,{type:"button",large:!0,className:g()["cta-button"],style:{background:(null===(Y=e.freelancer.website)||void 0===Y?void 0:null===(K=Y.colors)||void 0===K?void 0:K.secondary)||"#088dfb",color:(null===(A=e.freelancer.website)||void 0===A?void 0:null===(z=A.colors)||void 0===z?void 0:z.secondary)&&(null===(J=e.freelancer.website)||void 0===J?void 0:null===(G=J.colors)||void 0===G?void 0:G.secondary)!=="#088dfb"?ey:"#ffffff"},onClick:()=>eE(),loading:eN,disabled:eN,children:ex("website:services.buy_now")})]})]})})})})}),(0,n.jsx)("div",{className:"px-5 py-10 sm:p-10 lg:p-30 xl:py-28",style:{background:"#f1f2ef"},children:(0,n.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,n.jsx)("h2",{className:g().heading,children:ex("website:services.description")}),(0,n.jsx)("div",{className:g()["service-description"],children:e.service.description})]})}),(null===(L=e.service.addons)||void 0===L?void 0:L.length)>0&&(0,n.jsx)("div",{className:"px-5 py-10 sm:p-10 lg:p-30 xl:py-28",style:{background:"white"},children:(0,n.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,n.jsx)("h2",{className:g().heading,children:ex("website:services.pricing")}),(0,n.jsx)("div",{children:e.service.amount?(0,n.jsxs)(n.Fragment,{children:[(null===(Q=e.service.addons)||void 0===Q?void 0:Q.length)>0?(0,n.jsx)("div",{className:g().starting,children:ex("website:services.starting_at")}):"",(0,n.jsx)("div",{className:g().amount,children:(0,w.Z)(e.service.amount,e.freelancer.currency)})]}):ex("website:services.contact_freelancer",{"{name}":e.freelancer.name})})]})}),(null===(V=e.freelancer.website)||void 0===V?void 0:V.cta)&&((null===($=e.freelancer.website)||void 0===$?void 0:null===(W=$.cta)||void 0===W?void 0:W.heading)||(null===(el=e.freelancer.website)||void 0===el?void 0:null===(ee=el.cta)||void 0===ee?void 0:ee.text)||(null===(en=e.freelancer.website)||void 0===en?void 0:null===(ei=en.cta)||void 0===ei?void 0:ei.button))?(0,n.jsx)("div",{className:"px-5 py-10 sm:p-10 lg:p-30 xl:py-28",style:{background:(null===(es=e.freelancer.website)||void 0===es?void 0:null===(er=es.colors)||void 0===er?void 0:er.secondary)||"#088dfb"},children:(0,n.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,n.jsx)(u.Z,{data:null===(eo=e.freelancer.website)||void 0===eo?void 0:eo.cta,onClick:()=>eg(!0),buttonStyle:{color:(null===(ed=e.freelancer.website)||void 0===ed?void 0:null===(ec=ed.colors)||void 0===ec?void 0:ec.secondary)||"#088dfb"},contrastColor:ey})})}):null,(0,n.jsx)("div",{className:g()["footer-wrapper"],children:(0,n.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,n.jsx)(f.default,{})})}),(0,n.jsx)(b.Z,{open:ep,onOpenChange:eg,serviceId:e.service.id,freelancerId:e.freelancer.id,facebookPixelId:null===(et=e.freelancer.website)||void 0===et?void 0:et.facebookPixelId}),(0,n.jsx)(t.f,{pixelId:null===(ea=e.freelancer.website)||void 0===ea?void 0:ea.facebookPixelId})]})}let I={unstable_includeFiles:["locales/**/*.*(json)"]}}},function(e){e.O(0,[3104,9626,9677,7643,8403,8922,140,4913,2888,9774,179],function(){return e(e.s=81519)}
1),_N_E=e.O()}]);

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.