PageSourceSearch

https://singsharp.com/_next/static/chunks/09zh1-wzqaltl.js

js singsharp.com collected 2026-09-24 10:54:30 UTC 59,413 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,233525,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},998183,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={assign:function(){return o},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return n}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});function i(e){let t={};for(let[s,r]of e.entries()){let e=t[s];void 0===e?t[s]=r:Array.isArray(e)?e.push(r):t[s]=[e,r]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function n(e){let t=new URLSearchParams;for(let[s,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(s,l(e));else t.set(s,l(r));return t}function o(e,...t){for(let s of t){for(let t of s.keys())e.delete(t);for(let[t,r]of s.entries())e.append(t,r)}return e}},718967,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={DecodeError:function(){return A},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return b},NormalizeError:function(){return _},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return l},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return d},isAbsoluteUrl:function(){return o},isResSent:function(){return h},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return x}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,s=!1;return(...r)=>(s||(s=!0,t=e(...r)),t)}let n=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>n.test(e);function u(){let{protocol:e,hostname:t,port:s}=window.location;return`${e}//${t}${s?":"+s:""}`}function d(){let{href:e}=window.location,t=u();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let s=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(s&&h(s))return r;if(!r)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class A extends Error{}class _ extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},195057,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={formatUrl:function(){return n},formatWithValidation:function(){return u},urlObjectKeys:function(){return o}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=e.r(190809)._(e.r(998183)),l=/https?|ftp|gopher|file/;function n(e){let{auth:t,hostname:s}=e,r=e.protocol||"",a=e.pathname||"",n=e.hash||"",o=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:s&&(u=t+(~s.indexOf(":")?`[${s}]`:s),e.port&&(u+=":"+e.port)),o&&"object"==typeof o&&(o=String(i.urlQueryToSearchParams(o)));let d=e.search||o&&`?${o}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||l.test(r))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),n&&"#"!==n[0]&&(n="#"+n),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${r}${u}${a}${d}${n}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return n(e)}},573668,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=e.r(718967),a=e.r(652817);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),s=new URL(e,t);return s.origin===t&&(0,a.hasBasePath)(s.pathname)}catch(e){return!1}}},284508,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},522016,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={default:function(){return A},useLinkStatus:function(){return y}};
1for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let i=e.r(190809),l=e.r(843476),n=i._(e.r(271645)),o=e.r(195057),u=e.r(8372),d=e.r(818581),c=e.r(718967),h=e.r(405550);e.r(233525);let p=e.r(388540),f=e.r(91949),m=e.r(573668),g=e.r(509396);function A(t){var s,r;let a,i,A,[y,b]=(0,n.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,n.useRef)(null),{href:x,as:E,children:j,prefetch:w=null,passHref:C,replace:S,shallow:L,scroll:R,onClick:k,onMouseEnter:I,onTouchStart:M,legacyBehavior:P=!1,onNavigate:D,transitionTypes:N,ref:T,unstable_dynamicOnHover:O,...B}=t;a=j,P&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let U=n.default.useContext(u.AppRouterContext),Q=!1!==w,W=!1!==w?null===(r=w)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,J="string"==typeof(s=E||x)?s:(0,o.formatUrl)(s);if(P){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=n.default.Children.only(a)}let V=P?i&&"object"==typeof i&&i.ref:T,F=n.default.useCallback(e=>(null!==U&&(v.current=(0,f.mountLinkInstance)(e,J,U,W,Q,b)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[Q,J,U,W,b]),K={ref:(0,d.useMergedRef)(F,V),onClick(t){P||"function"!=typeof k||k(t),P&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!U||t.defaultPrevented||function(t,s,r,a,i,l,o){if("u">typeof window){let u,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(s)){a&&(t.preventDefault(),location.replace(s));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(699781);n.default.startTransition(()=>{c(s,a?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,o)})}}(t,J,v,S,R,D,N)},onMouseEnter(e){P||"function"!=typeof I||I(e),P&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),U&&Q&&(0,f.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){P||"function"!=typeof M||M(e),P&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),U&&Q&&(0,f.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,c.isAbsoluteUrl)(J)?K.href=J:P&&!C&&("a"!==i.type||"href"in i.props)||(K.href=(0,h.addBasePath)(J)),A=P?n.default.cloneElement(i,K):(0,l.jsx)("a",{...B,...K,children:a}),(0,l.jsx)(_.Provider,{value:y,children:A})}e.r(284508);let _=(0,n.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,n.useContext)(_);("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},888045,e=>{"use strict";let t="https://apps.apple.com/app/apple-store/id772052329?pt=127491221&mt=8",s="https://play.google.com/store/apps/details?id=com.harmonynetwork.singsharp",r=`${t}&ct=organic_web_redirect`,a=`${s}&referrer=utm_source%3Dwebsite%26utm_campaign%3Dorganic_web_redirect`,i={lekarashow:{googlePlayLink:`${s}&referrer=utm_source%3Dlekarashow%26utm_medium%3Dsocial%26utm_campaign%3Dlekarashow`,appStoreLink:`${t}&ct=lekarashow`}};e.s(["appDynamicLink",0,"https://singsharp.page.link/V9Hh","appStoreLink",0,r,"basicAppStoreLink",0,t,"basicGooglePlayLink",0,s,"breathingLevelSeconds",0,[30,40,50],"campaignMap",0,i,"defaultCarouselOptions",0,{desktop:{surfaceRotateDeg:18,distanceFromCenter:300,height:600,autoplayTime:3e3},mobile:{surfaceRotateDeg:8,height:350,distanceFromCenter:300,autoplayTime:3e3}},"facebookLink",0,"https://www.facebook.com/singsharp","fetchFeedPerPage",0,6,"googlePlayLink",0,a,"lowestVocalTrainingRange",0,6,"maxRecentFeed",0,6,"memberMenuIconSize",0,24,"minDynamicNoteHeight",0,10,"minDynamicNoteWidth",0,20,"mobileWidth",0,600,"pageTransitionDuration",0,500,"ukraineSupportLink",0,"https://www.wix.com/stands-with-ukraine/","youtubeLink",0,"https://www.youtube.com/channel/UCcEVywiqlvA9HAjcAEOG
1NEw"])},266027,869230,469637,e=>{"use strict";let t;var s=e.i(175555),r=e.i(540143),a=e.i(286491),i=e.i(915823),l=e.i(793803),n=e.i(619273),o=e.i(180166),u=class extends i.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#s=(0,l.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#e;#r=void 0;#a=void 0;#i=void 0;#l;#n;#s;#t;#o;#u;#d;#c;#h;#p;#f=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),d(this.#r,this.options)?this.#m():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#A(),this.#_(),this.#r.removeObserver(this)}setOptions(e){let t=this.options,s=this.#r;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,n.resolveEnabled)(this.options.enabled,this.#r))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#y(),this.#r.setOptions(this.options),t._defaulted&&!(0,n.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});let r=this.hasListeners();r&&h(this.#r,s,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#r!==s||(0,n.resolveEnabled)(this.options.enabled,this.#r)!==(0,n.resolveEnabled)(t.enabled,this.#r)||(0,n.resolveStaleTime)(this.options.staleTime,this.#r)!==(0,n.resolveStaleTime)(t.staleTime,this.#r))&&this.#b();let a=this.#v();r&&(this.#r!==s||(0,n.resolveEnabled)(this.options.enabled,this.#r)!==(0,n.resolveEnabled)(t.enabled,this.#r)||a!==this.#p)&&this.#x(a)}getOptimisticResult(e){var t,s;let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);return t=this,s=a,(0,n.shallowEqualObjects)(t.getCurrentResult(),s)||(this.#i=a,this.#n=this.options,this.#l=this.#r.state),a}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(e,s)=>(this.trackProp(s),t?.(s),"promise"===s&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#s.status||this.#s.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,s))})}trackProp(e){this.#f.add(e)}getCurrentQuery(){return this.#r}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),s=this.#e.getQueryCache().build(this.#e,t);return s.fetch().then(()=>this.createResult(s,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#m(e){this.#y();let t=this.#r.fetch(this.options,e);return e?.throwOnError||(t=t.catch(n.noop)),t}#b(){this.#A();let e=(0,n.resolveStaleTime)(this.options.staleTime,this.#r);if(n.isServer||this.#i.isStale||!(0,n.isValidTimeout)(e))return;let t=(0,n.timeUntilStale)(this.#i.dataUpdatedAt,e);this.#c=o.timeoutManager.setTimeout(()=>{this.#i.isStale||this.updateResult()},t+1)}#v(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#x(e){this.#_(),this.#p=e,!n.isServer&&!1!==(0,n.resolveEnabled)(this.options.enabled,this.#r)&&(0,n.isValidTimeout)(this.#p)&&0!==this.#p&&(this.#h=o.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||s.focusManager.isFocused())&&this.#m()},this.#p))}#g(){this.#b(),this.#x(this.#v())}#A(){this.#c&&(o.timeoutManager.clearTimeout(this.#c),this.#c=void 0)}#_(){this.#h&&(o.timeoutManager.clearInterval(this.#h),this.#h=void 0)}createResult(e,t){let s,r=this.#r,i=this.options,o=this.#i,u=this.#l,c=this.#n,f=e!==r?e.state:this.#a,{state:m}=e,g={...m},A=!1;if(t._optimisticResults){let s=this.hasListeners(),l=!s&&d(e,t),n=s&&h(e,r,t,i);(l||n)&&(g={...g,...(0,a.fetchState)(m.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:_,errorUpdatedAt:y,status:b}=g;s=g.data;let v=!1;if(void 0!==t.placeholderData&&void 0===s&&"pending"===b){let e;o?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=
1o.data,v=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,void 0!==e&&(b="success",s=(0,n.replaceData)(o?.data,e,t),A=!0)}if(t.select&&void 0!==s&&!v)if(o&&s===u?.data&&t.select===this.#o)s=this.#u;else try{this.#o=t.select,s=t.select(s),s=(0,n.replaceData)(o?.data,s,t),this.#u=s,this.#t=null}catch(e){this.#t=e}this.#t&&(_=this.#t,s=this.#u,y=Date.now(),b="error");let x="fetching"===g.fetchStatus,E="pending"===b,j="error"===b,w=E&&x,C=void 0!==s,S={status:b,fetchStatus:g.fetchStatus,isPending:E,isSuccess:"success"===b,isError:j,isInitialLoading:w,isLoading:w,data:s,dataUpdatedAt:g.dataUpdatedAt,error:_,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:x,isRefetching:x&&!E,isLoadingError:j&&!C,isPaused:"paused"===g.fetchStatus,isPlaceholderData:A,isRefetchError:j&&C,isStale:p(e,t),refetch:this.refetch,promise:this.#s,isEnabled:!1!==(0,n.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===S.status?e.reject(S.error):void 0!==S.data&&e.resolve(S.data)},s=()=>{t(this.#s=S.promise=(0,l.pendingThenable)())},a=this.#s;switch(a.status){case"pending":e.queryHash===r.queryHash&&t(a);break;case"fulfilled":("error"===S.status||S.data!==a.value)&&s();break;case"rejected":("error"!==S.status||S.error!==a.reason)&&s()}}return S}updateResult(){let e=this.#i,t=this.createResult(this.#r,this.options);if(this.#l=this.#r.state,this.#n=this.options,void 0!==this.#l.data&&(this.#d=this.#r),(0,n.shallowEqualObjects)(t,e))return;this.#i=t;let s=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,s="function"==typeof t?t():t;if("all"===s||!s&&!this.#f.size)return!0;let r=new Set(s??this.#f);return this.options.throwOnError&&r.add("error"),Object.keys(this.#i).some(t=>this.#i[t]!==e[t]&&r.has(t))};this.#E({listeners:s()})}#y(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#r)return;let t=this.#r;this.#r=e,this.#a=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#E(e){r.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function d(e,t){return!1!==(0,n.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&c(e,t,t.refetchOnMount)}function c(e,t,s){if(!1!==(0,n.resolveEnabled)(t.enabled,e)&&"static"!==(0,n.resolveStaleTime)(t.staleTime,e)){let r="function"==typeof s?s(e):s;return"always"===r||!1!==r&&p(e,t)}return!1}function h(e,t,s,r){return(e!==t||!1===(0,n.resolveEnabled)(r.enabled,e))&&(!s.suspense||"error"!==e.state.status)&&p(e,s)}function p(e,t){return!1!==(0,n.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,u],869230),e.i(247167);var f=e.i(271645),m=e.i(912598);e.i(843476);var g=f.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),A=f.createContext(!1);A.Provider;var _=(e,t,s)=>t.fetchOptimistic(e).catch(()=>{s.clearReset()});function y(e,t,s){let a=f.useContext(A),i=f.useContext(g),l=(0,m.useQueryClient)(s),o=l.defaultQueryOptions(e);if(l.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=a?"isRestoring":"optimistic",o.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=o.staleTime;o.staleTime="function"==typeof t?(...s)=>e(t(...s)):e(t),"number"==typeof o.gcTime&&(o.gcTime=Math.max(o.gcTime,1e3))}(o.suspense||o.throwOnError||o.experimental_prefetchInRender)&&!i.isReset()&&(o.retryOnMount=!1),f.useEffect(()=>{i.clearReset()},[i]);let u=!l.getQueryCache().get(o.queryHash),[d]=f.useState(()=>new t(l,o)),c=d.getOptimisticResult(o),h=!a&&!1!==e.subscribed;if(f.useSyncExternalStore(f.useCallback(e=>{let t=h?d.subscribe(r.notifyManager.batchCalls(e)):n.noop;return d.updateResult(),t},[d,h]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),f.useEffect(()=>{d.setOptions(o)},[o,d]),o?.suspense&&c.isPending)throw _(o,d,i);if((({result:e,errorResetBoundary:t,throwOnError:s,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&void 0===e.data||(0,n.shouldThrowError)(s,[e.error,r])))({result:c,errorResetBoundary:i,throwOnError:o.throwOnError,query:l.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw c.error;if(l.getDefaultOptions().queries?._experimental_afterQuery?.(o,c),o.experimental_prefetchInRender&&!n.isServer&&c.isLoading&&c.isFetching&&!a){let e=u?_(o,d,i):l.getQueryCache().get(o.queryHash)?.promise;e?.catch(n.noop).finally(()=>{d.updateResult()})}return o.notifyOnChangeProps?c:d.trackResult(c)}e.s(["useBaseQuery",0,y],469637),e.s(["useQuery",0,function(e,t){return y(e,u,t)}],266027)},41791,e=>{"use strict";var t=e.i(843476),s=e.i(129646),r=e.i(266027),a=e.i(271645),i=e.i(277168);let l=(0,a.createContext)(null);e.s(["ProfileContext",0,l,"default",0,function({children:e}){let{user:n}=(0,s.useAuth)(),{refetch:o,isPending:u,data:{data:d,success:c,code:h}={}}
1=(0,r.useQuery)({queryKey:["profile",n?.user?.uid],queryFn:()=>(0,i.getProfile)(),enabled:!!n?.user,cacheTime:0}),p=(0,a.useMemo)(()=>({profile:d,isPending:u,refetch:o,success:c,code:h,user:n}),[d,u,o,c,h,n]);return(0,t.jsx)(l.Provider,{value:p,children:e})},"useProfile",0,function(e=!0){let t=(0,a.useContext)(l);if(null===t)throw Error("useProfile hook must be used within ProfileProvider");return e?t.profile:t}])},343794,(e,t,s)=>{!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)s.call(e,i)&&e[i]&&(t=a(t,i));return t}(i)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)r.default=r,t.exports=r;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==r&&e.v(r);else window.classNames=r}()},661254,e=>{"use strict";var t=e.i(569859);e.s(["futuraLtW01Book",()=>t.default])},45358,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(41791),a=e.i(367680),i=e.i(618566);let l=(0,s.createContext)(null);e.s(["WebContext",0,l,"default",0,function({children:e}){let[n,o]=(0,s.useState)(a.WEB_PAGE_MODE.PUBLIC),[u,d]=(0,s.use
1State)(!1),[c,h]=(0,s.useState)({}),[p,f]=(0,s.useState)({}),[m,g]=(0,s.useState)(new Set),A=(0,i.usePathname)();(0,r.useProfile)();let _=n===a.WEB_PAGE_MODE.EDIT,y=n===a.WEB_PAGE_MODE.PREVIEW,b=n===a.WEB_PAGE_MODE.PUBLIC,v=(0,s.useCallback)(()=>{o(a.WEB_PAGE_MODE.EDIT)},[]),x=(0,s.useCallback)(()=>{o(a.WEB_PAGE_MODE.PREVIEW)},[]),E=(0,s.useCallback)(()=>{o(a.WEB_PAGE_MODE.PUBLIC)},[]),j=(0,s.useCallback)((e,t)=>{let s=null;t&&(s={onSave:"function"==typeof t.onSave?t.onSave:null,onDiscard:"function"==typeof t.onDiscard?t.onDiscard:null,onPreview:"function"==typeof t.onPreview?t.onPreview:null,disableSave:!!t.disableSave,isSaving:!!t.isSaving}),h(t=>{let r={...t};return s?r[e]=s:delete r[e],r})},[]),w=(0,s.useCallback)(e=>{h(t=>{if(!t[e])return t;let s={...t};return delete s[e],s})},[]),C=(0,s.useMemo)(()=>{if(null===c)return null;let e=Object.values(c);return 0===e.length?null:{onSave:e.some(e=>"function"==typeof e.onSave)?async()=>{for(let t of e)"function"==typeof t.onSave&&await t.onSave()}:null,onDiscard:e.some(e=>"function"==typeof e.onDiscard)?async()=>{for(let t of e)"function"==typeof t.onDiscard&&await t.onDiscard()}:()=>{E()},onPreview:e.some(e=>"function"==typeof e.onPreview)?async()=>{for(let t of e)"function"==typeof t.onPreview&&await t.onPreview()}:()=>{x()},disableSave:e.reduce((e,t)=>e&&t.disableSave,!0),isSaving:e.some(e=>e.isSaving)}},[c]),S=(0,s.useCallback)(()=>{A&&g(e=>{let t=new Set(e);return t.add(A),t})},[A]),L=(0,s.useCallback)(()=>!!A&&m.has(A),[m,A]),R=(0,s.useMemo)(()=>({pageMode:n,setPageMode:o,enterEdit:v,enterPreview:x,exitToPublic:E,editPageMode:_,previewPageMode:y,publicPageMode:b,showEditModeButton:u,setShowEditModeButton:d,editActions:C,registerE
1ditActions:j,unregisterEditActions:w,editablePageList:m,registerEditablePage:S,isCurrentPageEditable:L,editControlsProps:p,setEditControlsProps:f}),[n,v,x,E,_,y,b,u,C,j,w,m,S,L,p]);return(0,t.jsx)(l.Provider,{value:R,children:e})},"useWeb",0,function(){let e=(0,s.useContext)(l);if(null===e)throw Error("useWeb hook must be used within WebProvider");return e}])},503426,e=>{"use strict";var t=e.i(952383);e.s(["helveticaW01Roman",()=>t.default])},784755,e=>{"use strict";var t=e.i(396154);e.s(["helveticaW01Light",()=>t.default])},643764,e=>{e.q("/_next/static/media/app-store.38g3g0ahw4prz.png")},208207,e=>{e.q("/_next/static/media/play-store.1csf3ahznzoj1.png")},170239,e=>{e.q("/_next/static/media/ukraine.0my71jxwp7p82.svg")},613586,e=>{e.q("/_next/static/media/apk-logo.2gpiawzn85cbp.png")},956518,e=>{e.q("/_next/static/media/app-icon-new.3m351gi89ldsx.png")},958242,e=>{e.v({apkIconContainer:"style-module-scss-module__xJKxmq__apkIconContainer",apkIconWrapper:"style-module-scss-module__xJKxmq__apkIconWrapper",apkLinkImage:"style-module-scss-module__xJKxmq__apkLinkImage",appDownloadWrapper:"style-module-scss-module__xJKxmq__appDownloadWrapper",appIcon:"style-module-scss-module__xJKxmq__appIcon",appIconWrapper:"style-module-scss-module__xJKxmq__appIconWrapper",appStoreDownloadWrapper:"style-module-scss-module__xJKxmq__appStoreDownloadWrapper",downloadLinks:"style-module-scss-module__xJKxmq__downloadLinks",downloadLinksWrapper:"style-module-scss-module__xJKxmq__downloadLinksWrapper",floatingAppDownload:"style-module-scss-module__xJKxmq__floatingAppDownload",googlePlayDownloadWrapper:"style-module-scss-module__xJKxmq__googlePlayDownloadWrapper",joinApp:"style-module-scss-module__xJKxmq__joinApp",joinAppContainer:"style-module-scss-module__xJKxmq__joinAppContainer",joinAppText:"style-module-scss-module__xJKxmq__joinAppText",linkImage:"style-module-scss-module__xJKxmq__linkImage",tabletMobile:"style-module-scss-module__xJKxmq__tabletMobile",tabletMobileWrapper:"style-module-scss-module__xJKxmq__tabletMobileWrapper"})},433771,450663,e=>{"use strict";var t=e.i(843476),s=e.i(888045);let r={src:e.i(643764).default,width:498,height:167,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAYklEQVR42h3KsQrDIBRAUb+hGRrQ0ifIKy5xFVSkGZqp+TW/1+m2ZDjbMfd1nSEErLWICN57nHv8OW7LMs33PBljkHNmf+/UWjk+B6WUKxl96ey9o6q01ogxklJi2xJPkfkD+uglVM4zUoYAAAAASUVORK5CYII="},a={src:e.i(208207).default,width:270,height:80,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/ACA2O/o0PCL9KSgk/SwsLP0tLS39HBwc/RsbG/0QEBD8ADMrOf1HMR7/KSgk/zo6Ov9JSUn/ODg4/z4+Pv8mJib+/H4YUdo4ee8AAAAASUVORK5CYII="},i={src:e.i(170239).default,width:200,height:200,blurWidth:0,blurHeight:0};var l=e.i(522016),n=e.i(657688);let o={src:e.i(613586).default,width:512,height:512,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA40lEQVR42jWNT6sBYRTG3+/hP1GW2LAQkiTs7BQbWciKsrWy5xNdc8cdk7lT9zIxeku+yc95lcXpPOc5z/kd5USjHKXcWAy/VOJUKHCMx9/eIRJB2UbI0iuX0asVwXCIm89ji/dtAvtEAiuTIVwseG63hLMZp0qFL6FYn8A+mcSr1dDrNY/NBq/dxhbf0JURViqFKy8u0ynP3Y5wueQnm+UgFOWk0zgy2Lkc/mDAdT7nt1jENUdyrP7qde6TCX6rhddo8N/vEzSbXDsdzkJVt24XLYFgPObc63EfjdCitfSgWuUFRIiSAP7jpIQAAAAASUVORK5CYII="};e.s(["default",0,o],450663);let u={src:e.i(956518).default,width:256,height:256,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA/0lEQVR42h2NP0tCcRSGfyCCKAqi5n9RLy7i2hoEDtKgeEGEvLuDOjQ4OEVbm5DU6OASfoaCiIS2MoKupUXCpay7BNX8eHB4luc9533VPB5nIbwmkyzSaUzhJhbjIhxmJl7NEgmehWuRpyKPgkH2vV52XC5uo1HUYyrFvXDg97Pn8bAtgeHzcRwIMJUnNZXwJBRi1+1GczrZcjg4i0QwxW8mHrJZLotFzut19HKZw1KJp0qFZbXKSyaDmudyfLTbmL0eV90ud50On80mq1aLN01Dvefz/AyH2P0+9mDA/2TC33jM72iEVSigLLn6ajRY6jqWVK9k6rtWwzYMLJlYA1OdiudMoKy6AAAAAElFTkSuQmCC"};var d=e.i(958242);e.i(357317);var c=e.i(784755),h=e.i(343794),p=e.i(618566),f=e.i(271645),m=e.i(440640),g=e.i(45358),A=e.i(331179);let _=({fill:e,width:a,height:i})=>{let[l,n]=(0,f.useState)(s.appStoreLink);return(0,f.useEffect)(()=>{let e,t,r;n((e=null,window.sessionStorage&&(e=sessionStorage.getItem("campaignId")),t=(0,m.getCookie)("utm_campaign"),r=s.appStoreLink,t&&(r=`${s.basicAppStoreLink}&ct=${t}`),e&&s.campaignMap[e]&&(r=s.campaignMap[e].appStoreLink),r))},[]),(0,t.jsx)(b,{width:a,height:i,fill:e,imgSrc:r.src,alt:"app store download button",href:l})},y=({fill:e,width:r,height:i})=>{let[l,n]=(0,f.useState)(s.googlePlayLink);return(0,f.useEffect)(()=>{let e,t,r,a,i,l,o;n((i=null,window.sessionStorage&&(i=sessionStorage.getItem("campaignId")),l=(e=(0,m.getCookie)("utm_source"),t=(0,m.getCookie)("utm_medium"),r=(0,m.getCookie)("utm_campaign"),a=new URLSearchParams,e&&a.set("utm_source",e),t&&a.set("utm_medium",t),r&&a.set("utm_campaign",r),encodeURIComponent(a.toString())),o=s.googlePlayLink,l&&(o=`${s.basicGooglePlayLink}&referrer=${l}`),i&&s.campaignMap[i]&&(o=s.campaignMap[i].googlePlayLink),o))},[]),(0,t.jsx)(b,{width:r,height:i,fill:e,imgSrc:a.src,alt:"google play download button",href:l})};function b({width:e,height:s,imgSrc:r,href:a,alt:i,fill:o,desc:u,className:c}){let h={};return o?h.fill=!0:(h.width=e,h.height=s),(0,t.jsxs)(l.default,{className:`${d.default.linkImage} ${c}`,href:a,target:"_blank",rel:"noreferrer noopener",children:[(0,t.jsx)(n.default,{...h,src:r,alt:i}),u&&(0,t.jsx)("div",{children:u})]})}let v=()=>(0,t.jsxs)("div",{className:d.default.downloadLinks,children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:d.default.appIconWrapper,children:(0,t.jsx)(l.default,{href:s.appDynamicLink,target:"_blank",rel:"noreferrer noopener",children:(0,t.jsx)(n.default,{fill:!0,src:u.src,alt:"Sing Sharp ICON",className:d.default.appIcon})})})}),(0,t.jsxs)("div",{className:d.default.downloadLinksWrapper,children:[(0,t.jsx)("div",{className:d.default.appStoreDownloadWrapper,children:(0,t.jsx)(_,{fill:!0})}),(0,t.jsx)("div",{className:d.default.googlePlayDownloadWrapper,children:(0,t.jsx)(y,{fill:!0})})]})]});e.s(["APKDownload",0,()=>
1(0,t.jsx)(b,{width:65,height:65,imgSrc:o.src,alt:"apk download button",href:"https://firebasestorage.googleapis.com/v0/b/academic-volt-572.appspot.com/o/downloadable%2Fapp.apk?alt=media&token=87a9996d-b099-473c-ba9f-d4163db15bff",desc:"Android APK Download",className:d.default.apkLinkImage}),"AllDownloads",0,v,"AllDownloadsDemo",0,()=>(0,t.jsx)("div",{className:d.default.downloadLinks,children:(0,t.jsx)("div",{className:d.default.apkIconContainer,children:(0,t.jsxs)(l.default,{href:"https://firebasestorage.googleapis.com/v0/b/academic-volt-572.appspot.com/o/downloadable%2Fapp.apk?alt=media&token=87a9996d-b099-473c-ba9f-d4163db15bff",target:"_blank",rel:"noreferrer noopener",children:[(0,t.jsx)("div",{className:d.default.apkIconWrapper,children:(0,t.jsx)(n.default,{fill:!0,src:o.src,alt:"Sing Sharp ICON",className:d.default.appIcon})}),(0,t.jsx)("div",{children:"Android APK Download"})]})})}),"AppStoreDownload",0,_,"FloatingAppDownload",0,function(){let e=(0,p.useSearchParams)(),{publicPageMode:s}=(0,g.useWeb)(),r=e.get("hideDownloads");return 1!==r&&"1"!==r&&s?(0,t.jsx)("div",{className:d.default.floatingAppDownload,children:(0,t.jsxs)("div",{className:d.default.appDownloadWrapper,children:[(0,t.jsx)(_,{width:130,height:43.7}),(0,t.jsx)(y,{width:130,height:38.52})]})}):null},"GooglePlayDownload",0,y,"TrainingPlansAllDownloads",0,({tabletMobileImgSrc:e})=>{let s=(0,A.useDictionary)("trainingPlansPage");return(0,t.jsxs)("div",{className:d.default.joinAppContainer,children:[(0,t.jsxs)("div",{className:d.default.joinApp,children:[(0,t.jsx)("div",{className:(0,h.default)(d.default.joinAppText,c.helveticaW01Light.className),children:s.joinViaApp}),(0,t.jsx)("div",{children:(0,t.jsx)(v,{})})]}),(0,t.jsx)("div",{className:d.default.tabletMobile,children:(0,t.jsx)("div",{className:d.default.tabletMobileWrapper,children:(0,t.jsx)(n.default,{fill:!0,src:e,alt:"tablet-mobile-image"})})})]})},"UkraineSupport",0,()=>(0,t.jsx)(b,{fill:!0,imgSrc:i.src,alt:"ukraine-support",href:s.ukraineSupportLink})],433771)},471626,e=>{"use strict";var t=e.i(755742),s=e.i(843476);let r=(0,t.default)((0,s.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown");e.s(["default",0,r])},357971,e=>{"use strict";var t=e.i(755742),s=e.i(843476);let r=(0,t.default)((0,s.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");e.s(["default",0,r])},275481,e=>{"use strict";var t=e.i(843476),s=e.i(367680),r=e.i(331179);let a={[s.GENERAL_REVIEWING_STATUS.REJECTED]:"#EB1D25",[s.GENERAL_REVIEWING_STATUS.APPROVED]:"#47AA29",[s.GENERAL_REVIEWING_STATUS.REVIEWING]:"#BABF20"},i={width:"8px",height:"8px",borderRadius:"8px"};e.s(["default",0,function({status:e,dictionary:l=s.REVIEWING_STATUS_LONG_TEXT}){let n=(0,r.useDictionary)("");if(s.GENERAL_REVIEWING_STATUS.REJECTED===e)return null;let o=a[e]??"",u={...i,backgroundColor:o};return(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,t.jsx)("div",{style:u}),(0,t.jsx)("div",{children:n[l[e]]})]})}])},803566,e=>{"use strict";var t=e.i(781974);e.s(["Dialog",()=>t.default])},836333,e=>{e.v({closeButton:"style-module-scss-module__Ap3xca__closeButton",closeButtonWrapper:"style-module-scss-module__Ap3xca__closeButtonWrapper",dialogContainer:"style-module-scss-module__Ap3xca__dialogContainer"})},20578,e=>{"use strict";var t=e.i(843476),s=e.i(803566),r=e.i(271645),a=e.i(836333);let i=(0,r.forwardRef)(function({children:e,style:s},r){return(0,t.jsx)("div",{ref:r,style:{paddingLeft:"40px",paddingRight:"40px",paddingBottom:"40px",height:"74dvh",overflow:"auto",...s},children:e})});e.s(["DialogContentContainer",0,i,"DialogTitleContainer",0,function({children:e,style:s}){return(0,t.jsx)("div",{style:{paddingTop:"40px",paddingLeft:"40px",paddingRight:"40px",...s},children:e})},"default",0,function({isOpen:e,onClose:r,children:i,className:l}){return(0,t.jsxs)(s.Dialog,{open:e,onClose:r,PaperProps:{className:a.default.dialogContainer},scroll:"body",hideBackdrop:!0,maxWidth:!1,className:l,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0,children:[i,(0,t.jsx)("div",{className:a.default.closeButtonWrapper,children:(0,t.jsx)("button",{onClick:r,className:a.default.closeButton,children:"×"})})]})}])},348851,e=>{"use strict";var t=e.i(511842);e.s(["openSans",()=>t.default])},422499,e=>{e.q("/_next/static/media/fb-icon.0bg17b6js_l58.png")},720980,e=>{e.q("/_next/static/media/google-icon.3tk77cc5m49-p.webp")},992724,154175,e=>{"use strict";let t={src:e.i(422499).default,width:2084,height:2084,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA0UlEQVR42jWPv6uBcRjF30xX9w73dv0HRoqSP8Bi8j/Y/EisUkImAyUrC4vFYhCDfBmU2SQpUga/UgaSXh/v82J46umc85znHE1/YBnO8PlLDH5jXGT8RQaC6ToWTRZnmrk1BO4spFoQqYMnx1w4TS6/DNKWgO4U1kco9eA/DoaT0sTSGgZvHpZ7qI7AngTBDO5qCv5i0JzA7Q67M1T68BN9CyTQdwQCZdicoDEGV+blYL74hBTbxRZybZBMDgNTElKqiChYQ60OXAods6ZS75pPrPK2iQaFpR4AAAAASUVORK5CYII="};e.s(["default",0,t],992724);let s={src:e.i(720980).default,width:48,height:48,blurWidth:8,blurHeight:8,blurDataURL:"data:image/webp;base64,UklGRo4BAABXRUJQVlA4TIEBAAAvB8ABEM1VICICHgjAEQIAAIC/pFYVgFJBpUgBAAGKhAABAAAAAAAAAAAAAQAQAAgoAAAgACRqJQwAAMADAcBBBAAAOP/VgAiwZJITIgAAAgAAQAEAAAAAggQgAIAABaEClEqAkIBQAlLxT6Ni8kCAdhABAADO/yWDYpENAEBQAAAQCGAUAAAAAAAAAAAACAhYOgAECgFAQJJIQNHMtb4HAmCDAAAAcP5fSkAAAK4CUEAAiQgARxQAUkAQECgUkFwBEEUIAEiAoggRkAQIAAhE6gKgsUjyHBveJlkieqwz0XIlLFsHdvRgRLi2ZnCOueGxVpyfCpX1D6uPoDPaIJZmze5YjCAgqSfdwpckz8VUs4grX22ORX358d1vS8hQU6RhVOZVpdqpVwXQH7mzQbS/SCEAOHhwX8DDDe3m+lnn4xNmclJu9nAdP4GOhAxUsPtEPrflrKrjn6zBuCRt2g9Z1jVR25TExvfXJjor4t7t1H9J3Bm/B9NxKcD7LPTnMV13AA=="};e.s(["default",0,s],154175)},238128,e=>{"use strict";var t=e.i(129646),s=e.i(271645),r=e.i(367680);e.s(["default",0,function(){let{googleSignIn:e,facebookSignIn:a}
1=(0,t.useAuth)(),[i,l]=(0,s.useState)("");function n(e){let t=r.FIREBASE_AUTH_ERROR[e.code];t&&(l(t),setTimeout(()=>{l("")},4500))}let o=async()=>{try{l(""),await e()}catch(e){n(e)}},u=async()=>{try{l(""),await a()}catch(e){n(e)}};return{loginError:i,googleSignIn:e,facebookSignIn:a,handleGoogleLoginClick:o,handleFacebookLoginClick:u}}])},559064,e=>{e.q("/_next/static/media/default_profile_picture.1xsj5m5ziwwvz.png")},282138,e=>{"use strict";var t=e.i(755742),s=e.i(843476);let r=(0,t.default)((0,s.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout");e.s(["default",0,r])},572190,e=>{e.q("/_next/static/media/logo.3mevlxuxxx8l-.png")},840407,e=>{e.q("/_next/static/media/profile_tab_progress_normal.3l7dtjzl602_m.png")},599019,e=>{e.q("/_next/static/media/profile_tab_recorded_normal.0452ch6vgjhd0.png")},743806,e=>{e.q("/_next/static/media/profile_tab_audio_normal.03th64hyopdnw.png")},935492,e=>{e.q("/_next/static/media/profile_tab_progress_selected.0u9frunmlu7b8.png")},141647,e=>{e.q("/_next/static/media/profile_tab_recorded_selected.0urv2g8go0u6i.png")},886718,e=>{e.q("/_next/static/media/profile_tab_audio_selected.1kbk2t4dllu7x.png")},96830,e=>{"use strict";var t=e.i(167228);e.s(["barlowMedium",()=>t.default])},503305,e=>{"use strict";let t={src:e.i(559064).default,width:260,height:260,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAyElEQVR42k2OMQrCQBBFF0yjCdhYWopgZ+EJLLTyCpbbJWGL1CFl+vR2FjmCVU4QLFJugqQIBMRkwbUJYZ2BXXHgwfD/588QpRQBLMAGHI2tNWLM2TAMc875qa7r/TiOU9TQIzo9qarqGATBKwzDR9u2W9TQI7qSlGV58H3/DaFn0zQ7fdr5Bfq+X0dRxOM4vkspl/8Bu+u6zRUGGiRjTKRpehFCrMwJK89z6rruh1KqEM/zZFEUZ/MkgcpFlmUsSZIbgjtq6H0BI020EJFg65kAAAAASUVORK5CYII="};e.s(["default",0,t])},847221,e=>{"use strict";var t=e.i(271645),s=e.i(618566),r=e.i(888045);e.s(["default",0,function(){let e=(0,t.useRef)(null),a=(0,s.useRouter)(),i=(0,s.usePathname)();return(0,t.useCallback)((t,s)=>{if(window.innerWidth<=r.mobileWidth)return;t.preventDefault();let l=window.location.hash,[n,o]=s.split("#");i===n?l!==o&&a.push(s):(document.getElementById("transitionFrame").classList.add("page-fade-out"),clearTimeout(e.current),e.current=setTimeout(()=>{a.push(s)},r.pageTransitionDuration))},[i,r.pageTransitionDuration,a])}])},812664,e=>{e.v({active:"style-module-scss-module__giLMJa__active",appDownloads:"style-module-scss-module__giLMJa__appDownloads",appStore:"style-module-scss-module__giLMJa__appStore",backArrow:"style-module-scss-module__giLMJa__backArrow",backButton:"style-module-scss-module__giLMJa__backButton",changeLanguageButton:"style-module-scss-module__giLMJa__changeLanguageButton",closeButton:"style-module-scss-module__giLMJa__closeButton",controlOverlayOn:"style-module-scss-module__giLMJa__controlOverlayOn",darkBar:"style-module-scss-module__giLMJa__darkBar",downloadApk:"style-module-scss-module__giLMJa__downloadApk",downloadButtons:"style-module-scss-module__giLMJa__downloadButtons",editControlButtonsWrapper:"style-module-scss-module__giLMJa__editControlButtonsWrapper",editControlsLayer:"style-module-scss-module__giLMJa__editControlsLayer",editControlsLayerContainer:"style-module-scss-module__giLMJa__editControlsLayerContainer",editControlsWrapper:"style-module-scss-module__giLMJa__editControlsWrapper",editIcon:"style-module-scss-module__giLMJa__editIcon",editIconWrapper:"style-module-scss-module__giLMJa__editIconWrapper",editModeButton:"style-module-scss-module__giLMJa__editModeButton",editModeButtonWrapper:"style-module-scss-module__giLMJa__editModeButtonWrapper",googlePlay:"style-module-scss-module__giLMJa__googlePlay",hamburgerButton:"style-module-scss-module__giLMJa__hamburgerButton",hamburgerConatiner:"style-module-scss-module__giLMJa__hamburgerConatiner",isLoggingIn:"style-module-scss-module__giLMJa__isLoggingIn",l1:"style-module-scss-module__giLMJa__l1",l2:"style-module-scss-module__giLMJa__l2",l3:"style-module-scss-module__giLMJa__l3",line:"style-module-scss-module__giLMJa__line",loggedIn:"style-module-scss-module__giLMJa__loggedIn",loginErrorMsg:"style-module-scss-module__giLMJa__loginErrorMsg",loginPanel:"style-module-scss-module__giLMJa__loginPanel",loginPanelWrapper:"style-module-scss-module__giLMJa__loginPanelWrapper",loginTitle:"style-module-scss-module__giLMJa__loginTitle",logoContainer:"style-module-scss-module__giLMJa__logoContainer",logoSection:"style-module-scss-module__giLMJa__logoSection",logoutWrapper:"style-module-scss-module__giLMJa__logoutWrapper",memberContainer:"style-module-scss-module__giLMJa__memberContainer",memberMenu:"style-module-scss-module__giLMJa__memberMenu",memberMenuContainer:"style-module-scss-module__giLMJa__memberMenuContainer",memberMenuItem:"style-module-scss-module__giLMJa__memberMenuItem",memberMenuToggle:"style-module-scss-module__giLMJa__memberMenuToggle",navBar:"style-module-scss-module__giLMJa__navBar",navLinks:"style-module-scss-module__giLMJa__navLinks",navLinksContainer:"style-module-scss-module__giLMJa__navLinksContainer",navLinksPanel:"style-module-scss-module__giLMJa__navLinksPanel",on:"style-module-scss-module__giLMJa__on",overlay:"style-module-scss-module__giLMJa__overlay",panelOverlay:"style-module-scss-module__giLMJa__panelOverlay",panelWrapper:"style-module-scss-module__giLMJa__panelWrapper",profilePicture:"style-module-scss-module__giLMJa__profilePicture",profilePictureName:"style-module-scss-module__giLMJa__profilePictureName",profilePictureWrapper:"style-module-scss-module__giLMJa__profilePictureWrapper",publishStatusButton:"style-module-scss-module__giLMJa__publishStatusButton",publishStatusWrapper:"style-module-scss-module__giLMJa__publishStatusWrapper",pulse:"style-module-scss-module__giLMJa__pulse",sectionsWrapper:"style-module-scss-module__giLMJa__sectionsWrapper",show:"style-module-scss-module__giLMJa__show",
1sideMenuMemberControl:"style-module-scss-module__giLMJa__sideMenuMemberControl",siteLanguageContainer:"style-module-scss-module__giLMJa__siteLanguageContainer",slogan:"style-module-scss-module__giLMJa__slogan",supportLogo:"style-module-scss-module__giLMJa__supportLogo",transformBar:"style-module-scss-module__giLMJa__transformBar",ukraineSupportWrapper:"style-module-scss-module__giLMJa__ukraineSupportWrapper",widerTitle:"style-module-scss-module__giLMJa__widerTitle"})},223235,e=>{e.v({inputbox:"style-module-scss-module__IazlFa__inputbox",languagesList:"style-module-scss-module__IazlFa__languagesList",listContainer:"style-module-scss-module__IazlFa__listContainer",mainContents:"style-module-scss-module__IazlFa__mainContents"})},799177,e=>{"use strict";var t=e.i(843476),s=e.i(812664),r=e.i(657688);let a={src:e.i(572190).default,width:281,height:89,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAbklEQVR42gFjAJz/AIwODgzWAwMYTwAAAgQEBAIZGRkKBAQEAQEBAQABAQEAAK5mZkX2WFhij2hoN15eXi2srKxXfX19PXFxcTd7e3tCAHZFRSR7ZGQ4mnp6N4SEhDxra2s1cXFxOGhoaDCEhIRLYYcczKyvJV0AAAAASUVORK5CYII="};var i=e.i(343794),l=e.i(522016),n=e.i(618566),o=e.i(331179);e.i(357317);var u=e.i(661254),d=e.i(784755),c=e.i(348851),h=e.i(96830),p=e.i(503426),f=e.i(271645),m=e.i(847221),g=e.i(992724),A=e.i(154175),_=e.i(129646),y=e.i(41791),b=e.i(888045),v=e.i(282138),x=e.i(503305);let E={src:e.i(840407).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAzElEQVR42l1PTQuCQBTclPUTgjwZ6tkf0s1Th0DENChSkRXBxfISiiBepIt3f2vvSZcamGV35zHzhhCALMt0+wf8Q41omiblee5HURT4gDAMg6qqkrIsfV3XFWLbtoEPQRA2iqJQ13XtaZqeTdNcHMcxCRwGY+wkSZLoed6hbdt0WZZ3XdcxaPt1ACx9znkMTmye59fPgGVZO7A7gy0viuLWdV0K9wdGQLxJMDfLsuM4jknf91fkMAx3jIUC8tqEUipCMxWofaniTqh9ACHvP8+wK+pYAAAAAElFTkSuQmCC"},j={src:e.i(599019).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAzElEQVR42l1PwQqCQBQ0Sm0FgyADQW929yAe+oqUCKRO3VwU1Nyk27Kw4EEP4if4o723dGpgYJmZnfeepgFM09R3fwBtg55m2/a2aZpMSvnmnLNxHHnXdXlZllfLskzN931nnudPVVW3ZVlE3/d0mqYXaMzzPAcDRyFEHkVRQClN0jQ9x3F8Au2JngoURZGtAMMwSCCDah20RAWg5lDX9QOXCsMwcF13bxjGBkeqEYQQTF8YY/e2bTMkvkFLoclQl8CPNVxGgNaPBDX0vhVePCRgAGElAAAAAElFTkSuQmCC"},w={src:e.i(743806).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA/0lEQVR42j1PMUuEcBz9m5BknXCaOiiKODQYdzroGARqYEQYgRzW0aJboCCKgQgNOUW3GA2urm7iJxC/h58kPY578PjxePx47wFwAEVRC1mWOUVReIZhlhAEgSNIklzUdf0xjuNu4k/XdV+iKFJ7E0XR0zzPX4dh+Gvb9ntm3/e/ZVm+4zh+DiRJYoqieOE47lLTtJVt27c8z5Npmj7pun4NBEGg4jjeIAgCu677UFXVJ03TS8/z7lVVvQIYhp0lSfI2fdFN0+wsy7qBYfgkCIINy7IkmAQ0iecwDB+jKNo6jnPn+76ZZdl27rcvShDExZxnmubaMIz1dFfz1Nn7B8ZrRVRfvu2ZAAAAAElFTkSuQmCC"},C={src:e.i(935492).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAqklEQVR42o2PMQrCMBSGexUXhw7mAu0xXESQDp2lotQ0OFTSQkvTpdmyJDmBB8hB3HILwQSM6ZKlSx883uPn+/n5o2jNpGkKhmG4juN487dACJ2SJNkFwIvIOfczxny01m8I4RljDAPgnQ9r7Vcp9WKM4SzLjk3TVAEghNyFEP00Tc+u6y4LoG3bglJaSSkJ57yv67r0EWUA4jjeeNc+z/PDvPMPANiuavgHjjVKzJZ/HykAAAAASUVORK5CYII="},S={src:e.i(141647).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAArElEQVR42o3PsQqDMBAGYB+mHS10dfIZOjsUWoQigt1E0CBI0cUhD9DZR+gshEL2Zk3S7h1Chg5p8LJk9uDg5+fj4IJgzcRxvK+qKkEIJUVRHLquS6Mo2nnQtu1RCPGY5xkzxiZK6R3w2YO+769a6w8hZOKcP5VSb+hKD8ZxbKy1pq7rC8a4Mcb8oLt5MAxD6YCU8gWXvpD/0CEPwjDcZFl2yvM8desydNtVHy6G61at2gQQbwAAAABJRU5ErkJggg=="},L={src:e.i(886718).default,width:61,height:61,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA90lEQVR42k2PsWqDUBSG77UaFS4WKqWi+BZ9hyzudepWEJc6uvQBCu3WQZcOdigFFYrSoVsptILBgIgg+AAOIUMGXYLmXMmQH/7pnO/8/0HoKJ7nWUmSCLUgCAt0KlEUF7Zt33ie9wR+dl33TpZlMg8xxsgwjOswDF/iOH6ljqLItyxrybIsRoQQPkmSt2EYdl3XNW3b/vV9v8uy7FtRlAsEeVyaph/jOO6LoviESw+wvM3z/BdizhHDMNj3/UegNkEQ3DdN8zNN0wjQO4XnHqZpLsuy/IezX1VVreq6XjuOc0v7zeI47kxV1Utd11VqTdOu4O2ZPgApcWNCYKCXXgAAAABJRU5ErkJggg=="};var R=e.i(252157);let k=(0,e.i(755742).default)((0,t.jsx)("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard");var I=e.i(223235),M=e.i(20578),P=e.i(367680);function D({isOpen:e,onClose:s}){let r=(0,o.useDictionary)(),[a,i]=(0,f.useState)(""),u=(0,n.usePathname)(),d=(0,f.useMemo)(()=>Object.entries(P.SUPPORTED_LANGUAGE_TEXT).filter(e=>e[1][1].toLowerCase().includes(a.toLowerCase())).map(e=>{var t;let s;return{text:e[1][1],link:(t=e[0],(s=u.split("/"))[1]=t,s.join("/")),code:e[0]}}),[a]),c=(0,f.useCallback)(e=>{document.cookie=`language=${e}; expires=Fri, 31 Dec 9999 23:59:59 GMT; SameSite=None; Secure`},[]);return(0,t.jsx)(M.default,{isOpen:e,onClose:s,children:(0,t.jsxs)("div",{className:I.default.mainContents,children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:r.selectLanguage})}),(0,t.jsx)("div",{children:(0,t.jsx)("input",{className:I.default.inputbox,type:"text",placeholder:r.search,value:a,onChange:e=>i(e.target.value)})}),(0,t.jsx)("div",{className:I.default.listContainer,children:(0,t.jsx)("ul",{className:I.default.languagesList,children:d.map(({text:e,link:s,code:r})=>(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{href:s,onClick:()=>c(r),children:(0,t.jsx)("div",{children:e})})},s))})})]})})}var N=e.i(471626),T=e.i(357971),O=e.i(277168),B=e.i(440640),U=e.i(238128),Q=e.i(45358),W=e.i(275481);let J=[{href:"/dashboard",icon:(0,t.jsx)(k,{}),iconSelected:(0,t.jsx)(k,{}),text:"singSharpHub",show:e=>e?.role===P.USER_ROLE.TUTOR||e?.role===P.USER_ROLE.ADMIN},{href:"/audio-assets",icon:(0,t.jsx)(r.default,{src:w.src,width:24,height:24,alt:"audio assets icon"}),iconSelected:(0,t.jsx)(r.default,{src:L.src,width:24,height:24,alt:"audio assets icon"}),text:"audioAssets",show:()=>!1},{href:"/recorded",icon:(0,t.jsx)(r.default,{src:j.src,width:24,height:24,alt:"my recorded icon"}),iconSelected:(0,t.jsx)(r.default,{src:S.src,width:24,height:24,alt:"my recorded icon"}),text:"recording",show:()=>!0},{href:"/my-progress",icon:(0,t.jsx)(r.default,{src:E.src,width:24,height:24,alt:"my progress icon"}),iconSelected:(0,t.jsx)(r.default,{src:C.src,width:24,height:24,alt:"my progress icon"}),text:"progress",show:()=>!0}];function V(e,t){let s="";return t?.name?s=t.name:e?.user?.displayName&&(s=e.user.displayName),{profilePicture:t?.profile_pic&&(t?.profile_pic.startsWith("/")||t?.profile_pic.startsWith("http"))?t.profile_pic:e?.user?.photoURL?e.user.photoURL:x.default,profileName:s}}function F({memberMenuOn:e,setMemberMenuOn:a,onLinkClick:l}){let n=(0,o.useDictionary)(),{user:u}=(0,_.useAuth)(),{profile:d}=(0,y.useProfile)(!1),c=!!u?.user,{profilePicture:p}=V(u,d),f=!1;function m(){a(!1)}return null===u&&(f=!0),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{children:(0,t.jsxs)("button",{onClick:()=>a(!e),className:(0,i.default)(s.default.memberMenuToggle,{[s.default.isLoggingIn]:f}),children:[c&&(0,t.jsx)(r.default,{src:p,width:45,height:45,style:{borderRadius:"45px"},alt:"user profile picture",className:s.default.profilePicture}),f&&(0,t.jsx)("div",{style:{width:"44px"}
1,children:(0,t.jsx)(R.Loading,{height:"44px",noBackground:!0})}),(0,t.jsx)("span",{className:s.default.widerTitle,children:!c&&n.login})]})}),(0,t.jsx)("div",{className:(0,i.default)(s.default.panelOverlay,{[s.default.show]:e}),onClick:()=>{a(!1)}}),(0,t.jsx)("div",{className:(0,i.default)(s.default.memberMenuContainer,{[s.default.show]:e,[s.default.loggedIn]:c}),children:(0,t.jsx)("div",{className:(0,i.default)(s.default.panelWrapper,h.barlowMedium.variable),children:c?(0,t.jsx)(z,{onLinkClick:l,onLogout:m,onClose:m}):(0,t.jsx)(G,{})})})]})}function K({onLinkClick:e}){let r=(0,o.useDictionary)(),{user:a}=(0,_.useAuth)(),{profile:u}=(0,y.useProfile)(!1),{lang:d}=(0,n.useParams)(),c=(0,n.usePathname)(),h=!!a?.user,p=!1;return null===a&&(p=!0),(0,t.jsxs)("div",{className:s.default.sideMenuMemberControl,children:[(0,t.jsxs)("div",{className:s.default.loginTitle,children:[p&&(0,t.jsx)("div",{style:{width:"40px"},children:(0,t.jsx)(R.Loading,{spinnerHeight:20,height:"40px",noBackground:!0})}),!h&&(0,t.jsx)("div",{className:s.default.widerTitle,children:p?r.loggingIn:r.login})]}),(0,t.jsx)("div",{className:(0,i.default)(s.default.panelWrapper),children:h?(0,t.jsxs)("div",{className:s.default.memberMenu,children:[(0,t.jsx)(q,{onLinkClick:(t,s)=>e(t,s)}),(0,t.jsx)("ul",{children:J.map(a=>{if(!a.show(u))return null;let n=`/${d}${a.href}`;return(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{href:n,onClick:t=>e(t,n),className:(0,i.default)(s.default.memberMenuItem,{[s.default.active]:c===n}),children:r[a.text].toUpperCase()})},a.text)})})]}):p?null:(0,t.jsx)(G,{})}),(0,t.jsx)("hr",{})]})}function q({onLinkClick:e}){let{user:a}=(0,_.useAuth)(),{profile:i,refetch:o}=(0,y.useProfile)(!1),{lang:u}=(0,n.useParams)(),{profilePicture:d,profileName:c}=V(a,i),h=i?.role===P.USER_ROLE.USER,p=(0,B.isTutor)(i?.role),m=(0,f.useRef)(null),[g,A]=(0,f.useState)(!1),b=(0,t.jsxs)("div",{className:s.default.profilePictureName,children:[(0,t.jsxs)("div",{className:s.default.profilePictureWrapper,children:[g&&(0,t.jsx)(R.default,{}),(0,t.jsx)(r.default,{src:d,width:75,height:75,style:{borderRadius:"100px",objectFit:"cover"},alt:"user profile picture"}),h&&(0,t.jsxs)("div",{className:s.default.editIconWrapper,onClick:function(){m.current.click()},children:[(0,t.jsx)(T.default,{className:s.default.editIcon}),(0,t.jsx)("input",{type:"file",style:{display:"none"},ref:m,onChange:function(e){let t=e.target.files[0];t&&(0,B.isValidImage)(t)&&(async()=>{A(!0),(await (0,O.userUploadProfilePicture)(t)).success&&o(),A(!1)})()},accept:"image/*"})]})]}),(0,t.jsx)("div",{children:c})]});if(p&&i?.tutor_id){let s=`/${u}/tutor/${i.tutor_id}`;return(0,t.jsx)(l.default,{href:s,onClick:t=>e(t,s),children:b})}return b}function z({onLogout:e,onClose:r,onLinkClick:a}){let u=(0,o.useDictionary)(),d=(0,y.useProfile)(),{logout:h}=(0,_.useAuth)(),{lang:f}=(0,n.useParams)(),m=(0,n.usePathname)();return(0,t.jsxs)("div",{className:(0,i.default)(c.openSans.variable,p.helveticaW01Roman.variable),children:[(0,t.jsx)("div",{className:s.default.closeButton,children:(0,t.jsx)("span",{onClick:r,children:"✕"})}),(0,t.jsxs)("ul",{className:s.default.memberMenu,children:[(0,t.jsx)("li",{children:(0,t.jsx)(q,{onLinkClick:(e,t)=>a(e,t)})}),(0,t.jsx)("hr",{}),J.map(e=>{if(!e.show(d))return null;let r=`/${f}${e.href}`,i=m===r;return(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{href:r,onClick:e=>a(e,r),className:i?s.default.active:"",children:(0,t.jsxs)("div",{className:s.default.memberMenuItem,children:[i?e.iconSelected:e.icon,u[e.text]]})})},e.text)}),(0,t.jsx)("hr",{}),(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:s.default.memberMenuItem,onClick:()=>h(e),children:[(0,t.jsx)(v.default,{}),u.logout]})})]})]})}function G(){let e=(0,o.useDictionary)(),{loginError:a,handleGoogleLoginClick:i,handleFacebookLoginClick:l}=(0,U.default)();return(0,t.jsxs)("div",{className:s.default.loginPanel,children:[(0,t.jsx)("div",{children:(0,t.jsxs)("button",{onClick:l,children:[(0,t.jsx)(r.default,{src:g.default.src,alt:e.facebookIconAlt,width:b.memberMenuIconSize,height:b.memberMenuIconSize}),(0,t.jsx)("span",{className:c.openSans.className,children:"Facebook"})]})}),(0,t.jsx)("div",{children:(0,t.jsxs)("button",{onClick:i,children:[(0,t.jsx)(r.default,{src:A.default.src,alt:e.googleIconAlt,width:b.memberMenuIconSize,height:b.memberMenuIconSize}),(0,t.jsx)("span",{className:c.openSans.className,children:"Google"})]})}),a&&(0,t.jsx)("div",{className:s.default.loginErrorMsg,children:e[a]})]})}function H({on:e,onClick:r}){return(0,t.jsxs)("div",{className:(0,i.default)(s.default.hamburgerButton,{[s.default.on]:e}),onClick:r,children:[(0,t.jsx)("div",{className:(0,i.default)(s.default.l1,s.default.line)}),(0,t.jsx)("div",{className:(0,i.default)(s.default.l2,s.default.line)}),(0,t.jsx)("div",{className:(0,i.default)(s.default.l3,s.default.line)})]})}function Y({lang:e,className:r,isDialogOpen:a,onToggleClick:i,onDialogClose:l}){return(0,t.jsxs)("div",{className:r,children:[(0,t.jsxs)("button",{className:s.default.changeLanguageButton,onClick:i,children:[P.SUPPORTED_LANGUAGE_TEXT[e]?.[0],(0,t.jsx)(N.default,{fontSize:"small"})]}),a&&(0,t.jsx)(D,{isOpen:a,onClose:l})]})}function X(){let e=(0,o.useDictionary)(),{editControlsProps:r,editActions:a,editPageMode:l,publicPageMode:n,previewPageMode:u,enterPreview:d,enterEdit:c}=(0,Q.useWeb)();async function h(){d()}async function p(){c()}async function f(){await a?.onSave?.()}let m=null,{type:g,props:A}=r||{};if(g){let e=Z[g];e&&(m=(0,t.jsx)(e,{...A}))}return(0,t.jsxs)("div",{className:s.default.editControlsLayer,children:[(0,t.jsxs)("div",{className:s.default.editControlsWrapper,children:[!n&&(0,t.jsx)("div",{children:(0,t.jsx)("button",{onClick:function(){a?.onDiscard?.()},className:(0,i.default)("reset-button",s.default.editModeButton,s.default.backButton),children:(0,t.jsx)("span",{className:s.default.backArrow,children:"➔"})})}),(0,t.jsx)("div",{children:m})]}),(0,t.jsx)("div",{className:s.default.editControlButtonsWrapper,children:u?[(0,t.jsx)("button",{className:(0,i.default)("reset-button",s.default.editModeButton),onClick:f,disabled:a?.disableSave,children:e.saveAndSubmit},"editSaveButton"),(0,t.jsx)("button",{className:(0,i.default)("reset-button",s.default.editModeButton),onClick:p,children:e.edit},"backToEditButton")]:l?[(0,t.jsx)("button",{className:(0,i.default)("reset-button",s.default.editModeButton),onClick:h,children:e.preview},"previewButton")]:void 0})]})}let Z={[P.EDIT_CONTROLS_TYPE.FEED]:function({publishStatus:e,reviewStatus:r,onPublishClick:a,publishable:l}){let n,u=(0,o.useDictionary)("feedPage"),d=e===P.PUBLISH_STATUS.PUBLISHED;return(0,t.jsxs)("div",{children:[l&&(0,t.jsxs)("div",{className:s.default.publishStatusWrapper,children:[(n=(0,B.getPublishStatusMsg)(e))?u[n]:n,(0,t.jsx)("button",{className:(0,i.default)("reset-button",s.default.publishStatusButton),type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),a?.(!d)},children:d?u.unpublish:u.publish})]}),(0,t.jsx)("div",{children:(0,t.jsx)(W.default,{status:r,dictionary:P.REVIEWING_STATUS_MIXED_STYLE_TEXT})})]})}};e.s(["LoginPanel",0,G,"default",0,function({lang:e}){let{publicPageMode:h,showEditModeButton:g,enterEdit:A,isCurrentPageEditable:y}=(0,Q.useWeb)(),b=(0,o.useDictionary)("homePage"),[v,x]=(0,f.useState)(""),[E,j]=(0,f.useState)(!1),[w,C]=(0,f.useState)(!1),[S,L]=(0,f.useState)(),R=(0,n.usePathname)(),k=(0,n.useParams)(),[I,M]=(0,f.useState)(!1),P=(0,m.default)(),{user:D}=(0,_.useAuth)(),N=!!D?.user,{logout:O}=(0,_.useAuth)();function B(e,t){L(!1),C(!1),P(e,t)}(0,f.useEffect)(()=>{x(window.location.hash)},[k]),(0,f.useEffect)(()=>{function e(){M(window.scrollY>200)}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let U=[{href:`/${e}#home`,className:"#home"===v?(0,i.default)(s.default.link,s.default.active):s.default.link,text:b.home},{href:`/${e}#techology`,className:"#techology"===v?(0,i.default)(s.default.link,s.default.active):s.default.link,text:b.technology},{href:`/${e}/features`,className:(0,i.default)(s.default.link,{[s.default.active]:R===`/${e}/features`}),text:b.features},{href:`/${e}/training-plans`,className:(0,i.default)(s.default.link,{[s.default.active]:R===`/${e}/training-plans`}),text:b.trainingPlans},{href:`/${e}/blog`,className:(0,i.default)(s.default.link,{[s.default.active]:R===`/${e}/blog`}),text:b.blog}],W=R.startsWith(`/${e}/blog`),J=R.startsWith(`/${e}/tutor`),V=R.startsWith(`/${e}/product`),q=!h&&y();return(0,t.jsxs)("nav",{className:(0,i.default)(s.default.navBar,{[s.default.darkBar]:W,[s.default.transformBar]:(J||V)&&I,[s.default.controlOverlayOn]:q}),children:[(0,t.jsx)("div",{className:s.default.hamburgerConatiner,children:(0,t.jsx)(H,{on:S,onClick:()=>L(!S)})}),(0,t.jsxs)("div",{className:s.default.sectionsWrapper,children:[(0,t.jsxs)("div",{className:s.default.logoSection,children:[(0,t.jsx)("div",{className:s.default.logoContainer,children:(0,t.jsx)(r.default,{fill:!0,style:{objectFit:"contain"},src:a.src,alt:b.singSharpLogo})}),(0,t.jsx)("div",{className:(0,i.default)(s.default.slogan,c.openSans.className),children:b.slogan})]}),(0,t.jsxs)("div",{className:(0,i.default)(s.default.navLinksContainer,u.futuraLtW01Book.variable,d.helveticaW01Light.variable,p.helveticaW01Roman.variable,{[s.default.on]:S}),children:[(0,t.jsx)("div",{className:s.default.overlay,onClick:()=>L(!1)}),(0,t.jsxs)("div",{className:(0,i.default)(s.default.navLinksPanel,c.openSans.variable),children:[(0,t.jsx)(K,{onLinkClick:B}),(0,t.jsx)("ul",{className:(0,i.default)(s.default.navLinks),children:U.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{href:e.href,onClick:t=>B(t,e.href),className:e.className,children:e.text})},s))}),N&&(0,t.jsx)("ul",{className:s.default.logoutWrapper,children:(0,t.jsx)("li",{children:(0,t.jsx)("div",{className:(0,i.default)(s.default.memberMenuItem,s.default.widerTitle),onClick:()=>O(()=>{L(!1)}),children:b.logout.toUpperCase()})})})]})]}),g&&h&&(0,t.jsx)("div",{className:s.default.editModeButtonWrapper,children:(0,t.jsxs)("button",{className:(0,i.default)("reset-button",s.default.editModeButton),onClick:()=>{A(),C(!1)},children:[(0,t.jsx)(T.default,{fontSize:"small"}),b.editMode]},"editModeButton")}),(0,t.jsx)("div",{className:s.default.siteLanguageContainer,children:(0,t.jsx)(Y,{lang:k.lang,className:s.default.siteLanguage,isDialogOpen:E,onToggleClick:function(){j(!0)},onDialogClose:function(){j(!1)}})}),(0,t.jsx)("div",{className:(0,i.default)(s.default.memberContainer,u.futuraLtW01Book.variable),children:(0,t.jsx)(F,{memberMenuOn:w,setMemberMenuOn:C,onLinkClick:B})})]}),q&&(0,t.jsx)("div",{className:s.default.editControlsLayerContainer,children:(0,t.jsx)(X,{})})]})}],799177)},391470,e=>{e.v({backToTop:"style-module-scss-module__r1SwEG__backToTop",visible:"style-module-scss-module__r1SwEG__visible"})},171256,e=>{"use strict";var t=e.i(843476),s=e.i(391470),r=e.i(271645),a=e.i(440640),i=e.i(343794);e.s(["default",0,function(){let[e,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e&&setTimeout(()=>{l(!1)},3e3)},[e]),(0,r.useEffect)(()=>{let e=(0,a.debounce)(()=>{window.innerHeight+window.scrollY>=document.body.offsetHeight-285&&l(!0)},100);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e),e.cancel()}},[]),(0,t.jsx)("div",{className:(0,i.default)(s.default.backToTop,{[s.default.visible]:e},"mobile-only"),onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44",style:{fill:"rgba(0, 0, 0, 0.3)",pointerEvents:"none",stroke:"#fff"},children:[(0,t.jsx)("path",{style:{strokeWidth:1},d:"M44 0H0v44h44"}),(0,t.jsx)("path",{style:{strokeWidth:1.5},d:"M30.588 27.233L22 18.366l-8.588 8.867-1.078-1.043L22 16.21l9.666 9.98-1.078 1.043z"})]})})}])},905236,e=>{e.v(t=>Promise.all(["static/chunks/2d66v-zz7dfho.js"].map(t=>e.l(t))).then(()=>t(534766)))},640408,e=>{e.v(t=>Promise.all(["static/chunks/3pv9zs2dzys-5.js"].map(t=>e.l(t))).then(()=>t(289374)))}]);

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.