1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32578,e=>{"use strict";var t=e.i(30332),a=e.i(96453),n=e.i(75819),i=e.i(9875),s=e.i(13631),r=e.i(83858),o=class extends r.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,a){let s=t.queryKey,r=t.queryHash??(0,n.hashQueryKeyByOptions)(s,t),o=this.get(r);return o||(o=new i.Query({client:e,queryKey:s,queryHash:r,options:e.defaultQueryOptions(t),state:a,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.matchQuery)(e,t)):t}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},l=e.i(41192),c=r,u=class extends c.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#a=new Map,this.#n=0}#t;#a;#n;build(e,t,a){let n=new l.Mutation({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:a});return this.add(n),n}add(e){this.#t.add(e);let t=d(e);if("string"==typeof t){let a=this.#a.get(t);a?a.push(e):this.#a.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=d(e);if("string"==typeof t){let a=this.#a.get(t);if(a)if(a.length>1){let t=a.indexOf(e);-1!==t&&a.splice(t,1)}else a[0]===e&&this.#a.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=d(e);if("string"!=typeof t)return!0;{let a=this.#a.get(t),n=a?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=d(e);if("string"!=typeof t)return Promise.resolve();{let a=this.#a.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return a?.continue()??Promise.resolve()}}clear(){s.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#a.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.matchMutation)(e,t))}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return s.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.noop))))}};function d(e){return e.options.scope?.id}var h=e.i(95049),p=e.i(43785),m=e.i(42815),f=class{#i;#s;#r;#o;#l;#c;#u;#d;constructor(e={}){this.#i=e.queryCache||new o,this.#s=e.mutationCache||new u,this.#r=e.defaultOptions||{},this.#o=new Map,this.#l=new Map,this.#c=0}mount(){this.#c++,1===this.#c&&(this.#u=h.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onFocus())}),this.#d=p.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onOnline())}))}unmount(){this.#c--,0===this.#c&&(this.#u?.(),this.#u=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#i.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),a=this.#i.build(this,t),i=a.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,a))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#i.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,a){let i=this.defaultQueryOptions({queryKey:e}),s=this.#i.get(i.queryHash),r=s?.state.data,o=(0,n.functionalUpdate)(t,r);if(void 0!==o)return this.#i.build(this,i).setData(o,{...a,manual:!0})}setQueriesData(e,t,a){return s.notifyManager.batch(()=>this.#i.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,a)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state}removeQueries(e){let t=this.#i;s.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let a=this.#i;return s.notifyManager.batch(()=>(a.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let a={revert:!0,...t};return Promise.all(s.notifyManager.batch(()=>this.#i.findAll(e).map(e=>e.cancel(a)))).then(n.noop).catch(n.noop)}invalidateQueries(e,t={}){return s.notifyManager.batch(()=>(this.#i.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let a={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(s.notifyManager.batch(()=>this.#i.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,a);return a.throwOnError||(t=t.catch(n.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(n.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let a=this.#i.build(this,t);return a.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,a))?a.fetch(t):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.noop).catch(n.noop)}fetchInfiniteQuery(e){return e.behavior=(0,m.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.noop).catch(n.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,m.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return p.onlineManager.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#i}getMutationCache(){return this.#s}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,t){this.#o.set((0,n.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#o.values()],a={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.queryKey)&&Object.assign(a,t.defaultOptions)}),a}setMutationDefaults(e,t){this.#l.set((0,n.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],a={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.mutationKey)&&Object.assign(a,t.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#i.clear(),this.#s.clear()}},y=e.i(45578),g=e.i(47472),b=e.i(30249);let w=Symbol.for("__APOLLO_CONTEXT__"),I=({client:e,children:t})=>{let a,n=((0,b.invariant)("createContext"in g,37),(a=g.createContext[w])||(Object.defineProperty(g.createContext,w,{value:a=g.createContext({}
1),enumerable:!1,writable:!1,configurable:!0}),a.displayName="ApolloContext"),a),i=g.useContext(n),s=g.useMemo(()=>({...i,client:e||i.client}),[i,e]);return(0,b.invariant)(s.client,38),g.createElement(n.Provider,{value:s},t)};var v=e.i(10493),x=e.i(11297),E=e.i(31018);function T(e){let n,i,s=(0,a.c)(5),{children:r}=e,[o]=(0,g.useState)(k);return s[0]!==r?(n=(0,t.jsx)(I,{client:v.apolloClient,children:r}),s[0]=r,s[1]=n):n=s[1],s[2]!==o||s[3]!==n?(i=(0,t.jsx)(x.MotionProvider,{children:(0,t.jsx)(E.NavigationProgressProvider,{children:(0,t.jsx)(y.QueryClientProvider,{client:o,children:n})})}),s[2]=o,s[3]=n,s[4]=i):i=s[4],i}function k(){return new f({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!1}}})}e.s(["Providers",()=>T],32578)},70584,e=>{"use strict";var t=e.i(96453),a=e.i(47472),n=e.i(45142),i=e.i(45275),s=e.i(70741),r=e.i(28032);let o="zhege.analytics.visitor.v1",l="zhege.analytics.visit.v1";class c extends Error{status;constructor(e){super("Analytics unavailable"),this.status=e}}let u=e=>e.split(/[?#]/)[0].slice(0,240),d=e=>e&&!/@|[\r\n<>]/.test(e)?e.slice(0,120):void 0;function h(e,t){try{return e.getItem(t)}catch{return null}}function p(e,t,a){try{e.setItem(t,a)}catch{}}let m=/\/(workspace-panel|support|admin)(\/|$)/,f=null,y=e=>({getItem:t=>window[e].getItem(t),setItem:(t,a)=>window[e].setItem(t,a),removeItem:t=>window[e].removeItem(t)});function g(){return f||=function(e){let t=0,a=e.accessToken(),n=null,i=null,s=null,m="",f=null,y=null,g=0,b={path:"/",query:"",referrer:"",language:""};try{i=JSON.parse(h(e.session,l)||"null")}catch{}i?.user&&((0,r.analyticsIdentityKey)(a)===`subject:${i.user}`?f=i.user:i=null);let w=()=>{let n=e.accessToken();if(n===a)return;let s=(0,r.analyticsIdentityKey)(n)===(0,r.analyticsIdentityKey)(a);if(a=n,y=null,g=0,!s){t+=1,f=null,i=null,m="",y=null,g=0;try{e.session.removeItem(l)}catch{}}},I=()=>{i&&p(e.session,l,JSON.stringify(i))},v=async(t,a,n)=>{let s=await e.fetcher(`${e.endpoint}/analytics/${t}`,{method:"POST",headers:{"Content-Type":"application/json",...n?{Authorization:`Bearer ${n}`}:{}},body:JSON.stringify(a),keepalive:!0,signal:AbortSignal.timeout(5e3)});if(!s.ok){if(401===s.status&&"identify"!==t&&a.token===i?.token){i=null,m="";try{e.session.removeItem(l)}catch{}}throw new c(s.status)}return s.json()},x=async()=>{let a=e.accessToken();if(!i||!f||!a||i.user===f||a===y||e.now()<g)return;let n=i,s=f,r=t;try{await v("identify",{token:n.token},a),i===n&&r===t&&(i.user=s,y=null,g=0,I())}catch(t){t instanceof c&&[401,403].includes(t.status)?y=a:g=e.now()+15e3}},E=async()=>{let a=t;if(!(i&&e.now()-i.lastSeenAt<18e5&&e.now()-i.startedAt<864e5)){if(i=null,s)return s;s=(async()=>{n||=h(e.local,o)||e.uuid(),p(e.local,o,n);let s=new URLSearchParams(b.query),r="";try{r=new URL(b.referrer).origin}catch{}let l=await v("visits",{visitorId:n,path:u(b.path),referrer:r,language:b.language,source:d(s.get("utm_source")),medium:d(s.get("utm_medium")),campaign:d(s.get("utm_campaign")),content:d(s.get("utm_content")),term:d(s.get("utm_term")),linkSlug:s.get("z_link")?.slice(0,64)||void 0});a===t&&(i={token:l.token,startedAt:e.now(),lastSeenAt:e.now()},m="",await x(),I())})().finally(()=>{s=null}),await s}},T=Promise.resolve(),k=0,N=a=>{w();let n=t;return e.disabled()||k>=20?Promise.resolve():(k+=1,T=T.then(async()=>{n===t&&await a(n)}).catch(()=>void 0).finally(()=>{k-=1}))},A=async(t,a,n)=>{if(!i)return;let s=i,r=e.uuid(),o={token:s.token,eventId:r,name:t,path:u(a),...void 0===n?{}:{value:Math.min(60,Math.max(0,Math.floor(n)))}};try{await v("events",o)}catch(e){if(e instanceof c&&e.status<500||i!==s)throw e;await v("events",o)}i===s&&(i.lastSeenAt=e.now(),I())};return{event:(e,a,n)=>N(async i=>{["page_view","engagement","store_click","translation","analysis","dictionary_search","speech","photo_translation","conversation_turn"].includes(e)&&(await E(),await x(),i===t&&("page_view"===e||m||(await A("page_view",a),m=u(a)),i===t&&await A(e,a,n)))}),page:(e,a,n,i)=>N(async s=>{b={path:u(e),query:a,referrer:n,language:i},await E(),await x(),s!==t||m!==u(e)&&(await A("page_view",e),m=u(e))}),identify(a){if(w(),f!==a&&(t+=1),f=a,i?.user&&i.user!==a){i=null,m="";try{e.session.removeItem(l)}catch{}}return N(async()=>{await x()})}}}({endpoint:s.PUBLIC_API_URL,fetcher:(...e)=>fetch(...e),local:y("localStorage"),session:y("sessionStorage"),now:Date.now,uuid:()=>crypto.randomUUID(),disabled:()=>"1"===navigator.doNotTrack||m.test(window.location.pathname),accessToken:()=>{try{return localStorage.getItem("accessToken")}catch{return null}}})}function b(){let e,s,r,o,l=(0,t.c)(10),c=(0,n.usePathname)(),{user:u,isLoading:d}=(0,i.useAuth)(),h=(0,a.useRef)(0);l[0]!==d||l[1]!==c||l[2]!==u?.id?(e=()=>{if(!c)return;let e=g();(async()=>{d||await e.identify(u?.id??null),await e.page(c,location.search,document.referrer,navigator.language),d||await e.identify(u?.id??null)})()},l[0]=d,l[1]=c,l[2]=u?.id,l[3]=e):e=l[3];let p=u?.id;return l[4]!==d||l[5]!==c||l[6]!==p?(s=[c,p,d],l[4]=d,l[5]=c,l[6]=p,l[7]=s):s=l[7],(0,a.useEffect)(e,s),l[8]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{h.current=Date.now();let e=()=>{h.current=Date.now()},t=["pointerdown","keydown","scroll"];t.forEach(t=>window.addEventListener(t,e,{passive:!0}));let a=window.setInterval(()=>{"visible"===document.visibilityState&&Date.now()-h.current<6e4&&g().event("engagement",location.pathname,15)},15e3);return document.addEventListener("click",v),window.addEventListener("zhege:translation-complete",I),window.addEventListener("zhege:feature",w),()=>{window.removeEventListener("zhege:feature",w),window.removeEventListener("zhege:translation-complete",I),clearInterval(a),t.forEach(t=>window.removeEventListener(t,e)),document.removeEventListener("click",v)}},o=[],l[8]=r,l[9]=o):(r=l[8],o=l[9]),(0,a.useEffect)(r,o),null}function w(e){g().event(e.detail,location.pathname)}function I(){g().event("translation",location.pathname)}function v(e){let t=e.target instanceof Element?e.target.closest("a[href]"):null;if(!t)return;let a=new URL(t.getAttribute("href"),location.origin);(["apps.apple.com","play.google.com","global.app.mi.com"].includes(a.hostname)||/\/go\/(web-appstore|web-googleplay)$/.test(a.pathname))&&g().event("store_click",location.pathname)}e.s(["ZhegeAnalytics",()=>b],70584)},23255,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return r},requestIdleCallback:function(){return s}};for(var i in n)Object.defineProperty(a,i,{enumerable:!0,get:n[i]});let s="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},293,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return w},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return g}};for(var i in n)Object.defineProperty(a,i,{enumerable:!0,get:n[i]});let s=e.r(38681),r=e.r(60967),o=e.r(30332),l=s._(e.r(74108)),c=r._(e.r(47472)),u=e.r(50965),d=e.r(15702),h=e.r(23255),p=new Map,m=new Set,f=e=>{let{src:t,id:a,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:r="",strategy:o="afterInteractive",onError:c,stylesheets:u}=e,h=a||t;if(h&&m.has(h))return;if(p.has(t)){m.add(h),p.get(t).then(n,c);return}let f=()=>{i&&i(),m.add(h)},y=document.createElement("script"),g=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),n&&n.call(this,t),f()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(y.innerHTML=s.__html||"",f()):r?(y.textContent="string"==typeof r?r:Array.isArray(r)?r.join(""):"",f()):t&&(y.src=t,p.set(t,g)),(0,d.setAttributesFromProps)(y,e),"worker"===o&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",o),u&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=e,t.appendChild(a)})}})(u),document.body.appendChild(y)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>f(e))}):f(e)}function g(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function b(e){let{id:t,src:a="",onLoad:n=()=>{},onReady:i=null,strategy:s="afterInteractive",onError:r,stylesheets:d,...p}=e,{updateScripts:y,scripts:g,getIsSsr:b,appDir:w,nonce:I}=(0,c.useContext)(u.HeadManagerContext);I=p.nonce||I;let v=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||a;v.current||(i&&e&&m.has(e)&&i(),v.current=!0)},[i,t,a]);let x=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!x.current){if("afterInteractive"===s)f(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>f(e))}));x.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(y?(g[s]=(g[s]||[]).concat([{id:t,src:a,onLoad:n,onReady:i,onError:r,...p,nonce:I}]),y(g)):b&&b()?m.add(t||a):b&&!b()&&f({...e,nonce:I})),w){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!a)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:I,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return l.default.preload(a,p.integrity?{as:"script",integrity:p.integrity,nonce:I,crossOrigin:p.crossOrigin}:{as:"script",nonce:I,crossOrigin:p.crossOrigin}),(0,o.jsx)("script",{nonce:I,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([a,{...p,id:t}])})`}});"afterInteractive"===s&&a&&l.default.preload(a,p.integrity?{as:"script",integrity:p.integrity,nonce:I,crossOrigin:p.crossOrigin}:{as:"script",nonce:I,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let w=b;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},56512,(e,t,a)=>{t.exports=e.r(293)},30484,e=>{"use strict";var t=e.i(30332),a=e.i(96453),n=e.i(56512),i=e.i(667);function s(e){let s,r,o,l,c=(0,a.c)(6),{nonce:u}=e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(s={__html:`
vendor: 479 bytes, lines 1-9
1 2 (function(m,e,t,r,i,k,a){ 3 m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; 4 m[i].l=1*new Date(); 5 for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} 6 k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a) 7 })(window, document,'script','https://mc.yandex.ru/metrika/tag.js', 'ym'); 8 9 ym(
9105516726
vendor: 233 bytes, lines 9-17
9, 'init', { 10 ssr: true, 11 webvisor: true, 12 clickmap: true, 13 ecommerce: "dataLayer", 14 accurateTrackBounce: true, 15 trackLinks: true 16 }); 17
17`},c[0]=s):s=c[0],c[1]!==u?(r=(0,t.jsx)(n.default,{id:"yandex-metrika",strategy:"afterInteractive",nonce:u,dangerouslySetInnerHTML:s}),c[1]=u,c[2]=r):r=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("noscript",{children:(0,t.jsx)("div",{children:(0,t.jsx)(i.default,{src:"https://mc.yandex.ru/watch/105516726",width:1,height:1,className:"metrika-offscreen",alt:"",unoptimized:!0})})}),c[3]=o):o=c[3],c[4]!==r?(l=(0,t.jsxs)(t.Fragment,{children:[r,o]}),c[4]=r,c[5]=l):l=c[5],l}e.s(["YandexMetrika",()=>s])},50853,e=>{"use strict";var t=e.i(46482),a=e.i(55086);function n(){let e=(0,t.useLocale)();return(0,a.setDictLangFromLocale)(e),null}e.s(["DictLangSync",()=>n])},21785,e=>{"use strict";var t=e.i(30332),a=e.i(96453),n=e.i(47472),i=e.i(46482),s=e.i(8421),r=e.i(67752),o=e.i(667),l=e.i(65347),c=e.i(69152),u=e.i(43540);let d=(0,u.default)("headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]),h=(0,u.default)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);var p=e.i(83332);let m=(0,u.default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]),f=(0,u.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var y=e.i(97527),g=e.i(45275),b=e.i(15672),w=e.i(40861),I=e.i(39326),v=e.i(69912);let x={ACCOUNT_SECURITY:[{id:"reset-password",topicId:"ACCOUNT_SECURITY",question:"Ðак воÑÑÑановиÑÑ Ð¿Ð°ÑолÑ?",answer:"ÐоÑÑÑановление паÑÐ¾Ð»Ñ Ð´Ð¾ÑÑÑпно ÑолÑко на ÑайÑе: оÑкÑойÑе ÑÑÑаниÑÑ Ð²Ð¾ÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð¸ ÑкажиÑе адÑÐµÑ Ð¿Ð¾ÑÑÑ, пÑивÑзаннÑй к аккаÑнÑÑ. ÐеÑейдиÑе по ÑÑÑлке из пиÑÑма и задайÑе новÑй паÑолÑ. РпÑиложении Ñакого ÑкÑана неÑ: в него можно войÑи по одноÑÐ°Ð·Ð¾Ð²Ð¾Ð¼Ñ ÐºÐ¾Ð´Ñ Ð¸Ð· пиÑÑма.",locale:"ru",isFallback:!1},{id:"change-email",topicId:"ACCOUNT_SECURITY",question:"Ðак измениÑÑ Ð°Ð´ÑÐµÑ ÑлекÑÑонной поÑÑÑ?",answer:"СамоÑÑоÑÑелÑно измениÑÑ Ð°Ð´ÑÐµÑ ÑлекÑÑонной поÑÑÑ ÑейÑÐ°Ñ Ð½ÐµÐ»ÑзÑ. СоздайÑе обÑаÑение Ñ ÑекÑÑим и новÑм адÑеÑами; не ÑказÑвайÑе в нÑм паÑÐ¾Ð»Ñ Ð¸Ð»Ð¸ код из пиÑÑма.",locale:"ru",isFallback:!1},{id:"verify-email",topicId:"ACCOUNT_SECURITY",question:"ÐоÑÐµÐ¼Ñ Ð½Ñжно подÑвеÑдиÑÑ ÑлекÑÑоннÑÑ Ð¿Ð¾ÑÑÑ?",answer:"ÐодÑвеÑждение Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ Ð·Ð°ÑиÑиÑÑ Ð°ÐºÐºÐ°ÑнÑ. ÐÑкÑойÑе пиÑÑмо поÑле ÑегиÑÑÑаÑии и пеÑейдиÑе по ÑÑÑлке. ÐÑли ÑÑÑлка ÑÑÑаÑела, на ÑкÑане подÑвеÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¿Ð¾ÑÑÑ Ð¸Ð»Ð¸ поÑле ÑообÑÐµÐ½Ð¸Ñ Ð¾ неподÑвеÑждÑнной поÑÑе пÑи вÑ
оде Ñ Ð¿Ð°Ñолем можно оÑпÑавиÑÑ Ð¿Ð¸ÑÑмо еÑÑ Ñаз.",locale:"ru",isFallback:!1},{id:"unknown-login",topicId:"ACCOUNT_SECURITY",question:"Я замеÑил незнакомÑй вÑ
од в аккаÑнÑ. ЧÑо делаÑÑ?",answer:"ÐоÑÑÑановиÑе паÑÐ¾Ð»Ñ Ð½Ð° ÑайÑе â Ð´Ð»Ñ ÑÑого не нÑжно знаÑÑ Ð¿Ñежний паÑолÑ. ÐаÑем вÑйдиÑе из аккаÑнÑа на ÑÑÑÑойÑÑве, коÑоÑÐ¾Ð¼Ñ Ð½Ðµ довеÑÑеÑе, и ÑбедиÑеÑÑ, ÑÑо доÑÑÑп к поÑÑе аккаÑнÑа еÑÑÑ ÑолÑко Ñ Ð²Ð°Ñ. ÐÑли пÑежний паÑÐ¾Ð»Ñ Ð²Ñ Ð¿Ð¾Ð¼Ð½Ð¸Ñе, ÑмениÑÑ ÐµÐ³Ð¾ можно и в пÑоÑиле. Ðе оÑпÑавлÑйÑе паÑÐ¾Ð»Ñ Ð¸Ð»Ð¸ код из пиÑÑма в обÑаÑении.",locale:"ru",isFallback:!1},{id:"delete-account",topicId:"ACCOUNT_SECURITY",question:"Ðак ÑдалиÑÑ Ð°ÐºÐºÐ°ÑÐ½Ñ Ð¸ даннÑе?",answer:"ÐÑкÑойÑе пÑоÑилÑ, вÑбеÑиÑе Ñдаление аккаÑнÑа и подÑвеÑдиÑе дейÑÑвие. ÐоллекÑии, ÑоÑ
ÑанÑннÑе даннÑе и иÑÑоÑÐ¸Ñ Ð²Ñ
ода ÑдалÑÑÑÑÑ Ð±ÐµÐ· возможноÑÑи воÑÑÑановлениÑ. ÐÑли кнопка недоÑÑÑпна, обÑаÑиÑеÑÑ Ð² поддеÑÐ¶ÐºÑ Ñ Ð°Ð´ÑеÑа, пÑивÑзанного к аккаÑнÑÑ.",locale:"ru",isFallback:!1}],BILLING:[{id:"plan-status",topicId:"BILLING",question:"Ðде поÑмоÑÑеÑÑ ÑÑаÑÑÑ Ð¼Ð¾ÐµÐ³Ð¾ ÑаÑиÑа?",answer:"ÐÑделÑнÑй ÑÑаÑÑÑ ÑаÑиÑа в пÑиложении и Ð
17½Ð° ÑайÑе не показÑваеÑÑÑ. ÐоÑÑÑпнÑй оÑÑаÑок запÑоÑов виден на ÑкÑане «Ðнализ» в пÑиложении и в пÑоÑиле на ÑайÑе. ÐнÑоÑмаÑÐ¸Ñ Ð¾ ваÑианÑаÑ
лимиÑов можно поÑмоÑÑеÑÑ Ð½Ð° ÑайÑе.",locale:"ru",isFallback:!1},{id:"iphone-manage",topicId:"BILLING",question:"Ðак ÑпÑавлÑÑÑ Ð¿Ð¾Ð´Ð¿Ð¸Ñкой на iPhone?",answer:"Ð ZHEGE Ð½ÐµÑ ÑкÑана ÑпÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñкой на iPhone. ÐÑли покÑпка бÑла оÑоÑмлена ÑеÑез Apple, ÑпÑавление ÐµÑ Ð²ÑполнÑеÑÑÑ Ð² наÑÑÑойкаÑ
Apple ID в Ñазделе «ÐодпиÑки», а не в пÑиложении.",locale:"ru",isFallback:!1},{id:"iphone-refund",topicId:"BILLING",question:"Ðак запÑоÑиÑÑ Ð²Ð¾Ð·Ð²ÑÐ°Ñ Ð·Ð° покÑÐ¿ÐºÑ Ð½Ð° iPhone?",answer:"ÐÑли покÑпка бÑла оÑоÑмлена ÑеÑез Apple, запÑÐ¾Ñ Ð½Ð° возвÑÐ°Ñ Ð½Ñжно оÑпÑавиÑÑ ÑеÑез reportaproblem.apple.com Ñ Ñем же Apple ID. РеÑение по ÑÐ°ÐºÐ¾Ð¼Ñ Ð·Ð°Ð¿ÑоÑÑ Ð¿ÑÐ¸Ð½Ð¸Ð¼Ð°ÐµÑ Apple.",locale:"ru",isFallback:!1},{id:"purchase-not-active",topicId:"BILLING",question:"ÐокÑпка еÑÑÑ, но ÑÑнкÑии не оÑкÑÑлиÑÑ. ЧÑо делаÑÑ?",answer:"УбедиÑеÑÑ, ÑÑо Ð²Ñ Ð²Ð¾Ñли в ÑÐ¾Ñ Ð¶Ðµ аккаÑÐ½Ñ ZHEGE, Ð´Ð»Ñ ÐºÐ¾ÑоÑого бÑл полÑÑен код. ÐÑовеÑÑÑе оÑÑаÑок запÑоÑов: в пÑиложении он показан на ÑкÑане «Ðнализ», на ÑайÑе â в пÑоÑиле. ÐÑли Ð»Ð¸Ð¼Ð¸Ñ Ð½Ðµ изменилÑÑ, ÑоздайÑе обÑаÑение и ÑкажиÑе даÑÑ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ ÐºÐ¾Ð´Ð°.",locale:"ru",isFallback:!1},{id:"payment-method",topicId:"BILLING",question:"ÐоÑÐµÐ¼Ñ Ð½Ðµ пÑоÑ
Ð¾Ð´Ð¸Ñ Ð¾Ð¿Ð»Ð°Ñа?",answer:"ÐÑÑмой оплаÑÑ Ð² пÑиложении неÑ. ÐаÑианÑÑ Ð»Ð¸Ð¼Ð¸Ñов и конÑакÑÑ Ð´Ð»Ñ Ð¸Ñ
оÑоÑÐ¼Ð»ÐµÐ½Ð¸Ñ ÑÐºÐ°Ð·Ð°Ð½Ñ Ð½Ð° ÑайÑе. ÐÑли пÑи оплаÑе ÑеÑез ÑÑоÑонний ÑеÑÐ²Ð¸Ñ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ»Ð° оÑибка, ÑÑоÑниÑе ÐµÑ Ñ ÑÑого ÑеÑвиÑа и пÑиложиÑе опиÑание к обÑаÑениÑ.",locale:"ru",isFallback:!1}],LIMITS_FEATURES:[{id:"daily-limit",topicId:"LIMITS_FEATURES",question:"ÐоÑÐµÐ¼Ñ Ñ Ð´Ð¾ÑÑиг дневного лимиÑа?",answer:"ÐневнÑе лимиÑÑ Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÑÑ ÑоÑ
ÑанÑÑÑ ÑÑабилÑнÑÑ ÑабоÑÑ Ð¿Ð¾Ð¸Ñка и анализа Ð´Ð»Ñ Ð²ÑеÑ
полÑзоваÑелей. ÐÐ¸Ð¼Ð¸Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÑеÑÑÑ Ð°Ð²ÑомаÑиÑеÑки; не нÑжно пеÑеÑÑÑанавливаÑÑ Ð¿Ñиложение или ÑоздаваÑÑ Ð½Ð¾Ð²Ñй аккаÑнÑ.",locale:"ru",isFallback:!1},{id:"remaining-requests",topicId:"LIMITS_FEATURES",question:"Ðде поÑмоÑÑеÑÑ, ÑколÑко запÑоÑов оÑÑалоÑÑ?",answer:"РпÑиложении оÑÑаÑок запÑоÑов на ÑÐµÐ³Ð¾Ð´Ð½Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½ на ÑкÑане «Ðнализ» ÑÑдом Ñ Ð´ÐµÐ¹ÑÑвием. Ðа ÑайÑе он показан в пÑоÑиле. ÐÑли ÑÑÑÑÑик не обновилÑÑ Ð¿Ð¾Ñле дейÑÑвиÑ, обновиÑе ÑооÑвеÑÑÑвÑÑÑий ÑкÑан.",locale:"ru",isFallback:!1},{id:"coupon",topicId:"LIMITS_FEATURES",question:"Ðак пÑимениÑÑ ÐºÐ¾Ð´ на лимиÑÑ?",answer:"Ðод можно акÑивиÑоваÑÑ ÑолÑко на ÑайÑе: оÑкÑойÑе пÑоÑилÑ, найдиÑе каÑÑоÑÐºÑ Â«ÐвеÑÑи кÑпон», введиÑе код и нажмиÑе «ÐкÑивиÑоваÑÑ ÐºÑпон». РпÑиложении ввод кÑпона недоÑÑÑпен. ÐоÑле ÑÑпеÑной акÑиваÑии новÑй дневной Ð»Ð¸Ð¼Ð¸Ñ Ð¿ÑименÑеÑÑÑ Ð°Ð²ÑомаÑиÑеÑки.",locale:"ru",isFallback:!1},{id:"collections",topicId:"LIMITS_FEATURES",question:"Ðак ÑоÑ
ÑанÑÑÑ Ñлова и ÑазбоÑÑ?",answer:"ÐÑкÑойÑе каÑÑоÑÐºÑ Ñлова или ÑезÑлÑÑÐ°Ñ ÑазбоÑа и вÑбеÑиÑе ÑоÑ
Ñанение в коллекÑиÑ. ÐÐ»Ñ ÑабоÑÑ Ñ ÑоÑ
ÑанÑннÑми даннÑми оÑкÑойÑе Ñаздел «ÐоллекÑии»; в пÑиложении ÑÑо оÑделÑÐ½Ð°Ñ Ð²ÐºÐ»Ð°Ð´ÐºÐ°. Там можно пÑоÑмаÑÑиваÑÑ, пеÑеименовÑваÑÑ Ð¸ ÑдалÑÑÑ Ð½ÐµÐ½ÑжнÑе запиÑи. ÐÐ»Ñ ÑинÑ
ÑонизаÑии ÑоÑ
ÑанÑннÑÑ
даннÑÑ
войдиÑе в аккаÑнÑ.",locale:"ru",isFallback:!1},{id:"history",topicId:"LIMITS_FEATURES",question:"Ðде найÑи иÑÑоÑÐ¸Ñ Ð¿Ð¾Ð¸Ñка и пеÑеводов?",answer:"ÐÑкÑойÑе пÑоÑÐ¸Ð»Ñ Ð¸ пеÑейдиÑе в Ñаздел иÑÑоÑии. Там можно веÑнÑÑÑÑÑ Ðº недавним поиÑкам, ÑазбоÑам и диалогам. ÐÑли нÑжной запиÑи неÑ, пÑовеÑÑÑе, ÑÑо Ð²Ñ Ð¸ÑполÑзÑеÑе ÑÐ¾Ñ Ð¶Ðµ аккаÑÐ½Ñ Ð¸ не ÑдалÑли иÑÑоÑиÑ.",locale:"ru",isFallback:!1}],TRANSLATION_ERROR:[{id:"wrong-meaning",topicId:"TRANSLATION_ERROR",question:"ÐеÑевод или знаÑение Ñлова невеÑнÑе. Ðак ÑообÑиÑÑ?",answer:"ÐÑкÑойÑе ÑезÑлÑÑаÑ, ÑкопиÑÑйÑе Ñлово или ÑÑÐ°Ð·Ñ Ð¸ ÑоздайÑе обÑаÑение Ñ Ð¿ÑавилÑнÑм ваÑианÑом, еÑли он извеÑÑен. УкажиÑе ÑзÑк иÑÑ
одного ÑекÑÑа и ÑзÑк пеÑевода. СкÑинÑÐ¾Ñ Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ ÑвидеÑÑ Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ð² конÑекÑÑе.",locale:"ru",isFallback:!1},{id:"wrong-language",topicId:"TRANSLATION_ERROR",question:"ÐÑиложение опÑеделило не ÑÐ¾Ñ ÑзÑк. ЧÑо ÑделаÑÑ?",answer:"ÐÑовеÑÑÑе, ÑÑо в запÑоÑе Ð½ÐµÑ Ð»Ð¸ÑниÑ
Ñимволов, и повÑоÑиÑе поиÑк коÑоÑкой ÑÑазой. ÐÑли доÑÑÑпен вÑÐ±Ð¾Ñ Ð½Ð°Ð¿ÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿ÐµÑевода, ÑкажиÑе его вÑÑÑнÑÑ. ÐÑи повÑоÑении пÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ð¾ÑпÑавÑÑе пÑÐ¸Ð¼ÐµÑ Ð¸ÑÑ
одного ÑекÑÑа в поддеÑжкÑ.",locale:"ru",isFallback:!1},{id:"no-result",topicId:"TRANSLATION_ERROR",question:"ÐоиÑк не наÑÑл Ñлово или вÑÑажение.",answer:"ÐÑовеÑÑÑе напиÑание, ÑÐ¾Ð½Ñ Ð¿Ð¸Ð½ÑÐ¸Ð½Ñ Ð¸ пÑÐ¾Ð±ÐµÐ»Ñ Ð¼ÐµÐ¶Ð´Ñ Ñловами. ÐÐ»Ñ Ð´Ð»Ð¸Ð½Ð½Ð¾Ð¹ ÑÑÐ°Ð·Ñ Ð¿Ð¾Ð¿ÑобÑйÑе ÑнаÑала вÑполниÑÑ ÑÐ°Ð·Ð±Ð¾Ñ ÑекÑÑа, а заÑем оÑкÑÑÑÑ Ð¾ÑделÑнÑе Ñлова. ÐÑли вÑÑажение вÑÑ Ñавно не наÑ
одиÑÑÑ, оÑпÑавÑÑе его ÑеÑез обÑаÑение.",locale:"ru",isFallback:!1},{id:"context",topicId:"TRANSLATION_ERROR",question:"Ðак полÑÑиÑÑ Ð¿ÐµÑевод ÑÑÐ°Ð·Ñ Ñ ÑÑÑÑом конÑекÑÑа?",answer:"ÐÑÑавÑÑе полнÑÑ ÑÑÐ°Ð·Ñ Ð² ÑÐ°Ð·Ð±Ð¾Ñ ÑекÑÑа, а не оÑделÑное Ñлово. ÐÑкÑойÑе ÑезÑлÑÑаÑÑ Ð¿Ð¾ Ñловам, ÑÑÐ¾Ð±Ñ ÑÑавниÑÑ Ð²Ð°ÑианÑÑ Ð·Ð½Ð°ÑениÑ. ÐÑли конÑекÑÑ Ð²Ð°Ð¶ÐµÐ½, добавÑÑе его в обÑаÑение вмеÑÑе Ñ Ð¸ÑÑ
одной ÑÑазой.",locale:"ru",isFallback:!1},{id:"report-example",topicId:"TRANSLATION_ERROR",question:"ЧÑо пÑиложиÑÑ Ðº ÑообÑÐµÐ½Ð¸Ñ Ð¾Ð± оÑибке пеÑевода?",answer:"УкажиÑе иÑÑ
однÑй ÑекÑÑ, полÑÑеннÑй ÑезÑлÑÑÐ°Ñ Ð¸ ÑзÑк, Ñ ÐºÐ¾ÑоÑого вÑполнÑлÑÑ Ð¿ÐµÑевод. ÐобавÑÑе, где ÑекÑÑ Ð²ÑÑÑеÑилÑÑ: напÑимеÑ, в менÑ, пеÑепиÑке или докÑменÑе. Ðе оÑпÑавлÑйÑе лиÑнÑе даннÑе, еÑли они не нÑÐ¶Ð½Ñ Ð´Ð»Ñ Ð¿Ð¾Ð½Ð¸Ð¼Ð°Ð½Ð¸Ñ Ð¾Ñибки.",locale:"ru",isFallback:!1}],MEDIA_INPUT:[{id:"photo-recognition",topicId:"MEDIA_INPUT",question:"Ðак ÑаÑпознаÑÑ ÑекÑÑ Ð½Ð° ÑоÑогÑаÑии?",answer:"РпÑиложении оÑкÑойÑе дейÑÑвие Ñ ÑоÑо, ÑделайÑе Ñнимок или вÑбеÑиÑе изобÑажение из галеÑеи. ÐоÑле ÑÑого дождиÑеÑÑ ÑаÑÐ¿Ð¾Ð·Ð½Ð°Ð²Ð°Ð½Ð¸Ñ Ð¸ пÑовеÑÑÑе ÑекÑÑ Ð¿ÐµÑед вÑÑавкой в поиÑк или ÑазбоÑ. Ðа Ñнимке должен бÑÑÑ Ñ
оÑоÑо виден ÑекÑÑ.",locale:"ru",isFallback:!1},{id:"photo-no-text",topicId:"MEDIA_INPUT",question:"ÐоÑÐµÐ¼Ñ ÑекÑÑ Ð½Ð° ÑоÑо не ÑаÑпозналÑÑ?",answer:"СделайÑе новÑй Ñнимок пÑи Ñ
оÑоÑем оÑвеÑении и ÑаÑположиÑе ÑекÑÑ Ñовно в кадÑе. ÐÑи необÑ
одимоÑÑи обÑежÑÑе изобÑажение, оÑÑавив ÑолÑко нÑжнÑÑ Ð½Ð°Ð´Ð¿Ð¸ÑÑ. ÐÑли пÑоблема повÑоÑÑеÑÑÑ, пÑиложиÑе ÑоÑо к обÑаÑениÑ.",locale:"ru",isFallback:!1},{id:"voice-input",topicId:"MEDIA_INPUT",question:"Ðак полÑзоваÑÑÑÑ Ð³Ð¾Ð»Ð¾ÑовÑм вводом?",answer:"ÐажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð³Ð¾Ð»Ð¾Ñового ввода, ÑазÑеÑиÑе доÑÑÑп к микÑоÑÐ¾Ð½Ñ Ð¸ пÑоизнеÑиÑе Ñлово или ÑÑазÑ. ÐоÑле оÑÑановки запиÑи пÑовеÑÑÑе ÑаÑпознаннÑй ÑекÑÑ Ð¸ вÑÑавÑÑе его в поиÑк. ÐÐ»Ñ Ð³Ð¾Ð»Ð¾Ñового ввода нÑжен вÑ
од в аккаÑÐ½Ñ Ð¸ подклÑÑение к ÑеÑи.",locale:"ru",isFallback:!1},{id:"live-conversation",topicId:"MEDIA_INPUT",question:"Ðак ÑабоÑÐ°ÐµÑ Ð¶Ð¸Ð²Ð¾Ð¹ пеÑевод ÑазговоÑа?",answer:"ÐÑкÑойÑе Ñежим ÑазговоÑа и говоÑиÑе по оÑеÑеди на вÑбÑаннÑÑ
ÑзÑкаÑ
. ÐÑиложение пеÑÐµÐ²Ð¾Ð´Ð¸Ñ Ð¶Ð¸Ð²ÑÑ ÑеÑÑ Ð² ÑеалÑном вÑемени и ÑоÑ
ÑанÑÐµÑ Ð´Ð¸Ð°Ð»Ð¾Ð³ в иÑÑоÑии. ÐеÑед наÑалом ÑазÑеÑиÑе доÑÑÑп к микÑоÑонÑ.",locale:"ru",isFallback:!1},{id:"document-text",topicId:"MEDIA_INPUT",question:"Ðожно ли ÑазобÑаÑÑ ÑекÑÑ Ð¸Ð· докÑменÑа или ÑкÑинÑоÑа?",answer:"СоÑ
ÑаниÑе нÑжнÑÑ ÑÑÑаниÑÑ ÐºÐ°Ðº изобÑажение или ÑделайÑе ÑкÑинÑоÑ, заÑем вÑбеÑиÑе его в дейÑÑвии Ñ ÑоÑо. ÐÑовеÑÑÑе ÑаÑпознаннÑй ÑекÑÑ Ð¸ пÑи необÑ
одимоÑÑи иÑпÑавÑÑе его вÑÑÑнÑÑ Ð¿ÐµÑед ÑазбоÑом. ÐÑли изобÑажение ÑодеÑÐ¶Ð¸Ñ Ð»Ð¸ÑнÑе даннÑе, закÑойÑе иÑ
до оÑпÑавки в поддеÑжкÑ.",locale:"ru",isFallback:!1}],TECHNICAL:[{id:"app-not-open",topicId:"TECHNICAL",question:"ÐÑиложение не оÑкÑÑваеÑÑÑ Ð¸Ð»Ð¸ ÑÑÐ°Ð·Ñ Ð·Ð°ÐºÑÑваеÑÑÑ.",answer:"ÐолноÑÑÑÑ Ð·Ð°ÐºÑойÑе пÑиложение и оÑкÑойÑе его Ñнова. ÐÑовеÑÑÑе, ÑÑо на ÑÑÑÑойÑÑве доÑÑаÑоÑно Ñвободного меÑÑа и ÑÑÑановлена акÑÑалÑÐ½Ð°Ñ Ð²ÐµÑÑÐ¸Ñ Ð¿ÑиложениÑ. ÐÑли ÑÑо не помогло, оÑпÑавÑÑе в поддеÑÐ¶ÐºÑ Ð¼Ð¾Ð´ÐµÐ»Ñ ÑÑÑÑойÑÑва, веÑÑÐ¸Ñ ÑиÑÑÐµÐ¼Ñ Ð¸ опиÑание моменÑа, когда Ð²Ð¾Ð·Ð½Ð¸ÐºÐ°ÐµÑ Ð¾Ñибка.",locale:"ru",isFallback:!1}
17,{id:"network-error",topicId:"TECHNICAL",question:"ÐоÑвлÑеÑÑÑ Ð¾Ñибка подклÑÑениÑ.",answer:"ÐÑовеÑÑÑе подклÑÑение ÑÑÑÑойÑÑва к ÑеÑи и попÑобÑйÑе повÑоÑиÑÑ Ð´ÐµÐ¹ÑÑвие ÑеÑез неÑколÑко минÑÑ. ÐеÑеклÑÑиÑеÑÑ Ð¼ÐµÐ¶Ð´Ñ Wi-Fi и мобилÑной ÑеÑÑÑ, еÑли ÑÑо возможно. ÐÑли оÑибка оÑÑаÑÑÑÑ, пÑиложиÑе ÑкÑинÑÐ¾Ñ ÑообÑÐµÐ½Ð¸Ñ Ðº обÑаÑениÑ.",locale:"ru",isFallback:!1},{id:"update-app",topicId:"TECHNICAL",question:"Ðак обновиÑÑ Ð¿Ñиложение?",answer:"ÐÑкÑойÑе ÑÑÑаниÑÑ ZHEGE в App Store или Google Play и нажмиÑе «ÐбновиÑÑ», еÑли кнопка доÑÑÑпна. ÐоÑле Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð¾ÑкÑойÑе пÑиложение Ñнова. ÐÑли магазин не показÑÐ²Ð°ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ðµ, пÑовеÑÑÑе, ÑÑо Ð²Ñ Ð²Ð¾Ñли в пÑавилÑнÑй аккаÑÐ½Ñ Ð¼Ð°Ð³Ð°Ð·Ð¸Ð½Ð°.",locale:"ru",isFallback:!1},{id:"notifications",topicId:"TECHNICAL",question:"ÐоÑÐµÐ¼Ñ Ð½Ðµ пÑиÑ
одÑÑ ÑведомлениÑ?",answer:"ÐÑкÑойÑе наÑÑÑойки ÑÑÑÑойÑÑва и ÑазÑеÑиÑе ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð´Ð»Ñ ZHEGE. ÐаÑем оÑкÑойÑе в пÑиложении ÑкÑан «ÐаÑÑÑойки» и пÑовеÑÑÑе пеÑеклÑÑаÑÐµÐ»Ñ Ñведомлений. ÐÑли ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾-пÑÐµÐ¶Ð½ÐµÐ¼Ñ Ð½Ðµ пÑиÑ
одÑÑ, оÑпÑавÑÑе обÑаÑение Ñ Ð¼Ð¾Ð´ÐµÐ»ÑÑ ÑÑÑÑойÑÑва и веÑÑией ÑиÑÑемÑ.",locale:"ru",isFallback:!1},{id:"send-diagnostics",topicId:"TECHNICAL",question:"Ðакие даннÑе нÑÐ¶Ð½Ñ Ð´Ð»Ñ Ð¾Ð±ÑаÑÐµÐ½Ð¸Ñ Ð¾ ÑеÑ
ниÑеÑкой оÑибке?",answer:"ÐпиÑиÑе, ÑÑо Ð²Ñ Ð½Ð°Ð¶Ð°Ð»Ð¸ и ÑÑо пÑоизоÑло вмеÑÑо ожидаемого ÑезÑлÑÑаÑа. ÐобавÑÑе Ð¼Ð¾Ð´ÐµÐ»Ñ ÑÑÑÑойÑÑва, веÑÑÐ¸Ñ ÑиÑÑемÑ, веÑÑÐ¸Ñ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¸ ÑкÑинÑÐ¾Ñ Ð¾Ñибки, еÑли он еÑÑÑ. Ðе вклÑÑайÑе в ÑкÑинÑоÑÑ Ð¿Ð°Ñоли, ÐºÐ¾Ð´Ñ Ð²Ñ
ода или плаÑÑжнÑе даннÑе.",locale:"ru",isFallback:!1}],ENTERPRISE:[{id:"business-plan",topicId:"ENTERPRISE",question:"ÐÐ»Ñ ÐºÐ¾Ð³Ð¾ подÑ
Ð¾Ð´Ð¸Ñ ÐºÐ¾ÑпоÑаÑивнÑй ÑаÑиÑ?",answer:"ÐпиÑиÑе задаÑÑ Ð² обÑаÑении: ÑÑеÑÑ ÑабоÑÑ, пÑедполагаемое ÑиÑло полÑзоваÑелей и ÑÑо именно нÑжно полÑÑиÑÑ. ÐÑделÑного ÑаÑиÑа Ð´Ð»Ñ Ð¾ÑганизаÑий Ñ ÑамоÑÑоÑÑелÑнÑм подклÑÑением ÑейÑÐ°Ñ Ð½ÐµÑ â Ñакие запÑоÑÑ Ð¾Ð±ÑÑждаÑÑÑÑ Ð¸Ð½Ð´Ð¸Ð²Ð¸Ð´ÑалÑно. ÐÑ Ð¾ÑвеÑим Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ñми ваÑианÑами.",locale:"ru",isFallback:!1},{id:"team-access",topicId:"ENTERPRISE",question:"Ðожно ли подклÑÑиÑÑ Ð½ÐµÑколÑко ÑоÑÑÑдников?",answer:"ÐпиÑиÑе в обÑаÑении, ÑколÑко ÑоÑÑÑдников Ð´Ð¾Ð»Ð¶Ð½Ñ Ð¿Ð¾Ð»ÑзоваÑÑÑÑ ÑеÑвиÑом и нÑжен ли обÑий доÑÑÑп к маÑеÑиалам. ÐÑо Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾Ð´Ð¾Ð±ÑаÑÑ Ð¿Ð¾Ð´Ñ
одÑÑий ваÑÐ¸Ð°Ð½Ñ ÑабоÑÑ Ð´Ð»Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ. Ðе пеÑедавайÑе один паÑÐ¾Ð»Ñ Ð½ÐµÑколÑким лÑдÑм.",locale:"ru",isFallback:!1},{id:"invoice",topicId:"ENTERPRISE",question:"ÐÑÐ¶Ð½Ñ Ð´Ð¾ÐºÑменÑÑ Ð´Ð»Ñ Ð¾ÑганизаÑии.",answer:"СоздайÑе обÑаÑение по коÑпоÑаÑÐ¸Ð²Ð½Ð¾Ð¼Ñ ÑаÑиÑÑ Ð¸ ÑкажиÑе ÑÑÑÐ°Ð½Ñ ÑегиÑÑÑаÑии оÑганизаÑии и нÑжнÑй вид докÑменÑа. ÐобавÑÑе ÑеквизиÑÑ ÑолÑко еÑли поддеÑжка запÑоÑÐ¸Ñ Ð¸Ñ
в заÑиÑÑнном канале. ÐÑ ÑообÑим, какие ÑÐ²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ пÑедоÑÑавиÑÑ Ð´Ð»Ñ Ð²Ð°Ñего ÑлÑÑаÑ.",locale:"ru",isFallback:!1},{id:"training",topicId:"ENTERPRISE",question:"Ðожно ли иÑполÑзоваÑÑ ZHEGE Ð´Ð»Ñ Ð¾Ð±ÑÑениÑ?",answer:"СеÑÐ²Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ иÑполÑзоваÑÑ ÐºÐ°Ðº ÑловаÑÑ, Ð´Ð»Ñ ÑазбоÑа ÑекÑÑа и пÑакÑики по ÑÑовнÑм HSK. ÐпиÑиÑе в обÑаÑении ÑоÑÐ¼Ð°Ñ Ð¾Ð±ÑÑÐµÐ½Ð¸Ñ Ð¸ ÑзÑки гÑÑппÑ. ÐоддеÑжка Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾Ð½ÑÑÑ, какие ÑекÑÑие ÑÑнкÑии подойдÑÑ Ð²Ð°Ñей задаÑе.",locale:"ru",isFallback:!1},{id:"business-contact",topicId:"ENTERPRISE",question:"Ðак ÑвÑзаÑÑÑÑ Ð¿Ð¾ коÑпоÑаÑÐ¸Ð²Ð½Ð¾Ð¼Ñ Ð²Ð¾Ð¿ÑоÑÑ?",answer:"ÐÑбеÑиÑе ÑÐµÐ¼Ñ Â«ÐоÑпоÑаÑивнÑй ÑаÑиÑ» и кÑаÑко опиÑиÑе Ð²Ð°Ñ Ð·Ð°Ð¿ÑоÑ. ÐÑÑавÑÑе ÑабоÑий адÑÐµÑ Ð¿Ð¾ÑÑÑ, ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ Ð¾ÑÐ²ÐµÑ Ð² пеÑепиÑке обÑаÑениÑ. Ðе оÑпÑавлÑйÑе паÑоли или даннÑе банковÑкиÑ
каÑÑ.",locale:"ru",isFallback:!1}],FEEDBACK_OTHER:[{id:"feature-request",topicId:"FEEDBACK_OTHER",question:"Ðак пÑедложиÑÑ Ð½Ð¾Ð²ÑÑ ÑÑнкÑиÑ?",answer:"ÐÑбеÑиÑе ÑÑÑ ÑÐµÐ¼Ñ Ð¸ опиÑиÑе, какÑÑ Ð·Ð°Ð´Ð°ÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð° ÑеÑаÑÑ ÑÑнкÑиÑ. ÐÑиведиÑе пÑимеÑ, как Ð²Ñ Ð¸ÑполÑзÑеÑе пÑиложение ÑейÑаÑ. Чем конкÑеÑнее ÑÑенаÑий, Ñем легÑе пеÑедаÑÑ Ð¿Ñедложение команде.",locale:"ru",isFallback:!1},{id:"leave-feedback",topicId:"FEEDBACK_OTHER",question:"Ðде оÑÑавиÑÑ Ð¾ÑзÑв о пÑиложении?",answer:"СоздайÑе обÑаÑение и ÑаÑÑкажиÑе, ÑÑо вам понÑавилоÑÑ Ð¸Ð»Ð¸ ÑÑо меÑÐ°ÐµÑ Ð¿Ð¾Ð»ÑзоваÑÑÑÑ ÑеÑвиÑом. Ðожно Ñакже оÑÑавиÑÑ Ð¾ÑÐµÐ½ÐºÑ Ð¸ оÑзÑв в магазине пÑиложений. Ðе добавлÑйÑе в пÑблиÑнÑй оÑзÑв лиÑнÑе даннÑе.",locale:"ru",isFallback:!1},{id:"other-question",topicId:"FEEDBACK_OTHER",question:"Ðой вопÑÐ¾Ñ Ð½Ðµ подÑ
Ð¾Ð´Ð¸Ñ Ð½Ð¸ к одной Ñеме.",answer:"ÐÑбеÑиÑе ÑÑÑ ÑÐµÐ¼Ñ Ð¸ кÑаÑко опиÑиÑе ÑиÑÑаÑÐ¸Ñ Ñвоими Ñловами. УкажиÑе, в каком Ñазделе пÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð²Ð¾Ð·Ð½Ð¸Ðº вопÑоÑ, и добавÑÑе ÑкÑинÑÐ¾Ñ Ð¿Ñи необÑ
одимоÑÑи. ÐоддеÑжка напÑÐ°Ð²Ð¸Ñ Ð¾Ð±ÑаÑение по нÑÐ¶Ð½Ð¾Ð¼Ñ Ð½Ð°Ð¿ÑавлениÑ.",locale:"ru",isFallback:!1},{id:"contact-support",topicId:"FEEDBACK_OTHER",question:"Ðак ÑоздаÑÑ Ð¾Ð±ÑаÑение в поддеÑжкÑ?",answer:"ÐÑкÑойÑе Ñаздел поддеÑжки, вÑбеÑиÑе наиболее близкÑÑ ÑÐµÐ¼Ñ Ð¸ ÑнаÑала поÑмоÑÑиÑе гоÑовÑе оÑвеÑÑ. ÐÑли ÑеÑение не помогло, заполниÑе ÑообÑение Ñ Ð¾Ð¿Ð¸Ñанием пÑоблемÑ. ÐÐ»Ñ Ð¾ÑвеÑа ÑкажиÑе доÑÑÑпнÑй адÑÐµÑ ÑлекÑÑонной поÑÑÑ Ð¸Ð»Ð¸ войдиÑе в аккаÑнÑ.",locale:"ru",isFallback:!1},{id:"privacy-feedback",topicId:"FEEDBACK_OTHER",question:"Ðожно ли оÑпÑавиÑÑ ÑкÑинÑÐ¾Ñ Ð¸Ð»Ð¸ запиÑÑ ÑкÑана?",answer:"Ðа, еÑли они помогаÑÑ Ð¿Ð¾ÐºÐ°Ð·Ð°ÑÑ Ð¿ÑоблемÑ. ÐеÑед оÑпÑавкой закÑойÑе на изобÑажении лиÑнÑе ÑообÑениÑ, паÑоли, ÐºÐ¾Ð´Ñ Ð¸ плаÑÑжнÑе даннÑе. ÐобавÑÑе коÑоÑкое опиÑание Ñого, ÑÑо нÑжно ÑвидеÑÑ Ð½Ð° ÑкÑинÑоÑе.",locale:"ru",isFallback:!1}]},E=["ACCOUNT_SECURITY","BILLING","LIMITS_FEATURES","TRANSLATION_ERROR","MEDIA_INPUT","TECHNICAL","ENTERPRISE","FEEDBACK_OTHER"],T={ru:{ACCOUNT_SECURITY:"ÐккаÑÐ½Ñ Ð¸ безопаÑноÑÑÑ",BILLING:"ÐодпиÑка и оплаÑа",LIMITS_FEATURES:"ÐимиÑÑ Ð¸ ÑÑнкÑии",TRANSLATION_ERROR:"ÐÑибка пеÑевода",MEDIA_INPUT:"ФоÑо, Ð³Ð¾Ð»Ð¾Ñ Ð¸ доÐ
17ºÑменÑÑ",TECHNICAL:"ТеÑ
ниÑеÑÐºÐ°Ñ Ð¿Ñоблема",ENTERPRISE:"ÐоÑпоÑаÑивнÑй ÑаÑиÑ",FEEDBACK_OTHER:"ÐÑедложение, оÑзÑв или дÑÑгое"},en:{ACCOUNT_SECURITY:"Account and security",BILLING:"Subscription and payment",LIMITS_FEATURES:"Limits and features",TRANSLATION_ERROR:"Translation issue",MEDIA_INPUT:"Photos, voice, and documents",TECHNICAL:"Technical issue",ENTERPRISE:"Business plan",FEEDBACK_OTHER:"Suggestion, feedback, or other"},zh:{ACCOUNT_SECURITY:"è´¦æ·ä¸å®å
¨",BILLING:"订é
ä¸ä»æ¬¾",LIMITS_FEATURES:"éé¢ä¸åè½",TRANSLATION_ERROR:"ç¿»è¯é®é¢",MEDIA_INPUT:"ç
§çãè¯é³åææ¡£",TECHNICAL:"ææ¯é®é¢",ENTERPRISE:"ä¼ä¸æ¹æ¡",FEEDBACK_OTHER:"建议ãå馿å
¶ä»é®é¢"}};function k(e,t=!1){return E.map(a=>({id:a,name:T[e][a],locale:e,isFallback:t}))}let N={ru:x,en:{ACCOUNT_SECURITY:[{id:"reset-password",topicId:"ACCOUNT_SECURITY",question:"How do I reset my password?",answer:"Password recovery is available only on the website: open the recovery page and enter the email linked to your account. Follow the link in the email and set a new password. There is no such screen in the app; you can sign in there with a one-time code from email.",locale:"en",isFallback:!1},{id:"change-email",topicId:"ACCOUNT_SECURITY",question:"How do I change my email address?",answer:"Changing your email address yourself is not currently available. Create a support request with the current and new addresses; never include a password or email code.",locale:"en",isFallback:!1},{id:"verify-email",topicId:"ACCOUNT_SECURITY",question:"Why do I need to verify my email?",answer:"Verification helps protect your account. Open the email sent after registration and follow the link. If the link has expired, you can resend the email from the email-verification screen or after an unverified-email message when signing in with a password.",locale:"en",isFallback:!1},{id:"unknown-login",topicId:"ACCOUNT_SECURITY",question:"I noticed an unfamiliar sign-in. What should I do?",answer:"Reset your password on the website â this does not require knowing the previous one. Then sign out on the device you do not trust and make sure only you can access the account email. If you do remember the previous password, you can change it in your profile instead. Do not send a password or email code in a support request.",locale:"en",isFallback:!1},{id:"delete-account",topicId:"ACCOUNT_SECURITY",question:"How do I delete my account and data?",answer:"Open your profile, select account deletion, and confirm the action. Collections, saved data, and sign-in history are deleted and cannot be restored. If the button is unavailable, contact support from the email linked to the account.",locale:"en",isFallback:!1}],BILLING:[{id:"plan-status",topicId:"BILLING",question:"Where can I see my plan status?",answer:"The app and website do not show a separate plan-status screen. The remaining request balance appears on the Analyze screen in the app and in the profile on the website. Information about available limit options is on the website.",locale:"en",isFallback:!1},{id:"iphone-manage",topicId:"BILLING",question:"How do I manage a subscription on iPhone?",answer:"ZHEGE has no iPhone subscription-management screen. If a purchase was made through Apple, manage it in the Subscriptions section of Apple ID settings, not in the app.",locale:"en",isFallback:!1},{id:"iphone-refund",topicId:"BILLING",question:"How do I request a refund for an iPhone purchase?",answer:"If a purchase was made through Apple, submit a refund request through reportaproblem.apple.com using the same Apple ID. Apple decides on the request.",locale:"en",isFallback:!1},{id:"purchase-not-active",topicId:"BILLING",question:"I made a purchase, but the features are not available. What do I do?",answer:"Make sure you are signed in to the same ZHEGE account for which the code was received. Check the remaining requests: they appear on the Analyze screen in the app and in the profile on the website. If the limit has not changed, create a support request and state the date you received the code.",locale:"en",isFallback:!1},{id:"payment-method",topicId:"BILLING",question:"Why is my payment not going through?",answer:"There is no direct payment in the app. Available limit options and contacts for arranging them are listed on the website. If an error occurs while paying through a third-party service, check it with that service and include a description in a support request.",locale:"en",isFallback:!1}],LIMITS_FEATURES:[{id:"daily-limit",topicId:"LIMITS_FEATURES",question:"Why have I reached a daily limit?",answer:"Daily limits help keep search and text analysis stable for everyone. The limit renews automatically, so you do not need to reinstall the app or create another account.",locale:"en",isFallback:!1},{id:"remaining-requests",topicId:"LIMITS_FEATURES",question:"Where can I see how many requests are left?",answer:"In the app, the remaining requests for today appear on the Analyze screen next to the action. On the website, they appear in the profile. If the counter has not refreshed after an action, refresh the relevant screen.",locale:"en",isFallback:!1},{id:"coupon",topicId:"LIMITS_FEATURES",question:"How do I apply a code for limits?",answer:"A code can be activated only on the website: open the profile, find the Enter coupon card, enter the code, and select Activate coupon. Coupon entry is unavailable in the app. After successful activation, the new daily limit is applied automatically.",locale:"en",isFallback:!1},{id:"collections",topicId:"LIMITS_FEATURES",question:"How do I save words and analyses?",answer:"Open a word card or an analysis result and select the option to save it to a collection. To work with saved data, open Collections; in the app it is a separate tab. There you can view, rename, or remove entries you no longer need. Sign in to synchronize saved data.",locale:"en",isFallback:!1},{id:"history",topicId:"LIMITS_FEATURES",question:"Where can I find my search and translation history?",answer:"Open your profile and go to History. There you can return to recent searches, analyses, and conversations. If an entry is missing, check that you are using the same account and have not removed the history.",locale:"en",isFallback:!1}],TRANSLATION_ERROR:[{id:"wrong-meaning",topicId:"TRANSLATION_ERROR",question:"A translation or word meaning is wrong. How can I report it?",answer:"Open the result, copy the word or phrase, and contact support with the correct version if you know it. State the source and target languages. A screenshot can help show the issue in context.",locale:"en",isFallback:!1},{id:"wrong-language",topicId:"TRANSLATION_ERROR",question:"The app detected the wrong language. What should I do?",answer:"Make sure the query has no extra characters and try searching a shorter phrase. If you can choose the translation direction, set it manually. If the issue repeats, send an example of the original text to supp
17ort.",locale:"en",isFallback:!1},{id:"no-result",topicId:"TRANSLATION_ERROR",question:"Search did not find a word or expression.",answer:"Check the spelling, pinyin tones, and spaces between words. For a long phrase, try text analysis first and then open the individual words. If the expression is still not found, send it in a support request.",locale:"en",isFallback:!1},{id:"context",topicId:"TRANSLATION_ERROR",question:"How can I translate a phrase with context?",answer:"Paste the full phrase into text analysis instead of searching for a single word. Open the results for each word to compare possible meanings. If context matters, include it in your support request with the original phrase.",locale:"en",isFallback:!1},{id:"report-example",topicId:"TRANSLATION_ERROR",question:"What should I include in a translation-error report?",answer:"Include the original text, the result you received, and the language from which it was translated. Add where the text appeared, such as a menu, chat, or document. Do not send personal data unless it is needed to understand the issue.",locale:"en",isFallback:!1}],MEDIA_INPUT:[{id:"photo-recognition",topicId:"MEDIA_INPUT",question:"How do I recognize text from a photo?",answer:"In the app, open the photo action, take a picture, or choose an image from the gallery. Then wait for recognition and check the text before inserting it into search or analysis. The text should be clearly visible in the image.",locale:"en",isFallback:!1},{id:"photo-no-text",topicId:"MEDIA_INPUT",question:"Why was text not recognized in my photo?",answer:"Take a new picture in good lighting and keep the text straight in the frame. If needed, crop the image so only the required text remains. If the issue repeats, attach the photo to a support request.",locale:"en",isFallback:!1},{id:"voice-input",topicId:"MEDIA_INPUT",question:"How do I use voice input?",answer:"Tap the voice-input button, allow microphone access, and say a word or phrase. After recording stops, check the recognized text and insert it into search. Voice input requires signing in and a network connection.",locale:"en",isFallback:!1},{id:"live-conversation",topicId:"MEDIA_INPUT",question:"How does live conversation translation work?",answer:"Open conversation mode and speak in turn in the selected languages. The app translates live speech in real time and saves the conversation in history. Allow microphone access before starting.",locale:"en",isFallback:!1},{id:"document-text",topicId:"MEDIA_INPUT",question:"Can I analyze text from a document or screenshot?",answer:"Save the needed page as an image or take a screenshot, then select it in the photo action. Check the recognized text and edit it manually if needed before analysis. Hide personal data in the image before sending it to support.",locale:"en",isFallback:!1}],TECHNICAL:[{id:"app-not-open",topicId:"TECHNICAL",question:"The app will not open or closes immediately.",answer:"Fully close the app and open it again. Check that your device has enough free space and the current app version is installed. If this does not help, contact support with your device model, system version, and when the error happens.",locale:"en",isFallback:!1},{id:"network-error",topicId:"TECHNICAL",question:"I see a connection error.",answer:"Check your device network connection and try the action again after a few minutes. Switch between Wi-Fi and mobile data if possible. If the error remains, attach a screenshot of the message to a support request.",locale:"en",isFallback:!1},{id:"update-app",topicId:"TECHNICAL",question:"How do I update the app?",answer:"Open the ZHEGE page in the App Store or Google Play and select Update when it is available. Open the app again after the update. If the store does not show an update, make sure you are signed in to the correct store account.",locale:"en",isFallback:!1},{id:"notifications",topicId:"TECHNICAL",question:"Why am I not receiving notifications?",answer:"Open device settings and allow notifications for ZHEGE. Then open the Settings screen in the app and check the notification switch. If notifications still do not arrive, contact support with your device model and system version.",locale:"en",isFallback:!1},{id:"send-diagnostics",topicId:"TECHNICAL",question:"What information is needed for a technical-error request?",answer:"Describe what you selected and what happened instead of the expected result. Add your device model, system version, app version, and an error screenshot if available. Do not include passwords, sign-in codes, or payment data in screenshots.",locale:"en",isFallback:!1}],ENTERPRISE:[{id:"business-plan",topicId:"ENTERPRISE",question:"Who is the business plan for?",answer:"Describe your case in a support request: your field, the expected number of users, and what exactly you need. There is no self-serve plan for organizations at the moment â such requests are discussed individually. We will reply with the possible options.",locale:"en",isFallback:!1},{id:"team-access",topicId:"ENTERPRISE",question:"Can several employees be connected?",answer:"Describe how many employees need the service and whether shared access to materials is needed. This helps identify a suitable way for the team to work. Do not share one password with several people.",locale:"en",isFallback:!1},{id:"invoice",topicId:"ENTERPRISE",question:"My organization needs documents.",answer:"Contact support about the business plan and state the organizationâs country of registration and the type of document needed. Provide details only if support requests them through a secure channel. We will explain what information can be provided for your case.",locale:"en",isFallback:!1},{id:"training",topicId:"ENTERPRISE",question:"Can ZHEGE be used for training?",answer:"The service can be used as a dictionary, for text analysis, and for HSK-level practice. Describe the training format and the group languages in a support request. Support can help determine which current features fit your task.",locale:"en",isFallback:!1},{id:"business-contact",topicId:"ENTERPRISE",question:"How do I contact you about a business question?",answer:"Choose the Business plan topic and briefly describe your request. Leave a work email address so you can receive a reply in the support thread. Do not send passwords or bank-card details.",locale:"en",isFallback:!1}],FEEDBACK_OTHER:[{id:"feature-request",topicId:"FEEDBACK_OTHER",question:"How can I suggest a new feature?",answer:"Choose this topic and describe the task the feature should solve. Give an example of how you use the app today. A specific sce
17nario makes it easier to pass the suggestion to the team.",locale:"en",isFallback:!1},{id:"leave-feedback",topicId:"FEEDBACK_OTHER",question:"Where can I leave feedback about the app?",answer:"Contact support and tell us what you liked or what prevents you from using the service. You can also leave a rating and review in the app store. Do not put personal data in a public review.",locale:"en",isFallback:!1},{id:"other-question",topicId:"FEEDBACK_OTHER",question:"My question does not fit any topic.",answer:"Choose this topic and describe the situation in your own words. State which app section the question concerns and add a screenshot if needed. Support will route the request to the right area.",locale:"en",isFallback:!1},{id:"contact-support",topicId:"FEEDBACK_OTHER",question:"How do I create a support request?",answer:"Open the support section, choose the closest topic, and check the available answers first. If they do not resolve the issue, fill in a message describing the problem. For a reply, provide an accessible email address or sign in to your account.",locale:"en",isFallback:!1},{id:"privacy-feedback",topicId:"FEEDBACK_OTHER",question:"Can I send a screenshot or screen recording?",answer:"Yes, if it helps demonstrate the issue. Before sending, hide personal messages, passwords, codes, and payment details in the image. Add a short note explaining what should be seen in the screenshot.",locale:"en",isFallback:!1}]},zh:{ACCOUNT_SECURITY:[{id:"reset-password",topicId:"ACCOUNT_SECURITY",question:"å¦ä½éç½®å¯ç ï¼",answer:"å¯ç æ¢å¤ä»
å¯å¨ç½ç«ä¸å®æï¼æå¼å¯ç æ¢å¤é¡µé¢ï¼è¾å
¥ä¸è´¦æ·ç»å®çé®ç®±ãéè¿é®ä»¶ä¸ç龿¥è®¾ç½®æ°å¯ç ãåºç¨ä¸æ²¡ææ¤é¡µé¢ï¼å¯ä½¿ç¨é®ä»¶ä¸ç䏿¬¡æ§éªè¯ç ç»å½åºç¨ã",locale:"zh",isFallback:!1},{id:"change-email",topicId:"ACCOUNT_SECURITY",question:"å¦ä½æ´æ¹é®ç®±å°åï¼",answer:"ç®åæ æ³èªè¡æ´æ¹é®ç®±å°åã请æäº¤å
å«å½ååæ°é®ç®±å°åçæ¯æè¯·æ±ï¼è¯·å¿å¡«åå¯ç æé®ä»¶éªè¯ç ã",locale:"zh",isFallback:!1},{id:"verify-email",topicId:"ACCOUNT_SECURITY",question:"为ä»ä¹éè¦éªè¯é®ç®±ï¼",answer:"éªè¯æå©äºä¿æ¤è´¦æ·ã注ååæå¼æ¶å°çé®ä»¶å¹¶ç¹å»éªè¯é¾æ¥ãè¥é¾æ¥å·²è¿æï¼å¯å¨é®ç®±éªè¯é¡µé¢æä½¿ç¨å¯ç ç»å½æ¶æ¶å°æªéªè¯æç¤ºåéæ°åéé®ä»¶ã",locale:"zh",isFallback:!1},{id:"unknown-login",topicId:"ACCOUNT_SECURITY",question:"æåç°äºéççç»å½è®°å½ï¼è¯¥æä¹åï¼",answer:"请å¨ç½ç«ä¸éç½®å¯ç ââæ éç¥éåå¯ç ãç¶åå¨ä¸å¯ä¿¡ç设å¤ä¸éåºç»å½ï¼å¹¶ç¡®è®¤åªææ¨è½è®¿é®è´¦æ·é®ç®±ã妿æ¨ä»è®°å¾åå¯ç ï¼ä¹å¯ä»¥å¨ä¸ªäººèµæä¸ç´æ¥æ´æ¹ã请å¿å¨æ¯æè¯·æ±ä¸åéå¯ç æé®ä»¶éªè¯ç ã",locale:"zh",isFallback:!1},{id:"delete-account",topicId:"ACCOUNT_SECURITY",question:"å¦ä½å é¤è´¦æ·åæ°æ®ï¼",answer:"æå¼ä¸ªäººèµæï¼éæ©å é¤è´¦æ·å¹¶ç¡®è®¤æä½ãæ¶èãå·²ä¿åçæ°æ®åç»å½åå²ä¼è¢«å é¤ä¸æ æ³æ¢å¤ï¼è¥æé®ä¸å¯ç¨ï¼è¯·ä½¿ç¨ç»å®é®ç®±èç³»æ¯æå¢éã",locale:"zh",isFallback:!1}],BILLING:[{id:"plan-status",topicId:"BILLING",question:"å¨åªéæ¥çæçæ¹æ¡ç¶æï¼",answer:"åºç¨åç½ç«é½æ²¡æåç¬çæ¹æ¡ç¶æé¡µé¢ãåºç¨ä¸å¯å¨âåæâ页颿¥çå©ä½è¯·æ±æ¬¡æ°ï¼ç½ç«ä¸å¯å¨ä¸ªäººèµææ¥çãå¯ç¨éé¢é项çä¿¡æ¯å¨ç½ç«ä¸ã",locale:"zh",isFallback:!1},{id:"iphone-manage",topicId:"BILLING",question:"å¦ä½å¨ iPhone ä¸ç®¡ç订é
ï¼",answer:"ZHEGE 没æ iPhone 订é
管ç页é¢ã妿è´ä¹°æ¯éè¿ Apple 宿çï¼è¯·å¨ Apple ID 设置çâ订é
âé¨å管çï¼è䏿¯å¨åºç¨ä¸ç®¡çã",locale:"zh",isFallback:!1},{id:"iphone-refund",topicId:"BILLING",question:"å¦ä½ä¸º iPhone è´ä¹°ç³è¯·é款ï¼",answer:"妿è´ä¹°æ¯éè¿ Apple 宿çï¼è¯·ä½¿ç¨åä¸ Apple ID å¨ reportaproblem.apple.com æäº¤é款请æ±ãApple ä¼å³å®è¯¥è¯·æ±ã",locale:"zh",isFallback:!1},{id:"purchase-not-active",topicId:"BILLING",question:"æå·²è´ä¹°ï¼ä½åè½æ²¡æå¼æ¾ï¼æä¹åï¼",answer:"请确认ç»å½çæ¯æ¶å°ä»£ç æ¶ä½¿ç¨çåä¸ ZHEGE è´¦æ·ãæ£æ¥å©ä½è¯·æ±æ¬¡æ°ï¼åºç¨ä¸æ¾ç¤ºå¨âåæâ页é¢ï¼ç½ç«ä¸æ¾ç¤ºå¨ä¸ªäººèµæãè¥é颿²¡æååï¼è¯·æäº¤æ¯æè¯·æ±å¹¶è¯´ææ¶å°ä»£ç çæ¥æã",locale:"zh",is
17Fallback:!1},{id:"payment-method",topicId:"BILLING",question:"为ä»ä¹ä»æ¬¾æ æ³å®æï¼",answer:"åºç¨ä¸æ²¡æç´æ¥ä»æ¬¾åè½ãå¯ç¨éé¢é项ååçèç³»æ¹å¼åå¨ç½ç«ä¸ã妿éè¿ç¬¬ä¸æ¹æå¡ä»æ¬¾æ¶åºç°é误ï¼è¯·å该æå¡ç¡®è®¤ï¼å¹¶å¨æ¯æè¯·æ±ä¸éä¸è¯´æã",locale:"zh",isFallback:!1}],LIMITS_FEATURES:[{id:"daily-limit",topicId:"LIMITS_FEATURES",question:"为ä»ä¹æå·²è¾¾å°æ¯æ¥éé¢ï¼",answer:"æ¯æ¥é颿å©äºè®©æç´¢åææ¬åæå¯¹ææç¨æ·ä¿æç¨³å®ãéé¢ä¼èªå¨æ´æ°ï¼æ ééæ°å®è£
åºç¨æå建å¦ä¸ä¸ªè´¦æ·ã",locale:"zh",isFallback:!1},{id:"remaining-requests",topicId:"LIMITS_FEATURES",question:"å¨åªéæ¥çå©ä½è¯·æ±æ¬¡æ°ï¼",answer:"å¨åºç¨ä¸ï¼ä»å¤©å©ä½çè¯·æ±æ¬¡æ°æ¾ç¤ºå¨âåæâ页é¢çæä½æãå¨ç½ç«ä¸ï¼å®æ¾ç¤ºå¨ä¸ªäººèµæãè¥æä½åè®¡æ°æ²¡ææ´æ°ï¼è¯·å·æ°ç¸åºé¡µé¢ã",locale:"zh",isFallback:!1},{id:"coupon",topicId:"LIMITS_FEATURES",question:"å¦ä½ä½¿ç¨éé¢ä»£ç ï¼",answer:"代ç åªè½å¨ç½ç«ä¸æ¿æ´»ï¼æå¼ä¸ªäººèµæï¼æ¾å°âè¾å
¥ä¼æ å¸âå¡çï¼è¾å
¥ä»£ç å¹¶ç¹å»âæ¿æ´»ä¼æ å¸âãåºç¨ä¸æ æ³è¾å
¥ä¼æ å¸ãæåæ¿æ´»åï¼æ°çæ¯æ¥éé¢ä¼èªå¨åºç¨ã",locale:"zh",isFallback:!1},{id:"collections",topicId:"LIMITS_FEATURES",question:"å¦ä½ä¿åè¯è¯ååæç»æï¼",answer:"æå¼è¯å¡æåæç»æï¼éæ©ä¿åå°æ¶è夹ãè¦ç®¡çå·²ä¿åçæ°æ®ï¼è¯·æå¼âæ¶è夹âï¼å¨åºç¨ä¸å®æ¯åç¬çæ ç¾é¡µãæ¨å¯å¨é£éæ¥çãéå½åæå é¤ä¸éè¦çæ¡ç®ï¼ç»å½è´¦æ·å¯åæ¥å·²ä¿åçæ°æ®ã",locale:"zh",isFallback:!1},{id:"history",topicId:"LIMITS_FEATURES",question:"å¨åªéæ¾å°æç´¢åç¿»è¯åå²ï¼",answer:"æå¼ä¸ªäººèµæå¹¶è¿å
¥åå²è®°å½ãæ¨å¯ä»¥å¨é£éæ¥çæè¿çæç´¢ãåæå对è¯ï¼è¥ææ¡è®°å½ç¼ºå¤±ï¼è¯·ç¡®è®¤ä½¿ç¨çæ¯åä¸è´¦æ·ä¸æ²¡æå é¤åå²ã",locale:"zh",isFallback:!1}],TRANSLATION_ERROR:[{id:"wrong-meaning",topicId:"TRANSLATION_ERROR",question:"ç¿»è¯æè¯ä¹ä¸æ£ç¡®ï¼å¦ä½æ¥åï¼",answer:"æå¼ç»æï¼å¤å¶è¯è¯æçè¯ï¼å¹¶å¨ç¥éæ£ç¡®çæ¬æ¶æäº¤ç»æ¯æå¢éãè¯·è¯´ææºè¯è¨åç®æ è¯è¨ï¼æªå¾ä¹æå©äºå±ç¤ºä¸ä¸æä¸çé®é¢ã",locale:"zh",isFallback:!1},{id:"wrong-language",topicId:"TRANSLATION_ERROR",question:"åºç¨è¯å«éäºè¯è¨ï¼è¯¥æä¹åï¼",answer:"确认æ¥è¯¢ä¸æ²¡æå¤ä½å符ï¼å¹¶å°è¯æç´¢æ´çççè¯ã妿å¯ä»¥éæ©ç¿»è¯æ¹åï¼è¯·æå¨è®¾ç½®ï¼è¥é®é¢åå¤åºç°ï¼è¯·åæ¯æå¢éåéåæç¤ºä¾ã",locale:"zh",isFallback:!1},{id:"no-result",topicId:"TRANSLATION_ERROR",question:"æç´¢æ²¡ææ¾å°è¯è¯æè¡¨è¾¾ã",answer:"è¯·æ£æ¥æ¼åãæ¼é³å£°è°åè¯è¯ä¹é´çç©ºæ ¼ã对äºé¿å¥ï¼å
å°è¯ææ¬åæåæå¼å个è¯è¯ï¼è¥ä»ç¶æ¾ä¸å°ï¼è¯·å¨æ¯æè¯·æ±ä¸åé该表达ã",locale:"zh",isFallback:!1},{id:"context",topicId:"TRANSLATION_ERROR",question:"å¦ä½ç»åä¸ä¸æç¿»è¯çè¯ï¼",answer:"请å°å®æ´çè¯ç²è´´å°ææ¬åæä¸ï¼è䏿¯åªæç´¢ä¸ä¸ªè¯ãæå¼æ¯ä¸ªè¯çç»æä»¥æ¯è¾å¯è½çå«ä¹ï¼è¥ä¸ä¸æå¾éè¦ï¼è¯·å¨æ¯æè¯·æ±ä¸éä¸åå¥ã",locale:"zh",isFallback:!1},{id:"report-example",topicId:"TRANSLATION_ERROR",question:"æ¥åç¿»è¯é误æ¶åºæä¾ä»ä¹ï¼",answer:"请æä¾åæãå¾å°çç»æåç¿»è¯æç¨çè¯è¨ãè¯´æææ¬åºç°çä½ç½®ï¼ä¾å¦èåãèå¤©æææ¡£ï¼é¤éçè§£é®é¢æéï¼å¦åä¸è¦åé个人信æ¯ã",locale:"zh",isFallback:!1}],MEDIA_INPUT:[{id:"photo-recognition",topicId:"MEDIA_INPUT",question:"å¦ä½ä»ç
§çä¸è¯å«æåï¼",answer:"å¨åºç¨ä¸æå¼ç
§çæä½ï¼ææç
§çæä»ç¸åéæ©å¾çãç¶åçå¾
è¯å«å®æï¼å¹¶å¨æå
¥æç´¢æåæåæ£æ¥æåï¼å¾çä¸çæååºæ¸
æ°å¯è§ã",locale:"zh",isFallback:!1},{id:"photo-no-text",topicId:"MEDIA_INPUT",question:"为ä»ä¹ç
§çä¸çæå没æè¢«è¯å«ï¼",answer:"请å¨å
线å
è¶³æ¶éæ°ææï¼å¹¶è®©æåå¨ç»é¢ä¸ä¿æå¹³ç´ãå¿
è¦æ¶è£åªå¾çï¼åªä¿çéè¦çæåï¼è¥é®é¢éå¤ï¼è¯·å°ç
§çé卿¯æè¯·æ±ä¸ã",locale:"zh",is
17Fallback:!1},{id:"voice-input",topicId:"MEDIA_INPUT",question:"å¦ä½ä½¿ç¨è¯é³è¾å
¥ï¼",answer:"ç¹å»è¯é³è¾å
¥æé®ï¼å
许麦å
é£è®¿é®æéï¼ç¶å说åºä¸ä¸ªè¯æçè¯ãå½é³åæ¢åæ£æ¥è¯å«åºçæåå¹¶æå
¥æç´¢ï¼è¯é³è¾å
¥éè¦ç»å½è´¦æ·åç½ç»è¿æ¥ã",locale:"zh",isFallback:!1},{id:"live-conversation",topicId:"MEDIA_INPUT",question:"宿¶å¯¹è¯ç¿»è¯å¦ä½ä½¿ç¨ï¼",answer:"æå¼å¯¹è¯æ¨¡å¼ï¼å¹¶æé¡ºåºä½¿ç¨æéè¯è¨è¯´è¯ãåºç¨ä¼å®æ¶ç¿»è¯ç°åºè¯é³å¹¶å°å¯¹è¯ä¿åå¨åå²è®°å½ä¸ï¼å¼å§å请å
许麦å
é£è®¿é®æéã",locale:"zh",isFallback:!1},{id:"document-text",topicId:"MEDIA_INPUT",question:"å¯ä»¥åæææ¡£ææªå¾ä¸çæååï¼",answer:"å°éè¦ç页é¢ä¿å为å¾çææªå±ï¼ç¶åå¨ç
§çæä½ä¸éæ©å®ãè¯å«åè¯·æ£æ¥æåï¼å¹¶å¨åæåæå¨ä¿®æ¹éè¦çé¨åï¼åéç»æ¯æå¢éå请é®çå¾çä¸ç个人信æ¯ã",locale:"zh",isFallback:!1}],TECHNICAL:[{id:"app-not-open",topicId:"TECHNICAL",question:"åºç¨æ æ³æå¼æç«å³å
³éã",answer:"请å®å
¨å
³éåºç¨åéæ°æå¼ãç¡®è®¤è®¾å¤æè¶³å¤çå¯ç¨ç©ºé´ï¼å¹¶å·²å®è£
å½åçæ¬ï¼è¥ä»æ æï¼è¯·åæ¯æå¢éæä¾è®¾å¤åå·ãç³»ç»çæ¬ååºéæ¶æºã",locale:"zh",isFallback:!1},{id:"network-error",topicId:"TECHNICAL",question:"æçå°è¿æ¥é误ã",answer:"æ£æ¥è®¾å¤ç½ç»è¿æ¥ï¼å¹¶å¨å åéå忬¡å°è¯æä½ã妿å¯ä»¥ï¼è¯·å¨ Wi-Fi ä¸ç§»å¨ç½ç»ä¹é´åæ¢ï¼è¥é误ä»åå¨ï¼è¯·å¨æ¯æè¯·æ±ä¸é䏿¶æ¯æªå¾ã",locale:"zh",isFallback:!1},{id:"update-app",topicId:"TECHNICAL",question:"å¦ä½æ´æ°åºç¨ï¼",answer:"æå¼ App Store æ Google Play ä¸ç ZHEGE 页é¢ï¼å¹¶å¨æâæ´æ°âæé®æ¶ç¹å»å®ãæ´æ°åéæ°æå¼åºç¨ï¼å¦æååºæ²¡ææ¾ç¤ºæ´æ°ï¼è¯·ç¡®è®¤ç»å½äºæ£ç¡®çååºè´¦æ·ã",locale:"zh",isFallback:!1},{id:"notifications",topicId:"TECHNICAL",question:"为ä»ä¹æ¶ä¸å°éç¥ï¼",answer:"æå¼è®¾å¤è®¾ç½®å¹¶å
许 ZHEGE åééç¥ï¼ç¶åå¨åºç¨ä¸æå¼â设置â页é¢å¹¶æ£æ¥éç¥å¼å
³ãè¥ä»æ¶ä¸å°éç¥ï¼è¯·èç³»æ¯æå¢éå¹¶æä¾è®¾å¤åå·åç³»ç»çæ¬ã",locale:"zh",isFallback:!1},{id:"send-diagnostics",topicId:"TECHNICAL",question:"ææ¯é误请æ±éè¦åªäºä¿¡æ¯ï¼",answer:"è¯·è¯´ææ¨ç¹å»äºä»ä¹ï¼ä»¥ååçäºä»ä¹è䏿¯é¢æç»æãæä¾è®¾å¤åå·ãç³»ç»çæ¬ãåºç¨çæ¬åé误æªå¾ï¼
17妿ï¼ï¼æªå¾ä¸ä¸è¦å
å«å¯ç ãç»å½éªè¯ç æä»æ¬¾ä¿¡æ¯ã",locale:"zh",isFallback:!1}],ENTERPRISE:[{id:"business-plan",topicId:"ENTERPRISE",question:"ä¼ä¸æ¹æ¡éåè°ï¼",answer:"è¯·å¨æ¯æè¯·æ±ä¸è¯´ææ¨çéæ±ï¼æå¨è¡ä¸ãé¢è®¡ç¨æ·æ°ä»¥åå
·ä½ç¨éãç®åå°æ é¢åç»ç»çèªå©å¼éæ¹æ¡ï¼æ¤ç±»éæ±å°åç¬åè®®ãæä»¬ä¼åå¤å¯è¡çæ¹æ¡ã",locale:"zh",isFallback:!1},{id:"team-access",topicId:"ENTERPRISE",question:"å¯ä»¥ä¸ºå¤ååå·¥å¼éåï¼",answer:"请说æéè¦ä½¿ç¨æå¡çåå·¥æ°éï¼ä»¥åæ¯å¦éè¦å
±äº«ææè®¿é®ãè¿æ ·æå©äºç¡®å®å¢éåéçä½¿ç¨æ¹å¼ï¼è¯·ä¸è¦è®©å¤äººå
±ç¨åä¸ä¸ªå¯ç ã",locale:"zh",isFallback:!1},{id:"invoice",topicId:"ENTERPRISE",question:"æçç»ç»éè¦æä»¶ã",answer:"请就ä¼ä¸æ¹æ¡èç³»æ¯æå¢éï¼å¹¶è¯´æç»ç»æ³¨åå½å®¶åæéæä»¶ç±»åãä»
卿¯æå¢ééè¿å®å
¨æ¸ éè¦æ±æ¶æä¾è¯¦ç»ä¿¡æ¯ï¼æä»¬ä¼è¯´ææ¨çæ
åµå¯ä»¥æä¾åªäºèµæã",locale:"zh",isFallback:!1},{id:"training",topicId:"ENTERPRISE",question:"ZHEGE å¯ä»¥ç¨äºå¹è®åï¼",answer:"该æå¡å¯ä½ä¸ºè¯å
¸ãææ¬åæå·¥å
·ä»¥å HSK 级å«ç»ä¹ 使ç¨ãè¯·å¨æ¯æè¯·æ±ä¸è¯´æå¹è®å½¢å¼åå°ç»è¯è¨ï¼æ¯æå¢éå¯å¸®å©å¤æç°æåè½æ¯å¦é忍çä»»å¡ã",locale:"zh",isFallback:!1},{id:"business-contact",topicId:"ENTERPRISE",question:"å¦ä½å¨è¯¢ä¼ä¸é®é¢ï¼",answer:"è¯·éæ©âä¼ä¸æ¹æ¡â主é¢å¹¶ç®è¦è¯´æè¯·æ±ãçä¸å·¥ä½é®ç®±ï¼ä»¥ä¾¿å¨æ¯æä¼è¯ä¸æ¶å°åå¤ï¼è¯·ä¸è¦åéå¯ç æé¶è¡å¡ä¿¡æ¯ã",locale:"zh",isFallback:!1}],FEEDBACK_OTHER:[{id:"feature-request",topicId:"FEEDBACK_OTHER",question:"å¦ä½å»ºè®®æ°åè½ï¼",answer:"è¯·éæ©æ¤ä¸»é¢å¹¶è¯´æè¯¥åè½åºè§£å³çä»»å¡ã举ä¾è¯´ææ¨ç®åå¦ä½ä½¿ç¨åºç¨ï¼å
·ä½ç使ç¨åºæ¯æ´å®¹æè½¬äº¤ç»å¢éã",locale:"zh",isFallback:!1},{id:"leave-feedback",topicId:"FEEDBACK_OTHER",question:"å¨åªéçä¸åºç¨åé¦ï¼",answer:"请èç³»æ¯æå¢éï¼åè¯æä»¬æ¨å欢ä»ä¹æåªäºé®é¢å½±å使ç¨ãæ¨ä¹å¯ä»¥å¨åºç¨ååºçä¸è¯ååè¯ä»·ï¼è¯·ä¸è¦å¨å
¬å¼è¯ä»·ä¸åå
¥ä¸ªäººä¿¡æ¯ã",locale:"zh",isFallback:!1},{id:"other-question",topicId:"FEEDBACK_OTHER",question:"æçé®é¢ä¸å±äºä»»ä½ä¸»é¢ã",answer:"è¯·éæ©æ¤ä¸»é¢å¹¶ç¨èªå·±çè¯æè¿°æ
åµã说æé®é¢æ¶ååºç¨çåªä¸ªé¨åï¼å¿
è¦æ¶æ·»å æªå¾ï¼æ¯æå¢éä¼å°è¯·æ±è½¬å°åéæ¹åã",locale:"zh",isFallback:!1},{id:"contact-support",topicId:"FEEDBACK_OTHER",question:"å¦ä½åå»ºæ¯æè¯·æ±ï¼",answer:"æå¼æ¯æé¨åï¼éæ©ææ¥è¿ç主é¢ï¼å¹¶å
æ¥çç°æçæ¡ãå¦ææ²¡æè§£å³é®é¢ï¼è¯·å¡«åæè¿°é®é¢çæ¶æ¯ï¼ä¸ºè·å¾åå¤ï¼è¯·æä¾å¯ç¨é®ç®±æç»å½è´¦æ·ã",locale:"zh",isFallback:!1},{id:"privacy-feedback",topicId:"FEEDBACK_OTHER",question:"å¯ä»¥åéæªå¾æå½å±åï¼",answer:"å¯ä»¥ï¼å¦æå®æå©äºå±ç¤ºé®é¢ãåéå请å¨å¾çä¸é®çç§äººæ¶æ¯ãå¯ç ãéªè¯ç å仿¬¾ä¿¡æ¯ï¼éä¸ä¸å¥è¯´ææªå¾ä¸éè¦çå°ä»ä¹ã",locale:"zh",isFallback:!1}]}};function A(e){return"ru"===e||"en"===e||"zh"===e}function C(e,t,a){return e.map(e=>({...e,locale:t,isFallback:a}))}var R=e.i(3309),S=e.i(40404),q=e.i(74108),_=e.i(62058);let O=(0,u.default)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),F=(0,u.default)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);function j(e){let i,s,r,o,l,c,u,d,h,p,m,f,g,b,w,I,v,x,E,T,k,N,A=(0,a.c)(48),{url:C,name:R,onClose:S,closeLabel:j,zoomInLabel:U,zoomOutLabel:z,downloadLabel:H}=e,[B,K]=(0,n.useState)(!1),[G,Q]=(0,n.useState)(!1),Y=(0,n.useRef)(null),W=(0,n.useRef)(null);A[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=requestAnimationFrame(()=>K(!0));return()=>cancelAnimationFrame(e)},s=[],A[0]=i,A[1]=s):(i=A[0],s=A[1]),(0,n.useEffect)(i,s),A[2]!==S?(r=()=>{K(!1),window.setTimeout(S,150)},A[2]=S,A[3]=r):r=A[3];let $=r;if(A[4]===Symbol.for("react.memo_cache_sentinel")?(o=()=>(W.current=document.activeElement,Y.current?.focus(),()=>W.current?.focus?.()),l=[],A[4]=o,A[5]=l):(o=A[4],l=A[5]),(0,n.useEffect)(o,l),A[6]!==$?(c=()=>{let e=e=>{if("Escape"===e.key){e.preventDefault(),e.stopPropagation(),$();return}"Tab"===e.key&&(e.preventDefault(),Y.current?.focus())};return document.addEventListener("keydown",e,!0),()=>document.removeEventListener("keydown",e,!0)},u=[$],A[6]=$,A[7]=c,A[8]=u):(c=A[7],u=A[8]),(0,n.useEffect)(c,u),A[9]===Symbol.for("react.memo_cache_sentinel")?(d=[],A[9]=d):d=A[9],(0,n.useEffect)(P,d),"u"<typeof document)return null;let Z=R||j,V=`fixed inset-0 z-[100] flex flex-col bg-black/90 transition-opacity duration-150 ${B?"opacity-100":"opacity-0"}`;A[10]!==R?(h=(0,t.jsx)("span",{className:"truncate text-sm text-white/70",children:R}),A[10]=R,A[11]=h):h=A[11],A[12]===Symbol.for("react.memo_cache_sentinel")?(p=()=>Q(D),A[12]=p):p=A[12];let J=G?z:U;A[13]!==G?(m=G?(0,t.jsx)(F,{className:"size-5"}):(0,t.jsx)(O,{className:"size-5"}),A[13]=G,A[14]=m):m=A[14],A[15]!==J||A[16]!==m?(f=(0,t.jsx)("button",{type:"button",onClick:p,"aria-label":J,className:"grid size-10 place-items-center rounded-full text-white/80 transition-colors hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60",children:m}),A[15]=J,A[16]=m,A[17]=f):f=A[17];let X=R||"attachment";A[18]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(_.Download,{className:"size-5"}),A[18]=g):g=A[18],A[19]!==H||A[20]!==X||A[21]!==C?(b=(0,t.jsx)("a",{href:C,download:X,"aria-label":H,className:"grid size-10 place-items-center rounded-full text-white/80 transition-colors hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60",children:g}),A[19]=H,A[20]=X,A[21]=C,A[22]=b):b=A[22],A[23]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)(y.X,{className:"size-5"}),A[23]=w):w=A[23],A[24]!==j||A[25]!==$?(I=(0,t.jsx)("button",{ref:Y,type:"button",onClick:$,"aria-label":j,className:"grid size-10 place-items-center rounded-full text-white/80 transition-colors hover:bg-white/10 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60",children:w}),A[24]=j,A[25]=$,A[26]=I):I=A[26],A[27]!==f||A[28]!==b||A[29]!==I?(v=(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[f,b,I]}),A[27]=f,A[28]=b,A[29]=I,A[30]=v):v=A[30],A[31]!==h||A[32]!==v?(x=(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 p-3 text-white",onClick:M,children:[h,v]}),A[31]=h,A[32]=v,A[33]=x):x=A[33];let ee=`flex min-h-0 flex-1 items-center justify-center p-4 pt-0 ${G?"overflow-auto":""}`,et=R||"";A[34]===Symbol.for("react.memo_cache_sentinel")?(E=e=>{e.stopPropagation(),Q(L)},A[34]=E):E=A[34];let ea=`transition-transform duration-150 ${B?"scale-100":"scale-95"} ${G?"max-w-none cursor-zoom-out":"max-h-full max-w-full cursor-zoom-in object-contain"}`;return A[35]!==et||A[36]!==ea||A[37]!==C?(T=(0,t.jsx)("img",{src:C,alt:et,onClick:E,className:ea}),A[35]=et,A[36]=ea,A[37]=C,A[38]=T):T=A[38],A[39]!==ee||A[40]!==T?(k=(0,t.jsx)("div",{className:ee,children:T}),A[39]=ee,A[40]=T,A[41]=k):k=A[41],A[42]!==$||A[43]!==V||A[44]!==x||A[45]!==k||A[46]!==
17Z?(N=(0,q.createPortal)((0,t.jsxs)("div",{"data-support-image-viewer":"",role:"dialog","aria-modal":"true","aria-label":Z,onClick:$,className:V,children:[x,k]}),document.body),A[42]=$,A[43]=V,A[44]=x,A[45]=k,A[46]=Z,A[47]=N):N=A[47],N}function L(e){return!e}function D(e){return!e}function M(e){return e.stopPropagation()}function P(){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}var U=e.i(63967),z=e.i(54985),H=e.i(71134);let B=new Set(["TRANSLATION","PINYIN","EXAMPLE","OTHER"]);function K(e){let n,i,r,o,l,c,u,d,h,p,m,f=(0,a.c)(28),{data:y}=e,g=(0,s.useTranslations)("support");if(f[0]!==y)n=y&&"object"==typeof y&&("character"===y.entryType||"phrase"===y.entryType)&&"string"==typeof y.entryId&&y.entryId.trim()&&"string"==typeof y.headword&&y.headword.trim()&&"string"==typeof y.issueKind&&B.has(y.issueKind)?{entryType:y.entryType,entryId:y.entryId.trim(),headword:y.headword.trim(),pinyin:"string"==typeof y.pinyin&&y.pinyin.trim()?y.pinyin.trim():null,gloss:"string"==typeof y.gloss&&y.gloss.trim()?y.gloss.trim():null,issueKind:y.issueKind}:null,f[0]=y,f[1]=n;else n=f[1];let b=n;if(!b)return null;let w="character"===b.entryType?`/character/${b.entryId}`:`/phrase/${b.entryId}`,I=`entryCard.issues.${b.issueKind}`;f[2]!==g||f[3]!==I?(i=g(I),f[2]=g,f[3]=I,f[4]=i):i=f[4];let v=i;return f[5]!==g?(r=g("entryCard.openEntry"),f[5]=g,f[6]=r):r=f[6],f[7]!==g?(o=g("entryCard.openEntry"),f[7]=g,f[8]=o):o=f[8],f[9]!==b.headword?(l=(0,t.jsx)("span",{className:"shrink-0 truncate text-2xl leading-none",title:b.headword,children:b.headword}),f[9]=b.headword,f[10]=l):l=f[10],f[11]!==b.pinyin?(c=b.pinyin&&(0,t.jsx)("span",{className:"max-w-full truncate text-xs text-muted-foreground",children:b.pinyin}),f[11]=b.pinyin,f[12]=c):c=f[12],f[13]!==b.gloss?(u=b.gloss&&(0,t.jsx)("span",{className:"max-w-full truncate text-sm",children:b.gloss}),f[13]=b.gloss,f[14]=u):u=f[14],f[15]!==v?(d=(0,t.jsx)(z.Badge,{variant:"secondary",children:v}),f[15]=v,f[16]=d):d=f[16],f[17]!==c||f[18]!==u||f[19]!==d?(h=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col items-start gap-0.5",children:[c,u,d]}),f[17]=c,f[18]=u,f[19]=d,f[20]=h):h=f[20],f[21]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(U.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),f[21]=p):p=f[21],f[22]!==w||f[23]!==h||f[24]!==r||f[25]!==o||f[26]!==l?(m=(0,t.jsxs)(H.Link,{href:w,title:r,"aria-label":o,className:"mb-1 flex w-full min-w-0 items-center gap-3 rounded-xl border bg-background/80 px-3 py-2 text-foreground no-underline transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[l,h,p]}),f[22]=w,f[23]=h,f[24]=r,f[25]=o,f[26]=l,f[27]=m):m=f[27],m}let G=new Set(["TRANSLATION_ERROR","BILLING","ACCOUNT_SECURITY"]),Q=new Set(["image/jpeg","image/png","image/webp","image/heic"]),Y=new Set(["MODERATOR","AI","SYSTEM"]),W={OPEN:"open",WAITING_STAFF:"waitingStaff",WAITING_USER:"waitingUser",RESOLVED:"resolved",CLOSED:"closed"};function $(e){return e.isSupport||"SUPPORT"===e.senderRole||Y.has(String(e.authorType))}function Z(e){return"STATUS_CHANGE"===e.cardType}function V(e,t){let a=e??[];if(!t?.length)return a;let n=new Set(a.map(e=>e.id)),i=t.filter(e=>!n.has(e.id)&&(n.add(e.id),!0));return i.length?[...a,...i]:a}function J(e){if(e.hasUnread||(e.unreadCount??0)>0)return!0;let t=e.messages?.[0];return!!(t&&$(t)&&!t.readByUserAt)}function X(e){return e.originalName||e.name||e.filename||e.id}function ee(e){let i,s,r,l,c,u,d,h,p=(0,a.c)(22),{attachment:m,onOpen:f}=e,[y,g]=(0,n.useState)(m.url),b=(0,n.useRef)(void 0);if(p[0]!==m.id||p[1]!==m.url?(i=()=>{if(m.url)return;let e=!0;return R.supportApi.attachmentUrl(m.id).then(t=>{e?(b.current=t,g(t)):URL.revokeObjectURL(t)}).catch(et),()=>{e=!1}},s=[m.id,m.url],p[0]=m.id,p[1]=m.url,p[2]=i,p[3]=s):(i=p[2],s=p[3]),(0,n.useEffect)(i,s),p[4]===Symbol.for("react.memo_cache_sentinel")?(r=()=>()=>{b.current&&URL.revokeObjectURL(b.current)},l=[],p[4]=r,p[5]=l):(r=p[4],l=p[5]),(0,n.useEffect)(r,l),!y){let e,a;return p[6]!==m?(e=X(m),p[6]=m,p[7]=e):e=p[7],p[8]!==e?(a=(0,t.jsx)("div",{className:"h-16 w-16 animate-pulse rounded-md bg-muted","aria-label":e}),p[8]=e,p[9]=a):a=p[9],a}return p[10]!==m||p[11]!==f||p[12]!==y?(c=()=>f({url:y,name:X(m)}),p[10]=m,p[11]=f,p[12]=y,p[13]=c):c=p[13],p[14]!==m?(u=X(m),p[14]=m,p[15]=u):u=p[15],p[16]!==u||p[17]!==y?(d=(0,t.jsx)(o.default,{src:y,alt:u,width:64,height:64,unoptimized:!0,className:"h-full w-full object-cover"}),p[16]=u,p[17]=y,p[18]=d):d=p[18],p[19]!==c||p[20]!==d?(h=(0,t.jsx)("button",{type:"button",onClick:c,className:"h-16 w-16 overflow-hidden rounded-md border border-border transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:d}),p[19]=c,p[20]=d,p[21]=h):h=p[21],h}function et(){}function ea(){let e=(0,s.useTranslations)("support"),a=(0,i.useLocale)(),{isAuthenticated:o}
17=(0,g.useAuth)(),[u,E]=(0,n.useState)(!1),[T,q]=(0,n.useState)("chats"),[_,O]=(0,n.useState)(null),[F,L]=(0,n.useState)(null),[D,M]=(0,n.useState)([]),[P,U]=(0,n.useState)(null),[z,H]=(0,n.useState)(""),[B,Y]=(0,n.useState)(""),[X,et]=(0,n.useState)(()=>R.supportApi.hasGuestSession()),[ea,ei]=(0,n.useState)(!1),[es,er]=(0,n.useState)(""),[eo,el]=(0,n.useState)(""),[ec,eu]=(0,n.useState)([]),[ed,eh]=(0,n.useState)(!1),[ep,em]=(0,n.useState)(""),[ef,ey]=(0,n.useState)(null),[eg,eb]=(0,n.useState)(!1),[ew,eI]=(0,n.useState)(!1),[ev,ex]=(0,n.useState)(!1),eE=(0,n.useRef)(null),eT=(0,n.useRef)(null),ek=(0,n.useMemo)(()=>(function(e="ru"){return A(e)?k(e):k("ru",!0)})(a),[a]),eN=(0,n.useMemo)(()=>_?function(e,t="ru"){if(!A(t))return C(x[e],"ru",!0);let a=N[t][e];return a?.length?C(a,t,!1):C(x[e],"ru",!0)}(_,a):[],[a,_]),eA=D.filter(J).length,eC=o||X,eR=P?.id;(0,n.useEffect)(()=>{if(!u||!eC||"u"<typeof document)return;let e=!0,t=0,a=async()=>{let a=++t;try{let n=await R.supportApi.listTickets();e&&a===t&&M(n)}catch{}};a();let n=window.setInterval(()=>{document.hidden||a()},3e4),i=()=>{document.hidden||a()};return document.addEventListener("visibilitychange",i),()=>{e=!1,window.clearInterval(n),document.removeEventListener("visibilitychange",i)}},[u,eC]),(0,n.useEffect)(()=>{if(!u||!P||"u"<typeof document)return;let e=!0,t=0,a=async()=>{let a=++t,n=P.messages?.at(-1);try{let i=await R.supportApi.getMessages(P.id,n?.createdAt);e&&a===t&&i.length&&U(e=>e?.id===P.id?{...e,messages:V(e.messages,i)}:e)}catch{}},n=window.setInterval(()=>{document.hidden||a()},eg?2e3:"conversation"===T?5e3:3e4),i=()=>{document.hidden||a()};return document.addEventListener("visibilitychange",i),()=>{e=!1,window.clearInterval(n),document.removeEventListener("visibilitychange",i)}},[u,P,eg,T]),(0,n.useEffect)(()=>{if(!u||!eR||"u"<typeof document)return;let e=!0,t=0,a=async()=>{let a=++t;try{let n=await R.supportApi.getTicket(eR);e&&a===t&&n&&U(e=>e?.id===eR?{...e,...n,messages:V(e.messages,n.messages)}:e)}catch{}};a();let n=window.setInterval(()=>{document.hidden||a()},15e3),i=()=>{document.hidden||a()};return document.addEventListener("visibilitychange",i),()=>{e=!1,window.clearInterval(n),document.removeEventListener("visibilitychange",i)}},[u,eR]),(0,n.useEffect)(()=>{if(!eg)return;let e=P?.messages?.at(-1);e&&$(e)&&(eb(!1),eI(!1))},[eg,P?.messages]),(0,n.useEffect)(()=>{if(!eg)return;let e=window.setTimeout(()=>{eb(!1),eI(!0)},25e3);return()=>window.clearTimeout(e)},[eg]),(0,n.useEffect)(()=>{"conversation"===T&&eT.current?.scrollIntoView({block:"end"})},[T,P?.id,P?.messages?.length,eg,ew]),(0,n.useEffect)(()=>(0,S.subscribeSupportOpenTicket)(({ticketId:e,reused:t})=>{E(!0),em(""),eL(e,{reused:t})}),[]),(0,n.useEffect)(()=>(0,S.subscribeSupportOpenForm)(({topicId:e,subject:t})=>{E(!0),em(""),eS(),O(e),L(null),q("form"),er(t??"")}),[]);let eS=()=>{el(""),er(""),eu([]),em("")},eq=async()=>Promise.all(ec.map(e=>R.supportApi.uploadAttachment(e))),e_=t=>{let a=Array.from(t??[]);if(a.length){if(ec.length+a.length>5)return void em(e("fileCountError",{count:5}));if(a.some(e=>!Q.has(e.type)))return void em(e("imageOnlyError"));if(a.some(e=>e.size>0xa00000))return void em(e("fileSizeError",{size:10}));em(""),eu(e=>[...e,...a])}},eO=async()=>{if(em(""),!z.includes("@"))return void em(e("emailError"));eh(!0);try{await R.supportApi.requestGuestCode(z),ei(!0)}catch{em(e("requestCodeError"))}finally{eh(!1)}},eF=async()=>{if(em(""),!B.trim())return void em(e("codeError"));eh(!0);try{await R.supportApi.verifyGuestCode(z,B.trim()),et(!0)}catch{em(e("verifyCodeError"))}finally{eh(!1)}},ej=async()=>{if(!_||!eo.trim())return void em(e("messageError"));eh(!0),em("");try{let t=await R.supportApi.createTicket({topic:_,subject:es.trim()||e("defaultSubject"),body:eo.trim(),attachmentIds:await eq(),context:{locale:a,platform:"web"}});if(eS(),t){U(t),q("conversation");let e=G.has(_);eI(e),eb(!e)}M(await R.supportApi.listTickets())}catch{em(e("sendError"))}finally{eh(!1)}},eL=async(t,a)=>{eh(!0),em("");try{let e=await R.supportApi.getTicket(t);if(e){U(e),q("conversation"),ex(!!a?.reused);let n=new Date().toISOString();M(e=>e.map(e=>e.id===t?{...e,hasUnread:!1,unreadCount:0,messages:e.messages?.map(e=>({...e,readByUserAt:e.readByUserAt??n}))}:e))}}catch{em(e("loadError"))}finally{eh(!1)}},eD=async()=>
17{if(!P||!eo.trim())return void em(e("messageError"));eh(!0),em("");try{let e=await R.supportApi.sendMessage(P.id,eo.trim(),await eq());U(t=>t?{...t,messages:[...t.messages??[],e]}:t),eS();let t=G.has(String(P.topic))||(P.messages??[]).some(e=>"MODERATOR"===String(e.authorType));eI(t),eb(!t),M(await R.supportApi.listTickets())}catch{em(e("sendError"))}finally{eh(!1)}},eM=t=>({OPEN:e("status.open"),WAITING_USER:e("status.waitingUser"),WAITING_STAFF:e("status.waitingStaff"),RESOLVED:e("status.resolved"),CLOSED:e("status.closed")})[t]??e("status.open"),eP=t=>{let a=function(e){if(!Z(e)||!e.cardData||"object"!=typeof e.cardData)return;let t=e.cardData.to;return"string"==typeof t&&t in W?W[t]:void 0}(t);return a?e(`statusEvent.${a}`):t.body},eU="chats"!==T,ez="conversation"===T&&P?P.subject||e("title"):"form"===T?e("newTicket"):"topics"===T?_?ek.find(e=>e.id===_)?.name??e("newRequest"):e("newRequest"):e("title"),eH="conversation"===T&&P?eM(P.status):"chats"===T?e("chatsIntro"):"";return(0,t.jsxs)(t.Fragment,{children:[!u&&(0,t.jsxs)("button",{type:"button",onClick:()=>{E(!0),em("")},"aria-label":e("openPanel"),"aria-expanded":u,className:"fixed bottom-4 right-4 z-40 flex size-12 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg transition-transform hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 sm:bottom-6 sm:right-6",children:[(0,t.jsx)(m,{className:"size-5"}),eA>0&&(0,t.jsx)("span",{"aria-label":e("unreadCount",{count:eA}),className:"absolute -right-1 -top-1 flex min-h-5 min-w-5 items-center justify-center rounded-full bg-destructive px-1 text-xs font-semibold text-destructive-foreground",children:eA})]}),u&&(0,t.jsx)(r.Root,{open:u,onOpenChange:E,children:(0,t.jsxs)(r.Portal,{children:[(0,t.jsx)(r.Overlay,{className:"fixed inset-0 z-40 bg-black/20 sm:bg-transparent"}),(0,t.jsxs)(r.Content,{onInteractOutside:e=>{e.target?.closest("[data-support-image-viewer]")&&e.preventDefault()},onEscapeKeyDown:e=>{ef&&e.preventDefault()},className:"fixed inset-0 z-50 flex flex-col bg-background focus:outline-none sm:inset-auto sm:bottom-6 sm:right-6 sm:h-[min(720px,calc(100vh-3rem))] sm:w-[420px] sm:overflow-hidden sm:rounded-3xl sm:border sm:border-border sm:shadow-2xl",children:[(0,t.jsxs)("header",{className:"flex shrink-0 items-center gap-2 border-b border-border px-3 py-2.5",children:[eU?(0,t.jsx)("button",{type:"button",onClick:()=>{if(em(""),"conversation"===T){U(null),eb(!1),eI(!1),ex(!1),q("chats");return}"form"===T?q("topics"):"topics"===T&&_?O(null):q("chats")}
17,"aria-label":e("back"),className:"grid size-9 shrink-0 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(c.ChevronLeft,{className:"size-5"})}):(0,t.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(d,{className:"size-5"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)(r.Title,{className:"truncate text-[15px] font-semibold leading-tight",children:ez}),eH&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:eH})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{E(!1),ex(!1)},"aria-label":e("closePanel"),className:"grid size-9 shrink-0 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(y.X,{className:"size-5"})})]}),(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[ep&&"conversation"!==T&&(0,t.jsx)("p",{role:"alert",className:"mb-3 rounded-2xl bg-destructive/10 px-4 py-3 text-sm text-destructive",children:ep}),"chats"===T&&(0,t.jsxs)("div",{className:"space-y-2",children:[0===D.length&&(0,t.jsx)("p",{className:"px-1 py-6 text-center text-sm text-muted-foreground",children:e("noTickets")}),D.map(n=>{let i=n.messages?.[0],s=i&&(Z(i)?eP(i):i.body);return(0,t.jsxs)("button",{type:"button",onClick:()=>eL(n.id),className:"flex w-full items-center gap-2.5 rounded-2xl border border-border/70 bg-card px-3 py-2.5 text-left transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,t.jsx)("span",{className:(0,v.cn)("grid size-8 shrink-0 place-items-center rounded-full",J(n)?"bg-primary/15 text-primary":"bg-muted text-muted-foreground"),children:(0,t.jsx)(m,{className:"size-4"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-sm font-medium",children:n.subject||n.topic}),J(n)&&(0,t.jsx)("span",{className:"size-2 shrink-0 rounded-full bg-primary","aria-label":e("unread")})]}),s&&(0,t.jsx)("span",{className:"mt-0.5 truncate text-xs text-muted-foreground",children:s}),(0,t.jsxs)("span",{className:"mt-1 flex items-center gap-2 text-[10px] text-muted-foreground",children:[(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-muted px-1.5 py-0.5",children:eM(n.status)}),(0,t.jsx)("span",{children:new Intl.DateTimeFormat(a,{dateStyle:"short"}).format(new Date(n.updatedAt))})]})]})]},n.id)}),(0,t.jsx)(b.Button,{type:"button",className:"mt-2 h-11 w-full rounded-full",onClick:()=>{eS(),O(null),q("topics")},children:e("newRequest")})]}),"topics"===T&&(0,t.jsx)("div",{className:"space-y-2",children:_?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"px-1 pb-1 text-sm text-muted-foreground",children:e("topicIntro")}),eN.map(e=>(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-border/70 bg-card",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>L(F===e.id?null:e.id),className:"flex w-full items-center justify-between gap-3 px-4 py-3 text-left text-sm font-medium",children:[(0,t.jsx)("span",{children:e.question}),(0,t.jsx)(l.ChevronDown,{className:(0,v.cn)("size-4 shrink-0 text-muted-foreground transition-transform",F===e.id&&"rotate-180")})]}),F===e.id&&(0,t.jsx)("p",{className:"border-t border-border/70 px-4 py-3 text-sm leading-6 text-muted-foreground",children:e.answer})]},e.id)),(0,t.jsx)(b.Button,{type:"button",variant:"outline",className:"mt-3 h-11 w-full rounded-full",onClick:()=>{eS(),q("form")},children:e("notHelped")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"px-1 pb-1 text-sm text-muted-foreground",children:e("pickTopic")}),ek.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>{O(e.id),L(null),q("topics"),er(""),em("")},className:"flex w-full items-center justify-between gap-3 rounded-2xl border border-border/70 bg-card px-4 py-3 text-left text-sm font-medium transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)(l.ChevronDown,{className:"size-4 shrink-0 -rotate-90 text-muted-foreground"})]},e.id))]})}),"form"===T&&(0,t.jsxs)("div",{className:"space-y-3",children:[!eC&&(0,t.jsxs)("div",{className:"space-y-3 rounded-2xl bg-muted/60 p-4",children:[(0,t.jsx)("p",{className:"text-sm",children:e("guestIntro")}),(0,t.jsx)(w.Input,{value:z,onChange:e=>H(e.target.value),type:"email",placeholder:e("emailPlaceholder"),disabled:ea,className:"rounded-full"}),ea?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.Input,{value:B,onChange:e=>Y(e.target.value),inputMode:"numeric",placeholder:e("codePlaceholder"),className:"rounded-full"}),(0,t.jsx)(b.Button,{type:"button",className:"h-11 w-full rounded-full",onClick:eF,disabled:ed,children:e("verifyCode")})]}):(0,t.jsx)(b.Button,{type:"button",className:"h-11 w-full rounded-full",onClick:eO,disabled:ed,children:e("requestCode")})]}),(0,t.jsx)(w.Input,{value:es,onChange:e=>er(e.target.value),placeholder:e("subjectPlaceholder"),className:"rounded-full"}),(0,t.jsx)(I.Textarea,{value:eo,onChange:e=>el(e.target.value),placeholder:e("messagePlaceholder"),className:"min-h-28 rounded-2xl"}),(0,t.jsx)(en,{files:ec,inputRef:eE,onSelect:e_,onRemove:e=>eu(t=>t.filter((t,a)=>a!==e)),label:e("attachImage")}),(0,t.jsx)(b.Button,{type:"button",className:"h-11 w-full rounded-full",onClick:ej,disabled:!eC||ed,children:ed?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Loader2,{className:"animate-spin"}),e("sendingTicket")]}):e("sendTicket")})]}),"conversation"===T&&P&&(0,t.jsxs)("div",{className:"space-y-2.5",children:[P.messages?.map(e=>{if(Z(e))return(0,t.jsx)("div",{className:"my-2 flex w-full justify-center",children:(0,t.jsx)("p",{title:new Intl.DateTimeFormat(a,{dateStyle:"short",timeStyle:"short"}).format(new Date(e.createdAt)),className:"rounded-full bg-muted px-3 py-1 text-xs text-muted-foreground",children:eP(e)})},e.id);let n=$(e);return(0,t.jsx)("div",{className:(0,v.cn)("flex",n?"justify-start":"justify-end"),children:(0,t.jsxs)("div",{className:(0,v.cn)("max-w-[85%] px-3.5 py-2.5 text-sm",n?"rounded-[18px] rounded-bl-md bg-muted":"rounded-[18px] rounded-br-md bg-primary text-primary-foreground"),children:["DICTIONARY_ENTRY"===e.cardType&&(0,t.jsx)(K,{data:e.cardData}),(0,t.jsx)("p",{className:"whitespace-pre-wrap break-words",children:e.body}),e.attachments&&e.attachments.length>0&&(0,t.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:e.attachments.map(e=>(0,t.jsx)(ee,{attachment:e,onOpen:ey},e.id))}),(0,t.jsx)("p",{className:(0,v.cn)("mt-1 text-right text-[11px]",n?"text-muted-foreground":"text-primary-foreground
17/70"),children:new Intl.DateTimeFormat(a,{timeStyle:"short"}).format(new Date(e.createdAt))})]})},e.id)}),ew&&!eg&&(0,t.jsx)("div",{className:"flex justify-start","aria-live":"polite",children:(0,t.jsx)("p",{className:"rounded-[18px] rounded-bl-md bg-muted px-3.5 py-2.5 text-xs text-muted-foreground",children:e("handedToHuman")})}),eg&&(0,t.jsx)("div",{className:"flex justify-start","aria-live":"polite",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-[18px] rounded-bl-md bg-muted px-3.5 py-3",children:[(0,t.jsx)("span",{className:"sr-only",children:e("assistantTyping")}),(0,t.jsx)("span",{"aria-hidden":"true",className:"size-2 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.3s]"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"size-2 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.15s]"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"size-2 animate-bounce rounded-full bg-muted-foreground/60"})]})}),(0,t.jsx)("div",{ref:eT})]})]}),"conversation"===T&&P&&(0,t.jsxs)("div",{className:"shrink-0 border-t border-border bg-background px-3 py-2.5",children:[ev&&(0,t.jsx)("p",{className:"mb-2 rounded-2xl bg-muted px-3 py-2 text-xs text-muted-foreground",children:e("reportInaccuracy.reusedNotice")}),ep&&(0,t.jsx)("p",{role:"alert",className:"mb-2 rounded-2xl bg-destructive/10 px-4 py-2.5 text-sm text-destructive",children:ep}),ec.length>0&&(0,t.jsx)("div",{className:"mb-2 flex flex-wrap gap-2",children:ec.map((a,n)=>(0,t.jsxs)("button",{type:"button",onClick:()=>eu(e=>e.filter((e,t)=>t!==n)),className:"max-w-40 truncate rounded-full bg-muted px-3 py-1 text-xs","aria-label":`${e("attachImage")}: ${a.name}`,children:[a.name," Ã"]},`${a.name}-${n}`))}),(0,t.jsxs)("div",{className:"flex items-end gap-2",children:[(0,t.jsx)("input",{ref:eE,type:"file",accept:"image/*",multiple:!0,className:"sr-only",onChange:e=>{e_(e.target.files),e.currentTarget.value=""}}),(0,t.jsx)("button",{type:"button",onClick:()=>eE.current?.click(),"aria-label":e("attachImage"),className:"grid size-10 shrink-0 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(h,{className:"size-5"})}),(0,t.jsx)("textarea",{value:eo,onChange:e=>el(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),eD())},rows:1,placeholder:e("replyPlaceholder"),className:"max-h-32 min-h-10 flex-1 resize-none rounded-[20px] border border-border bg-muted/50 px-4 py-2.5 text-sm leading-5 outline-none transition-colors placeholder:text-muted-foreground focus:border-primary focus:bg-background"}),(0,t.jsx)("button",{type:"button",onClick:eD,disabled:ed||!eo.trim(),"aria-label":e("sendReply"),className:"grid size-10 shrink-0 place-items-center rounded-full bg-primary text-primary-foreground transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40",children:(0,t.jsx)(f,{className:"size-4"})})]})]})]})]})}),ef&&(0,t.jsx)(j,{url:ef.url,name:ef.name,onClose:()=>ey(null),closeLabel:e("closeImage"),zoomInLabel:e("zoomIn"),zoomOutLabel:e("zoomOut"),downloadLabel:e("downloadImage")})]})}function en(e){let n,i,s,r,o,l,c,u,d=(0,a.c)(25),{files:p,inputRef:m,onSelect:f,onRemove:y,label:g,compact:w}=e,I=!(void 0!==w&&w)&&"rounded-lg border border-dashed border-border p-2";if(d[0]!==I?(n=(0,v.cn)("flex flex-wrap items-center gap-2",I),d[0]=I,d[1]=n):n=d[1],d[2]!==f?(i=e=>{f(e.target.files),e.currentTarget.value=""},d[2]=f,d[3]=i):i=d[3],d[4]!==m||d[5]!==i?(s=(0,t.jsx)("input",{ref:m,type:"file",accept:"image/*",multiple:!0,className:"sr-only",onChange:i}),d[4]=m,d[5]=i,d[6]=s):s=d[6],d[7]!==m?(r=()=>m.current?.click(),d[7]=m,d[8]=r):r=d[8],d[9]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(h,{}),d[9]=o):o=d[9],d[10]!==g||d[11]!==r?(l=(0,t.jsxs)(b.Button,{type:"button",variant:"ghost",size:"sm",onClick:r,children:[o,g]}),d[10]=g,d[11]=r,d[12]=l):l=d[12],d[13]!==p||d[14]!==g||d[15]!==y){let e;d[17]!==g||d[18]!==y?(e=(e,a)=>(0,t.jsx)("button",{type:"button",onClick:()=>y(a),className:"max-w-32 truncate rounded bg-muted px-2 py-1 text-xs","aria-label":`${g}: ${e.name}`,children:e.name},`${e.name}-${a}`),d[17]=g,d[18]=y,d[19]=e):e=d[19],c=p.map(e),d[13]=p,d[14]=g,d[15]=y,d[16]=c}else c=d[16];return d[20]!==n||d[21]!==s||d[22]!==l||d[23]!==c?(u=(0,t.jsxs)("div",{className:n,children:[s,l,c]}),d[20]=n,d[21]=s,d[22]=l,d[23]=c,d[24]=u):u=d[24],u}
17e.s(["SupportWidget",()=>ea],21785)},47494,e=>{"use strict";var t=e.i(46482),a=e.i(30332);function n({locale:e,...n}){if(!e)throw Error(void 0);return(0,a.jsx)(t.IntlProvider,{locale:e,...n})}e.s(["default",()=>n])}]);
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.