1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a2f7ed6a-192b-4143-95f3-844681eb211f",e._sentryDebugIdIdentifier="sentry-dbid-a2f7ed6a-192b-4143-95f3-844681eb211f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8102],{54044:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/audio/[title]",function(){return n(29182)}])},55415:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(85893);n(67294);var o=n(68458),i=n(84754),l=n(96531);let a=(0,o.default)(l.Z).withConfig({displayName:"carousel-button__StyledChevron",componentId:"sc-dfea5fe-0"})(["width:",";height:",";transform:rotate(",");color:",";"],e=>{let{$size:t}=e;return t?`${t}px`:"22px"},e=>{let{$size:t}=e;return t?`${t}px`:"22px"},e=>{let{$direction:t}=e;return"forward"===t?"-180deg":"0deg"},e=>{let{theme:t}=e;return t.colors.text_primary}),s=e=>{let{direction:t,size:n,...o}=e;return(0,r.jsx)(i.z,{variant:"ghost",icon:(0,r.jsx)(a,{$direction:t,$size:"small"===n?18:22}),...o,size:n})}},94715:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});let r=n(68458).default.button.withConfig({displayName:"text-button__TextButton",componentId:"sc-5b823b03-0"})(["display:inline-flex;padding:8px 16px;justify-content:center;align-items:center;cursor:pointer;&,& > *{color:rgba(0,0,0,0.6);font-size:16px;font-style:normal;font-weight:500;line-height:130%;letter-spacing:-0.25px;}border-radius:0;background:transparent;border:0;&:disabled{&,& > *{color:rgba(0,0,0,0.2);}}","{&:hover,&.hover{text-underline-offset:8px;text-decoration:underline;text-decoration-color:rgba(16,38,70,0.6);}}&:active,&.active{color:rgba(0,0,0,0.6);}&:focus-visible,&.focus{border-radius:2px;outline:1px solid var(--focus-ring-color,",");outline-offset:2px;}"],e=>{let{theme:t}=e;return t.media.hover},e=>{let{theme:t}=e;return t.colors.focus_blue})},20230:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=n(68458),i=n(67294);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var a=(0,o.default)(e=>i.createElement("svg",l({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M8 0.416016C12.1878 0.416025 15.5828 3.81122 15.583 7.99902C15.583 12.187 12.188 15.582 8 15.582C3.81204 15.582 0.417002 12.187 0.416992 7.99902C0.417179 3.81121 3.81215 0.416016 8 0.416016ZM8 1.91602C4.64057 1.91602 1.91718 4.63964 1.91699 7.99902C1.917 11.3586 4.64046 14.082 8 14.082C11.3595 14.082 14.083 11.3586 14.083 7.99902C14.0828 4.63965 11.3594 1.91603 8 1.91602ZM10.3691 9.0332C10.5351 8.65397 10.9771 8.47986 11.3564 8.64551C11.7357 8.8113 11.9085 9.25344 11.7432 9.63281C11.446 10.3129 10.9694 10.8961 10.374 11.3223C9.70503 11.8009 8.88406 12.0829 8 12.083C7.11586 12.0829 6.29501 11.801 5.62598 11.3223C5.03052 10.8961 4.55401 10.313 4.25684 9.63281C4.09147 9.25339 4.26518 8.81125 4.64453 8.64551C5.02385 8.48034 5.46607 8.65404 5.63184 9.0332C5.81951 9.46251 6.12111 9.83212 6.49902 10.1025C6.92189 10.4051 7.43915 10.5829 8 10.583C8.56087 10.5829 9.07908 10.4051 9.50195 10.1025C9.87962 9.83213 10.1816 9.46234 10.3691 9.0332ZM6.33301 5.33301C6.88518 5.33301 7.33283 5.78087 7.33301 6.33301C7.33301 6.88529 6.88529 7.33301 6.33301 7.33301C5.78087 7.33283 5.33301 6.88518 5.33301 6.33301C5.33318 5.78098 5.78098 5.33318 6.33301 5.33301ZM9.66699 5.33301C10.219 5.33318 10.6668 5.78098 10.667 6.33301C10.667 6.88518 10.2191 7.33283 9.66699 7.33301C9.11471 7.33301 8.66699 6.88529 8.66699 6.33301C8.66717 5.78087 9.11482 5.33301 9.66699 5.33301Z",fill:"#2A2D34"})))).withConfig({displayName:"IconEmoticon",componentId:"sc-8dbc7c40-0"})([""])},89368:function(e,t,n){"use strict";n.d(t,{Dk:function(){return d}});var r=n(67294),o=n(2907),i=n(6371);let l=new Map,a=e=>`${window.location.pathname}${window.location.search}::${e}`,s=(e,t)=>{if(l.delete(e),l.set(e,t),l.size>200){let e=l.keys().next().value;void 0!==e&&l.delete(e)}},c=e=>l.get(e);function d(e,t,n){let l=(0,r.useRef)(null);null===l.current&&(l.current=e?a(e):"");let d=(0,r.useRef)(l.current&&(0,i.$e)()?c(l.current):void 0),u=(0,r.useRef)(n);u.current=n;let p=(0,r.useRef)(void 0),m=(0,r.useRef)(!1),f=(0,r.useRef)(0);return(0,o.L)(()=>{let e=t.current;if(!e||!l.current)return;e.clientWidth>0&&(m.current=!0);let n=()=>{m.current=!0,f.current=e.scrollLeft};return e.addEventListener("scroll",n,{passive:!0}),()=>e.removeEventListener("scroll",n)},[]),(0,o.L)(()=>{let e=d.current,n=t.current;if(!(null==e?void 0:e.scrollLeft)||!n)return;let r=e.scrollLeft,o=0,i=()=>1>
1=Math.abs(n.scrollLeft-r),l=()=>{n.scrollTo({left:r,behavior:"instant"}),o=n.scrollLeft};if(l(),i())return;let a=!1;p.current=r;let s=()=>{a=!0,p.current=void 0,f()},c=()=>{(i()||n.scrollLeft!==o)&&s()},u=new ResizeObserver(()=>{!a&&(l(),i()&&s())});u.observe(n),Array.from(n.children).forEach(e=>u.observe(e)),n.addEventListener("scroll",c,{passive:!0});let m=requestAnimationFrame(()=>{!a&&(l(),i()&&s())}),f=()=>{u.disconnect(),n.removeEventListener("scroll",c),cancelAnimationFrame(m)};return f},[]),(0,o.L)(()=>{let e=l.current;if(!e)return;let n=t.current;return()=>{var t;if(!n)return;let r=n.clientWidth>0;(r||m.current)&&s(e,{scrollLeft:p.current??(r?n.scrollLeft:f.current),payload:(null===(t=u.current)||void 0===t?void 0:t.call(u))??0})}},[]),d.current}},88760:function(e,t,n){"use strict";n.d(t,{B:function(){return w},Z:function(){return I}});var r,o,i,l=n(85893),a=n(67294),s=n(68458),c=n(25384),d=n(72931);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let f=(0,s.default)(e=>a.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none"},e),r||(r=a.createElement("path",{d:"M9.99986 7.79199C12.2549 7.79199 14.0837 9.61999 14.0838 11.875C14.0837 14.13 12.2549 15.959 9.99986 15.959C7.74503 15.9587 5.91703 14.1298 5.91685 11.875C5.91703 9.62015 7.74503 7.79226 9.99986 7.79199ZM9.99986 9.29199C8.57346 9.29226 7.41703 10.4486 7.41685 11.875C7.41703 13.3014 8.57346 14.4587 9.99986 14.459C11.4265 14.459 12.5837 13.3016 12.5838 11.875C12.5837 10.4484 11.4265 9.29199 9.99986 9.29199ZM9.99888 4.04199C14.6108 4.04199 17.5449 6.5794 19.118 8.47852C19.3821 8.79743 19.3381 9.26995 19.0194 9.53418C18.7005 9.7979 18.2269 9.75424 17.9628 9.43555C16.5446 7.72347 13.994 5.54199 9.99888 5.54199C6.0042 5.54232 3.45309 7.72358 2.03502 9.43555C1.77066 9.75369 1.29804 9.79809 0.979353 9.53418C0.660783 9.27005 0.617037 8.79741 0.88072 8.47852C2.45375 6.57952 5.38744 4.04232 9.99888 4.04199Z",fill:"currentColor"})))).withConfig({displayName:"text__IconEyeOn",componentId:"sc-b2263ece-0"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??22},e=>{let{size:t}=e;return t??22}),h=(0,s.default)(e=>a.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none"},e),o||(o=a.createElement("path",{d:"M17.1221 7.65428C17.382 7.33195 17.8543 7.28115 18.1768 7.541C18.4991 7.80091 18.5498 8.27324 18.29 8.59569C17.891 9.09075 17.3918 9.63119 16.791 10.1562L18.3574 12.9023C18.5625 13.262 18.4367 13.7205 18.0771 13.9258C17.7174 14.1306 17.2598 14.0052 17.0547 13.6455L15.5889 11.0742C14.8042 11.5905 13.8953 12.0409 12.8525 12.3418L13.3076 15.083C13.3753 15.4913 13.0996 15.8771 12.6914 15.9453C12.283 16.0132 11.8963 15.7374 11.8281 15.3291L11.3818 12.6465C10.9406 12.7043 10.48 12.7373 9.99902 12.7373C9.51745 12.7373 9.05596 12.7044 8.61426 12.6465L8.16992 15.3291C8.1018 15.7375 7.71511 16.0132 7.30664 15.9453C6.89825 15.8773 6.62
118 15.4914 6.68945 15.083L7.14453 12.3418C6.10197 12.0409 5.1927 11.5913 4.4082 11.0752L2.94336 13.6455C2.73826 14.0052 2.28066 14.1306 1.9209 13.9258C1.56107 13.7206 1.43544 13.2622 1.64062 12.9023L3.20605 10.1562C2.6054 9.63129 2.10695 9.09066 1.70801 8.59569C1.44808 8.27319 1.4988 7.80094 1.82129 7.541C2.14378 7.28126 2.6161 7.33186 2.87598 7.65428C4.15151 9.23683 6.43297 11.2373 9.99902 11.2373C13.565 11.2372 15.8466 9.23681 17.1221 7.65428Z",fill:"currentColor"})))).withConfig({displayName:"text__IconEyeOff",componentId:"sc-b2263ece-1"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??22},e=>{let{size:t}=e;return t??22}),x=(0,s.default)(e=>a.createElement("svg",m({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=a.createElement("path",{d:"M10.002 0.708008C15.1332 0.708155 19.2928 4.86781 19.293 9.99902C19.2929 15.1303 15.1332 19.2899 10.002 19.29C4.87067 19.2899 0.710969 15.1303 0.710938 9.99902C0.711058 4.86779 4.87072 0.708128 10.002 0.708008ZM10.002 2.20801C5.69915 2.20813 2.21106 5.69622 2.21094 9.99902C2.21097 14.3019 5.69909 17.7899 10.002 17.79C14.3048 17.7899 17.7929 14.3019 17.793 9.99902C17.7928 5.69623 14.3047 2.20815 10.002 2.20801ZM10.002 10.75C10.4162 10.75 10.752 10.41421 10.752 10V5.833C10.7518 5.4189 10.4161 5.083 10.002 5.083C9.58785 5.083 9.25214 5.4189 9.25195 5.833V10C9.25195 10.41421 9.58774 10.75 10.002 10.75ZM10.002 14.66699C10.738 14.66682 11.3356 14.06996 11.3359 13.33398C11.3359 12.59771 10.7382 12.00018 10.002 12C9.26572 12.00018 8.66895 12.59771 8.66895 13.33398C8.66929 14.06996 9.26594 14.66682 10.002 14.66699Z",fill:"currentColor"})))).withConfig({displayName:"text__IconCaution",componentId:"sc-b2263ece-2"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??20},e=>{let{size:t}=e;return t??20}),g=s.default.span.withConfig({displayName:"text__Label",componentId:"sc-b2263ece-3"})(["font-size:14px;font-weight:600;line-height:1.4;letter-spacing:-0.3px;color:",";"],e=>{let{theme:t}=e;return t.colors.text_primary}),y=s.default.span.withConfig({displayName:"text__HelperText",componentId:"sc-b2263ece-4"})(["font-size:14px;font-weight:490;line-height:1.4;letter-spacing:-0.4px;color:",";"],e=>{let{theme:t,$error:n}=e;return n?t.colors.text_negative_default:t.colors.text_tertiary}),C=s.default.div.withConfig({displayName:"text__InputWrapper",componentId:"sc-b2263ece-5"})(["display:flex;flex-direction:column;gap:8px;flex:1;position:relative;input{height:48px;width:100%;border-radius:",";background-color:",";padding:13px 12px;padding-right:",";font-size:16px;font-weight:460;line-height:1.4;letter-spacing:-0.5px;color:",";caret-color:",";border:1px solid ",";outline:none;transition:border-color 0.15s ease;&::placeholder{color:",";}&:hover:not(:disabled):not(:focus){border-color:",";}&:focus{border-color:",";}body.tabbing &:focus{border-color:var(--focus-ring-color,",");}&:disabled{background:",";border-color:",";color:",";cursor:default;}}",""],e=>{let{rounded:t}=e;return t?"40px":"4px"},e=>{let{theme:t}=e;return t.colors.white},e=>{let{$hasTrailingIcon:t}=e;return t?"40px":"12px"},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.border_tertiary_default},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.border_tertiary_hover},e=>{let{theme:t}=e;return t.colors.border_primary_default},e=>{let{theme:t}=e;return t.colors.focus_blue},e=>{let{theme:t}=e;return t.colors.background_disabled},e=>{let{theme:t}=e;return t.colors.border_tertiary_default},e=>{let{theme:t}=e;return t.colors.text_secondary},e=>{let{hasError:t,caution:n,theme:r}=e;return t&&!n&&` 2 input { 3 border-color: ${r.colors.text_negative_default}; 4 color: ${r.colors.text_negative_default}; 5 6 &:hover:not(:disabled):not(:focus), 7 &:focus { 8 border-color: ${r.colors.text_negative_default}; 9 } 10 } 11 `}),v=s.default.span.withConfig({displayName:"text__HiddenLabel",componentId:"sc-b2263ece-6"})(["clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
11height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;background-color:transparent;"]),w=(0,s.default)(d.DZ).withConfig({displayName:"text__ErrorMessage",componentId:"sc-b2263ece-7"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_negative_default}),b=s.default.span.withConfig({displayName:"text__CounterMessage",componentId:"sc-b2263ece-8"})(["font-size:10px;font-weight:490;color:",";position:absolute;top:3px;right:4px;"],e=>{let{theme:t}=e;return t.colors.text_tertiary}),_=s.default.div.withConfig({displayName:"text__TrailingIconWrapper",componentId:"sc-b2263ece-9"})(["display:flex;align-items:center;justify-content:center;position:absolute;right:12px;bottom:0;height:48px;cursor:pointer;"]),j=e=>{let{required:t,disabled:n,placeholder:r,min:o,max:i,maxLength:s,rounded:d,label:u,name:p,value:m,error:j="",type:I="text",onChange:N,onBlur:S,onFocus:k,hiddenLabel:L,inputRef:E,inputStyle:R,className:T,hint:D,passwordPeek:z=!1,caution:$=!1,autoFocus:Z=!1,autoComplete:M,trailingIcon:A,hideCounter:O=!1,showErrorTrailingIcon:B=!0}=e,[P,q]=(0,a.useState)(!1),U=""!==j,F=z&&"password"===I&&((null==m?void 0:m.length)??0)>0,H=U&&!F&&B,X=F||H||!!A;return(0,l.jsxs)(C,{className:T,rounded:d,hasError:U,caution:$,$hasTrailingIcon:X,children:[u&&(0,l.jsx)(g,{children:u}),L&&(0,l.jsx)(v,{children:L}),(0,l.jsxs)("div",{style:{position:"relative"},onTouchStartCapture:e=>e.stopPropagation(),onTouchMoveCapture:e=>e.stopPropagation(),onTouchEndCapture:e=>e.stopPropagation(),children:[(0,l.jsx)("input",{type:P?"text":I,value:m,disabled:n,placeholder:r,name:p,min:o,max:i,maxLength:s,style:R,onChange:N,onBlur:S,onFocus:k,required:t,autoFocus:Z,autoComplete:M,ref:E}),s&&!O&&(0,l.jsxs)(b,{children:[(null==m?void 0:m.length)??0,"/",s]}),F&&(0,l.jsx)(_,{onClick:()=>{let e="function"==typeof E?document.activeElement:(null==E?void 0:E.current)??document.activeElement,t=!!e&&document.activeElement===e,n=(null==e?void 0:e.selectionStart)??null,r=(null==e?void 0:e.selectionEnd)??null,o=(null==e?void 0:e.selectionDirection)??"none";if(q(e=>!e),!e||!t||null===n||null===r)return;let i=()=>{try{e.focus({preventScroll:!0}),e.setSelectionRange(n,r,o)}catch{}};requestAnimationFrame(()=>{i(),setTimeout(i,0),setTimeout(i,50)})},onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),children:P?(0,l.jsx)(f,{}):(0,l.jsx)(h,{})}),H&&(0,l.jsx)(_,{children:(0,l.jsx)(x,{color:c.theme.colors.text_negative_default})}),!F&&!H&&A&&(0,l.jsx)(_,{style:{cursor:"default"},children:A})]}),U&&(0,l.jsx)(w,{children:j}),!U&&D&&(0,l.jsx)(y,{children:D})]})};j.displayName="Text";var I=j},10979:function(e,t,n){"use strict";n.d(t,{A9:function(){return h},Fy:function(){return p},J1:function(){return s},Lp:function(){return f},Qj:function(){return g},Zg:function(){return x},kq:function(){return u},l0:function(){return d},nL:function(){return c},xI:function(){return m}});var r=n(68458),o=n(41664),i=n.n(o),l=n(88760),a=n(72931);let s=r.default.div.withConfig({displayName:"create-account.styled__CreateAccountContainer",componentId:"sc-25b2992e-0"})(["flex-shrink:0;"]),c=(0,r.default)(a.y$).withConfig({displayName:"create-account.styled__WelcomeTitle",componentId:"sc-25b2992e-1"})(["text-align:center;margin-bottom:32px;"]),d=r.default.form.withConfig({displayName:"create-account.styled__Form",componentId:"sc-25b2992e-2"})([""]),u=r.default.div.withConfig({displayName:"create-account.styled__Inputs",componentId:"sc-25b2992e-3"})(["display:flex;flex-direction:column;gap:16px;width:100%;"]),p=(0,r.default)(l.Z).withConfig({displayName:"create-account.styled__StyledInput",componentId:"sc-25b2992e-4"})(["width:100%;letter-spacing:-0.25px;& input{letter-spacing:-0.25px;}"]),m=r.default.div.withConfig({displayName:"create-account.styled__Checkboxes",componentId:"sc-25b2992e-5"})(["display:flex;flex-direction:column;gap:8px;padding:8px 0;width:100%;"]),f=(0,r.default)(i()).withConfig({displayName:"create-account.styled__CheckboxLink",componentId:"sc-25b2992e-6"})(["text-decoration:underline;text-underline-offset:2px;"]),h=r.default.div.withConfig({displayName:"create-account.styled__SocialIconsRow",componentId:"sc-25b2992e-7"})(["display:flex;justify-content:center;gap:16px;margin-bottom:16px;"]),x=(0,r.default)(a.DZ).withConfig({displayName:"create-account.styled__TextAndLink",componentId:"sc-25b2992e-8"})(["display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;text-align:center;",""],e=>{let{$withExtraSpacing:t}=e;return t&&"margin-bottom: 20px;"}),g=(0,r.default)(a.DZ).withConfig({displayName:"create-account.styled__LinkButton",componentId:"sc-25b2992e-9"})(["cursor:pointer;text-decoration:underline;margin-left:8px;"])},54724:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(38110),o=n(455),i=n(49379),l=n(51137);function a(e,t){return(0,r.a)({queryKey:["audio",e],queryFn:async t=>{let{signal:n}=t,r=await (0,i.MA)(`${o.R.AUDIOS}/audio?title=${encodeURIComponent(e)}`,{signal:n});if(!r)throw Error("Audio not found");return(0,l.sr)(r),r},enabled:!!e,retry:!1,initialData:t,initialDataUpdatedAt:t?0:void 0})}},67846:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(38110),o=n(455),i=n(49379);function l(e,t){return(0,r.a)({queryKey:["voice",e],queryFn:()=>(0,i.MA)(`${o.R.VOICE}/${encodeURIComponent(e)}`),enabled:!!e,initialData:t,initialDataUpdatedAt:t?0:void 0})}},89937:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(67294),o=n(28157),i=n(90336),l=n(21861),a=n(31651);let s=e=>{let{audio:t}=e,[n,s]=(0,r.useState)(!1);(0,r.useEffect)(()=>{s(!0)},[]);let c=(0,o.I0)(),{isMobile:d}=(0,a.d)(),u=(0,o.v9)(e=>t?e.history.currentlyListening[t.id]:0),p=(0,o.v9)(e=>{var n;return!!t&&(null===(n=e.audioManager.current)||void 0===n?void 0:n.id)===t.id}),m=(0,o.v9)(e=>!!t&&p&&e.audio.isPlaying),f=p||n&&u>0,h=(0,r.useCallback)((e,t,n,r,o,a,s,u,f)=>{m?c((0,i.sB)(!1)):p?c((0,i.sB)(!0)):c((0,l.Vn)(e,t,n,r,o,a,s,u,d,f))},[m,p,c,d]);return{isPlaying:m,isInProgress:f,setPlaying:h}},c=e=>{let{analyticsSource:t,audio:n,listTitle:l,listHref:a}=e,c=(0,o.I0)(),{isPlaying:d,setPlaying:u,isInProgress:p}=s({audio:n}),m=(0,o.v9)(e=>e.user.isAuthed),f=(0,o.v9)(e=>e.user.isSubscribed),h=(0,o.v9)(e=>!!a&&e.audioManager.listHref===a&&e.audio.isPlaying),x=(0,o.v9)(e=>!!a&&e.audioManager.listHref===a&&!!e.audioManager.current.id);return{handlePlayAll:(0,r.useCallback)((e,n,r,o)=>{u(e,r,n,m,f??!1,t,l??n,a,o)},[u,m,f,t,l,a]),handlePlayOrResume:(0,r.useCallback)(function(e,n,r){let o=!(arguments.length>3)||void 0===arguments[3]||arguments[3];h?c((0,i.sB)(!1)):x?c((0,i.sB)(!0)):u(e,r,n,m,f??!1,t,l??n,a,o)},[u,m,f,t,l,a,h,x,c]),isPlaying:n?d:h,isInProgress:p}}},29182:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return eH},default:function(){return eX}});var r,o=n(85893),i=n(67294),l=n(2907),a=n(29349),s=n(11163),c=n(28157),d=n(49379),u=n(68458),p=n(77158),m=n(41164),f=n(72931),h=n(9858);let x=u.default.div.withConfig({displayName:"comments.styled__CommentsWrapper",componentId:"sc-7249dc7-0"})(["width:100%;max-width:720px;margin:20px auto;margin-top:20px;margin-bottom:0;padding-bottom:40px;","{padding-left:10px;}"],e=>{let{theme:t}=e;return t.media.tablet}),g=u.default.form.withConfig({displayName:"comments.styled__CommentForm",componentId:"sc-7249dc7-1"})(["padding:20px 0;"]),y=(0,u.default)(m.X2).withConfig({displayName:"comments.styled__CommentInput",componentId:"sc-7249dc7-2"})(["width:100%;"]),C=(0,u.default)(m.X2).withConfig({displayName:"comments.styled__Comment",componentId:"sc-7249dc7-3"})(["margin:20px 0;gap:16px;"]),v=(0,u.default)(m.JX).withConfig({displayName:"comments.styled__CommentContent",componentId:"sc-7249dc7-4"})(["display:flex;flex-grow:1;min-width:0;gap:6px;"]),w=(0,u.default)(m.X2).withConfig({displayName:"comments.styled__CommentBody",componentId:"sc-7249dc7-5"})(["justify-content:flex-start;"]),b=(0,u.default)(m.JX).withConfig({displayName:"comments.styled__NoComments",componentId:"sc-7249dc7-6"})(["width:100%;align-items:center;gap:4px;padding:40px 20px;text-align:center;margin-top:40px;"]),_=u.default.div.withConfig({displayName:"comments.styled__DesktopCommentInputContainer",componentId:"sc-7249dc7-7"})(["position:relative;align-items:end;min-height:96px;border-radius:4px;border:1px solid ",";&:hover{border:1px solid ",";}&:focus-within{border:1px solid ",";}body.tabbing &:focus-within{border:1px solid var(--focus-ring-color,",");}","{padding:12px;margin:1px 0 1px 0;min-height:102px;}"],e=>{let{theme:t}=e;return t.colors.border_tertiary_default},e=>{let{theme:t}=e;return t.colors.border_tertiary_hover},e=>{let{theme:t}=e;return t.colors.border_primary_default},e=>{let{theme:t}=e;return t.colors.focus_blue},e=>{let{theme:t}=e;return t.media.tablet}),j=(0,u.default)(p.ZP).withConfig({displayName:"comments.styled__CommentsAvatar",componentId:"sc-7249dc7-8"})(["--avatar-size:40px;height:40px;"]),I=u.default.div.withConfig({displayName:"comments.styled__CommentTextContainer",componentId:"sc-7249dc7-9"})(["overflow:hidden;overflow-wrap:anywhere;","{flex:1;}"],e=>{let{theme:t}=e;return t.media.tablet}),N=(0,u.default)(m.X2).withConfig({displayName:"comments.styled__CommentFooter",componentId:"sc-7249dc7-10"})(["margin-top:10px;justify-content:space-between;"]),S=(0,u.default)(m.X2).withConfig({displayName:"comments.styled__RowWithCreatorLike",componentId:"sc-7249dc7-11"})(["align-items:center;gap:12px;","{gap:16px;}"],e=>{let{theme:t}=e;return t.media.desktop}),k=(0,u.default)(f.DZ).withConfig({displayName:"comments.styled__CommentLikes",componentId:"sc-7249dc7-12"})(["flex:1;color:",";"],e=>{let{theme:t}=e;return t.colors.text_secondary}),L=(0,u.default)(f.qI).withConfig({displayName:"comments.styled__CommentText",componentId:"sc-7249dc7-13"})(["line-height:25px;max-width:90%;"]),E=u.default.textarea.withConfig({displayName:"comments.styled__TextArea",componentId:"sc-7249dc7-14"})(["box-sizing:border-box;border-radius:4px;padding:12px;resize:none;overflow-y:auto;width:100%;border:none;max-height:120px;caret-color:",";font-size:","px;font-weight:",";letter-spacing:","px;line-height:",";&::-webkit-input-placeholder{color:",";}&::-moz-placeholder{color:",";}&:-ms-input-placeholder{color:",";}&:-moz-placeholder{color:",";}","{padding:unset;margin:0;border:0;border-radius:0;resize:none;scroll-padding-bottom:40px;margin-bottom:36px;}"],e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.typography.semantic.standard.regular.fontSize},e=>{let{theme:t}=e;return t.typography.semantic.standard.regular.fontWeight},e=>{let{theme:t}=e;return t.typography.semantic.standard.regular.letterSpacing},e=>{let{theme:t}=e;return t.typography.semantic.standard.regular.lineHeight},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.media.tablet}),R=(0,u.default)(f.B7).withConfig({displayName:"comments.styled__CommentUsername",componentId:"sc-7249dc7-15"})(["display:inline-block;max-width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"," ","{&:hover{text-decoration:underline;}}"],e=>{let{$isTapped:t}=e;return t&&"text-decoration: underline;"},e=>{let{theme:t}=e;return t.media.hover}),T=(0,u.default)(f.DZ).withConfig({displayName:"comments.styled__DateText",componentId:"sc-7249dc7-16"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_secondary}),D=(0,u.default)(m.JX).withConfig({displayName:"comments.styled__TipContainer",componentId:"sc-7249dc7-17"})(["flex:1;"]),z=(0,u.default)(h.YS).withConfig({displayName:"comments.styled__TipText",componentId:"sc-7249dc7-18"})(["margin:8px 0;color:",";"],e=>{let{theme:t}=e;return t.colors.text_tertiary});
11var $=n(455),Z=n(50805),M=n(94018),A=n(64596),O=n(51450);let B=(0,u.default)(f.DZ).withConfig({displayName:"report__ReportAction",componentId:"sc-c2cc4b04-0"})(["color:",";cursor:",";&:hover{text-decoration:",";}"],e=>{let{theme:t}=e;return t.colors.text_secondary},e=>{let{$reported:t}=e;return t?"default":"pointer"},e=>{let{$reported:t}=e;return t?"none":"underline"});var P=e=>{let[t,n]=(0,i.useState)(!1),[r,l]=(0,i.useState)(!1),a=()=>{if(t)return;let r={audioId:e.audioID,commentId:e.commentID,audioUrl:window.location.href};n(!0),(0,d.qK)(`${$.R.AUDIOS}/report/comment`,"POST",void 0,r).catch(()=>{n(!1)})},s=()=>{l(!1)};return(0,o.jsxs)(i.Fragment,{children:[(0,o.jsx)(O.W,{isOpen:r,title:"Are you sure you want to report this comment?",description:"Reporting should be used for comments that are inappropriate, offensive, or violate our community guidelines.",confirmLabel:"Report",onCancel:s,onConfirm:()=>{s(),a()}}),(0,o.jsx)(B,{role:"button",$reported:t,onClick:()=>{t||l(!0)},children:t?"Reported":"Report"})]})},q=n(81481),U=n(99976),F=n(44155);function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var X=n(25384);let W=u.default.div.withConfig({displayName:"liked-by-creator__Wrapper",componentId:"sc-de9fc685-0"})(["height:24px;width:24px;padding:2px;position:relative;"]),V=u.default.img.withConfig({displayName:"liked-by-creator__Avatar",componentId:"sc-de9fc685-1"})(["border-radius:50%;height:22px;width:22px;"]),J=(0,u.default)(e=>i.createElement("svg",H({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M3.5 2C2.1195 2 1 3.05621 1 4.35932C1 5.41124 1.4375 7.90783 5.744 10.4316C5.82114 10.4763 5.9097 10.5 6 10.5C6.0903 10.5 6.17886 10.4763 6.256 10.4316C10.5625 7.90783 11 5.41124 11 4.35932C11 3.05621 9.8805 2 8.5 2C7.1195 2 6 3.42989 6 3.42989C6 3.42989 4.8805 2 3.5 2Z",fill:"#FF275B",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})))).withConfig({displayName:"liked-by-creator__IconHeartContainer",componentId:"sc-de9fc685-2"})(["position:absolute;bottom:-2px;right:-2px;height:12px;width:12px;"]);var K=e=>{let{creatorURL:t}=e;return(0,o.jsxs)(W,{children:[(0,o.jsx)(V,{srcSet:X.theme.images.srcSet(t,22),alt:"creator",width:22,height:22}),(0,o.jsx)(J,{width:12,height:12})]})},G=n(41664),Q=n.n(G),Y=n(53e3);let ee=(0,u.default)(m.JX).withConfig({displayName:"comment__StyledCol",componentId:"sc-2a8d4963-0"})(["flex:1;overflow:hidden;"]),et=u.default.div.withConfig({displayName:"comment__StyledLikeComment",componentId:"sc-2a8d4963-1"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;"]);var en=e=>{let{comment:t,audio:n,onDeleteComment:r}=e,l=(0,F.v9)(e=>e.user),a=(0,Y.C)(),[s,c]=(0,i.useState)(t.isLikedByCurrentUser),d=(t.totalLikes??0)+(s&&!t.isLikedByCurrentUser?1:0)+(!s&&t.isLikedByCurrentUser?-1:0),u=!0!==t.user.inactive;return(0,o.jsxs)(C,{id:`comment-${t.id}`,children:[(0,o.jsx)(j,{user:t.user,clickable:u}),(0,o.jsxs)(ee,{children:[(0,o.jsxs)(w,{children:[(0,o.jsxs)(v,{children:[u?(0,o.jsx)(R,{as:Q(),href:`/account/${t.user.id}`,maxLines:1,onPointerDown:a.startTap,onPointerCancel:a.resetTap,$isTapped:a.isTapped,children:t.user.username}):(0,o.jsx)(R,{maxLines:1,children:t.user.username}),(0,o.jsx)(I,{children:(0,o.jsx)(L,{children:t.text})})]}),(t.user.id!==l.id||d>0)&&(0,o.jsxs)(et,{children:[(0,o.jsx)(M.Z,{comment:t,onCommentLikeChanged:c}),(0,o.jsx)(k,{children:d>0?(0,q.D)(d):""})]})]}),(0,o.jsxs)(N,{children:[(0,o.jsxs)(S,{children:[(0,o.jsx)(T,{title:new Date(t.date).toLocaleString(),children:(0,U.Rh)(t.date)}),t.isLikedByCreator&&(0,o.jsx)(K,{creatorURL:n.imageUrl})]}),l.id===t.user.id?(0,o.jsx)(A.Z,{audioID:n.id,commentID:t.id,onDelete:r,hasRoses:t.rosesCount>0}):l.isAuthed?(0,o.jsx)(P,{audioID:n.id,commentID:t.id}):null]})]})]})},er=n(84754),eo=n(94715),ei=n(13689),el=n(20230),ea=n(42760),es=n(70073),ec=n(10979),ed=n(26508),eu=n(77082),ep=n(31651),em=n(5152),ef=n.n(em),eh=n(34178);let ex=u.default.div.withConfig({displayName:"comment__Container",componentId:"sc-8c724163-0"})(["display:flex;flex-direction:column;padding:20px;width:100%;"]),eg=u.default.div.withConfig({displayName:"comment__Inner",componentId:"sc-8c724163-1"})(["display:flex;gap:16px;align-items:flex-start;padding-right:40px;width:100%;"]),ey=u.default.div.withConfig({displayName:"comment__Content",componentId:"sc-8c724163-2"})(["display:flex;flex-direction:column;gap:16px;flex:1;min-width:0;"]),eC=u.default.div.withConfig({displayName:"comment__Lines",componentId:"sc-8c724163-3"})(["display:flex;flex-direction:column;gap:8px;width:100%;"]);function ev(){return(0,o.jsx)(ex,{children:(0,o.jsxs)(eg,{children:[(0,o.jsx)(eh.S,{style:{width:40,height:40,borderRadius:"50%"}}),(0,o.jsxs)(ey,{children:[(0,o.jsx)(eh.S,{style:{width:98,height:16,borderRadius:400}}),(0,o.jsxs)(eC,{children:[(0,o.jsx)(eh.S,{style:{width:"100%",height:16,borderRadius:400}}),(0,o.jsx)(eh.S,{style:{width:158,height:16,borderRadius:400}})]})]})]})})}var ew=n(71694);let eb=ef()(()=>Promise.all([n.e(8307),n.e(2016)]).then(n.bind(n,63048)),{loadableGenerated:{webpack:()=>[63048]},ssr:!1}),e_=(0,u.default)(f.NE).withConfig({displayName:"comments__NoCommentsTitle",componentId:"sc-cf95adac-0"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_secondary}),ej=(0,u.default)(f.DZ).withConfig({displayName:"comments__NoCommentsSubtitle",componentId:"sc-cf95adac-1"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_secondary}),eI=(0,u.default)(er.z).withConfig({displayName:"comments__SendButton",componentId:"sc-cf95adac-2"})(["position:absolute;right:15px;bottom:15px;"]),eN=(0,u.default)(m.X2).withConfig({displayName:"comments__FlexedRow",componentId:"sc-cf95adac-3"})(["flex:1;flex-direction:",";"],e=>{let{isMobile:t}=e;return t?"column":"row"}),eS=(0,u.default)(eo.A).withConfig({displayName:"comments__StyledCancelButton",componentId:"sc-cf95adac-4"})(["padding-left:0;font-size:",";font-weight:",";"],e=>{let{theme:t}=e;return`${t.typography.semantic.compact.regular.fontSize}px`},e=>{let{theme:t}=e;return t.typography.semantic.compact.regular.fontWeight}),ek=u.default.div.withConfig({displayName:"comments__MobileInputButtonsContainer",componentId:"sc-cf95adac-5"})(["display:flex;justify-content:flex-end;
11gap:4px;margin:8px 0 0;"]),eL=(0,u.default)(er.z).withConfig({displayName:"comments__EmoticonButton",componentId:"sc-cf95adac-6"})(["position:absolute;left:12px;bottom:12px;"]),eE=u.default.div.withConfig({displayName:"comments__EmojiAbsolutContainer",componentId:"sc-cf95adac-7"})(["position:absolute;z-index:10;top:105%;left:0;.epr-search-container input{color:"," !important;&:focus{border-color:"," !important;outline:none !important;box-shadow:none !important;}}.epr-emoji-category-label{color:"," !important;}.epr-category-nav .epr-btn{filter:grayscale(1) !important;&:hover,&.epr-active{filter:grayscale(1) brightness(0) !important;}}.epr-cat-btn.epr-active{border-bottom-color:"," !important;}"],e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.text_secondary},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.text_primary}),eR={text:""},eT=new Map,eD=e=>{let{audio:t}=e,n=(0,s.useRouter)(),r=(0,i.useRef)(!0),[l,u]=(0,i.useState)(eR),[p,f]=(0,i.useState)(!1),[h,C]=(0,i.useState)(!1),[v,w]=(0,i.useState)([]),j=(0,c.v9)(e=>e.user),[I,N]=(0,i.useState)(()=>eT.get(t.id)??[]),[S,k]=(0,i.useState)(()=>!eT.has(t.id));(0,a.u)(S);let[L,R]=(0,i.useState)([]),T=(0,i.useRef)(null),[M,A]=(0,i.useState)(!1),O=n.query.csort,B=O&&ed.Cw.includes(O)?O:void 0,P=n.query.commentId,q=(0,i.useRef)(!1),{sortButton:U,sortedComments:F,selectedOption:H}=(0,ed.hv)({comments:I,initialOption:B,resetKey:String(t.id),pinnedCommentId:P,onUserSortChange:()=>{q.current=!0}});(0,i.useEffect)(()=>{if(r.current){r.current=!1;return}let e={...n.query,csort:H};q.current&&(q.current=!1,delete e.commentId),n.replace({pathname:n.pathname,query:e},void 0,{shallow:!0,scroll:!1})},[H]);let X=new Set(L.map(e=>e.id)),W=[...L,...F.filter(e=>!X.has(e.id))],{visibleItems:V,sentinel:J}=(0,ew.H)(W,`${t.id}:${H}`),{isMobile:K}=(0,ep.d)(),G=I.length,Q=(0,c.I0)(),Y=(0,i.useRef)(null),ee=(0,i.useRef)(0),et=(0,i.useRef)(0),eo=(0,i.useRef)({viewportResizeHandler:null,viewportResizeCleanupTimer:null,fallbackScrollTimer:null}),em=(0,i.useCallback)(()=>{let e=eo.current;window.visualViewport&&e.viewportResizeHandler&&(window.visualViewport.removeEventListener("resize",e.viewportResizeHandler),e.viewportResizeHandler=null),null!==e.viewportResizeCleanupTimer&&(window.clearTimeout(e.viewportResizeCleanupTimer),e.viewportResizeCleanupTimer=null),null!==e.fallbackScrollTimer&&(window.clearTimeout(e.fallbackScrollTimer),e.fallbackScrollTimer=null)},[]),ef=e=>{ee.current=e.currentTarget.selectionStart??ee.current};(0,i.useEffect)(()=>{let e=e=>{if(!K||!Y.current||document.activeElement!==Y.current)return;let t=e.target;t instanceof Node&&Y.current.contains(t)||(et.current=Date.now()+250,Y.current.blur())};return document.addEventListener("touchstart",e,{capture:!0}),()=>{document.removeEventListener("touchstart",e,!0)}},[K]),(0,i.useEffect)(()=>()=>{em()},[]);let eh=e=>{if(!Y.current)return;C(!0);let t=e.emoji,n=Y.current.selectionStart??0,r=Y.current.value,o=r.substring(0,n),i=r.substring(n),l=n+t.length;u({text:o+t+i}),ee.current=l,setTimeout(()=>{Y.current&&(Y.current.selectionStart=l,Y.current.selectionEnd=l,Y.current.focus())},0)},ex=()=>{Y.current&&(Y.current.style.height="auto")},eg=async()=>{try{let e=await (0,d.qK)(`${$.R.AUDIOS}/comments?id=${t.id}&order=desc&sortBy=likes`,"GET",void 0,void 0,!0).then(e=>e.json());eT.set(t.id,e.comments),N(e.comments)}finally{k(!1)}},ey=e=>{N(n=>{let r=n.filter(t=>t.id!==e);return eT.set(t.id,r),r}),R(t=>t.filter(t=>t.id!==e))};(0,i.useEffect)(()=>{function e(e){T.current&&!T.current.contains(e.target)&&A(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[T]),(0,i.useEffect)(()=>{R([]),k(!eT.has(t.id)),eg()},[t.id]),(0,i.useEffect)(()=>{R([])},[H]);let eC=function(){let e=(0,s.useRouter)(),[t,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let t=(e,t)=>{let{shallow:r}=t;r||n(e=>e+1)};return e.events.on("routeChangeComplete",t),()=>e.events.off("routeChangeComplete",t)},[e.events]),t}(),eD=(0,i.useRef)("");return(0,i.useEffect)(()=>
11{if(!P||S)return;let e=`${P}:${eC}`;if(eD.current===e)return;let t=document.getElementById(`comment-${P}`);t&&(eD.current=e,t.scrollIntoView({block:"center",behavior:"smooth"}))},[P,S,eC,I]),(0,o.jsxs)(x,{children:[(0,o.jsx)(g,{onSubmit:e=>{if(e.preventDefault(),h){if(!j.isAuthed){K?Q((0,Z.cp)("sign-up")):Q((0,Z._R)(!0));return}if(!j.isSubscribed){Q((0,Z.PL)(t.title));return}f(!0),(0,d.qK)(`${$.R.AUDIOS}/comment/${t.id}`,"POST",void 0,{text:l.text.trim()}).then(e=>{e.ok?(w([]),e.json().then(e=>{u(eR),N(n=>{let r=[...n,e.comment];return eT.set(t.id,r),r}),R(t=>[e.comment,...t]),C(!1),ex()})):(w(e.error),console.log(v)),f(!1)})}},children:(0,o.jsx)(eN,{isMobile:K,children:(0,o.jsx)(y,{children:(0,o.jsxs)(D,{children:[(0,o.jsxs)(_,{children:[(0,o.jsx)(E,{required:!0,rows:2,name:"text",placeholder:"Leave a comment",value:l.text,onChange:e=>{e.target.style.height="auto",e.target.style.height=`${e.target.scrollHeight}px`,C(""!==e.target.value.trim()),u({...l,[e.target.name]:e.target.value}),ee.current=e.target.selectionStart??ee.current},ref:Y,onFocus:()=>{if(!K||!Y.current)return;if(Date.now()<et.current){Y.current.blur();return}em();let e=Y.current,t=()=>{e.scrollIntoView({block:"center",behavior:"instant"}),window.scrollBy({top:26})};window.visualViewport?(eo.current.viewportResizeHandler=t,window.visualViewport.addEventListener("resize",t,{once:!0}),eo.current.viewportResizeCleanupTimer=window.setTimeout(em,700)):eo.current.fallbackScrollTimer=window.setTimeout(t,1e3)},onClick:ef,onKeyUp:ef,onBlur:e=>{em(),ef(e)}}),(0,o.jsxs)(ei.Z,{children:[(0,o.jsx)(eL,{variant:"standard",size:"small",type:"button",icon:(0,o.jsx)(el.Z,{}),onMouseDown:e=>e.stopPropagation(),onClick:()=>A(e=>!e)}),(0,o.jsx)(eI,{variant:"cta",size:"small",type:"submit",disabled:p||!h,children:"Send"})]}),M&&(0,o.jsx)(eE,{ref:T,children:(0,o.jsx)(eb,{onEmojiClick:e=>eh(e)})})]}),(0,o.jsxs)(z,{children:[es.e.audio.commentsGuidelines," ",(0,o.jsx)(ec.Lp,{href:"/codeofconduct",target:"_blank",children:es.e.audio.platformGuidelines}),"."]}),(0,o.jsx)(ea.Z,{children:(0,o.jsxs)(ek,{children:[(0,o.jsx)(eS,{type:"button",onClick:()=>{C(!1),u({text:""}),ex()},disabled:p||!h,children:"Cancel"}),(0,o.jsx)(er.z,{variant:"cta",size:"small",type:"submit",disabled:p||!h,children:"Send"})]})})]})})})}),(0,o.jsx)(eu.o,{title:1===G?"Comment":"Comments",count:0===G?void 0:G,children:U}),S?(0,o.jsxs)(i.Fragment,{children:[(0,o.jsx)(ev,{}),(0,o.jsx)(ev,{}),(0,o.jsx)(ev,{}),(0,o.jsx)(ev,{})]}):(0,o.jsxs)(m.JX,{children:[!W.length&&(0,o.jsxs)(b,{children:[(0,o.jsx)(e_,{children:"No comments yet"}),(0,o.jsx)(ej,{children:"Say something to start the conversation"})]}),V.map(e=>(0,o.jsx)(en,{comment:e,audio:t,onDeleteComment:ey},e.id)),J]})]})};eD.displayName="Comments";var ez=n(40519),e$=n(11209),eZ=n(94025),eM=n(7838),eA=n(85006),eO=n(51137),eB=n(34266),eP=n(54724),eq=n(67846);let eU=u.default.div.withConfig({displayName:"[title]__PageWrapper",componentId:"sc-5400c1d0-0"})(["width:100%;"]),eF=(0,u.default)(f.NE).withConfig({displayName:"[title]__CommentsDisabledText",componentId:"sc-5400c1d0-1"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_secondary});var eH=!0,eX=e=>{let{audio:t,voice:n}=(0,eZ.s)(e),r=(0,s.useRouter)(),d=(0,c.I0)(),u=r.query.title;(0,l.L)(()=>(d((0,eB.n)({isTransparentNav:!0,isTransparentNavDark:!0})),()=>{d((0,eB.I)())}),[d]);let p=(0,c.v9)(e=>e.voices.allVoices),m=(0,i.useMemo)(()=>(u?eO.zQ.get(u):void 0)??t,[u,t]),{data:f,isError:h}=(0,eP.$)(u,m),x=(0,i.useMemo)(()=>{if(!f)return;if((null==n?void 0:n.slug)===f.voice.slug)return n;let e=p.find(e=>e.slug===f.voice.slug);return e?{...e,audios:[]}:void 0},[f,n,p]),{data:g}=(0,eq.q)((null==f?void 0:f.voice.name)??"",x),y=g??x;return((0,l.L)(()=>{if(!y)return;let e=(0,eA.Y_)((0,eA.ez)(y.color));d((0,eB.n)({isTransparentNavDark:e}))},[d,y]),(0,a.u)(!f&&!h,!1),h)?(0,o.jsx)(ez.j,{}):f?(0,o.jsxs)(eU,{children:[(0,o.jsx)(e$.Z,{title:f.title,image:X.theme.images.headPreviewImage(f.imageUrl),canonical:`audio/${f.slug}`}),(0,o.jsx)(eM.rE,{audio:f,voice:y}),!f.commentsDisabled&&(0,o.jsx)(eD,{audio:f}),f.commentsDisabled&&(0,o.jsx)(b,{children:(0,o.jsx)(eF,{children:es.e.audio.commentsDisabled})})]},f.slug):null}},23409:function(e,t,n){"use strict";n.d(t,{J2:function(){return s},NJ:function(){return a},av:function(){return l}});var r=n(86668),o=n.n(r),i=n(81481);let l=e=>{let t=e.match(/\[[ a-z0-9-A-Z]+]/g);return t&&t.length?(0,i.rd)(e.substring(0,e.indexOf(t[0]))):(0,i.rd)(e)},a=(e,t)=>{var n;let r=(null===(n=e.match(/\[[ a-z0-9-A-Z]+]/g))||void 0===n?void 0:n.map(e=>e.replace("[","").replace("]","")))??[];return o()([...r,...t]).map(e=>e.replace(/ /g,"\xa0"))},s=e=>a(e.description,e.tags??[]).map(e=>`[${e}]`).join(" ")}},function(e){e.O(0,[8631,9699,4872,6977,20,7197,9858,4680,8084,2888,9774,179],function(){return e(e.s=54044)}),_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.