1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./credit-dialog-BdET5Gu5.72RI2lrV.js","./zoom-fusion.DgoIiUAe.js","./rolldown-runtime.DEcEaBT7.js","./zoom-ui.CS5w_Hhr.js","./vue-core.B1XZHJcz.js","../assets/zoom-ui.DVS4344l.css","../assets/zoom-fusion.BhGB03MM.css","./app-avatar-menu.IUcxj0ao.js","../assets/app-avatar-menu.z1IgNGTR.css","./vendor~index~credit-usage-history-table-DW_wb6EK~sub-login-item-WUU4e1N0~profile-menu-CA2nU~fcd9wpb8.DUDt8Lap.js","./vendor~waffle-menu-C0upcuS4~profile-menu-CA2nUf2J~menu-list-wA0nPG_A.CUiNEA2B.js","./vendor~common-header-DqjcVyZw~waffle-menu-C0upcuS4~profile-menu-CA2nUf2J~coach-mark-DJc44Pix.CVlhPWcV.js","./vendor~credit-dialog-BdET5Gu5~credit-usage-history-table-DW_wb6EK~waffle-menu-C0upcuS4~sv-C~ewc52tp1.CvFDRoKk.js","./badge-CHXRAX9t.ClVlxjcI.js","./banner-BsDMYC9c.DB6Fy2nQ.js","./credit-usage-state-Cv1X_inX.B14PKuGO.js","./_plugin-vue_export-helper-B3ysoDQm.Bqh9jizt.js","./profile-item-CWdMv2nA.CDoPTvKQ.js","./normal-item-KRigORTn.CBMwF7Oc.js","./upgrade-to-pro-COae60g5.BGA2i1Ui.js","./login-item-By47UZ9A.BK0eOj1-.js","./logout-item-B9cHhW48.rXhZrdyv.js","./sub-login-item-WUU4e1N0.DvtuQGzC.js","./download-item-DT4K--MO.BWGZ01aF.js","./credit-item-CP0zvtgV.BCBoUpgW.js"])))=>i.map(i=>d[i]); 2import { a as __vitePreload } from "./zoom-fusion.DgoIiUAe.js"; 3import { $t as Bi$1, Ar as xa$1, Cr as ui$1, Dr as we, Dt as N$1, En as Sr$1, Er as vt$1, Fn as _o, Gt as ze, Hn as bi$1, I as e, In as _r$1, Ir as yo, It as Le, Jn as fr$1, Kt as Fr$1, L as C, Ln as _t$1, Lr as yr$1, Lt as Ze$1, Mn as Z$1, Nn as Zn$1, Nr as xs, O as we$1, Or as wi$1, Ot as O, P as l, Pn as _a$1, Qn as gn$1, Qt as As, R as r$1, Rn as a, Rr as yt$1, Rt as dt$1, S as $$1, U as r, Un as bn$1, Vn as ba$1, Xt as An$1, Yt as $n$1, _ as N, _r as pt$1, at as p, b as c, br as so$1, dn as J, dr as mt$1, dt as p$1, er as hi$1, fn as Jo, fr as n, g as M, gn as Mn$1, hr as pr$1, kn as Xo, kr as ws, ln as Hs, lr as mi$1, mr as ot$1, mt as $$2, nr as i, or as kn$1, pn as Js, qt as Zn$2, r as $$3, rn as De, rr as ir$1, sn as Fn$1, sr as ks, st as b, tn as Ci$1, tr as ht$1, ut as l$1, vn as Nn$1, wn as Si$1, wr as vi$1, x as s, xn as P, xr as ss, y as o, yn as Oi$1, zn as aa$1, zt as it$1 } from "./app-avatar-menu.IUcxj0ao.js"; 4import { c as Ie, f as n$1, u as Re } from "./vendor~index~credit-usage-history-table-DW_wb6EK~sub-login-item-WUU4e1N0~profile-menu-CA2nU~fcd9wpb8.DUDt8Lap.js"; 5import { n as u, s as mt$2, t as l$2 } from "./vendor~common-header-DqjcVyZw~waffle-menu-C0upcuS4~profile-menu-CA2nUf2J~coach-mark-DJc44Pix.CVlhPWcV.js"; 6import { a as Ns, c as as, f as ss$1, i as Ms, l as bs, n as Y, o as Os, r as Fs, t as J$1, u as is } from "./vendor~waffle-menu-C0upcuS4~profile-menu-CA2nUf2J~menu-list-wA0nPG_A.CUiNEA2B.js"; 7//#region ../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@_26a00640aae29b27f41592a2f139b69e/node_modules/@zoom/common-header/dist/standalone/profile-menu-CA2nUf2J.js 8yo(); 9var Je = Zn$1({ name: "AIAgent" }); 10var Ye = { 11 viewBox: "0 0 8 8", 12 fill: "none", 13 xmlns: "http://www.w3.org/2000/svg" 14}; 15function Xe(e, t, n, r, i, a) { 16 return ui$1(), mi$1("svg", Ye, t[0] || (t[0] = [vi$1("path", { 17 d: "M4 0C4.14754 0 4.2802 0.089012 4.33619 0.22551L4.33738 0.227878C4.3383 0.230091 4.34011 0.233779 4.34211 0.238532C4.34617 0.248172 4.35216 0.263146 4.36046 0.282332C4.37719 0.321001 4.40236 0.378203 4.43504 0.449245C4.50054 0.591629 4.59654 0.789862 4.71619 1.01213C4.95906 1.46331 5.28731 1.98692 5.65019 2.34981C6.01308 2.71269 6.5367 3.04094 6.98787 3.28381C7.21014 3.40346 7.40837 3.49946 7.55076 3.56496C7.6218 3.59764 7.679 3.62281 7.71767 3.63954C7.73686 3.64784 7.75183 3.65383 7.76147 3.65789C7.76622 3.65989 7.76991 3.6617 7.77212 3.66262L7.77449 3.66321C7.91099 3.71921 8 3.85246 8 4C8 4.14754 7.91099 4.2802 7.77449 4.33619L7.77212 4.33738C7.76991 4.3383 7.76622 4.34011 7.76147 4.34211C7.75183 4.34617 7.73686 4.35216 7.71767 4.36046C7.679 4.37719 7.6218 4.40236 7.55076 4.43504C7.40837 4.50054 7.21014 4.59654 6.98787 4.71619C6.5367 4.95906 6.01308 5.28731 5.65019 5.65019C5.28731 6.01308 4.95906 6.53669 4.71619 6.98787C4.59654 7.21014 4.50054 7.40837 4.43504 7.55075C4.40236 7.6218 4.37719 7.679 4.36046 7.71767C4.35216 7.73685 4.34617 7.75183 4.34211 7.76147C4.34011 7.76622 4.3383 7.76991 4.33738 7.77212L4.33679 7.77449C4.28079 7.91099 4.14754 8 4 8C3.85246 8 3.7198 7.91099 3.66381 7.77449L3.66262 7.77212C3.6617 7.76991 3.65989 7.76622 3.65789 7.76147C3.65383 7.75183 3.64784 7.73685 3.63954 7.71767C3.62281 7.679 3.59764 7.6218 3.56496 7.55075C3.49946 7.40837 3.40346 7.21014 3.28381 6.98787C3.04094 6.53669 2.71269 6.01308 2.34981 5.65019C1.98692 5.28731 1.46331 4.95906 1.01213 4.71619C0.789862 4.59654 0.591629 4.50054 0.449245 4.43504C0.378203 4.40236 0.321002 4.37719 0.282332 4.36046C0.263146 4.35216 0.248172 4.34617 0.238532 4.34211C0.233779 4.34011 0.230091 4.3383 0.227878 4.33738L0.225511 4.33679C0.089012 4.28079 0 4.14754 0 4C0 3.85246 0.089012 3.7198 0.225511 3.66381L0.227878 3.66262C0.230091 3.6617 0.233779 3.65989 0.238532 3.65789C0.248172 3.65383 0.263146 3.64784 0.282332 3.63954C0.321002 3.62281 0.378203 3.59764 0.449245 3.56496C0.591629 3.49946 0.789862 3.40346 1.01213 3.28381C1.46331 3.04094 1.98692 2.71269 2.34981 2.34981C2.71269 1.98692 3.04094 1.46331 3.28381 1.01213C3.40346 0.789862 3.49946 0.591629 3.56496 0.449245C3.59764 0.378203 3.62281 0.321001 3.63954 0.282332C3.64784 0.263146 3.65383 0.248172 3.65789 0.238532C3.65989 0.233779 3.6617 0.230091 3.66262 0.227878L3.66321 0.22551C3.71921 0.089012 3.85246 0 4 0Z", 18 fill: "#3B90F7" 19 }, null, -1)])); 20} 21var Ze = /* @__PURE__ */ e(Je, [["render", Xe]]); 22yo(); 23var Qe = Zn$1({ name: "AccountInformation" }); 24var $e = { 25 viewBox: "0 0 16 16", 26 fill: "none", 27 xmlns: "http://www.w3.org/2000/svg" 28}; 29function et(e, t, n, r, i, a) { 30 return ui$1(), mi$1("svg", $e, t[0] || (t[0] = [Ci$1("<path d=\"M12.248 12.4004C12.5794 12.4004 12.8477 12.6686 12.8477 13C12.8477 13.3314 12.5794 13.5996 12.248 13.5996H10.748C10.4167 13.5996 10.
301484 13.3314 10.1484 13C10.1484 12.6686 10.4167 12.4004 10.748 12.4004H12.248Z\"></path><path d=\"M12.248 10.4004C12.5794 10.4004 12.8477 10.6686 12.8477 11C12.8477 11.3314 12.5794 11.5996 12.248 11.5996H10.748C10.4167 11.5996 10.1484 11.3314 10.1484 11C10.1484 10.6686 10.4167 10.4004 10.748 10.4004H12.248Z\"></path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 8.5C14.1046 8.5 15 9.39543 15 10.5V13.5C15 14.5357 14.2128 15.387 13.2041 15.4893L13 15.5H10L9.7959 15.4893C8.85435 15.3938 8.1062 14.6457 8.01074 13.7041L8 13.5V10.5C8 9.39543 8.89543 8.5 10 8.5H13ZM10 9.7002C9.55817 9.7002 9.2002 10.0582 9.2002 10.5V13.5C9.2002 13.9418 9.55817 14.2998 10 14.2998H13C13.4418 14.2998 13.7998 13.9418 13.7998 13.5V10.5C13.7998 10.0582 13.4418 9.7002 13 9.7002H10Z\"></path><path d=\"M6.7998 9C6.91037 9 7 9.08963 7 9.2002V10C7 10.1106 6.91037 10.2002 6.7998 10.2002C5.94029 10.2002 5.3677 10.2014 4.92773 10.2373C4.50183 10.2721 4.30613 10.3336 4.18262 10.3965C3.84423 10.569 3.56903 10.8443 3.39648 11.1826C3.33357 11.3061 3.27212 11.5019 3.2373 11.9277C3.20139 12.3677 3.2002 12.9404 3.2002 13.7998C3.2002 14.0119 3.20077 14.1952 3.20215 14.3555C3.20501 14.7018 2.92646 14.9971 2.58008 14.9971C2.26569 14.9969 2.0069 14.7519 2.00293 14.4375C2.00053 14.2471 2 14.0359 2 13.7998C2 12.2249 2.00009 11.3879 2.26953 10.7607L2.32715 10.6377C2.57888 10.1439 2.96174 9.73053 3.43164 9.44238L3.6377 9.32715C4.27939 9.00024 5.11988 9 6.7998 9Z\"></path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.1543 1.00391C9.73945 1.08421 11 2.39489 11 4C11 5.65685 9.65685 7 8 7L7.8457 6.99609C6.26055 6.91579 5 5.60511 5 4C5 2.34315 6.34315 1 8 1L8.1543 1.00391ZM8 2.2002C7.00589 2.2002 6.2002 3.00589 6.2002 4C6.2002 4.99411 7.00589 5.7998 8 5.7998C8.99411 5.7998 9.7998 4.99411 9.7998 4C9.7998 3.00589 8.99411 2.2002 8 2.2002Z\"></path>", 5)])); 31} 32var tt = /* @__PURE__ */ e(Qe, [["render", et]]); 33yo(); 34var nt = Zn$1({ name: "Away" }); 35var rt = { 36 viewBox: "0 0 8 8", 37 fill: "none", 38 xmlns: "http://www.w3.org/2000/svg" 39}; 40function it(e, t, n, r, i, a) { 41 return ui$1(), mi$1("svg", rt, t[0] || (t[0] = [vi$1("path", { 42 d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z", 43 fill: "#8E9194" 44 }, null, -1), vi$1("path", { 45 d: "M3.40039 2.25C3.40039 1.91863 3.66863 1.65039 4 1.65039C4.33137 1.65039 4.59961 1.91863 4.59961 2.25V4.00195L5.42383 4.82617C5.65814 5.06049 5.65814 5.43951 5.42383 5.67383C5.18951 5.90814 4.81049 5.90814 4.57617 5.67383L3.57617 4.67383C3.46365 4.56131 3.40039 4.40913 3.40039 4.25V2.25Z", 46 fill: "white" 47 }, null, -1)])); 48} 49var at = /* @__PURE__ */ e(nt, [["render", it]]); 50yo(); 51var ot = Zn$1({ name: "Blocked" }); 52var st = { 53 viewBox: "0 0 8 8", 54 fill: "none", 55 xmlns: "http://www.w3.org/2000/svg" 56}; 57function ct(e, t, n, r, i, a) { 58 return ui$1(), mi$1("svg", st, t[0] || (t[0] = [vi$1("path", { 59 "fill-rule": "evenodd", 60 "clip-rule": "evenodd", 61 d: "M4 8C6.20914 8 8 6.20914 8 4C8 1.79086 6.20914 0 4 0C1.79086 0 0 1.79086 0 4C0 6.20914 1.79086 8 4 8ZM1.64355 5.50879C1.36405 5.07314 1.2002 4.55608 1.2002 4C1.2002 2.4536 2.4536 1.2002 4 1.2002C4.55598 1.2002 5.07221 1.36513 5.50781 1.64453L1.64355 5.50879ZM4 6.7998C3.44392 6.7998 2.92686 6.63595 2.49121 6.35645L6.35547 2.49219C6.63487 2.92779 6.7998 3.44402 6.7998 4C6.7998 5.5464 5.5464 6.7998 4 6.7998Z", 62 fill: "#FF2638" 63 }, null, -1)])); 64} 65var lt = /* @__PURE__ */ e(ot, [["render", ct]]); 66yo(); 67var ut = Zn$1({ name: "Billing" }); 68var dt = { 69 viewBox: "0 0 16 16", 70 fill: "none", 71 xmlns: "http://www.w3.org/2000/svg" 72}; 73function ft(e, t, n, r, i, a) { 74 return ui$1(), mi$1("svg", dt, t[0] || (t[0] = [Ci$1("<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.9883 9.47656C12.1257 9.47663 12.2363 9.58854 12.2363 9.72559V9.84473C12.3799 9.86595 12.5149 9.90244 12.6396 9.95703L12.749 10.0098L12.75 10.0107C12.8037 10.0401 12.8548 10.0727 12.9023 10.1084L13.0352 10.2246L13.0361 10.2256L13.1113 10.3105L13.1123 10.3115C13.1486 10.3568 13.1817 10.4046 13.2109 10.4551L13.2881 10.6143L13.2891 10.6162L13.3369 10.7666L13.3379 10.7686C13.3512 10.8213 13.3616 10.8754 13.3682 10.9307C13.3836 11.0611 13.294 11.1731 13.1748 11.1992L13.1221 11.2051H12.751C12.6227 11.2048 12.5216 11.1076 12.5068 10.9863C12.4923 10.8652 12.4533 10.7785 12.3965 10.7188C12.3485 10.6685 12.2941 10.6331 12.2363 10.6055V11.3174
74C12.3526 11.348 12.4726 11.3858 12.5957 11.4287C12.7413 11.4796 12.875 11.5476 12.9951 11.6318C13.1196 11.7191 13.2222 11.8293 13.3018 11.9619C13.386 12.1028 13.4248 12.2717 13.4248 12.4619L13.418 12.5938C13.4045 12.723 13.3711 12.8431 13.3154 12.9521C13.2431 13.093 13.1447 13.214 13.0225 13.3115C12.9017 13.4079 12.7633 13.4816 12.6084 13.5332C12.4882 13.5733 12.3639 13.5977 12.2363 13.6123V13.7773L12.2314 13.8271C12.2117 13.9243 12.1353 14.0008 12.0381 14.0205L11.9883 14.0254C11.8512 14.0254 11.7393 13.9147 11.7393 13.7773V13.6064C11.5929 13.5871 11.4551 13.5518 11.3271 13.4951C11.1703 13.4254 11.034 13.3315 10.9199 13.2148C10.8346 13.1273 10.7628 13.029 10.7061 12.9199L10.6543 12.8076C10.6096 12.697 10.5825 12.5795 10.5713 12.4561C10.5581 12.3095 10.6763 12.1875 10.8184 12.1875H11.1934C11.3172 12.1875 11.4279 12.2806 11.4404 12.4092C11.4548 12.556 11.4982 12.658 11.5615 12.7266C11.6157 12.7848 11.6755 12.8261 11.7393 12.8535V12.0254L11.6455 12.0039C11.5223 11.9738 11.3994 11.9328 11.2812 11.8828C11.1573 11.8304 11.0455 11.7612 10.9482 11.6729C10.85 11.5833 10.77 11.4755 10.71 11.3516C10.647 11.2218 10.6182 11.0718 10.6182 10.9062C10.6182 10.729 10.6543 10.569 10.7305 10.4316C10.8032 10.3003 10.8999 10.1902 11.0195 10.1025C11.1367 10.0169 11.2693 9.95109 11.4141 9.90625C11.5215 9.87305 11.6303 9.85242 11.7393 9.83887V9.72559C11.7393 9.58833 11.851 9.47658 11.9883 9.47656ZM12.2363 12.877C12.2618 12.8728 12.2866 12.8702 12.3096 12.8633C12.365 12.8465 12.4126 12.8218 12.4531 12.79L12.5068 12.7373C12.5221 12.7187 12.5357 12.6973 12.5479 12.6738L12.5752 12.5967C12.5809 12.5694 12.584 12.5382 12.584 12.5029C12.5839 12.3953 12.5469 12.3254 12.4785 12.2764C12.4177 12.233 12.3374 12.194 12.2363 12.1582V12.877ZM11.6973 10.5781C11.6499 10.5918 11.6084 10.6121 11.5723 10.6396C11.537 10.6668 11.5093 10.6992 11.4883 10.7373C11.4705 10.7701 11.459 10.814 11.459 10.8721C11.459 10.9734 11.4916 11.0412 11.5508 11.0898C11.6019 11.1317 11.6654 11.1627 11.7393 11.1895V10.5684C11.7252 10.5715 11.711 10.5741 11.6973 10.5781Z\"></path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 8.25C13.933 8.25 15.5 9.817 15.5 11.75C15.5 13.683 13.933 15.25 12 15.25C10.067 15.25 8.5 13.683 8.5 11.75C8.5 9.817 10.067 8.25 12 8.25ZM12 9.4502C10.7297 9.4502 9.7002 10.4797 9.7002 11.75C9.7002 13.0203 10.7297 14.0498 12 14.0498C13.2703 14.0498 14.2998 13.0203 14.2998 11.75C14.2998 10.4797 13.2703 9.4502 12 9.4502Z\"></path><path d=\"M10.7998 1C11.9199 1 12.4804 0.999786 12.9082 1.21777C13.2845 1.40951 13.5905 1.71554 13.7822 2.0918C14.0002 2.51962 14 3.08009 14 4.2002V6.40039C13.9997 6.73143 13.7314 6.99974 13.4004 7C13.0691 7 12.8001 6.73159 12.7998 6.40039V4.2002C12.7998 3.6205 12.7987 3.25765 12.7764 2.98438C12.7552 2.72508 12.7213 2.65327 12.7129 2.63672C12.6362 2.48622 12.5138 2.3638 12.3633 2.28711C12.3467 2.27868 12.2749 2.24482 12.0156 2.22363C11.7423 2.20132 11.3795 2.2002 10.7998 2.2002H5.2002C4.6205 2.2002 4.25765 2.20132 3.98438 2.22363C3.72508 2.24482 3.65327 2.27868 3.63672 2.28711C3.48622 2.3638 3.3638 2.48622 3.28711 2.63672C3.27868 2.65327 3.24482 2.72508 3.22363 2.98438C3.20132 3.25765 3.2002 3.6205 3.2002 4.2002V11.7998C3.2002 12.3795 3.20132 12.7423 3.22363 13.0156C3.24482 13.2749 3.27868 13.3467 3.28711 13.3633C3.3638 13.5138 3.48622 13.6362 3.63672 13.7129C3.65327 13.7213 3.72508 13.7552 3.98438 13.7764C4.25765 13.7987 4.6205 13.7998 5.2002 13.7998H7.40137C7.73257 13.8001 8.00098 14.0691 8.00098 14.4004C8.00071 14.7314 7.7324 14.9997 7.40137 15H5.2002L4.45801 14.9971C3.91644 14.9886 3.55193 14.9578 3.25977 14.8535L3.0918 14.7822C2.76256 14.6145 2.48707 14.3592 2.29492 14.0459L2.21777 13.9082C1.99979 13.4804 2 12.9199 2 11.7998V4.2002C2 3.08009 1.99979 2.51962 2.21777 2.0918C2.40951 1.71554 2.71554 1.40951 3.0918 1.21777C3.41263 1.0543 3.80803 1.01315 4.45801 1.00293L5.2002 1H10.7998Z\"></path><path d=\"M7.99805 6.90039C8.32942 6.90039 8.59766 7.16863 8.59766 7.5C8.59766 7.83137 8.32942 8.09961 7.99805 8.09961H5.49805C5.16668 8.09961 4.89844 7.83137 4.89844 7.5C4.89844 7.16863 5.16668 6.90039 5.49805 6.90039H7.99805Z\"></path><path d=\"M10.498 4.40039C10.8294 4.40039 11.0977 4.66863 11.0977 5C11.0977 5.33137 10.8294 5.59961 10.498 5.59961H5.49805C5.16668 5.59961 4.89844 5.33137 4.89844 5C4.89844 4.66863 5.16668 4.40039 5.49805 4.40039H10.498Z\"></path>", 5)])); 75} 76var pt = /* @__PURE__ */ e(ut, [["render", ft]]); 77yo(); 78var mt = Zn$1({ name: "Book" }); 79var ht = { 80 viewBox: "0 0 16 16", 81 fill: "none", 82 xmlns: "http://www.w3.org/2000/svg" 83}; 84function gt(e, t, n, r, i, a) { 85 return ui$1(), mi$1("svg", ht, t[0] || (t[0] = [vi$1("path", { d: "M14.4981 2.97852C14.8294 2.97852 15.0977 3.24677 15.0977 3.57813V9.75977C15.0977 10.1419 15.0987 10.465 15.0772 10.7285C15.055 10.9989 15.0064 11.2595 14.8799 11.5078C14.6881 11.8841 14.3821 12.1901 14.0059 12.3818C13.7
85575 12.5083 13.497 12.557 13.2266 12.5791C12.963 12.6006 12.6399 12.5996 12.2578 12.5996H10.293C10.0451 12.5996 9.98634 12.6018 9.9336 12.6104C9.87697 12.6196 9.82095 12.6342 9.76759 12.6553C9.71786 12.6749 9.66661 12.7039 9.45313 12.8311C9.07142 13.0585 8.76527 13.2499 8.42481 13.3242C8.14372 13.3856 7.85239 13.3856 7.5713 13.3242C7.23084 13.2499 6.92468 13.0585 6.54298 12.8311C6.32949 12.7038 6.27825 12.6749 6.22852 12.6553C6.17516 12.6342 6.11914 12.6196 6.06251 12.6104C6.00977 12.6018 5.951 12.5996 5.70313 12.5996H3.73829C3.35616 12.5996 3.03309 12.6006 2.76954 12.5791C2.49909 12.557 2.23857 12.5083 1.99024 12.3818C1.61399 12.1901 1.30797 11.8841 1.11622 11.5078C0.989714 11.2595 0.941074 10.9989 0.918953 10.7285C0.897422 10.465 0.898445 10.1419 0.898445 9.75977V3.57813C0.89845 3.24677 1.16669 2.97853 1.49805 2.97852C1.82942 2.97852 2.09766 3.24677 2.09766 3.57813V9.75977C2.09766 10.1614 2.09867 10.4266 2.11524 10.6299C2.13128 10.8262 2.15954 10.9118 2.18555 10.9629C2.26225 11.1134 2.38468 11.2358 2.53516 11.3125C2.58623 11.3385 2.6713 11.3668 2.8672 11.3828C3.07055 11.3994 3.33636 11.3994 3.73829 11.3994H5.70313C5.91398 11.3994 6.08542 11.3981 6.25587 11.4258C6.39718 11.4488 6.53578 11.4865 6.66895 11.5391C6.82958 11.6025 6.97581 11.6927 7.15723 11.8008C7.6106 12.0709 7.72285 12.1285 7.82716 12.1514C7.93959 12.1759 8.05652 12.1759 8.16895 12.1514C8.27326 12.1285 8.3855 12.071 8.83887 11.8008C9.0203 11.6927 9.16653 11.6025 9.32716 11.5391C9.46033 11.4865 9.59893 11.4488 9.74024 11.4258C9.91069 11.3981 10.0821 11.3994 10.293 11.3994H12.2578C12.6597 11.3994 12.9256 11.3994 13.1289 11.3828C13.3248 11.3668 13.4099 11.3385 13.4609 11.3125C13.6114 11.2358 13.7339 11.1134 13.8106 10.9629C13.8366 10.9118 13.8648 10.8262 13.8809 10.6299C13.8974 10.4266 13.8984 10.1614 13.8984 9.75977V3.57813C13.8984 3.24677 14.1667 2.97853 14.4981 2.97852Z" }, null, -1), vi$1("path", { 86 "fill-rule": "evenodd", 87 "clip-rule": "evenodd", 88 d: "M5.63966 2.4004C5.87556 2.4004 6.04415 2.39938 6.21095 2.41993C6.50634 2.45639 6.7936 2.5432 7.05958 2.67677C7.20964 2.75216 7.34879 2.84581 7.54493 2.97657C7.79339 3.14221 7.83364 3.16418 7.86329 3.17481C7.95023 3.20584 8.04588 3.20584 8.13282 3.17481C8.16247 3.16418 8.20268 3.14224 8.45118 2.97657C8.64732 2.84581 8.78647 2.75216 8.93653 2.67677C9.20251 2.54319 9.48977 2.45639 9.78516 2.41993C9.95196 2.39938 10.1205 2.4004 10.3565 2.4004H10.8984C11.1683 2.4004 11.4068 2.39996 11.6035 2.41602C11.8074 2.43268 12.019 2.46946 12.2246 2.57423C12.5256 2.72761 12.7704 2.97245 12.9238 3.27345C13.0286 3.47908 13.0654 3.69069 13.082 3.89454C13.0981 4.09126 13.0977 4.32973 13.0977 4.59962V8.4004C13.0977 8.67029 13.0981 8.90875 13.082 9.10548C13.0654 9.30933 13.0286 9.52094 12.9238 9.72657C12.7704 10.0276 12.5256 10.2724 12.2246 10.4258C12.019 10.5306 11.8074 10.5673 11.6035 10.584C11.4068 10.6001 11.1683 10.5996 10.8984 10.5996H9.63868C9.38759 10.5997 9.14631 10.6994 8.96876 10.877C8.4324 11.4133 7.56371 11.4133 7.02735 10.877C6.8498 10.6994 6.60852 10.5997 6.35743 10.5996H5.09766C4.82777 10.5996 4.58931 10.6001 4.39259 10.584C4.18873 10.5673 3.97713 10.5306 3.77149 10.4258C3.4705 10.2724 3.22566 10.0276 3.07227 9.72657C2.9675 9.52094 2.93073 9.30933 2.91407 9.10548C2.89801 8.90875 2.89844 8.67029 2.89845 8.4004V4.59962C2.89844 4.32973 2.89801 4.09126 2.91407 3.89454C2.93073 3.69069 2.9675 3.47908 3.07227 3.27345C3.22566 2.97245 3.47049 2.72761 3.77149 2.57423C3.97713 2.46945 4.18873 2.43268 4.39259 2.41602C4.58931 2.39996 4.82777 2.4004 5.09766 2.4004H5.63966ZM5.09766 3.59962C4.80808 3.59962 4.62681 3.60019 4.49024 3.61134C4.3606 3.62193 4.32469 3.63935 4.31641 3.64356C4.24117 3.68191 4.17996 3.74312 4.14161 3.81837C4.13739 3.82664 4.11998 3.86256 4.10938 3.9922C4.09823 4.12877 4.09766 4.31003 4.09766 4.59962V8.4004C4.09766 8.68998 4.09824 8.87125 4.10938 9.00782C4.11997 9.13738 4.13738 9.17334 4.14161 9.18165C4.17995 9.2569 4.24117 9.31811 4.31641 9.35645C4.32469 9.36067 4.3606 9.37809 4.49024 9.38868C4.62681 9.39983 4.80808 9.4004 5.09766 9.4004H6.35743C6.72518 9.40042 7.08264 9.49556 7.39845 9.67091V4.27833C7.22044 4.20398 7.05425 4.09248 6.87891 3.97559C6.65888 3.82891 6.58974 3.78379 6.52052 3.74903C6.37726 3.67712 6.22257 3.62996 6.06348 3.61036C5.98668 3.60092 5.90384 3.59962 5.63966 3.59962H5.09766ZM10.3565 3.59962C10.0923 3.59962 10.0094 3.60092 9.93262 3.61036C9.77353 3.62996 9.61885 3.67712 9.47559 3.74903C9.40637 3.78379 9.33724 3.8289 9.1172 3.97559C8.94185 4.09249 8.77568 4.20398 8.59766 4.27833V9.67091C8.91347 9.49556 9.27093 9.40042 9.63868 9.4004H10.8984C11.188 9.4004 11.3693 9.39983 11.5059 9.38868C11.6355 9.37809 11.6714 9.36067 11.6797 9.35645C11.7549 9.31811 11.8162 9.2569 11.8545 9.18165C11.8587 9.17336 11.8761 9.13742 11.8867 9.00782C11.8979 8.87125 11.8984 8.68998 11.8984 8.4004V4.59962C11.8984 4.31003 11.8979 4.12877 11.8867 3.9922C11.8761 3.86256 11.8587 3.82664 11.8545 3.81837C11.8162 3.74312 11.7549 3.68191 11.6797 3.64356C11.6714 3.63933 11.6354 3.62192 11.5059 3.61134C11.3693 3.60019 11.188 3.59962 10.8984 3.59962H10.3565Z" 89 }, null, -1)])); 90} 91var _t = /* @__PURE__ */ e(mt, [["render", gt]]); 92yo(); 93var vt = Zn$1({ name: "Busy" }); 94var yt = { 95 viewBox: "0 0 8 8", 96 fill: "none", 97 xmlns: "http://www.w3.org/2000/svg" 98}; 99function bt(e, t, n, r, i, a) { 100 return ui$1(), mi$1("svg", yt, t[0] || (t[0] = [vi$1("path", { 101 "fill-rule": "evenodd", 102 "clip-rule": "evenodd", 103 d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4ZM2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L3.29289 4L2.14645 5.14645C1.95118 5.34171 1.95118 5.65829 2.14645 5.85355C2.34171 6.04882 2.65829 6.04882 2.85355 5.85355L4 4.70711L5.14645 5.85355C5.34171 6.04882 5.65829 6.04882 5.85355 5.85355C6.04882 5.65829 6.04882 5.34171 5.85355 5.14645L4.70711 4L5.85355 2.85355C6.04882 2.65829 6.04882 2.34171 5.85355 2.14645C5.65829 1.95118 5.34171 1.95118 5.14645 2.14645L4 3.29289L2.85355 2.14645Z", 104 fill: "#FF2638" 105 }, null, -1)])); 106} 107var xt = /* @__PURE__ */ e(vt, [["render", bt]]); 108yo(); 109var St = Zn$1({ name: "ChevronLeftV2" }); 110var Ct = { 111 viewBox: "0 0 16 16", 112 fill: "none", 113 xmlns: "http://www.w3.org/2000/svg" 114}; 115function wt(e, t, n, r, i, a) { 116 return ui$1(), mi$1("svg", Ct, t[0] || (t[0] = [vi$1("path", { d: "M9.07613 3.07622C9.31044 2.8419 9.68947 2.8419 9.92378 3.07622C10.158 3.31054 10.1581 3.68959 9.92378 3.92387L5.84761 8.00005L9.92378 12.0762C10.158 12.3105 10.1581 12.6896 9.92378 12.9239C9.6895 13.1582 9.31045 13.1581 9.07613 12.9239L4.57613 8.42387C4.34181 8.18956 4.34181 7.81053 4.57613 7.57622L9.07613 3.07622Z" }, null, -1)])); 117} 118var Tt = /* @__PURE__ */ e(St, [["render", wt]]); 119yo(); 120var Et = Zn$1({ name: "DoNotDisturb" }); 121var Dt = { 122 viewBox: "0 0 8 8", 123 fill: "none", 124 xmlns: "http://www.w3.org/2000/svg" 125}; 126function Ot(e, t, n, r, i, a) { 127 return ui$1(), mi$1("svg", Dt, t[0] || (t[0] = [vi$1("path", { 128 d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z", 129 fill: "#FF2638" 130 }, null, -1), vi$1("path", { 131 d: "M5.5 3.40039C5.83137 3.40039 6.09961 3.66863 6.09961 4C6.09961 4.33137 5.83137 4.59961 5.5 4.59961H2.5C2.16863 4.59961 1.90039 4.33137 1.90039 4C1.90039 3.66863 2.16863 3.40039 2.5 3.40039H5.5Z", 132 fill: "white" 133 }, null, -1)])); 134} 135var kt = /* @__PURE__ */ e(Et, [["render", Ot]]); 136yo(); 137var At = Zn$1({ name: "DownloadLocal" }); 138var jt = { 139 viewBox: "0 0 16 16", 140 fill: "none", 141 xmlns: "http://www.w3.org/2000/svg" 142}; 143function Mt(e, t, n, r, i, a) { 144 return ui$1(), mi$1("svg", jt, t[0] || (t[0] = [vi$1("path", { d: "M2.35986 13.4004C2.35989 13.069 2.62812 12.8008 2.95947 12.8008H12.9595C13.2908 12.8008 13.5591 13.069 13.5591 13.4004C13.5591 13.7318 13.2908 14 12.9595 14H2.95947C2.6281 14 2.35986 13.7318 2.35986 13.4004Z" }, null, -1), vi$1("path", { d: "M3.07004 6.42254C2.83574 6.18822 2.83573 5.80919 3.07004 5.57488C3.30435 5.34061 3.68339 5.3406 3.9177 5.57488L7.39426 9.05145V2.49871C7.39429 2.16736 7.66252 1.8991 7.99387 1.8991C8.32522 1.89911 8.59345 2.16737 8.59348 2.49871V9.05145L12.07 5.57488C12.3044 5.34061 12.6834 5.3406 12.9177 5.57488C13.152 5.80919 13.152 6.18822 12.9177 6.42254L8.4177 10.9225C8.18338 11.1569 7.80436 11.1569 7.57004 10.9225L3.07004 6.42254Z" }, null, -1)])); 145} 146var Nt = /* @__PURE__ */ e(At, [["render", Mt]]); 147yo(); 148var Pt = Zn$1({ name: "Home" }); 149var Ft = { 150 viewBox: "0 0 16 16", 151 fill: "none", 152 xmlns: "http://www.w3.org/2000/svg" 153}; 154function It(e, t, n, r, i, a) { 155 return ui$1(), mi$1("svg", Ft, t[0] || (t[0] = [vi$1("path", { 156 "fill-rule": "evenodd", 157 "clip-rule": "evenodd", 158 d: "M7.57911 1.66546C7.85526 1.60631 8.14085 1.60631 8.417 1.66546C8.75155 1.7372 9.05331 1.92108 9.42872 2.14007L13.1895 4.33343C13.5596 4.54933 13.8636 4.71939 14.0889 4.97112C14.2748 5.17898 14.4151 5.42358 14.501 5.
1586889C14.5789 5.92996 14.5947 6.18621 14.5977 6.47991V11.7602C14.5977 12.1423 14.5987 12.4654 14.5772 12.7289C14.555 12.9994 14.5064 13.2599 14.3799 13.5082C14.1881 13.8845 13.8821 14.1905 13.5059 14.3823C13.2575 14.5088 12.997 14.5574 12.7266 14.5795C12.463 14.6011 12.1399 14.6 11.7578 14.6H4.23829C3.85616 14.6 3.53309 14.6011 3.26954 14.5795C2.99907 14.5574 2.73859 14.5088 2.49024 14.3823C2.11396 14.1905 1.80797 13.8845 1.61622 13.5082C1.48971 13.2599 1.44107 12.9994 1.41895 12.7289C1.39742 12.4654 1.39844 12.1423 1.39845 11.7602V6.47991C1.40137 6.18622 1.41718 5.92996 1.49512 5.6889C1.58096 5.42358 1.72135 5.17898 1.90723 4.97112C2.13247 4.71939 2.43654 4.54932 2.80665 4.33343L6.56739 2.14007C6.94279 1.92108 7.24457 1.7372 7.57911 1.66546ZM8.16602 2.83929C8.05546 2.81558 7.94065 2.81558 7.83009 2.83929C7.72749 2.86136 7.61763 2.91716 7.17188 3.17718L3.41212 5.37054C2.97253 5.62696 2.87091 5.69367 2.80177 5.77093C2.72743 5.85404 2.67107 5.95196 2.63673 6.05804C2.60486 6.15665 2.59767 6.2781 2.59766 6.78655V11.7602C2.59766 12.162 2.59863 12.428 2.61524 12.6313C2.63128 12.8272 2.65957 12.9123 2.68555 12.9633C2.76226 13.1138 2.88467 13.2362 3.03516 13.3129C3.08622 13.3389 3.17121 13.3672 3.3672 13.3832C3.57055 13.3998 3.83636 13.4008 4.23829 13.4008H5.39845V9.39983C5.39866 8.29545 6.29401 7.39984 7.39845 7.39983H8.59766C9.7021 7.39983 10.5974 8.29545 10.5977 9.39983V13.4008H11.7578C12.1597 13.4008 12.4256 13.3998 12.6289 13.3832C12.8249 13.3672 12.9099 13.3389 12.9609 13.3129C13.1114 13.2362 13.2339 13.1138 13.3106 12.9633C13.3365 12.9123 13.3648 12.8272 13.3809 12.6313C13.3975 12.428 13.3984 12.162 13.3984 11.7602V6.78655C13.3984 6.27809 13.3912 6.15665 13.3594 6.05804C13.325 5.95195 13.2687 5.85404 13.1943 5.77093C13.1252 5.69367 13.0236 5.62697 12.584 5.37054L8.82423 3.17718C8.37844 2.91714 8.26863 2.86135 8.16602 2.83929ZM7.39845 8.59905C6.95675 8.59906 6.59788 8.95819 6.59766 9.39983V13.4008H9.39845V9.39983C9.39823 8.95819 9.03936 8.59905 8.59766 8.59905H7.39845Z" 159 }, null, -1)])); 160} 161var Lt = /* @__PURE__ */ e(Pt, [["render", It]]); 162yo(); 163var Rt = Zn$1({ name: "InACalenderEvent" }); 164var zt = { 165 viewBox: "0 0 8 8", 166 fill: "none", 167 xmlns: "http://www.w3.org/2000/svg" 168}; 169function Bt(e, t, n, r, i, a) { 170 return ui$1(), mi$1("svg", zt, t[0] || (t[0] = [vi$1("path", { 171 d: "M4.84961 1.24933C4.84961 1.74638 5.25294 2.14972 5.75 2.14972C6.24706 2.14972 6.65039 1.74638 6.65039 1.24933V1.00128C7.40007 1.02804 8 1.64353 8 2.39972V6.59894C8 7.37213 7.37281 7.99933 6.59961 7.99933H1.40039C0.627192 7.99933 0 7.37213 0 6.59894V2.39972C0 1.64353 0.599934 1.02804 1.34961 1.00128V1.24933C1.34961 1.74638 1.75294 2.14972 2.25 2.14972C2.74706 2.14972 3.15039 1.74638 3.15039 1.24933V0.999327H4.84961V1.24933ZM1.90039 2.99933C1.51381 2.99933 1.20022 3.31294 1.2002 3.69952V6.09894C1.2002 6.48554 1.51379 6.79913 1.90039 6.79913H6.10059C6.48701 6.79892 6.7998 6.4854 6.7998 6.09894V3.69952C6.79978 3.31307 6.48699 2.99954 6.10059 2.99933H1.90039Z", 172 fill: "#FF5500" 173 }, null, -1), vi$1("path", { 174 d: "M1.75 1.24902V0.654297C1.75011 0.378245 1.97392 0.154297 2.25 0.154297C2.52608 0.154297 2.74989 0.378245 2.75 0.654297V1.24902C2.75 1.52517 2.52614 1.74902 2.25 1.74902C1.97386 1.74902 1.75 1.52517 1.75 1.24902ZM5.25 1.24902V0.654297C5.25001 0.37816 5.47386 0.154297 5.75 0.154297C6.02614 0.154297 6.24999 0.37816 6.25 0.654297V1.24902C6.25 1.52517 6.02614 1.74902 5.75 1.74902C5.47386 1.74902 5.25 1.52517 5.25 1.24902Z", 175 fill: "#FF5500" 176 }, null, -1)])); 177} 178var Vt = /* @__PURE__ */ e(Rt, [["render", Bt]]); 179yo(); 180var Ht = Zn$1({ name: "InMeeting" }); 181var Ut = { 182 viewBox: "0 0 9 8", 183 fill: "none", 184 xmlns: "http://www.w3.org/2000/svg" 185}; 186function Wt(e, t, n, r, i, a) { 187 return ui$1(), mi$1("svg", Ut, t[0] || (t[0] = [vi$1("path", { 188 d: "M0 2.4C0 1.6268 0.626801 1 1.4 1H4.6C5.3732 1 6 1.6268 6 2.4V5.6C6 6.3732 5.3732 7 4.6 7H1.4C0.626801 7 0 6.3732 0 5.6V2.4Z", 189 fill: "#FF5500" 190 }, null, -1), vi$1("path", { 191 d: "M7.7 1.85L6.7 2.6C6.5741 2.69443 6.5 2.84262 6.5 3V5C6.5 5.15738 6.5741 5.30557 6.7 5.4L7.7 6.15C8.02962 6.39721 8.5 6.16202 8.5 5.75V2.25C8.5 1.83798 8.02962 1.60279 7.7 1.85Z", 192 fill: "#FF5500" 193 }, null, -1)])); 194} 195var Gt = /* @__PURE__ */ e(Ht, [["render", Wt]]); 196yo(); 197var Kt = Zn$1({ name: "InCall" }); 198var qt = { 199 viewBox: "0 0 8 8", 200 fill: "none", 201 xmlns: "http://www.w3.org/2000/svg" 202}; 203function Jt(e, t, n, r, i, a) { 204 return ui$1(), mi$1("svg", qt, t[0] || (t[0] = [vi$1("path", { 205 d: "M2.28613 0C2.91703 0.000225562 3.42856 0.511663 3.42871 1.14258V1.52637C3.42871 1.82947 3.30808 2.12063 3.09375 2.33496L2.44629 2.98047L2.4209 3.00586C2.33807 3.08915 2.31741 3.21094 2.3584 3.31348C2.81104 4.36938 3.66335 5.2095 4.72461 5.65234C4.80675 5.6738 4.89305 5.65829 4.96387 5.60547L5.66504 4.90625C5.87937 4.69192 6.17053 4.57129 6.47363 4.57129H6.85742C7.48834 4.57144 7.99977 5.08297 8 5.71387V6.57129C8 7.36027 7.36027 8 6.57129 8H6.28613L6.28418 7.99805C2.81371 7.99699 0.000226212 5.18453 0 1.71387V1.42871C0 0.639733 0.639733 0 1.42871 0H2.28613Z", 206 fill: "#FF5500" 207 }, null, -1)])); 208} 209var Yt = /* @__PURE__ */ e(Kt, [["render", Jt]]); 210yo(); 211var Xt = Zn$1({ name: "Mobile" }); 212var Zt = { 213 viewBox: "0 0 8 8", 214 fill: "none", 215 xmlns: "http://www.w3.org/2000/svg" 216}; 217function Qt(e, t, n, r, i, a) { 218 return ui$1(), mi$1("svg", Zt, t[0] || (t[0] = [vi$1("path", { 219 d: "M5.59961 6.7998V8H2.40039V6.7998H5.59961ZM5.7998 6.59961V1.40039C5.7998 1.28993 5.71007 1.2002 5.59961 1.2002H2.40039C2.28993 1.2002 2.2002 1.28993 2.2002 1.40039V6.59961C2.2002 6.71007 2.28993 6.7998 2.40039 6.7998V8L2.25684 7.99316C1.55087 7.92148 1 7.32449 1 6.59961V1.40039C1 0.675511 1.55087 0.0785219 2.25684 0.00683594L2.40039 0H5.59961C6.37281 0 7 0.627192 7 1.40039V6.59961C7 7.37281 6.37281 8 5.59961 8V6.7998C5.71007 6.7998 5.7998 6.71007 5.7998 6.59961Z", 220 fill: "#09A639" 221 }, null, -1)])); 222} 223var $t = /* @__PURE__ */ e(Xt, [["render", Qt]]); 224yo(); 225var en = Zn$1({ name: "Offline" }); 226var tn = { 227 viewBox: "0 0 8 8", 228 fill: "none", 229 xmlns: "http://www.w3.org/2000/svg" 230}; 231function nn(e, t, n, r, i, a) { 232 return ui$1(), mi$1("svg", tn, t[0] || (t[0] = [vi$1("path", { 233 d: "M6.7998 4C6.7998 2.4536 5.5464 1.2002 4 1.2002C2.4536 1.2002 1.2002 2.4536 1.2002 4C1.2002 5.5464 2.4536 6.7998 4 6.7998V8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4C8 6.20914 6.20914 8 4 8V6.7998C5.5464 6.7998 6.7998 5.5464 6.7998 4Z", 234 fill: "#8E9194" 235 }, null, -1)])); 236} 237var rn = /* @__PURE__ */ e(en, [["render", nn]]); 238yo(); 239var an = Zn$1({ name: "OutOfOffice" }); 240var on = { 241 viewBox: "0 0 8 8", 242 fill: "none", 243 xmlns: "http://www.w3.org/2000/svg" 244}; 245function sn(e, t, n, r, i, a) { 246 return ui$1(), mi$1("svg", on, t[0] || (t[0] = [ 247 vi$1("path", { 248 d: "M4.44629 3.74512C4.64142 3.55004 4.95804 3.55027 5.15332 3.74512C5.34857 3.94036 5.34853 4.25688 5.15332 4.45215L4.70703 4.89844L5.15332 5.34473C5.3485 5.53991 5.34834 5.85648 5.15332 6.05176C4.95806 6.24702 4.64155 6.24702 4.44629 6.05176L4 5.60547L3.55371 6.05176C3.35845 6.24702 3.04194 6.24702 2.84668 6.05176C2.65182 5.85646 2.65155 5.53986 2.84668 5.34473L3.29297 4.89844L2.84668 4.45215C2.65162 4.25687 2.65149 3.94031 2.84668 3.74512C3.04189 3.55017 3.35851 3.55014 3.55371 3.74512L4 4.19141L4.44629 3.74512Z", 249 fill: "#8E9194" 250 }, null, -1), 251 vi$1("path", { 252 "fill-rule": "evenodd", 253 "clip-rule": "evenodd", 254 d: "M4.84961 1.24902C4.84961 1.74608 5.25294 2.14941 5.75 2.14941C6.24706 2.14941 6.65039 1.74608 6.65039 1.24902V1.00098C7.39997 1.02774 7.99984 1.64337 8 2.39941V6.59863C8 7.37183 7.37281 7.99902 6.59961 7.99902H1.40039C0.627192 7.99902 0 7.37183 0 6.59863V2.39941C0.000160503 1.64337 0.600034 1.02774 1.34961 1.00098V1.24902C1.34961 1.74608 1.75294 2.14941 2.25 2.14941C2.74706 2.14941 3.15039 1.74608 3.15039 1.24902V0.999023H4.84961V1.24902ZM1.9
2540039 2.99902C1.51389 2.99902 1.20036 3.31276 1.2002 3.69922V6.09863C1.2002 6.48523 1.51379 6.79883 1.90039 6.79883H6.10059C6.48701 6.79862 6.7998 6.4851 6.7998 6.09863V3.69922C6.79964 3.31289 6.48691 2.99923 6.10059 2.99902H1.90039Z", 255 fill: "#8E9194" 256 }, null, -1), 257 vi$1("path", { 258 d: "M2.25 0.154297C2.52608 0.154297 2.74989 0.378245 2.75 0.654297V1.24902C2.75 1.52517 2.52614 1.74902 2.25 1.74902C1.97386 1.74902 1.75 1.52517 1.75 1.24902V0.654297C1.75011 0.378245 1.97392 0.154297 2.25 0.154297Z", 259 fill: "#8E9194" 260 }, null, -1), 261 vi$1("path", { 262 d: "M5.75 0.154297C6.02614 0.154297 6.24999 0.37816 6.25 0.654297V1.24902C6.25 1.52517 6.02614 1.74902 5.75 1.74902C5.47386 1.74902 5.25 1.52517 5.25 1.24902V0.654297C5.25001 0.37816 5.47386 0.154297 5.75 0.154297Z", 263 fill: "#8E9194" 264 }, null, -1) 265 ])); 266} 267var cn = /* @__PURE__ */ e(an, [["render", sn]]); 268yo(); 269var ln = Zn$1({ name: "Online" }); 270var un = { 271 viewBox: "0 0 8 8", 272 fill: "none", 273 xmlns: "http://www.w3.org/2000/svg" 274}; 275function dn(e, t, n, r, i, a) { 276 return ui$1(), mi$1("svg", un, t[0] || (t[0] = [vi$1("path", { 277 d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z", 278 fill: "#09A639" 279 }, null, -1)])); 280} 281var fn = /* @__PURE__ */ e(ln, [["render", dn]]); 282yo(); 283var pn = Zn$1({ name: "PlatformSolutions" }); 284var mn = { 285 viewBox: "0 0 16 16", 286 fill: "none", 287 xmlns: "http://www.w3.org/2000/svg" 288}; 289function hn(e, t, n, r, i, a) { 290 return ui$1(), mi$1("svg", mn, t[0] || (t[0] = [ 291 vi$1("path", { d: "M9.6131 1.92091C9.93314 2.00667 10.1236 2.33525 10.0379 2.65529L7.08967 13.6553C7.00373 13.9751 6.67523 14.1658 6.35529 14.0801C6.03539 13.9943 5.84585 13.6647 5.93146 13.3447L8.87873 2.34474C8.96449 2.02484 9.29317 1.83541 9.6131 1.92091Z" }, null, -1), 292 vi$1("path", { d: "M11.075 4.7422C11.3093 4.50794 11.6893 4.50798 11.9237 4.7422L14.7147 7.53224C15.0269 7.84466 15.027 8.35171 14.7147 8.66408L11.9237 11.4541C11.6893 11.6884 11.3093 11.6884 11.075 11.4541C10.841 11.2198 10.8408 10.8397 11.075 10.6055L13.5838 8.09767L11.075 5.58986C10.8412 5.35562 10.8411 4.97642 11.075 4.7422Z" }, null, -1), 293 vi$1("path", { d: "M4.07502 4.77443C4.30933 4.54012 4.68934 4.54012 4.92365 4.77443C5.15767 5.0087 5.15769 5.38783 4.92365 5.62209L2.44709 8.09767L4.92365 10.5742C5.15783 10.8086 5.15792 11.1886 4.92365 11.4229C4.68936 11.6568 4.30924 11.6569 4.07502 11.4229L1.31623 8.66408C1.00396 8.35169 1.00397 7.84464 1.31623 7.53224L4.07502 4.77443Z" }, null, -1) 294 ])); 295} 296var gn = /* @__PURE__ */ e(pn, [["render", hn]]); 297yo(); 298var _n = Zn$1({ name: "Profile" }); 299var vn = { 300 viewBox: "0 0 16 16", 301 fill: "none", 302 xmlns: "http://www.w3.org/2000/svg" 303}; 304function yn(e, t, n, r, i, a) { 305 return ui$1(), mi$1("svg", vn, t[0] || (t[0] = [vi$1("path", { d: "M8.7002 8L9.8125 8.00488C10.7876 8.02021 11.381 8.08196 11.8623 8.32715C12.4263 8.61467 12.8853 9.07368 13.1729 9.6377C13.4996 10.2793 13.5 11.1204 13.5 12.7998V14.0752L13.499 14.4043C13.4976 14.7337 13.2298 15 12.9004 15C12.5676 15 12.299 14.7283 12.2998 14.3955V12.7998C12.2998 11.9408 12.2986 11.3676 12.2627 10.9277C12.2279 10.5024 12.1664 10.3061 12.1035 10.1826C11.931 9.84436 11.6557 9.56897 11.3174 9.39648C11.1939 9.33358 10.9981 9.2721 10.5723 9.2373C10.1323 9.20138 9.5597 9.2002 8.7002 9.2002H7.2998C6.44029 9.20019 5.8677 9.20138 5.42773 9.2373C5.00188 9.2721 4.80613 9.33358 4.68262 9.39648C4.34435 9.56898 4.06899 9.84435 3.89648 10.1826C3.83364 10.3061 3.77209 10.5024 3.7373 10.9277C3.70142 11.3676 3.7002 11.9408 3.7002 12.7998V14.3955C3.701 14.7283 3.43242 15 3.09961 15C2.7702 15 2.50237 14.7337 2.50098 14.4043L2.5 14.0752V12.7998C2.50001 11.2253 2.50027 10.3879 2.76953 9.76074L2.82715 9.6377C3.07883 9.14402 3.46186 8.73051 3.93164 8.44238L4.1377 8.32715C4.77938 8.00026 5.61995 7.99999 7.2998 8H8.7002Z" }, null, -1), vi$1("path", { 306 "fill-rule": "evenodd", 307 "clip-rule": "evenodd", 308 d: "M8 1C9.65674 1.00013 11 2.34323 11 4C11 5.65677 9.65674 6.99987 8 7C6.34315 7 5 5.65685 5 4C5 2.34315 6.34315 1 8 1ZM8 2.2002C7.00589 2.2002 6.2002 3.00589 6.2002 4C6.2002 4.99411 7.00589 5.7998 8 5.7998C8.994 5.79967 9.7998 4.99403 9.7998 4C9.7998 3.00597 8.994 2.20033 8 2.2002Z" 309 }, null, -1)])); 310} 311var bn = /* @__PURE__ */ e(_n, [["render", yn]]); 312yo(); 313var xn = Zn$1({ name: "Setting" }); 314var Sn = { 315 viewBox: "0 0 16 16", 316 fill: "none", 317 xmlns: "http://www.w3.org/2000/svg" 318}; 319function Cn(e, t, n, r, i, a) { 320 return ui$1(), mi$1("svg", Sn, t[0] || (t[0] = [vi$1("path", { 321 "fill-rule": "evenodd", 322 "clip-rule": "evenodd", 323 d: "M8.00043 5C9.65729 5 11.0004 6.34315 11.0004 8C11.0004 9.65685 9.65729 11 8.00043 11C6.34359 11 5.00043 9.65685 5.00043 8C5.00043 6.34315 6.34359 5.00001 8.00043 5ZM8.00043 6.2002C7.00633 6.20021 6.20063 7.00589 6.20063 8C6.20063 8.99411 7.00633 9.7998 8.00043 9.7998C8.99454 9.7998 9.80024 8.99411 9.80024 8C9.80024 7.00589 8.99454 6.2002 8.00043 6.2002Z" 324 }, null, -1), vi$1("path", { 325 "fill-rule": "evenodd", 326 "clip-rule": "evenodd", 327 d: "M8.88617 0.400391C9.83271 0.400756 10.5998 1.16769 10.6 2.11426C10.6 2.31215 10.7288 2.5356 10.9819 2.67773C11.0272 2.7032 11.072 2.73026 11.1166 2.75684C11.366 2.90528 11.6244 2.90464 11.7963 2.80566C12.617 2.33244 13.6663 2.61331 14.1401 3.43359L15.0248 4.9668C15.4983 5.7871 15.2172 6.83617 14.3969 7.30957C14.2254 7.40851 14.0963 7.63071 14.1 7.91992V8.0791C14.0963 8.36859 14.2254 8.59135 14.3969 8.69043C15.217 9.16425 15.4981 10.2128 15.0248 11.
3270332L14.1401 12.5654C13.6663 13.3861 12.617 13.668 11.7963 13.1943C11.6245 13.0951 11.3663 13.0946 11.1166 13.2432C11.0723 13.2696 11.027 13.295 10.9819 13.3203C10.7285 13.4626 10.6 13.6866 10.6 13.8848C10.6 14.832 9.83236 15.5994 8.8852 15.5996H7.11664C6.16896 15.5996 5.40082 14.8315 5.40082 13.8838C5.4007 13.6856 5.27187 13.4622 5.01899 13.3203C4.97396 13.2951 4.92854 13.2685 4.88422 13.2422C4.6345 13.0939 4.37609 13.0953 4.20453 13.1943C3.38433 13.6679 2.33539 13.3866 1.86176 12.5664L0.976017 11.0332C0.502735 10.2133 0.783585 9.16452 1.60297 8.69043C1.77467 8.59103 1.90443 8.36776 1.90082 8.0791V7.91992C1.90446 7.6318 1.77534 7.40892 1.60395 7.30957C0.78428 6.83612 0.502983 5.78763 0.976017 4.96777L1.86176 3.43359C2.33536 2.61327 3.38413 2.33218 4.20453 2.80566C4.37622 2.90464 4.63451 2.90525 4.88422 2.75684C4.92873 2.73038 4.97376 2.70406 5.01899 2.67871C5.27199 2.53684 5.40082 2.31333 5.40082 2.11523C5.40087 1.16796 6.16839 0.400435 7.11567 0.400391H8.88617ZM7.11567 1.59961C6.83113 1.59965 6.60008 1.8307 6.60004 2.11523C6.60004 2.83557 6.15397 3.41829 5.6059 3.72559C5.5696 3.74593 5.53322 3.76686 5.4975 3.78809C4.95736 4.10921 4.22921 4.20491 3.60492 3.84473C3.35852 3.70251 3.04314 3.78689 2.90082 4.0332L2.01508 5.56738C1.8732 5.81339 1.95763 6.12844 2.20356 6.27051C2.82581 6.63004 3.10893 7.30612 3.10102 7.93457C3.10074 7.95632 3.10004 7.97816 3.10004 8C3.10004 8.0215 3.10075 8.04304 3.10102 8.06445C3.10885 8.69276 2.82656 9.36963 2.20453 9.72949C1.95828 9.87188 1.8739 10.1862 2.01606 10.4326L2.90082 11.9668C3.04316 12.2129 3.3587 12.2975 3.60492 12.1553C4.2292 11.7947 4.95725 11.8899 5.4975 12.2109C5.53307 12.2321 5.56976 12.2532 5.6059 12.2734C6.15394 12.5809 6.59992 13.1635 6.60004 13.8838C6.60004 14.1687 6.8317 14.4004 7.11664 14.4004H8.8852C9.16962 14.4002 9.4008 14.1692 9.40082 13.8848C9.40082 13.1642 9.84727 12.5819 10.395 12.2744C10.431 12.2542 10.4669 12.2331 10.5024 12.2119C11.0429 11.8901 11.7724 11.7937 12.3969 12.1543C12.6436 12.2965 12.9586 12.2125 13.101 11.9658L13.9858 10.4336C14.1278 10.1872 14.0433 9.87204 13.7973 9.72949C13.1739 9.36945 12.8917 8.69192 12.8998 8.06348C12.9001 8.04235 12.9008 8.02119 12.9008 8C12.9008 7.97848 12.9001 7.957 12.8998 7.93555C12.8917 7.30701 13.1738 6.62927 13.7973 6.26953C14.0432 6.1273 14.1278 5.81254 13.9858 5.56641L13.101 4.03418C12.9586 3.78743 12.6428 3.7025 12.3959 3.84473C11.7716 4.2048 11.0437 4.10877 10.5034 3.78711C10.4675 3.76576 10.4304 3.74506 10.394 3.72461C9.84659 3.41722 9.40082 2.83446 9.40082 2.11426C9.40061 1.83043 9.16997 1.59997 8.88617 1.59961H7.11567Z" 328 }, null, -1)])); 329} 330var wn = /* @__PURE__ */ e(xn, [["render", Cn]]); 331var Tn = { 332 "en-US": { avatar: { 333 nameAlt: "{name} profile avatar", 334 countAlt: "{count} users profile avatars", 335 online: "online", 336 mobile: "mobile", 337 away: "away", 338 offline: "offline", 339 outOfOffice: "out of office", 340 inMeeting: "in meeting", 341 inCall: "in call", 342 inCalendarEvent: "in a calendar event", 343 busy: "busy",
344 doNotDisturb: "do not disturb", 345 blocked: "block", 346 deactivated: "deactivated", 347 agent: "AI Agent" 348 } }, 349 "de-DE": { avatar: { 350 nameAlt: "{name} Profil-Avatar", 351 countAlt: "Profil-Avatare von {count} Benutzern", 352 online: "Online", 353 mobile: "Mobiltelefon", 354 away: "abwesend", 355 offline: "offline", 356 outOfOffice: "abwesend", 357 inMeeting: "im Meeting", 358 inCall: "im Abruf", 359 inCalendarEvent: "in einem Kalenderereignis", 360 busy: "beschäftigt", 361 doNotDisturb: "Nicht stören", 362 blocked: "blockieren", 363 deactivated: "deaktiviert", 364 agent: "KI-Agent" 365 } }, 366 "es-ES": { avatar: { 367 nameAlt: "Avatar del perfil de {name}", 368 countAlt: "Avatares de perfil de {count} usuarios", 369 online: "en lÃnea", 370 mobile: "móvil", 371 away: "ausente", 372 offline: "sin conexión", 373 outOfOffice: "fuera de la oficina", 374 inMeeting: "en una reunión", 375 inCall: "en una llamada", 376 inCalendarEvent: "en un evento de calendario", 377 busy: "ocupado", 378 doNotDisturb: "no molestar", 379 blocked: "bloqueado", 380 deactivated: "desactivado", 381 agent: "Agente de IA" 382 } }, 383 "fr-FR": { avatar: { 384 nameAlt: "Avatar du profil de {name}", 385 countAlt: "{count} avatars du profil utilisateur", 386 online: "en ligne", 387 mobile: "appareil mobile", 388 away: "momentanément absent", 389 offline: "hors ligne", 390 outOfOffice: "absent du bureau", 391 inMeeting: "en réunion", 392 inCall: "en cours dâappel", 393 inCalendarEvent: "dans un événement de calendrier", 394 busy: "occupé", 395 doNotDisturb: "ne pas déranger", 396 blocked: "bloquer", 397 deactivated: "désactivé", 398 agent: "Agent IA" 399 } }, 400 "id-ID": { avatar: { 401 nameAlt: "Avatar profil {name}", 402 countAlt: "{count} avatar profil pengguna", 403 online: "online", 404 mobile: "seluler", 405 away: "tidak di tempat", 406 offline: "offline", 407 outOfOffice: "di luar kantor", 408 inMeeting: "dalam rapat", 409 inCall: "dalam panggilan", 410 inCalendarEvent: "dalam acara kalender", 411 busy: "sibuk", 412 doNotDisturb: "jangan ganggu", 413 blocked: "blokir", 414 deactivated: "dinonaktifkan", 415 agent: "Agen AI" 416 } }, 417 "it-IT": { avatar: { 418 nameAlt: "Avatar profilo di {name}", 419 countAlt: "Avatar profilo di {count} utenti", 420 online: "online", 421 mobile: "cellulare", 422 away: "assente", 423 offline: "offline", 424 outOfOffice: "fuori ufficio", 425 inMeeting: "in riunione", 426 inCall: "in chiamata", 427 inCalendarEvent: "In un evento del calendario", 428 busy: "occupato", 429 doNotDisturb: "non disturbare", 430 blocked: "bloccare", 431 deactivated: "disattivato", 432 agent: "Agente IA" 433 } }, 434 "jp-JP": { avatar: { 435 nameAlt: "{name} ããã®ãããã£ã¼ã« ã¢ãã¿ã¼", 436 countAlt: "{count} åã®ã¦ã¼ã¶ã¼ ãããã£ã¼ã« ã¢ãã¿ã¼", 437 online: "ãªã³ã©ã¤ã³", 438 mobile: "ã¢ãã¤ã«", 439 away: "é¢å¸ä¸", 440 offline: "ãªãã©ã¤ã³", 441 outOfOffice: "å¤åºä¸", 442 inMeeting: "ãã¼ãã£ã³ã°ä¸", 443 inCall: "é話ä¸", 444 inCalendarEvent: "ã«ã¬ã³ãã¼ ã¤ãã³ãå ", 445 busy: "å¤å¿", 446 doNotDisturb: "åãè¾¼ã¿ä¸", 447 blocked: "ãããã¯", 448 deactivated: "ãã£ã¢ã¯ãã£ãã¼ãæ¸ã¿", 449 agent: "AIã¨ã¼ã¸ã§ã³ã" 450 } }, 451 "ko-KO": { avatar: { 452 nameAlt: "{name} íë¡í ìë°í", 453 countAlt: "{count}ê° ì¬ì©ì íë¡í ìë°í", 454 online: "ì¨ë¼ì¸", 455 mobile: "모ë°ì¼", 456 away: "ì리 ë¹ì", 457 offline: "ì¤íë¼ì¸", 458 outOfOffice: "ë¶ì¬ ì¤", 459 inMeeting: "íì ì¤", 460 inCall: "íµí ì¤", 461 inCalendarEvent: "ìºë¦°ë ì´ë²¤í¸ ì¤", 462 busy: "ë°ì¨", 463 doNotDisturb: "ë°©í´ ê¸ì§", 464 blocked: "ì°¨ë¨", 465 deactivated: "ë¹íì±íë¨", 466 agent: "AI ìì´ì í¸" 467 } }, 468 "nl-NL": { avatar: { 469 nameAlt: "Avatar profiel van {name}", 470 countAlt: "{count} avatars van gebruikersprofielen", 471 online: "online", 472 mobile: "mobiel", 473 away: "afwezig", 474 offline: "offline", 475 outOfOffice: "niet op kantoor", 476 inMeeting: "in vergadering", 477 inCall: "in gesprek", 478 inCalendarEvent: "in een agenda-evenement", 479 busy: "bezet", 480 doNotDisturb: "niet storen", 481 blocked: "blokkeren", 482 deactivated: "gedeactiveerd", 483 agent: "AI-agent" 484 } }, 485 "pl-PL": { avatar: { 486 nameAlt: "Awatar profilu {name}", 487 countAlt: "liczba awatarów profilu użytkownika: {count}", 488 online: "online", 489 mobile: "wersja na urzÄ dzenie mobilne", 490 away: "nieobecny(-a)", 491 offline: "offline", 492 outOfOffice: "poza biurem", 493 inMeeting: "na spotkaniu", 494 inCall: "rozmawia", 495 inCalendarEvent: "w wydarzeniu z kalendarza", 496 busy: "zajÄty(-a)", 497 doNotDisturb: "nie przeszkadzaÄ", 498 blocked: "zablokuj", 499 deactivated: "dezaktywowano", 500 agent: "Agent AI" 501 } }, 502 "pt-PT": { avatar: { 503 nameAlt: "Avatar do perfil de {name}",
504 countAlt: "{count} avatares do perfil do usuário", 505 online: "online", 506 mobile: "celular", 507 away: "ausente", 508 offline: "offline", 509 outOfOffice: "fora do escritório", 510 inMeeting: "em reunião", 511 inCall: "em chamada", 512 inCalendarEvent: "em um evento do calendário", 513 busy: "ocupado", 514 doNotDisturb: "não perturbe", 515 blocked: "bloquear", 516 deactivated: "desativado", 517 agent: "Agente de IA" 518 } }, 519 "ru-RU": { avatar: { 520 nameAlt: "ÐваÑÐ°Ñ Ð¿ÑоÑÐ¸Ð»Ñ ({name})", 521 countAlt: "ÐваÑаÑÑ Ð¿ÑоÑилей полÑзоваÑелей ({count})", 522 online: "в ÑеÑи", 523 mobile: "мобилÑное ÑÑÑÑойÑÑво", 524 away: "Ð½ÐµÑ Ð½Ð° меÑÑе", 525 offline: "не в ÑеÑи", 526 outOfOffice: "Ð½ÐµÑ Ð½Ð° ÑабоÑем меÑÑе", 527 inMeeting: "на конÑеÑенÑии", 528 inCall: "в вÑзове", 529 inCalendarEvent: "на меÑопÑиÑÑии календаÑÑ", 530 busy: "занÑÑ", 531 doNotDisturb: "не беÑпокоиÑÑ", 532 blocked: "заблокиÑован", 533 deactivated: "деакÑивиÑовано", 534 agent: "ÐÐ-агенÑ" 535 } }, 536 "sv-SE": { avatar: { 537 nameAlt: "{name} profilavatar", 538 countAlt: "{count} användares profilavatarer", 539 online: "online", 540 mobile: "mobil", 541 away: "borta", 542 offline: "offline", 543 outOfOffice: "inte pÃ¥ kontoret", 544 inMeeting: "i möte", 545 inCall: "i samtal", 546 inCalendarEvent: "i ett kalenderevenemang", 547 busy: "upptagen", 548 doNotDisturb: "stör inte", 549 blocked: "blockera", 550 deactivated: "inaktiverad", 551 agent: "AI-agent" 552 } }, 553 "tr-TR": { avatar: { 554 nameAlt: "{name} profil avatarı", 555 countAlt: "{count} kullanıcı profil avatarları", 556 online: "çevrim içi", 557 mobile: "mobil", 558 away: "dıÅarıda", 559 offline: "çevrim dıÅı", 560 outOfOffice: "ofis dıÅında", 561 inMeeting: "toplantıda", 562 inCall: "çaÄrıda", 563 inCalendarEvent: "bir takvim etkinliÄinde", 564 busy: "meÅgul", 565 doNotDisturb: "rahatsız etmeyin", 566 blocked: "engelle", 567 deactivated: "devre dıÅı", 568 agent: "Yapay Zeka Temsilcisi" 569 } }, 570 "vi-VN": { avatar: { 571 nameAlt: "Ảnh Äại diá»n há» sÆ¡ cá»§a {name}", 572 countAlt: "Ảnh Äại diá»n há» sÆ¡ cá»§a {count} ngưá»i dùng", 573 online: "trá»±c tuyến", 574 mobile: "di Äá»ng", 575 away: "á» xa", 576 offline: "ngoại tuyến", 577 outOfOffice: "vắng mặt", 578 inMeeting: "trong cuá»c há»p", 579 inCall: "trong cuá»c gá»i", 580 inCalendarEvent: "trong má»t sá»± kiá»n lá»ch", 581 busy: "báºn", 582 doNotDisturb: "Äừng là m phiá»n", 583 blocked: "chặn", 584 deactivated: "Äã há»§y kÃch hoạt", 585 agent: "Tác tá» AI" 586 } }, 587 "zh-CN": { avatar: { 588 nameAlt: "{name}个人信æ¯èæå½¢è±¡", 589 countAlt: "{count}ä¸ªç¨æ·ä¸ªäººä¿¡æ¯èæå½¢è±¡", 590 online: "å¨çº¿", 591 mobile: "ææº", 592 away: "离å¼", 593 offline: "离线", 594 outOfOffice: "ä¸å¨åå ¬å®¤", 595 inMeeting: "ä¼è®®ä¸", 596 inCall: "éè¯ä¸", 597 inCalendarEvent: "卿¥åäºä»¶ä¸", 598 busy: "å¿ç¢", 599 doNotDisturb: "è¯·å¿ææ°", 600 blocked: "å±è½", 601 deactivated: "å·²åç¨", 602 agent: "AIæºè½ä½" 603 } }, 604 "zh-TW": { avatar: { 605 nameAlt: "{name}è¨å®æªèæ¬äººå¶", 606 countAlt: "{count}å使ç¨è è¨å®æªèæ¬äººå¶", 607 online: "ä¸ç·", 608 mobile: "ææ©", 609 away: "é¢é", 610 offline: "é¢ç·", 611 outOfOffice: "ä¸å¨è¾¦å ¬å®¤", 612 inMeeting: "æè°ä¸", 613 inCall: "é話ä¸", 614 inCalendarEvent: "卿¥ææ´»åä¸", 615 busy: "å¿ç¢", 616 doNotDisturb: "è«å¿ææ¾", 617 blocked: "å°é", 618 deactivated: "å·²åç¨", 619 agent: "AI代ç" 620 } } 621}; 622yo(), gn$1(), De(), it$1(); 623var En = Object.defineProperty; 624var Dn = Object.defineProperties; 625var On = Object.getOwnPropertyDescriptors; 626var kn = Object.getOwnPropertySymbols; 627var An = Object.prototype.hasOwnProperty; 628var jn = Object.prototype.propertyIsEnumerable; 629var Mn = (e, t, n) => t in e ? En(e, t, { 630 enumerable: !0, 631 configurable: !0, 632 writable: !0, 633 value: n 634}) : e[t] = n; 635var Nn = (e, t) => { 636 for (var n in t || (t = {})) An.call(t, n) && Mn(e, n, t[n]); 637 if (kn) for (var n of kn(t)) jn.call(t, n) && Mn(e, n, t[n]); 638 return e; 639}; 640var Pn = (e, t) => Dn(e, On(t)); 641var Fn = { 642 size: { 643 type: String, 644 default: "sm" 645 }, 646 src: String, 647 color: { type: String }, 648 fullName: String, 649 shortName: String, 650 icon: { type: Object }, 651 iconStyle: { 652 type: [ 653 String, 654 Object, 655 Array 656 ], 657 default: "" 658 }, 659 presenceStatus: String, 660 interactive: Boolean, 661 disabled: Boolean 662}; 663var In = { 664 online: fn, 665 mobile: $t, 666 away: at, 667 offline: rn, 668 outOfOffice: cn, 669 inMeeting: Gt, 670 inCall: Yt, 671 inCalendarEvent: Vt, 672 busy: xt, 673 doNotDisturb: kt, 674 blocked: lt, 675 deactivated: rn, 676 agent: Ze 677}; 678function Ln(e) { 679 if (!e) return; 680 let t = 0; 681 for (let n = 0; n < e.length; n++) t += e.charCodeAt(n); 682 return t %= 8, [ 683 "green", 684 "teal", 685 "steel", 686 "purple", 687 "gray", 688 "yellow", 689 "orange", 690 "red" 691 ][t]; 692} 693function Rn(e, t, n = !1, r = 24) { 694 let i = t / r; 695 return `path("${zn(e).map((e) => Vn(e, i, n, r)).join(" ")}")`; 696} 697function zn(e) { 698 let t = [], n = /([MLHVCSQTAZ])\s*([^MLHVCSQTAZ]*)/gi, r; 699 for (; (r = n.exec(e)) !== null;) { 700 let e = r[1].toUpperCase(), n = r[2].trim(); 701 if (e === "Z") t.push({ 702 type: "Z", 703 relative: !1, 704 params: [] 705 }); 706 else { 707 let i = Bn(n), a = r[1] === r[1].toLowerCase(); 708 t.push({ 709 type: e, 710 relative: a, 711 params: i 712 }); 713 } 714 } 715 return t; 716} 717function Bn(e) { 718 /* istanbul ignore next @preserve */ 719 if (!e) return []; 720 let t = e.match(/-?\d*\.?\d+/g); 721 return t ? t.map(Number) : []; 722} 723/* istanbul ignore next @preserve */ 724function Vn(e, t, n, r) { 725 let { type: i, relative: a, params: o } = e; 726 if (i === "Z") return "Z"; 727 let s = []; 728 switch (i) { 729 case "M": 730 case "L": 731 s = Hn(o, t, 2, n, r); 732 break; 733 case "H": 734 s = Hn(o, t, 1, n, r, "x"); 735 break; 736 case "V": 737 s = Hn(o, t, 1, n, r, "y"); 738 break; 739 case "C": 740 s = Hn(o, t, 6, n, r); 741 break; 742 case "S": 743 s = Hn(o, t, 4, n, r); 744 break; 745 case "Q": 746 s = Hn(o, t, 4, n, r); 747 break; 748 case "T": 749 s = Hn(o, t, 2, n, r); 750 break; 751 case "A": 752 s = Wn(o, t, n, r); 753 break; 754 default: s = o; 755 } 756 return (a ? i.toLowerCase() : i.toUpperCase()) + s.join(" "); 757} 758/* istanbul ignore next @preserve */ 759function Hn(e, t, n, r, i, a) { 760 let o = e.slice(0, n).map((e) => e * t); 761 if (!r) return o; 762 let s = []; 763 for (let e = 0; e < o.length; e++) a === "x" ? s.push(Un(o[e], i * t)) : a === "y" ? s.push(o[e]) : e % 2 == 0 ? s.push(Un(o[e], i * t)) : s.push(o[e]); 764 return s; 765} 766/* istanbul ignore next @preserve */ 767function Un(e, t) { 768 return t - e; 769} 770/* istanbul ignore next @preserve */ 771function Wn(e, t, n, r) { 772 if (e.length < 7) return e; 773 let i = []; 774 if (i.push(e[0] * t), i.push(e[1] * t), n) { 775 let n = e[2], a = e[3], o = e[4]; 776 i.push(-n), i.push(a), i.push(1 - o);
777 let s = e[5] * t, c = e[6] * t; 778 i.push(Un(s, r * t)), i.push(c); 779 } else i.push(e[2]), i.push(e[3]), i.push(e[4]), i.push(e[5] * t), i.push(e[6] * t); 780 return i; 781} 782var Gn = "M12 0C14.446 0 16.0894 0.000785523 17.3457 0.172852C17.1233 0.738949 17 1.35498 17 2C17 4.76142 19.2386 7 22 7C22.6448 7 23.2602 6.8756 23.8262 6.65332C23.9984 7.9098 24 9.5533 24 12C24 15.7275 23.9996 17.5914 23.3906 19.0615C22.5787 21.0216 21.0216 22.5787 19.0615 23.3906C17.5914 23.9996 15.7275 24 12 24C8.27247 24 6.40865 23.9996 4.93848 23.3906C2.97841 22.5787 1.42132 21.0216 0.609375 19.0615C0.00041126 17.5914 0 15.7275 0 12C0 8.27247 0.00041126 6.40865 0.609375 4.93848C1.42132 2.97841 2.97841 1.42132 4.93848 0.609375C6.40865 0.00041126 8.27247 0 12 0Z"; 783var Kn = "M12 0C14.2555 0 15.8285 0.000830718 17.0449 0.135742C17.0361 0.20221 17.0288 0.267997 17.0234 0.333008C16.9996 0.624308 17 0.975194 17 1.36426V3.63574C17 4.02481 16.9996 4.37569 17.0234 4.66699C17.0489 4.97881 17.107 5.31004 17.2725 5.63477C17.5121 6.10517 17.8948 6.48786 18.3652 6.72754C18.69 6.89295 19.0212 6.95107 19.333 6.97656C19.6243 7.00036 19.9752 7.00002 20.3643 7H23.6357C23.7148 7 23.7925 6.99824 23.8682 6.99805C23.9984 8.20852 24 9.77093 24 12C24 15.7275 23.9996 17.5914 23.3906 19.0615C22.5787 21.0216 21.0216 22.5787 19.0615 23.3906C17.5914 23.9996 15.7275 24 12 24C8.27247 24 6.40865 23.9996 4.93848 23.3906C2.97841 22.5787 1.42132 21.0216 0.609375 19.0615C0.00041126 17.5914 0 15.7275 0 12C0 8.27247 0.00041126 6.40865 0.609375 4.93848C1.42132 2.97841 2.97841 1.42132 4.93848 0.609375C6.40865 0.00041126 8.27247 0 12 0Z"; 784var qn = { 785 away: Gn, 786 blocked: Gn, 787 busy: Gn, 788 doNotDisturb: Gn, 789 offline: Gn, 790 online: Gn, 791 deactivated: Gn, 792 inCalendarEvent: Kn, 793 outOfOffice: Kn, 794 inCall: "M12 0C14.2536 0 15.826 0.000186657 17.042 0.134766C17.415 3.73024 20.2686 6.58343 23.8643 6.95703C23.999 8.17319 24 9.7457 24 12C24 15.7275 23.9996 17.5914 23.3906 19.0615C22.5787 21.0216 21.0216 22.5787 19.0615 23.3906C17.5914 23.9996 15.7275 24 12 24C8.27247 24 6.40865 23.9996 4.93848 23.3906C2.97841 22.5787 1.42132 21.0216 0.609375 19.0615C0.00041126 17.5914 0 15.7275 0 12C0 8.27247 0.00041126 6.40865 0.609375 4.93848C1.42132 2.97841 2.97841 1.42132 4.93848 0.609375C6.40865 0.00041126 8.27247 0 12 0Z", 795 inMeeting: "M12 0C13.2026 0 14.2112 0.00200969 15.0752 0.0224609C15.0551 0.159899 15.0393 0.299222 15.0293 0.441406C15.0002 0.855713 15 1.36072 15 1.96484V2.03418C15 2.63851 15.0002 3.14418 15.0293 3.55859C15.0596 3.99021 15.125 4.39842 15.2939 4.79297C15.6622 5.65278 16.3472 6.33784 17.207 6.70605C17.6016 6.87501 18.0098 6.94036 18.4414 6.9707C18.8557 6.99982 19.3607 7.00001 19.9648 7H20.0352C20.6393 7.00001 21.1443 6.99982 21.5586 6.9707C21.9902 6.94036 22.3984 6.87501 22.793 6.70605C23.1396 6.5576 23.4568 6.3564 23.7373 6.11426C23.9989 7.43619 24 9.18744 24 12C24 15.7275 23.9996 17.5914 23.3906 19.0615C22.5787 21.0216 21.0216 22.5787 19.0615 23.3906C17.5914 23.9996 15.7275 24 12 24C8.27247 24 6.40865 23.9996 4.93848 23.3906C2.97841 22.5787 1.42132 21.0216 0.609375 19.0615C0.00041126 17.5914 0 15.7275 0 12C0 8.27247 0.00041126 6.40865 0.609375 4.93848C1.42132 2.97841 2.97841 1.42132 4.93848 0.609375C6.40865 0.00041126 8.27247 0 12 0Z", 796 mobile: "M12 0C14.8944 0 16.6648 0.00104201 18 0.286133V4.5C18 5.88071 19.1193 7 20.5 7H23.5C23.6243 7 23.7458 6.98723 23.8652 6.96973C23.9985 8.18414 24 9.75351 24 12C24 15.7275 23.9996 17.5914 23.3906 19.0615C22.5787 21.0216 21.0216 22.5787 19.0615 23.3906C17.5914 23.9996 15.7275 24 12 24C8.27247 24 6.40865 23.9996 4.93848 23.3906C2.97841 22.5787 1.42132 21.0216 0.609375 19.0615C0.00041126 17.5914 0 15.7275 0 12C0 8.27247 0.00041126 6.40865 0.609375 4.93848C1.42132 2.97841 2.97841 1.42132 4.93848 0.609375C6.40865 0.00041126 8.27247 0 12 0Z", 797 agent: "M12 0C13.8791 0 15.6567 0.433153 17.2402 1.20312C16.765 1.87053 17.0043 2.92094 17.8916 3.22949C18.6378 3.4888 19.2856 3.81 19.7402 4.26465C20.1813 4.70599 20.4393 5.31003 20.7275 6.12012C21.0554 7.04085 22.1247 7.22771 22.7812 6.72949C23.5606 8.32066 24 10.1088 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM18.0791 2.19043C18.0925 2.20585 18.1073 2.22043 18.124 2.2334V2.23438C18.1105 2.22394 18.0983 2.21226 18.0869 2.2002C18.0841 2.19714 18.0818 2.19357 18.0791 2.19043Z" 798}; 799var Jn = { 800 xs: 20, 801 sm: 24, 802 md: 32, 803 lg: 40, 804 lgm: 48, 805 lx: 64, 806 lgx: 80,
807 xl: 110 808}; 809var Yn = Symbol("ZmAvatarGroup"); 810var Xn = [ 811 "tabindex", 812 "role", 813 "aria-disabled", 814 "aria-label" 815]; 816var Zn = ["src", "alt"]; 817var Qn = /* @__PURE__ */ Zn$1(Pn(Nn({}, { name: "ZmAvatar" }), { 818 __name: "avatar", 819 props: Fn, 820 setup(e) { 821 let n$3 = As(), r = e, a = Nn$1(Yn, void 0), o = _o(() => { 822 let { presenceStatus: e, size: t } = r; 823 return !a && e ? { clipPath: Rn(qn[e], Jn[t], n$3.value) } : {}; 824 }), l = _o(() => { 825 let { presenceStatus: e } = r; 826 if (e) return In[e]; 827 }), u = _o(() => { 828 let { size: e, presenceStatus: t } = r, i = Math.floor(Jn[e] / 24 * 8), a = n$3.value ? "left" : "right"; 829 if (t === "inMeeting") { 830 let t = Math.floor(Jn[e] / 24 * 12), r = Math.floor(Jn[e] / 24 * 8); 831 return { 832 height: `${r}px`, 833 width: `${t}px`, 834 [a]: `-${t * .33}px`, 835 top: `-${r * .25}px`, 836 backgroundColor: "transparent", 837 transform: n$3.value ? "scaleX(-1)" : void 0 838 }; 839 } 840 return { 841 fontSize: `${i}px`, 842 height: `${i}px`, 843 width: `${i}px`, 844 [a]: `-${i * .25}px`, 845 top: `-${i * .25}px`, 846 backgroundColor: "transparent", 847 transform: n$3.value ? "scaleX(-1)" : void 0 848 }; 849 }), d = ks("avatar"), p = mt$1(!1), { t: h } = dt$1(Tn), g = _o(() => { 850 if (r.interactive) return 0; 851 }), _ = _o(() => { 852 let { size: e, color: t, src: n, shortName: i, icon: a, presenceStatus: o, interactive: s } = r, c = t || Ln(i) || "steel"; 853 return (a || p.value) && (c = ""), [ 854 d.b(), 855 d.m(e), 856 c ? d.m(c) : void 0, 857 d.is("character", !n), 858 d.is("status", !!o), 859 d.is("interactive", s) 860 ]; 861 }), y = _o(() => r.interactive ? "button" : r.src || r.icon ? void 0 : "img"), b = _o(() => { 862 let { fullName: e, presenceStatus: t } = r, n = parseInt(e == null ? "" : e) > 0 ? h("avatar.countAlt", { count: e }) : h("avatar.nameAlt", { name: e == null ? "" : e }); 863 return t && (n += ", " + h(`avatar.${t}`)), n; 864 }), x = () => { 865 p.value = !0; 866 }; 867 return Fn$1(() => r.src, () => { 868 p.value = !1; 869 }), (e, n$2) => (ui$1(), mi$1("span", { 870 class: i(_.value), 871 tabindex: g.value, 872 role: y.value, 873 "aria-disabled": e.interactive && e.disabled, 874 "aria-label": e.src ? void 0 : b.value 875 }, [vi$1("span", { 876 class: i([ 877 _t$1(d).e("inner"), 878 _t$1(d).is("interactive", e.interactive), 879 _t$1(d).is("disabled", e.disabled) 880 ]), 881 style: n(o.value) 882 }, [e.icon ? (ui$1(), hi$1(_t$1(Hs), { 883 key: 0, 884 class: i([_t$1(d).m(e.size)]), 885 style: n(e.iconStyle) 886 }, { 887 default: kn$1(() => [(ui$1(), hi$1(pr$1(e.icon)))]), 888 _: 1 889 }, 8, ["class", "style"])) : (ui$1(), mi$1(J, { key: 1 }, [e.src ? An$1((ui$1(), mi$1("img", { 890 key: 0, 891 src: e.src, 892 alt: b.value, 893 onLoad: x 894 }, null, 40, Zn)), [[ze, p.value]]) : wi$1("", !0), p.value ? wi$1("", !0) : (ui$1(), mi$1(J, { key: 1 }, [Si$1(we(e.shortName), 1)], 64))], 64))], 6), l.value ? (ui$1(), hi$1(_t$1(Hs), { 895 key: 0, 896 class: i([_t$1(d).e("status-icon"), _t$1(d).is("meeting", e.presenceStatus === "inMeeting")]), 897 style: n(u.value) 898 }, { 899 default: kn$1(() => [(ui$1(), hi$1(pr$1(l.value)))]), 900 _: 1 901 }, 8, ["class", "style"])) : wi$1("", !0)], 10, Xn)); 902 } 903})); 904var $n = ws(Qn); 905gn$1(), yo(); 906var er = 0; 907function tr() { 908 let e = ht$1([]), t = ht$1([]), r = Zn$1({ 909 name: "ZmProgrammaticComponentHolder", 910 setup() { 911 let { uid: r } = so$1(); 912 t.value = [...t.value, r], xa$1(() => { 913 t.value = t.value.filter((e) => e !== r); 914 }); 915 let i = _o(() => r === t.value[0]); 916 return () => i.value ? e.value.map((e) => Bi$1(e.Comp, Oi$1(yt$1(e.propsRef.value), { 917 key: `ZmProgrammaticComponent__${e.id}`, 918 ref: e.instanceRef 919 }))) : (O("ZmProgrammaticComponentHolder", "Each Holder should only be used in one place."), null); 920 } 921 }); 922 return { 923 Holder: pt$1(r), 924 render: (t, n) => { 925 if (!Xo(t) && !Jo(t)) return; 926 let r = er++, i = !0, a = { 927 id: r, 928 Comp: t, 929 propsRef: ht$1(Xo(n) ? n : {}), 930 instanceRef: ht$1(null) 931 }; 932 e.value = [...e.value, a]; 933 function o() { 934 i && (i = !1, e.value.indexOf(a) > -1 && (e.value = e.value.filter((e) => e !== a))); 935 } 936 function s(e) { 937 i && (a.propsRef.value = Xo(e) ? e : {}); 938 } 939 return { 940 get id() { 941 return r; 942 }, 943 destroy: o, 944 update: s, 945 get instance() { 946 return a.instanceRef.value; 947 } 948 }; 949 } 950 }; 951} 952var nr = "/multi_account/add_account"; 953var rr = { 954 account: "profile-menu-account-manage", 955 signOut: "btnLogout" 956}; 957var ir = { 958 SSO: 101, 959 Google: 1, 960 Facebook: 0, 961 Apple: 24, 962 Microsoft: 27 963}; 964var ar = /* @__PURE__ */ function(e) { 965 return e[e.Free = 0] = "Free", e[e.Licensed = 1] = "Licensed", e[e.Fremium = 2] = "Fremium", e; 966}({}); 967var or = /* @__PURE__ */ function(e) { 968 return e[e.None = 0] = "None", e[e.Upgrade = 1] = "Upgrade", e[e.ContactAdmin = 2] = "ContactAdmin", e[e.GetMoreCredits = 3] = "GetMoreCredits", e[e.ManageCredits = 4] = "ManageCredits", e[e.ManageAILicense = 5] = "ManageAILicense", e[e.TrialToPaid = 6] = "TrialToPaid", e[e.updateToZoomMate = 7] = "updateToZoomMate", e; 969}({}); 970var sr = { Zoommate: "zoommate" }; 971var cr = (e) => { 972 if (typeof e == "string") return e.trim() || void 0; 973}; 974var lr = (e = "", t) => { 975 let n = cr(t); 976 return N(c("/profile/menu", e))(n ? { productKey: n } : {}); 977}; 978var ur = (e = "") => N(c("/profile/menu/brief", e))(); 979var dr = (e = "") => M(c("/multi_account/list", e))(); 980var fr = (e = "") => M(c("/multi_account/clear", e))(); 981var pr = (e, t = "") => M(c("/multi_account/remove", t))(e); 982var mr = (e, t = "") => M(c("/multi_account/switch_login", t))(e); 983var hr = (e, t = "") => M(c("/waffle/save_simplified_portal_enabled", t))(e); 984var gr = (e, t = "") => N(c("/billing/get_usage_detail", t))(e); 985var _r = (e = "") => N(c("/billing/get_credit_usage", e))(); 986var vr = (e, t = "") => o.get(c("/billing/export_usage_detail", t), { 987 params: e, 988 responseType: "blob" 989}); 990function yr(e, t) { 991 (t == null || t > e.length) && (t = e.length); 992 for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n]; 993 return r; 994} 995function br(e, t, n, r, i, a, o) { 996 try { 997 var s = e[a](o), c = s.value; 998 } catch (e) { 999 n(e); 1000 return; 1001 } 1002 s.done ? t(c) : Promise.resolve(c).then(r, i); 1003} 1004function xr(e) { 1005 return function() { 1006 var t = this, n = arguments; 1007 return new Promise(function(r, i) { 1008 var a = e.apply(t, n); 1009 function o(e) { 1010 br(a, r, i, o, s, "next", e); 1011 } 1012 function s(e) { 1013 br(a, r, i, o, s, "throw", e); 1014 } 1015 o(void 0); 1016 }); 1017 }; 1018} 1019function Sr(e, t, n) { 1020 return (t = function(e) { 1021 var t = function(e, t) { 1022 if (typeof e != "object" || !e) return e; 1023 var n = e[Symbol.toPrimitive]; 1024 if (n !== void 0) { 1025 var r = n.call(e, t || "default"); 1026 if (typeof r != "object") return r; 1027 throw TypeError("@@toPrimitive must return a primitive value."); 1028 } 1029 return (t === "string" ? String : Number)(e); 1030 }(e, "string"); 1031 return typeof t == "symbol" ? t : t + ""; 1032 }(t)) in e ? Object.defineProperty(e, t, { 1033 value: n, 1034 enumerable: !0, 1035 configurable: !0, 1036 writable: !0 1037 }) : e[t] = n, e; 1038} 1039function Cr() { 1040 return Cr = Object.assign ? Object.assign.bind() : function(e) { 1041 for (var t = 1; t < arguments.length; t++) { 1042 var n = arguments[t]; 1043 for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]); 1044 } 1045 return e; 1046 }, Cr.apply(null, arguments); 1047} 1048function wr(e, t) { 1049 var n = Object.keys(e); 1050 if (Object.getOwnPropertySymbols) { 1051 var r = Object.getOwnPropertySymbols(e); 1052 t && (r = r.filter(function(t) { 1053 return Object.getOwnPropertyDescriptor(e, t).enumerable; 1054 })), n.push.apply(n, r); 1055 } 1056 return n; 1057} 1058function Tr(e) { 1059 for (var t = 1; t < arguments.length; t++) { 1060 var n = arguments[t] == null ? {} : arguments[t];
1061 t % 2 ? wr(Object(n), !0).forEach(function(t) { 1062 Sr(e, t, n[t]); 1063 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wr(Object(n)).forEach(function(t) { 1064 Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); 1065 }); 1066 } 1067 return e; 1068} 1069function Er() { 1070 var e, t, n = typeof Symbol == "function" ? Symbol : {}, r = n.iterator || "@@iterator", i = n.toStringTag || "@@toStringTag"; 1071 function a(n, r, i, a) { 1072 var c = r && r.prototype instanceof s ? r : s, l = Object.create(c.prototype); 1073 return Z(l, "_invoke", function(n, r, i) { 1074 var a, s, c, l = 0, u = i || [], d = !1, f = { 1075 p: 0, 1076 n: 0, 1077 v: e, 1078 a: p, 1079 f: p.bind(e, 4), 1080 d: function(t, n) { 1081 return a = t, s = 0, c = e, f.n = n, o; 1082 } 1083 }; 1084 function p(n, r) { 1085 for (s = n, c = r, t = 0; !d && l && !i && t < u.length; t++) { 1086 var i, a = u[t], p = f.p, m = a[2]; 1087 n > 3 ? (i = m === r) && (c = a[(s = a[4]) ? 5 : (s = 3, 3)], a[4] = a[5] = e) : a[0] <= p && ((i = n < 2 && p < a[1]) ? (s = 0, f.v = r, f.n = a[1]) : p < m && (i = n < 3 || a[0] > r || r > m) && (a[4] = n, a[5] = r, f.n = m, s = 0)); 1088 } 1089 if (i || n > 1) return o; 1090 throw d = !0, r; 1091 } 1092 return function(i, u, m) { 1093 if (l > 1) throw TypeError("Generator is already running"); 1094 for (d && u === 1 && p(u, m), s = u, c = m; (t = s < 2 ? e : c) || !d;) { 1095 a || (s ? s < 3 ? (s > 1 && (f.n = -1), p(s, c)) : f.n = c : f.v = c); 1096 try { 1097 if (l = 2, a) { 1098 if (s || (i = "next"), t = a[i]) { 1099 if (!(t = t.call(a, c))) throw TypeError("iterator result is not an object"); 1100 if (!t.done) return t; 1101 c = t.value, s < 2 && (s = 0); 1102 } else s === 1 && (t = a.return) && t.call(a), s < 2 && (c = TypeError("The iterator does not provide a '" + i + "' method"), s = 1); 1103 a = e; 1104 } else if ((t = (d = f.n < 0) ? c : n.call(r, f)) !== o) break; 1105 } catch (t) { 1106 a = e, s = 1, c = t; 1107 } finally { 1108 l = 1; 1109 } 1110 } 1111 return { 1112 value: t, 1113 done: d 1114 }; 1115 }; 1116 }(n, i, a), !0), l; 1117 } 1118 var o = {}; 1119 function s() {} 1120 function c() {} 1121 function l() {} 1122 t = Object.getPrototypeOf; 1123 var u = [][r] ? t(t([][r]())) : (Z(t = {}, r, function() { 1124 return this; 1125 }), t), d = l.prototype = s.prototype = Object.create(u); 1126 function f(e) { 1127 return Object.setPrototypeOf ? Object.setPrototypeOf(e, l) : (e.__proto__ = l, Z(e, i, "GeneratorFunction")), e.prototype = Object.create(d), e; 1128 } 1129 return c.prototype = l, Z(d, "constructor", l), Z(l, "constructor", c), c.displayName = "GeneratorFunction", Z(l, i, "GeneratorFunction"), Z(d), Z(d, i, "Generator"), Z(d, r, function() { 1130 return this; 1131 }), Z(d, "toString", function() { 1132 return "[object Generator]"; 1133 }), (Er = function() { 1134 return { 1135 w: a, 1136 m: f 1137 }; 1138 })(); 1139} 1140function Z(e, t, n, r) { 1141 var i = Object.defineProperty; 1142 try { 1143 i({}, "", {}); 1144 } catch (e) { 1145 i = 0; 1146 } 1147 Z = function(e, t, n, r) { 1148 function a(t, n) { 1149 Z(e, t, function(e) { 1150 return this._invoke(t, n, e); 1151 }); 1152 } 1153 t ? i ? i(e, t, { 1154 value: n, 1155 enumerable: !r, 1156 configurable: !r, 1157 writable: !r 1158 }) : e[t] = n : (a("next", 0), a("throw", 1), a("return", 2)); 1159 }, Z(e, t, n, r); 1160} 1161function Dr(e, t) { 1162 return function(e) { 1163 if (Array.isArray(e)) return e; 1164 }(e) || function(e, t) { 1165 var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; 1166 if (n != null) { 1167 var r, i, a, o, s = [], c = !0, l = !1; 1168 try { 1169 if (a = (n = n.call(e)).next, t === 0) { 1170 if (Object(n) !== n) return; 1171 c = !1; 1172 } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0); 1173 } catch (e) { 1174 l = !0, i = e; 1175 } finally { 1176 try { 1177 if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return; 1178 } finally { 1179 if (l) throw i; 1180 } 1181 } 1182 return s; 1183 } 1184 }(e, t) || Ar(e, t) || function() { 1185 throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1186 }(); 1187} 1188function Or(e) { 1189 return function(e) { 1190 if (Array.isArray(e)) return yr(e); 1191 }(e) || function(e) { 1192 if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); 1193 }(e) || Ar(e) || function() { 1194 throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); 1195 }(); 1196} 1197function kr(e) { 1198 return kr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { 1199 return typeof e; 1200 } : function(e) { 1201 return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; 1202 }, kr(e); 1203} 1204function Ar(e, t) { 1205 if (e) { 1206 if (typeof e == "string") return yr(e, t); 1207 var n = {}.toString.call(e).slice(8, -1); 1208 return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yr(e, t) : void 0; 1209 } 1210} 1211var jr; 1212var Mr = function() { 1213 var e = function() {}, t = function() { 1214 function t(t) { 1215 var n = t.targetModal, r = t.onShow, i = r === void 0 ? e : r, a = t.onClose, o = a === void 0 ? e : a, s = t.openClass, c = s === void 0 ? "is-open" : s, l = t.disableScroll, u = l !== void 0 && l, d = t.disableFocus, f = d !== void 0 && d, p = t.awaitCloseAnimation, m = p !== void 0 && p, h = t.awaitOpenAnimation, g = h !== void 0 && h, _ = t.debugMode, v = _ !== void 0 && _; 1216 this.modal = document.getElementById(n), this.config = { 1217 debugMode: v, 1218 disableScroll: u, 1219 openClass: c, 1220 onShow: i, 1221 onClose: o, 1222 awaitCloseAnimation: m, 1223 awaitOpenAnimation: g, 1224 disableFocus: f 1225 }; 1226 } 1227 var n = t.prototype; 1228 return n.showModal = function() { 1229 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, t = arguments.length > 1 ? arguments[1] : void 0, n = this.modal; 1230 n.setAttribute("aria-hidden", "false"), n.classList.add(this.config.openClass), this.scrollBehaviour("disable"), this.config.awaitOpenAnimation && n.addEventListener("animationend", function() { 1231 t == null || t(); 1232 }, { once: !0 }), this.config.onShow(n, e); 1233 }, n.closeModal = function() { 1234 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : function() {}, n = this.modal; 1235 if (this.modal.setAttribute("aria-hidden", "true"), this.scrollBehaviour("enable"), this.config.onClose(this.modal, e), this.config.awaitCloseAnimation) { 1236 var r = this.config.openClass; 1237 n.addEventListener("animationend", function() { 1238 n.classList.remove(r), t == null || t(); 1239 }, { once: !0 }); 1240 } else n.classList.remove(this.config.openClass), t(); 1241 }, n.closeModalById = function(e, t) { 1242 this.modal = document.getElementById(e), this.modal && this.closeModal(null, t); 1243 }, n.scrollBehaviour = function(e) { 1244 if (this.config.disableScroll) { 1245 var t = document.querySelector("body"); 1246 switch (e) { 1247 case "enable": 1248 Cr(t.style, { overflow: "" }); 1249 break; 1250 case "disable": Cr(t.style, { overflow: "hidden" }); 1251 } 1252 } 1253 }, t; 1254 }(), n = null; 1255 return { 1256 show: function(e, r, i) { 1257 var a = r || {}; 1258 a.targetModal = e, !0 === a.debugMode && !1 === function(e) { 1259 if (!document.getElementById(e)) return !1; 1260 }(e) || (n = new t(a)).showModal(null, i); 1261 }, 1262 close: function(e, t) { 1263 e ? n.closeModalById(e, t) : n.closeModal(null, t); 1264 } 1265 }; 1266}(); 1267var Nr = (jr = location) == null || (jr = jr.search) == null ? void 0 : jr.includes("billing_log"); 1268var Pr = function() { 1269 return location && location.origin && /^(((https?:\/\/)?(.+\.)*zoomdev\.us)|((https?:\/\/)?(.+\.)*zoomext\.us))$/.test(location.origin.toLowerCase()) || Nr; 1270}; 1271var Fr = "background: green; color: white; padding: 2px; border-radius: 5px; padding: 3px 10px;"; 1272var Ir = "background: red; color: white; padding: 2px; border-radius: 5px; padding: 3px 10px;"; 1273var Lr = function(e) { 1274 for (var t, n = arguments.length, r = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) r[i - 1] = arguments[i];
1275 return Nr && console && (t = console).log.apply(t, [`%c[modal checkout] ${e}`, Fr].concat(r)); 1276}; 1277var Rr = function(e) { 1278 for (var t, n = arguments.length, r = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) r[i - 1] = arguments[i]; 1279 return Nr && console && (t = console).log.apply(t, [`%c[modal checkout] ${e}`, Ir].concat(r)); 1280}; 1281var zr = function() {}; 1282var Br = "mc_close"; 1283var Vr = "mc_success"; 1284var Hr = "mc_openNewTab"; 1285var Ur = "mc_replaceCurrentPage"; 1286var Wr = "mc_showClose"; 1287var Gr = "mc_hiddenClose"; 1288var Kr = "mc_showLoading"; 1289var qr = "mc_hiddenLoading"; 1290var Jr = "mc_send_close"; 1291var Yr = "mc_switch_account"; 1292var Xr = "mc_resize_modal"; 1293var Zr = "mc_navigate"; 1294var Qr = "mc_reload_parent"; 1295var $r = "mc_safe_call"; 1296var ei = "mc_safe_set"; 1297var ti = "mc_safe_get_call"; 1298var ni = "mc_safe_get_response"; 1299var ri = function() { 1300 return Pr ? /^(((https?:\/\/)?(.+\.)*zoom\.us)|((https?:\/\/)?(.+\.)*zipow\.com)|((https?:\/\/)?(.+\.)*zoomgov\.com)|((https?:\/\/)?(.+\.)*zoomext\.us)|((https?:\/\/)?(.+\.)*zoomdev\.us)|((https?:\/\/)?(.+\.)*zoom\.cn)|((https?:\/\/)?(.+\.)*zoom\.com(\.cn)?)|((https?:\/\/)?(apisandbox|api|www)\.zuora\.com))$/ : /^(((https?:\/\/)?(.+\.)*zoom\.us)|((https?:\/\/)?(.+\.)*zipow\.com)|((https?:\/\/)?(.+\.)*zoomgov\.com)|((https?:\/\/)?(.+\.)*zoomdev\.us)|((https?:\/\/)?(.+\.)*zoom\.cn)|((https?:\/\/)?(.+\.)*zoom\.com(\.cn)?)|((https?:\/\/)?(apisandbox|api|www)\.zuora\.com))$/; 1301}; 1302var ii = function() { 1303 function e() { 1304 var e = this; 1305 Sr(this, "callbackList", []), Sr(this, "crossDomainWhitelist", []), Sr(this, "messageCallback", function(t) { 1306 var n, r; 1307 Lr("receive data:", t.data, t.origin); 1308 var i = ri(), a = ((n = t.origin) == null || (r = n.toLowerCase) == null ? void 0 : r.call(n)) || "", o = i.test(a); 1309 o || (o = e.isInWhitelist(t.origin)), o && e.callbackList.length > 0 && e.callbackList.forEach(function(e) { 1310 e == null || e(t); 1311 }); 1312 }), this.callbackList = [], this.crossDomainWhitelist = []; 1313 } 1314 var t = e.prototype; 1315 return t.registry = function() { 1316 return window.addEventListener("message", this.messageCallback, !1), this; 1317 }, t.listen = function() { 1318 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zr; 1319 this.callbackList.push(e); 1320 }, t.send = function(e) { 1321 var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : window; 1322 (t = n.postMessage) == null || t.call(n, e, "*"); 1323 }, t.unRegistry = function() { 1324 return this.callbackList = [], window.removeEventListener("message", this.messageCallback, !1), this; 1325 }, t.setCrossDomainWhitelist = function(e) { 1326 e && !this.crossDomainWhitelist.includes(e) && (this.crossDomainWhitelist.push(e), Lr("Added domain to cross-domain whitelist:", e)); 1327 }, t.isInWhitelist = function(e) { 1328 if (!e) return !1; 1329 try { 1330 var t = new URL(e); 1331 return this.crossDomainWhitelist.includes(t.hostname); 1332 } catch (e) { 1333 return !1; 1334 } 1335 }, e; 1336}(); 1337var ai = ["/billing/basic/config", "/buy/verifyTargetPlan"]; 1338var oi = class extends Error { 1339 constructor(e, t) { 1340 super(e), this.errorCode = t, this.name = "ApiError"; 1341 } 1342}; 1343var si = ""; 1344var ci = !1; 1345function li() { 1346 return si; 1347} 1348function ui() { 1349 return ci; 1350} 1351var di = /^(?:(?:https?|wss?):\/\/|localhost[:/])/i; 1352var fi = "billing-csrf-bridge"; 1353var pi = "ZOOM-CSRFTOKEN:"; 1354var mi = null; 1355var hi = null; 1356var gi = null; 1357var _i = 0; 1358function vi(e) { 1359 let t = (e || "").trim(); 1360 return t.toUpperCase().startsWith(pi) ? t.slice(15).trim() : t; 1361} 1362function yi(e, t = {}) { 1363 if (!si) return Promise.reject(/* @__PURE__ */ Error("requestDomain not set")); 1364 let n = si; 1365 return function() { 1366 if (!si) return Promise.reject(/* @__PURE__ */ Error("requestDomain not set")); 1367 if (mi) return mi; 1368 let e = si, t = `${e}/user_iframe_bridge`, n = document.getElementById(fi); 1369 if (n) { 1370 var r; 1371 if (n.contentWindow && n.src && n.src.startsWith(e)) return mi = Promise.resolve(n), mi; 1372 (r = n.parentNode) == null || r.removeChild(n), n = null, mi = null; 1373 } 1374 return document.body ? (n = document.createElement("iframe"), n.id = fi, n.src = t, n.style.display = "none", n.setAttribute("aria-hidden", "true"), mi = new Promise((e, t) => { 1375 let r = !1, i = (e) => { 1376 r || (r = !0, clearTimeout(s), n.removeEventListener("load", a), n.removeEventListener("error", o), e()); 1377 }, a = () => i(() => e(n)), o = () => i(() => { 1378 var e; 1379 mi = null, (e = n.parentNode) == null || e.removeChild(n), t(/* @__PURE__ */ Error("csrf bridge iframe load failed")); 1380 }), s = setTimeout(() => { 1381 i(() => { 1382 var e; 1383 mi = null, (e = n.parentNode) == null || e.removeChild(n), t(/* @__PURE__ */ Error("csrf bridge iframe load timeout")); 1384 }); 1385 }, 15e3); 1386 n.addEventListener("load", a, { once: !0 }), n.addEventListener("error", o, { once: !0 }), document.body.appendChild(n); 1387 }), mi) : Promise.reject(/* @__PURE__ */ Error("document.body not ready for bridge iframe")); 1388 }().then((r) => { 1389 let i = r.contentWindow; 1390 if (!i) throw Error("csrf bridge iframe contentWindow not available"); 1391 let a = `req_${Date.now()}_${Math.random().toString(36).slice(2)}`; 1392 return new Promise((r, o) => { 1393 var s; 1394 let c = !1, l = (e) => { 1395 c || (c = !0, clearTimeout(d), window.removeEventListener("message", u), e()); 1396 }, u = (e) => { 1397 e.source === i && e.data && e.data.type === "USER_BRIDGE_RESPONSE" && e.data.id === a && l(() => { 1398 e.data.success ? r({ 1399 status: e.data.status, 1400 body: e.data.body 1401 }) : o(Error(e.data.error || e.data.body || "bridge request failed")); 1402 }); 1403 }, d = setTimeout(() => { 1404 l(() => o(/* @__PURE__ */ Error("csrf bridge request timeout"))); 1405 }, 2e4); 1406 window.addEventListener("message", u), i.postMessage({ 1407 type: "USER_BRIDGE_REQUEST", 1408 id: a, 1409 url: e, 1410 method: t.method || "GET", 1411 headers: t.headers, 1412 body: (s = t.body) == null ? null : s 1413 }, n); 1414 }); 1415 }); 1416} 1417function bi() { 1418 return xi.apply(this, arguments); 1419} 1420function xi() { 1421 return xi = Zn$2(function* () {
1422 return si ? hi && Date.now() - _i < 24e4 ? hi : (hi = null, gi || (gi = Zn$2(function* () { 1423 return (yield yi("/csrf_js", { 1424 method: "POST", 1425 headers: { 1426 "Content-Type": "application/json", 1427 "FETCH-CSRF-TOKEN": "1" 1428 }, 1429 body: null 1430 })).body || ""; 1431 })().then((e) => (hi = e, _i = Date.now(), gi = null, e)).catch((e) => { 1432 throw gi = null, e; 1433 })), gi) : ""; 1434 }), xi.apply(this, arguments); 1435} 1436var Si = $$1.create(); 1437Si.interceptors.request.use(function() { 1438 var e = Zn$2(function* (e) { 1439 var t; 1440 if (e.url = function(e) { 1441 if (!si || !e || di.test(e)) return e; 1442 let t = e.startsWith("/") ? e : `/${e}`; 1443 return `${si}${t}`; 1444 }(e.url), li() && (e.withCredentials = !0, ui() && ((t = e.method) == null ? void 0 : t.toLowerCase()) === "post" && !/csrf_js/.test(e.url || ""))) { 1445 let t = yield bi(); 1446 t && (e.headers = e.headers || {}, e.headers["zoom-csrftoken"] = vi(t)); 1447 } 1448 return e; 1449 }); 1450 return function(t) { 1451 return e.apply(this, arguments); 1452 }; 1453}()), Si.interceptors.response.use((e, t = {}) => { 1454 let { url: n = "" } = t; 1455 return new Promise((t, r) => { 1456 var i; 1457 let a = (e == null ? void 0 : e.data) || {}, o = a.errorCode; 1458 return o === 201 || (i = e.request) != null && (i = i.responseURL) != null && i.endsWith("/signin") ? ai.includes(n) ? Promise.reject(/* @__PURE__ */ Error("redirect!")) : (window.location = "/signin", r(/* @__PURE__ */ Error(""))) : o === 7300 || o === 7302 ? r(/* @__PURE__ */ Error("limit block")) : o !== 0 && a.errorMessage ? r(new oi(a.errorMessage, a.errorCode)) : t(e); 1459 }); 1460}, function() { 1461 var e = Zn$2(function* (e) { 1462 var t; 1463 let n = e == null ? void 0 : e.config; 1464 if ((e == null || (t = e.response) == null ? void 0 : t.status) === 403 && li() && ui() && n && !n.__csrfRetried) { 1465 hi = null, gi = null, _i = 0, n.__csrfRetried = !0; 1466 let e = yield bi(); 1467 return e && (n.headers = n.headers || {}, n.headers["zoom-csrftoken"] = vi(e)), Si.request(n); 1468 } 1469 return Promise.reject(e); 1470 }); 1471 return function(t) { 1472 return e.apply(this, arguments); 1473 }; 1474}()); 1475var Ci = $$1.CancelToken; 1476function wi(e, t = {}) { 1477 let { returnAllData: n = !1 } = t; 1478 return e.then((e) => { 1479 if (n) return e; 1480 let t = e == null ? void 0 : e.data; 1481 return t ? Object.prototype.hasOwnProperty.call(t, "result") ? t.errorCode === 0 ? t.result : t.errorCode === void 0 ? t : function(e) { 1482 if (e.errorCode !== 201) return Promise.reject(Error(e.errorMessage)); 1483 window.location = "/signin"; 1484 }(t) : t : Promise.reject(/* @__PURE__ */ Error("Unexpected response format. Response body should contain data attribute.")); 1485 }).catch((e) => Promise.reject($$1.isCancel(e) ? e.message : e)); 1486} 1487var Ti = 512; 1488var Ei = function(e) { 1489 if (typeof e == "string") return e.length > Ti ? `${e.slice(0, Ti)}...[truncated]` : e; 1490 if (e && kr(e) === "object") { 1491 if (!0 === (n = e).isAxiosError || n.name === "AxiosError") return function(e) { 1492 var t, n, r = e.response, i = (t = r == null ? void 0 : r.config) == null ? e.config : t, a = r == null ? void 0 : r.headers; 1493 return { 1494 name: e.name, 1495 code: e.code, 1496 status: r == null ? void 0 : r.status, 1497 statusText: r == null ? void 0 : r.statusText, 1498 method: i == null ? void 0 : i.method, 1499 url: i == null ? void 0 : i.url, 1500 trackingId: (n = a == null ? void 0 : a["x-zm-trackingid"]) == null ? "" : n 1501 }; 1502 }(e); 1503 var t = {}; 1504 return Object.keys(e).forEach(function(n) { 1505 t[n] = Ei(e[n]); 1506 }), t; 1507 } 1508 var n; 1509 return e; 1510}; 1511var Di = function(e) { 1512 var t; 1513 return (t = e instanceof Error ? `${e.message} 1514 ${e.stack}` : e instanceof Object ? JSON.stringify(Ei(e)) : String(e)).length > Ti && (t = `${t.slice(0, Ti)}...[truncated]`), { error: t }; 1515}; 1516var Oi = ["originPre"]; 1517var ki = $$1.create(); 1518ki.interceptors.response.use(function(e) { 1519 return new Promise(function(t, n) { 1520 var r, i = (e == null ? void 0 : e.data) || {}, a = i == null ? void 0 : i.errorCode; 1521 return a === 201 || (r = e.request) != null && (r = r.responseURL) != null && r.endsWith("/signin") ? n(/* @__PURE__ */ Error("no permission")) : [7300, 7302].includes(a) ? n(/* @__PURE__ */ Error("Please wait for the request to be processed and try again later.")) : a !== 0 && i.errorMessage ? n(Error(i.errorMessage)) : t(i); 1522 }); 1523}); 1524var Ai = function() { 1525 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.originPre, n = t === void 0 ? "" : t, r = function(e, t) { 1526 if (e == null) return {}; 1527 var n, r, i = function(e, t) { 1528 if (e == null) return {}; 1529 var n = {}; 1530 for (var r in e) if ({}.hasOwnProperty.call(e, r)) { 1531 if (t.indexOf(r) !== -1) continue; 1532 n[r] = e[r]; 1533 } 1534 return n; 1535 }(e, t); 1536 if (Object.getOwnPropertySymbols) { 1537 var a = Object.getOwnPropertySymbols(e); 1538 for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]); 1539 } 1540 return i; 1541 }(e, Oi), i = `${n}/opc/modal/check`, a = { params: r }; 1542 return n && (a.withCredentials = !0), ki.get(i, a); 1543}; 1544var ji = { 1545 timeout: "high", 1546 check_fail: "medium", 1547 mac_limit: "medium", 1548 pwa_coep: "medium", 1549 not_modal: "medium", 1550 unknown: "high" 1551}; 1552var Mi = function() { 1553 var e, t, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; 1554 return ci = !0, e = function(e) { 1555 try { 1556 return new URL(e, window.location.origin).origin; 1557 } catch (e) { 1558 return window.location.origin; 1559 } 1560 }(n.redirectUrl), si = typeof e == "string" ? e.replace(/\/+$/, "") : "", function(e, t = !1) { 1561 return function({ data: n, params: r } = { 1562 data: null, 1563 params: null 1564 }) { 1565 return wi(Si.post(e, n, { 1566 params: r, 1567 headers: { "Content-Type": "application/json" }, 1568 cancelToken: new Ci(function(e) {}) 1569 }), { 1570 url: e, 1571 returnAllData: t 1572 }); 1573 }; 1574 }("/billing/report/server-exception")({ data: { 1575 action: "frontend|billing|open_modal_checkout", 1576 exception_type: "modal_checkout_exception", 1577 error_code: r.type, 1578 error_message: JSON.stringify(Di(r.e)), 1579 severity: (t = r.type, ji[t] || "low"), 1580 call_from: n.from, 1581 extra_context: Tr({ 1582 redirect_url: n.redirectUrl, 1583 current_page_path: `${window.location.protocol}//${window.location.host}${window.location.pathname}`, 1584 sdk_version: "1.0.75" 1585 }, r.extraContext) 1586 } }); 1587}; 1588var Ni = function() { 1589 return /.*(mobile|android|iphone|ipad|phone).*/i.test(navigator.userAgent); 1590}; 1591var Pi = [ 1592 "simplify", 1593 "addQty", 1594 { 1595 key: "type", 1596 value: "align" 1597 }, 1598 { 1599 key: "minimalist", 1600 value: "true" 1601 } 1602]; 1603var Fi = "pageType"; 1604var Ii = "pageFrom"; 1605var Li = "setting_design"; 1606var Ri = "entrySource"; 1607var zi = "setting_theme"; 1608var Bi = "setting_"; 1609var Vi = "setting_from"; 1610var Hi = "modal"; 1611var Ui = "system"; 1612var Wi = function(e, t) { 1613 var n = Gi(e); 1614 if (n && (n.searchParams.delete(Fi), e = /^(https?:)?\/\//.test(e) ? n.toString() : `${n.pathname}${n.search}${n.hash}`), t) return window.open(e, "_blank"); 1615 window.location.href = e; 1616}; 1617var Gi = function(e) { 1618 if (!e || typeof e != "string") return null; 1619 try { 1620 return e.startsWith("http://") || e.startsWith("https://") ? new URL(e) : new URL(e, window.location.origin); 1621 } catch (e) { 1622 return null; 1623 } 1624}; 1625var Ki = function(e, t) { 1626 var n = function(e) { 1627 return !e || kr(e) !== "object" || Array.isArray(e) ? [] : Object.entries(e).filter(function(e) { 1628 return Dr(e, 2)[1] != null; 1629 }); 1630 }(t); 1631 if (!e || typeof e != "string" || n.length === 0) return e; 1632 var r = Gi(e);
1633 if (r) return n.forEach(function(e) { 1634 var t = Dr(e, 2), n = t[0], i = t[1]; 1635 r.searchParams.has(n) || r.searchParams.set(n, i); 1636 }), /^(https?:)?\/\//.test(e) ? r.toString() : `${r.pathname}${r.search}${r.hash}`; 1637 var i = e; 1638 return n.forEach(function(e) { 1639 var t = Dr(e, 2), n = t[0], r = t[1]; 1640 if (!function(e, t) { 1641 var n = encodeURIComponent(t).replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); 1642 return RegExp(`[?&]${n}(?:=|&|#|\$)`).test(e); 1643 }(i, n)) { 1644 var a = i.indexOf("#"), o = a >= 0 ? i.slice(0, a) : i, s = a >= 0 ? i.slice(a) : ""; 1645 i = `${o}${o.includes("?") ? "&" : "?"}${encodeURIComponent(n)}=${encodeURIComponent(r)}${s}`; 1646 } 1647 }), i; 1648}; 1649var qi = function() { 1650 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; 1651 return !Ni() && !function() { 1652 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; 1653 if (!e || !t || t.length === 0) return !1; 1654 var n = Gi(e); 1655 return t.some(function(t) { 1656 if (typeof t == "string") return n ? n.searchParams.has(t) : RegExp(`[?&]${t}(?:=|&|\$)`).test(e); 1657 if (kr(t) === "object" && t.key) { 1658 if (n) return n.searchParams.get(t.key) === t.value; 1659 var r = t.key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), i = t.value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); 1660 return RegExp(`[?&]${r}=${i}(?:&|\$)`).test(e); 1661 } 1662 return !1; 1663 }); 1664 }(e, Pi) && window.innerWidth >= 1100; 1665}; 1666var Ji = function(e, t) { 1667 return function(e, t) { 1668 for (var n = function(e) { 1669 return String(e == null ? "" : e).split(/[._]/); 1670 }, r = n(e), i = n(t), a = Math.max(r.length, i.length), o = 0; o < a; o++) { 1671 var s = parseInt(r[o], 10) || 0, c = parseInt(i[o], 10) || 0; 1672 if (s > c) return 1; 1673 if (s < c) return -1; 1674 } 1675 return 0; 1676 }(e, t) < 0; 1677}; 1678var Yi = function() { 1679 if (!function() { 1680 return /^((?!chrome|android).)*safari/i.test(navigator.userAgent); 1681 }()) return !1; 1682 var e, t, n, r; 1683 if (window.ApplePaySession) return ((e = (t = window.ApplePaySession).supportsVersion) == null || !e.call(t, 7)) && ((n = (r = window.ApplePaySession).supportsVersion) != null && n.call(r, 6), !0); 1684 var i = navigator.userAgent.match(/Version\/(\d+(\.\d+)?)/), a = i ? parseFloat(i[1]) : null; 1685 return a !== null && a < 17; 1686}; 1687Object.values({ 1688 buyNow: "buyNow", 1689 basic2pro: "basic2pro", 1690 edit: "edit", 1691 add: "add", 1692 add2cart: "add2cart", 1693 pro2biz: "pro2biz", 1694 downgrade: "downgrade", 1695 upgrade: "upgrade", 1696 trial2paid: "trial2paid", 1697 buyTrial: "buy_trial", 1698 add2trial: "add_trial", 1699 mixBuy: "mix_buy", 1700 pro2bundle: "pro2zone_bundle", 1701 biz2bundle: "biz2zone_bundle", 1702 prop2bundle: "prop2zone_bundle", 1703 pro2prop: "pro2zone_proplus", 1704 zs2ze: "zs2ze", 1705 switch: "switch", 1706 esc2escp: "esc2escp" 1707}); 1708var Xi = ["modal", "fullscreen"]; 1709var Zi = function(e) { 1710 var t = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}) || {}, n = t.from, r = t.entrySource, i = t.enableSystemTheme, a = t.settings, o = qi(e), s = Gi(e); 1711 if (s) { 1712 var c = s.searchParams; 1713 return c.set(Fi, Hi), c.has("freeTrial") && c.set("setting_freeTrial", c.get("freeTrial")), a && Object.entries(a).forEach(function(e) { 1714 var t = Dr(e, 2), n = t[0], r = t[1]; 1715 c.set(`${Bi}${n}`, r); 1716 }), n != null && c.set(Ii, n), r != null && c.set(Ri, r), i && c.set(zi, Ui), c.has(Li) || o && c.set(Li, "v2"), c.has(Vi) || window.PwaConfig && c.set(Vi, "pwa"), s.toString(); 1717 } 1718 var l = `${e}&${Fi}=${Hi}`; 1719 a && Object.entries(a).forEach(function(e) { 1720 var t = Dr(e, 2), n = t[0], r = t[1]; 1721 l += `&${Bi}${encodeURIComponent(n)}=${encodeURIComponent(r)}`; 1722 }), n != null && (l += `&${Ii}=${n}`), r != null && (l += `&${Ri}=${r}`); 1723 var u = RegExp(`[?&]${zi}(?:=|&|\$)`); 1724 return i && !u.test(l) && (l += `&${zi}=${Ui}`), RegExp(`[?&]${Li}(?:=|&|\$)`).test(l) || o && (l += `&${Li}=v2`), window.PwaConfig && (RegExp(`[?&]${Vi}(?:=|&|\$)`).test(l) || (l += `&${Vi}=pwa`)), l; 1725}; 1726var Qi = Object.values({ addLicense: "add_license" }); 1727var $i = function(e) { 1728 return typeof window < "u" && window.location ? new URLSearchParams(window.location.search).get(e) : null; 1729}; 1730function ea(e, t) { 1731 if (!e || !t) return !1; 1732 if (t.indexOf(" ") !== -1) throw Error("className should not contain space."); 1733 return e.classList ? e.classList.contains(t) : (" " + e.className + " ").indexOf(" " + t + " ") > -1; 1734} 1735function ta(e) { 1736 return !!e && !!(e.offsetWidth || e.offsetHeight || e.getClientRects && e.getClientRects().length); 1737} 1738function na(e) { 1739 return !ta(e); 1740} 1741var Q = {}; 1742Q.Utils = Q.Utils || {}, Q.Utils.focusFirstDescendant = function(e, t) { 1743 for (var n = 0; n < e.childNodes.length; n++) { 1744 var r = e.childNodes[n]; 1745 if (r !== t && (Q.Utils.attemptFocus(r) || Q.Utils.focusFirstDescendant(r, t))) return !0; 1746 } 1747 return !1; 1748}, Q.Utils.getFocusableChildElements = function(e, t, n) { 1749 if (!e) return []; 1750 var r = [], i = function(e, t) { 1751 e !== t && Q.Utils.isFocusable(e) && r.push(e); 1752 }, a = function(e) { 1753 var o = e.childNodes; 1754 if (n && i(e, t), !o) return r; 1755 for (var s = 0; s < o.length; s++) { 1756 var c = o[s]; 1757 i(c, t); 1758 var l = c.childNodes; 1759 l && l.length > 0 && a(c); 1760 } 1761 return r; 1762 }; 1763 return a(e); 1764}, Q.Utils.focusLastDescendant = function(e, t) { 1765 for (var n = e.childNodes.length - 1; n >= 0; n--) { 1766 var r = e.childNodes[n]; 1767 if (r !== t && (Q.Utils.attemptFocus(r) || Q.Utils.focusLastDescendant(r, t))) return !0; 1768 } 1769 return !1; 1770}, Q.Utils.findLastFocusEl = function(e, t) { 1771 for (var n = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2], r = e.childNodes.length - 1; r >= 0; r--) { 1772 var i = e.childNodes[r]; 1773 if (i !== t && Q.Utils.isFocusable(i, n)) return i; 1774 var a = Q.Utils.findLastFocusEl(i, t, n); 1775 if (a) return a; 1776 } 1777 return null; 1778}, Q.Utils.findFirstFocusEl = function(e, t) { 1779 for (var n = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2], r = 0; r < e.childNodes.length; r++) { 1780 var i = e.childNodes[r]; 1781 if (i !== t && Q.Utils.isFocusable(i, n)) return i; 1782 var a = Q.Utils.findFirstFocusEl(i, t, n); 1783 if (a) return a; 1784 } 1785 return null; 1786}, Q.Utils.attemptFocus = function(e) { 1787 if (!Q.Utils.isFocusable(e)) return !1; 1788 try { 1789 e.focus(); 1790 } catch (e) {} 1791 return document.activeElement === e; 1792}, Q.Utils.isFocusable = function(e, t) { 1793 if (na(e) || e.disabled || e.getAttribute("disabled") || t && e.tabIndex < 0) return !1; 1794 if (e.tabIndex >= 0 || e.getAttribute("tabindex") !== null && e.getAttribute("escape-dialog-trapped-focus") === null) return !0; 1795 switch (e.nodeName) { 1796 case "A": return !!e.href && e.rel !== "ignore"; 1797 case "INPUT": return e.type !== "hidden" && e.type !== "file"; 1798 case "BUTTON": 1799 case "SELECT": 1800 case "TEXTAREA": return !0; 1801 default: return !1; 1802 } 1803}, Q.Utils.keys = { 1804 backspace: 8, 1805 tab: 9, 1806 enter: 13, 1807 space: 32, 1808 left: 37, 1809 up: 38, 1810 right: 39, 1811 down: 40, 1812 esc: 27, 1813 home: 36, 1814 end: 35, 1815 delete: 46 1816}; 1817var ra = Q.Utils; 1818var $ = {}; 1819function ia() { 1820 var e = document.createElement("button"); 1821 return function(e, t) { 1822 if (e) { 1823 for (var n = e.className, r = (t || "").split(" "), i = 0, a = r.length; i < a; i++) { 1824 var o = r[i]; 1825 o && (e.classList ? e.classList.add(o) : ea(e, o) || (n += " " + o)); 1826 } 1827 e.classList || (e.className = n); 1828 } 1829 }(e, "dialog-temp-node"), e.setAttribute("aria-hidden", "true"), e.innerText = "Aria Button", e; 1830} 1831$.openDialogList = $.openDialogList || [], $.getCurrentDialog = function() { 1832 if ($.openDialogList && $.openDialogList.length) return $.openDialogList[$.openDialogList.length - 1]; 1833}, $.Dialog = function(e, t, n, r) { 1834 var i = this; 1835 this.dialogNode = e, this.appendTempNode(), this.options = r || {}, this.focusAfterClosed = typeof t == "string" ? document.getElementById(t) : kr(t) === "object" ? t : null, this.focusFirst = typeof n == "string" ? document.getElementById(n) : kr(n) === "object" ? n : null, this.focusFirst ? setTimeout(function() { 1836 i.focusFirst.focus(); 1837 }, 0) : !1 !== this.focusFirst && ra.focusFirstDescendant(this.dialogNode, this.preButton), $.openDialogList.length > 0 && $.getCurrentDialog().removeListeners(), this.refresh(), this.tabEvent = function(e) { 1838 e.keyCode === ra.keys.tab && i.trapFocus(e); 1839 }, this.addListeners(), $.openDialogList.push(this); 1840}, $.Dialog.prototype.refresh = function() { 1841 this.lastFocus = ra.findLastFocusEl(this.dialogNode, this.nextButton), this.firstFocus = ra.findFirstFocusEl(this.dialogNode, this.preButton); 1842}, $.Dialog.prototype.addListeners = function() { 1843 document.addEventListener("keydown", this.tabEvent, !0); 1844}, $.Dialog.prototype.removeListeners = function() { 1845 document.removeEventListener("keydown", this.tabEvent, !0); 1846}, $.Dialog.prototype.closeDialog = function(e) { 1847 var t = this; 1848 $.openDialogList.pop(), this.removeListeners(), this.focusAfterClosed && setTimeout(function() { 1849 var n, r; 1850 na(t.focusAfterClosed) || t.focusAfterClosed === document.body ? e && e() : (n = (r = t.focusAfterClosed).focus) == null || n.call(r, { preventScroll: !0 }); 1851 }), $.openDialogList.length && $.getCurrentDialog().addListeners(), this.removeTempNode(); 1852}, $.Dialog.prototype.trapFocus = function(e) { 1853 var t = this, n = $.getCurrentDialog().dialogNode, r = ra.findFirstFocusEl(this.dialogNode, this.preButton), i = ra.findLastFocusEl(this.dialogNode, this.nextButton); 1854 if (e.shiftKey) { 1855 var a = r === e.target || (r == null ? void 0 : r.contains(e.target)); 1856 setTimeout(function() { 1857 var e = (ra.getFocusableChildElements(n) || []).findIndex(function(e) { 1858 return e === document.activeElement; 1859 }) > 0; 1860 !a && e || ra.focusLastDescendant(n, t.nextButton); 1861 }, 0); 1862 } else (i === e.target || i != null && i.contains(e.target)) && setTimeout(function() { 1863 ra.focusFirstDescendant(n, t.preButton); 1864 }, 0); 1865}, $.Dialog.prototype.appendTempNode = function() { 1866 var e = this.dialogNode; 1867 if (!ea(e.children[0], "dialog-temp-node")) { 1868 var t = this.preButton = ia(); 1869 e.insertBefore(t, e.children[0]); 1870 var n = this.nextButton = ia(); 1871 e.appendChild(n); 1872 } 1873}, $.Dialog.prototype.removeTempNode = function() { 1874 var e = this.dialogNode; 1875 this.preButton && e.removeChild(this.preButton), this.nextButton && e.removeChild(this.nextButton); 1876}; 1877var aa = $.Dialog; 1878var oa = { 1879 defaultLink: "/opc/buy?plan=pro&subPlan=allSubPlan&type=basic2pro&cssTheme=%230E72ED", 1880 getDefaultLink: function(e) { 1881 return e || this.defaultLink; 1882 } 1883}; 1884var sa = Object.freeze({ 1885 TIMEOUT: "timeout", 1886 CHECK_FAIL: "check_fail", 1887 MAC_LIMIT: "mac_limit", 1888 PWA_COEP: "pwa_coep",
1889 NOT_MODAL: "not_modal", 1890 UNKNOWN: "unknown" 1891}); 1892window.__billingActiveCheckoutModal = window.__billingActiveCheckoutModal || { 1893 lastRedirectUrl: null, 1894 instance: null, 1895 currentActiveElement: null 1896}, window.campaignFlags = window.campaignFlags || {}, window.campaignFlags.enableCheckoutReadyTimeoutFallback = !0 === window.campaignFlags.enableCheckoutReadyTimeoutFallback; 1897var ca = new ii(); 1898var la = function(e, t, n) { 1899 var r; 1900 Lr("checkout error detected:", t), (r = e.onCheckoutError) == null || r.call(e, t), Promise.resolve().then(function() { 1901 return Mi(e, t); 1902 }).then(function() { 1903 Lr("checkout error reported:", t); 1904 }).catch(function() { 1905 Rr("failed to report checkout error:", t); 1906 }).finally(function() { 1907 Lr("checkout error handling completed:", t), n == null || n(); 1908 }); 1909}; 1910var ua = window.__billingActiveCheckoutModal.checkoutReadyMonitor || (window.__billingActiveCheckoutModal.checkoutReadyMonitor = { timeoutId: null }); 1911ua.start = function(e, t) { 1912 var n, r = this; 1913 this.stop(); 1914 var i = (n = e.checkoutReadyTimeoutMs) == null ? 3e4 : n; 1915 this.timeoutId = setTimeout(function() { 1916 r.stop(), la(e, { 1917 type: sa.TIMEOUT, 1918 extraContext: { checkout_ready_timeout_ms: i } 1919 }, function() { 1920 var n; 1921 if (!0 === window.campaignFlags.enableCheckoutReadyTimeoutFallback) { 1922 Lr("checkout ready timeout, fallback redirect:", t); 1923 var r = window.__billingActiveCheckoutModal.instance; 1924 return (r == null ? void 0 : r.options) === e && r != null && (n = r.isVisible) != null && n.call(r) && r.m_closeCheckoutModal(), e != null && e.redirectAction ? e.redirectAction({ 1925 type: "check_fail", 1926 link: t 1927 }) : Wi(t, !0); 1928 } 1929 }); 1930 }, i); 1931}, ua.stop = function() { 1932 clearTimeout(this.timeoutId), this.timeoutId = null; 1933}; 1934var da = function() { 1935 function e(e) { 1936 Sr(this, "modalDom", null), Sr(this, "ariaDialog", null), Sr(this, "alreadySwitchAccount", !1), Sr(this, "successfulPurchaseFlag", !1), Sr(this, "visible", !1), this.updateOptions(e), this.checkCrossDomain(); 1937 } 1938 var t = e.prototype; 1939 return t.refreshIframe = function() { 1940 var e = this.getOperationElement().iframeEle; 1941 return e && (e.src = Zi(this.redirectUrl, this.options)), this.m_showLoading(), this; 1942 }, t.registryMessageEvent = function() { 1943 ca.unRegistry().registry().listen(this.handlerMessage.bind(this)); 1944 }, t.updateOptions = function() { 1945 var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; 1946 return this.options = t, this.options.modalId = e.modalId, this.redirectUrl = t.redirectUrl, this; 1947 }, t.checkCrossDomain = function() { 1948 if (this.redirectUrl) try { 1949 var e = window.location.origin, t = new URL(this.redirectUrl), n = `${t.protocol}//${t.host}`; 1950 if (this.isCrossDomain = n !== e, this.isCrossDomain) { 1951 var r = t.hostname; 1952 ca.setCrossDomainWhitelist(r), Lr("Cross-domain detected, added to whitelist:", r); 1953 } else Lr("Same origin detected"); 1954 } catch (e) { 1955 Rr("Error checking cross-domain:", e), this.isCrossDomain = !1; 1956 } 1957 }, t.createAria = function() { 1958 try { 1959 var t = document.getElementById(e.modalId), n = document.querySelector(".billing_opc_modal--close"); 1960 t && (this.ariaDialog = new aa(t, null, n)); 1961 } catch (e) { 1962 Rr("createAria", e); 1963 } 1964 }, t.create = function() { 1965 return this.render(), this.mounted(), this; 1966 }, t.getOperationElement = function() { 1967 var e = this.modalDom; 1968 return { 1969 iframeEle: e == null ? void 0 : e.querySelector(".billing_opc_modal--iframe"), 1970 closeBtnEle: e == null ? void 0 : e.querySelector(".billing_opc_modal--close"), 1971 loadingEle: e == null ? void 0 : e.querySelector(".billing_opc_modal--loading"), 1972 modalContainerEle: e == null ? void 0 : e.querySelector(".billing_opc_modal--container") 1973 }; 1974 }, t.forceRefreshCurrentPage = function() { 1975 var e; 1976 (e = this.options) != null && e.enableAfterSuccessForceRefresh && this.successfulPurchaseFlag && window.location.reload(); 1977 }, t.m_closeCheckoutModal = function() { 1978 var e, t; 1979 ua.stop(), this.close(), (e = (t = this.options).afterClose) == null || e.call(t, { successfulPurchaseFlag: this.successfulPurchaseFlag }), this.forceRefreshCurrentPage(); 1980 }, t.m_successCheckout = function(e) { 1981 var t, n, r; 1982 this.successfulPurchaseFlag = !0, (t = (n = this.options).afterSuccessCheckout) == null || t.call(n, e == null ? void 0 : e.productData), (r = document.querySelectorAll(".billing-shopping-bag__container")) == null || r.forEach(function(e) { 1983 e == null || e.remove(); 1984 }); 1985 }, t.m_showClose = function() { 1986 var e, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = (e = this.modalDom) == null ? void 0 : e.querySelector(".billing_opc_modal--close"); 1987 (function(e) { 1988 var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ""; 1989 e && ((t = e.classList) == null || t.remove(n)); 1990 })(n, "billing_opc_modal--close__hidden"); 1991 var r = n == null ? void 0 : n.querySelector("svg"); 1992 r && (r.style.color = (t == null ? void 0 : t.color) || ""); 1993 }, t.m_hiddenClose = function() { 1994 var e; 1995 (function(e) { 1996 var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ""; 1997 e && ((t = e.classList) == null || t.add(n)); 1998 })((e = this.modalDom) == null ? void 0 : e.querySelector(".billing_opc_modal--close"), "billing_opc_modal--close__hidden"); 1999 }, t.m_showLoading = function() { 2000 var e = this.getOperationElement(), t = e.iframeEle, n = e.loadingEle; 2001 t && n && (t.style.visibility = "hidden", n.style.display = "unset"); 2002 }, t.m_hiddenLoading = function() { 2003 ua.stop(); 2004 var e = this.getOperationElement(), t = e.iframeEle, n = e.loadingEle; 2005 n && (n.style.display = "none"), t && (t.style.visibility = "unset"); 2006 }, t.m_resizeModalContainer = function() { 2007 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = this.getOperationElement().modalContainerEle; 2008 if (t) { 2009 var n = (e == null ? void 0 : e.containerStyle) || {}, r = Ni() ? {}
2009 : function() { 2010 return qi(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "") ? { width: "1030px" } : {}; 2011 }(this.redirectUrl), i = function(e) { 2012 var t, i; 2013 return (t = (i = n[e]) == null ? r[e] : i) == null ? "" : t; 2014 }; 2015 Cr(t.style, { 2016 width: i("width"), 2017 height: i("height"), 2018 minWidth: i("minWidth"), 2019 minHeight: i("minHeight"), 2020 maxWidth: i("maxWidth"), 2021 maxHeight: i("maxHeight") 2022 }); 2023 } 2024 }, t.m_resetContainerStyles = function() { 2025 var e = this.getOperationElement().modalContainerEle; 2026 e && Cr(e.style, { 2027 width: "", 2028 height: "", 2029 minWidth: "", 2030 minHeight: "", 2031 maxWidth: "", 2032 maxHeight: "" 2033 }); 2034 }, t.m_resizeWithTransition = function() { 2035 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = this.getOperationElement().modalContainerEle; 2036 if (t) { 2037 var n; 2038 t.classList.add("billing_opc_modal--transition-enabled"), this.m_resizeModalContainer(e); 2039 var r = function() { 2040 t.classList.remove("billing_opc_modal--transition-enabled"), t.removeEventListener("transitionend", i), n && (clearTimeout(n), n = null); 2041 }, i = function() { 2042 r(); 2043 }; 2044 t.addEventListener("transitionend", i), n = setTimeout(function() { 2045 r(); 2046 }, 500); 2047 } 2048 }, t.handlerMessage = function(e) { 2049 var t, n, r, i = (e == null ? void 0 : e.data) || {}, a = i == null ? void 0 : i.type; 2050 if (a === Br) return (r = this.m_closeCheckoutModal) == null ? void 0 : r.call(this, i); 2051 if (a === Vr) return this.m_successCheckout(i); 2052 if (a === Hr) return Wi(i == null ? void 0 : i.link, !0); 2053 if (a === Ur) { 2054 var o, s, c, l = (o = window.location) == null ? void 0 : o.pathname, u = (s = window.location) == null ? void 0 : s.origin, d = (i == null ? void 0 : i.link) || "", f = function() { 2055 var e, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; 2056 if (typeof t != "string" || (e = t.trim) == null || !e.call(t)) return { 2057 origin: "", 2058 pathname: "" 2059 }; 2060 var n = /^(https?:\/\/)/.test(t); 2061 try { 2062 if (n) { 2063 var r = new URL(t); 2064 return { 2065 origin: r.origin, 2066 pathname: r.pathname 2067 }; 2068 } 2069 var i; 2070 return { 2071 origin: "", 2072 pathname: (i = t.split("?")) == null || (i = i[0]) == null || (i = i.split("#")) == null ? void 0 : i[0] 2073 }; 2074 } catch (e) {} 2075 return { 2076 origin: "", 2077 pathname: "" 2078 }; 2079 }(d), p = f.pathname, m = f.origin; 2080 return m && u !== m || l !== p ? Wi(d) : (c = this.m_closeCheckoutModal) == null ? void 0 : c.call(this, i); 2081 } 2082 if (a === Wr) return this.m_showClose(i); 2083 if (a === Gr) return this.m_hiddenClose(); 2084 if (a === Kr) return this.m_showLoading(); 2085 if (a === qr) return this.m_hiddenLoading(); 2086 if (a !== Yr) { 2087 if (a === Xr) { 2088 var h = i == null ? void 0 : i.containerStyle; 2089 return this.m_resizeWithTransition({ containerStyle: h }); 2090 }
2091 if (a !== Zr) { 2092 var g; 2093 if (a === Qr) { 2094 var _ = (this.options || {}).onReloadParent; 2095 return _ && typeof _ == "function" ? _ == null ? void 0 : _({ successfulPurchaseFlag: this.successfulPurchaseFlag }) : void window.location.reload(); 2096 } 2097 return a === $r ? function(e) { 2098 var t = e.objectPath, n = e.args, r = n === void 0 ? [] : n; 2099 if (t) try { 2100 var i, a = t.split("."), o = a.pop(), s = a.reduce(function(e, t) { 2101 return e == null ? void 0 : e[t]; 2102 }, window); 2103 if (s && typeof s[o] == "function") return (i = s[o]).call.apply(i, [s].concat(Or(r))); 2104 } catch (e) { 2105 Rr("Error calling safe function:", e); 2106 } 2107 }(i) : a === ei ? function(e) { 2108 var t = e.objectPath, n = e.value; 2109 if (t) try { 2110 var r = t.split("."), i = r.pop(), a = r.reduce(function(e, t) { 2111 return e == null ? void 0 : e[t]; 2112 }, window); 2113 a && (a[i] = n); 2114 } catch (e) { 2115 Rr("Error setting safe property:", e); 2116 } 2117 }(i) : a === ti ? function(e) { 2118 var t = e.objectPath, n = e.requestId; 2119 if (t) try { 2120 var r, i = t.split(".").reduce(function(e, t) { 2121 return e == null ? void 0 : e[t]; 2122 }, window), a = { 2123 type: ni, 2124 requestId: n, 2125 value: i 2126 }, o = (((r = window.__billingActiveCheckoutModal.instance) == null ? void 0 : r.getOperationElement()) || {}).iframeEle; 2127 return o && o.contentWindow && o.contentWindow.postMessage(a, "*"), i; 2128 } catch (e) { 2129 Rr("Error getting safe property:", e); 2130 } 2131 }(i) : (t = this.options) == null || (n = t.listenEventMessage) == null ? void 0 : n.call(t, e); 2132 } 2133 (g = i) != null && g.link && (window.location.href = g.link); 2134 } else this.alreadySwitchAccount = !0; 2135 }, t.render = function() { 2136 var t; 2137 e.styleDom || (e.styleDom = ((t = document.createElement("style")).type = "text/css", t.appendChild(document.createTextNode("\n .billing_opc_modal--overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0,0,0,0.3);\n display: flex;\n justify-content: flex-start;\n align-items: center;\n z-index: 4999;\n overflow-x: auto;\n }\n \n .billing_opc_modal--container {\n position: relative;\n background-color: #fff;\n overflow-y: hidden;\n box-sizing: border-box;\n margin: auto !important;\n }\n \n .billing_opc_modal--container.billing_opc_modal--transition-enabled {\n transition: width 0.4s ease-in-out, height 0.4s ease-in-out;\n }\n \n .billing_opc_modal--container-mobile {\n height: 100%;\n width: 100%;\n border-radius: 12px;\n }\n \n .billing_opc_modal--container-desktop {\n width: 688px;\n height: 80vh;\n max-height: 100vh;\n border-radius: 12px;\n flex-shrink: 0;\n }\n \n .billing_opc_modal--iframe {\n position: absolute;\n top: 0px;\n left: 0px;\n outline: none;\n border: unset;\n width: 100%;\n height: 100%;\n visibility: hidden;\n }\n \n .billing_opc_modal--close {\n position: absolute;\n top: 24px;\n right: 24px;\n cursor: pointer;\n display: flex;\n width: 24px;\n height: 24px;\n padding: 5px;\n justify-content: center;\n align-items: center;\n }\n \n /* Close icon color for light/dark mode using currentColor */\n .billing_opc_modal--close svg {\n color: #2A2B2D;\n }\n \n /* Dark mode based on body class */\n html[data-theme=\"dark\"] .enable-dark-theme .billing_opc_modal--close svg,\n html.dark .enable-dark-theme .billing_opc_modal--close svg,\n body.zm-theme--dark .enable-dark-theme .billing_opc_modal--close svg,\n body.zoom-theme--dark .enable-dark-theme .billing_opc_modal--close svg,\n body.zbo-theme--dark .enable-dark-theme .billing_opc_modal--close svg {\n color: #F7F9FA;\n }\n \n html[data-theme=\"dark\"] .enable-dark-theme .billing_opc_modal--container,\n html.dark .enable-dark-theme .billing_opc_modal--container,\n body.zm-theme--dark .enable-dark-theme .billing_opc_modal--container,\n body.zoom-theme--dark .enable-dark-theme .billing_opc_modal--container,\n body.zbo-theme--dark .enable-dark-theme .billing_opc_modal--container {\n background-color: #222325;\n outline: 1px solid #313235;\n box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.48), 0 6px 12px 0 rgba(0, 0, 0, 0.48);\n }\n\n /* Dark mode: deepen the overlay so the modal is clearly separated from the dark background */\n html[data-theme=\"dark\"] .enable-dark-theme.billing_opc_modal--slide .billing_opc_modal--overlay,\n html.dark .enable-dark-theme.billing_opc_modal--slide .billing_opc_modal--overlay,\n body.zm-theme--dark .enable-dark-theme.billing_opc_modal--slide .billing_opc_modal--overlay,\n body.zoom-theme--dark .enable-dark-theme.billing_opc_modal--slide .billing_opc_modal--overlay,\n body.zbo-theme--dark .enable-dark-theme.billing_opc_modal--slide .billing_opc_modal--overlay {\n background: rgba(0, 0, 0, 0.3);\n }\n \n .billing_opc_modal--loading {\n position: absolute;\n top: 45%;\n left: calc(50% - 18px);\n width: 36px;\n height: 36px;\n border: 2px solid #0b5cff;\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-animation: rotation 1s linear infinite;\n animation: rotation 1s linear infinite;\n z-index: 5000;\n }\n\n @-webkit-keyframes rotation {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n\n @keyframes rotation {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n \n @keyframes modal_fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n \n @keyframes modal_fadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n }\n \n @keyframes modal_slideIn {\n from { transform: translateY(15%); }\n to { transform: translateY(0); }\n }\n \n @keyframes modal_slideOut {\n from { transform: translateY(0); }\n to { transform: translateY(-10%); }\n }\n \n .billing_opc_modal--slide {\n visibility: hidden;\n }\n \n .billing_opc_modal--slide.is-open {\n visibility: visible;\n }\n \n .billing_opc_modal--slide[aria-hidden=\"false\"] .billing_opc_modal--overlay {\n animation: modal_fadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);\n }\n \n .billing_opc_modal--slide[aria-hidden=\"false\"] .billing_opc_modal--container {\n animation: modal_slideIn .3s cubic-bezier(0, 0, .2, 1);\n }\n \n .billing_opc_modal--slide[aria-hidden=\"true\"] .billing_opc_modal--overlay {\n animation: modal_fadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);\n }\n \n .billing_opc_modal--slide[aria-hidden=\"true\"] .billing_opc_modal--container {\n animation: modal_slideOut .3s cubic-bezier(0, 0, .2, 1);\n }\n \n .billing_opc_modal--slide .billing_opc_modal--container,\n .billing_opc_modal--slide .billing_opc_modal--overlay {\n \n }\n \n .billing_opc_modal--close__hidden {\n display: none;\n }\n \n .billing_opc_modal--slide .dialog-temp-node {\n width: 1px;\n height: 1px;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n text-indent: -10em;\n overflow: hidden;\n }\n ")), t)), this.modalDom = function() { 2138 var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.redirectUrl, n = t === void 0 ? "" : t, r = e.enableSystemTheme, i = e.settings, a = e.containerClass, o = a === void 0 ? "" : a, s = e.showCloseButton, c = s === void 0 || s, l = document.createElement("div"), u = Zi(n, e), d = !!r || (i == null ? void 0 : i.theme) === "system", f = `<div class="billing_opc_modal--close ${c ? "" : "billing_opc_modal--close__hidden"}" role="button" aria-label="close checkout modal" tabIndex="0" style="z-index: 1"> 2139 <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"> 2140 <path fill-rule="evenodd" clip-rule="evenodd" d="M2.00294 2.00294C2.34018 1.66569 2.88697 1.66569 3.22422 2.00294L7 5.77872L10.7758 2.00294C11.113 1.66569 11.6598 1.66569 11.9971 2.00294C12.3343 2.34018 12.3343 2.88697 11.9971 3.22422L8.22128 7L11.9971 10.7758C12.3343 11.113 12.3343 11.6598 11.9971 11.9971C11.6598 12.3343 11.113 12.3343 10.7758 11.9971L7 8.22128L3.22422 11.9971C2.88697 12.3343 2.34018 12.3343 2.00294 11.9971C1.66569 11.6598 1.66569 11.113 2.00294 10.7758L5.77872 7L2.00294 3.22422C1.66569 2.88697 1.66569 2.34018 2.00294 2.00294Z" fill="currentColor"/> 2141 </svg> 2142 </div>`, p = Ni() ? "billing_opc_modal--container-mobile" : "billing_opc_modal--container-desktop"; 2143 return l.innerHTML = ` 2144 <div class="billing_opc_modal--slide ${o} ${d ? "enable-dark-theme" : ""}" id="${e.modalId}" aria-hidden="true"> 2145 <div class="billing_opc_modal--overlay" > 2146 <div class="billing_opc_modal--loading"></div> 2147 <div class="billing_opc_modal--container ${p}" role="dialog" aria-modal="true" aria-label="checkout"> 2148 ${f} 2149 <iframe allowfullscreen allow="payment" class="billing_opc_modal--iframe" src="${u}" ></iframe> 2150 </div> 2151 </div> 2152 <button class="dialog-temp-node" aria-hidden="true">Aria Button</button> 2153 </div> 2154 `, l; 2155 }(this.options); 2156 }, t.iframeLoadEventCb = function() { 2157 if (!this.isCrossDomain) try { 2158 var e, t, n = this.getOperationElement().iframeEle, r = (e = this.options) == null ? void 0 : e.forceRedirectToBillingWhenBkError; 2159 if (((t = n.contentWindow) == null || (t = t.location) == null ? void 0 : t.pathname) === "/billing" && r) return Wi("/billing"); 2160 } catch (e) {} 2161 }, t.domEventListener = function() { 2162 var e = this, t = this.getOperationElement(), n = t.iframeEle, r = t.closeBtnEle; 2163 if (r) { 2164 var i = function() { 2165 e.m_closeCheckoutModal();
2166 try { 2167 e.isCrossDomain && n.contentWindow ? ca.send({ type: Jr }, n.contentWindow) : ca.send({ type: Jr }); 2168 } catch (e) { 2169 Rr("send close message error:", e); 2170 } 2171 e.alreadySwitchAccount && window.location.reload(); 2172 }, a = function(e) { 2173 var t; 2174 e == null || (t = e.stopPropagation) == null || t.call(e), i(); 2175 }, o = function(e) { 2176 var t; 2177 e == null || (t = e.stopPropagation) == null || t.call(e), (e == null ? void 0 : e.keyCode) === ra.keys.enter && i(); 2178 }; 2179 r.removeEventListener("click", a), r.removeEventListener("keydown", o), r.addEventListener("click", a), r.addEventListener("keydown", o); 2180 } 2181 if (n) { 2182 var s = function() { 2183 return e.iframeLoadEventCb(); 2184 }; 2185 n.removeEventListener("load", s), n.addEventListener("load", s); 2186 } 2187 }, t.mounted = function() { 2188 var t = e.styleDom, n; 2189 document.head.appendChild(t), n = this.modalDom, document.body.appendChild(n), this.domEventListener(), this.registryMessageEvent(); 2190 }, t.close = function() { 2191 var t = this; 2192 Mr.close(e.modalId, function() { 2193 var e, n, r, i; 2194 t.visible = !1, (e = t.ariaDialog) == null || (n = e.closeDialog) == null || n.call(e), ta(window.__billingActiveCheckoutModal.currentActiveElement) && ((r = window.__billingActiveCheckoutModal.currentActiveElement) == null || (i = r.focu
2194s) == null || i.call(r)), t.m_resetContainerStyles(); 2195 }); 2196 }, t.show = function() { 2197 var t = this; 2198 this.m_resizeModalContainer(this.options), this.successfulPurchaseFlag = !1, Mr.show(e.modalId, { 2199 disableScroll: !0, 2200 awaitOpenAnimation: !0, 2201 awaitCloseAnimation: !0 2202 }, function() { 2203 var e; 2204 t.visible = !0, (e = t.options) != null && e.delaySaveCurrentElement && (window.__billingActiveCheckoutModal.currentActiveElement = document.activeElement), Promise.resolve().then(function() { 2205 return t.createAria(); 2206 }); 2207 }); 2208 }, t.isVisible = function() { 2209 return this.visible; 2210 }, e; 2211}(); 2212Sr(da, "styleDom", null), Sr(da, "modalId", `billing_modal_${Date.now()}`); 2213var fa = function(e) { 2214 return !(!e || typeof e != "string") && (e.includes("/opc/") || e.includes("/buy?") || e.includes("/billing/campaign/cancel") || e.includes("/account/cpaas/plan/subscribe")); 2215}; 2216var pa = function(e) { 2217 var t = e.from, n = e.externalCheckResult, r = e.businessType; 2218 return !n && (!t || r && !Qi.includes(r)) ? !1 : !(n && !Xi.includes(n)) || (Rr("externalCheckResult is inValid, please refer to this", Xi), !1); 2219}; 2220var ma = { 2221 modal: "modal", 2222 fullscreen: "fullscreen", 2223 isModalMode: function(e) { 2224 return this.modal === e; 2225 } 2226}; 2227var ha = {}; 2228var ga = function() { 2229 return Promise.resolve(); 2230}; 2231var _a = function() { 2232 var e = xr(Er().m(function e(t) { 2233 var n, r, i, a, o, s, c, l, u, d, f; 2234 return Er().w(function(e) { 2235 for (;;) switch (e.n) { 2236 case 0: 2237 if (r = (n = t || {}).cacheKey, i = n.params, a = n.defaultResult, o = a === void 0 ? {} : a, s = n.api, c = s === void 0 ? ga : s, l = n.useCache, !((u = l === void 0 || l) && r && ha[r])) { 2238 e.n = 1; 2239 break; 2240 } 2241 return Lr("api call fromCache:", `cacheKey: ${r}`), e.a(2, (d = ha[r]) == null ? void 0 : d.promise); 2242 case 1: return f = new Promise(function() { 2243 var e = xr(Er().m(function e(t) { 2244 var n, r, a; 2245 return Er().w(function(e) { 2246 for (;;) switch (e.p = e.n) { 2247 case 0: return e.p = 0, e.n = 1, c(i); 2248 case 1: 2249 n = e.v, r = (n == null ? void 0 : n.result) || o, t(r), e.n = 3; 2250 break; 2251 case 2: e.p = 2, a = e.v, Rr("api call error:", a), t(o); 2252 case 3: return e.a(2); 2253 } 2254 }, e, null, [[0, 2]]); 2255 })); 2256 return function(t) { 2257 return e.apply(this, arguments); 2258 }; 2259 }()), u && r && (ha[r] = { promise: f }), e.a(2, f); 2260 } 2261 }, e); 2262 })); 2263 return function(t) { 2264 return e.apply(this, arguments); 2265 }; 2266}(); 2267var va = function() { 2268 var e = xr(Er().m(function e(t) { 2269 var n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S; 2270 return Er().w(function(e) { 2271 for (;;) switch (e.n) { 2272 case 0: 2273 if (t == null || !t.externalCheckResult) { 2274 e.n = 1; 2275 break; 2276 } 2277 return e.a(2, t == null ? void 0 : t.externalCheckResult); 2278 case 1: 2279 if (n = t.flowType, r = n === void 0 ? "" : n, i = t.from, a = i === void 0 ? "" : i, o = t.product, s = o === void 0 ? "" : o, c = t.businessType, l = c === void 0 ? "" : c, u = t.useCache, d = t.redirectUrl, f = t.beforeCheckParams, p = f === void 0 ? {} : f, m = "", h = "", g = !1, d) try { 2280 _ = new URL(d, window.location.origin), v = window.location.origin, (g = _.origin !== v) && (m = _.origin), h = d.replace(_.origin, ""); 2281 } catch (e) { 2282 Rr("Invalid redirectUrl:", d, e); 2283 } 2284 if (y = $i("skipSafariCheck"), !Yi() || !g || y) { 2285 e.n = 2; 2286 break; 2287 } 2288 return Lr("Safari browser version < 17 detected, forcing fullscreen mode"), e.a(2, ma.fullscreen); 2289 case 2: return b = `${r}&${a}&${l}&${s}&${h}`, e.n = 3, _a({ 2290 useCache: u, 2291 cacheKey: b, 2292 api: Ai, 2293 params: Tr({ 2294 flowType: r, 2295 from: a, 2296 businessType: l, 2297 product: s, 2298 originPre: m, 2299 uri: h 2300 }, p) 2301 }); 2302 case 3: return x = e.v, Lr("api call result:", x), S = (x == null ? void 0 : x[r]) || (x == null ? void 0 : x.eligible), e.a(2, S ? ma.modal : ma.fullscreen); 2303 } 2304 }, e); 2305 })); 2306 return function(t) { 2307 return e.apply(this, arguments); 2308 }; 2309}(); 2310var ya = function() { 2311 var e = xr(Er().m(function e() { 2312 var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _ = arguments; 2313 return Er().w(function(e) { 2314 for (;;) switch (e.p = e.n) { 2315 case 0: 2316 if (t = _.length > 0 && _[0] !== void 0 ? _[0] : {}, ua.stop(), e.p = 1, (n = t.beforeCheck) == null || n.call(t), t != null && t.delaySaveCurrentElement || (window.__billingActiveCheckoutModal.currentActiveElement = document.activeElement), i = t.redirectUrl = Ki(oa.getDefaultLink(t.redirectUrl), t.extraParams), a = t.fullScreenRedirectUrl ? t.fullScreenRedirectUrl = Ki(t.fullScreenRedirectUrl, t.extraParams) : i, ua.start(t, a), pa(t) && fa(a)) { 2317 e.n = 4; 2318 break; 2319 } 2320 if (ua.stop(), la(t, { 2321 type: sa.CHECK_FAIL, 2322 link: a 2323 }), !Nr) { 2324 e.n = 2; 2325 break; 2326 } 2327 return e.a(2); 2328 case 2: 2329 if (t == null || !t.redirectAction) { 2330 e.n = 3; 2331 break; 2332 } 2333 return e.a(2, t == null || (o = t.redirectAction) == null ? void 0 : o.call(t, { 2334 type: "check_fail", 2335 link: a 2336 })); 2337 case 3: return e.a(2, Wi(a, t == null ? void 0 : t.needNewWindow)); 2338 case 4: 2339 if (!window.unifyConfig || !window.unifyConfig.systemParam) { 2340 e.n = 6; 2341 break; 2342 } 2343 if (s = window.unifyConfig.systemParam, c = s.deviceOs, l = s.osVersion, c !== "mac" || !Ji(l, "10_15_1")) { 2344 e.n = 6; 2345 break; 2346 } 2347 if (ua.stop(), la(t, { 2348 type: sa.MAC_LIMIT, 2349 link: a 2350 }), t == null || !t.redirectAction) { 2351 e.n = 5; 2352 break; 2353 } 2354 return e.a(2, t == null || (u = t.redirectAction) == null ? void 0 : u.call(t, { 2355 type: "check_fail", 2356 link: a 2357 })); 2358 case 5: return e.a(2, Wi(a, t == null ? void 0 : t.needNewWindow)); 2359 case 6: 2360 if (((r = window.PwaConfig) == null ? void 0 : r.crossIsolationMode) !== "coep") { 2361 e.n = 8; 2362 break; 2363 } 2364 if (ua.stop(), la(t, { 2365 type: sa.PWA_COEP, 2366 link: a 2367 }), t == null || !t.redirectAction) { 2368 e.n = 7; 2369 break; 2370 } 2371 return e.a(2, t == null || (d = t.redirectAction) == null ? void 0 : d.
2371call(t, { 2372 type: "check_fail", 2373 link: a 2374 })); 2375 case 7: return e.a(2, Wi(a, !0)); 2376 case 8: return e.n = 9, va(t); 2377 case 9: 2378 if (f = e.v, t.forceRedirectToBillingWhenBkError = !0, !ma.isModalMode(f)) { 2379 e.n = 10; 2380 break; 2381 } 2382 return p = window.__billingActiveCheckoutModal.instance, window.__billingActiveCheckoutModal.lastRedirectUrl = i, p ? p.updateOptions(t).refreshIframe().show() : (window.__billingActiveCheckoutModal.instance = new da(t), window.__billingActiveCheckoutModal.instance.create().show()), e.a(2, window.__billingActiveCheckoutModal.instance); 2383 case 10: 2384 if (ua.stop(), la(t, { 2385 type: sa.NOT_MODAL, 2386 link: a 2387 }), t == null || !t.redirectAction) { 2388 e.n = 11; 2389 break; 2390 } 2391 return e.a(2, t == null || (m = t.redirectAction) == null ? void 0 : m.call(t, { 2392 type: "check_fail", 2393 link: a 2394 })); 2395 case 11: return e.a(2, Wi(a, t == null ? void 0 : t.needNewWindow)); 2396 case 12: 2397 e.n = 14; 2398 break; 2399 case 13: e.p = 13, g = e.v, Rr("open failed", g), ua.stop(), la(t, { 2400 type: sa.UNKNOWN, 2401 e: g 2402 }); 2403 case 14: return e.p = 14, (h = t.afterCheck) == null || h.call(t), e.f(14); 2404 case 15: return e.a(2); 2405 } 2406 }, e, null, [[ 2407 1, 2408 13, 2409 14, 2410 15 2411 ]]); 2412 })); 2413 return function() { 2414 return e.apply(this, arguments); 2415 }; 2416}(); 2417var ba = { 2418 data: Array, 2419 fetch: Function, 2420 skeleton: Object, 2421 zIndex: Number, 2422 menuFloatingLeft: Boolean, 2423 floatingContentClass: String, 2424 disableClickOutside: Boolean, 2425 showFullMask: Boolean 2426}; 2427var xa = ["hide", "show"]; 2428var Sa = { 2429 menuId: String, 2430 level: { 2431 type: Number, 2432 default: 0 2433 }, 2434 items: Array, 2435 menuItem: Object, 2436 visible: Boolean, 2437 activeItemPath: Array, 2438 menuFloatingLeft: Boolean, 2439 zIndex: Number 2440}; 2441var Ca = [ 2442 "item-click", 2443 "item-mouseenter", 2444 "item-focus" 2445]; 2446yo(), gn$1(), De(), it$1(); 2447var wa = [ 2448 "id", 2449 "role", 2450 "aria-hidden", 2451 "aria-disabled", 2452 "aria-expanded", 2453 "aria-haspopup", 2454 "aria-level", 2455 "aria-checked", 2456 "onFocus", 2457 "onMouseleave", 2458 "onClick" 2459]; 2460var Ta = ["id", "onMouseenter"]; 2461var Ea = ["data-common-header-profile-layer", "onMouseleave"]; 2462var Da = ["id", "onMouseenter"]; 2463var Oa = 16; 2464var ka = /* @__PURE__ */ Zn$1(Js(Js({}, { name: "zm-tiered-menu-sub" }), {}, { 2465 __name: "tiered-menu-sub", 2466 props: Sa, 2467 emits: Ca, 2468 setup(e, { emit: n$5 }) { 2469 let a = e, c = n$5; 2470 Mn$1("level", a.level); 2471 let u = Nn$1("tieredMenuActions", null), d = Nn$1("tieredMenuIsMobile", mt$1(!1)), h = (e) => { 2472 u == null || u.submenuBack(e); 2473 }, _ = () => { 2474 u == null || u.submenuClose(); 2475 }, v = () => { 2476 var e; 2477 u == null || (e = u.onSubmenuFloatingEnter) == null || e.call(u); 2478 }, y = (e, t) => { 2479 var n; 2480 u == null || (n = u.onSubmenuFloatingLeave) == null || n.call(u, e, t); 2481 }, b$1 = ks("profile"), x = b({ teleported: !0 }), w = _o(() => a.items.filter((e) => !W(e)).map((e) => Js({}, e.item))), T = _o(() => { 2482 let e = {}; 2483 return a.level >= 1 && (e.zIndex = String((a.level + 1) * 10)), e; 2484 }), ee = _o(() => a.menuFloatingLeft ? "left-start" : "right-start"), A = _o(() => ({ 2485 mainAxis: Oa, 2486 crossAxis: -12 2487 })), j = (e) => W(e) ? void 0 : `${a.menuId}_${e.key}`, N = (e) => [j(e) + "__item1", j(e) + "__item2"], P$1 = (e) => { 2488 let t = I(e, "label"); 2489 if (t) return t; 2490 let n = I(e, "separator"); 2491 return typeof n == "string" ? n : ""; 2492 }, I = (e, t, n) => { 2493 let r$2 = r(e.item[t], n); 2494 return t === "icon" && r$2 ? pt$1(P(r$2)) : r$2; 2495 }, re = (e) => I(e, "disabled") || !!I(e, "separator"), L = (e) => !ss(e.items), ie = (e, t) => { 2496 var n; 2497 L(t) && (u == null || (n = u.onGroupRowMouseLeave) == null || n.call(u, e, t)); 2498 }, z = (e) => a.activeItemPath.some((t) => t.key === e.key) && !I(e, "separator"), ae = (e) => !!I(e, "separator"), se = (e) => I(e, "separator") === !0 && !I(e, "label"), W = (e) => I(e, "separator") === !0, ce = (e) => I(e, "selected") && !L(e), le = (e, t) => { 2499 re(t) || (I(t, "command", { 2500 originalEvent: e, 2501 item: t.item, 2502 menuItem: t 2503 }), c("item-click", { 2504 originalEvent: e, 2505 processedItem: t 2506 })); 2507 }, ue = (e, t) => { 2508 re(t) || c("item-mouseenter", { 2509 originalEvent: e, 2510 processedItem: t 2511 }); 2512 }, fe = (e, t) => { 2513 c("item-focus", { 2514 originalEvent: e, 2515 processedItem: t, 2516 items: w.value 2517 }); 2518 }; 2519 return (e, n$4) => { 2520 let r = fr$1("zm-tiered-menu-sub"); 2521 return ui$1(), hi$1(Le, { name: `${_t$1(b$1).namespace}-fade-in-linear` }, {
2522 default: kn$1(() => [e.level === 0 || e.visible ? (ui$1(), mi$1("ul", { 2523 key: 0, 2524 ref: "subMenuRef", 2525 style: n(T.value) 2526 }, [(ui$1(!0), mi$1(J, null, _r$1(e.items, (t) => (ui$1(), mi$1("li", { 2527 key: j(t), 2528 id: j(t), 2529 role: ce(t) ? "menuitemcheckbox" : "menuitem", 2530 class: i([ 2531 _t$1(b$1).e("item"), 2532 _t$1(b$1).is("separator", !!I(t, "separator")), 2533 _t$1(b$1).is("separator-empty", se(t)), 2534 _t$1(b$1).is("empty", ae(t)), 2535 _t$1(b$1).is("active", z(t)), 2536 _t$1(b$1).is("danger", I(t, "danger")), 2537 _t$1(b$1).is("disabled", I(t, "disabled")) 2538 ]), 2539 "aria-hidden": W(t), 2540 "aria-disabled": re(t) || void 0, 2541 "aria-expanded": L(t) ? z(t) : void 0, 2542 "aria-haspopup": L(t) ? "menu" : void 0, 2543 "aria-level": e.level + 1, 2544 "aria-checked": ce(t), 2545 tabindex: "-1", 2546 onFocus: (e) => fe(e, t), 2547 onMouseleave: (e) => ie(e, t), 2548 onClick: Ze$1((e) => le(e, t), ["stop"]) 2549 }, [L(t) ? (ui$1(), hi$1(_t$1(is), { key: 0 }, { 2550 default: kn$1(() => [Z$1(_t$1(as), null, { 2551 default: kn$1(() => [vi$1("div", { 2552 id: I(t, "id"), 2553 class: i(_t$1(b$1).e("item-content")), 2554 onMouseenter: (e) => ue(e, t) 2555 }, [yr$1(e.$slots, "item", { 2556 ids: N(t), 2557 item: t.item, 2558 menuItem: t, 2559 items: e.items.map((e) => e.item), 2560 submenu: L(t), 2561 label: P$1(t) 2562 }, () => [vi$1("span", null, we(P$1(t)), 1)])], 42, Ta)]), 2563 _: 2 2564 }, 1024), (ui$1(), hi$1(aa$1, { to: "body" }, [Z$1(Le, { name: `${_t$1(b$1).namespace}-fade-in-linear` }, { 2565 default: kn$1(() => [An$1(Z$1(_t$1(ss$1), { 2566 visible: z(t) && L(t), 2567 class: i([ 2568 _t$1(b$1).e("floating-content"), 2569 _t$1(b$1).e("submenu-floating-content"), 2570 _t$1(x), 2571 _t$1(b$1).e(`submenu-floating-content-${e.level + 1}`) 2572 ]), 2573 placement: ee.value, 2574 "offset-options": A.value, 2575 strategy: "fixed", 2576 "z-index": e.zIndex 2577 }, { 2578 default: kn$1(() => [vi$1("div", { 2579 "data-common-header-profile-layer": e.menuId, 2580 onMouseenter: v, 2581 onMouseleave: (e) => y(e, t) 2582 }, [_t$1(d) ? (ui$1(), mi$1("div", { 2583 key: 0, 2584 class: i(_t$1(b$1).e("submenu-header")) 2585 }, [vi$1("h4", { class: i(_t$1(b$1).e("submenu-header-title")) }, [Z$1(_t$1($$2), { 2586 icon: _t$1(Tt), 2587 type: "text", 2588 onClick: Ze$1((e) => h(t), ["stop"]) 2589 }, { 2590 default: kn$1(() => [vi$1("span", { class: i(_t$1(b$1).e("submenu-header-title-text")) }, we(P$1(t)), 3)]), 2591 _: 2 2592 }, 1032, ["icon", "onClick"])], 2), Z$1(_t$1($$2), { 2593 icon: _t$1(l), 2594 type: "text", 2595 "aria-label": e.$t("common.close"), 2596 class: i(_t$1(b$1).e("header-close-button")), 2597 onClick: Ze$1(_, ["stop"]) 2598 }, null, 8, [ 2599 "icon", 2600 "aria-label", 2601 "class" 2602 ])], 2)) : wi$1("", !0), Z$1(_t$1(Ie), null, { 2603 default: kn$1(() => [Z$1(r, { 2604 id: j(t) + "_list", 2605 role: "menu", 2606 "menu-id": e.menuId, 2607 class: i([_t$1(b$1).e("submenu"), _t$1(b$1).em("submenu", "floating")]), 2608 items: t.items, 2609 "active-item-path": e.activeItemPath, 2610 level: e.level + 1, 2611 visible: !0, 2612 "menu-item": t, 2613 "menu-floating-left": e.menuFloatingLeft, 2614 "z-index": e.zIndex, 2615 onItemClick: n$4[0] || (n$4[0] = (t) => e.$emit("item-click", t)), 2616 onItemMouseenter: n$4[1] || (n$4[1] = (t) => e.$emit("item-mouseenter", t)), 2617 onItemFocus: n$4[2] || (n$4[2] = (t) => e.$emit("item-focus", t)) 2618 }, { 2619 item: kn$1((t) => [yr$1(e.$slots, "item", { 2620 ids: t.ids, 2621 item: t.item, 2622 menuItem: t.menuItem, 2623 submenu: t.submenu, 2624 items: t.items, 2625 label: t.label 2626 })]), 2627 _: 3 2628 }, 8, [ 2629 "id", 2630 "menu-id", 2631 "class", 2632 "items", 2633 "active-item-path", 2634 "level", 2635 "menu-item", 2636 "menu-floating-left", 2637 "z-index" 2638 ])]), 2639 _: 2 2640 }, 1024)], 40, Ea)]), 2641 _: 2 2642 }, 1032, [ 2643 "visible", 2644 "class", 2645 "placement", 2646 "offset-options", 2647 "z-index" 2648 ]), [[ze, z(t) && L(t)]])]), 2649 _: 2 2650 }
2650, 1032, ["name"])]))]), 2651 _: 2 2652 }, 1024)) : (ui$1(), mi$1("div", { 2653 key: 1, 2654 id: I(t, "id"), 2655 class: i(_t$1(b$1).e("item-content")), 2656 onMouseenter: (e) => ue(e, t) 2657 }, [yr$1(e.$slots, "item", { 2658 ids: N(t), 2659 item: t.item, 2660 menuItem: t, 2661 items: e.items.map((e) => e.item), 2662 submenu: L(t), 2663 label: P$1(t) 2664 }, () => [vi$1("span", null, we(P$1(t)), 1)])], 42, Da))], 42, wa))), 128))], 4)) : wi$1("", !0)]), 2665 _: 3 2666 }, 8, ["name"]); 2667 }; 2668 } 2669})); 2670gn$1(), yo(); 2671var Aa = "(max-width: 768px)"; 2672function ja() { 2673 let e = mt$1(!1), t = null, n = () => { 2674 e.value = !!(t != null && t.matches); 2675 }; 2676 return _a$1(() => { 2677 typeof window > "u" || (t = window.matchMedia(Aa), n(), t.addEventListener("change", n)); 2678 }), ba$1(() => { 2679 t == null || t.removeEventListener("change", n); 2680 }), { isMobile: e }; 2681} 2682yo(), gn$1(); 2683var Ma = 300; 2684var Na = 150; 2685var Pa = "button:not([disabled]), a[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [role=\"button\"]:not([disabled]), [tabindex]:not([tabindex=\"-1\"])"; 2686function Fa(e, t, n) { 2687 let { isMobile: i } = ja(), o = ks("profile"), s = N$1().value, l = b({ teleported: !0 }), { pushLayerStack: u, popLayerStack: d } = p(), f = mt$1(), p$2 = mt$1(), m = mt$1(), g = mt$1(!1), _ = mt$1(!1), v = ht$1(void 0), y = mt$1([]), b$2 = mt$1({ 2688 index: -1, 2689 parentKey: "" 2690 }), x = mt$1(!1), S = _o(() => g.value), C = mt$1(!1), w = _o(() => ({ 2691 offsetOptions: 4, 2692 placement: e.menuFloatingLeft ? "bottom-end" : "bottom-start" 2693 })), T = _o(() => { 2694 var t; 2695 return (e.fetch ? (t = v.value) == null ? e.data : t : e.data) || []; 2696 }), E = _o(() => { 2697 var t; 2698 return !!((t = e.skeleton) != null && t.loading) || _.value; 2699 }), D = _o(() => { 2700 var t, n; 2701 return (t = (n = e.skeleton) == null ? void 0 : n.row) == null ? 4 : t; 2702 }), O = (e) => e.separator === !0, k = (e, t = 0, n = "", r) => { 2703 let i = [], a = -1; 2704 return e == null || e.forEach((e, o) => { 2705 O(e) || a++; 2706 let s = (n === "" ? "" : n + "_") + a, c = { 2707 item: e, 2708 index: a, 2709 originIndex: o, 2710 level: t, 2711 key: s, 2712 parent: r, 2713 parentKey: n 2714 }; 2715 c.items = k(e.items, t + 1, s, c), i.push(c); 2716 }), i; 2717 }, A = _o(() => k(T.value || [])), ne = _o(() => (T.value || []).filter((e) => !O(e))), j = _o(() => { 2718 if (b$2.value.index === -1) return null; 2719 let e = b$2.value.parentKey; 2720 return `${s}${ss(e) ? "" : "_" + e}_${b$2.value.index}`; 2721 }), M = () => { 2722 g.value = !0; 2723 }, N = null, P = () => { 2724 N && (clearTimeout(N), N = null); 2725 }, F = (e) => { 2726 i.value || (P(), N = setTimeout(() => { 2727 let t = y.value.findIndex((t) => t.key === e.key); 2728 t !== -1 && (y.value = y.value.slice(0, t)), N = null; 2729 }, Na)); 2730 }, I = (e) => { 2731 var t; 2732 if (!e) return !1; 2733 let n = `[data-common-header-profile-layer="${s}"]`; 2734 return !!((t = e.closest) != null && t.call(e, n)); 2735 }, re = (e, t) => { 2736 if (i.value || ss(t.items)) return; 2737 let n = e.relatedTarget; 2738 I(n) || F(t); 2739 }, L = (e, t) => { 2740 if (i.value) return; 2741 let n = e.relatedTarget; 2742 I(n) || F(t); 2743 }, R = () => { 2744 var e, t, r; 2745 let i = n == null || (e = n.triggerRootRef) == null ? void 0 : e.value, a = (t = m.value) == null ? void 0 : t.$el, o = i == null ? a : i; 2746 if (!o) return; 2747 let s = o.querySelector(Pa); 2748 !s && i && a && a !== i && (s = a.querySelector(Pa)), ((r = s) == null ? o : r).focus({ preventScroll: !0 }); 2749 }, ie = () => { 2750 R(); 2751 }, z = mt$1(!1), oe = null, se = () => { 2752 oe && (clearTimeout(oe), oe = null); 2753 }, U = (e) => { 2754 P(), se(), e != null && e.restoreFocus && (z.value = !0, oe = setTimeout(() => { 2755 oe = null, z.value && (z.value = !1, R()); 2756 }, 380)), g.value = !1, y.value = []; 2757 }, W = () => { 2758 g.value && U(); 2759 }, ce = () => { 2760 g.value ? U() : M(); 2761 }, le = (e) => { 2762 let t = e.code; 2763 (t === l$1.enter || t === l$1.space || t === l$1.down || t === l$1.up) && (S.value || (x.value = t === l$1.up, M()), e.preventDefault(), e.stopPropagation()); 2764 }, ue = (e) => { 2765 var t; 2766 return ss(e) ? A.value : ((t = y.value.find((t) => t.key === e)) == null ? void 0 : t.items) || []; 2767 }, de = (e) => (e || []).filter((e) => { 2768 var t; 2769 return ((t = e.item) == null ? void 0 : t.separator) !== !0; 2770 }).map((e) => e.item), G = (e) => { 2771 if (e.index !== -1 && (!e.processedItem || !e.items)) { 2772 let t = ue(e.parentKey); 2773 b$2.value = Js(Js({}, e), {}, { 2774 processedItem: e.processedItem || t.find((t) => t.parentKey === e.parentKey && t.index === e.index), 2775 items: e.items || de(t) 2776 }); 2777 return; 2778 } 2779 b$2.value = e; 2780 }, fe = () => { 2781 if (!g.value || C.value) return; 2782 let e = x.value ? ne.value.length - 1 : 0; 2783 G({ 2784 index: e, 2785 parentKey: "" 2786 }); 2787 }, pe = 0, me = () => { 2788 let e = pe; 2789 setTimeout(() => { 2790 e === pe && fe(); 2791 }, 0); 2792 }, ge = () => { 2793 let e = pe; 2794 setTimeout(() => { 2795 e === pe && (E.value || fe()); 2796 }, 0); 2797 }, _e = (e) => { 2798 var t; 2799 let n = (t = e.closest) == null ? void 0 : t.call(e, ".zoom-scrollbar__wrap"); 2800 if (!n) return; 2801 let r = e.getBoundingClientRect(), i = n.getBoundingClientRect(), a = Math.max(0, r.top - i.top + n.scrollTop - n.clientHeight / 2); 2802 Math.abs(a - n.scrollTop) < 2 || n$1()(n, "scrollTop", a, Ma, () => {}); 2803 }, ve = () => { 2804 var e; 2805 let t = j.value; 2806 if (!t) return; 2807 let n = `li[id="${t}"]`, r = (e) => e ? (e.focus({ preventScroll: !0 }), _e(e), !0) : !1; 2808 r((e = f.value) == null || (e = e.$el) == null ? void 0 : e.querySelector(n)) || r(document.querySelector(n)) || setTimeout(() => r(document.querySelector(n))); 2809 }, ye = (e) => { 2810 let t = b$2.value.items.length, n = b$2.value; 2811 e === "next" ? n.index = n.index + 1 === t ? 0 : n.index + 1 : e === "prev" ? n.index = n.index < 1 ? t - 1 : n.index - 1 : e === "home" ? n.index = 0 : e === "end" && (n.index = t - 1); 2812 }, be = (e) => { 2813 let t = !ss(e.items), n = y.value.filter((t) => { 2814 let n = e.parentKey; 2815 return ss(n) ? !1 : n === t.key || typeof n == "string" && n.startsWith(t.key + "_"); 2816 }); 2817 t && n.push(e), y.value = n; 2818 }, xe = (e) => { 2819 var t; 2820 be(e), G({ 2821 index: 0, 2822 parentKey: e.key, 2823 processedItem: (t = e.items) == null ? void 0 : t[0], 2824 items: (e.items || []).map((e) => e.item) 2825 }); 2826 }, Se = () => { 2827 let e = b$2.value.processedItem, t = y.value.find((t) => t.key === e.parentKey); 2828 G({ 2829 index: t.index, 2830 parentKey: t.parentKey 2831 }), y.value = y.value.filter((e) => e.parentKey !== b$2.value.parentKey); 2832 }, Ce = (e) => { 2833 let t = e.code, n = b$2.value.processedItem; 2834 if (t === l$1.esc) { 2835 if (ss(y.value)) U({ restoreFocus: !0 }); 2836 else { 2837 let e = y.value, t = e[e.length - 1]; 2838 y.value = e.slice(0, -1); 2839 let n = ue(t.parentKey); 2840 G({ 2841 index: t.index, 2842 parentKey: t.parentKey, 2843 processedItem: t, 2844 items: de(n) 2845 }), bn$1(() => ve()); 2846 } 2847 e.preventDefault(), e.stopPropagation(); 2848 return; 2849 } 2850 if (!n) return; 2851 let i = n.item, o = ss(n.parent); 2852 switch (t) { 2853 case l$1.enter: 2854 case l$1.space: 2855 if (i && !i.disabled && ss(i.separator)) { 2856 if (i.items) xe(n); 2857 else { 2858 var s; 2859 ke(n), r(i.command, { 2860 originalEvent: e, 2861 item: i, 2862 menuItem: n 2863 }), (s = n.parent) != null && (s = s.item) != null && s.showSelectedStatus ? Ae(n) : U({ restoreFocus: !0 }); 2864 } 2865 e.preventDefault(), e.stopPropagation(); 2866 } 2867 break; 2868 case l$1.right: 2869 i.items && xe(n), e.preventDefault(), e.stopPropagation(); 2870 break; 2871 case l$1.left: 2872 o || Se(), e.preventDefault(), e.stopPropagation(); 2873 break; 2874 case l$1.down: 2875 case l$1.up: 2876 case l$1.home: 2877 case l$1.end: 2878 ye(Re[t]), e.preventDefault(), e.stopPropagation(); 2879 break; 2880 case l$1.tab: U({ restoreFocus: !0 }); 2881 } 2882 }, we = () => { 2883 if (C.value = !!e.disableClickOutside, C.value || u(), e.fetch) { 2884 let t = e.fetch(); 2885 if (t && typeof t.then == "function") { 2886 _.value = !0, t.then((e) => { 2887 v.value = Array.isArray(e) ? e : []; 2888 }).catch((t) => { 2889 console.warn("[TieredMenu] fetch error:", t), v.value = e.data || []; 2890 }).finally(() => { 2891 _.value = !1, me(); 2892 }); 2893 return; 2894 } 2895 v.value = Array.isArray(t) ? t : []; 2896 } 2897 C.value || ge(); 2898 }, Ee = () => { 2899 C.value || d(), C.value = !1; 2900 }, De = () => { 2901 t("show"); 2902 }, K = () => { 2903 x.value && (x.value = !1), G({ 2904 index: -1, 2905 parentKey: "" 2906 }); 2907 let e = z.value; 2908 e && (z.value = !1, se()), t("hide"), e && bn$1(() => { 2909 requestAnimationFrame(() => { 2910 R(); 2911 }), window.setTimeout(() => { 2912 R(); 2913 }, 0); 2914 }); 2915 }, Oe = (e) => { 2916 var t; 2917 return (t = e.parent) != null && (t = t.items) != null && t.length ? e.parent.items : A.value || []; 2918 }, q = (e) => { 2919 var t; 2920 e != null && e.item && e.item.separator !== !0 && (e.item.selected = !1, (t = e.items) == null || t.forEach(q)); 2921 }, ke = (e) => { 2922 bn$1(() => { 2923 if (!e.item.selected || e.item.separator === !0) return; 2924 if (!e.parent) {
2925 for (let t of Oe(e)) t !== e && q(t); 2926 return; 2927 } 2928 let t = e; 2929 for (; t != null && t.parent;) { 2930 for (let e of Oe(t)) e !== t && q(e); 2931 t = t.parent; 2932 } 2933 }); 2934 }, Ae = (e) => { 2935 var t; 2936 let n = (t = e.parent) == null ? e : t, r = ue(n.parentKey); 2937 G({ 2938 index: n.index, 2939 parentKey: n.parentKey, 2940 processedItem: n, 2941 items: de(r) 2942 }), y.value = [], bn$1(() => ve()); 2943 }, Me = (e) => { 2944 if (ss(e.processedItem.items)) { 2945 var t; 2946 if (ke(e.processedItem), (t = e.processedItem.parent) != null && (t = t.item) != null && t.showSelectedStatus) { 2947 Ae(e.processedItem); 2948 return; 2949 } 2950 U({ restoreFocus: !0 }); 2951 } else { 2952 if (!i.value) return; 2953 be(e.processedItem), G({ 2954 index: 0, 2955 parentKey: e.processedItem.key 2956 }); 2957 } 2958 }, Fe = (e) => { 2959 (!i.value || ss(e.processedItem.items)) && (P(), be(e.processedItem)); 2960 }, Le = (e) => { 2961 let { processedItem: t, items: n } = e; 2962 b$2.value = { 2963 index: t.index, 2964 parentKey: t.parentKey, 2965 processedItem: t, 2966 items: n 2967 }; 2968 }, Re$1 = (e) => { 2969 let t = y.value, n = t.findIndex((t) => t.key === e.key); 2970 if (n === -1) return; 2971 y.value = t.slice(0, n); 2972 let r = ue(e.parentKey); 2973 G({ 2974 index: e.index, 2975 parentKey: e.parentKey, 2976 processedItem: e, 2977 items: de(r) 2978 }), bn$1(() => ve()); 2979 }, ze = () => { 2980 U({ restoreFocus: !0 }); 2981 }; 2982 Fn$1(b$2, () => { 2983 bn$1(() => { 2984 g.value && xs() && ve(); 2985 }); 2986 }, { deep: !0 }), Fn$1(E, (e, t) => { 2987 t && !e && g.value && b$2.value.index === -1 && !C.value && me(); 2988 }, { flush: "post" }); 2989 let Be, Ve = (e) => { 2990 !e.defaultPrevented && S.value && Ce(e); 2991 }; 2992 return Fn$1(S, (e) => { 2993 e ? (document.addEventListener("keydown", Ve), Be = () => document.removeEventListener("keydown", Ve)) : (Be == null || Be(), Be = void 0); 2994 }, { flush: "post" }), ba$1(() => { 2995 pe++, Be == null || Be(), Be = void 0, P(), se(), z.value = !1; 2996 }), { 2997 menuRef: f, 2998 floatingContentRef: p$2, 2999 floatingTriggerRef: m, 3000 activeItemPath: y, 3001 ns: o, 3002 menuId: s, 3003 shouldShow: S, 3004 floatingOptionsResult: w, 3005 skeletonLoading: E, 3006 skeletonRows: D, 3007 processedItems: A, 3008 teleportedContextClass: l, 3009 handleClickOutside: W, 3010 handleClick: ce, 3011 handleTriggerKeydown: le, 3012 handleMenuBeforeOpen: we, 3013 handleMenuOpened: De, 3014 handleMenuBeforeClose: Ee, 3015 handleMenuClosed: K, 3016 handleMenuKeydown: Ce, 3017 handleItemClick: Me, 3018 handleItemMouseEnter: Fe, 3019 handleItemFocus: Le, 3020 handleSubmenuBack: Re$1, 3021 handleSubmenuClose: ze, 3022 isMobile: i, 3023 onGroupRowMouseLeave: re, 3024 onSubmenuPanelPointerLeave: L, 3025 cancelSubmenuHoverClose: P, 3026 show: M, 3027 hide: U, 3028 focusOnTrigger: ie 3029 }; 3030} 3031yo(), gn$1(), De(), it$1(); 3032var Ia = ["data-common-header-profile-layer"]; 3033var La = /* @__PURE__ */ Zn$1(Js(Js({}, { name: "zm-tiered-menu" }), {}, { 3034 __name: "tiered-menu", 3035 props: ba, 3036 emits: xa, 3037 setup(e, { expose: t, emit: n }) { 3038 let r = e, i$1 = n, a$1 = mt$1(null), { activeItemPath: c, ns: l, menuId: u, shouldShow: d, floatingOptionsResult: h, skeletonLoading: _, skeletonRows: v, processedItems: y, teleportedContextClass: x, handleClickOutside: C, handleClick: w, handleTriggerKeydown: ee, handleMenuBeforeOpen: A, handleMenuOpened: te, handleMenuBeforeClose: ne, handleMenuClosed: j, handleMenuKeydown: M, handleItemClick: P, handleItemMouseEnter: I, handleItemFocus: re, handleSubmenuBack: L, handleSubmenuClose: ie, isMobile: z, onGroupRowMouseLeave: ae, onSubmenuPanelPointerLeave: se, cancelSubmenuHoverClose: B, show: V, hide: W, focusOnTrigger: ce } = Fa(r, i$1, { triggerRootRef: a$1 }); 3039 return Mn$1("tieredMenuIsMobile", z), Mn$1("tieredMenuActions", { 3040 submenuBack: L, 3041 submenuClose: ie, 3042 onGroupRowMouseLeave: ae, 3043 onSubmenuFloatingEnter: B, 3044 onSubmenuFloatingLeave: se 3045 }), t({ 3046 focusOnTrigger: ce, 3047 show: V, 3048 hide: W 3049 }), (e, t) => (ui$1(), mi$1("span", { 3050 ref_key: "containerRef", 3051 ref: a$1, 3052 class: i(_t$1(l).b()) 3053 }, [Z$1(_t$1(is), null, { 3054 default: kn$1(() => [An$1((ui$1(), hi$1(_t$1(as), { 3055 ref: "floatingTriggerRef", 3056 class: i(_t$1(l).e("trigger")), 3057 "aria-expanded": _t$1(d), 3058 "aria-haspopup": "true", 3059 "aria-controls": _t$1(u), 3060 onClick: _t$1(w), 3061 onKeydown: _t$1(ee) 3062 }, { 3063 default: kn$1(() => [yr$1(e.$slots, "default")]), 3064 _: 3 3065 }, 8, [ 3066 "class", 3067 "aria-expanded", 3068 "aria-controls", 3069 "onClick", 3070 "onKeydown" 3071 ])), [[ 3072 _t$1(mt$2), 3073 _t$1(C), 3074 r.disableClickOutside 3075 ]]), (ui$1(), hi$1(aa$1, { to: "body" }, [Z$1(Le, { 3076 name: `${_t$1(l).namespace}-fade-in-linear`, 3077 onBeforeEnter: _t$1(A), 3078 onAfterEnter: _t$1(te), 3079 onBeforeLeave: _t$1(ne), 3080 onAfterLeave: _t$1(j) 3081 }, { 3082 default: kn$1(() => [_t$1(d) ? (ui$1(), hi$1(_t$1(ss$1), Oi$1({ 3083 key: 0, 3084 ref: "floatingContentRef", 3085 class: [ 3086 _t$1(l).e("floating-content"), 3087 e.showFullMask ? "show-full-mask" : "", 3088 r.floatingContentClass, 3089 _t$1(x) 3090 ], 3091 visible: _t$1(d), 3092 strategy: "fixed" 3093 }, _t$1(h), { 3094 "z-index": e.zIndex, 3095 onKeydown: _t$1(M) 3096 }), { 3097 default: kn$1(() => [vi$1("div", { 3098 id: "common-header-profile-popover-content", 3099 "data-common-header-profile-layer": _t$1(u) 3100 }, [_t$1(_) ? (ui$1(), mi$1("div", { 3101 key: 0, 3102 class: i(_t$1(l).e("skeleton")), 3103 role: "status", 3104 "aria-live": "polite", 3105 "aria-busy": "true" 3106 }, [Z$1(_t$1(J$1), { animated: "" }, { 3107 template: kn$1(() => [(ui$1(!0), mi$1(J, null, _r$1(_t$1(v), (e) => (ui$1(), mi$1("div", { 3108 key: e, 3109 class: i(_t$1(l).e("skeleton-item")) 3110 }, [Z$1(_t$1(Y), { variant: "text" })], 2))), 128))]), 3111 _: 1 3112 })], 2)) : (ui$1(), mi$1(J, { key: 1 }, [e.$slots.header ? yr$1(e.$slots, "header", {}, void 0, void 0, 0) : wi$1("", !0), Z$1(_t$1(Ie), { 3113 id: "common-header-profile-popover-scrollbar", 3114 "view-class": _t$1(l).e("root-list-scrollbar") 3115 }, {
3116 default: kn$1(() => [Z$1(ka, { 3117 id: _t$1(u) + "_list", 3118 ref: "menuRef", 3119 role: "menu", 3120 "menu-id": _t$1(u), 3121 class: i(_t$1(l).e("root-list")), 3122 "aria-orientation": "vertical", 3123 items: _t$1(y), 3124 "active-item-path": _t$1(c), 3125 level: 0, 3126 "menu-floating-left": e.menuFloatingLeft, 3127 "z-index": e.zIndex, 3128 onItemClick: _t$1(P), 3129 onItemMouseenter: _t$1(I), 3130 onItemFocus: _t$1(re) 3131 }, { 3132 item: kn$1((t) => [yr$1(e.$slots, "item", a(bi$1(t)))]), 3133 _: 3 3134 }, 8, [ 3135 "id", 3136 "menu-id", 3137 "class", 3138 "items", 3139 "active-item-path", 3140 "menu-floating-left", 3141 "z-index", 3142 "onItemClick", 3143 "onItemMouseenter", 3144 "onItemFocus" 3145 ])]), 3146 _: 3 3147 }, 8, ["view-class"])], 64))], 8, Ia)]), 3148 _: 3 3149 }, 16, [ 3150 "class", 3151 "visible", 3152 "z-index", 3153 "onKeydown" 3154 ])) : wi$1("", !0)]), 3155 _: 3 3156 }, 8, [ 3157 "name", 3158 "onBeforeEnter", 3159 "onAfterEnter", 3160 "onBeforeLeave", 3161 "onAfterLeave" 3162 ])]))]), 3163 _: 3 3164 })], 2)); 3165 } 3166})); 3167yo(); 3168var Ra = { 3169 xmlns: "http://www.w3.org/2000/svg", 3170 width: "16", 3171 height: "16", 3172 viewBox: "0 0 16 16", 3173 fill: "none" 3174}; 3175var za = /* @__PURE__ */ Zn$1(Js(Js({}, { name: "credit-usage-icon" }), {}, { 3176 __name: "credit-usage", 3177 setup(e) { 3178 return (e, t) => (ui$1(), mi$1("svg", Ra, [...t[0] || (t[0] = [vi$1("path", { 3179 d: "M12 1.375C12.3424 1.375 12.6709 1.5109 12.9131 1.75293C13.1553 1.99517 13.292 2.32442 13.292 2.66699V4.04199H13.333C13.6756 4.04199 14.0048 4.17769 14.2471 4.41992C14.4891 4.66207 14.6249 4.99063 14.625 5.33301V7.53711C14.7296 7.59499 14.827 7.66691 14.9131 7.75293C15.1553 7.99516 15.292 8.32442 15.292 8.66699V10C15.292 10.3426 15.1553 10.6709 14.9131 10.9131C14.827 10.9991 14.7296 11.0709 14.625 11.1289V13.333C14.625 13.6753 14.489 14.0039 14.2471 14.2461C14.0048 14.4883 13.6756 14.625 13.333 14.625H3.33301C2.81374 14.6249 2.31542 14.418 1.94824 14.0508C1.58129 13.6836 1.375 13.1852 1.375 12.666V3.33301C1.37509 2.81374 1.58106 2.31542 1.94824 1.94824C2.31542 1.58106 2.81374 1.37509 3.33301 1.375H12ZM2.625 12.666C2.625 12.8536 2.6995 13.0342 2.83203 13.167C2.96479 13.2998 3.14526 13.3749 3.33301 13.375H13.333C13.3441 13.375 13.3555 13.3701 13.3633 13.3623C13.3708 13.3545 13.375 13.3438 13.375 13.333V11.292H12C11.4806 11.292 10.9825 11.085 10.6152 10.7178C10.2481 10.3505 10.042 9.85231 10.042 9.33301C10.0421 8.81374 10.2481 8.31542 10.6152 7.94824C10.9825 7.58109 11.4807 7.375 12 7.375H13.375V5.33301C13.3749 5.32215 13.3709 5.31143 13.3633 5.30371C13.3555 5.2959 13.3441 5.29199 13.333 5.29199H3.33301C3.08829 5.29195 2.84888 5.24428 2.625 5.15723V12.666ZM12 8.625C11.8122 8.625 11.6318 8.69929 11.499 8.83203C11.3663 8.96479 11.2921 9.14526 11.292 9.33301C11.292 9.52079 11.3663 9.70116 11.499 9.83398C11.6319 9.96682 11.8121 10.042 12 10.042H13.9902C13.9935 10.0419 13.9967 10.041 14 10.041H14.001C14.0117 10.0407 14.0217 10.0369 14.0293 10.0293C14.0371 10.0215 14.042 10.0111 14.042 10V8.66699C14.042 8.65594 14.0371 8.64453 14.0293 8.63672C14.0215 8.62911 14.0109 8.625 14 8.625H12ZM3.33301 2.625C3.14526 2.62509 2.96479 2.69927 2.83203 2.83203C2.69927 2.96479 2.62509 3.14526 2.625 3.33301C2.625 3.52072 2.6994 3.70118 2.83203 3.83398C2.96479 3.96675 3.14526 4.04191 3.33301 4.04199H12.042V2.66699C12.042 2.65594 12.0371 2.64453 12.0293 2.63672C12.0215 2.62911 12.0109 2.625 12 2.625H3.33301Z", 3180 fill: "currentColor" 3181 }, null, -1)])])); 3182 } 3183})); 3184gn$1(); 3185var Ba = ["items"]; 3186var Va = ["items"]; 3187var Ha = ["items"]; 3188var Ua = ["items"]; 3189var Wa = { 3190 home: pt$1(Lt), 3191 profile: pt$1(bn), 3192 settings: pt$1(wn), 3193 billing: pt$1(pt), 3194 helpCenter: pt$1(_t), 3195 credit: pt$1(za), 3196 adminCenter: pt$1(tt), 3197 download: pt$1(Nt), 3198 developer: pt$1(gn) 3199}; 3200var Ga = { 3201 personal: [ 3202 "profile", 3203 "settings", 3204 "billing", 3205 "helpCenter" 3206 ], 3207 admin: ["developer"], 3208 bottom: ["zoomWebApp", "download"] 3209}; 3210var Ka = (e) => "items" in e && Array.isArray(e.items); 3211var qa = (e, t) => { 3212 t.length && (e.push({ 3213 id: `separator-${e.length}`, 3214 label: "", 3215 type: "normal", 3216 separator: !0 3217 }), e.push(...t)); 3218}; 3219var Ja = (e = {}, t = "", { t: n }, r = [], i = !1, a = !1, o, s = !1) => { 3220 let { userInfo: c = {}, menuItems: l = [], creditInfo: u = {} } = e, { displayName: d = "", displayEmail: f = "", userTypeLabel: p = "" } = c, m = o === void 0 ? !!c.enableSwitchUserLogin : o, h = [{ 3221 label: d, 3222 subLabel: f, 3223 id: "common-header-profile_user-info", 3224 type: "profile", 3225 badge: { 3226 type: "custom", 3227 text: p 3228 } 3229 }], g = r || [], _ = [], v = [], y = [{ 3230 label: n("profileMenu.signOutOneAccount"), 3231 id: rr.signOut, 3232 type: "logout" 3233 }]; 3234 if (m && y.unshift({ 3235 label: n("profileMenu.addAccount"), 3236 id: rr.account, 3237 type: "logout" 3238 }), c.canManageAccount && a && v.push({ 3239 label: n("profileMenu.adminCenter"), 3240 id: "common-header-profile_admin-item", 3241 key: "adminCenter", 3242 icon: Wa.adminCenter, 3243 type: "normal", 3244 url: c.manageAccountUrl || "/account" 3245 }
3245), c.canUpgradeToPro && y.push({ 3246 label: n("profileMenu.upgradeToPro"), 3247 id: "common-header-profile_upgrade-to-pro", 3248 type: "upgradeToPro" 3249 }), i && a && y.unshift({ 3250 label: n("profileMenu.rollback"), 3251 id: "common-header-profile_rollback-to-classic", 3252 type: "normal" 3253 }), l.forEach((e) => { 3254 if (Array.isArray(e.children) && e.children.length) { 3255 let t = e.children.map((t) => ({ 3256 label: t.label, 3257 id: `common-header-profile_${e.key}-${t.label}`, 3258 type: "normal", 3259 key: t.key, 3260 url: t.url, 3261 target: t.target || "" 3262 })), n = { 3263 label: e.label, 3264 id: `common-header-profile_${e.key}`, 3265 type: "normal", 3266 key: e.key, 3267 icon: Wa[e.key || ""], 3268 url: e.url, 3269 target: e.target || "", 3270 items: t 3271 }; 3272 Ga.personal.includes(e.key) ? _.push(n) : Ga.admin.includes(e.key) ? v.push(n) : Ga.bottom.includes(e.key) && (e.key === "download" ? y.push(Js(Js({}, n), {}, { type: "download" })) : y.unshift(n)); 3273 return; 3274 } 3275 e.target === "_self" && (e.target = "_blank"); 3276 let t = { 3277 label: e.label, 3278 id: `common-header-profile_${e.key}-item`, 3279 type: e.key === "download" ? "download" : "normal", 3280 key: e.key, 3281 icon: Wa[e.key || ""], 3282 url: e.url, 3283 target: e.target || "" 3284 }; 3285 Ga.personal.includes(e.key) ? _.push(t) : Ga.admin.includes(e.key) ? a && v.push(t) : Ga.bottom.includes(e.key) && (e.key === "download" ? y.push(t) : y.unshift(t)); 3286 }), s && u != null && u.showCreditsMenu) { 3287 let e = { 3288 label: n("profileMenu.credit"), 3289 id: "common-header-profile_credit-item", 3290 key: "credit", 3291 type: "credit", 3292 params: u, 3293 icon: Wa.credit 3294 }, t = _.findIndex((e) => "key" in e && e.key === "profile"); 3295 t >= 0 ? _.splice(t + 1, 0, e) : _.push(e); 3296 } 3297 let b = [...h, ...g]; 3298 return qa(b, _), qa(b, v), qa(b, y), b; 3299}; 3300var Ya = (e, { t, accounts: n, userInfo: r, switchUserLoginEnabled: i = !0 }) => e.flatMap((e) => { 3301 if (e.id === rr.account && !e.separator) { 3302 if (!i && n.length <= 1) return []; 3303 if (n.length <= 1) { 3304 let { items: n } = e, r = p$1(e, Ba); 3305 return [Js(Js({}, r), {}, { label: t("profileMenu.addAccount") })]; 3306 } 3307 let a = n.map((e) => { 3308 let { items: t } = e, n = p$1(e, Va); 3309 return Js({ 3310 label: e.userName, 3311 subLabel: e.email, 3312 type: "sub-login", 3313 id: `switch-${e.userId}` 3314 }, n); 3315 }); 3316 return i && a.push({ 3317 id: "switch-separator", 3318 label: "", 3319 type: "normal", 3320 separator: !0 3321 }, { 3322 label: t("profileMenu.addAccount"), 3323 type: "normal", 3324 id: "switch-add-account", 3325 disabled: n.length >= (r.maxAccounts || 0) 3326 }), [Js(Js({}, e), {}, { 3327 label: t("profileMenu.switchAccount"), 3328 items: a 3329 })]; 3330 } 3331 if (e.id === rr.signOut && !e.separator) { 3332 if (n.length <= 1) { 3333 let { items: t } = e; 3334 return [p$1(e, Ha)]; 3335 } 3336 let r = n.map((e) => { 3337 let { items: t } = e, n = p$1(e, Ua); 3338 return Js({ 3339 label: e.userName, 3340 subLabel: e.email, 3341 type: "sub-login", 3342 id: `logout-${e.userId}` 3343 }, n); 3344 }); 3345 return r.push({ 3346 id: "logout-separator", 3347 label: "", 3348 type: "normal", 3349 separator: !0 3350 }, { 3351 id: "logout-all", 3352 label: t("profileMenu.signOutAccount"), 3353 type: "normal", 3354 danger: !0 3355 }), [Js(Js({}, e), {}, { items: r })]; 3356 } 3357 return Ka(e) && e.items.length ? [Js(Js({}, e), {}, { items: Ya(e.items, { 3358 t, 3359 accounts: n, 3360 userInfo: r, 3361 switchUserLoginEnabled: i 3362 }) })] : [e]; 3363}); 3364gn$1(), yo(); 3365var Xa = ir$1(() => __vitePreload(() => import("./credit-dialog-BdET5Gu5.72RI2lrV.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]), import.meta.url)); 3366var Za = { 3367 userName: "user name", 3368 profile: "my account", 3369 billing: "plans and billing", 3370 adminCenter: "admin center", 3371 addAccount: "add account", 3372 signOut: "sign out", 3373 download: "download", 3374 helpCenter: "help", 3375 zoomSupport: "zoom support", 3376 zoomCommunity: "zoom community", 3377 developer: "developer", 3378 zoomWebApp: "zoom web app" 3379}; 3380var Qa = 201; 3381var $a = 1; 3382var eo = 101; 3383var to = "ZAIPRODSTE"; 3384var no = { 3385 [or.GetMoreCredits]: "ZAICR", 3386 [or.Upgrade]: to, 3387 [or.TrialToPaid]: "ZAICPNPLUSSTDCAP", 3388 [or.updateToZoomMate]: "ZAICPNPLUSSTDCAP" 3389}; 3390var ro = (e) => { 3391 try { 3392 return new URL(e).hostname.toLowerCase().split(".")[0] || ""; 3393 } catch (e) { 3394 return ""; 3395 } 3396}; 3397var io = (e) => { 3398 we$1({ 3399 message: e, 3400 type: "danger" 3401 }); 3402}; 3403function ao(e) { 3404 var t, n; 3405 if (typeof document > "u" || !document.body) return; 3406 let r = window.location.href; 3407 e && e.startsWith("/") && (r = window.location.origin + e); 3408 let i = (t = (n = document.body).getAttribute) == null || (t = t.call(n, "data-cd")) == null ? void 0 : t.trim(), a; 3409 if (i) a = i; 3410 else { 3411 let e = window.location.hostname, t = e.split("."); 3412 a = t.length > 2 ? `.${t.slice(-2).join(".")}` : e; 3413 } 3414 let o = new Date(Date.now() + 6e5); 3415 r$1.set("_zm_bu", r, { 3416 domain: a, 3417 expires: o 3418 }); 3419} 3420var oo = (e) => e.separator === !0; 3421var so = (e) => "items" in e && Array.isArray(e.items); 3422function co({ track: e, target: t, productNameForTracking: n, redirectUrlAfterUserChange: r, baseUrl: i, usingProduct: a, userInfo: o, multipleAccount: s$1, pcm: c$1, beforeSignOut: l, afterSignOut: u, focusProfileTrigger: d }) { 3423 let { t: f } = Fr$1(), p = { 3424 signOutAll: mt$1(!1), 3425 signOutOne: mt$1(!1), 3426 toggleAccount: mt$1(!1) 3427 }, m = `${n ? "standalone product page navigation " : "web portal navigation"} - profile dropdown menu`, h = () => { 3428 if (l || u) return { 3429 beforeSignOut: l, 3430 afterSignOut: u 3431 }; 3432 }, g = function() { 3433 var e = Zn$2(function* (e) { 3434 if ((e == null ? void 0 : e.code) === Qa) { 3435 var t; 3436 let n = ((t = e.serverData) == null ? void 0 : t.result) || c("/signin", i.value); 3437 if (u) { 3438 yield Promise.resolve(u(n)); 3439 return; 3440 } 3441 location.href = n; 3442 return; 3443 } 3444 io(e.message || e.errorMessage || f("errorOccurred")); 3445 }); 3446 return function(t) { 3447 return e.apply(this, arguments); 3448 }; 3449 }(), _ = () => { 3450 ao(r || ""), setTimeout(() => { 3451 location.href = c(nr, i.value); 3452 }); 3453 }, v = (t, n) => { 3454 if (!t.url) return; 3455 let r = t.label; 3456 n ? r = `${Za[n] || n} - ${t.key && Za[t.key] || t.label}` : t.key && (r = Za[t.key] || t.label); 3457 let a = t.id === "common-header-profile_admin-item" ? c(t.url, i.value) : t.url, o = { 3458 linkText: r, 3459 linkUrl: t.url, 3460 uiLocation: m 3461 }; 3462 if (t.target === "_blank") { 3463 e(o), window.open(a, "_blank"); 3464 return; 3465 }
3466 l$2.trackAndNavigate(Js({ category: "profile" }, o), a); 3467 }, y = function() { 3468 var e = Zn$2(function* () { 3469 var e; 3470 let t = h(); 3471 t != null && t.beforeSignOut && (yield t.beforeSignOut()); 3472 let n = o.value.stype || ((e = window.SB) == null ? void 0 : e.stype), r = Number(n) === eo ? "/saml/logout" : "/logout", a = c(r, i.value); 3473 if (!(t != null && t.afterSignOut)) { 3474 location.href = a; 3475 return; 3476 } 3477 try { 3478 let e = s(a, "responseType", "json"), n = yield N(e)(); 3479 yield Promise.resolve(t.afterSignOut(c(n.redirectUrl || "", i.value))); 3480 } catch (e) { 3481 window.location.href = a; 3482 } 3483 }); 3484 return function() { 3485 return e.apply(this, arguments); 3486 }; 3487 }(), b = function() { 3488 var e = Zn$2(function* (e) { 3489 if (p.signOutOne.value) return; 3490 let t = h(); 3491 t != null && t.beforeSignOut && (yield t.beforeSignOut()); 3492 try { 3493 p.signOutOne.value = !0; 3494 let n = yield pr({ uid: e.userId }, i.value); 3495 if (n) { 3496 Fs(); 3497 let e = c(n, i.value); 3498 t != null && t.afterSignOut ? yield Promise.resolve(t.afterSignOut(e)) : location.href = e; 3499 return; 3500 } 3501 we$1({ 3502 message: f("profileMenu.signOutOneAccountTips", [e.userName]), 3503 type: "success" 3504 }), s$1.value = s$1.value.filter((t) => t.userId !== e.userId); 3505 } catch (e) { 3506 yield g(e); 3507 } finally { 3508 p.signOutOne.value = !1; 3509 } 3510 }); 3511 return function(t) { 3512 return e.apply(this, arguments); 3513 }; 3514 }(), x = function() { 3515 var e = Zn$2(function* () { 3516 if (p.signOutAll.value) return; 3517 let e = h(), t = function() { 3518 var t = Zn$2(function* () { 3519 try { 3520 p.signOutAll.value = !0; 3521 let t = yield fr(i.value); 3522 Fs(); 3523 let n = t || c("/signin", i.value); 3524 e != null && e.afterSignOut ? yield Promise.resolve(e.afterSignOut(n)) : location.href = n; 3525 } catch (e) { 3526 yield g(e); 3527 } finally { 3528 p.signOutAll.value = !1; 3529 } 3530 }); 3531 return function() { 3532 return t.apply(this, arguments); 3533 }; 3534 }(); 3535 if (e != null && e.beforeSignOut) { 3536 try { 3537 yield e.beforeSignOut(), yield t(); 3538 } catch (e) {} 3539 return; 3540 } 3541 $$3.confirm(f("profileMenu.signOutAllAccountContent"), f("profileMenu.signOutAllAccountTitle"), { 3542 confirmButtonText: f("profileMenu.signOutOneAccount"), 3543 cancelButtonText: f("common.cancel"), 3544 isDangerConfirm: !0 3545 }).then(() => t()).catch(() => {}); 3546 }); 3547 return function() { 3548 return e.apply(this, arguments); 3549 }; 3550 }(), S = function() { 3551 var e = Zn$2(function* () { 3552 try { 3553 (yield hr({ simplifiedPortalEnabled: !1 }, i.value)) && window.location.reload(); 3554 } catch (e) { 3555 yield g(e); 3556 } 3557 }); 3558 return function() { 3559 return e.apply(this, arguments); 3560 }; 3561 }(), C = function() { 3562 var e = Zn$2(function* (e) { 3563 e.status === $a || p.toggleAccount.value || (ao(r || ""), setTimeout(Zn$2(function* () { 3564 try { 3565 p.toggleAccount.value = !0; 3566 let t = yield mr({ uid: e.userId }, i.value); 3567 if (t) { 3568 Fs(); 3569 let e = c(t, i.value); 3570 window.location.href === e ? window.location.reload() : window.location.href = e; 3571 } 3572 } catch (e) { 3573 yield g(e); 3574 } finally { 3575 p.toggleAccount.value = !1; 3576 } 3577 }))); 3578 }); 3579 return function(t) { 3580 return e.apply(this, arguments); 3581 }; 3582 }(), w = () => { 3583 let t = Ms(Os.ACTIVE_PRODUCT); 3584 if (!t) { 3585 var n; 3586 t = ((n = window.microsDatas) == null || (n = n.logoText) == null ? void 0 : n.toLowerCase().replace(/\s+/g, "_")) || "profileMenu"; 3587 } 3588 e({ 3589 linkText: "upgrade now", 3590 linkUrl: "", 3591 uiLocation: m 3592 }); 3593 let r = c("/buy", i.value); 3594 r = s(r, "product", "PRO"), r = s(r, "itm_plg", "profile_menu"), r = s(r, "itm_source", "profiledropdown"), r = s(r, "itm_platform", "web"), r = s(r, "itm_term", "upp"), r = s(r, "itm_from", t), r = s(r, "itm_medium", "ecomm"), r = s(r, "itm_content", "freeupgrade"), r = s(r, "itm_campaign", "profiledropdown"), r = s(r, "itm_target_product", "zoom_workplace_pro"), ya({ 3595 redirectUrl: r, 3596 from: "admin", 3597 enableAfterSuccessForceRefresh: !0 3598 }); 3599 }, T = (t) => { 3600 if (t === or.ManageCredits || t === or.ManageAILicense || t === or.updateToZoomMate && a.value !== sr.Zoommate) { 3601 let t = c("/ai-credits", i.value); 3602 e({ 3603 linkText: "manage ai credits", 3604 linkUrl: t, 3605 uiLocation: m 3606 }
3606), l$2.trackAndNavigate({ 3607 category: "profile", 3608 linkText: "manage ai credits", 3609 linkUrl: t, 3610 uiLocation: m 3611 }, t, "_blank"); 3612 return; 3613 } 3614 let n = no[t == null ? or.Upgrade : t] || to, r = ro(i.value), o = c("/buy", i.value); 3615 o = s(o, "product", n), o = s(o, "itm_plg", "credit_usage"), o = s(o, "itm_source", "profile_menu"), o = s(o, "itm_platform", "web"), o = s(o, "itm_term", "upp"), r && (o = s(o, "itm_from", r)), o = s(o, "itm_medium", "ecomm"), e({ 3616 linkText: "credit upgrade", 3617 linkUrl: "", 3618 uiLocation: m 3619 }), ya({ 3620 redirectUrl: o, 3621 from: "admin", 3622 entrySource: "profileMenu", 3623 enableAfterSuccessForceRefresh: !0 3624 }); 3625 }, E = (t) => { 3626 e({ 3627 linkText: "credit", 3628 linkUrl: "", 3629 uiLocation: m 3630 }); 3631 let n = t && typeof t == "object" ? t : {}, r; 3632 r = c$1 == null ? void 0 : c$1.render(Xa, { 3633 visible: !0, 3634 creditInfo: n, 3635 usingProduct: a.value, 3636 baseUrl: i.value, 3637 onUpgrade: T, 3638 onClosed: () => { 3639 r == null || r.destroy(), r = void 0, d == null || d(); 3640 } 3641 }); 3642 }, D = (n, r) => n.map((n) => { 3643 var a, c$2; 3644 if (oo(n)) return n; 3645 let l = so(n) ? Js(Js({}, n), {}, { items: D(n.items, n.key || r) }) : Js({}, n); 3646 return oo(l) ? l : l.id === "common-header-profile_user-info" ? (l.target = t == null ? "_blank" : t, l.command = () => { 3647 var n, r; 3648 let a = c("/profile", i.value); 3649 e({ 3650 linkText: Za.userName, 3651 linkUrl: a, 3652 uiLocation: m 3653 }); 3654 let s = (n = o.value) != null && n.profileUrl ? (r = o.value) == null ? void 0 : r.profileUrl : a; 3655 t === "_self" ? window.location.href = s : window.open(s, "_blank"); 3656 }, l) : ((l.id === "common-header-profile_admin-item" || l.id === "common-header-profile_profile-item" || l.id === "common-header-profile_settings-item") && (l.target = t == null ? "_blank" : t), l.id === rr.account ? (l.command = ({ item: t }) => { 3657 so(t) && t.items.length || (e({ 3658 linkText: Za.addAccount, 3659 linkUrl: c("/account/add", i.value), 3660 uiLocation: m 3661 }), _()); 3662 }, l) : l.id === "common-header-profile_credit-item" ? (l.command = ({ item: e }) => { 3663 E("params" in e ? e.params : void 0); 3664 }, l) : l.id === rr.signOut ? (l.command = function() { 3665 var t = Zn$2(function* ({ item: t }) { 3666 so(t) && t.items.length || (e({ 3667 linkText: Za.signOut, 3668 linkUrl: "", 3669 uiLocation: m 3670 }), yield y()); 3671 }); 3672 return function(e) { 3673 return t.apply(this, arguments); 3674 }; 3675 }(), l) : l.id === "switch-add-account" ? (l.command = () => { 3676 e({ 3677 linkText: "switch account - add account", 3678 linkUrl: "", 3679 uiLocation: m 3680 }), _(); 3681 }, l) : l.id === "logout-all" ? (l.command = Zn$2(function* () { 3682 e({ 3683 linkText: "sign out - sign out of all accounts", 3684 linkUrl: "", 3685 uiLocation: m 3686 }), yield x(); 3687 }), l) : l != null && (a = l.id) != null && a.startsWith("switch-") ? (l.command = function() { 3688 var t = Zn$2(function* ({ item: t }) { 3689 e({ 3690 linkText: "switch account - user name", 3691 linkUrl: "", 3692 uiLocation: m 3693 }); 3694 let n = s$1.value.find((e) => `switch-${e.userId}` === t.id); 3695 n && (yield C(n)); 3696 }); 3697 return function(e) { 3698 return t.apply(this, arguments); 3699 }; 3700 }(), l) : l != null && (c$2 = l.id) != null && c$2.startsWith("logout-") ? (l.command = function() { 3701 var t = Zn$2(function* ({ item: t }) { 3702 e({ 3703 linkText: "sign out - user name", 3704 linkUrl: "", 3705 uiLocation: m 3706 }); 3707 let n = s$1.value.find((e) => `logout-${e.userId}` === t.id); 3708 n && (yield b(n)); 3709 }); 3710 return function(e) { 3711 return t.apply(this, arguments); 3712 }; 3713 }(), l) : l.id === "common-header-profile_rollback-to-classic" ? (l.command = Zn$2(function* () { 3714 e({ 3715 linkText: "rollback to classic", 3716 linkUrl: "", 3717 uiLocation: m 3718 }), yield S(); 3719 }), l) : l.id === "common-header-profile_upgrade-to-pro" ? (l.command = () => { 3720 w(); 3721 }, l) : (l.url && (l.command = ({ item: e }) => { 3722 (e.id === "common-header-profile_profile-item" || e.id === "common-header-profile_admin-item") && document.dispatchEvent(new Event("destroyCommonHeaderCoachMark")), !oo(e) && v(e, r); 3723 }), l)); 3724 }); 3725 return { bindMenuActions: D }; 3726} 3727yo(), gn$1(); 3728function lo({ baseUrl: t, target: n, customMenus: r, showRollbackToClassic: i = !1, simplifiedPortalEnabled: a = !1, enableSwitchUserLogin: o, enableCredit: s = !1, track: l, productNameForTracking: u, productKey: d, redirectUrlAfterUserChange: f, logoText: p, creditInfo: m, usingProduct: h, pcm: g, beforeSignOut: _, afterSignOut: v, focusProfileTrigger: y, onUserInfoChange: b }) { 3729 let { t: x, locale: S } = Fr$1(), C = mt$1([]), w = mt$1({ 3730 avatarUrl: "", 3731 canUpgradeToPro: !1, 3732 displayName: "" 3733 }), T = mt$1([]), D = _o(() => _t$1(o) !== !1 && !!w.value.enableSwitchUserLogin), O = mt$1(!1), ee = mt$1(!1), k = mt$1(!1), A = mt$1(!1), te = mt$1(!1), ne = mt$1({}), j = _o(() => cr(_t$1(d))), M, N = 0, P = null, F = null, I = ot$1({ 3734 loading: !1, 3735 row: 4 3736 }), re = _o(() => w.value.avatarUrl || ""), L = _o(() => { 3737 let e = (w.value.displayName || "").trim();
3738 return e ? e.split(/\s+/).filter(Boolean).map((e) => e[0] || "").slice(0, 2).join("").toUpperCase() : ""; 3739 }), R = _o(() => { 3740 let { displayName: e = "", userTypeLabel: t = "" } = w.value; 3741 return e && t ? `${e}, ${t}` : e || ""; 3742 }), { bindMenuActions: ie } = co({ 3743 track: l, 3744 target: n, 3745 productNameForTracking: u, 3746 redirectUrlAfterUserChange: f, 3747 baseUrl: t, 3748 usingProduct: _o(() => { 3749 var e; 3750 return String((e = _t$1(h)) == null ? "" : e); 3751 }), 3752 userInfo: w, 3753 multipleAccount: T, 3754 pcm: g, 3755 beforeSignOut: _, 3756 afterSignOut: v, 3757 focusProfileTrigger: y 3758 }), z = (e) => { 3759 let t = Ya(Ja(e, p, { t: x }, _t$1(r), !!_t$1(i), !!_t$1(a), D.value, !!_t$1(s)), { 3760 t: x, 3761 accounts: T.value, 3762 userInfo: w.value, 3763 switchUserLoginEnabled: D.value 3764 }); 3765 return ie(t); 3766 }, ae = () => { 3767 C.value = z(ne.value); 3768 }; 3769 Fn$1(T, () => { 3770 ee.value && !te.value && ae(); 3771 }), Fn$1(S, () => { 3772 A.value && !te.value && ae(); 3773 }), Fn$1(() => _t$1(m), () => { 3774 A.value && !te.value && ae(); 3775 }, { deep: !0 }); 3776 let oe = function() { 3777 var e = Zn$2(function* () { 3778 let e = Ms(Os.PROFILE_AVATAR); 3779 if (e != null && e.avatarUrl || e != null && e.canUpgradeToPro || e != null && e.displayName) { 3780 w.value.avatarUrl = e.avatarUrl || "", w.value.canUpgradeToPro = e.canUpgradeToPro || !1, w.value.displayName = e.displayName || "", b == null || b(w.value); 3781 return; 3782 } 3783 try { 3784 let e = yield ur(t.value); 3785 w.value.avatarUrl = e.avatarUrl || "", w.value.canUpgradeToPro = e.canUpgradeToPro || !1, w.value.displayName = e.displayName || "", b == null || b(w.value), Ns(Os.PROFILE_AVATAR, { 3786 avatarUrl: e.avatarUrl || "", 3787 canUpgradeToPro: e.canUpgradeToPro || !1, 3788 displayName: e.displayName || "" 3789 }); 3790 } catch (e) { 3791 console.error("Failed to fetch user brief:", e), b == null || b({}); 3792 } 3793 }); 3794 return function() { 3795 return e.apply(this, arguments); 3796 }; 3797 }(), se = function() { 3798 var e = Zn$2(function* (e) { 3799 try { 3800 return yield lr(t.value, e); 3801 } catch (e) { 3802 return console.error("Failed to fetch user info:", e), {}; 3803 } 3804 }); 3805 return function(t) { 3806 return e.apply(this, arguments); 3807 }; 3808 }(), V = (e) => { 3809 var t, n; 3810 let r = (t = e.menuItems) == null ? void 0 : t.find((e) => e.key === "profile"); 3811 Object.assign(w.value, e.userInfo || {}, { profileUrl: (r == null ? void 0 : r.url) || "" }), (n = e.userInfo) != null && n.avatarUrl && Ns(Os.PROFILE_AVATAR, { avatarUrl: e.userInfo.avatarUrl }); 3812 }, U = function() { 3813 var e = Zn$2(function* () { 3814 if (F) return F; 3815 if (ee.value || _t$1(o) === !1 || !w.value.enableSwitchUserLogin) return; 3816 ee.value = !0, O.value = !0; 3817 let e; 3818 return e = Zn$2(function* () { 3819 try { 3820 T.value = yield dr(t.value); 3821 } catch (e) { 3822 console.error("Failed to fetch accounts list:", e), T.value = []; 3823 } finally { 3824 F === e && (F = null, O.value = !1); 3825 } 3826 })(), F = e, e; 3827 }); 3828 return function() { 3829 return e.apply(this, arguments); 3830 }; 3831 }(), W = function() { 3832 var e = Zn$2(function* () { 3833 let e = j.value; 3834 if (A.value && M === e) return C.value; 3835 let t = P; 3836 if (t && t.productKey === e) return t.promise; 3837 let n = ++N, r; 3838 return r = Zn$2(function* () { 3839 I.loading = !0, te.value = !0;
3840 try { 3841 let t = yield se(e); 3842 return n !== N || e !== j.value || (V(t), ne.value = t, yield U(), n !== N || e !== j.value) ? C.value : (C.value = z(t), A.value = !0, M = e, C.value); 3843 } finally { 3844 (P == null ? void 0 : P.promise) === r && (te.value = !1, I.loading = !1, P = null); 3845 } 3846 })(), P = { 3847 productKey: e, 3848 promise: r 3849 }, r; 3850 }); 3851 return function() { 3852 return e.apply(this, arguments); 3853 }; 3854 }(); 3855 return Fn$1(j, (e, t) => { 3856 e !== t && (N += 1, P = null, te.value = !1, I.loading = !1, A.value = !1, M = void 0, C.value = [], ne.value = {}, w.value.profileUrl = "", k.value && W().catch((e) => { 3857 console.error("Failed to refresh profile menu:", e); 3858 })); 3859 }), oe(), { 3860 menus: C, 3861 userInfo: w, 3862 multipleAccount: T, 3863 isLoading: O, 3864 isExpanded: k, 3865 skeleton: I, 3866 avatar: re, 3867 shortName: L, 3868 ariaLabel: R, 3869 isLoaded: A, 3870 onFetchMenu: W, 3871 onToggle: () => { 3872 k.value = !k.value, l({ 3873 linkText: k.value ? "expand" : "collapse", 3874 linkUrl: "", 3875 uiLocation: `${u ? "standalone product page navigation " : "web portal navigation"} - profile dropdown menu` 3876 }); 3877 }, 3878 onHide: () => { 3879 k.value = !1; 3880 } 3881 }; 3882} 3883gn$1(), yo(), De(), it$1(); 3884var uo = { class: "common-header-profile__popover-header" }; 3885var fo = { class: "common-header-profile__popover-header-title" }; 3886var po = { class: "common-header-profile__popover-header-actions" }; 3887var mo = /*@__PURE__*/ Object.assign({ 3888 name: "common-header-profile-menu", 3889 inheritAttrs: !1 3890}, { 3891 __name: "profile-menu", 3892 props: { 3893 baseUrl: { 3894 type: String, 3895 default: "" 3896 }, 3897 useDark: { 3898 type: Boolean, 3899 default: !1 3900 }, 3901 googleAnalyticsEnabled: { 3902 type: Boolean, 3903 default: !0 3904 }, 3905 productNameForTracking: { 3906 type: String, 3907 default: "" 3908 }, 3909 productKey: { 3910 type: String, 3911 default: "" 3912 }, 3913 redirectUrlAfterUserChange: { 3914 type: String, 3915 default: "" 3916 }, 3917 simplifiedPortalEnabled: Boolean, 3918 beforeSignOut: { 3919 type: Function, 3920 default: void 0 3921 }, 3922 afterSignOut: { 3923 type: Function, 3924 default: void 0 3925 }, 3926 customMenus: { 3927 type: Array, 3928 default: () => [] 3929 }, 3930 showRollbackToClassic: { 3931 type: Boolean, 3932 default: void 0 3933 }, 3934 enableSwitchUserLogin: { 3935 type: Boolean, 3936 default: !0 3937 }, 3938 enableCredit: { 3939 type: Boolean, 3940 default: !1 3941 }, 3942 usingProduct: { 3943 type: String, 3944 default: "" 3945 }, 3946 target: { 3947 type: String, 3948 default: "_blank" 3949 }, 3950 logoText: { 3951 type: String, 3952 default: "" 3953 }, 3954 presenceStatus: { 3955 type: String, 3956 default: "" 3957 }, 3958 creditInfo: { 3959 type: Object, 3960 default: () => ({}) 3961 }, 3962 onShow: { 3963 type: Function, 3964 default: void 0 3965 } 3966 }, 3967 emits: ["update:userInfo"], 3968 setup(e, { expose: n$7, emit: r }) { 3969 let i = r, o = Sr$1(), s = e, l$3 = { 3970 profile: ir$1(() => __vitePreload(() => import("./profile-item-CWdMv2nA.CDoPTvKQ.js"), __vite__mapDeps([17,7,2,3,4,5,1,6,8,16]), import.meta.url)), 3971 normal: ir$1(() => __vitePreload(() => import("./normal-item-KRigORTn.CBMwF7Oc.js"), __vite__mapDeps([18,7,2,3,4,5,1,6,8,9,10,11]), import.meta.url)), 3972 upgradeToPro: ir$1(() => __vitePreload(() => import("./upgrade-to-pro-COae60g5.BGA2i1Ui.js"), __vite__mapDeps([19,7,2,3,4,5,1,6,8,10,11,14]), import.meta.url)), 3973 login: ir$1(() => __vitePreload(() => import("./login-item-By47UZ9A.BK0eOj1-.js"), __vite__mapDeps([20,7,2,3,4,5,1,6,8,9,10,11,13]), import.meta.url)), 3974 logout: ir$1(() => __vitePreload(() => import("./logout-item-B9cHhW48.rXhZrdyv.js"), __vite__mapDeps([21,7,2,3,4,5,1,6,8,9,10,11]), import.meta.url)), 3975 "sub-login": ir$1(() => __vitePreload(() => import("./sub-login-item-WUU4e1N0.DvtuQGzC.js"), __vite__mapDeps([22,7,2,3,4,5,1,6,8,9,10,11,16]), import.meta.url)), 3976 download: ir$1(() => __vitePreload(() => import("./download-item-DT4K--MO.BWGZ01aF.js"), __vite__mapDeps([23,7,2,3,4,5,1,6,8]), import.meta.url)), 3977 credit: ir$1(() => __vitePreload(() => import("./credit-item-CP0zvtgV.BCBoUpgW.js"), __vite__mapDeps([24,7,2,3,4,5,1,6,8,15]), import.meta.url)) 3978 }, { track: u$1 } = u({ 3979 category: "profile", 3980 enabled: s.googleAnalyticsEnabled, 3981 productNameForTracking: s.productNameForTracking 3982 }
3982), d = $n$1("profileMenu"), m = mt$1(null), h = mt$1(!1), g = mt$1(!1), _ = mt$1({ 3983 top: "0px", 3984 left: "0px" 3985 }), y = tr(), C$1 = y.Holder, { isMobile: T } = ja(), { menus: ee, userInfo: A, multipleAccount: te, isLoading: ne, isExpanded: j, skeleton: N, avatar: P, shortName: I, ariaLabel: re, onFetchMenu: L, onToggle: R, onHide: ie } = lo({ 3986 baseUrl: _o(() => s.baseUrl), 3987 target: s.target, 3988 customMenus: s.customMenus, 3989 showRollbackToClassic: s.showRollbackToClassic, 3990 enableSwitchUserLogin: _o(() => s.enableSwitchUserLogin), 3991 enableCredit: _o(() => s.enableCredit), 3992 usingProduct: _o(() => s.usingProduct), 3993 redirectUrlAfterUserChange: s.redirectUrlAfterUserChange, 3994 track: u$1, 3995 productNameForTracking: s.productNameForTracking, 3996 productKey: _o(() => s.productKey), 3997 simplifiedPortalEnabled: s.simplifiedPortalEnabled, 3998 beforeSignOut: s.beforeSignOut, 3999 afterSignOut: s.afterSignOut, 4000 logoText: s.logoText || s.productNameForTracking, 4001 creditInfo: _o(() => s.creditInfo), 4002 pcm: y, 4003 focusProfileTrigger: () => me(), 4004 onUserInfoChange: (e) => i("update:userInfo", e) 4005 }), z = function() { 4006 var e = Zn$2(function* () { 4007 let e = yield L(); 4008 return vt$1(j) && typeof s.onShow == "function" && (yield bn$1(), s.onShow(vt$1(ee))), e; 4009 }); 4010 return function() { 4011 return e.apply(this, arguments); 4012 }; 4013 }(), ae = () => { 4014 R(); 4015 }; 4016 Mn$1("userInfo", A), Mn$1("profileMenu", d), Mn$1("multipleAccount", te), Mn$1("shortName", I); 4017 let V = (e) => l$3[e.type] ? l$3[e.type] : (e.type && console.warn("Unknown menu type:", e.type), l$3.normal), W = function() { 4018 var e = Zn$2(function* () { 4019 var e; 4020 j.value = !0, (e = d.value) == null || e.show(), yield z(), yield new Promise((e) => setTimeout(e, 0)); 4021 }); 4022 return function() { 4023 return e.apply(this, arguments); 4024 }; 4025 }(), ce = () => { 4026 var e; 4027 j.value = !1, (e = d.value) == null || e.hide({ restoreFocus: !0 }); 4028 }, le = (e) => { 4029 h.value = e; 4030 }, de = (e) => { 4031 g.value = e; 4032 }, G = () => { 4033 let e = m.value, t = e && typeof e == "object" && "$el" in e ? e.$el : e; 4034 return t instanceof HTMLElement ? t : null; 4035 }, fe = () => { 4036 let e = G(); 4037 if (!e) return; 4038 let t = e.getBoundingClientRect(); 4039 _.value = { 4040 top: `${t.top}px`, 4041 left: `${t.left}px` 4042 }; 4043 }; 4044 Fn$1(g, function() { 4045 var e = Zn$2(function* (e) { 4046 e && (yield bn$1(), fe()); 4047 }); 4048 return function(t) { 4049 return e.apply(this, arguments); 4050 }; 4051 }()); 4052 let me = () => { 4053 let e = G(); 4054 e && e.focus(); 4055 }; 4056 return n$7({ 4057 profileMenu: d, 4058 menus: ee, 4059 avatar: P, 4060 userInfo: A, 4061 show: W, 4062 hide: ce, 4063 setDisableClickOutside: le, 4064 setShowFullMask: de, 4065 onFetchMenu: z, 4066 focusTrigger: me 4067 }), (n$6, r) => (ui$1(), hi$1(_t$1(C), { theme: e.useDark ? "dark" : "light" }, { 4068 default: kn$1(() => [ 4069 Z$1(_t$1(bs), { 4070 content: n$6.$t("profileMenu.profile"), 4071 disabled: _t$1(T), 4072 "disallow-screen-reader": "", 4073 placement: "bottom-end", 4074 "z-index": 1002 4075 }, { 4076 default: kn$1(() => [Z$1(_t$1(La), { 4077 ref_key: "profileMenu", 4078 ref: d, 4079 data: _t$1(ee), 4080 "z-index": 1002, 4081 fetch: z, 4082 skeleton: _t$1(N), 4083 "disable-click-outside": h.value, 4084 "show-full-mask": g.value, 4085 "floating-content-class": "common-header-profile__popover", 4086 "menu-floating-left": "", 4087 onHide: _t$1(ie) 4088 }, {
4089 header: kn$1(() => [vi$1("div", uo, [vi$1("h4", fo, we(n$6.$t("profileMenu.myProfile")), 1), vi$1("div", po, [Z$1(_t$1($$2), { 4090 type: "text", 4091 icon: _t$1(l), 4092 class: "common-header-profile__header-close-button", 4093 "aria-label": n$6.$t("common.close"), 4094 onClick: Ze$1(ce, ["stop"]) 4095 }, null, 8, ["icon", "aria-label"])])])]), 4096 item: kn$1(({ ids: t, item: n, submenu: r, menuItem: i }) => [(ui$1(), hi$1(pr$1(V(n)), { 4097 "is-loading": _t$1(ne), 4098 ids: t, 4099 "base-url": e.baseUrl, 4100 "using-product": e.usingProduct, 4101 item: n, 4102 "menu-item": i, 4103 submenu: r, 4104 track: _t$1(u$1) 4105 }, null, 8, [ 4106 "is-loading", 4107 "ids", 4108 "base-url", 4109 "using-product", 4110 "item", 4111 "menu-item", 4112 "submenu", 4113 "track" 4114 ]))]), 4115 default: kn$1(() => [Z$1(_t$1($$2), Oi$1({ 4116 id: "common-header-profile-avatar", 4117 ref_key: "profileTriggerRef", 4118 ref: m, 4119 type: "text" 4120 }, _t$1(o), { 4121 "aria-label": `${_t$1(re)}, profile options`, 4122 onClick: ae 4123 }), { 4124 default: kn$1(() => [Z$1(_t$1($n), { 4125 size: "md", 4126 src: _t$1(P), 4127 "full-name": _t$1(A).displayName || "", 4128 "short-name": _t$1(I), 4129 "presence-status": e.presenceStatus, 4130 class: "common-header-profile__avatar" 4131 }, null, 8, [ 4132 "src", 4133 "full-name", 4134 "short-name", 4135 "presence-status" 4136 ])]), 4137 _: 1 4138 }, 16, ["aria-label"])]), 4139 _: 1 4140 }, 8, [ 4141 "data", 4142 "skeleton", 4143 "disable-click-outside", 4144 "show-full-mask", 4145 "onHide" 4146 ])]), 4147 _: 1 4148 }, 8, ["content", "disabled"]), 4149 (ui$1(), hi$1(aa$1, { to: "body" }, [g.value ? (ui$1(), mi$1("div", { 4150 key: 0, 4151 class: "profile-btn-mask-ghost", 4152 style: n(_.value), 4153 "aria-hidden": "true" 4154 }, [Z$1(_t$1($$2), { 4155 type: "text", 4156 tabindex: "-1" 4157 }, { 4158 default: kn$1(() => [Z$1(_t$1($n), { 4159 size: "md", 4160 src: _t$1(P), 4161 "full-name": _t$1(A).displayName || "", 4162 "short-name": _t$1(I), 4163 class: "common-header-profile__avatar" 4164 }, null, 8, [ 4165 "src", 4166 "full-name", 4167 "short-name" 4168 ])]), 4169 _: 1 4170 })], 4)) : wi$1("", !0)])), 4171 (ui$1(), hi$1(pr$1(_t$1(C$1)))) 4172 ]), 4173 _: 1 4174 }, 8, ["theme"])); 4175 } 4176}); 4177//#endregion 4178export { or as a, ar as c, Tt as d, mo as default, gr as i, $n as l, vr as n, ir as o, _r as r, sr as s, ya as t, Nt as u }; 4179 4180//# sourceMappingURL=profile-menu-CA2nUf2J.BIZjIBIA.js.map
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.