1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a3df72ce-e717-460e-8d9c-a1ad0a36dd8a",e._sentryDebugIdIdentifier="sentry-dbid-a3df72ce-e717-460e-8d9c-a1ad0a36dd8a")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455,9284,14428,14951,18e3,19632,29086,30395,41991,42881,45380,47479,52512,55060,56428,56760,58414,61078,66306,68857,69363,85100,89183,90898,94552,97369],{20806:(e,s,a)=>{"use strict";a.d(s,{default:()=>E});var t=a(71424),n=a(94569),r=a(96272),i=a(61132),d=a(58060),l=a(38053),o=a(77464),c=a(99337),m=a(97518),u=a(58332),h=a(28645),p=a(14324),g=a(44466),f=a(40306),x=a(1565),v=a(18887),b=a(43307),w=a(71780),y=a(39104),N=a(76902);let j=y.bL,_=y.l9,k=d.forwardRef((e,s)=>{let{className:a,align:n="center",sideOffset:r=4,...i}=e;return(0,t.jsx)(y.ZL,{children:(0,t.jsx)(y.UC,{ref:s,align:n,sideOffset:r,className:(0,N.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})})});k.displayName=y.UC.displayName;var A=a(66656),P=a.n(A);function U(e){var s;let{userId:a,avatarUrl:r,displayName:i,hasUnlimitedAccessFromAuth:y=!1}=e,N=y||"true"===f.A.get("payok"),[A,U]=(0,d.useState)(!1),I=(0,l.useRouter)(),{clearAuthState:E}=(0,n.A)(),{t:C,i18n:S}=(0,g.Bd)(),O=S.language,{subscriptionData:L}=(0,b.S)(),M=(!(null==L?void 0:L.user_id)||L.user_id===a)&&(null==L?void 0:L.entitlement_scope)==="team"&&L.has_active_subscription&&(null==(s=L.team)?void 0:s.role)==="owner",T="en"==O?"/account":"/".concat(O,"/account"),D="en"==O?"/team/members":"/".concat(O,"/team/members"),z="en"==O?"/pricing":"/".concat(O,"/pricing"),R=async()=>{let e=[];window.dispatchEvent(new CustomEvent(w.U,{detail:{waitUntil:s=>{e.push(s)}}})),e.length&&await Promise.race([Promise.allSettled(e),new Promise(e=>window.setTimeout(e,1500))])},B=async()=>{U(!0),(0,p.sx)(p.oA.éåºç»å½);let e=(0,v.bi)("login-path");try{await R();let{error:s}=await o.N.auth.signOut();E(),(0,p.p3)(),(0,x.Zb)(["cookie-consent","lastLoginMethod","acc_has_visited_21"]),s&&console.warn("Sign out error:",s),e?I.push(e):I.push("/")}catch(s){console.error("Error signing out:",s),e?I.push(e):I.push("/")}finally{U(!1)}};return(0,t.jsx)(j,{children:(0,t.jsxs)("div",{className:"relative max-w-full",children:[(0,t.jsxs)(_,{className:"flex items-center gap-2 px-4 py-2",children:[r?(0,t.jsx)("img",{src:r,alt:i||"",className:"h-6 w-6 rounded-full"}):(0,t.jsx)(c.A,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"hidden md:block text-sm font-medium",children:i})]}),(0,t.jsx)(k,{className:"w-[calc(100vw-2rem)] sm:w-56 max-w-[224px]",align:"end",sideOffset:8,side:"bottom",children:(0,t.jsxs)("div",{className:"space-y-1",children:[!N&&(0,t.jsx)(P(),{href:z,className:"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm font-medium text-primary hover:bg-gray-100",children:C("userMenu.getUnlimitedAccess")}),(0,t.jsxs)(P(),{href:T,className:"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-gray-700 hover:bg-gray-100",children:[(0,t.jsx)(c.A,{className:"h-4 w-4"}),C("userMenu.accountSettings")]}),M&&(0,t.jsxs)(P(),{href:D,className:"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-gray-700 hover:bg-gray-100",children:[(0,t.jsx)(m.A,{className:"h-4 w-4"}),C("userMenu.members")]}),(0,t.jsxs)("button",{onClick:B,disabled:A,className:"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-gray-700 hover:bg-gray-100 disabled:opacity-50 disabled:cursor-not-allowed",children:[A?(0,t.jsx)(u.A,{className:"h-4 w-4 animate-spin"}):(0,t.jsx)(h.A,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:C("userMenu.signOut")})]})]})})]})})}var I=a(9658);function E(){let{userId:e,avatarUrl:s,displayName:a,hasUnlimitedAccess:o,loading:c}=(0,n.A)(),m=(0,I.n)(),u=(0,l.usePathname)(),[h,p]=(0,d.useState)(!1),{t:f,i18n:x}=(0,g.Bd)(),v=x.language,b=("en"===v?"/login":"/".concat(v,"/login"))+"?redirect="+encodeURIComponent(u||"/"),w=e||m.userId,y=s||m.avatarUrl,N=a||m.displayName;return((0,d.useEffect)(()=>{p(!0)},[]),!h||c)?(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-1 sm:gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2",children:[(0,t.jsx)("div",{className:"h-5 w-5 bg-gray-200 rounded animate-pulse"}),(0,t.jsx)("div",{className:"h-4 w-16 bg-gray-200 rounded animate-pulse"})]}),(0,t.jsx)("div",{className:"h-8 w-24 bg-gray-200 rounded-lg animate-pulse"})]}):w?(0,t.jsx)("div",{className:"flex items-center gap-1 sm:gap-2 overflow-hidden",children:(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(U,{userId:w,avatarUrl:y,displayName:N,hasUnlimitedAccessFromAuth:o})})}):(0,t.jsx)("div",{className:"flex items-center gap-1 sm:gap-2 overflow-hidden",children:(0,t.jsxs)(i.TrackingLink,{href:b,eventName:"页头ç»å½ç¹å»",className:"hidden md:flex items-center gap-2 px-4 py-2 text-sm font-medium text-gray-700 hover:text-gray-900",children:[(0,t.jsx)(r.A,{className:"h-5 w-5"}),(0,t.jsx)("span",{children:f("Sign In")})]})})}},26453:(e,s,a)=>{Promise.resolve().then(a.bind(a,61132)),Promise.resolve().then(a.bind(a,74642)),Promise.resolve().then(a.bind(a,7481)),Promise.resolve().then(a.bind(a,85663)),Promise.resolve().then(a.bind(a,47334)),Promise.resolve().then(a.bind(a,20806)),Promise.resolve().then(a.t.bind(a,5046,23))},47334:(e,s,a)=>{"use strict";a.d(s,{default:()=>r});var t=a(71424),n=a(61132);function r(e){let{pathPrefix:s,pricingText:a}=e;return(0,t.jsx)("li",{children:(0,t.jsx)(n.TrackingLink,{href:"".concat(s,"/pricing"),className:"text-primary-action-hover hover:text-primary-action-hover",eventName:"页èä»·æ ¼ç¹å»",hoverUnderline:!0,prefetch:!1,children:a})})}},71780:(e,s,a)=>{"use strict";a.d(s,{U:()=>t});let t="whispertranscribe:before-signout"},74642:(e,s,a)=>{"use strict";a.d(s,{default:()=>r});var t=a(71424);let n=(0,a(79306).default)(()=>Promise.all([a.e(71311),a.e(82394)]).then(a.bind(a,82394)),{loadableGenerated:{webpack:()=>[82394]},ssr:!1});function r(e){let{currentPathname:s,lang:a}=e;return(0,t.jsx)(n,{currentPathname:s,lang:a})}},76902:(e,s,a)=>{"use strict";a.d(s,{cn:()=>r});var t=a(13865),n=a(26540);function r(){for(var e=arguments.length,s=Array(e),a=0;a<e;a++)s[a]=arguments[a];return(0,n.QP)((0,t.$)(s))}}},e=>{e.O(0,[89080,62621,75056,54174,47334,20590,66656,86949,30118,45500,67084,82665,61753,14324,94569,6298,30215,23110,54472,77358],()=>e(e.s=26453)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.