PageSourceSearch

https://hedepy.pl/_next/static/chunks/0da1e6de560e2bdc.js

js hedepy.pl collected 2026-09-29 16:27:15 UTC 39,447 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="223dcf7f-647e-52aa-8504-b31d3746686a")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,6154,(e,t,l)=>{"use strict";function n(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?Object.keys(e).filter(e=>l?!t.includes(e):t.includes(e)).reduce((t,l)=>(t[l]=e[l],t),{}):{}}function r(e,t,l,n){let r=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&l&&t.forEach(e=>{l[e]&&r.searchParams.set(e,l[e])}),r.toString()}function a(e,t,l,n,a){var o;if(!t)return"<".concat(e,"></").concat(e,">");let i=(null==(o=t.src)?void 0:o.url)?Object.assign(Object.assign({},t),{src:r(t.src.url,t.src.params,n,a)}):t,s=Object.keys(Object.assign(Object.assign({},i),l)).reduce((e,t)=>{let n=null==l?void 0:l[t],r=i[t],a=null!=n?n:r,o=!0===a?t:"".concat(t,'="').concat(a,'"');return a?e+" ".concat(o):e},"");return"<".concat(e).concat(s,"></").concat(e,">")}Object.defineProperty(l,"__esModule",{value:!0}),l.formatData=l.createHtml=l.formatUrl=void 0,l.formatUrl=r,l.createHtml=a,l.formatData=function(e,t){var l,o,i,s,c;let d=n(t,null==(l=e.scripts)?void 0:l.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),u=n(t,null==(i=null==(o=e.html)?void 0:o.attributes.src)?void 0:i.params),m=n(t,[null==(c=null==(s=e.html)?void 0:s.attributes.src)?void 0:c.slugParam]),p=n(t,[...Object.keys(d),...Object.keys(u),...Object.keys(m)],!0);return Object.assign(Object.assign({},e),{html:e.html?a(e.html.element,e.html.attributes,p,u,m):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:r(e.url,e.params,d)})):null})}},880092,(e,t,l)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(l[n[r]]=e[n[r]]);return l},r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.GoogleAnalytics=void 0;let a=r(e.r(155708)),o=e.r(6154);l.GoogleAnalytics=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},490057,(e,t,l)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(l[n[r]]=e[n[r]]);return l},r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.GoogleMapsEmbed=void 0;let a=r(e.r(681171)),o=e.r(6154);l.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},761564,(e,t,l)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(l[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(l[n[r]]=e[n[r]]);return l},r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.YouTubeEmbed=void 0;let a=r(e.r(861002)),o=e.r(6154);l.YouTubeEmbed=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},508751,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.YouTubeEmbed=l.GoogleMapsEmbed=l.GoogleAnalytics=void 0;var n=e.r(880092);Object.defineProperty(l,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var r=e.r(490057);Object.defineProperty(l,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r.GoogleMapsEmbed}});var a=e.r(761564);Object.defineProperty(l,"YouTubeEmbed",{enumerable:!0,get:function(){return a.YouTubeEmbed}})},344081,(e,t,l)=>{"use strict";
3var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(e){let{apiKey:t,...l}=e,n={...l,key:t},{html:i}=(0,a.GoogleMapsEmbed)(n);return(0,r.jsx)(o.default,{height:n.height||null,width:n.width||null,html:i,dataNtpc:"GoogleMapsEmbed"})};let r=e.r(117282),a=e.r(508751),o=n(e.r(191955))},871624,(e,t,l)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(e){let{html:t,scripts:l,stylesheets:n}=(0,o.YouTubeEmbed)(e);return(0,r.jsx)(i.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==l?void 0:l.map(e=>(0,r.jsx)(a.default,{src:e.url,strategy:s[e.strategy],stylesheets:n},e.url))})};let r=e.r(117282),a=n(e.r(45948)),o=e.r(508751),i=n(e.r(191955)),s={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},845614,(e,t,l)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.sendGAEvent=l.GoogleAnalytics=l.sendGTMEvent=l.GoogleTagManager=l.YouTubeEmbed=l.GoogleMapsEmbed=void 0;var r=e.r(344081);Object.defineProperty(l,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(r).default}});var a=e.r(871624);Object.defineProperty(l,"YouTubeEmbed",{enumerable:!0,get:function(){return n(a).default}});var o=e.r(155131);Object.defineProperty(l,"GoogleTagManager",{enumerable:!0,get:function(){return o.GoogleTagManager}}),Object.defineProperty(l,"sendGTMEvent",{enumerable:!0,get:function(){return o.sendGTMEvent}});var i=e.r(376018);Object.defineProperty(l,"GoogleAnalytics",{enumerable:!0,get:function(){return i.GoogleAnalytics}}),Object.defineProperty(l,"sendGAEvent",{enumerable:!0,get:function(){return i.sendGAEvent}})},833018,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(117282),l=e.i(845614);let n=e=>{let{className:n,height:r,videoId:a,style:o}=e;return(0,t.jsx)("div",{className:"".concat(n),children:(0,t.jsx)(l.YouTubeEmbed,{videoid:a,height:r,style:o})})}},146316,e=>{"use strict";e.s(["Accordion",()=>S,"AccordionContent",()=>Q,"AccordionHeader",()=>W,"AccordionItem",()=>V,"AccordionTrigger",()=>X,"Content",()=>er,"Header",()=>el,"Item",()=>et,"Root",()=>ee,"Trigger",()=>en,"createAccordionScope",()=>T],146316);var t=e.i(180350),l=e.i(936248),n=e.i(306068),r=e.i(185819),a=e.i(291967),o=e.i(663440),i=e.i(708544),s=e.i(447436),c=e.i(828133),d=e.i(712889),u=e.i(117282),m="Collapsible",[p,f]=(0,l.createContextScope)(m),[b,x]=p(m),h=t.forwardRef((e,l)=>{let{__scopeCollapsible:n,open:r,defaultOpen:a,disabled:s,onOpenChange:c,...p}=e,[f,x]=(0,o.useControllableState)({prop:r,defaultProp:null!=a&&a,onChange:c,caller:m});return(0,u.jsx)(b,{scope:n,disabled:s,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>x(e=>!e),[x]),children:(0,u.jsx)(i.Primitive.div,{"data-state":N(f),"data-disabled":s?"":void 0,...p,ref:l})})});h.displayName=m;var v="CollapsibleTrigger",g=t.forwardRef((e,t)=>{let{__scopeCollapsible:l,...n}=e,r=x(v,l);return(0,u.jsx)(i.Primitive.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":N(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...n,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,r.onOpenToggle)})});g.displayName=v;var j="CollapsibleContent",y=t.forwardRef((e,t)=>{let{forceMount:l,...n}=e,r=x(j,e.__scopeCollapsible);return(0,u.jsx)(c.Presence,{present:l||r.open,children:e=>{let{present:l}=e;return(0,u.jsx)(w,{...n,ref:t,present:l})}})});y.displayName=j;var w=t.forwardRef((e,l)=>{let{__scopeCollapsible:n,present:a,children:o,...c}=e,d=x(j,n),[m,p]=t.useState(a),f=t.useRef(null),b=(0,r.useComposedRefs)(l,f),h=t.useRef(0),v=h.current,g=t.useRef(0),y=g.current,w=d.open||m,k=t.useRef(w),_=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.useLayoutEffect)(()=>{let e=f.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,g.current=t.width,k.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),p(a)}},[d.open,a]),(0,u.jsx)(i.Primitive.div,{"data-state":N(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...c,ref:b,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:w&&o})});function N(e){return e?"open":"closed"}var k=e.i(375392),_="Accordion",O=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,C,A]=(0,n.createCollection)(_),[P,T]=(0,l.createContextScope)(_,[A,f]),R=f(),S=t.default.forwardRef((e,t)=>
3{let{type:l,...n}=e;return(0,u.jsx)(E.Provider,{scope:e.__scopeAccordion,children:"multiple"===l?(0,u.jsx)(U,{...n,ref:t}):(0,u.jsx)(z,{...n,ref:t})})});S.displayName=_;var[I,D]=P(_),[M,L]=P(_,{collapsible:!1}),z=t.default.forwardRef((e,l)=>{let{value:n,defaultValue:r,onValueChange:a=()=>{},collapsible:i=!1,...s}=e,[c,d]=(0,o.useControllableState)({prop:n,defaultProp:null!=r?r:"",onChange:a,caller:_});return(0,u.jsx)(I,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:t.default.useCallback(()=>i&&d(""),[i,d]),children:(0,u.jsx)(M,{scope:e.__scopeAccordion,collapsible:i,children:(0,u.jsx)(B,{...s,ref:l})})})}),U=t.default.forwardRef((e,l)=>{let{value:n,defaultValue:r,onValueChange:a=()=>{},...i}=e,[s,c]=(0,o.useControllableState)({prop:n,defaultProp:null!=r?r:[],onChange:a,caller:_}),d=t.default.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[c]),m=t.default.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[c]);return(0,u.jsx)(I,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:m,children:(0,u.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(B,{...i,ref:l})})})}),[G,H]=P(_),B=t.default.forwardRef((e,l)=>{let{__scopeAccordion:n,disabled:o,dir:s,orientation:c="vertical",...d}=e,m=t.default.useRef(null),p=(0,r.useComposedRefs)(m,l),f=C(n),b="ltr"===(0,k.useDirection)(s),x=(0,a.composeEventHandlers)(e.onKeyDown,e=>{var t;if(!O.includes(e.key))return;let l=e.target,n=f().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),r=n.findIndex(e=>e.ref.current===l),a=n.length;if(-1===r)return;e.preventDefault();let o=r,i=a-1,s=()=>{(o=r+1)>i&&(o=0)},d=()=>{(o=r-1)<0&&(o=i)};switch(e.key){case"Home":o=0;break;case"End":o=i;break;case"ArrowRight":"horizontal"===c&&(b?s():d());break;case"ArrowDown":"vertical"===c&&s();break;case"ArrowLeft":"horizontal"===c&&(b?d():s());break;case"ArrowUp":"vertical"===c&&d()}null==(t=n[o%a].ref.current)||t.focus()});return(0,u.jsx)(G,{scope:n,disabled:o,direction:s,orientation:c,children:(0,u.jsx)(E.Slot,{scope:n,children:(0,u.jsx)(i.Primitive.div,{...d,"data-orientation":c,ref:p,onKeyDown:o?void 0:x})})})}),q="AccordionItem",[F,Y]=P(q),V=t.default.forwardRef((e,t)=>{let{__scopeAccordion:l,value:n,...r}=e,a=H(q,l),o=D(q,l),i=R(l),s=(0,d.useId)(),c=n&&o.value.includes(n)||!1,m=a.disabled||e.disabled;return(0,u.jsx)(F,{scope:l,open:c,disabled:m,triggerId:s,children:(0,u.jsx)(h,{"data-orientation":a.orientation,"data-state":Z(c),...i,...r,ref:t,disabled:m,open:c,onOpenChange:e=>{e?o.onItemOpen(n):o.onItemClose(n)}})})});V.displayName=q;var K="AccordionHeader",W=t.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,r=H(_,l),a=Y(K,l);return(0,u.jsx)(i.Primitive.h3,{"data-orientation":r.orientation,"data-state":Z(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});W.displayName=K;var $="AccordionTrigger",X=t.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,r=H(_,l),a=Y($,l),o=L($,l),i=R(l);return(0,u.jsx)(E.ItemSlot,{scope:l,children:(0,u.jsx)(g,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":r.orientation,id:a.triggerId,...i,...n,ref:t})})});X.displayName=$;var J="AccordionContent",Q=t.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,r=H(_,l),a=Y(J,l),o=R(l);return(0,u.jsx)(y,{role:"region","aria-labelledby":a.triggerId,"data-orientation":r.orientation,...o,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Z(e){return e?"open":"closed"}Q.displayName=J;var ee=S,et=V,el=W,en=X,er=Q},58539,e=>{"use strict";e.s(["rewriteKnownUrlToPublic",()=>a]);var t=e.i(68400);let l="https://hedepy.pl/".replace(/\/$/,""),n={"/articles/about-therapy":(0,t.getLocalisedHref)("/about-therapy"),"/articles/topics":(0,t.getLocalisedHref)("/topics"),"/articles/blog":(0,t.getLocalisedHref)("/about-mental-wellbeing"),"/articles/tests":(0,t.getLocalisedHref)("/tests")},r=/https:\/\/(?:app\.)?hedepy\.[^/]+/,a=e=>{if(!e)return e;let t=e;for(let[e,a]of Object.entries(n)){let n=new RegExp("".concat(r.source).concat(e));t=t.replace(n,"".concat(l).concat(a))}return t}},928766,e=>{"use strict";e.s(["Accordion",()=>t]);var t=e.i(146316)},896340,660866,e=>{"use strict";e.s(["default",()=>o,"textToAnchor",()=>a],896340);var t=e.i(117282),l=e.i(435754),n=e.i(28108);e.s(["ComponentNamesRest",()=>r],660866);var r=function(e){return e.anchor="section.anchor-section",e.faq="section.faq-section",e.richContent="component.rich-content",e.academy="Academy",e.articlesLinks="section.articles-links-section",e.ytVideo="component.youtube-video",e.videoContent="component.video-content",e.note="component.note",e.buttonLink="component.button-link",e.citation="section.citation-section",e}({});let a=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(RegExp("[^\\p{L}\\d\\s-]+","gu"),"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,""),o=e=>{let{content:o}=e,{t:i}=(0,n.getTranslate)(),s=(e=>{let t=null==e?void 0:e.filter(e=>e.__component===r.richContent),l=[];
3return null==t||t.forEach(e=>{let t=(e=>{let t,l=/^## (.+?)\n/gm,n=[];for(;null!==(t=l.exec(e));)n.push(t[1]);return n})(e.content);l=l.concat(t)}),l})(o);return(null==s?void 0:s.length)===0?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{className:"text-md mb-4 font-bold text-secondary",children:i("component.counselling.anchorsTitle")}),(0,t.jsx)("ul",{className:"list-unstyled mb-8 flex flex-col gap-4",children:s.map((e,n)=>(0,t.jsx)("li",{className:"gap-4 text-sm font-bold",children:(0,t.jsx)("a",{href:"#".concat(a(e)),children:(0,t.jsx)(l.default,{children:e})})},n))})]})}},335288,e=>{"use strict";e.s(["default",()=>P],335288);var t=e.i(117282),l=e.i(435754),n=e.i(58539),r=e.i(807188),a=e.i(833018);let o=e=>{let{item:n}=e;return(0,t.jsxs)("div",{className:"w-full justify-center",children:[(0,t.jsxs)("div",{className:"mb-6",children:[n.title&&(0,t.jsx)("h2",{className:"mb-6 font-semibold",children:n.title}),n.content&&(0,t.jsx)(l.default,{className:"text-text-color",children:n.content})]}),(0,t.jsx)(a.default,{className:"max-w-[600px] overflow-hidden rounded-2xl",videoId:n.videoId})]})};var i=e.i(294237),s=e.i(928766),c=e.i(180350),d=e.i(305629),u=e.i(837057);let m=s.Accordion.Root,p=(0,i.cva)("",{variants:{variant:{default:"border-b",faq:"mt-6 overflow-hidden rounded-xl"}},defaultVariants:{variant:"default"}}),f=c.forwardRef((e,l)=>{let{className:n,variant:r,...a}=e;return(0,t.jsx)(s.Accordion.Item,{ref:l,className:(0,u.cn)(p({variant:r}),n),...a})});f.displayName="AccordionItem";let b=(0,i.cva)("flex flex-1 items-center justify-between border-0 bg-transparent py-4 text-left text-base font-medium transition-colors duration-200 hover:underline [&[data-state=open]>svg]:-rotate-90",{variants:{variant:{default:"px-0 font-sans text-petrol-500",block:"mb-5 w-full rounded-2xl border-2 border-solid border-sand-500 p-6 font-sans hover:border-sand-600 hover:no-underline data-[state=open]:border-yellow-500 data-[state=open]:bg-yellow-500",faq:"group m-0 flex w-full cursor-pointer items-center justify-start border-0 bg-pink-500 p-6 text-left text-petrol-500 hover:bg-petrol-500 hover:text-pink-500 hover:no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-petrol-500 data-[state=open]:bg-petrol-500 data-[state=open]:text-pink-500 data-[state=open]:focus-visible:ring-pink-500 [&[data-state=open]>svg]:-rotate-0"}},defaultVariants:{variant:"default"}}),x=c.forwardRef((e,l)=>{let{className:n,children:r,variant:a,isBusinessPage:o,...i}=e;return(0,t.jsx)(s.Accordion.Header,{className:"!my-0 flex",children:(0,t.jsxs)(s.Accordion.Trigger,{ref:l,className:(0,u.cn)(b({variant:a}),n),...i,children:["faq"===a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{icon:"plus-simple",size:"sm",className:(0,u.cn)('my-0 mr-6 py-0 transition-colors duration-200 group-data-[state="open"]:hidden',o?"text-pink-600":"text-petrol-500 group-hover:text-pink-500")}),(0,t.jsx)(d.default,{icon:"minus-simple",size:"sm",className:(0,u.cn)('my-0 mr-6 py-0 transition-colors duration-200 group-data-[state="closed"]:hidden',o?"text-pink-600":"text-pink-500")})]}),r,"faq"!==a&&(0,t.jsx)(d.default,{icon:"next",color:"primary",className:"rotate-90 transition-transform duration-200",size:"xxs"})]})})});x.displayName=s.Accordion.Trigger.displayName;let h=(0,i.cva)("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",{variants:{variant:{default:"",faq:"m-0 bg-petrol-500 text-left text-base text-white"}},defaultVariants:{variant:"default"}}),v=c.forwardRef((e,l)=>{let{className:n,children:r,variant:a,...o}=e;return(0,t.jsx)(s.Accordion.Content,{ref:l,className:(0,u.cn)(h({variant:a})),...o,children:(0,t.jsx)("div",{className:(0,u.cn)("faq"===a?"pb-6 pl-[4.5rem] pr-6 pt-0":"pb-4 pt-0",n),children:r})})});v.displayName=s.Accordion.Content.displayName;let g=e=>{let{item:n,isBusinessPage:r}=e;return n.question&&n.answer?(0,t.jsxs)(f,{value:n.question,variant:"faq",children:[(0,t.jsx)(x,{isBusinessPage:r,variant:"faq",children:(0,t.jsx)("div",{className:"m-0 p-0 text-lg font-bold",children:n.question})}),(0,t.jsx)("div",{className:"text-base",children:(0,t.jsx)(v,{variant:"faq",children:(0,t.jsx)(l.default,{options:{overrides:{a:{props:{className:"underline hover:no-underline ".concat(r?"hover:text-pink-500 text-pink-500":"hover:text-peach-500 text-peach-500")}}}},children:n.answer})})})]}):null},j=e=>{let{faqs:l,type:n="multiple",isBusinessPage:r,className:a=""}=e;return(0,t.jsx)(m,{type:n,className:a,children:l.entry.map((e,l)=>(0,t.jsx)(g,{item:e,isBusinessPage:r},"faq-".concat(l)))})};var y=e.i(317571);let w=e=>{let{section:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{id:n.anchorName,className:"anchor__section"}),(0,t.jsx)("h2",{children:n.title}),n.content&&(0,t.jsx)(l.default,{children:n.content})]})};var N=e.i(660866),k=e.i(896340),_=e.i(760490),O=e.i(396262),E=e.i(406796);let C=e=>{var l,n,r;let{citation:a,isPublic:o=!1}=e,i=null==a?void 0:a.author,s=null==i||null==(r=i.thumbnail)||null==(n=r.data)||null==(l=n.attributes)?void 0:l.url,c=(0,E.default)(null==i?void 0:i.therapistId,o)||(null==i?void 0:i.instagramLink);return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"m-2 roun
3ded-2xl ".concat(o?"bg-blue-500":"bg-white"," p-8 font-bold"),children:[(0,t.jsx)("div",{className:"mb-4 text-petrol-500",children:null==a?void 0:a.citation}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center",children:[s&&(0,t.jsx)("div",{className:"relative mr-3 h-[70px] w-[70px] overflow-hidden !rounded-full bg-white",children:(0,t.jsx)(_.default,{src:s,alt:null==i?void 0:i.name,fill:!0,objectFit:"cover",sizes:"70px"})}),(0,t.jsxs)("div",{children:[c?(0,t.jsx)(O.default,{className:"text-peach-500 hover:text-peach-500",href:c,children:(0,t.jsx)("div",{children:null==i?void 0:i.name})}):(0,t.jsx)("div",{className:"text-peach-500",children:null==i?void 0:i.name}),(0,t.jsx)("div",{className:"text-text-color",children:null==i?void 0:i.instagramName})]})]})]})})},A=function(e,a){var i;let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return null!=(i=({[N.ComponentNamesRest.richContent]:a.content&&(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsx)(l.default,{options:{slugify:e=>(0,k.textToAnchor)(e),overrides:{img:{component:r.OptimizedImage}}},children:a.content})}),[N.ComponentNamesRest.anchor]:(0,t.jsx)(w,{section:a}),[N.ComponentNamesRest.buttonLink]:(0,t.jsx)("div",{className:"my-12 flex justify-center",children:(0,t.jsxs)(y.ButtonLink,{variant:"primary"===a.style?"default":a.style,href:c?(0,n.rewriteKnownUrlToPublic)(a.link):a.link,className:"normal-case",children:[a.text,a.withArrow&&(0,t.jsx)(d.default,{className:"ml-6 text-white",icon:"arrow",size:"sm"})]})}),[N.ComponentNamesRest.faq]:(0,t.jsx)(j,{faqs:a}),[N.ComponentNamesRest.videoContent]:(0,t.jsx)(o,{item:a}),[N.ComponentNamesRest.citation]:(0,t.jsx)(C,{citation:a,isPublic:s})})[e])?i:null},P=e=>{let{content:l,isPublic:n,rewriteLinksToPublic:r}=e;return null==l?void 0:l.map((e,l)=>(0,t.jsx)("div",{className:e.__component===N.ComponentNamesRest.faq?void 0:"counselling__content",children:A(e.__component,e,n,r)},"".concat(e.__component,"-").concat(l)))}},121583,(e,t,l)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,l=[],n=0;n<e.rangeCount;n++)l.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||l.forEach(function(t){e.addRange(t)}
3),t&&t.focus()}}},26012,(e,t,l)=>{"use strict";var n=e.r(121583),r={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(e,t){var l,a,o,i,s,c,d,u,m=!1;t||(t={}),o=t.debug||!1;try{if(s=n(),c=document.createRange(),d=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(l){if(l.stopPropagation(),t.format)if(l.preventDefault(),void 0===l.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=r[t.format]||r.default;window.clipboardData.setData(n,e)}else l.clipboardData.clearData(),l.clipboardData.setData(t.format,e);t.onCopy&&(l.preventDefault(),t.onCopy(l.clipboardData))}),document.body.appendChild(u),c.selectNodeContents(u),d.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");m=!0}catch(n){o&&console.error("unable to copy using execCommand: ",n),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),m=!0}catch(n){o&&console.error("unable to copy using clipboardData: ",n),o&&console.error("falling back to prompt"),l="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",i=l.replace(/#{\s*key\s*}/g,a),window.prompt(i,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(c):d.removeAllRanges()),u&&document.body.removeChild(u),s()}return m}},966840,406796,e=>{"use strict";e.s(["default",()=>h],966840);var t=e.i(117282),l=e.i(26012),n=e.i(396262),r=e.i(575022),a=e.i(180350),o=e.i(317571);e.s(["default",()=>u],406796);var i=e.i(47974),s=e.i(219750),c=e.i(617537),d=e.i(280904);let u=(e,t)=>{let{data:l}=(0,i.default)(d.USE_THERAPISTS_SWR_KEY,c.fetchProcessedTherapists),n=null==l?void 0:l.find(t=>t.therapistId===e);return e&&n?e?t?"/".concat(s.PUBLIC_THERAPISTS_PAGE_SLUG,"/").concat(null==n?void 0:n.slug):"/client/".concat(e,"/profile"):"":null};var m=e.i(28108),p=e.i(664226),f=e.i(305629);e.i(303364),e.i(801432),e.i(908004);let b=e=>{let{icon:l,text:n,href:r,className:a="",iconSize:i,newWindow:s=!1,variant:c}=e;return(0,t.jsxs)(o.ButtonLink,{className:a,size:"icon",href:r,newWindow:s,variant:c,children:[l&&(0,t.jsx)(f.default,{icon:l,size:"".concat(null!=i?i:"sm"),className:"".concat(n?"mr-2":"")}),n]})},x=e=>{var l;let{author:r,isPublic:a=!1}=e,o=u(null==r?void 0:r.therapistId,a);return(0,t.jsxs)("div",{className:"flex items-center",children:[(null==r||null==(l=r.thumbnail)?void 0:l.data)&&(0,t.jsx)(p.default,{imgUrl:r.thumbnail.data.attributes.url,sizeClass:"w-12 h-12"}),((null==r?void 0:r.desc)||(null==r?void 0:r.name))&&(0,t.jsxs)("div",{className:"ml-4 flex flex-col justify-center text-sm",children:[(0,t.jsx)("span",{children:r.desc}),o?(0,t.jsx)(n.default,{className:"font-bold text-peach-500 hover:text-peach-500",href:o,children:(0,t.jsx)("div",{children:null==r?void 0:r.name})}):(0,t.jsx)("strong",{children:null==r?void 0:r.name})]})]})},h=e=>{let{author:n,isPublic:i,isBusinessPage:s}=e,{t:c}=(0,m.getTranslate)(),d=(0,r.usePathname)(),[u,p]=(0,a.useState)(!1),h="".concat("https://hedepy.pl").concat(d);return(0,t.jsxs)("div",{className:"flex-wrap: flex justify-between gap-4 tablet:flex-nowrap",children:[n&&(0,t.jsx)(x,{author:n,isPublic:i}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"text-xs font-bold",children:c("component.premiumContent.shareTitle")}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(b,{icon:"facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(h),iconSize:"xs",newWindow:!0,variant:s?"yellow":"default"}),(0,t.jsx)(o.Button,{variant:u?"light":s?"yellow":"default",size:"icon",onClick:()=>{(0,l.default)(h),p(!0)},children:(0,t.jsx)(f.default,{icon:"copy",size:"xs"})})]}),u&&(0,t.jsx)("div",{className:"mt-2 text-right text-xs font-bold",children:c("general.info.copied")})]})]})]})}},686681,e=>{"use strict";e.s(["default",()=>i]);var t=e.i(117282),l=e.i(396262),n=e.i(575022),r=e.i(317571),a=e.i(837057),o=e.i(305629);let i=e=>{let{link:i,linkAs:s,text:c,color:d,size:u="sm",icon:m,onClick:p,navigateBack:f=!1}=e,b=(0,n.useRouter)(),x=e=>(0,t.jsxs)(r.Button,{className:(0,a.cn)("back-button",{["back-button--".concat(u)]:!!u}),variant:"inline",onClick:e,children:[m&&(0,t.jsx)(o.default,{className:"back-button__back-icon",color:d,icon:m,size:u}),(0,t.jsx)("span",{className:(0,a.cn)("back-button__text",{["back-button__text--".concat(u)]:!!u}),children:c})]});return i?(0,t.jsx)(l.default,{href:i,as:s||i,children:x()}):x(()=>{"function"==typeof p?p():f&&b.back()})}},810475,363611,e=>{"use strict";e.s(["default",()=>i],810475);var t=e.i(117282),l=e.i(396262);e.s(["default",()=>o],363611);var n=e.i(575022),r=e.i(180350);
3function a(e){let t=(0,n.useSearchParams)(),l={};return t.forEach((e,t)=>{l={...l,[t]:e}}),r.default.cloneElement(e.children,{href:{pathname:e.href,query:l}})}let o=function(e){return(0,t.jsx)(r.Suspense,{fallback:e.children,children:(0,t.jsx)(a,{...e})})},i=e=>(0,t.jsx)(o,{...e,children:(0,t.jsx)(l.default,{...e})})},594508,e=>{"use strict";e.s(["NUMBER_OF_ARTICLES",()=>r,"NUMBER_OF_BLOG_ARTICLES",()=>t,"NUMBER_OF_LESSONS",()=>n,"NUMBER_OF_TESTS",()=>l,"VIDEO_LESSON_TYPE",()=>a]);let t=3,l=8,n=2,r=e=>e?6:3;var a=function(e){return e.BRAINEE="brainee",e.POSHURSHEMO="poshurshemo",e.ATAIRU="atairu",e}({})},807188,e=>{"use strict";e.s(["OptimizedImage",()=>R,"default",()=>S],807188);var t=e.i(117282),l=e.i(760490),n=e.i(47974),r=e.i(335288),a=e.i(966840);let o=e=>{let{author:l,isPublic:n,title:r,isBusinessPage:o}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"mb-6 text-4xl font-normal laptop:text-5xl",children:r}),(0,t.jsx)(a.default,{isPublic:n,author:l,isBusinessPage:o})]})};var i=e.i(837057),s=e.i(28108),c=e.i(556674);let d=e=>{var n,r,a,o,d,u;let{content:m}=e,{t:p}=(0,s.getTranslate)(),f=null==(a=m.cover)||null==(r=a.data)||null==(n=r.attributes)?void 0:n.url,b=null==f?void 0:f.includes(".svg"),x=null!=(o=m.coverLayout)?o:"center",h=f&&b?(0,c.chooseCorrectColors)(f):f,v=null!=(u=null!=(d=m.cover.alt)?d:m.title)?u:p("general.illustrationImage");return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"h-[300px] w-full overflow-hidden rounded-[20px] bg-blue-500",children:(0,t.jsx)("div",{className:"relative flex h-full",children:h&&(b?(0,t.jsx)("img",{src:h,loading:"eager",alt:v,className:"mx-auto p-6"}):(0,t.jsx)(l.default,{alt:v,src:h,className:(0,i.cn)("object-contain p-6","fill"===x&&"object-cover p-0"),fill:!0,sizes:"274px",loading:"eager",priority:!0}))})})})};var u=e.i(933550),m=e.i(329474);e.i(530203),e.i(537134);let p={"topics-block":["tagList","common"],"promo-block":["slide","common"],"features-block":["features","common"],"form-block":["form","author","common","image"],"checkmarks-block":["common","list","coloredBox","image"],"insurance-table-block":["common","tableHeader","tableRows"],"how-it-works-block":["common","howItWorks"],"price-list-block":["common","services"],"how-it-works-arrows-block":["common","howItWorks"],"boxes-block":["common","boxes"],"newsletter-block":["form","common","benefits"],"youtube-video-block":["common","youtubeCoverImage"]};["faq-block","longterm-therapy-block","customer-support-block","featured-therapist-block","image-block","app-buttons-block","promo-block","puzzle-block","pricing-block","topics-block","b2-b-block","hedepy-promo-block","reviews-block","promo-plan-block","headline-with-cta","steps-block","header-subpage-block","icons-with-notes-block","price-list-block","how-it-works-block","how-it-works-arrows-block","rich-content-block","form-block","insurance-companies-block","insurance-table-block","therapist-list-block","company-testimonials-block","ab-test-block","typeform-block","voucher-form-block","detailed-description-block","matching-banner-block","results-block","chat-block","boxes-block","features-block","table-block","therapists-images-block","tags-and-content-block","checkmarks-block","testimonials-list-block","diagnosis-legacy-block","content-promo-block","article-category-teaser","resources-carousel-block","link-block","case-study-list-block","case-study-carousel-block","grid-block","pages-collection-block","newsletter-block","youtube-video-block"].reduce((e,t)=>{let l=p[t];return e["page-block.".concat(t)]={populate:l?l.reduce((e,t)=>({...e,[t]:{populate:"*"}}),{}):"*"},e},{}),e.i(219750);let f=async()=>{let e=await fetch("".concat("https://cms.hedepy.cz","/api/upload/files")),t=await e.json(),l={};return t.forEach(e=>{l[e.url]={w:e.width,h:e.height}}),l};var b=e.i(566491),x=e.i(686681),h=e.i(896340),v=e.i(435754),g=e.i(317571),j=e.i(305629);let y=e=>{let{className:l}=e,{t:n}=(0,s.getTranslate)();return(0,t.jsx)("div",{className:"flex w-full justify-center ".concat(l),children:(0,t.jsx)("div",{className:"w-full rounded-3xl bg-white p-7 shadow-hedepy",children:(0,t.jsxs)("div",{className:"\"-m-3 'tablet:flex-column' flex flex-col items-center text-center",children:[(0,t.jsx)(j.default,{icon:"chat-bubbles",className:"mr-3",color:"primary",size:"slg"}),(0,t.jsx)("div",{className:"p-3 text-center text-xl font-bold leading-6 tablet:!text-center",children:n("component.counseling.banner.title")}),(0,t.jsx)("div",{className:"mb-7 text-sm text-text-color",children:(0,t.jsx)(v.default,{children:n("component.counseling.banner.descActiveBenefit")})}),(0,t.jsx)("div",{className:"p-3 leading-6",children:(0,t.jsx)(g.ButtonLink,{href:"/counselling",children:n("component.counseling.startChat.button")})})]})})})};var w=e.i(396262);let N=e=>{var n,r,a,o;let{topic:i}=e,{t:c}=(0,s.getTranslate)();return(0,t.jsxs)("div",{className:"flex w-full flex-col",children:[(0,t.jsx)("div",{className:"relative mb-4 flex h-[220px] overflow-hidden rounded-3xl bg-petrol-500 tablet:h-[9.6rem]",children:(0,t.jsx)("div",{className:"relative w-1/2",children:(0,t.jsx)("div",{className:"absolute -bottom-6 right-0",children:(0,t.jsx)(l.default,{alt:null==(n=i.content.cover)?void 0:n.title,src:null==(o=i.content.cover)||null==(a=o.data)||null==(r=a.attributes)?void 0:r.url,fill:!0,sizes:"137px"})})})}),(0,t.jsxs)("div",{className:"mb-6 flex flex-col text-base font-bold text-text-color",children:[(0,t.jsx)("div",{className:"",children:i.title}),(0,t.jsx)("div",{className:"text-xs font-normal",children:i.perex}),(0,t.jsxs)("div",{className:"self-end text-xs",children:[c("component.premiumContent.lessonFooter.showFull"),(0,t.jsx)(j.default,{icon:"arrow",size:"sm",className:"ml-7",color:"primary"})]})]})]})},k=e=>{let{topics:l}=e,{t:n}=(0,s.getTranslate)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{className:"text-md mb-4 font-bold text-secondary",children:n("component.counselling.recommendedTitle")}),null==l?void 0:l.map((e,l)=>{let n=e.attributes;return(0,t.jsx)(w.default,{href:"/content/".concat(n.slug),className:"flex max-w-[280px] self-stretch text-text-color hover:no-underline",children:(0,t.jsx)(N,{topic:n})},"video-".concat(l))})]})};var _=e.i(810475),O=e.i(594508);let E=e=>{var l,n,r,a,o,i,c,d;let{lesson:u,author:m}=e,{t:p}=(0,s.getTranslate)(),{allowPoshurshemo:f}
3=(0,b.default)(),x=f?O.VIDEO_LESSON_TYPE.POSHURSHEMO:O.VIDEO_LESSON_TYPE.BRAINEE;return(0,t.jsxs)("div",{className:"flex w-full flex-col",children:[(0,t.jsxs)("div",{className:"relative mb-4 flex h-[220px] overflow-hidden rounded-3xl bg-petrol-500 tablet:h-[9.6rem]",children:[(0,t.jsxs)("div",{className:"my-5 ml-5 w-1/2",children:[(0,t.jsx)("div",{className:"flex",children:(0,t.jsx)("div",{className:"shrink rounded-md bg-peach-500 px-2 text-xs font-bold text-white",children:p("component.premiumContent.".concat(x,".tag"))})}),(0,t.jsx)("div",{className:"text-md mt-1 line-clamp-4 font-semibold text-white",children:null==m?void 0:m.name}),(0,t.jsx)("div",{className:"text-xs font-bold text-blue-500",children:p("component.premiumContent.authorTitle")}),(0,t.jsx)("div",{className:"absolute bottom-3 left-4 flex tablet:bottom-4",children:(null==(l=u.videoSection)?void 0:l.videoLength)!==void 0&&(null==(n=u.videoSection)?void 0:n.videoLength)!==null&&(0,t.jsxs)("div",{className:"mt-2 flex shrink items-center rounded-lg bg-white bg-opacity-10 px-2 py-1 text-xs font-bold text-white",children:[(0,t.jsx)(j.default,{icon:"clock",color:"primary",size:"xs",className:"mr-3"}),(0,t.jsx)("div",{children:p("component.premiumContent.lessonFooter.minutePlural",{count:u.videoSection.videoLength})})]})})]}),(0,t.jsx)("div",{className:"relative w-1/2",children:(0,t.jsx)("div",{className:"absolute -bottom-6 right-0",children:(0,t.jsx)("img",{loading:"lazy",alt:null==m||null==(o=m.thumbnail)||null==(a=o.data)||null==(r=a.attributes)?void 0:r.alternativeText,src:null==m||null==(d=m.thumbnail)||null==(c=d.data)||null==(i=c.attributes)?void 0:i.url,className:"rounded-br-3xl"})})})]}),(0,t.jsxs)("div",{className:"mb-6 flex items-center text-base font-bold text-text-color",children:[(0,t.jsx)("div",{className:"line-clamp-2",children:null==u?void 0:u.title}),(0,t.jsx)(j.default,{icon:"arrow",size:"sm",className:"ml-7",color:"primary"})]})]})};var C=e.i(535150);let A=async e=>(await e.getAllowedPremiumContent()).data,P=e=>{let{videoLessons:l}=e,{t:r}=(0,s.getTranslate)(),{allowNewContent:a}=(0,b.default)(),{allowedPremiumContent:o}=(()=>{let{api:e}=(0,C.useApis)(),{data:t,mutate:l}=(0,n.default)(["usePremiumContent"],()=>A(e));return{allowedPremiumContent:t,refetchAllowedPremiumContent:l,isPremiumContent:Array.isArray(t)&&t.length>0,isPremiumContentAllowed:e=>Array.isArray(t)&&t.includes(e),isAnyPremiumContentAllowed:e=>Array.isArray(t)&&e.some(e=>t.includes(e))}})(),{allowPoshurshemo:i}=(0,b.default)(),c=i?O.VIDEO_LESSON_TYPE.POSHURSHEMO:O.VIDEO_LESSON_TYPE.BRAINEE,d=null==l?void 0:l.filter(e=>null===e.attributes.type||e.attributes.type===O.VIDEO_LESSON_TYPE.BRAINEE),u=null==l?void 0:l.filter(e=>e.attributes.type===O.VIDEO_LESSON_TYPE.POSHURSHEMO),m=i?u:d,p=m[0]?null===m[0].attributes.type?"brainee":m[0].attributes.type:"",f=!o||!(null==o?void 0:o.includes(p.toUpperCase())),x=m.slice().sort(()=>Math.random()-.5).slice(0,2);return a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{className:"text-md mb-4 font-bold text-secondary",children:r("component.counselling.recommendedTitle")}),null==x?void 0:x.map((e,l)=>{var n;let r=e.attributes,a=null==(n=r.lessonInfo)?void 0:n.lessonAuthor;return(0,t.jsx)(_.default,{href:f?"/articles/".concat(c):"/articles/".concat(c,"/").concat(r.slug),className:"flex self-stretch text-text-color hover:no-underline",children:(0,t.jsx)(E,{lesson:r,author:a})},"video-".concat(l))})]}):null};var T=function(e){return e.topic="topic",e.article="article",e.aboutTherapy="about-therapy",e}({});let R=e=>{var r;let{t:a}=(0,s.getTranslate)(),o=e.src.includes(".svg"),i=null!=(r=e.alt)?r:a("general.illustrationImage"),d=(e=>{let{data:t}=(0,n.default)("useImageDimensions",f);return t?t[e]:null})(e.src);if(o){let l=(0,c.chooseCorrectColors)(e.src);return(0,t.jsx)("img",{...e,src:l,loading:"lazy",alt:i})}let u={...e,alt:i,sizes:"720px"};return d?(0,t.jsx)(l.default,{...u,width:d.w,height:d.h,alt:i}):(0,t.jsx)("span",{className:"relative flex h-[300px] big-phone:h-[400px]",children:(0,t.jsx)(l.default,{...u,fill:!0,className:"max-w-max object-cover tablet:object-contain",alt:i})})},S=e=>{let{data:l,videoLessons:n,topics:a,isPublic:i,isMainContent:c,diagnosisTeaser:p,baseLink:f}=e,{t:v}=(0,s.getTranslate)(),{showCounsellingTeaser:g}=(0,b.default)(),{isLoggedIn:j}=(0,m.useSession)();if(!l)return(0,t.jsx)("p",{children:"There is no content for this version of language."});let w=()=>c?(0,t.jsx)(k,{topics:a}):(0,t.jsx)(P,{videoLessons:n});return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"mb-8 grid grid-cols-3 gap-12",children:[(0,t.jsx)("div",{className:"col-span-3 tablet:col-span-2",children:(0,t.jsx)(d,{content:l})}),(0,t.jsxs)("div",{className:"col-span-3 tablet:col-span-2",children:[(0,t.jsx)(o,{author:l.author,title:l.title,isPublic:!0}),(0,t.jsx)("p",{className:"mt-8",children:l.perex}),(0,t.jsx)(r.default,{content:l.content,isPublic:i,rewriteLinksToPublic:!j}),(0,t.jsx)("div",{className:"mt-8 tablet:hidden",children:w()}),!i&&l.type!==u.ArticleType.WEBINAR&&(0,t.jsxs)("div",{className:"mb-13",children:[(0,t.jsx)("h2",{className:"mb-4 mt-12 w-full text-secondary",children:v("component.counselling.article.".concat(l.category===T.aboutTherapy?"subTitleTherapy":"subTitle"))}),(0,t.jsxs)("div",{className:"mb-12 grid w-full grid-cols-1 gap-6 desktop:grid-cols-2",children:[p,g&&(0,t.jsx)(y,{})]}),(0,t.jsx)(x.default,{icon:"back",link:f,text:v("component.button.back"),size:"sm"})]})]}),(0,t.jsxs)("div",{className:"col-span-1 hidden tablet:block",children:[(0,t.jsx)(h.default,{content:l.content}),w()]})]})})}}]);
4
5//# sourceMappingURL=84ad1371ae7a3eae.js.map
6//# debugId=223dcf7f-647e-52aa-8504-b31d3746686a

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.